@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ── Tokens ─────────────────────────────── */
:root {
  --bg:        #ffffff;
  --surface:   #f5f9fa;
  --surface2:  #edf5f8;
  --text:      #0a0a0a;
  --muted:     #4e5562;
  --line:      #cfdaec;
  --accent:    #1a5fa0;
  --accent-dk: #154d86;
  --teal:      #2ab4a0;
  --teal-pale: #e4f6f4;
  --pale:      #e8f0f8;
  --blue:      #1a5fa0;
  --shadow-s:  0 2px 8px rgba(0,0,0,.06);
  --shadow-m:  0 8px 30px rgba(0,0,0,.09);
  --shadow-l:  0 20px 60px rgba(0,0,0,.11);
  --r:         20px;
  --r-sm:      12px;
  --max:       1120px;
  --font-h:    'DM Serif Display', Georgia, serif;
  --font-b:    'DM Sans', system-ui, sans-serif;
  --gutter:    clamp(1rem, 4vw, 2.5rem);
}

/* ── Reset ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-b); color: var(--text); background: var(--bg);
       line-height: 1.65; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dk); }
ul   { list-style: none; padding: 0; }
button { font-family: var(--font-b); cursor: pointer; }

/* ── Focus ──────────────────────────────── */
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ── Skip link ──────────────────────────── */
.skip { position: absolute; left: 1rem; top: -120px; background: var(--text); color: #fff;
        padding: .6rem 1.1rem; border-radius: 8px; font-weight: 600; z-index: 999;
        transition: top .2s; }
.skip:focus { top: 1rem; }

/* ── Typography ─────────────────────────── */
h1,h2,h3,h4 { font-family: var(--font-h); line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.2rem; font-family: var(--font-b); font-weight: 700; }
h4 { font-size: .95rem; font-family: var(--font-b); font-weight: 700; }
p  { color: var(--muted); }
.lead { font-size: 1.1rem; }
.muted { color: var(--muted); font-size: .9rem; }

/* ── Layout ─────────────────────────────── */
.wrap  { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.alt  { background: var(--surface); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.flex   { display: flex; }
.between { justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; }
.gap-sm { gap: .75rem; }
.gap-md { gap: 1.25rem; }

/* ── Eyebrow ────────────────────────────── */
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--accent-dk);
  background: var(--pale); border: 1px solid #bcd8e4;
  padding: .35rem .85rem; border-radius: 999px; margin-bottom: 1rem;
}

/* ── Section header ─────────────────────── */
.sec-head { margin-bottom: 2.75rem; }
.sec-head h2 { margin-bottom: .65rem; }
.sec-head p  { max-width: 58ch; }
.sec-head.center { text-align: center; }
.sec-head.center p { margin-inline: auto; }

/* ── Buttons ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  font-weight: 700; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; transition: all .18s; white-space: nowrap;
  padding: .75rem 1.6rem; font-size: .95rem; min-height: 46px;
}
.btn-lg { padding: .95rem 2rem; font-size: 1.05rem; min-height: 54px; }
.btn-sm { padding: .5rem 1.1rem; font-size: .875rem; min-height: 38px; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dk); border-color: var(--accent-dk); color: #fff; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line); }
.btn-secondary:hover { background: var(--surface); border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--accent); border-color: transparent; padding-inline: .5rem; }
.btn-ghost:hover { background: var(--pale); }
.btn-white { background: #fff; color: var(--accent-dk); border-color: #fff; }
.btn-white:hover { background: var(--pale); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }

/* ── Cards ──────────────────────────────── */
.card {
  background: #fff; border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--r); box-shadow: var(--shadow-s);
}
.card-pad { padding: 1.75rem; }
.card-hover { transition: transform .2s, box-shadow .2s, border-color .2s; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: var(--line); }

/* ── Tag chips ──────────────────────────── */
.chip {
  display: inline-block; font-size: .82rem; font-weight: 600;
  padding: .3rem .8rem; border-radius: 999px;
  background: var(--pale); border: 1px solid #bcd8e4; color: var(--accent-dk);
}
.chip-teal { background: var(--teal-pale); border-color: #9dddd6; color: #1a7a6e; }

/* ── Stat box ───────────────────────────── */
.stat-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1.1rem 1.25rem; }
.stat-box strong { display: block; font-family: var(--font-h); font-size: 1.6rem; color: var(--accent); }
.stat-box span { font-size: .85rem; color: var(--muted); }

/* ── Quote ──────────────────────────────── */
.quote-card { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: var(--r); padding: 1.75rem; box-shadow: var(--shadow-s); display: flex; flex-direction: column; justify-content: space-between; }
.quote-card blockquote { font-size: .95rem; color: var(--text); line-height: 1.6; margin-bottom: 1.25rem; padding-left: 1rem; border-left: 3px solid var(--accent); flex: 1; }
.quote-footer { display: flex; align-items: center; gap: .75rem; }
.quote-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #1a5fa0, #2ab4a0); color: #fff; font-size: .72rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; letter-spacing: .03em; }
.quote-card cite { font-style: normal; font-size: .85rem; color: var(--muted); line-height: 1.4; }
.quote-card cite strong { display: block; color: var(--text); font-size: .88rem; }

