/* =========================================================
   Asean Witaedsas School - Modern Theme v2 Clean
   Cleaned: duplicate rules removed
   Updated: mobile card center fix + blue card bottom bar
========================================================= */

:root{
  --school-maroon:#8b001f;
  --school-red:#b00030;
  --school-blue:#0d6efd;
  --school-blue-dark:#0d4f91;
  --text:#222;
  --muted:#6b7280;
  --card-radius:18px;
  --soft-shadow:0 14px 35px rgba(20,35,70,.10);
  --soft-shadow-hover:0 22px 52px rgba(20,35,70,.17);
}

*{
  box-sizing:border-box;
}

html,
body{
  min-height:100%;
  overflow-x:hidden;
}

body{
  margin:0;
  padding-top:86px;
  font-family:"Tahoma",sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 15% 15%, rgba(0,145,255,.14), transparent 300px),
    radial-gradient(circle at 90% 38%, rgba(0,180,255,.10), transparent 360px),
    linear-gradient(180deg,#ffffff 0%,#f5fbff 42%,#edf8ff 100%);
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  background:
    radial-gradient(circle at 15% 20%, rgba(0,140,255,.08), transparent 220px),
    radial-gradient(circle at 85% 30%, rgba(0,170,255,.06), transparent 280px),
    radial-gradient(circle at 50% 80%, rgba(70,180,255,.05), transparent 260px);
}

a{
  text-decoration:none;
  color:inherit;
}

main,
.section,
.detail-page,
.news-page,
.gallery-page,
.about-page,
.admission-page,
.contact-page{
  background:transparent !important;
}

.container{
  width:min(1200px,92%);
  margin:auto;
}

/* =========================================================
   Header
========================================================= */

.site-header{
  height:86px;
  padding:0 42px;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(123,0,28,.10);
  box-shadow:0 12px 35px rgba(20,35,70,.10);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:9999;
}

.logo-box{
  display:flex;
  align-items:center;
  gap:14px;
  flex:0 0 auto;
  min-width:max-content;
}

.logo-box > div{
  min-width:max-content;
}

