/*
Theme Name: Open School of London
Theme URI: https://openschooloflondon.co.uk
Author: Open School of London
Description: An independent London college theme for Open School of London, serving UK-based and international students across Foundation, Undergraduate and Postgraduate courses. Upload, activate — every page and menu is created automatically.
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: osol
*/

/* ---------------------------------------------
   0. TOKENS
--------------------------------------------- */
:root{
  --navy:#8C0F22;
  --navy-2:#5E0A18;
  --brass:#C8102E;
  --brass-light:#E2354C;
  --teal:#1A1A1A;
  --parchment:#F8F5F2;
  --paper:#FFFFFF;
  --ink:#1A1A1A;
  --ink-soft:#5A5F68;
  --line:#ECE2DC;
  --white:#FFFFFF;

  --display: "Fraunces", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
  --radius: 4px;
  --shadow: 0 12px 32px -12px rgba(16,27,51,0.18);

  /* Customizer-controlled: header, buttons, logo, base type size */
  --header-height: 76px;
  --header-bg: #101B33;
  --btn-radius: 2px;
  --logo-height: 40px;
  --base-font-size: 16px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--body);
  font-size:var(--base-font-size);
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--display); margin:0; color:var(--navy); font-weight:600; }
p{ margin:0; }
.container{ max-width:var(--container); margin:0 auto; padding:0 28px; }
section{ position:relative; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--teal); outline-offset:3px;
}

/* ---------------------------------------------
   1. EYEBROW / LABELS
--------------------------------------------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--body); font-size:12.5px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--brass); font-weight:700; margin-bottom:16px;
}
.eyebrow::before{ content:""; width:26px; height:1px; background:var(--brass); display:block; }

/* ---------------------------------------------
   2. HEADER / NAV
--------------------------------------------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:var(--header-bg);
  backdrop-filter:blur(6px);
  border-bottom:1px solid rgba(255,255,255,0.08);
}
body.osol-no-sticky-header .site-header{ position:relative; }
.nav-wrap{ display:flex; align-items:center; justify-content:space-between; height:var(--header-height); gap:20px; }
.brand{ display:flex; align-items:center; gap:10px; color:var(--white); }
.brand-mark{
  width:38px; height:38px; border-radius:50%; border:1.5px solid var(--brass);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--display); font-weight:700; color:var(--brass-light); font-size:15px;
}
.brand-name{ font-family:var(--display); font-size:19px; font-weight:600; letter-spacing:.01em; }
.brand-name span{ color:var(--brass-light); }
.custom-logo-link{ display:flex; align-items:center; }
.custom-logo{ height:var(--logo-height); width:auto; max-width:220px; object-fit:contain; }
.brand-fallback-logo{ height:var(--logo-height); width:auto; max-width:220px; object-fit:contain; border-radius:6px; }
.header-cta{ margin-left:8px; }
@media (max-width:900px){ .header-cta{ display:none; } }

.primary-menu{ display:flex; align-items:center; gap:34px; }
.primary-menu a{
  color:rgba(255,255,255,0.82); font-size:14.5px; font-weight:500; letter-spacing:.01em;
  position:relative; padding:6px 0; transition:color .2s ease;
}
.primary-menu a::after{
  content:""; position:absolute; left:0; bottom:0; width:0; height:1px; background:var(--brass-light);
  transition:width .25s ease;
}
.primary-menu a:hover{ color:var(--white); }
.primary-menu a:hover::after{ width:100%; }

.nav-cta{
  background:var(--brass); color:var(--navy) !important; font-weight:700 !important;
  padding:10px 20px; border-radius:var(--btn-radius); font-size:13.5px !important;
}
.nav-cta:hover{ background:var(--brass-light); color:var(--navy) !important; }
.nav-cta::after{ display:none !important; }

.nav-toggle{
  display:none; background:none; border:1px solid rgba(255,255,255,.3); border-radius:2px;
  width:42px; height:38px; color:var(--white); font-size:18px; cursor:pointer;
}

@media (max-width:900px){
  .primary-menu{
    position:absolute; top:var(--header-height); left:0; right:0; background:var(--navy-2);
    flex-direction:column; align-items:flex-start; gap:0; padding:8px 28px 22px;
    display:none; border-bottom:1px solid rgba(255,255,255,.08);
  }
  .primary-menu.is-open{ display:flex; }
  .primary-menu a{ width:100%; padding:12px 0; }
  .primary-menu .nav-cta{ margin-top:10px; text-align:center; }
  .nav-toggle{ display:block; }
}

/* ---------------------------------------------
   3. HERO
--------------------------------------------- */
.hero{
  background:
    radial-gradient(1100px 620px at 82% -10%, rgba(185,139,42,0.16), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color:var(--white);
  padding:96px 0 110px;
  overflow:hidden;
}
.hero-grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:60px; align-items:center; }
.hero h1{
  color:var(--white); font-size:clamp(34px,4.6vw,58px); line-height:1.08; letter-spacing:-.01em;
  font-weight:600;
}
.hero h1 em{ font-style:italic; color:var(--brass-light); font-weight:500; }
.hero-sub{
  margin-top:22px; max-width:480px; color:rgba(255,255,255,0.75); font-size:16.5px; line-height:1.75;
}
.hero-actions{ display:flex; gap:16px; margin-top:36px; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; gap:8px; padding:14px 26px; border-radius:var(--btn-radius);
  font-size:14.5px; font-weight:700; letter-spacing:.01em; cursor:pointer; border:1px solid transparent;
  transition:all .2s ease;
}
.btn-brass{ background:var(--brass); color:var(--white); }
.btn-brass:hover{ background:var(--navy); color:var(--white); transform:translateY(-1px); }
.btn-ghost{ border-color:rgba(255,255,255,0.3); color:var(--white); }
.btn-ghost:hover{ border-color:var(--brass-light); color:var(--brass-light); }
.btn-dark{ background:var(--navy); color:var(--white); }
.btn-dark:hover{ background:var(--navy-2); }

