/*
Theme Name: Shri Vaishnav College of Education Gwalior
Theme URI: https://example.com
Author: Shri Vaishnav College of Education
Description: Custom responsive WordPress theme for Shri Vaishnav College of Education, Gwalior — B.Ed & D.Ed courses.
Version: 1.0
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: svce
*/

  :root{
    --maroon:#7A1F2B;
    --maroon-dark:#5A1520;
    --navy:#1B2A4A;
    --ivory:#FAF6EE;
    --ivory-dim:#F1EADA;
    --gold:#B8862E;
    --ink:#2A2622;
    --line:#DED2B8;
    --white:#FFFFFF;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:'Work Sans', sans-serif;
    background:var(--ivory);
    color:var(--ink);
    line-height:1.6;
    overflow-x:hidden;
  }
  h1,h2,h3,h4{font-family:'Lora', serif; color:var(--navy); font-weight:600;}
  a{text-decoration:none; color:inherit;}
  img{max-width:100%; display:block;}
  .wrap{max-width:1250px; margin:0 auto; padding:0 24px;}
  .eyebrow{
    font-family:'Work Sans',sans-serif;
    font-size:12.5px;
    letter-spacing:.18em;
    text-transform:uppercase;
    color:var(--maroon);
    font-weight:600;
    display:inline-block;
    margin-bottom:10px;
  }
  .eyebrow::before{content:"॥ "; }
  .eyebrow::after{content:" ॥"; }

  /* ---------- Top bar ---------- */
  .topbar{
    background:var(--navy);
    color:#EDE7D6;
    font-size:13px;
  }
  .topbar .wrap{
    display:flex; justify-content:space-between; align-items:center;
    padding:8px 24px; flex-wrap:wrap; gap:6px;
  }
  .topbar a{opacity:.92;}
  .topbar span{opacity:.75; margin:0 4px;}

  /* ---------- Header / Nav (two-tier: centered brand, centered menu below) ---------- */
  header{
    background:var(--ivory);
    border-bottom:1px solid var(--line);
    position:sticky; top:0; z-index:50;
  }

  /* Row 1 — centered logo + name + affiliation */
  .brand-bar{
    display:flex; align-items:center; justify-content:center;
    position:relative;
    padding:18px 24px 14px;
    gap:14px;
    text-align:center;
  }
  .brand-logo{display:inline-flex; flex:none;}
  .seal{ height:85px; flex:none;}
  .brand-text{display:flex; flex-direction:column; align-items:center; min-width:0;}
  .brand-text .name{
    font-family:'Lora',serif; font-weight:700; font-size:21px; color:var(--maroon);
    line-height:1.2; letter-spacing:.01em;
  }
  .affil-line{
    display:flex; align-items:center; justify-content:center; gap:5px; flex-wrap:wrap;
    font-size:12px; color:var(--navy); margin-top:3px;
  }
  .affil-line span{color:var(--navy);}
  .affil-line a{color:var(--maroon); font-weight:600; text-decoration:underline; text-underline-offset:2px;}

  /* Row 2 — centered horizontal menu, separated by a divider line */
  .nav-bar{
    border-top:1px solid var(--line);
    background:var(--ivory-dim);
  }
  .site-nav{
    display:flex; align-items:center; justify-content:center;
    padding:0;
  }
  .menu-list{
    display:flex; justify-content:center; align-items:center;
    list-style:none; margin:0; padding:0;
  }
  .menu-list li{list-style:none; margin:0; padding:0;}
  .menu-list li + li{margin-left:34px;}
  .menu-list a{
    font-size:14px; font-weight:500; color:var(--ink);
    position:relative; padding:14px 0; display:inline-block;
  }
  .menu-list a::after{
    content:""; position:absolute; left:0; bottom:8px; height:2px; width:0;
    background:var(--maroon); transition:width .25s ease;
  }
  .menu-list a:hover::after{width:100%;}