.logo-box img{
  width:60px;
  height:60px;
  padding:5px;
  object-fit:contain;
  border-radius:18px;
  background:linear-gradient(145deg,#fff,#f4f8ff);
  box-shadow:0 8px 22px rgba(0,0,0,.10);
}

.logo-box h1{
  margin:0;
  color:#7b001c;
  font-size:24px;
  line-height:1.15;
  letter-spacing:-.2px;
  white-space:nowrap;
  overflow:visible;
  text-overflow:clip;
}

.logo-box p{
  margin:2px 0 0;
  color:#59606b;
  font-size:13px;
}

.main-nav{
  display:flex;
  align-items:center;
  gap:6px;
  padding:7px;
  border-radius:999px;
  background:rgba(123,0,28,.055);
  border:1px solid rgba(123,0,28,.08);
}

.main-nav a{
  position:relative;
  display:flex;
  align-items:center;
  height:42px;
  padding:0 15px;
  border-radius:999px;
  color:#6f001b;
  font-size:17px;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
  transition:all .22s ease;
}

.main-nav a:hover,
.main-nav a.active{
  color:#fff;
  background:linear-gradient(135deg,#7b001c,#b00030);
  box-shadow:0 8px 22px rgba(123,0,28,.26);
  transform:translateY(-1px);
}

.lang-switch{
  display:flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(123,0,28,.10);
  box-shadow:0 8px 22px rgba(0,0,0,.06);
  color:#333;
  white-space:nowrap;
}

.lang-switch a:hover{
  color:#b00030;
}

.menu-btn{
  display:none;
  width:46px;
  height:46px;
  padding:0;
  border:0;
  border-radius:16px;
  background:linear-gradient(135deg,#7b001c,#b00030);
  color:#fff;
  font-size:24px;
  box-shadow:0 8px 22px rgba(123,0,28,.25);
  cursor:pointer;
}

/* =========================================================
   Buttons
========================================================= */

.btn-main,
.btn-outline{
  padding:14px 28px;
  border-radius:40px;
  font-weight:bold;
}

.btn-main{
  background:#b00030;
  color:#fff;
}

.btn-outline{
  border:2px solid #fff;
  color:#fff;
}

.news-body a,
.news-page-body a,
.document-info .btn-main,
.detail-footer .btn-main{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:42px !important;
  padding:10px 18px !important;
  border-radius:999px !important;
  background:linear-gradient(135deg,var(--school-maroon),var(--school-red)) !important;
  color:#fff !important;
  font-weight:800 !important;
  box-shadow:0 10px 22px rgba(139,0,31,.22) !important;
  transition:.25s ease;
}

.news-body a:hover,
.news-page-body a:hover,
.document-info .btn-main:hover,
.detail-footer .btn-main:hover{
  transform:translateY(-1px) !important;
  color:#fff !important;
  box-shadow:0 14px 28px rgba(139,0,31,.30) !important;
}

/* =========================================================
   Sections / Page Hero
========================================================= */

.section{
  width:min(1280px,94%);
  margin:0 auto;
  padding:72px 0;
}

.section-title{
  width:100% !important;
  max-width:1200px;
  margin:0 auto 40px !important;
  text-align:center !important;
  display:block !important;
}

.section-title p,
.page-hero p{
  color:var(--school-red);
  font-weight:900;
  letter-spacing:4px;
  text-transform:uppercase;
}

.section-title h2,
.page-hero h1{
  color:#151515;
  font-weight:900;
  letter-spacing:-.5px;
}

.section-title h2{
  font-size:36px;
  margin:0;
}

.page-hero{
  padding:82px 20px 40px;
  text-align:center;
  background:transparent;
}

.page-hero .container{
  width:min(1180px,94%);
  margin:0 auto;
}

.page-hero h1{
  font-size:46px;
  margin:0 0 8px;
}

.page-hero p{
  margin:0;
  color:#6b7280;
  font-size:16px;
  letter-spacing:0;
  font-weight:600;
  text-transform:none;
}

.home-news-section{
  padding-top:55px;
  background:transparent;
}

.home-section-space{
  height:26px !important;
}

/* =========================================================
   Unified Grid
========================================================= */

.modern-grid,
.news-list-page,
.gallery-grid,
.gallery-home-grid,
.document-grid,
.program-grid-modern{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:30px !important;
  width:min(1180px,94%) !important;
  max-width:1180px !important;
  margin:0 auto !important;
  overflow:visible !important;
  padding:0 !important;
}

/* old names support */
.news-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:30px;
  width:min(1180px,94%);
  margin:0 auto;
}

.program-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:25px;
}

/* =========================================================
   Unified Cards
========================================================= */

.news-card,
.news-page-card,
.gallery-card,
.gallery-home-card,
.document-card,
.program-card{
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  border-radius:var(--card-radius) !important;
  background:#fff !important;
  overflow:hidden !important;
  border:1px solid rgba(123,0,28,.08) !important;
  border-bottom:6px solid var(--school-blue) !important;
  box-shadow:var(--soft-shadow) !important;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
}

.news-card:hover,
.news-page-card:hover,
.gallery-card:hover,
.gallery-home-card:hover,
.document-card:hover,
.program-card:hover{
  transform:translateY(-7px) !important;
  box-shadow:var(--soft-shadow-hover) !important;
  border-color:rgba(176,0,48,.22) !important;
}

.news-card > img,
.news-page-card > img,
.news-page-card .announcement-card-image,
.gallery-card > img,
.gallery-home-card > img{
  width:100% !important;
  height:220px !important;
  display:block !important;
  overflow:hidden !important;
  border-radius:0 !important;
  margin:0 !important;
  background:#eef5fb !important;
}

.news-card > img,
.news-page-card > img,
.news-page-card .announcement-card-image img,
.gallery-card > img,
.gallery-home-card > img{
  width:100% !important;
  height:220px !important;
  object-fit:cover !important;
  display:block !important;
  transition:transform .35s ease !important;
}

.news-card:hover > img,
.news-page-card:hover > img,
.news-page-card:hover .announcement-card-image img,
.gallery-card:hover > img,
.gallery-home-card:hover > img{
  transform:scale(1.045) !important;
}

.news-body,
.news-page-body,
.gallery-info,
.gallery-home-card div{
  padding:22px 24px 26px !important;
}

.news-body span,
.news-page-body span,
.gallery-info span,
.gallery-home-card span{
  display:block !important;
  color:var(--muted) !important;
  font-size:15px !important;
  margin-bottom:10px !important;
}

.news-body h3,
.news-page-body h2,
.gallery-info h3,
.gallery-home-card h3{
  color:var(--school-maroon) !important;
  font-size:22px !important;
  line-height:1.35 !important;
  margin:0 0 12px !important;
  font-weight:900 !important;
}

.news-body p,
.news-page-body p{
  color:#3f4650 !important;
  font-size:16px !important;
  line-height:1.7 !important;
  margin:0 0 18px !important;
}

.announcement-card-image{
  width:100%;
  height:220px;
  overflow:hidden;
  border-radius:0;
  margin:0;
}

.announcement-card-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* =========================================================
   Programs
========================================================= */

.program-grid-modern .program-card,
.program-card{
  padding:30px !important;
}

.program-grid-modern .program-card{
  border-bottom-color:var(--school-red) !important;
}

.program-card h3{
  margin:0 0 12px !important;
  color:var(--school-maroon) !important;
  font-size:26px !important;
}

.program-card p{
  color:#48505a !important;
  line-height:1.8 !important;
  margin:0 !important;
}

/* =========================================================
   Download Center
========================================================= */

.document-category{
  width:min(1180px,94%);
  margin:0 auto 42px !important;
}

.document-category h3{
  margin:0 0 20px;
  color:var(--school-maroon) !important;
  font-size:26px !important;
}

.document-card{
  display:flex !important;
  gap:16px !important;
  padding:22px !important;
  align-items:flex-start !important;
}

.document-icon{
  width:52px;
  height:52px;
  flex:0 0 52px;
  border-radius:14px;
  background:linear-gradient(135deg,#fff4f7,#eef7ff) !important;
  color:var(--school-maroon) !important;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
}

.document-info h4{
  margin:0 0 8px;
  color:var(--school-maroon) !important;
  font-size:19px !important;
  line-height:1.35;
}

.document-info p{
  margin:0 0 14px;
  color:#666;
  font-size:14px;
  line-height:1.6;
  max-height:45px;
  overflow:hidden;
}

/* =========================================================
   Popup
========================================================= */

.popup-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.65);
  display:flex;
  justify-content:center;
  align-items:center;
  padding:20px;
  z-index:999999;
}