.hero-stats{ display:flex; gap:36px; margin-top:56px; flex-wrap:wrap; }
.hero-stat b{ display:block; font-family:var(--display); font-size:28px; color:var(--brass-light); }
.hero-stat span{ font-size:12.5px; color:rgba(255,255,255,0.6); letter-spacing:.04em; text-transform:uppercase; }

/* routes svg */
.routes-wrap{ position:relative; }
.routes-svg{ width:100%; height:auto; }
.routes-svg .dot{ fill:var(--brass-light); }
.routes-svg .dot-home{ fill:var(--white); }
.routes-svg .path{ fill:none; stroke:rgba(217,174,85,0.55); stroke-width:1.4; stroke-dasharray:4 6; }
.routes-svg .globe{ fill:none; stroke:rgba(255,255,255,0.14); stroke-width:1; }
.routes-svg text{ font-family:var(--body); fill:rgba(255,255,255,0.72); font-size:11px; letter-spacing:.03em; }

@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; }
  .routes-wrap{ max-width:420px; margin:0 auto; }
}

/* ---------------------------------------------
   4. SECTION HEADS
--------------------------------------------- */
.sec-head{ max-width:640px; margin-bottom:52px; }
.sec-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.sec-head h2{ font-size:clamp(26px,3.4vw,40px); line-height:1.15; }
.sec-pad{ padding:100px 0; }
.bg-parchment{ background:var(--parchment); }
.bg-navy{ background:var(--navy); color:var(--white); }
.bg-navy h2, .bg-navy .eyebrow{ color:var(--white); }
.bg-navy .eyebrow{ color:var(--brass-light); }

/* ---------------------------------------------
   5. ABOUT
--------------------------------------------- */
.about-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:64px; align-items:center; }
.about-visual{
  aspect-ratio:4/5; border-radius:var(--radius); position:relative; overflow:hidden;
  background:linear-gradient(160deg, var(--navy) 0%, var(--teal) 100%);
}
.about-visual::before{
  content:""; position:absolute; inset:0;
  background-image:repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 26px);
}
.about-visual .seal{
  position:absolute; bottom:28px; left:28px; right:28px;
  border:1px solid rgba(217,174,85,0.5); border-radius:2px; padding:22px;
  color:var(--white); backdrop-filter:blur(2px);
}
.about-visual .seal b{ font-family:var(--display); font-size:22px; color:var(--brass-light); display:block; }
.about-visual .seal span{ font-size:12.5px; color:rgba(255,255,255,0.7); }