/* ── Check list ─────────────────────────── */
.check-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; color: var(--muted); padding: .3rem 0; }
.check-list li::before { content: ''; flex-shrink: 0; width: 18px; height: 18px; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/12px no-repeat; border-radius: 50%; margin-top: 2px; }

/* ── Divider ────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--line); margin: 2rem 0; }

/* ── ─────────────────────────────────────── */
/* NAV */
/* ── ─────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: rgba(0,0,0,.07); box-shadow: 0 2px 20px rgba(0,0,0,.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.nav-logo img { height: 110px; padding:10px; width: auto; display: block; }
@media (max-width: 900px) { .nav-logo img { height: 70px; } }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { font-weight: 500; color: var(--muted); font-size: .95rem; transition: color .15s; border-bottom: 2px solid transparent; padding-bottom: 2px; }
.nav-links a:hover,
.nav-links a.active { color: var(--accent); border-color: var(--accent); }
.nav-cta { margin-left: .5rem; }

/* ── Nav dropdowns ── */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: .3rem; cursor: pointer; }
.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: .5;
  transition: transform .2s;
}
.nav-dropdown:hover > a::after { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 10px; /* invisible bridge — mouse stays inside element */
  background: transparent;
  z-index: 200;
}
.nav-dropdown-menu-inner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  min-width: 180px;
  padding: .4rem 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s;
}
.nav-dropdown:hover .nav-dropdown-menu-inner {
  opacity: 1;
  transform: translateY(0);
}
.nav-dropdown-menu {
  opacity: 0;
  pointer-events: none;
  transition: opacity .01s;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
}
.nav-dropdown-menu a {
  display: block !important;
  padding: .55rem 1.1rem !important;
  font-size: .88rem !important;
  color: var(--text) !important;
  border-bottom: none !important;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--pale); color: var(--accent) !important; }
.hamburger { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: .45rem .6rem; }
.nav-close { display: none; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: all .2s; }
.hamburger span + span { margin-top: 4px; }

/* ── Strip ──────────────────────────────── */
.strip { background: var(--accent); color: #fff; text-align: center; padding: .6rem 1rem; font-size: .875rem; font-weight: 500; }

/* ── Hero ───────────────────────────────── */
.hero { background: linear-gradient(160deg, #eef7fb 0%, #fff 55%); padding: 5rem 0 4rem; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 400px; gap: 4rem; align-items: center; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero h1 { margin-bottom: 1.25rem; }
.cred-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-m); padding: 1.75rem; }
.cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1rem; }
.yaqeen-badge { background: var(--pale); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .9rem 1rem; display: flex; align-items: center; gap: .75rem; }
.yaqeen-badge img { height: 34px; }
.yaqeen-badge div strong { display: block; font-size: .875rem; }
.yaqeen-badge div span  { font-size: .8rem; color: var(--muted); }