.popup-image-box{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  max-width:95vw;
  max-height:95vh;
}

.popup-image-box img{
  display:block;
  width:auto;
  height:auto;
  max-width:95vw;
  max-height:95vh;
  object-fit:contain;
  border-radius:18px;
  box-shadow:0 15px 40px rgba(0,0,0,.35);
}

.popup-close{
  position:absolute;
  top:-18px;
  right:-18px;
  width:48px;
  height:48px;
  border:none;
  border-radius:50%;
  background:#8b001f;
  color:#fff;
  font-size:30px;
  cursor:pointer;
}

.popup-close:hover{
  background:#b00030;
}

/* =========================================================
   Stats
========================================================= */

.stats{
  width:min(1180px,94%);
  margin:20px auto 70px;
  padding:65px 40px;
  border-radius:24px;
  background:linear-gradient(135deg,rgba(139,0,31,.96),rgba(176,0,48,.92));
  color:#fff;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:28px;
  text-align:center;
  box-shadow:var(--soft-shadow-hover);
  overflow:hidden;
}

.stats div{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:#fff;
}

.stats h2{
  color:#fff;
  font-size:58px;
  line-height:1;
  margin:0 0 14px;
  font-weight:700;
}

.stats p{
  color:#fff;
  margin:0;
  font-size:22px;
  line-height:1.4;
}