.about-copy p{ color:var(--ink-soft); margin-bottom:18px; font-size:15.5px; }
.checklist{ display:grid; grid-template-columns:1fr 1fr; gap:14px 22px; margin-top:26px; }
.checklist li{ display:flex; gap:10px; align-items:flex-start; font-size:14.5px; color:var(--ink); }
.checklist li::before{
  content:"✓"; color:var(--teal); font-weight:700; border:1px solid var(--teal); border-radius:50%;
  width:19px; height:19px; min-width:19px; display:flex; align-items:center; justify-content:center; font-size:11px; margin-top:2px;
}
@media (max-width:820px){ .about-grid{ grid-template-columns:1fr; } .checklist{ grid-template-columns:1fr; } }

/* ---------------------------------------------
   6. STAT STRIP
--------------------------------------------- */
.stat-strip{ display:grid; grid-template-columns:repeat(4,1fr); border:1px solid var(--line); }
.stat-cell{ padding:34px 22px; text-align:center; border-right:1px solid var(--line); }
.stat-cell:last-child{ border-right:none; }
.stat-cell b{ font-family:var(--display); font-size:32px; color:var(--navy); }
.stat-cell span{ display:block; font-size:12.5px; color:var(--ink-soft); text-transform:uppercase; letter-spacing:.05em; margin-top:6px; }
@media (max-width:700px){ .stat-strip{ grid-template-columns:1fr 1fr; } .stat-cell{ border-bottom:1px solid var(--line); } }

/* ---------------------------------------------
   7. SERVICES
--------------------------------------------- */
.service-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:2px; background:var(--line); border:1px solid var(--line); }
.service-card{ background:var(--paper); padding:38px 32px; transition:background .2s ease; }
.service-card:hover{ background:var(--white); }
.service-num{ font-family:var(--display); font-size:13px; color:var(--brass); letter-spacing:.05em; }
.service-card h3{ font-size:19px; margin:14px 0 10px; }
.service-card p{ font-size:14.5px; color:var(--ink-soft); }
@media (max-width:900px){ .service-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .service-grid{ grid-template-columns:1fr; } }

/* ---------------------------------------------
   8. DESTINATIONS — passport stamp badges
--------------------------------------------- */
.dest-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:28px; }
.stamp{
  aspect-ratio:1/1; border:2px dashed var(--navy); border-radius:50%;
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
  padding:16px; position:relative; background:var(--white);
  transition:transform .25s ease, border-color .25s ease;
}
.stamp:nth-child(2n){ transform:rotate(-4deg); }
.stamp:nth-child(3n){ transform:rotate(3deg); }
.stamp:hover{ transform:rotate(0deg) translateY(-4px); border-color:var(--brass); }
.stamp .flag{ font-size:26px; margin-bottom:8px; }
.stamp b{ font-family:var(--display); font-size:14.5px; color:var(--navy); line-height:1.2; }
.stamp span{ font-size:10.5px; color:var(--ink-soft); text-transform:uppercase; letter-spacing:.05em; margin-top:4px; }
@media (max-width:980px){ .dest-grid{ grid-template-columns:repeat(3,1fr); gap:20px; } }
@media (max-width:560px){ .dest-grid{ grid-template-columns:repeat(2,1fr); } }

/* ---------------------------------------------
   9. PROCESS
--------------------------------------------- */
.process-list{ display:grid; gap:0; }
.process-row{
  display:grid; grid-template-columns:80px 1fr; gap:28px; padding:30px 0; border-top:1px solid rgba(255,255,255,0.12);
  align-items:baseline;
}
.process-row:last-child{ border-bottom:1px solid rgba(255,255,255,0.12); }
.process-row .pnum{ font-family:var(--display); font-size:34px; color:var(--brass-light); }
.process-row h3{ color:var(--white); font-size:19px; margin-bottom:8px; }
.process-row p{ color:rgba(255,255,255,0.65); font-size:14.5px; max-width:560px; }
@media (max-width:640px){ .process-row{ grid-template-columns:44px 1fr; } .process-row .pnum{ font-size:24px; } }