/* ── Why section ────────────────────────── */
.why-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 2rem; }
.why-num { font-family: var(--font-h); font-size: 2.5rem; color: var(--accent-soft, #a2ccdb); opacity: .6; line-height: 1; margin-bottom: .75rem; }

/* ── Topic columns ──────────────────────── */
.topic-col { border-radius: var(--r); padding: 2rem; }
.topic-reach { background: #eaf2f9; border: 1px solid #b2ccdf; }
.topic-teach { background: #eaf6f3; border: 1px solid #b2e0d6; }
.topic-col h3 { margin-bottom: .4rem; font-family: var(--font-h); font-size: 1.5rem; }
.topic-reach h3 { color: var(--blue); }
.topic-teach h3 { color: #1a7a6e; }
.topic-count { font-size: .78rem; font-weight: 700; padding: .2rem .7rem; border-radius: 999px; border: 1px solid; }
.topic-reach .topic-count { background: #fff; color: var(--blue); border-color: #99bbd8; }
.topic-teach .topic-count { background: #fff; color: #1a7a6e; border-color: #9dddd6; }
.topic-list { margin-top: 1rem; display: flex; flex-direction: column; gap: .35rem; }
.topic-list li { font-size: .9rem; color: var(--muted); display: flex; align-items: flex-start; gap: .5rem; }
.topic-list li svg { flex-shrink: 0; margin-top: 3px; }

/* ── Founder ────────────────────────────── */
.founder-grid { display: grid; grid-template-columns: 360px 1fr; gap: 4rem; align-items: center; }
.portrait-wrap { position: relative; }
.portrait-wrap img { width: 100%; border-radius: var(--r); box-shadow: var(--shadow-l); aspect-ratio: 4/5; object-fit: cover; object-position: top center; }
.portrait-badge { position: absolute; bottom: -1rem; right: -1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: .9rem 1.1rem; box-shadow: var(--shadow-m); }
.portrait-badge strong { display: block; font-size: .875rem; }
.portrait-badge span { font-size: .8rem; color: var(--muted); }
.cred-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 1.75rem; }

/* ── How it works ───────────────────────── */
.steps-dark { background: #1a5fa0; border-radius: var(--r); }
.steps-dark .sec-head h2,
.steps-dark .sec-head p { color: #fff; }
.steps-dark .sec-head p { opacity: .8; }
.step-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: var(--r); padding: 2rem; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-h); font-size: 1.1rem; color: var(--blue); margin-bottom: 1.25rem; }
.step-card h3 { color: #fff; margin-bottom: .5rem; }
.step-card p { color: rgba(255,255,255,.75); margin: 0; font-size: .95rem; }

/* ── CTA box ────────────────────────────── */
.cta-box { background: linear-gradient(135deg, var(--pale) 0%, #fff 60%); border: 1px solid var(--line); border-radius: 26px; padding: 3.5rem; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.cta-box h2 { margin-bottom: .6rem; }
.cta-actions { display: flex; flex-direction: column; gap: .75rem; min-width: 220px; }

/* ── Services page ──────────────────────── */
.service-card { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: var(--r); padding: 2rem; box-shadow: var(--shadow-s); display: flex; flex-direction: column; transition: all .2s; position: relative; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: #b5d4e0; }
.service-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--pale); border: 1px solid #b2ccdf; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; flex-shrink: 0; }
.service-icon svg { width: 24px; height: 24px; }
.service-meta { border-top: 1px solid var(--line); margin-top: auto; padding-top: 1rem; display: flex; flex-direction: column; gap: .35rem; }
.service-meta-row { display: flex; gap: .5rem; font-size: .85rem; }
.service-meta-row strong { color: var(--text); min-width: 70px; }
.service-meta-row span { color: var(--muted); }
.service-cta { margin-top: 1.25rem; width: 100%; background: var(--pale); border: 1px solid #bcd8e4; border-radius: 999px; padding: .65rem; font-weight: 700; color: var(--accent-dk); font-size: .875rem; transition: all .15s; }
.service-cta:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.badge-group {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: row;
  gap: .3rem;
  align-items: center;
  justify-content: flex-end;
  max-width: calc(100% - 2rem);
}


/* mobile */
@media (max-width: 580px) {
  .service-cta { font-size: 0.7rem; }
}



.popular-badge { font-size: .72rem; font-weight: 700; padding: .2rem .65rem; border-radius: 999px; border: none; display: inline-block; }
.svc-small-badge { display: inline-block; margin-bottom: .3rem; }

/* ── Filters ────────────────────────────── */
.filter-bar { background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 0; position: sticky; top: 72px; z-index: 9; }
.filter-btn { font-weight: 600; padding: .45rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--muted); font-size: .88rem; transition: all .15s; }
.filter-btn.active,
.filter-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Testimonials page ──────────────────── */
.testimonial-section h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 1.5rem; padding-bottom: .75rem; border-bottom: 2px solid var(--line); }

/* ── Contact page ───────────────────────── */
.contact-card { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: var(--r); padding: 2rem; box-shadow: var(--shadow-s); display: flex; flex-direction: column; }
.contact-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.25rem; }
.contact-card h3 { margin-bottom: .5rem; }
.contact-card p { margin-bottom: 1.5rem; flex: 1; font-size: .95rem; }
.contact-price { font-family: var(--font-h); font-size: 1.8rem; color: var(--accent); margin-bottom: 1rem; }

/* ── About page ─────────────────────────── */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: flex; gap: 1.5rem; padding-bottom: 2rem; position: relative; }
.timeline-item:not(:last-child)::before { content: ''; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.timeline-dot { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--pale); border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 700; color: var(--accent); z-index: 1; }
.timeline-body h4 { margin-bottom: .3rem; }
.timeline-body p { font-size: .9rem; margin: 0; }

/* ── Footer ─────────────────────────────── */
footer { background: #0d2d5e; border-top: none; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.footer-brand img { height: 52px; margin-bottom: 1rem; background: #fff; border-radius: 6px; padding: 4px 8px; }
.footer-brand p { color: rgba(255,255,255,.65) !important; }
.footer-brand a { color: #fff !important; }
/* ── FAQ accordion ── */
.faq-section-wrap { margin-inline: auto; }
.faq-list { display: flex; flex-direction: column; gap: .6rem; }
.faq-item {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item:hover { border-color: #a8c4e0; box-shadow: var(--shadow-s); }
.faq-item.faq-open { border-color: var(--accent); box-shadow: 0 4px 20px rgba(26,95,160,.10); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 1.4rem; font-weight: 600; font-size: .975rem;
  color: var(--text); text-align: left; gap: 1rem; font-family: inherit;
  transition: color .2s;
}
.faq-item.faq-open .faq-q { color: var(--accent); }
.faq-icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--pale); border: 1.5px solid #bcd8f0;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--accent); font-size: .85rem; line-height: 1;
  transition: background .25s, border-color .25s, transform .3s, color .25s;
}
.faq-item.faq-open .faq-icon {
  background: var(--accent); border-color: var(--accent);
  color: #fff; transform: rotate(180deg);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1);
}
.faq-a-inner {
  padding: 0 1.4rem 1.4rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-size: .915rem; color: var(--muted); line-height: 1.7;
}
.footer-col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.45); margin-bottom: .9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.45); margin: 0; }

/* ── Responsive ─────────────────────────── */
.footer-col-links a { display: block; color: #fff; font-size: .9rem; padding: .2rem 0; transition: color .15s; }
.footer-col-links a:hover { color: rgba(255,255,255,.7); }

@media (max-width: 900px) {
    .service-card { overflow: hidden; margin-bottom: 1.5rem; }
  .hero-grid, .founder-grid, .cta-box, .footer-grid { grid-template-columns: 1fr; }
  .about-asmaa-grid { grid-template-columns: 1fr !important; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero-grid aside { display: none; }
  .nav-links { display: none; flex-direction: column; gap: .5rem; padding: 1rem 0 1.5rem; }
  .nav-links.open { display: flex; }
  .nav-inner { flex-wrap: wrap; }
  .hamburger { display: block; }
  /* Mobile dropdowns: always expanded */
  .nav-dropdown-menu {
    position: static;
    opacity: 1 !important;
    pointer-events: auto !important;
    padding-top: 0;
    background: transparent;
  }
  .nav-dropdown-menu-inner {
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--line);
    border-radius: 0;
    padding: .25rem 0 .25rem .75rem;
    margin-left: .5rem;
    margin-top: .2rem;
    background: transparent;
  }

  .cta-box { padding: 2rem; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .portrait-badge { bottom: .5rem; right: .5rem; }

  /* Footer accordion */
  .footer-grid { gap: 0; margin-bottom: 1.5rem; }
  .footer-col { border-top: 1px solid rgba(255,255,255,.12); }
  .footer-col h4 {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 0; padding: .9rem 0; cursor: pointer; user-select: none;
  }
  .footer-col h4 .footer-arrow {
    display: inline-block; transition: transform .25s; font-size: .7rem; opacity: .5;
  }
  .footer-col h4 .footer-arrow::after { content: '▼'; }
  .footer-col.open h4 .footer-arrow { transform: rotate(180deg); }
  .footer-col-links { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
  .footer-col.open .footer-col-links { max-height: 360px; padding-bottom: .75rem; }
}
@media (min-width: 901px) {
  .footer-col-links { max-height: none !important; overflow: visible; }
  .footer-arrow { display: none; }
}
@media (max-width: 580px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 2.5rem; }
  .section { padding: 3.5rem 0; }
  .founder-grid { gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ── Header expands to full height when mobile nav is open ─── */
@media (max-width: 900px) {
  .site-header.nav-open {
    position: fixed;
    inset: 0;
    height: 100vh;
    z-index: 1050;
    overflow: hidden;
  }
}

/* ── Mobile nav overlay (replaces float menu) ──────────────── */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: 90vw;
    height: 100%;
    background: #fff;
    box-shadow: -4px 0 30px rgba(0,0,0,.18);
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.75rem 2rem;
    gap: 0;
    transform: translateX(110%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    z-index: 1100;
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
    display: none;
  }
  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  /* Close button */
  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    width: 40px;
    height: 40px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
    color: var(--text);
    flex-shrink: 0;
    margin-bottom: 1.25rem;
  }
  .nav-close:hover { background: #e8edf5; }
  /* Backdrop */
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 1099;
  }
  .nav-backdrop.open { display: block; }

  /* Dropdown becomes inline accordion */
  .nav-dropdown { position: static; display: flex; width: 100%; flex-direction: column; }
  .nav-dropdown > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .85rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    width: 100%;
  }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border-radius: var(--r-sm);
    padding: .25rem 0;
    display: none;
    margin-bottom: .5rem;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu-inner { display: flex; flex-direction: column; }
  .nav-dropdown-menu-inner a {
    padding: .65rem 1rem;
    font-size: .95rem;
    border-bottom: none;
  }
  /* CTA button */
  .nav-cta {
    margin-top: 1.5rem;
    text-align: center;
    justify-content: center;
  }
}

/* ── Topics .t-card ─────────────────────────── */
.topic-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:.65rem; }
.t-card { border-radius:20px; border:1px solid transparent; overflow:hidden; transition:box-shadow .2s,border-color .2s,transform .2s; background:#fff; }
.t-card-inner { padding:.9rem 1rem; }
.t-card-title { font-size:.875rem; font-weight:700; line-height:1.35; display:flex; align-items:center; justify-content:space-between; gap:.5rem; margin:0; }
.t-card-title svg { flex-shrink:0; opacity:.35; transition:opacity .2s,transform .25s; }
.t-card-desc { font-size:.8rem; color:var(--muted); line-height:1.5; max-height:0; overflow:hidden; opacity:0; margin-top:0; transition:max-height .32s ease,opacity .28s ease,margin-top .25s ease; }
.t-card:hover { box-shadow:var(--shadow-m); }
.t-card:hover .t-card-desc { max-height:400px; opacity:1; margin-top:.5rem; }
.t-card:hover .t-card-title svg { opacity:.75; transform:rotate(90deg); }
.t-reach { border-color:#c8d9ed; background:#f4f7fc; }
.t-reach .t-card-title { color:#1a5fa0; }
.t-reach:hover { border-color:#1a5fa0; background:#fff; }
.t-teach { border-color:#b8ddd6; background:#f3f9f7; }
.t-teach .t-card-title { color:#1a7a6e; }
.t-teach:hover { border-color:#2ab4a0; background:#fff; }
.theme-card-reach { background:#eaf2f9; border:1px solid #b2ccdf; border-radius:var(--r); padding:1.5rem; display:flex; gap:1rem; align-items:flex-start; text-decoration:none; transition:box-shadow .18s, border-color .18s; }
.theme-card-reach:hover { border-color:#1a5fa0; box-shadow:var(--shadow-s); }
.theme-card-teach { background:#eaf6f3; border:1px solid #b2e0d6; border-radius:var(--r); padding:1.5rem; display:flex; gap:1rem; align-items:flex-start; text-decoration:none; transition:box-shadow .18s, border-color .18s; }
.theme-card-teach:hover { border-color:#2ab4a0; box-shadow:var(--shadow-s); }
.theme-card-arrow { width:22px; height:22px; flex-shrink:0; align-self:center; transition:transform .2s; }
.theme-card-reach:hover .theme-card-arrow,
.theme-card-teach:hover .theme-card-arrow { transform:translateX(4px); }
.theme-icon { width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
@media (max-width:900px) { .topic-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:580px) { .topic-grid { grid-template-columns:1fr; } }

/* ── Photo Accordion / Slider (index.php) ────────────── */
.rt-accordion-section {
  width: 100%;
  padding: 56px 0 48px;
  background: #fff;
}
.rt-acc-header {
  max-width: 1130px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.rt-acc-eyebrow {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: .4rem;
}
.rt-acc-title {
  font-family: var(--font-h);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--text);
  font-weight: 700;
  margin: 0;
}

/* ── Admin mode toggle ── */
.rt-acc-mode-toggle {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px;
  flex-shrink: 0;
}
.rt-acc-mode-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 5px;
  color: #888;
  display: flex;
  align-items: center;
  transition: background .2s, color .2s;
}
.rt-acc-mode-btn.active { background: #fff; color: var(--accent); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.rt-acc-mode-btn:hover:not(.active) { color: #555; }

/* ── Outer wrapper: position:relative for absolute mobile nav ── */
.rt-acc-outer {
  position: relative;
  max-width: 1130px;
  margin: 0 auto;
}

/* ── Mobile nav (MWL-style: side-positioned, only in slider mode on mobile) ── */
.rt-acc-slider-nav {
  display: none;
  position: absolute;
  top: 50%;
  left: -11px;
  right: -11px;
  transform: translateY(-50%);
  justify-content: space-between;
  pointer-events: none;
  z-index: 5;
}
.rt-acc-nav-btn {
  align-items: center;
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  cursor: pointer;
  display: inline-flex;
  height: 32px;
  width: 32px;
  justify-content: center;
  padding: 0;
  pointer-events: all;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.rt-acc-nav-btn:active { transform: scale(0.9); }
.rt-acc-nav-btn:disabled { cursor: default; opacity: 0.35; }

/* ── Accordion wrap ── */
.rt-acc-wrap {
  display: flex;
  height: clamp(380px, 52vh, 520px);
  overflow: hidden;
  border-radius: 16px;
}

/* ── Panel base ── */
.rt-acc {
  flex: 1;
  border-right: 2px solid rgba(255,255,255,.15);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: flex .5s cubic-bezier(.4,0,.2,1);
}
.rt-acc:last-child { border-right: none; }
.rt-acc.open { flex: 3.5; }

/* ── Image wrapper: fills panel in accordion mode ── */
.rt-acc-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.rt-acc-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.rt-acc:hover .rt-acc-img { transform: scale(1.04); }

/* Unused elements */
.rt-acc-bg { display: none; }
.rt-acc::after { display: none; }
.rt-acc-overlay { display: none; }
.rt-acc-title-vert { display: none; }
.rt-acc-num { display: none; }
.rt-acc-lock-dot { display: none; }

/* ── Content bar (accordion mode) ── */
.rt-acc-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 4;
  background: rgba(35,35,35,.68);
  backdrop-filter: blur(3px);
  padding: .7rem 1rem .8rem;
  pointer-events: none;
  transition: padding .35s cubic-bezier(.4,0,.2,1);
}
.rt-acc-head {
  font-family: var(--font-h);
  font-size: .88rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Drawer (accordion: desc/link hidden inside) */
.rt-acc-drawer { overflow: hidden; }

/* Strip <p> margins from richtext output */
.rt-acc-desc p, .rt-acc-desc ul, .rt-acc-desc ol { margin: 0; padding: 0; }

.rt-acc-desc {
  font-size: .83rem;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .38s cubic-bezier(.4,0,.2,1), opacity .3s .08s, margin .3s;
}
.rt-acc-link { display: none; }

.rt-acc.open:hover .rt-acc-content { padding-bottom: 1.1rem; }
.rt-acc.open:hover .rt-acc-desc { max-height: 80px; opacity: 1; margin-top: .4rem; }
.rt-acc.open .rt-acc-head { font-size: clamp(.95rem, 1.4vw, 1.15rem); white-space: normal; }

/* ════════════════════════════════════════════════════════════
   SLIDER MODE — exact MWL issue-explorer behaviour (4 panels)
   ════════════════════════════════════════════════════════════ */

/* Container: equal-column CSS Grid, dark bg */
.rt-acc-wrap.slider-mode {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  background: #181818;
  overflow: hidden !important;
}

/* Panel: flex-column so content flows to bottom naturally */
.rt-acc-wrap.slider-mode .rt-acc {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  flex: unset !important;
  overflow: hidden !important;
  border-right: 1px solid rgba(255,255,255,.1) !important;
  transition: none !important;
}
.rt-acc-wrap.slider-mode .rt-acc:last-child { border-right: none !important; }

/* Image wrapper: 400% wide — spans all 4 panels; offset per nth-child */
.rt-acc-wrap.slider-mode .rt-acc-img-wrap {
  width: 400% !important;
  z-index: 1 !important;
  transition: opacity 500ms cubic-bezier(0,0,.2,1);
}
/* Gradient overlaid on each image wrapper via ::after */
.rt-acc-wrap.slider-mode .rt-acc-img-wrap::after {
  background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.536) 50%, rgba(0,0,0,0) 90%);
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* Per-panel left offset (% relative to the panel's own width) */
.rt-acc-wrap.slider-mode .rt-acc:nth-child(1) .rt-acc-img-wrap { left: 0%;    }
.rt-acc-wrap.slider-mode .rt-acc:nth-child(2) .rt-acc-img-wrap { left: -100%; }
.rt-acc-wrap.slider-mode .rt-acc:nth-child(3) .rt-acc-img-wrap { left: -200%; }
.rt-acc-wrap.slider-mode .rt-acc:nth-child(4) .rt-acc-img-wrap { left: -300%; }

/* img inside the wrapper fills it; object-position per panel for correct crop */
.rt-acc-wrap.slider-mode .rt-acc-img { transform: none !important; }
.rt-acc-wrap.slider-mode .rt-acc:nth-child(1) .rt-acc-img { object-position: 0%   50%; }
.rt-acc-wrap.slider-mode .rt-acc:nth-child(2) .rt-acc-img { object-position: 33%  50%; }
.rt-acc-wrap.slider-mode .rt-acc:nth-child(3) .rt-acc-img { object-position: 67%  50%; }
.rt-acc-wrap.slider-mode .rt-acc:nth-child(4) .rt-acc-img { object-position: 100% 50%; }

/* is-inactive → image wrapper fades to black; is-active → visible */
.rt-acc-wrap.slider-mode .rt-acc.is-inactive .rt-acc-img-wrap { opacity: 0; }
.rt-acc-wrap.slider-mode .rt-acc.is-active   .rt-acc-img-wrap { opacity: 1; }

/* Content: flows to bottom (position:relative, not absolute), transparent */
.rt-acc-wrap.slider-mode .rt-acc-content {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  background: transparent !important;
  backdrop-filter: none !important;
  padding: 0 1.5rem 1.5rem !important;
  z-index: 2 !important;
  pointer-events: none;
}

/* Head: larger, wraps freely */
.rt-acc-wrap.slider-mode .rt-acc-head {
  font-size: clamp(1rem, 1.5vw, 1.5rem) !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  color: #fff !important;
  line-height: 1.08 !important;
  margin-bottom: .4rem !important;
}

/* Drawer: hidden by default; slides open on is-active */
.rt-acc-wrap.slider-mode .rt-acc-drawer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 500ms cubic-bezier(0,0,.2,1),
              opacity 300ms cubic-bezier(0,0,.2,1);
}
.rt-acc-wrap.slider-mode .rt-acc.is-active .rt-acc-drawer {
  max-height: 200px;
  opacity: 1;
  overflow: visible;
}

/* Desc: reset accordion hiding rules */
.rt-acc-wrap.slider-mode .rt-acc-desc {
  max-height: none !important;
  opacity: 1 !important;
  overflow: visible !important;
  margin: 0 0 .4rem !important;
  font-size: .9rem;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
}

/* Read More link */
.rt-acc-wrap.slider-mode .rt-acc-link {
  display: inline-block !important;
  color: #fff;
  font-weight: 500;
  margin-top: 8px;
  text-decoration: underline;
}
.rt-acc-wrap.slider-mode .rt-acc-link:hover { color: #fff; }

/* ── Accordion: mobile (640px, same as before) ── */
@media (max-width: 640px) {
  .rt-accordion-section { padding: 36px 0 32px; }
  .rt-acc-header { padding: 0 1.25rem; flex-wrap: wrap; gap: 12px; }
  .rt-acc-wrap:not(.slider-mode) { flex-direction: column; height: auto; }
  .rt-acc-wrap:not(.slider-mode) .rt-acc {
    flex: none !important; width: 100%; height: 80px;
    border-right: none; border-bottom: 1px solid rgba(255,255,255,.12);
    transition: height .5s cubic-bezier(.4,0,.2,1);
  }
  .rt-acc-wrap:not(.slider-mode) .rt-acc:last-child { border-bottom: none; }
  .rt-acc-wrap:not(.slider-mode) .rt-acc.open { height: 280px; }
  .rt-acc-content { padding: .55rem .85rem .65rem; }
  .rt-acc-head { font-size: .8rem; }
  .rt-acc-wrap:not(.slider-mode) .rt-acc-desc { display: none; }
  .footer-brand { margin-bottom: 23px; }
  .popup-modal { max-width: 95%; }
}

/* ── Slider: mobile (max-width: 63.99em = 1023px, matching MWL exactly) ── */
@media (max-width: 63.99em) {
  /* Scroll-snap layout: max-width 76%, one panel at a time */
  .rt-acc-wrap.slider-mode {
    display: flex !important;
    margin: 0 auto !important;
    max-width: 76% !important;
    min-height: 448px !important;
    height: auto !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
  }
  .rt-acc-wrap.slider-mode::-webkit-scrollbar { display: none; }
  .rt-acc-wrap.slider-mode .rt-acc {
    flex: 0 0 100% !important;
    min-height: 448px !important;
    min-width: 100% !important;
    scroll-snap-align: start !important;
    border-right: none !important;
  }

  /* Reset image trick — each panel shows its own full image */
  .rt-acc-wrap.slider-mode .rt-acc-img-wrap {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }
  .rt-acc-wrap.slider-mode .rt-acc:nth-child(n) .rt-acc-img { object-position: center 30% !important; }

  /* Mobile content: gradient from bottom (MWL mobile style) */
  .rt-acc-wrap.slider-mode .rt-acc-content {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.75) 60%, rgba(0,0,0,.9) 100%) !important;
    margin-top: auto !important;
    padding: 24px !important;
  }

  /* Drawer always open on mobile (no hover needed) */
  .rt-acc-wrap.slider-mode .rt-acc-drawer {
    max-height: 300px !important;
    opacity: 1 !important;
    overflow: visible !important;
  }

  /* Show MWL-style side nav in slider mode on mobile */
  .rt-acc-wrap.slider-mode ~ .rt-acc-slider-nav { display: flex; }
}

/* ══════════════════════════════════════════════════════════════
   Issue Explorer mode (mode 3) — scoped under .ie-main-container
   ══════════════════════════════════════════════════════════════ */
.ie-main-container {
  position: relative;
  max-width: 1130px;
  margin-inline: auto;
}
.ie-main-container .c-issue-explorer {
  background-color: #181818;
  border-radius: 30px;
  color: #fff;
  overflow: hidden;
  position: relative;
}
@media (min-width: 43.75em) {
  .ie-main-container .c-issue-explorer { display: grid; grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64em) {
  .ie-main-container .c-issue-explorer { grid-template-columns: repeat(4, 1fr); }
}

.ie-main-container .c-issue-explorer__issue {
  display: flex;
  flex-direction: column;
  font-weight: 500;
  justify-content: flex-end;
  min-height: min(39.0625vw - 80px, 540px);
  overflow: hidden;
  position: relative;
}

/* Per-panel image object-position */
.ie-main-container .c-issue-explorer__issue:nth-child(1) .c-issue-explorer__issue-image img { object-position: 0 50%; }
.ie-main-container .c-issue-explorer__issue:nth-child(2) .c-issue-explorer__issue-image img { object-position: 25% 50%; }
.ie-main-container .c-issue-explorer__issue:nth-child(3) .c-issue-explorer__issue-image img { object-position: 67% 50%; }
.ie-main-container .c-issue-explorer__issue:nth-child(4) .c-issue-explorer__issue-image img { object-position: 100% 50%; }

/* Per-panel left offset — desktop only */
@media (min-width: 64em) {
  .ie-main-container .c-issue-explorer__issue:nth-child(2) .c-issue-explorer__issue-image { inset-inline-start: -100%; }
  .ie-main-container .c-issue-explorer__issue:nth-child(3) .c-issue-explorer__issue-image { inset-inline-start: -200%; }
  .ie-main-container .c-issue-explorer__issue:nth-child(4) .c-issue-explorer__issue-image { inset-inline-start: -300%; }
}

.ie-main-container .c-issue-explorer__issue.is-active { overflow: visible; z-index: 0; }
.ie-main-container .c-issue-explorer__issue.is-active .c-issue-explorer__issue-content::after { opacity: 1; }

@media (min-width: 64em) {
  .ie-main-container .c-issue-explorer__issue.is-active .c-issue-explorer__issue-drawer { max-height: max-content; opacity: 1; overflow: visible; }
  .ie-main-container .c-issue-explorer__issue.is-inactive .c-issue-explorer__issue-image { opacity: 0; }
}

.ie-main-container .c-issue-explorer__issue-image {
  inset: 0;
  position: absolute;
  transition: opacity 500ms cubic-bezier(0, 0, 0.2, 1);
  z-index: 1;
}
@media (min-width: 64em) {
  .ie-main-container .c-issue-explorer__issue-image {
    width: 400%;
  }
  .ie-main-container .c-issue-explorer__issue-image::after {
    background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.536) 50%, rgba(0,0,0,0) 90%);
    content: "";
    display: block;
    inset: 0;
    position: absolute;
    z-index: 1;
  }
}
.ie-main-container .c-issue-explorer__issue-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ie-main-container .c-issue-explorer__issue-content {
  background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.536) 100%);
  color: #fff;
  margin-block-start: 11.111rem;
  padding-block: 0 1.333rem;
  padding-inline: 1.333rem;
  position: relative;
  z-index: 2;
}
@media (min-width: 64em) {
  .ie-main-container .c-issue-explorer__issue-content {
    background: transparent;
    margin-block-start: 0;
  }
}

.ie-main-container .c-issue-explorer__issue-content::before {
  background: linear-gradient(0deg, rgba(0,0,0,.536) 0%, rgba(0,0,0,0) 100%);
  content: "";
  display: block;
  height: 11.111rem;
  inset-block-start: -11.111rem;
  inset-inline: 0;
  position: absolute;
}
@media (min-width: 64em) {
  .ie-main-container .c-issue-explorer__issue-content::before { display: none; }
}

.ie-main-container .c-issue-explorer__issue-content::after {
  background: transparent;
  content: "";
  display: block;
  inset-block: 0;
  inset-inline-start: 0;
  position: absolute;
  transition: opacity 500ms cubic-bezier(0, 0, 0.2, 1);
  width: 1.333rem;
}
@media (min-width: 64em) {
  .ie-main-container [issue-explorer-processed] .c-issue-explorer__issue-content::after { opacity: 0; }
}

.ie-main-container .c-issue-explorer__issue-title {
  color: #fff;
  font-size: clamp(1rem, 1.4vw, 1.6rem);
  font-family: var(--font-h);
  line-height: 1.08;
  margin: 0 0 .4rem;
}

.ie-main-container .c-issue-explorer__issue-drawer {
  font-size: .875rem;
  line-height: 1.5;
  transition: max-height 500ms cubic-bezier(0,0,.2,1), opacity 500ms cubic-bezier(0,0,.2,1);
}
@media (min-width: 64em) {
  .ie-main-container [issue-explorer-processed] .c-issue-explorer__issue-drawer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
  }
}

.ie-main-container .c-issue-explorer__issue-description {
  margin-block-end: .4rem;
  color: rgba(255,255,255,.85);
}
@media (min-width: 64em) {
  .ie-main-container .c-issue-explorer__issue-description { display: none; }
}
@media (min-width: 81.25em) {
  .ie-main-container .c-issue-explorer__issue-description { display: block; }
}

.ie-main-container .c-issue-explorer__issue-link {
  color: #fff;
  display: inline-block;
  font-weight: 500;
  margin-top: 8px;
  text-decoration: underline;
}
.ie-main-container .c-issue-explorer__issue-link:hover { color: #fff; }

.ie-main-container .u-visually-hidden {
  border: 0 !important; clip: rect(0,0,0,0) !important; height: 1px !important;
  margin: -1px !important; overflow: hidden !important; padding: 0 !important;
  position: absolute !important; white-space: nowrap !important; width: 1px !important;
}

/* Mobile nav — hidden on desktop */
.ie-main-container .ie-mobile-nav { display: none; }

/* ── Issue Explorer: mobile (≤1023px) ── */
@media (max-width: 63.99em) {
  .ie-main-container .c-issue-explorer {
    display: flex !important;
    margin: 0 auto;
    max-width: 76%;
    min-height: 448px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .ie-main-container .c-issue-explorer::-webkit-scrollbar { display: none; }
  .ie-main-container .c-issue-explorer__issue {
    flex: 0 0 100%;
    min-height: 448px;
    min-width: 100%;
    position: relative;
    scroll-snap-align: start;
  }
  .ie-main-container .c-issue-explorer__issue-image {
    inset: 0 !important;
    position: absolute !important;
    width: 100% !important;
  }
  .ie-main-container .c-issue-explorer__issue:nth-child(n) .c-issue-explorer__issue-image {
    inset-inline-start: 0 !important;
  }
  .ie-main-container .c-issue-explorer__issue-content {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.75) 60%, rgba(0,0,0,.9) 100%);
    margin-top: auto;
    padding: 24px;
  }
  .ie-main-container .c-issue-explorer__issue-content::before { display: none; }
  .ie-main-container .c-issue-explorer__issue-description { display: block; }
  .ie-main-container .ie-mobile-nav {
    display: flex;
    position: absolute;
    inset: 50% -11px auto -11px;
    justify-content: space-between;
    pointer-events: none;
    transform: translateY(-50%);
    z-index: 5;
  }
  .ie-main-container .ie-mobile-nav button {
    align-items: center;
    background: transparent;
    border: 1px solid #1e7f4f;
    border-radius: 50%;
    color: #1e7f4f;
    cursor: pointer;
    display: inline-flex;
    height: 32px;
    justify-content: center;
    padding: 0;
    pointer-events: all;
    transition: all .25s ease;
    width: 32px;
  }
  .ie-main-container .ie-mobile-nav button:active { transform: scale(.9); }
  .ie-main-container .ie-mobile-nav button:disabled { cursor: default; opacity: .35; }
}

/* ── Multiselect dropdown: absolute positioning fix ─────────── */
.svc-multiselect-wrap { position: relative !important; }
.svc-multiselect-list {
  position: absolute !important;
  top: calc(100% + 4px) !important;
  left: 0 !important;
  width: 100% !important;
  min-width: unset !important;
  z-index: 50 !important;
}
/* Allow popup modal to show overflow so dropdown isn't clipped */
.popup-modal { overflow: visible !important; }
.popup-modal > form,
.popup-modal > * { overflow: visible; }
/* Scroll wrapper inside modal */
.popup-modal-scroll {
  overflow-y: auto;
  max-height: calc(90vh - 4rem);
  padding-right: .25rem;
}


.c-issue-explorer__issue-description p {
    color: #fff;
}



@media (max-width: 900px) {
  .m-center {
      text-align: center;
      display: flex;
      justify-content: center;
      align-items: stretch;
      flex-direction: row;
      align-content: space-around;
  }

  .testi-wrap {
    max-width: 100% !important;
  }
}


.svc-modal-price-row span {
    white-space: nowrap;
    display: inline-block;
    margin-right: 11px;
    min-width: 70px;
}


.is-active .c-issue-explorer__issue-image::after {
    opacity: 0 !important;
}


.is-active .c-issue-explorer__issue-content {
    background: #00000075 !important;
    padding: 18px !important;
}

svg.theme-card-arrow {
    width: 91px;
    background: #00000000;
    border-radius: 100%;
    border: 4px solid #f5f9fa;
}