/* =========================================================
   Detail Basic Support
========================================================= */

.detail-page{
  padding:80px 0;
}

.detail-card{
  max-width:900px;
  margin:auto;
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 35px rgba(0,0,0,.08);
}

.detail-body{
  padding:40px;
}

.detail-body h1{
  margin:0 0 30px;
  color:#7b001c;
  font-size:38px;
}

.detail-content{
  color:#333;
  font-size:18px;
  line-height:2;
  white-space:pre-line;
}

/* =========================================================
   Utilities
========================================================= */

.reveal{
  opacity:1 !important;
  transform:none !important;
}

#welcomeOverlay{
  transition:opacity .3s ease;
}

.news-slide-btn{
  display:none !important;
}

.news-slider-wrap{
  padding:0 !important;
  overflow:visible !important;
}

.news-slider{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:30px !important;
  overflow:visible !important;
  padding:0 !important;
  scrollbar-width:none;
}

.news-slider::-webkit-scrollbar{
  display:none;
}

.back-to-top{
  position:fixed;
  right:24px;
  bottom:24px;
  width:48px;
  height:48px;
  border:0;
  border-radius:50%;
  background:#8b001f;
  color:#fff;
  font-size:26px;
  font-weight:700;
  cursor:pointer;
  opacity:0;
  visibility:hidden;
  transform:translateY(20px);
  transition:.25s ease;
  z-index:9999;
  box-shadow:0 8px 22px rgba(0,0,0,.22);
}

