/* ============================================================
   SVES WordPress Theme — main.css
   Design tokens mirror static site Figma 64LrsvABKhw0PvJmXnmNpT
   ============================================================ */

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --purple:    #a4238f;
  --orange:    #f58221;
  --green:     #a7ce39;
  --black:     #000000;
  --white:     #ffffff;
  --lightblue: #f2f3ff;
  --footer-bg: #0a0a0a;
  --footer-fg: #eaedf9;
  --dark:      #333333;
  --font:      'Alexandria', sans-serif;
  --serif:     'Alice', serif;
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --radius:    4px;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 16px; color: var(--black); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; height: auto; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input, textarea, select { font-family: var(--font); }

/* ── Accessibility ────────────────────────────────────────── */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: var(--purple); border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
  clip: auto !important; clip-path: none; color: var(--white); display: block;
  font-size: 14px; font-weight: 600; height: auto; left: 5px; line-height: normal;
  padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000;
}
.skip-link { position: absolute; }

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 2px;
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

/* ── Container ───────────────────────────────────────────── */
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ── Section base ─────────────────────────────────────────── */
.section { padding: 72px 0; }
@media (max-width: 768px) { .section { padding: 48px 0; } }
.section-white     { background: var(--white); }
.section-black     { background: var(--black); }
.section-lightblue { background: var(--lightblue); }
.section-purple    { background: var(--purple); }
.section-green     { background: var(--green); }

/* ── Typography ──────────────────────────────────────────── */
.sec-eyebrow { font-size: 15px; font-weight: 300; margin-bottom: 6px; color: var(--purple); letter-spacing: .04em; }
.sec-eyebrow.white { color: rgba(255,255,255,.75); }
.sec-title   { font-size: clamp(24px, 3vw, 40px); font-weight: 500; line-height: 1.2; margin-bottom: 24px; }
.sec-title.white { color: var(--white); }
.sec-hdr { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; font-size: 14px; font-weight: 500; border-radius: var(--radius);
  transition: background .2s, color .2s, transform .15s; cursor: pointer; border: none;
  text-decoration: none; letter-spacing: .02em;
}
.btn:focus-visible { outline-offset: 4px; }
.btn-purple      { background: var(--purple); color: var(--white); }
.btn-purple:hover { background: #8b1d7a; transform: translateY(-1px); }
.btn-orange      { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: #d97019; }
.btn-white-solid { background: var(--white); color: var(--black); border: 2px solid var(--white); }
.btn-white-solid:hover { background: transparent; color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 1.5px solid var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--black); }

/* ── Links ───────────────────────────────────────────────── */
.lnk-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; transition: gap .2s; }
.lnk-arrow:hover { gap: 14px; }
.lnk-arrow.white { color: var(--white); }
.acircle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; font-size: 18px; font-weight: 300; flex-shrink: 0;
}
.acircle.purple { background: var(--purple); color: var(--white); }
.acircle.white  { background: rgba(255,255,255,.2); color: var(--white); border: 1px solid rgba(255,255,255,.4); }

/* ── Reveal / scroll animation ───────────────────────────── */
.reveal-up { opacity: 0; transform: translateY(28px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); }
.reveal-up.revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal-up { opacity:1; transform:none; transition:none; } }

/* ── Slide arrows (sarr) ────────────────────────────────────*/
.sarr {
  width: 44px; height: 44px; border-radius: 50%; font-size: 22px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid; flex-shrink: 0; transition: background .2s, color .2s;
}
.sarr.section-white  { border-color: #ddd; color: var(--dark); }
.sarr.section-white:hover { background: var(--purple); border-color: var(--purple); color: var(--white); }
.sarr.section-lightblue { border-color: #ccd; color: var(--dark); }
.sarr.section-lightblue:hover { background: var(--purple); border-color: var(--purple); color: var(--white); }
.sarr:disabled { opacity: .35; cursor: default; }
.slide-arrows { display: flex; gap: 8px; }

/* ── Pagination ──────────────────────────────────────────── */
.pagination { margin: 40px 0 0; }
.pagination__list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; }
.pagination__item a,
.pagination__item span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 10px; border-radius: var(--radius);
  border: 1.5px solid #e0e0e0; font-size: 14px; transition: all .18s;
}
.pagination__item .current { background: var(--purple); border-color: var(--purple); color: var(--white); }
.pagination__item a:hover { border-color: var(--purple); color: var(--purple); }

