/* AWAKE – image sizing, responsive fixes and styles for added pages (header/footer untouched) */

/* ---- Images: never overflow, keep aspect ratio ---- */
img{max-width:100%}
.mcb-item-image-inner img,.image_frame img,.image_wrapper img,.post-wrapper-content img{max-width:100%;height:auto}
.image_frame,.image_wrapper{max-width:100%}
.image_wrapper img.awk-photo{display:block;width:100%;height:auto;aspect-ratio:780/676;object-fit:cover}
.image_wrapper img.awk-tall{display:block;width:100%;height:auto}

/* ---- Team grids (loaded plugin CSS): keep long names from breaking mid-word ---- */
.single-team-area .team-name{word-break:normal;overflow-wrap:normal;hyphens:none}
.single-team-area h3{font-size:clamp(20px,2vw,28px);line-height:1.2}
.single-team-area figure img.rt-team-img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;object-position:top center}

/* ---- Split section (image + text) used on added pages ---- */
.awk-split{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:48px;align-items:center}
.awk-split-img img{display:block;width:100%;height:auto;aspect-ratio:780/676;object-fit:cover}
.awk-split-txt ul{margin:0 0 20px 1.2em}
.awk-split-txt li{margin-bottom:10px}

/* ---- Card grids (News & Events, Past Presidents) ---- */
.awk-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.awk-card-grid.awk-people{grid-template-columns:repeat(4,minmax(0,1fr))}
.awk-card{display:flex;flex-direction:column;background:#f9f9f9;border:1px solid #e6e6e6;color:inherit;text-decoration:none;transition:box-shadow .2s,transform .2s}
.awk-card:hover{box-shadow:0 10px 24px rgba(0,0,0,.1);transform:translateY(-2px)}
.awk-card-img{display:block;aspect-ratio:3/2;overflow:hidden;background:#eee}
.awk-card-img.sq{aspect-ratio:1/1}
.awk-card-img img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.awk-person .awk-card-img img{object-position:top center}
.awk-card-body{display:flex;flex-direction:column;gap:8px;padding:20px;flex:1}
.awk-card-body h4{margin:0;font-size:20px;line-height:1.3;color:#000}
.awk-card-more,.awk-card-meta{font-size:15px;color:#666;margin-top:auto}
.awk-card-more{color:#000}

@media (max-width:1100px){
  .awk-card-grid.awk-people{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:959px){
  .awk-split{grid-template-columns:1fr;gap:28px}
  .awk-card-grid,.awk-card-grid.awk-people{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
}
@media (max-width:560px){
  .awk-card-grid,.awk-card-grid.awk-people{grid-template-columns:1fr}
}

/* About page: legacy photo is taller so it matches the text column */
.image_wrapper img.awk-legacy{display:block;width:100%;height:auto;aspect-ratio:780/948;object-fit:cover;object-position:center}
@media (max-width:959px){.image_wrapper img.awk-legacy{aspect-ratio:4/3}}

/* Footer social icons (SVG, replaces broken icon-font glyphs) */
#mfn-footer-template .awk-social-f{display:flex;flex-wrap:nowrap;gap:6px;align-items:center;width:100%;max-width:300px}
#mfn-footer-template .awk-social-f a{flex:1 1 0;min-width:0;max-width:42px;aspect-ratio:1/1;border-radius:50%;background:#2b3990;color:#fff;display:flex;align-items:center;justify-content:center;transition:background .2s,color .2s,transform .2s}
#mfn-footer-template .awk-social-f a svg{width:46%;height:46%;fill:#fff}
#mfn-footer-template .awk-social-f a:hover{background:#f2b705;transform:translateY(-3px)}
#mfn-footer-template .awk-social-f a:hover svg{fill:#111}

/* Advertise With Us – static, evenly aligned grid (home + news-events) */
.awk-ad{width:100%}
.awk-ad-title{margin:0 0 36px;font-family:"DM Serif Display",serif;font-weight:400;font-size:44px;line-height:1.15;color:#000}
.awk-ad-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px;align-items:stretch}
.awk-ad-card{height:100%}
.awk-ad-card .awk-card-body{justify-content:center;min-height:96px}
.awk-ad-card .awk-card-body h4{font-family:"DM Serif Display",serif;font-weight:400;font-size:21px}
@media (max-width:1100px){.awk-ad-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.awk-ad-title{font-size:34px;margin-bottom:24px}.awk-ad-grid{grid-template-columns:1fr;gap:20px}}
.awk-qr{display:block;margin:0 auto;max-width:100%;height:auto;width:220px}