.back-to-top.show{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.back-to-top:hover{
  background:#b00030;
}

.footer-policy{
  margin-top:18px;
  text-align:center;
  font-size:14px;
  color:#fff;
}

.footer-policy a{
  color:#fff;
  opacity:.9;
  margin:0 8px;
}

.footer-policy span{
  opacity:.45;
}

.footer-policy a:hover{
  opacity:1;
  text-decoration:underline;
}

/* =========================================================
   Responsive
========================================================= */

@media(max-width:1400px){
  .site-header{
    padding:0 26px;
  }

  .logo-box{
    gap:10px;
  }

  .logo-box img{
    width:54px;
    height:54px;
    border-radius:16px;
  }

  .logo-box h1{
    font-size:21px;
    letter-spacing:-.3px;
  }

  .logo-box p{
    font-size:12.5px;
  }

  .main-nav{
    gap:4px;
    padding:6px;
  }

  .main-nav a{
    font-size:15px;
    padding:0 10px;
  }
}

@media(max-width:1150px){
  .logo-box h1{
    font-size:19px;
  }

  .main-nav a{
    font-size:14px;
    padding:0 8px;
  }
}

@media(max-width:1100px){
  .modern-grid,
  .news-list-page,
  .gallery-grid,
  .gallery-home-grid,
  .document-grid,
  .program-grid-modern,
  .news-grid,
  .news-slider{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

@media(max-width:900px){
  body{
    padding-top:76px !important;
  }

  .site-header{
    height:76px !important;
    min-height:76px !important;
    padding:8px 12px !important;
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
  }

  .logo-box{
    flex:1 1 auto !important;
    min-width:0 !important;
    gap:8px !important;
  }

  .logo-box > div{
    min-width:0 !important;
  }

  .logo-box img{
    width:48px !important;
    height:48px !important;
    flex:0 0 48px !important;
  }

  .logo-box h1{
    font-size:16px !important;
    line-height:1.25 !important;
    margin:0 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  .logo-box p{
    display:none !important;
  }

  .main-nav{
    display:none !important;
    position:absolute !important;
    top:76px !important;
    left:0 !important;
    right:0 !important;
    background:#fff !important;
    flex-direction:column !important;
    gap:0 !important;
    padding:8px 0 !important;
    box-shadow:0 12px 30px rgba(0,0,0,.15) !important;
    z-index:99999 !important;
    border-radius:0 !important;
  }

  .main-nav.show{
    display:flex !important;
  }

  .main-nav a{
    display:block !important;
    width:100%;
    height:auto !important;
    padding:14px 22px !important;
    font-size:17px !important;
    line-height:1.4 !important;
    border-bottom:1px solid #eee !important;
    border-radius:0 !important;
  }

  .lang-switch{
    font-size:14px !important;
    flex:0 0 auto !important;
  }

  .menu-btn{
    display:block !important;
    flex:0 0 auto !important;
    padding:7px 11px !important;
    font-size:22px !important;
  }
}

@media(max-width:700px){
  .section{
    width:100% !important;
    padding:48px 16px !important;
    overflow:hidden !important;
  }

  .modern-grid,
  .home-card-grid,
  .news-list-page,
  .gallery-grid,
  .gallery-home-grid,
  .document-grid,
  .program-grid-modern,
  .news-grid,
  .news-slider{
    width:100% !important;
    max-width:100% !important;
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:22px !important;
    justify-items:center !important;
    margin:0 auto !important;
    padding:0 !important;
  }

  .news-card,
  .news-page-card,
  .gallery-card,
  .gallery-home-card,
  .document-card,
  .program-card{
    width:100% !important;
    max-width:520px !important;
    margin:0 auto !important;
  }

  .news-card > img,
  .news-page-card > img,
  .news-page-card .announcement-card-image,
  .news-page-card .announcement-card-image img,
  .gallery-card > img,
  .gallery-home-card > img{
    width:100% !important;
    height:210px !important;
  }

  .page-hero{
    padding:50px 16px 26px;
  }

  .page-hero h1{
    font-size:32px;
  }

  .section-title h2{
    font-size:34px;
  }

  .stats{
    grid-template-columns:repeat(2,1fr);
    padding:34px 18px;
  }

  .stats h2{
    font-size:38px;
  }

  .stats p{
    font-size:17px;
  }
}

@media(max-width:430px){
  .section{
    padding-left:14px !important;
    padding-right:14px !important;
  }

  .news-card,
  .news-page-card,
  .gallery-card,
  .gallery-home-card,
  .document-card,
  .program-card{
    max-width:100% !important;
  }

  .news-body,
  .news-page-body,
  .gallery-info,
  .gallery-home-card div{
    padding:18px 18px 22px !important;
  }
}

/* =========================================================
   Home Grid Alignment Fix
   - 1 card: center
   - 2 cards: centered 2 columns
   - 3+ cards: normal 3-column grid
   - Mobile: one centered column
========================================================= */

.home-card-grid{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:30px !important;
  width:min(1180px,94%) !important;
  max-width:1180px !important;
  margin:0 auto !important;
  justify-content:center !important;
  justify-items:stretch !important;
}

/* ถ้ามีการ์ดเดียว ให้มาอยู่กลาง */
.home-card-grid:has(> :only-child){
  grid-template-columns:minmax(0, 370px) !important;
}

/* ถ้ามี 2 การ์ด ให้จัดกลางเป็น 2 ช่อง */
.home-card-grid:has(> :nth-child(2):last-child){
  grid-template-columns:repeat(2, minmax(0, 370px)) !important;
}

/* การ์ดในหน้าแรก */
.home-card-grid > .news-card,
.home-card-grid > .gallery-home-card,
.home-card-grid > .program-card{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
}

@media(max-width:1100px){
  .home-card-grid{
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
  }

  .home-card-grid:has(> :only-child){
    grid-template-columns:minmax(0, 520px) !important;
  }
}

@media(max-width:700px){
  .section{
    width:100% !important;
    padding-left:16px !important;
    padding-right:16px !important;
    overflow:hidden !important;
  }

  .home-card-grid{
    width:100% !important;
    max-width:100% !important;
    grid-template-columns:1fr !important;
    justify-items:center !important;
  }

  .home-card-grid > .news-card,
  .home-card-grid > .gallery-home-card,
  .home-card-grid > .program-card{
    width:100% !important;
    max-width:520px !important;
    margin:0 auto !important;
  }
}

@media(max-width:430px){
  .section{
    padding-left:14px !important;
    padding-right:14px !important;
  }

  .home-card-grid > .news-card,
  .home-card-grid > .gallery-home-card,
  .home-card-grid > .program-card{
    max-width:100% !important;
  }
}



/* =========================================================
   Executive Team Section
========================================================= */

.executives-section{
  width:min(1180px,94%) !important;
  margin:0 auto !important;
  padding:70px 0 42px !important;
}

.executive-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:30px;
  width:100%;
  margin:0 auto;
  align-items:stretch;
}

.executive-card{
  position:relative;
  overflow:hidden;
  border-radius:26px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(13,110,253,.14);
  border-bottom:6px solid var(--school-blue);
  box-shadow:var(--soft-shadow);
  padding:34px 24px 28px;
  text-align:center;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.executive-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:105px;
  background:linear-gradient(135deg,rgba(13,110,253,.14),rgba(56,189,248,.10),rgba(255,255,255,.20));
  pointer-events:none;
}

.executive-card:hover{
  transform:translateY(-7px);
  box-shadow:var(--soft-shadow-hover);
  border-color:rgba(13,110,253,.28);
}

.executive-card-main{
  border-bottom-color:var(--school-red);
}

.executive-photo{
  position:relative;
  z-index:1;
  width:190px;
  height:190px;
  margin:0 auto 24px;
  padding:8px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 14px 34px rgba(20,35,70,.14);
}

.executive-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  border-radius:50%;
  background:#eef7ff;
}

.executive-info{
  position:relative;
  z-index:1;
}

.executive-info h3{
  margin:0 0 10px;
  color:var(--school-maroon);
  font-size:23px;
  line-height:1.35;
  font-weight:900;
}

.executive-info p{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  margin:0;
  padding:8px 18px;
  border-radius:999px;
  background:linear-gradient(135deg,#eef7ff,#fff4f7);
  color:#364152;
  font-size:16px;
  font-weight:800;
}

@media(max-width:1100px){
  .executive-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .executive-card-main{
    order:-1;
    grid-column:1 / -1;
    max-width:560px;
    width:100%;
    margin:0 auto;
  }
}

@media(max-width:700px){
  .executives-section{
    width:100% !important;
    padding:48px 16px 30px !important;
  }

  .executive-grid{
    grid-template-columns:1fr;
    gap:22px;
  }

  .executive-card-main{
    order:0;
    grid-column:auto;
    max-width:none;
  }

  .executive-card{
    max-width:520px;
    width:100%;
    margin:0 auto;
    padding:28px 20px 24px;
  }

  .executive-photo{
    width:165px;
    height:165px;
  }

  .executive-info h3{
    font-size:21px;
  }
}


/* =========================================================
   Executive Photo Lightbox
========================================================= */
.executive-photo img{
  cursor:zoom-in;
}

.executive-lightbox{
  position:fixed;
  inset:0;
  padding:28px;
  background:rgba(0,0,0,.82);
  display:none;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  z-index:999999;
}

.executive-lightbox.show{
  display:flex;
}

.executive-lightbox img{
  max-width:min(92vw,760px);
  max-height:82vh;
  object-fit:contain;
  border-radius:22px;
  background:#fff;
  box-shadow:0 20px 60px rgba(0,0,0,.45);
}

.executive-lightbox-name{
  margin-top:16px;
  padding:10px 20px;
  border-radius:999px;
  background:#fff;
  color:var(--school-maroon);
  font-weight:900;
  box-shadow:0 12px 30px rgba(0,0,0,.22);
}

.executive-lightbox-close{
  position:absolute;
  top:22px;
  right:24px;
  width:50px;
  height:50px;
  border:0;
  border-radius:50%;
  background:linear-gradient(135deg,var(--school-maroon),var(--school-red));
  color:#fff;
  font-size:34px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 12px 30px rgba(0,0,0,.32);
}