/* ── Breadcrumbs ─────────────────────────────────────────── */
.breadcrumbs { margin-bottom: 16px; }
.breadcrumbs__list { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; list-style: none; }
.breadcrumbs__link { color: rgba(255,255,255,.7); font-size: 13px; }
.breadcrumbs__link:hover { color: var(--white); }
.breadcrumbs__current { font-size: 13px; color: var(--white); }
.breadcrumbs__sep { font-size: 12px; color: rgba(255,255,255,.4); margin: 0 2px; }

/* ── Page hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--black); padding: 60px 0 48px; position: relative;
  background-size: cover; background-position: center;
}
.page-hero::after { content:''; position:absolute; inset:0; background:rgba(0,0,0,.55); }
.page-hero .container { position:relative; z-index:1; }
.page-hero-title { font-size: clamp(28px, 3.5vw, 52px); font-weight: 500; color: var(--white); margin-top: 12px; }
.page-hero--archive .archive-title { color: var(--white); margin-bottom: 8px; }
.page-hero--archive .archive-desc  { color: rgba(255,255,255,.75); font-size: 15px; }

/* ── Page layout ─────────────────────────────────────────── */
.page-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; margin-top: 40px; }
@media (max-width: 1024px) { .page-layout { grid-template-columns: 1fr; } }
.page-content { min-width: 0; }
.entry-content { line-height: 1.8; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin: 1.6em 0 .6em; }
.entry-content p  { margin-bottom: 1.2em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em 1.5em; }
.entry-content img { border-radius: var(--radius); margin: 1.5em 0; }
.entry-content blockquote { border-left: 4px solid var(--purple); padding: 12px 20px; margin: 1.5em 0; background: var(--lightblue); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; }

/* ── Sidebar widgets ─────────────────────────────────────── */
.sidebar { position: sticky; top: 90px; }
.widget { margin-bottom: 32px; }
.widget-title { font-size: 16px; font-weight: 600; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--purple); }
.widget ul { list-style: none; }
.widget ul li { padding: 6px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.widget ul li a:hover { color: var(--purple); }

/* ── Posts grid ──────────────────────────────────────────── */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px)  { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .posts-grid { grid-template-columns: 1fr; } }