/* ---------------------------------------------
   10. TESTIMONIALS
--------------------------------------------- */
.tmn-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.tmn-card{ background:var(--white); border:1px solid var(--line); padding:32px 28px; }
.tmn-card p{ font-size:15px; color:var(--ink); font-style:italic; line-height:1.7; }
.tmn-foot{ display:flex; align-items:center; gap:12px; margin-top:22px; }
.tmn-avatar{
  width:42px; height:42px; border-radius:50%; background:var(--navy); color:var(--brass-light);
  display:flex; align-items:center; justify-content:center; font-family:var(--display); font-weight:700;
}
.tmn-foot b{ display:block; font-size:14px; color:var(--navy); }
.tmn-foot span{ font-size:12.5px; color:var(--ink-soft); }
@media (max-width:900px){ .tmn-grid{ grid-template-columns:1fr; } }

/* ---------------------------------------------
   11. CTA BANNER
--------------------------------------------- */
.cta-banner{
  background:linear-gradient(120deg, var(--teal), var(--navy));
  padding:64px 0; color:var(--white); text-align:center;
}
.cta-banner h2{ color:var(--white); font-size:clamp(24px,3vw,34px); }
.cta-banner p{ color:rgba(255,255,255,0.75); margin:14px 0 30px; }

/* ---------------------------------------------
   12. CONTACT
--------------------------------------------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1.05fr; gap:60px; }
.contact-info-card{ background:var(--navy); color:var(--white); padding:40px; }
.contact-info-card h3{ color:var(--white); font-size:21px; margin-bottom:22px; }
.info-row{ display:flex; gap:14px; padding:16px 0; border-top:1px solid rgba(255,255,255,0.12); }
.info-row:first-of-type{ border-top:none; }
.info-row b{ display:block; font-size:13px; color:var(--brass-light); text-transform:uppercase; letter-spacing:.04em; margin-bottom:4px; }
.info-row span{ font-size:14.5px; color:rgba(255,255,255,0.82); }
.social-row{ display:flex; gap:12px; margin-top:26px; }
.social-row a{ width:36px; height:36px; border:1px solid rgba(255,255,255,0.3); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:14px; }
.social-row a:hover{ border-color:var(--brass-light); color:var(--brass-light); }

.form-card{ background:var(--white); border:1px solid var(--line); padding:40px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:12.5px; font-weight:700; letter-spacing:.03em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:8px; }
.field input, .field select, .field textarea{
  width:100%; padding:13px 14px; border:1px solid var(--line); border-radius:2px; font-family:var(--body);
  font-size:14.5px; background:var(--paper); color:var(--ink);
}
.field textarea{ min-height:120px; resize:vertical; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--teal); background:var(--white); }
.form-note{ font-size:12.5px; color:var(--ink-soft); margin-top:10px; }
.form-notice{ padding:14px 16px; border-radius:2px; margin-bottom:20px; font-size:14px; }
.form-notice.ok{ background:#EAF4EC; color:#1F5C33; border:1px solid #BFE2C7; }
.form-notice.err{ background:#FBEAEA; color:#8A2A2A; border:1px solid #F0C6C6; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } .form-row{ grid-template-columns:1fr; } }

/* ---------------------------------------------
   13. FOOTER
--------------------------------------------- */
.site-footer{ background:var(--navy-2); color:rgba(255,255,255,0.75); padding:70px 0 26px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:40px; padding-bottom:44px; border-bottom:1px solid rgba(255,255,255,0.1); }
.footer-grid h4{ color:var(--white); font-size:14.5px; margin-bottom:18px; letter-spacing:.02em; }
.footer-grid p{ font-size:14px; line-height:1.7; color:rgba(255,255,255,0.6); }
.footer-grid li{ margin-bottom:10px; font-size:14px; }
.footer-grid a:hover{ color:var(--brass-light); }
.footer-bottom{ display:flex; justify-content:space-between; padding-top:22px; font-size:12.5px; color:rgba(255,255,255,0.45); flex-wrap:wrap; gap:10px; }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }

/* ---------------------------------------------
   14. REVEAL ANIMATION
--------------------------------------------- */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
.reveal.is-visible{ opacity:1; transform:translateY(0); }

/* ---------------------------------------------
   15. RATING BADGE (hero trust strip)
--------------------------------------------- */
.rating-badge{
  display:inline-flex; align-items:center; gap:12px; margin-top:30px; padding:10px 16px;
  border:1px solid rgba(255,255,255,0.18); border-radius:2px; background:rgba(255,255,255,0.04);
}
.rating-badge .stars{ color:var(--brass-light); font-size:15px; letter-spacing:2px; }
.rating-badge b{ color:var(--white); font-size:14px; }
.rating-badge span{ color:rgba(255,255,255,0.6); font-size:12.5px; }