.menu-list li.current-menu-item > a{color:var(--maroon); font-weight:700;}
.menu-list li.current-menu-item > a::after{width:100%;}
.menu-list li.current-menu-item > .nav-cta{background:var(--maroon);}
  .nav-cta{
    background:var(--maroon); color:var(--white) !important; padding:8px 18px!important;
    border-radius:2px; font-weight:600; font-size:13px; letter-spacing:.02em;
  }
  .nav-cta::after{display:none;}

  /* Burger — sits top-right of the brand row, only shown on mobile */
  .burger{
    display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none;
    position:absolute; right:24px; top:50%; transform:translateY(-50%);
  }
  .burger span{width:26px; height:2px; background:var(--navy);}

  /* Dropdown submenu (e.g. Courses -> B.Ed / D.Ed) */
  .menu-list li{position:relative;}
  .menu-list .menu-item-has-children > a::after{content:" ▾"; position:static; display:inline; background:none; width:auto; height:auto; font-size:11px; margin-left:2px;}
  .menu-list .menu-item-has-children > a:hover::after{width:auto;}
  .menu-list .sub-menu{
    list-style:none; margin:0; padding:8px 0;
    position:absolute; top:100%; left:0; min-width:230px;
    background:var(--white); border:1px solid var(--line); border-top:3px solid var(--maroon);
    box-shadow:0 14px 30px -14px rgba(27,42,74,.3);
    display:none; z-index:70; text-align:left;
  }
  .menu-list li:hover > .sub-menu,
  .menu-list li:focus-within > .sub-menu{display:block;}
  .menu-list .sub-menu li{width:100%;}
  .menu-list .sub-menu li + li{margin-left:0;}
  .menu-list .sub-menu a{
    display:block; padding:10px 18px; font-size:13.5px; font-weight:500; white-space:nowrap; color:var(--ink);
  }
  .menu-list .sub-menu a::after{display:none;}
  .menu-list .sub-menu a:hover{color:var(--maroon); background:var(--ivory);}

  @media(max-width:920px){
    .brand-bar{padding:16px 60px 16px 20px; justify-content:flex-start; text-align:left;}
    .brand-text{align-items:flex-start;}
    .affil-line{justify-content:flex-start;}
    .seal{ height:48px;}
    .brand-text .name{font-size:17px;}

    .nav-bar{border-top:none; background:transparent;}
    .site-nav{display:contents;}
    .menu-list{
      position:fixed; top:0; right:-100%; height:100vh; width:78%; max-width:320px;
      background:var(--navy); flex-direction:column; align-items:flex-start; justify-content:flex-start;
      padding:90px 32px; transition:right .35s ease; z-index:60;
      overflow-y:auto;
    }
    .menu-list li{width:100%;}
    .menu-list li + li{margin-left:0; margin-top:26px;}
    .menu-list.open{right:0;}
    .menu-list a{color:#F1EADA; font-size:16px; padding:0;}
    .menu-list a::after{background:var(--maroon); bottom:-4px;}
    .nav-cta{width:fit-content;}
    .burger{display:flex;}

    /* Mobile submenu: tap to expand instead of hover */
    .menu-list .sub-menu{
      position:static; display:none; box-shadow:none; border:none; border-top:none;
      background:transparent; padding:0; margin-top:14px;
    }
    .menu-list li.sub-open > .sub-menu{display:block;}
    .menu-list .sub-menu a{color:#D8C9AE; font-size:14.5px; padding:10px 0 10px 18px;}
    .menu-list .menu-item-has-children > a::after{color:#D8C9AE;}
  }

  @media(max-width:400px){
    .brand-text .name{font-size:15.5px;}
    .affil-line{font-size:11px;}
    .seal{width:42px; height:42px;}
  }

  /* ---------- Hero ---------- */
  .hero{
    position:relative;
    padding:96px 24px 80px;
    background:
      radial-gradient(circle at 82% 18%, rgba(122,31,43,.07), transparent 45%),
      var(--ivory);
    overflow:hidden;
  }
  .hero .wrap{
    display:grid; grid-template-columns:1.15fr .85fr; gap:56px; align-items:center;
  }
  .hero h1{
    font-size:clamp(32px,4.4vw,52px); line-height:1.12; color:var(--navy);
    margin:14px 0 20px;
  }
  .hero h1 em{
    font-style:italic; color:var(--maroon);
  }
  .hero p.lede{
    font-size:16.5px; color:#4a453e; max-width:520px; margin-bottom:30px;
  }
  .hero-btns{display:flex; gap:16px; flex-wrap:wrap;}
  .btn{
    display:inline-block; padding:13px 26px; font-weight:600; font-size:14.5px;
    letter-spacing:.02em; border-radius:2px; transition:all .2s ease; border:1.5px solid transparent;
  }
  .btn-primary{background:var(--maroon); color:var(--white);}
  .btn-primary:hover{background:var(--maroon-dark);}
  .btn-outline{border-color:var(--navy); color:var(--navy);}
  .btn-outline:hover{background:var(--navy); color:var(--white);}

  .hero-emblem{
    position:relative; width:100%; aspect-ratio:1/1; max-width:420px; margin:0 auto;
    display:flex; align-items:center; justify-content:center;
  }
  .ring{
    position:absolute; border-radius:50%; border:1.5px solid var(--maroon);
    opacity:.28;
  }
  .ring.r1{inset:0;}
  .ring.r2{inset:34px; opacity:.4;}
  .ring.r3{inset:68px; opacity:.6; border-style:dashed;}
  .emblem-core{
    position:relative; width:62%; height:62%; border-radius:50%;
    background:var(--white); border:2px solid var(--maroon);
    display:flex; align-items:center; justify-content:center; flex-direction:column;
    box-shadow:0 18px 40px -18px rgba(90,21,32,.35);
  }
  .emblem-core svg{width:46%; }
  .emblem-core .motto{
    font-family:'Cormorant Garamond',serif; font-weight:700; font-size:13px; color:var(--maroon);
    margin-top:8px; letter-spacing:.03em; text-align:center; padding:0 14px;
  }
  @media(max-width:920px){
    .hero .wrap{grid-template-columns:1fr; text-align:center;}
    .hero p.lede{margin-left:auto; margin-right:auto;}
    .hero-btns{justify-content:center;}
    .hero-emblem{margin-top:20px;}
  }

  /* ---------- Section base ---------- */
  section{padding:76px 24px;}
  .section-head{max-width:640px; margin-bottom:44px;}
  .section-head.center{margin-left:auto; margin-right:auto; text-align:center;}
  .section-head h2{font-size:clamp(26px,3vw,36px);}
  .section-head p{color:#5a5449; margin-top:12px; font-size:15.5px;}

  /* ---------- About ---------- */
  .about{background:var(--white); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
  .about .wrap{display:grid; grid-template-columns:.9fr 1.1fr; gap:60px; align-items:center;}
  .about-stats{display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:30px;}
  .stat{border-left:3px solid var(--gold); padding:6px 0 6px 16px;}
  .stat .num{font-family:'Lora',serif; font-size:28px; color:var(--maroon); font-weight:700;}
  .stat .lbl{font-size:12.5px; color:#665f52; letter-spacing:.03em; text-transform:uppercase;}
  .about-visual{
    background:var(--ivory-dim); border:1px solid var(--line); border-radius:4px;
    padding:36px; position:relative;
  }
  .about-visual .quote-mark{font-family:'Lora',serif; font-size:64px; color:var(--maroon); opacity:.25; line-height:0.5;}
  .about-visual blockquote{font-family:'Lora',serif; font-style:italic; font-size:19px; color:var(--navy); margin-top:14px; line-height:1.5;}
  .about-visual .attrib{margin-top:16px; font-size:13px; color:#7a7364; letter-spacing:.03em;}
  @media(max-width:920px){.about .wrap{grid-template-columns:1fr;}}

  /* ---------- Courses ---------- */
  .courses{background:var(--ivory);}
  .course-grid{display:grid; grid-template-columns:1fr 1fr; gap:26px;}
  .course-card{
    background:var(--white); border:1px solid var(--line); border-radius:4px;
    padding:32px; position:relative; overflow:hidden; transition:transform .25s ease, box-shadow .25s ease;
    scroll-margin-top:130px;
  }
  .course-card:hover{transform:translateY(-4px); box-shadow:0 22px 40px -26px rgba(27,42,74,.35);}
  .course-card .tag{
    display:inline-block; font-size:11.5px; letter-spacing:.1em; text-transform:uppercase;
    color:var(--gold); font-weight:700; margin-bottom:10px;
  }
  .course-card h3{font-size:23px; margin-bottom:8px;}
  .course-card .dur{font-size:13.5px; color:var(--maroon); font-weight:600; margin-bottom:14px;}
  .course-card p{font-size:14.5px; color:#57503f; margin-bottom:18px;}
  .course-card ul{list-style:none; font-size:13.8px; color:#4a4538;}
  .course-card ul li{padding:5px 0; padding-left:20px; position:relative;}
  .course-card ul li::before{content:"—"; position:absolute; left:0; color:var(--gold);}
  .course-card .big-num{
    position:absolute; right:14px; top:6px; font-family:'Lora',serif; font-size:88px;
    color:var(--navy); opacity:.05; font-weight:700; line-height:1;
  }
  @media(max-width:760px){.course-grid{grid-template-columns:1fr;}}

  /* ---------- Why us ---------- */
  .why{background:var(--navy); color:#EDE7D6;}
  .why h2{color:var(--white);}
  .why .section-head p{color:#C9C3B2;}
  .why-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin-top:10px;}
  .why-card{padding:22px 4px; border-top:2px solid var(--gold);}
  .why-card .n{font-family:'Lora',serif; color:var(--gold); font-size:14px; margin-bottom:10px; letter-spacing:.05em;}
  .why-card h4{color:var(--white); font-size:17px; margin-bottom:8px;}
  .why-card p{font-size:13.8px; color:#BEB8A5;}
  @media(max-width:920px){.why-grid{grid-template-columns:1fr 1fr;}}
  @media(max-width:560px){.why-grid{grid-template-columns:1fr;}}

  /* ---------- Admission ---------- */
  .admission{background:var(--white);}
  .adm-wrap{
    background:var(--ivory-dim); border:1px solid var(--line); border-radius:4px;
    padding:48px; display:grid; grid-template-columns:1.1fr .9fr; gap:44px; align-items:center;
  }
  .adm-steps{counter-reset:step;}
  .adm-steps li{
    list-style:none; display:flex; gap:16px; margin-bottom:20px; align-items:flex-start;
  }
  .adm-steps li::before{
    counter-increment:step; content:counter(step);
    font-family:'Lora',serif; font-weight:700; color:var(--maroon);
    border:1.5px solid var(--maroon); border-radius:50%; width:32px; height:32px;
    display:flex; align-items:center; justify-content:center; flex:none; font-size:14px;
  }
  .adm-steps h4{font-size:15.5px; margin-bottom:3px;}
  .adm-steps p{font-size:13.8px; color:#5a5449;}
  .adm-card{background:var(--white); border:1px solid var(--line); border-radius:4px; padding:30px;}
  .adm-card h3{font-size:19px; margin-bottom:16px;}
  .adm-card .row{display:flex; justify-content:space-between; padding:11px 0; border-bottom:1px dashed var(--line); font-size:14px;}
  .adm-card .row span:first-child{color:#6b6455;}
  .adm-card .row span:last-child{font-weight:600; color:var(--navy);}
  @media(max-width:920px){.adm-wrap{grid-template-columns:1fr; padding:32px;}}

  /* ---------- Contact ---------- */
  .contact{background:var(--ivory);}
  .contact-wrap{display:grid; grid-template-columns:1fr 1fr; gap:50px;}
  .info-list{margin-top:24px;}
  .info-item{display:flex; gap:16px; margin-bottom:26px;}
  .info-item .ic{
    width:42px; height:42px; border:1.5px solid var(--maroon); border-radius:50%;
    display:flex; align-items:center; justify-content:center; flex:none; color:var(--maroon);
  }
  .info-item h4{font-size:14.5px; margin-bottom:4px; color:var(--navy);}
  .info-item p, .info-item a{font-size:14.5px; color:#4a4538;}
  form.cform{background:var(--white); border:1px solid var(--line); border-radius:4px; padding:34px;}
  form.cform h3{margin-bottom:6px; font-size:20px;}
  form.cform .sub{font-size:13.5px; color:#7a7364; margin-bottom:22px;}
  .field{margin-bottom:16px;}
  .field label{display:block; font-size:12.5px; letter-spacing:.04em; text-transform:uppercase; color:#7a7364; margin-bottom:6px;}
  .field input, .field select, .field textarea{
    width:100%; border:1px solid var(--line); background:var(--ivory); padding:11px 13px;
    font-family:'Work Sans',sans-serif; font-size:14.5px; border-radius:2px; color:var(--ink);
  }
  .field textarea{resize:vertical; min-height:90px;}
  .field input:focus, .field select:focus, .field textarea:focus{
    outline:2px solid var(--maroon); outline-offset:1px; background:var(--white);
  }
  form.cform .btn{width:100%; border:none; cursor:pointer;}
  .map-col{border:1px solid var(--line); border-radius:4px; overflow:hidden; min-height:420px;}
  .map-col iframe{width:100%; height:100%; min-height:420px; border:0; display:block; filter:grayscale(.15) contrast(1.03);}
  @media(max-width:920px){.contact-wrap{grid-template-columns:1fr;} .map-col{min-height:300px;} .map-col iframe{min-height:300px;}}

  /* ---------- Map strip ---------- */
  .map-strip{border-top:1px solid var(--line);}
  .map-strip iframe{width:100%; height:340px; border:0; display:block; filter:grayscale(.15) contrast(1.03);}

  /* ---------- Footer ---------- */
  footer{background:var(--maroon-dark); color:#E7D9CE; padding:50px 24px 20px;}
  .foot-wrap{display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:40px; margin-bottom:36px;}
  footer h4{color:#F1E4D8; font-size:15px; margin-bottom:14px; font-family:'Lora',serif;}
  footer .fbrand{display:flex; gap:12px; align-items:center; margin-bottom:12px;}
  footer .fbrand .name{font-family:'Lora',serif; font-weight:700; font-size:17px; color:#fff;}
  footer .seal-badge{display:flex; align-items:center; justify-content:center; background:#fff; border-radius:50%; padding:8px; flex-shrink:0;}
  footer .seal-badge .seal{height:52px!important; width:52px!important; object-fit:contain;}
  footer p{font-size:13.5px; color:#D8C4B7; line-height:1.7;}
  footer ul{list-style:none;}
  footer ul li{margin-bottom:9px;}
  footer ul a{font-size:13.8px; color:#D8C4B7;}
  footer ul a:hover{color:#fff;}
  .foot-bottom{
    border-top:1px solid rgba(255,255,255,.14); padding-top:18px; text-align:center;
    font-size:12.5px; color:#C7AE9F;
  }
  @media(max-width:760px){.foot-wrap{grid-template-columns:1fr; gap:28px;}}

  /* reveal animation */
  .reveal{opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease;}
  .reveal.in{opacity:1; transform:none;}

  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    .reveal{opacity:1; transform:none; transition:none;}
    .course-card:hover{transform:none;}
  }

/* ===================== Inner page banner ===================== */
.page-banner{
  background:
    radial-gradient(circle at 85% 20%, rgba(122,31,43,.08), transparent 45%),
    var(--ivory-dim);
  border-bottom:1px solid var(--line);
  padding:56px 24px 44px;
  text-align:center;
}
.page-banner h1{font-size:clamp(28px,3.6vw,42px);}
.page-banner .crumb{font-size:13px; color:#7a7364; margin-top:10px;}
.page-banner .crumb a{color:var(--maroon); font-weight:600;}

/* ===================== Generic page content (page.php) ===================== */
.page-content-wrap{padding:70px 24px; background:var(--white);}
.page-content-wrap .entry-content{max-width:800px; margin:0 auto; font-size:15.5px; color:#3a352c;}
.page-content-wrap .entry-content h2{margin:28px 0 12px;}
.page-content-wrap .entry-content p{margin-bottom:16px;}
.page-content-wrap .entry-content ul, .page-content-wrap .entry-content ol{margin:0 0 16px 22px;}

/* ===================== Home preview sections (front page links out) ===================== */
.view-all{text-align:center; margin-top:36px;}

/* ===================== Contact form status ===================== */
.form-status{padding:12px 14px; border-radius:2px; font-size:14px; margin-bottom:16px;}
.form-status.success{background:#e7f3e6; color:#2b5c2b; border:1px solid #b7d9b4;}
.form-status.error{background:#f8e6e6; color:#7a2626; border:1px solid #e3b7b7;}

/* ===================== 404 ===================== */
.error-404{padding:100px 24px; text-align:center;}
.error-404 h1{font-size:96px; color:var(--maroon); opacity:.18; margin-bottom:-10px;}
.error-404 h2{margin-bottom:14px;}
.error-404 p{color:#5a5449; margin-bottom:26px;}

/* ===================== Widget / sidebar (optional) ===================== */
.widget-area{padding:0;}
.widget{margin-bottom:26px;}
.widget h3{font-size:16px; margin-bottom:10px; color:var(--navy);}

/* ===================== Icons (phone/email/social) ===================== */
.contact-ic{
  width:20px; height:20px; display:inline-block; vertical-align:middle; flex:none;
}
.topbar a{display:inline-flex; align-items:center; gap:6px;}
.topbar .contact-ic{width:15px; height:15px;}

.social-icons{display:flex; gap:10px; margin-top:16px;}
.social-icons a{
  width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:#fff; transition:transform .2s ease, opacity .2s ease;
}
.social-icons a:hover{transform:translateY(-3px); opacity:.92;}
.social-icons svg{width:18px; height:18px;}
.social-fb{background:#1877F2;}
.social-ig{background:radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);}
.social-yt{background:#FF0000;}
.social-wa{background:#25D366;}
.social-x{background: #000000;}
.info-item .ic{padding:0;}
.info-item .ic svg{width:20px; height:20px;}
.info-item .ic.ic-phone{border-color:#25D366; color:#25D366;}
.info-item .ic.ic-mail{border-color:#D93025; color:#D93025;}
.info-item .ic.ic-pin{border-color:var(--maroon); color:var(--maroon);}
.info-item .ic.ic-clock{border-color:var(--gold); color:var(--gold);}

.affil-line{
  font-size:12px; color:var(--navy); letter-spacing:.02em; margin-top:3px;
}
.affil-line a{color:var(--maroon); font-weight:600; text-decoration:underline; text-underline-offset:2px;}
footer .affil-line{color:#D8C4B7;}
footer .affil-line a{color:#F1E4D8;}

/* ===================== Contact office cards (reference-inspired layout) ===================== */
.office-cards{
  display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-bottom:36px;
}
.office-card{
  background:var(--white); border:1px solid var(--line); border-radius:4px; padding:28px;
}
.office-card .ic{
  width:44px; height:44px; border-radius:50%; border:1.5px solid var(--maroon); color:var(--maroon);
  display:flex; align-items:center; justify-content:center; margin-bottom:14px;
}
.office-card .ic svg{width:20px; height:20px;}
.office-card h4{font-size:16.5px; margin-bottom:8px;}
.office-card p{font-size:14px; color:#4a4538; margin-bottom:4px;}
.office-links{display:flex; flex-wrap:wrap; gap:14px; margin-top:14px;}
.office-links a{font-size:13.8px; font-weight:600; color:var(--maroon);}
.office-links a:hover{text-decoration:underline;}
@media(max-width:760px){.office-cards{grid-template-columns:1fr;}}

.follow-row{
  display:flex; align-items:center; gap:16px; justify-content:center;
  padding-bottom:44px; flex-wrap:wrap;
}
.follow-row span{font-size:13.5px; letter-spacing:.04em; color:#6b6455; text-transform:uppercase; font-weight:600;}
.follow-row .social-icons{margin-top:0;}

/* ===================== Footer 4-column responsive tweak ===================== */
.foot-wrap-4{grid-template-columns:1.4fr .8fr .9fr .8fr;}
@media(max-width:920px){.foot-wrap-4{grid-template-columns:1fr 1fr;}}
@media(max-width:560px){.foot-wrap-4{grid-template-columns:1fr;}}

/* ===================== Banner Image Slider (homepage) ===================== */
.banner-slider{
  position:relative; width:100%; height:min(62vw,520px); min-height:280px;
  overflow:hidden; background:var(--navy);
}
.banner-slide{
  position:absolute; inset:0; opacity:0; transition:opacity 1s ease;
}
.banner-slide.active{opacity:1;}
.banner-slide img{
  width:100%; height:100%; object-fit:cover; object-position:center 20%;
}
.banner-slide::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(27,20,10,.78) 0%, rgba(27,20,10,.15) 55%, rgba(27,20,10,.35) 100%);
}
.banner-caption{
  position:absolute; left:0; right:0; bottom:50px; padding:34px 24px 44px;
  z-index:2; text-align:center;
}
.banner-caption .wrap{max-width:900px;}
.banner-caption .eyebrow{color:#F2C879;}
.banner-caption h2{
  color:#fff; font-size:clamp(22px,3.4vw,38px); line-height:1.2; margin-top:6px;
}
.banner-caption p{color:#EADFCB; font-size:14.5px; margin-top:10px; max-width:600px; margin-left:auto; margin-right:auto;}
.banner-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:3;
  width:44px; height:44px; border-radius:50%; border:1.5px solid rgba(255,255,255,.6);
  background:rgba(27,20,10,.35); color:#fff; display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:background .2s ease, border-color .2s ease;
}
.banner-arrow:hover{background:var(--gold); border-color:var(--gold); color:#1B140A;}
.banner-arrow.prev{left:20px;}
.banner-arrow.next{right:20px;}
@media(max-width:760px){
  .banner-caption{
  position:absolute; left:0; right:0; bottom:0; padding:34px 24px 44px;
  z-index:2; text-align:center;
}
  .banner-slider{height:56vw; min-height:220px;}
  .banner-caption{padding:20px 18px 28px;}
  .banner-arrow{width:36px; height:36px;}
  .banner-arrow.prev{left:10px;}
  .banner-arrow.next{right:10px;}
}

/* ===================== Gallery grid with real photos ===================== */
.gallery-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
.gallery-item{border-radius:4px; overflow:hidden; border:1px solid var(--line); position:relative; aspect-ratio:16/10; cursor:pointer;}
.gallery-item img{width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s ease;}
.gallery-item:hover img{transform:scale(1.05);}
.gallery-item .cap{
  position:absolute; left:0; right:0; bottom:0; padding:10px 14px;
  background:linear-gradient(0deg, rgba(27,20,10,.75), transparent);
  color:#fff; font-size:12.5px; font-weight:600;
}
@media(max-width:600px){.gallery-grid{grid-template-columns:1fr;}}

/* ===================== Lightbox (Gallery click-to-view) ===================== */
.lightbox{
  position:fixed; inset:0; z-index:999; background:rgba(15,11,6,.92);
  display:none; align-items:center; justify-content:center; padding:40px;
}
.lightbox.open{display:flex;}
.lightbox-fig{max-width:min(900px,90vw); max-height:86vh; margin:0; text-align:center;}
.lightbox-fig img{max-width:100%; max-height:78vh; object-fit:contain; border-radius:4px; display:block; margin:0 auto;}
.lightbox-fig figcaption{color:#EADFCB; font-size:14px; margin-top:14px;}
.lightbox-close{
  position:absolute; top:22px; right:26px; width:44px; height:44px; border-radius:50%;
  border:1.5px solid rgba(255,255,255,.5); background:rgba(255,255,255,.08); cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.lightbox-close:hover{background:var(--gold); border-color:var(--gold);}
.lightbox-arrow{
  position:absolute; top:50%; transform:translateY(-50%); width:48px; height:48px; border-radius:50%;
  border:1.5px solid rgba(255,255,255,.5); background:rgba(255,255,255,.08); color:#fff; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.lightbox-arrow:hover{background:var(--gold); border-color:var(--gold);}
.lightbox-arrow.prev{left:24px;}
.lightbox-arrow.next{right:24px;}
@media(max-width:600px){
  .lightbox{padding:20px;}
  .lightbox-arrow{width:38px; height:38px;}
  .lightbox-arrow.prev{left:8px;}
  .lightbox-arrow.next{right:8px;}
  .lightbox-close{top:12px; right:12px;}
}
.footer-links a::before {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.75rem;
    margin-right: 8px;
   
}

@media (max-width: 768px) {
    .btn {
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        margin: 0 0 14px 0 !important;
    }

    .btn:last-child {
        margin-bottom: 0 !important;
    }
}
@media (max-width: 768px) {
    .row {
        gap: 20px;
    }

    .row span:first-child {
        flex-shrink: 0;
    }

    .row span:last-child {
        text-align: right;
    }
}
@media(max-width:400px){
.nn{
  font-size: 12px;
}
}
@media(max-width:325px){
.nn{
  font-size: 11px;
}
.affil-line {
    font-size: 10px;
    
}
    .brand-text .name {
        font-family: 'Lora', serif;
        font-weight: 700;
        font-size: 12px;
    }
}
/* ===================== Facilities page ===================== */
.facility-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.facility-card{
  background:var(--white); border:1px solid var(--line); border-radius:4px; padding:28px;
  transition:transform .25s ease, box-shadow .25s ease;
}
.facility-card:hover{transform:translateY(-4px); box-shadow:0 22px 40px -26px rgba(27,42,74,.35);}
.facility-card .fic{
  width:48px; height:48px; border-radius:50%; border:1.5px solid var(--maroon); color:var(--maroon);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
}
.facility-card .fic svg{width:22px; height:22px;}
.facility-card h4{font-size:16.5px; margin-bottom:8px;}
.facility-card p{font-size:14px; color:#57503f;}
@media(max-width:920px){.facility-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:600px){.facility-grid{grid-template-columns:1fr;}}
 
/* ===================== Staff page ===================== */
.staff-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:22px;}
.staff-card{
  background:var(--white); border:1px solid var(--line); border-radius:4px; overflow:hidden; text-align:center;
}
.staff-photo{
   background:var(--ivory-dim); display:flex; align-items:center; justify-content:center;
  color:var(--maroon); border-bottom:1px solid var(--line);
}
.staff-photo svg{width:44%; opacity:.5;}
.staff-info{padding:18px 14px;}
.staff-info h4{font-size:15px; margin-bottom:3px; color:var(--navy);}
.staff-info .role{font-size:12px; color:var(--maroon); font-weight:600; letter-spacing:.03em; text-transform:uppercase;}
@media(max-width:920px){.staff-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:500px){.staff-grid{grid-template-columns:1fr;}}
 
/* ===================== FAQ accordion ===================== */
.faq-list{max-width:800px; margin:0 auto;}
.faq-item{border:1px solid var(--line); border-radius:4px; margin-bottom:14px; background:var(--white); overflow:hidden;}
.faq-q{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  padding:18px 22px; cursor:pointer; font-weight:600; color:var(--navy); font-size:15.5px;
  background:none; border:none; width:100%; text-align:left; font-family:'Work Sans',sans-serif;
}
.faq-q .plus{
  flex:none; width:22px; height:22px; position:relative; transition:transform .25s ease;
}
.faq-q .plus::before, .faq-q .plus::after{
  content:""; position:absolute; background:var(--maroon); top:50%; left:50%; transform:translate(-50%,-50%);
}
.faq-q .plus::before{width:14px; height:2px;}
.faq-q .plus::after{width:2px; height:14px; transition:opacity .2s ease;}
.faq-item.open .plus{transform:none;}
.faq-item.open .plus::after{opacity:0;}
.faq-a{
  max-height:0; overflow:hidden; transition:max-height .3s ease;
  padding:0 22px; color:#57503f; font-size:14.5px; line-height:1.65;
}
.faq-item.open .faq-a{padding-bottom:20px;}