/* Post card */
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid #ececec; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.1); transform: translateY(-3px); }
.post-card-img { display: block; aspect-ratio: 3/2; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-body { padding: 20px; }
.post-card-meta { display: flex; gap: 12px; font-size: 12px; color: #888; margin-bottom: 10px; flex-wrap: wrap; }
.post-card-meta a { color: var(--purple); font-weight: 500; }
.post-card-title { font-size: 17px; font-weight: 500; margin-bottom: 10px; line-height: 1.35; }
.post-card-title a:hover { color: var(--purple); }
.post-card-excerpt { font-size: 14px; color: #555; margin-bottom: 14px; line-height: 1.6; }

/* Archive card */
.archive-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid #ececec; transition: box-shadow .2s, transform .2s; }
.archive-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.1); transform: translateY(-3px); }
.archive-card-img { display: block; aspect-ratio: 3/2; overflow: hidden; }
.archive-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.archive-card:hover .archive-card-img img { transform: scale(1.04); }
.archive-card-body { padding: 20px; }
.archive-card-tax { font-size: 11px; font-weight: 600; color: var(--purple); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; display: block; }
.archive-card-title { font-size: 17px; font-weight: 500; margin-bottom: 10px; line-height: 1.35; }
.archive-card-title a:hover { color: var(--purple); }
.archive-card-excerpt { font-size: 14px; color: #555; margin-bottom: 14px; }

/* ── TOP HEADER ──────────────────────────────────────────── */
.top-header { background: var(--white); border-bottom: 1px solid #ececec; position: relative; z-index: 1000; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 20px; }
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link img, .custom-logo { height: 48px; width: auto; }
.logo-text { font-size: 20px; font-weight: 600; color: var(--purple); }
.utility-nav { display: flex; align-items: center; gap: 20px; }
.utility-nav a { font-size: 13px; color: #555; transition: color .18s; }
.utility-nav a:hover { color: var(--purple); }
.search-wrap { display: flex; align-items: center; border: 1px solid #ddd; border-radius: var(--radius); overflow: hidden; }
.search-field { border: none; padding: 6px 10px; font-size: 13px; width: 160px; outline: none; }
.search-submit { padding: 6px 10px; color: #777; transition: color .18s; }
.search-submit:hover { color: var(--purple); }
@media (max-width: 768px) {
  .utility-nav a:not(:last-child) { display: none; }
  .search-field { width: 100px; }
}

/* ── MAIN NAV ────────────────────────────────────────────── */
.main-nav { background: var(--black); position: sticky; top: 0; z-index: 999; overflow: visible; transition: box-shadow .2s; }
.main-nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.4); }
.main-nav-inner { display: flex; align-items: center; height: 68px; overflow: visible; position: relative; }
.nav-links { display: flex; align-items: center; gap: 0; overflow: visible; list-style: none; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 0 18px; font-size: 14px; color: rgba(255,255,255,.85);
  height: 68px; transition: color .18s; white-space: nowrap;
}
.nav-links > li > a:hover { color: var(--green); }
.dd-arrow { font-size: 10px; opacity: .6; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-right: 12px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .main-nav-inner { height: 56px; overflow: hidden; }
  .nav-links {
    display: none; flex-direction: column; align-items: flex-start;
    position: absolute; top: 56px; left: 0; right: 0; background: var(--black);
    padding: 8px 0; z-index: 200; box-shadow: 0 8px 24px rgba(0,0,0,.5);
    overflow-y: auto; max-height: 80vh; overflow: visible;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a { padding: 12px 24px; font-size: 15px; border-bottom: 1px solid #222; height: auto; }
}

/* ── MEGA MENU ───────────────────────────────────────────── */
.has-dd { position: relative; }
.mega-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 340px;
  background: #111; border-top: 2px solid var(--purple);
  box-shadow: 0 12px 40px rgba(0,0,0,.6); z-index: 800; padding: 12px 0 16px;
}
.mega-menu.mega-wide { min-width: 640px; padding: 20px 0 24px; }

@media (min-width: 901px) {
  .has-dd:hover > .mega-menu { display: flex; animation: megaIn .18s ease; }
}
.has-dd.open > .mega-menu { display: flex; }

@keyframes megaIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.mega-col { flex: 1; padding: 0 20px; }
.mega-col + .mega-col { border-left: 1px solid #2a2a2a; }
.mega-col-title { font-size: 11px; font-weight: 600; color: var(--green); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #2a2a2a; }
.mega-col a { display: flex; align-items: center; gap: 9px; padding: 7px 0; font-size: 13.5px; color: #bbb; transition: color .18s; white-space: nowrap; }
.mega-col a:hover { color: var(--white); }

/* Mega image panel */
.mega-img { flex-shrink: 0; width: 200px; background-size: cover; background-position: center; position: relative; overflow: hidden; border-left: 1px solid #2a2a2a; min-height: 200px; }
.mega-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.4) 100%); }
.mega-wide .mega-img { width: 180px; border-left: 1px solid #2a2a2a; align-self: stretch; min-height: 220px; }

/* Menu icons */
.mi { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 4px; background: rgba(167,206,57,.15); flex-shrink: 0; }
.mi::before { content: ''; display: block; width: 13px; height: 13px; background-size: contain; background-repeat: no-repeat; background-position: center; }
.mi-home::before    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7ce39' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 01-2 2H5a2 2 0 01-2-2z'/%3E%3C/svg%3E"); }
.mi-eye::before     { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7ce39' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.mi-user::before    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7ce39' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
.mi-star::before    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7ce39' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E"); }
.mi-check::before   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7ce39' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.mi-building::before{ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7ce39' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='1'/%3E%3Cpath d='M3 9h18M9 21V9'/%3E%3C/svg%3E"); }
.mi-book::before    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7ce39' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 016.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 014 19.5v-15A2.5 2.5 0 016.5 2z'/%3E%3C/svg%3E"); }
.mi-flask::before   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7ce39' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6M10 3v8l-4 9h12l-4-9V3'/%3E%3C/svg%3E"); }
.mi-bulb::before    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7ce39' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='9' y1='18' x2='15' y2='18'/%3E%3Cline x1='10' y1='22' x2='14' y2='22'/%3E%3Cpath d='M15.09 14c.18-.98.65-1.74 1.41-2.5A4.65 4.65 0 0018 8 6 6 0 006 8c0 1 .23 2.23 1.5 3.5A4.61 4.61 0 019 14'/%3E%3C/svg%3E"); }
.mi-brief::before   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7ce39' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 00-2-2h-4a2 2 0 00-2 2v2'/%3E%3C/svg%3E"); }
.mi-grad::before    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7ce39' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10v6M2 10l10-5 10 5-10 5z'/%3E%3Cpath d='M6 12v5c0 2 2 3 6 3s6-1 6-3v-5'/%3E%3C/svg%3E"); }
.mi-globe::before   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7ce39' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 014 10 15.3 15.3 0 01-4 10 15.3 15.3 0 01-4-10 15.3 15.3 0 014-10z'/%3E%3C/svg%3E"); }
.mi-news::before    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7ce39' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 22h16a2 2 0 002-2V4a2 2 0 00-2-2H8a2 2 0 00-2 2v16a2 2 0 01-2 2zm0 0a2 2 0 01-2-2v-9c0-1.1.9-2 2-2h2'/%3E%3Cpath d='M18 14h-8M15 18h-5M10 6h8v4h-8z'/%3E%3C/svg%3E"); }
.mi-img::before     { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7ce39' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E"); }
.mi-cross::before   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7ce39' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 2v20M2 12h20'/%3E%3C/svg%3E"); }
.mi-clock::before   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7ce39' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E"); }
.mi-gear::before    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a7ce39' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 00.33 1.82l.06.06a2 2 0 010 2.83 2 2 0 01-2.83 0l-.06-.06a1.65 1.65 0 00-1.82-.33 1.65 1.65 0 00-1 1.51V21a2 2 0 01-4 0v-.09A1.65 1.65 0 009 19.4a1.65 1.65 0 00-1.82.33l-.06.06a2 2 0 01-2.83-2.83l.06-.06A1.65 1.65 0 004.68 15a1.65 1.65 0 00-1.51-1H3a2 2 0 010-4h.09A1.65 1.65 0 004.6 9a1.65 1.65 0 00-.33-1.82l-.06-.06a2 2 0 012.83-2.83l.06.06A1.65 1.65 0 009 4.68a1.65 1.65 0 001-1.51V3a2 2 0 014 0v.09a1.65 1.65 0 001 1.51 1.65 1.65 0 001.82-.33l.06-.06a2 2 0 012.83 2.83l-.06.06A1.65 1.65 0 0019.4 9a1.65 1.65 0 001.51 1H21a2 2 0 010 4h-.09a1.65 1.65 0 00-1.51 1z'/%3E%3C/svg%3E"); }

@media (max-width: 900px) {
  .mega-menu { position: static; box-shadow: none; border-top: none; border-left: 3px solid var(--purple); margin: 0 24px 4px; padding: 8px 0; background: #1a1a1a; min-width: unset !important; flex-direction: column; }
  .mega-col + .mega-col { border-left: none; border-top: 1px solid #2a2a2a; padding-top: 8px; }
  .mega-col { padding: 4px 16px; }
  .mega-col a { padding: 6px 0; white-space: normal; }
  .mega-img { display: none; }
}

/* ── HERO ────────────────────────────────────────────────── */
.hero { position: relative; min-height: 680px; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .85s ease; pointer-events: none; display: flex; align-items: center; }
.hero-slide.active { opacity: 1; z-index: 1; pointer-events: auto; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center top; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.4) 60%, rgba(0,0,0,.15) 100%); }
.hero-content { position: relative; z-index: 2; padding: 80px 0; width: 100%; min-height: 680px; display: flex; align-items: center; }
.hero-text { max-width: 600px; width: 100%; }
.hero-text h1 { font-size: clamp(26px, 3.2vw, 48px); font-weight: 600; color: var(--white); line-height: 1.2; margin-bottom: 20px; }
.hero-text p  { font-size: clamp(14px, 1.2vw, 17px); font-weight: 300; color: rgba(255,255,255,.88); line-height: 1.75; margin-bottom: 36px; max-width: 540px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-controls { position: absolute; bottom: 32px; right: 48px; display: flex; align-items: center; gap: 14px; z-index: 10; }
.hero-dots { display: flex; gap: 8px; align-items: center; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.38); cursor: pointer; border: none; transition: background .2s, transform .2s; }
.hero-dot.active { background: var(--white); transform: scale(1.4); }
.slide-btn { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.15); color: var(--white); font-size: 22px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.3); transition: background .2s; }
.slide-btn:hover { background: rgba(255,255,255,.3); }
.hero-eyebrow { font-size: 14px; font-weight: 300; color: var(--green); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
@media (max-width: 600px) {
  .hero-content { padding-left: 20px; padding-right: 20px; }
  .hero-controls { right: 20px; bottom: 20px; }
}
@media (max-width: 480px) { .hero-btns { flex-direction: column; align-items: flex-start; gap: 10px; } }

/* ── RANKINGS ────────────────────────────────────────────── */
.rank-band { display: flex; align-items: stretch; flex-wrap: wrap; border-top: 1.5px solid #e5e5e5; border-bottom: 1.5px solid #e5e5e5; margin: 16px 0 40px; padding: 32px 0; }
.rank-item-v2 { flex: 1; min-width: 140px; padding: 12px 24px; display: flex; flex-direction: column; }
.ri-source { font-size: 12px; font-weight: 600; color: var(--purple); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.ri-val { font-size: 52px; font-weight: 500; color: var(--black); line-height: 1; margin-bottom: 8px; }
.ri-name { font-size: 14px; color: #555; line-height: 1.4; }
.rank-div { width: 1px; background: #e5e5e5; flex-shrink: 0; }
@media (max-width: 768px) { .rank-item-v2 { padding: 16px; } .ri-val { font-size: 36px; } }

/* Accreditations */
.accred-strip { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin: 0 0 32px; }
.accred-item { text-align: center; }
.accred-circle { width: 96px; height: 96px; border-radius: 50%; border: 3px solid; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto 8px; }
.ac-purple { border-color: var(--purple); color: var(--purple); }
.ac-orange { border-color: var(--orange); color: var(--orange); }
.ac-green  { border-color: #7aa52e;       color: #7aa52e; }
.ac-dark   { border-color: #333;          color: #333; }
.ac-top  { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ac-val  { font-size: 22px; font-weight: 700; line-height: 1.1; }
.ac-sub  { font-size: 10px; }
.accred-item p { font-size: 12px; color: #666; }

/* Awards center-zoom */
.awards-wrap { margin-top: 40px; }
.awards-cs-wrap { display: flex; align-items: center; gap: 20px; padding: 20px 0 40px; overflow: hidden; justify-content: center; }
.award-cs-slide { flex: 0 0 calc(33.333% - 14px); background: var(--lightblue); overflow: hidden; border-radius: var(--radius); transition: transform .4s ease, opacity .4s ease, box-shadow .4s ease; transform: scale(0.88); opacity: 0.6; cursor: pointer; }
.award-cs-slide.active { transform: scale(1.06); opacity: 1; box-shadow: 0 12px 40px rgba(0,0,0,.18); z-index: 2; position: relative; }
.award-cs-slide img { width: 100%; height: auto; display: block; }
.award-cs-lbl { padding: 14px 16px; font-size: 14px; font-weight: 500; line-height: 1.4; }
@media (max-width: 768px) { .award-cs-slide { flex: 0 0 70%; } }
@media (max-width: 480px) { .award-cs-slide { flex: 0 0 85%; } }

/* ── GALLERY SLIDER ──────────────────────────────────────── */
.gal-slider-outer { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.gal-slider-viewport { flex: 1; overflow: hidden; }
.gal-slider-track { display: flex; gap: 24px; transition: transform .5s cubic-bezier(.25,.8,.25,1); will-change: transform; }
.gal-post { flex: 0 0 calc((100% - 48px) / 3); background: var(--white); overflow: hidden; border-radius: var(--radius); border: 1px solid #ececec; transition: box-shadow .2s; }
.gal-post:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.gal-post-img { display: block; aspect-ratio: 3/2; overflow: hidden; }
.gal-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gal-post:hover .gal-post-img img { transform: scale(1.04); }
.gal-post-body { padding: 16px 18px; }
.gal-post-cat { font-size: 11px; font-weight: 600; color: var(--purple); text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: 6px; }
.gal-post-title { font-size: 16px; font-weight: 500; margin-bottom: 8px; line-height: 1.35; }
.gal-post-title a:hover { color: var(--purple); }
.gal-post-excerpt { font-size: 13px; color: #666; margin-bottom: 12px; }
@media (max-width: 900px) { .gal-post { flex: 0 0 calc((100% - 24px) / 2); } }
@media (max-width: 540px) { .gal-post { flex: 0 0 100%; } }

/* ── RESEARCH GRID ───────────────────────────────────────── */
.research-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .research-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .research-grid { grid-template-columns: 1fr; } }
.research-card { background: var(--white); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.research-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.1); transform: translateY(-3px); }
.research-card-img { display: block; aspect-ratio: 3/2; overflow: hidden; }
.research-card-img img { width: 100%; height: 100%; object-fit: cover; }
.research-card-body { padding: 20px; }
.research-card-cat { font-size: 11px; font-weight: 600; color: var(--purple); text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: 8px; }
.research-card h3 { font-size: 17px; font-weight: 500; margin-bottom: 8px; }
.research-card h3 a:hover { color: var(--purple); }
.research-card p { font-size: 14px; color: #666; margin-bottom: 12px; }

/* ── ENTREPRENEURSHIP GRID ───────────────────────────────── */
.ent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .ent-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .ent-grid { grid-template-columns: 1fr; } }
.ent-card { background: rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; border: 1px solid rgba(255,255,255,.15); }
.ent-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.2); transform: translateY(-3px); }
.ent-card-img { display: block; aspect-ratio: 3/2; overflow: hidden; }
.ent-card-img img { width: 100%; height: 100%; object-fit: cover; }
.ent-card-body { padding: 20px; }
.ent-card-cat { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: 8px; }
.ent-card h3 { font-size: 17px; font-weight: 500; margin-bottom: 8px; color: var(--white); }
.ent-card h3 a { color: var(--white); }
.ent-card h3 a:hover { color: var(--green); }
.ent-card p { font-size: 14px; color: rgba(255,255,255,.75); margin-bottom: 12px; }
.no-posts-msg { text-align: center; padding: 40px; color: #888; font-size: 15px; }
.no-posts-msg.white { color: rgba(255,255,255,.6); }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: var(--footer-bg); color: var(--footer-fg); }
.footer-main { padding: 64px 0 48px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 48px; }
@media (max-width: 1100px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 600px)  { .footer-inner { grid-template-columns: 1fr; gap: 24px; } }
.footer-col-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--green); margin-bottom: 16px; }
.footer-about-text { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.55); margin-top: 16px; max-width: 280px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.social-link { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); transition: background .2s, color .2s; }
.social-link:hover { background: var(--purple); color: var(--white); }
.social-link svg { width: 16px; height: 16px; }
.footer-nav-list { list-style: none; }
.footer-nav-list li { margin-bottom: 10px; }
.footer-nav-list a { font-size: 13px; color: rgba(255,255,255,.6); transition: color .18s; }
.footer-nav-list a:hover { color: var(--white); }
.footer-address { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.6); font-style: normal; margin-bottom: 12px; }
.footer-phone { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.footer-phone a { color: rgba(255,255,255,.75); }
.footer-phone a:hover { color: var(--white); }
.ft-inst-logos { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; align-items: center; }
.ft-inst-logo  { height: 36px; width: auto; max-width: 70px; object-fit: contain; filter: brightness(0) invert(1); opacity: .75; transition: opacity .2s; }
.ft-inst-logo:hover { opacity: 1; }
.ft-accred-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ft-badge-text { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.25); padding: 3px 8px; border-radius: 2px; letter-spacing: .05em; }
.footer-newsletter-title { font-size: 13px; font-weight: 600; margin-bottom: 12px; color: rgba(255,255,255,.7); }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input[type="email"] { padding: 10px 14px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.07); color: var(--white); font-size: 14px; }
.newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,.35); }
.newsletter-form input[type="email"]:focus { border-color: var(--purple); outline: none; }
.footer-logo-link img, .footer-logo-link .custom-logo { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: .85; }
.footer-logo-text { font-size: 18px; font-weight: 600; color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy  { font-size: 12px; color: rgba(255,255,255,.4); }
.footer-credit { font-size: 12px; color: rgba(255,255,255,.4); }
.footer-legal-nav { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.footer-legal-nav a { font-size: 12px; color: rgba(255,255,255,.4); transition: color .18s; }
.footer-legal-nav a:hover { color: rgba(255,255,255,.7); }

/* ── SCROLL TO TOP ────────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 90px; right: 24px; width: 46px; height: 46px;
  border-radius: 50%; background: var(--purple); color: var(--white);
  z-index: 990; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s;
  display: flex; align-items: center; justify-content: center;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: #8b1d7a; }
.scroll-top svg { width: 20px; height: 20px; }

/* ── WHATSAPP FLOAT ──────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 24px; width: 54px; height: 54px;
  border-radius: 50%; background: #25d366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  z-index: 990; box-shadow: 0 4px 16px rgba(37,211,102,.4); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }

/* ── 404 PAGE ─────────────────────────────────────────────── */
.error-404 { text-align: center; }
.error-404-inner { max-width: 560px; margin: 0 auto; padding: 80px 0; }
.error-code { font-size: clamp(80px, 15vw, 160px); font-weight: 700; color: var(--lightblue); line-height: 1; margin-bottom: -20px; }
.error-404 h1 { font-size: 32px; margin-bottom: 16px; }
.error-404 p { color: #666; margin-bottom: 24px; }
.error-actions { margin-bottom: 32px; }
.error-search p { margin-bottom: 12px; color: #888; font-size: 14px; }

/* ── SEARCH RESULTS ──────────────────────────────────────── */
.search-refine { margin-bottom: 28px; max-width: 500px; }
.search-count  { margin-bottom: 24px; color: #666; font-size: 14px; }
.search-result { border-bottom: 1px solid #ececec; padding: 24px 0; }
.search-result-title { font-size: 20px; font-weight: 500; margin-bottom: 6px; }
.search-result-title a:hover { color: var(--purple); }
.search-result-meta { font-size: 12px; color: #888; display: flex; gap: 12px; margin-bottom: 10px; }
.search-result-excerpt p { font-size: 14px; color: #555; margin-bottom: 12px; }

/* ── SINGLE POST ─────────────────────────────────────────── */
.post-hero { position: relative; overflow: hidden; height: 460px; }
.post-hero img { width: 100%; height: 100%; object-fit: cover; }
.post-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.7) 100%); }
.post-hero-content { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); width: 100%; }
.post-title { font-size: clamp(24px, 3vw, 42px); font-weight: 500; color: var(--white); margin-top: 12px; line-height: 1.2; }
.post-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.7); }
.post-meta a { color: var(--green); }
.post-body { min-width: 0; }
.post-footer { padding: 32px 0 0; border-top: 1px solid #ececec; margin-top: 40px; }
.post-tags { font-size: 13px; margin-bottom: 24px; }
.post-tags a { display: inline-block; background: var(--lightblue); padding: 4px 10px; border-radius: var(--radius); margin: 3px 4px 3px 0; font-size: 12px; transition: background .2s; }
.post-tags a:hover { background: var(--purple); color: var(--white); }
.post-author-box { display: flex; gap: 20px; align-items: flex-start; padding: 24px; background: var(--lightblue); border-radius: var(--radius); }
.author-avatar { border-radius: 50%; flex-shrink: 0; }
.author-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #999; display: block; margin-bottom: 4px; }
.author-name { font-weight: 600; display: block; margin-bottom: 6px; }
.author-bio { font-size: 13px; color: #666; }
.post-nav .nav-links-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.nav-dir { font-size: 12px; color: #999; display: block; margin-bottom: 4px; }
.nav-title { font-weight: 500; }

/* ── COMMENTS ────────────────────────────────────────────── */
.comments-area { margin-top: 48px; }
.comments-title, .comment-reply-title { font-size: 22px; font-weight: 500; margin-bottom: 24px; }
.comment-list { list-style: none; }
.comment { padding: 20px 0; border-bottom: 1px solid #ececec; }
.comment-body { display: flex; gap: 16px; }
.comment-meta .fn { font-weight: 600; }
.comment-meta .comment-metadata { font-size: 12px; color: #999; }
.comment-content p { font-size: 14px; color: #555; margin-top: 8px; }
.comment-form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%; padding: 10px 14px; border: 1.5px solid #ddd; border-radius: var(--radius);
  font-size: 14px; transition: border-color .18s;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--purple); outline: none; }
.comment-form textarea { min-height: 140px; resize: vertical; }
.form-submit .submit { display: inline-flex; padding: 12px 28px; background: var(--purple); color: var(--white); border-radius: var(--radius); font-size: 14px; font-weight: 500; border: none; cursor: pointer; transition: background .2s; }
.form-submit .submit:hover { background: #8b1d7a; }

/* ── GUTENBERG BLOCKS ────────────────────────────────────── */
.wp-block-image img { border-radius: var(--radius); }
.wp-block-quote { border-left: 4px solid var(--purple); padding: 16px 24px; background: var(--lightblue); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; margin: 1.5em 0; }
.wp-block-quote cite { font-size: 13px; font-style: normal; color: #888; display: block; margin-top: 8px; }
.wp-block-pullquote { text-align: center; border-top: 4px solid var(--purple); border-bottom: 4px solid var(--purple); padding: 24px; }
.wp-block-code { background: #1a1a1a; color: #f8f8f2; padding: 20px; border-radius: var(--radius); overflow-x: auto; font-size: 13px; }
.wp-block-table table { width: 100%; border-collapse: collapse; }
.wp-block-table th, .wp-block-table td { padding: 10px 14px; border: 1px solid #e0e0e0; text-align: left; font-size: 14px; }
.wp-block-table thead th { background: var(--lightblue); font-weight: 600; }
.wp-block-separator { border: none; border-top: 2px solid #e5e5e5; margin: 2em 0; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-button__link { display: inline-flex; padding: 12px 24px; background: var(--purple); color: var(--white); border-radius: var(--radius); font-size: 14px; font-weight: 500; transition: background .2s; }
.wp-block-button__link:hover { background: #8b1d7a; color: var(--white); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--purple); border: 2px solid var(--purple); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--purple); color: var(--white); }
.alignwide  { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull  { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.aligncenter { text-align: center; margin-left: auto; margin-right: auto; }
.alignleft   { float: left; margin: 0 24px 16px 0; }
.alignright  { float: right; margin: 0 0 16px 24px; }
.wp-caption  { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: #888; text-align: center; margin-top: 6px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.gallery-item { overflow: hidden; border-radius: var(--radius); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.sticky { position: relative; }
.sticky::before { content: 'Featured'; position: absolute; top: 12px; left: 12px; background: var(--orange); color: var(--white); font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: var(--radius); z-index: 1; }