/* ---------------------------------------------
   16. MARQUEE (trusted-by strip)
--------------------------------------------- */
.marquee{ overflow:hidden; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--paper); }
.marquee-track{ display:flex; width:max-content; animation:marquee 28s linear infinite; }
.marquee-item{
  display:flex; align-items:center; gap:10px; padding:20px 44px; white-space:nowrap;
  font-family:var(--display); font-size:15px; color:var(--ink-soft); border-right:1px solid var(--line);
}
.marquee-item b{ color:var(--navy); }
@keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ---------------------------------------------
   17. SUBJECT PILLS
--------------------------------------------- */
.subject-grid{ display:flex; flex-wrap:wrap; gap:14px; }
.subject-pill{
  display:flex; align-items:center; gap:10px; padding:14px 20px; border:1px solid var(--line);
  background:var(--white); border-radius:100px; font-size:14px; font-weight:600; color:var(--navy);
  transition:all .2s ease;
}
.subject-pill .dot{ width:7px; height:7px; border-radius:50%; background:var(--brass); }
.subject-pill:hover{ border-color:var(--brass); background:var(--parchment); transform:translateY(-2px); }

/* ---------------------------------------------
   18. UNIVERSITY PARTNER CARDS
--------------------------------------------- */
.uni-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.uni-card{ background:var(--white); border:1px solid var(--line); padding:26px; transition:box-shadow .2s ease, transform .2s ease; }
.uni-card:hover{ box-shadow:var(--shadow); transform:translateY(-3px); }
.uni-top{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.uni-mark{
  width:48px; height:48px; border-radius:50%; background:var(--navy); color:var(--brass-light);
  display:flex; align-items:center; justify-content:center; font-family:var(--display); font-weight:700; font-size:16px; flex-shrink:0;
}
.uni-rank{ font-size:11px; text-align:right; color:var(--ink-soft); }
.uni-rank b{ display:block; color:var(--teal); font-size:15px; font-family:var(--display); }
.uni-card h3{ font-size:17px; margin:16px 0 4px; }
.uni-loc{ font-size:13px; color:var(--ink-soft); margin-bottom:14px; }
.uni-tags{ display:flex; gap:8px; flex-wrap:wrap; }
.uni-tags span{ font-size:11px; padding:5px 10px; background:var(--parchment); color:var(--ink-soft); border-radius:100px; }
@media (max-width:900px){ .uni-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .uni-grid{ grid-template-columns:1fr; } }

/* ---------------------------------------------
   19. TESTIMONIAL CAROUSEL
--------------------------------------------- */
.tmn-carousel{ position:relative; max-width:760px; margin:0 auto; }
.tmn-track-wrap{ overflow:hidden; }
.tmn-track{ display:flex; transition:transform .5s ease; }
.tmn-slide{ flex:0 0 100%; padding:0 6px; }
.tmn-slide .tmn-card{ text-align:center; padding:46px 40px; }
.tmn-slide .quote-mark{ font-family:var(--display); font-size:44px; color:var(--brass); line-height:1; display:block; margin-bottom:6px; }
.tmn-slide p{ font-size:17px; }
.tmn-slide .tmn-foot{ justify-content:center; margin-top:26px; }
.tmn-nav{ display:flex; justify-content:center; align-items:center; gap:20px; margin-top:26px; }
.tmn-arrow{
  width:40px; height:40px; border-radius:50%; border:1px solid var(--line); background:var(--white);
  display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:16px; color:var(--navy);
  transition:all .2s ease;
}
.tmn-arrow:hover{ background:var(--navy); color:var(--white); border-color:var(--navy); }
.tmn-dots{ display:flex; gap:8px; }
.tmn-dot{ width:8px; height:8px; border-radius:50%; background:var(--line); border:none; cursor:pointer; padding:0; }
.tmn-dot.is-active{ background:var(--brass); width:22px; border-radius:5px; transition:all .25s ease; }

/* ---------------------------------------------
   20. FAQ ACCORDION
--------------------------------------------- */
.faq-list{ max-width:760px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; padding:24px 4px; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:20px;
  font-family:var(--display); font-size:17.5px; color:var(--navy); font-weight:600;
}
.faq-q .icon{ font-size:20px; color:var(--brass); transition:transform .25s ease; flex-shrink:0; }
.faq-item.is-open .faq-q .icon{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
.faq-a p{ padding:0 4px 24px; color:var(--ink-soft); font-size:14.5px; max-width:640px; }

/* ---------------------------------------------
   21. BLOG TEASER
--------------------------------------------- */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.blog-card{ background:var(--white); border:1px solid var(--line); overflow:hidden; transition:box-shadow .2s ease, transform .2s ease; }
.blog-card:hover{ box-shadow:var(--shadow); transform:translateY(-3px); }
.blog-thumb{
  height:150px; background:linear-gradient(135deg, var(--navy), var(--teal));
  display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,0.5);
  font-family:var(--display); font-size:13px; letter-spacing:.1em; text-transform:uppercase;
}
.blog-body{ padding:24px; }
.blog-date{ font-size:11.5px; color:var(--brass); text-transform:uppercase; letter-spacing:.05em; font-weight:700; }
.blog-body h3{ font-size:17px; margin:10px 0 10px; line-height:1.35; }
.blog-body p{ font-size:14px; color:var(--ink-soft); }
@media (max-width:900px){ .blog-grid{ grid-template-columns:1fr; } }

/* ---------------------------------------------
   22. SECTION DIVIDER RIBBON (unique signature accent)
--------------------------------------------- */
.ribbon-divider{ display:flex; align-items:center; gap:16px; margin-bottom:52px; }
.ribbon-divider .line{ flex:1; height:1px; background:var(--line); }
.ribbon-divider .diamond{ width:8px; height:8px; background:var(--brass); transform:rotate(45deg); }

/* ---------------------------------------------
   23. CREST MARK (brand shield)
--------------------------------------------- */
.crest-mark{ width:40px; height:40px; flex-shrink:0; }
.crest-mark .shield-fill{ fill:var(--brass); }
.crest-mark .shield-line{ fill:none; stroke:#fff; stroke-width:1.4; }
.crest-mark text{ fill:#fff; font-family:var(--display); font-weight:700; }

/* ---------------------------------------------
   24. INNER PAGE HERO / BREADCRUMB
--------------------------------------------- */
.page-hero{
  background:linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  color:var(--white); padding:74px 0 58px; position:relative; overflow:hidden;
}
.page-hero::after{
  content:""; position:absolute; right:-80px; top:-80px; width:280px; height:280px;
  border:1px solid rgba(255,255,255,0.12); border-radius:50%;
}
.breadcrumb{ display:flex; gap:8px; font-size:13px; color:rgba(255,255,255,0.6); margin-bottom:18px; }
.breadcrumb a{ color:rgba(255,255,255,0.85); }
.breadcrumb a:hover{ color:var(--white); }
.page-hero h1{ color:var(--white); font-size:clamp(30px,4vw,46px); }
.page-hero p{ color:rgba(255,255,255,0.78); max-width:600px; margin-top:16px; font-size:15.5px; }

/* ---------------------------------------------
   25. TIMELINE (admissions steps)
--------------------------------------------- */
.timeline{ position:relative; max-width:820px; margin:0 auto; }
.timeline::before{ content:""; position:absolute; left:23px; top:8px; bottom:8px; width:1px; background:var(--line); }
.timeline-row{ position:relative; padding-left:66px; margin-bottom:42px; }
.timeline-row:last-child{ margin-bottom:0; }
.timeline-num{
  position:absolute; left:0; top:0; width:48px; height:48px; border-radius:50%;
  background:var(--brass); color:var(--white); display:flex; align-items:center; justify-content:center;
  font-family:var(--display); font-weight:700; font-size:18px; z-index:1;
}
.timeline-row h3{ font-size:19px; margin-bottom:8px; }
.timeline-row p{ color:var(--ink-soft); font-size:14.5px; max-width:560px; }
.timeline-row .tl-tag{ display:inline-block; margin-top:10px; font-size:11.5px; padding:5px 12px; background:var(--parchment); color:var(--navy); border-radius:100px; font-weight:700; letter-spacing:.03em; text-transform:uppercase; }

/* ---------------------------------------------
   26. COURSE CARDS (Courses page)
--------------------------------------------- */
.course-tabs{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:44px; }
.course-tab{
  padding:10px 20px; border:1px solid var(--line); border-radius:100px; font-size:13.5px; font-weight:600;
  color:var(--ink-soft); background:var(--white);
}
.course-tab.is-active{ background:var(--navy); color:var(--white); border-color:var(--navy); }
.course-card-lg{ background:var(--white); border:1px solid var(--line); padding:0; margin-bottom:24px; display:grid; grid-template-columns:200px 1fr; }
.course-card-lg .cc-level{
  background:var(--parchment); display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:28px; text-align:center; border-right:1px solid var(--line);
}
.course-card-lg .cc-level b{ font-family:var(--display); font-size:26px; color:var(--brass); }
.course-card-lg .cc-level span{ font-size:11.5px; color:var(--ink-soft); text-transform:uppercase; letter-spacing:.04em; margin-top:6px; }
.course-card-lg .cc-body{ padding:30px 32px; }
.course-card-lg h3{ font-size:20px; margin-bottom:8px; }
.course-card-lg p{ font-size:14.5px; color:var(--ink-soft); margin-bottom:14px; }
.cc-meta{ display:flex; gap:18px; flex-wrap:wrap; }
.cc-meta span{ font-size:12.5px; color:var(--navy); font-weight:700; }
.cc-meta span i{ font-style:normal; color:var(--ink-soft); font-weight:400; }
@media (max-width:700px){ .course-card-lg{ grid-template-columns:1fr; } .course-card-lg .cc-level{ border-right:none; border-bottom:1px solid var(--line); flex-direction:row; gap:10px; padding:18px; } }

/* ---------------------------------------------
   27. SUPPORT GRID (International Students page)
--------------------------------------------- */
.support-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:2px; background:var(--line); border:1px solid var(--line); }
.support-card{ background:var(--white); padding:36px 32px; }
.support-card h3{ font-size:18.5px; margin:14px 0 10px; }
.support-card p{ font-size:14.5px; color:var(--ink-soft); }
.support-icon{
  width:44px; height:44px; border-radius:50%; background:var(--parchment); color:var(--brass);
  display:flex; align-items:center; justify-content:center; font-size:19px; font-family:var(--display); font-weight:700;
}
@media (max-width:700px){ .support-grid{ grid-template-columns:1fr; } }

/* ---------------------------------------------
   28. TEAM / VALUE CARDS (About page)
--------------------------------------------- */
.team-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.team-card{ text-align:center; }
.team-photo{
  aspect-ratio:1/1; border-radius:50%; background:linear-gradient(160deg, var(--navy), var(--navy-2));
  display:flex; align-items:center; justify-content:center; color:var(--white); font-family:var(--display);
  font-size:26px; font-weight:700; margin-bottom:16px;
}
.team-card h3{ font-size:15.5px; margin-bottom:4px; }
.team-card span{ font-size:12.5px; color:var(--ink-soft); }
@media (max-width:900px){ .team-grid{ grid-template-columns:1fr 1fr; } }

.value-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.value-card{ padding:30px; border:1px solid var(--line); background:var(--paper); }
.value-num{ font-family:var(--display); font-size:15px; color:var(--brass); }
.value-card h3{ font-size:18px; margin:12px 0 8px; }
.value-card p{ font-size:14px; color:var(--ink-soft); }
@media (max-width:820px){ .value-grid{ grid-template-columns:1fr; } }

/* ---------------------------------------------
   29. SIMPLE STAT ROW (used on several inner pages)
--------------------------------------------- */
.mini-stats{ display:flex; gap:44px; flex-wrap:wrap; margin-top:30px; }
.mini-stats div b{ display:block; font-family:var(--display); font-size:26px; color:var(--navy); }
.mini-stats div span{ font-size:12px; color:var(--ink-soft); text-transform:uppercase; letter-spacing:.04em; }

/* ---------------------------------------------
   30. CUSTOMIZER HELPERS (Astra-style editable theme)
--------------------------------------------- */
.osol-address{ white-space:pre-line; }

/* Elementor content renders full-width with no theme container constraint */
.elementor-page-content{ width:100%; }
