/* =====================================================================
   An-Nikah — Ummah Connect (Stage 1 prototype)
   Scoped with the `uc-` prefix. Builds on home.css tokens (--ah-*) and about.css banners.
   ===================================================================== */

.uc {
    --uc-catbar-h: 58px;
    --uc-emerald: #0f5c46; --uc-forest: #0b3b2e; --uc-gold: #8a6d36; --uc-indigo: #2f3f6b;
    --uc-rose: #8c4a5e; --uc-teal: #1d6a6f; --uc-clay: #94573a;
    --uc-open: #1f7a4d; --uc-closing: #b4541e; --uc-upcoming: #2f5a9e; --uc-closed: #7b817e;
    --uc-err: #c0392b;
}
html:has(.uc) { scroll-padding-top: calc(var(--ah-header-h) + 58px + 20px); }
.uc [hidden] { display: none !important; }
.uc .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.uc a { color: inherit; }
.uc button { font: inherit; cursor: pointer; }
.uc h2 em, .uc h1 em, .uc h3 em { font-style: italic; color: var(--ah-emerald); }
.uc .ab-hero__title em { color: #e7d3a6; }

/* ---------- Tones (covers + labels) ---------- */
.uc-tone--emerald { --t: var(--uc-emerald); } .uc-tone--forest { --t: var(--uc-forest); } .uc-tone--gold { --t: var(--uc-gold); }
.uc-tone--indigo { --t: var(--uc-indigo); } .uc-tone--rose { --t: var(--uc-rose); } .uc-tone--teal { --t: var(--uc-teal); } .uc-tone--clay { --t: var(--uc-clay); }
.uc-tone-text--emerald { --t: var(--uc-emerald); } .uc-tone-text--forest { --t: var(--uc-forest); } .uc-tone-text--gold { --t: var(--uc-gold); }
.uc-tone-text--indigo { --t: var(--uc-indigo); } .uc-tone-text--rose { --t: var(--uc-rose); } .uc-tone-text--teal { --t: var(--uc-teal); } .uc-tone-text--clay { --t: var(--uc-clay); }

/* ---------- Cover art ---------- */
.uc-cover {
    position: relative; display: block; overflow: hidden; isolation: isolate; aspect-ratio: 16 / 10; border-radius: var(--ah-r-md);
    background: radial-gradient(120% 90% at 85% 100%, color-mix(in srgb, var(--t) 70%, #000) 0%, transparent 60%),
                linear-gradient(140deg, color-mix(in srgb, var(--t) 78%, #fff) 0%, var(--t) 55%, color-mix(in srgb, var(--t) 70%, #000) 100%);
    background-color: var(--t);
}
.uc-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.uc-cover__pattern {
    position: absolute; inset: 0; opacity: .22; z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='.8'%3E%3Cpath d='M40 8l9.4 22.6L72 40l-22.6 9.4L40 72l-9.4-22.6L8 40l22.6-9.4z'/%3E%3Ccircle cx='40' cy='40' r='5'/%3E%3C/g%3E%3C/svg%3E");
    -webkit-mask-image: linear-gradient(120deg, transparent 15%, #000 85%); mask-image: linear-gradient(120deg, transparent 15%, #000 85%);
}
.uc-cover__icon { position: absolute; right: -6%; bottom: -14%; width: 58%; max-width: 260px; color: rgba(255, 255, 255, .26); z-index: -1; transition: transform .6s var(--ah-ease); }
.uc-cover__icon svg { width: 100%; height: auto; }
.uc-cover__place {
    position: absolute; left: 12px; top: 12px; padding: 3px 8px; border-radius: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .08em;
    color: #fff; background: rgba(0, 0, 0, .22); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
a:hover .uc-cover__icon, .uc-card:hover .uc-cover__icon { transform: scale(1.06) rotate(-3deg); }
.uc-cover--xl { aspect-ratio: 16 / 9; border-radius: var(--ah-r-lg); }
.uc-cover--tall { aspect-ratio: 4 / 3; }
.uc-cover--hero { aspect-ratio: 16 / 9; border-radius: var(--ah-r-md) var(--ah-r-md) 0 0; }
.uc-cover--banner { aspect-ratio: 3 / 1; border-radius: var(--ah-r-lg); }
.uc-cover--banner .uc-cover__icon { width: 30%; bottom: -24%; right: 4%; }
@media (max-width: 760px) { .uc-cover--banner { aspect-ratio: 16 / 8; } }

/* ---------- Small shared bits ---------- */
.uc-kicker { display: inline-flex; align-items: center; gap: .55em; margin: 0 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ah-gold-600); }
.uc-kicker--light { color: #e7d3a6; }
.uc-label { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--t, var(--ah-emerald)); }
.uc-label:hover { text-decoration: underline; }
.uc-type { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 600; color: var(--ah-ink-2); background: var(--ah-ivory-2); }
.uc-meta { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; font-size: .84rem; color: var(--ah-muted); }
.uc-meta > * + *::before { content: "·"; margin-inline: 8px; color: var(--ah-line-strong); }
.uc-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--ah-emerald) !important; text-decoration: none; white-space: nowrap; }
.uc-link:hover { color: var(--ah-forest) !important; }
.uc-link:hover svg { transform: translateX(3px); }
.uc-link svg { transition: transform .25s var(--ah-ease); }
.uc-textbtn { padding: 0; border: 0; background: none; color: var(--ah-emerald); font-weight: 600; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.uc-fine { margin: 14px 0 0; font-size: .82rem; color: var(--ah-muted); }
.uc-subhead { margin: 0 0 16px; font-family: var(--ah-font-body) !important; font-size: .82rem !important; font-weight: 700 !important; letter-spacing: .12em; text-transform: uppercase; color: var(--ah-muted) !important; }
.uc-avatar { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ah-emerald-50); color: var(--ah-emerald); font-size: .78rem; font-weight: 700; }
.uc-flag svg { display: block; }
.uc-flag { flex: none; display: grid; place-items: center; width: 44px; height: 32px; border-radius: 8px; background: var(--ah-emerald-50); color: var(--ah-emerald); font-size: .8rem; font-weight: 700; letter-spacing: .08em; }

.uc-save {
    flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 36px; height: 36px; padding: 0 8px;
    border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--ah-muted); transition: color .2s, background .2s, border-color .2s;
}
.uc-save:hover { color: var(--ah-emerald); background: var(--ah-emerald-50); }
.uc-save[aria-pressed="true"] { color: var(--ah-gold-600); }
.uc-save[aria-pressed="true"] svg { fill: currentColor; }
.uc-save.ah-btn { height: auto; min-height: 48px; border: 1px solid rgba(15, 92, 70, .35); color: var(--ah-emerald); }

/* status pills */
.uc-status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.uc-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.uc-status--open { color: var(--uc-open); background: #e3f3ea; }
.uc-status--closing { color: var(--uc-closing); background: #fcebdf; }
.uc-status--upcoming { color: var(--uc-upcoming); background: #e5edf9; }
.uc-status--closed { color: var(--uc-closed); background: #eef0ef; }
.uc-status--sample { color: #8a5a00; background: #fdf1d6; }
.uc-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.uc-dot--open { background: var(--uc-open); } .uc-dot--closing { background: var(--uc-closing); } .uc-dot--upcoming { background: var(--uc-upcoming); }

/* chips */
.uc-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.uc-chips::-webkit-scrollbar { display: none; }
.uc-chip {
    flex: none; padding: 8px 16px; border: 1px solid var(--ah-line-strong); border-radius: 999px; background: #fff; color: var(--ah-ink-2);
    font-size: .9rem; font-weight: 500; transition: all .2s var(--ah-ease);
}
.uc-chip:hover { border-color: var(--ah-emerald); color: var(--ah-emerald); }
.uc-chip[aria-pressed="true"] { background: var(--ah-emerald); border-color: var(--ah-emerald); color: #fff; }

/* sections */
.uc-section { padding-block: clamp(44px, 5vw, 80px); }
.uc-section--paper { background: #fff; border-block: 1px solid var(--ah-line); }
.uc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.uc-head h2 { margin: 0; font-family: var(--ah-font-display); font-size: clamp(2rem, 1.4rem + 2.2vw, 3.3rem); line-height: 1.08; letter-spacing: -.01em; }
.uc-head__lead { margin: 14px 0 0; max-width: 64ch; font-size: clamp(1rem, .96rem + .25vw, 1.12rem); color: var(--ah-muted); }
.uc-head--tight { margin-bottom: 18px; }

/* ---------- Sample notice ---------- */
.uc-sample { background: #fdf1d6; border-bottom: 1px solid #f0dcaa; color: #6b4a07; font-size: .88rem; }
.uc-sample__inner { display: flex; align-items: flex-start; gap: 10px; padding-block: 10px; }
.uc-sample svg { flex: none; margin-top: 3px; }

/* ---------- Topic bar ---------- */
.uc-catbar { position: sticky; top: var(--ah-header-h); z-index: 800; background: rgba(251, 248, 242, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--ah-line); }
.uc-catbar__inner { display: flex; align-items: center; gap: 12px; min-height: var(--uc-catbar-h); }
.uc-catbar__scroll { flex: 1; min-width: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth;
    -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.uc-catbar__scroll::-webkit-scrollbar { display: none; }
.uc-catbar__scroll a {
    flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 10px;
    font-size: .9rem; font-weight: 500; color: var(--ah-ink-2); text-decoration: none; white-space: nowrap; transition: background .2s, color .2s;
}
.uc-catbar__scroll a svg { color: var(--ah-gold-600); }
.uc-catbar__scroll a:hover { background: var(--ah-emerald-50); color: var(--ah-emerald); }
.uc-catbar__scroll a[aria-current="page"] { background: var(--ah-emerald); color: #fff; }
.uc-catbar__scroll a[aria-current="page"] svg { color: #e7d3a6; }
.uc-catbar__tools { flex: none; display: flex; gap: 6px; padding-left: 10px; border-left: 1px solid var(--ah-line); }
.uc-catbar__tool { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--ah-line-strong); border-radius: 10px; background: #fff; color: var(--ah-emerald); }
.uc-catbar__tool:hover { border-color: var(--ah-emerald); }
.uc-catbar__tool em { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--ah-gold); color: var(--ah-forest-900); font-size: .7rem; font-style: normal; font-weight: 700; line-height: 19px; text-align: center; }

/* ---------- Hero ---------- */
.uc-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--ah-ivory);
    background: radial-gradient(120% 90% at 30% -10%, #1d7d60 0%, var(--ah-emerald) 26%, var(--ah-forest) 60%, var(--ah-forest-900) 100%); }
.uc-hero__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 96px); align-items: center; padding-block: clamp(36px, 5vw, 72px) clamp(28px, 3vw, 44px); }
.uc-hero__crumbs { margin-bottom: 18px; }
.uc-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 18px; }
.uc-brand__mark { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(231, 211, 166, .35); background: rgba(255, 255, 255, .06); color: #fff; font-weight: 600; font-size: .92rem; }
.uc-brand__mark svg { color: #e7d3a6; }
.uc-brand__tag { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #e7d3a6; }
.uc-hero__title { margin: 0; font-family: var(--ah-font-display); font-weight: 600; font-size: clamp(2.5rem, 1.3rem + 3.9vw, 5.2rem); line-height: 1.02; letter-spacing: -.015em; color: #fff !important; text-shadow: 0 2px 30px rgba(0, 0, 0, .2); }
.uc-hero__title em { color: #e7d3a6 !important; }
.uc-hero__lead { margin: 18px 0 0; max-width: 56ch; font-size: clamp(1.04rem, .98rem + .35vw, 1.25rem); color: rgba(251, 248, 242, .86); }

.uc-search { position: relative; display: flex; align-items: center; gap: 8px; margin-top: clamp(22px, 3vw, 34px); padding: 7px 7px 7px 52px; max-width: 720px; border-radius: 16px; background: #fff; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .45); }
.uc-search__icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ah-emerald); display: flex; }
.uc-search input { flex: 1; min-width: 0; height: 50px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.02rem; color: var(--ah-ink); }
.uc-search input::placeholder { color: #8a928e; }
.uc-search .ah-btn { flex: none; min-height: 50px; padding-inline: 1.5em; }
.uc-search:focus-within { box-shadow: 0 0 0 3px rgba(198, 164, 101, .55), 0 24px 50px -20px rgba(0, 0, 0, .45); }
.uc-search--light { max-width: none; margin-top: 0; border: 1px solid var(--ah-line-strong); box-shadow: var(--ah-shadow-sm); }
.uc-search--light:focus-within { border-color: var(--ah-emerald); box-shadow: 0 0 0 3px rgba(15, 92, 70, .12); }
.uc-hero__popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; font-size: .88rem; }
.uc-hero__popular span { color: rgba(251, 248, 242, .7); margin-right: 2px; }
.uc-hero__popular a { padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); color: #fff; text-decoration: none; transition: background .2s, border-color .2s; }
.uc-hero__popular a:hover { background: rgba(255, 255, 255, .1); border-color: #e7d3a6; }

.uc-hero__feature { display: grid; gap: 14px; }
.uc-hero__card { display: block; border-radius: var(--ah-r-lg); overflow: hidden; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); text-decoration: none; color: #fff; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .55); transition: transform .35s var(--ah-ease), border-color .3s; }
.uc-hero__card:hover { transform: translateY(-3px); border-color: rgba(231, 211, 166, .5); }
.uc-hero__card .uc-cover { border-radius: 0; }
.uc-hero__cardbody { display: grid; gap: 8px; padding: 18px 22px 22px; }
.uc-hero__kicker { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #e7d3a6; }
.uc-hero__cardbody strong { font-family: var(--ah-font-display); font-size: clamp(1.35rem, 1.1rem + .7vw, 1.8rem); font-weight: 600; line-height: 1.15; }
.uc-hero__cardmeta { font-size: .84rem; color: rgba(251, 248, 242, .7); }
.uc-hero__also { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.uc-hero__also a { display: grid; gap: 2px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #fff; text-decoration: none; font-weight: 500; line-height: 1.35; transition: background .2s; }
.uc-hero__also a:hover { background: rgba(255, 255, 255, .1); }
.uc-hero__also span { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #e7d3a6; }

.uc-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-bottom: clamp(28px, 3vw, 44px); }
.uc-pillar { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--ah-r-md); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none; transition: background .2s, border-color .2s; }
.uc-pillar:hover { background: rgba(255, 255, 255, .1); border-color: rgba(231, 211, 166, .45); }
.uc-pillar strong { display: block; font-size: 1.05rem; }
.uc-pillar small { display: block; margin-top: 3px; font-size: .88rem; line-height: 1.45; color: rgba(251, 248, 242, .72); }
.uc-pillar__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(231, 211, 166, .14); color: #e7d3a6; }

/* ---------- Cards ---------- */
.uc-card { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.uc-card__media { display: block; }
.uc-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.uc-card__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.uc-card__title { margin: 0; font-family: var(--ah-font-display); font-size: clamp(1.25rem, 1.12rem + .4vw, 1.5rem); line-height: 1.2; }
.uc-card__title a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ah-ease); }
.uc-card__title a:hover { background-size: 100% 1px; color: var(--ah-emerald); }
.uc-card__dek { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--ah-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.uc-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 4px; }
.uc-card--row { display: grid; grid-template-columns: minmax(120px, 38%) minmax(0, 1fr); gap: 18px; align-items: start; }
.uc-card--row .uc-cover { aspect-ratio: 4 / 3; }
.uc-card--row .uc-card__title { font-size: clamp(1.15rem, 1.05rem + .3vw, 1.35rem); }
.uc-card--row .uc-card__dek { -webkit-line-clamp: 2; }
.uc-card--mini { padding: 16px 0; border-bottom: 1px solid var(--ah-line); }
.uc-card--mini:last-child { border-bottom: 0; }
.uc-card--mini .uc-card__title { font-size: 1.2rem; }

.uc-grid { display: grid; gap: clamp(24px, 2.4vw, 40px) clamp(20px, 2vw, 32px); }
.uc-grid--news { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); margin-top: 26px; }
.uc-grid--four { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.uc-grid--opps { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 20px; }
.uc-grid--latest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.uc-trend__title { margin: 0 0 14px !important; font-size: 1.05rem !important; }
.uc-ranked--side { grid-template-columns: 1fr; }
.uc-ranked--side li { gap: 14px; padding: 14px 0; }
.uc-ranked--side .uc-ranked__n { font-size: 1.7rem; }
.uc-ranked--side .uc-ranked__title { font-size: 1.12rem; }
.uc-trend__side .uc-tabs { width: auto; }
.uc-trend__side .uc-tabs button { padding: 8px 11px; font-size: .86rem; }
.uc-chip svg { vertical-align: -3px; margin-right: 4px; }
.uc-chip[aria-pressed="true"] svg { color: #e7d3a6; }
/* Women & Girls: one row */
.uc-women__row { display: grid; grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2vw, 32px); align-items: start; }
.uc-women__row > * { min-width: 0; }
.uc-women__row .uc-women__intro h2 { margin: 0 0 12px; font-family: var(--ah-font-display); font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.6rem); line-height: 1.08; color: #fff; }
.uc-women__row .uc-women__intro h2 em, .uc-women__row .uc-women__intro .uc-kicker { color: #f3d3dc; }
.uc-women__row .uc-women__intro p:not(.uc-kicker) { font-family: var(--ah-font-body); font-size: .98rem; line-height: 1.55; color: rgba(255, 255, 255, .88); margin: 0 0 16px; }
.uc-women__row .uc-women__intro .uc-link { color: #fff !important; }
/* Countries strip */
.uc-countries-strip { padding-block: clamp(28px, 3vw, 44px); border-bottom: 1px solid var(--ah-line); }
.uc-countries-strip__inner { display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; }
.uc-countries-strip h2 { display: flex; align-items: center; gap: 8px; margin: 0; flex: none; font-family: var(--ah-font-body) !important; font-size: 1rem !important; color: var(--ah-ink); }
.uc-countries-strip h2 svg { color: var(--ah-gold-600); }
.uc-countries-strip .uc-countries { flex: 1; display: flex; flex-wrap: wrap; gap: 8px; grid-template-columns: none; }
.uc-countries-strip .uc-countries a { gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: #fff; font-size: .9rem; font-weight: 500; color: var(--ah-ink-2); }
.uc-countries-strip .uc-flag { width: auto; min-width: 30px; height: 24px; padding: 0 6px; border-radius: 999px; font-size: .68rem; }
.uc-countries-strip .uc-countries em { margin-left: 2px; padding: 0 7px; font-size: .74rem; }
.uc-ai__suggest { margin-top: 26px; }

/* filtered items */
.uc-js-out { display: none !important; }
.uc-filter-empty { grid-column: 1 / -1; padding: 30px; text-align: center; color: var(--ah-muted); border: 1px dashed var(--ah-line-strong); border-radius: var(--ah-r-md); }

/* ---------- Featured ---------- */
.uc-feature { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); }
.uc-feature__main { display: grid; gap: 20px; align-content: start; }
.uc-feature__body { display: grid; gap: 10px; }
.uc-feature__body h3 { margin: 0; font-family: var(--ah-font-display); font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem); line-height: 1.08; }
.uc-feature__body h3 a { text-decoration: none; }
.uc-feature__body h3 a:hover { color: var(--ah-emerald); }
.uc-feature__body > p { margin: 0; max-width: 64ch; font-size: 1.06rem; color: var(--ah-muted); }
.uc-feature__side { display: grid; gap: 22px; align-content: start; }
.uc-feature__side .uc-card { padding-bottom: 22px; border-bottom: 1px solid var(--ah-line); }
.uc-feature__side .uc-card:last-child { border-bottom: 0; padding-bottom: 0; }
.uc-save:has([data-uc-save-text]) { padding-inline: 12px; border-color: var(--ah-line-strong); font-size: .88rem; font-weight: 600; }

/* ---------- Trending ---------- */
.uc-trend { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); }
.uc-tabs { display: flex; gap: 4px; padding: 4px; margin-bottom: 8px; border-radius: 14px; background: var(--ah-ivory-2); overflow-x: auto; scrollbar-width: none; width: max-content; max-width: 100%; }
.uc-tabs::-webkit-scrollbar { display: none; }
.uc-tabs button { flex: none; padding: 9px 16px; border: 0; border-radius: 10px; background: transparent; color: var(--ah-ink-2); font-weight: 500; font-size: .92rem; }
.uc-tabs button[aria-selected="true"] { background: #fff; color: var(--ah-emerald); font-weight: 600; box-shadow: var(--ah-shadow-sm); }
.uc-ranked { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); column-gap: 32px; }
.uc-ranked li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--ah-line); }
.uc-ranked__n { flex: none; width: 2ch; font-family: var(--ah-font-display); font-size: 2.2rem; font-weight: 600; line-height: 1; color: var(--ah-gold); }
.uc-ranked__title { display: block; margin: 4px 0 6px; font-family: var(--ah-font-display); font-size: 1.22rem; font-weight: 600; line-height: 1.22; color: var(--ah-ink); text-decoration: none; }
.uc-ranked__title:hover { color: var(--ah-emerald); }
.uc-ranked__meta { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--ah-muted); }
.uc-trend > *, .uc-feature > *, .uc-women__grid > *, .uc-careers > *, .uc-editorial__grid > *, .uc-ai__grid > *, .uc-news > *, .uc-hero__inner > * { min-width: 0; }
.uc-trend__side { display: grid; gap: 22px; align-content: start; }
.uc-trend__side h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--ah-font-body); font-size: 1rem; color: var(--ah-ink); }
.uc-trend__side h3 svg { color: var(--ah-gold-600); }
.uc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.uc-tags a { padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--ah-line-strong); font-size: .88rem; font-weight: 500; color: var(--ah-ink-2); text-decoration: none; }
.uc-tags a:hover { border-color: var(--ah-emerald); color: var(--ah-emerald); }
.uc-trend__promo { display: grid; gap: 10px; justify-items: start; padding: 22px; border-radius: var(--ah-r-md); background: var(--ah-forest); color: rgba(251, 248, 242, .85); }
.uc-trend__promo p { margin: 0; } .uc-trend__promo strong { color: #fff; }
.uc-trend__promo .uc-link { color: #e7d3a6 !important; }

/* ---------- Education band ---------- */
.uc-band--edu { background: linear-gradient(180deg, #eef1f7 0%, var(--ah-ivory) 100%); border-block: 1px solid rgba(47, 63, 107, .12); }
.uc-band--edu .uc-kicker { color: var(--uc-indigo); }
.uc-band--edu h2 em { color: var(--uc-indigo); }
.uc-edu__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; margin-bottom: 24px; }
.uc-edu__bar .uc-chips { min-width: 0; max-width: 100%; }
.uc-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: .84rem; color: var(--ah-muted); }

.uc-opp {
    position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 22px; border-radius: var(--ah-r-md);
    background: #fff; border: 1px solid var(--ah-line-strong); box-shadow: var(--ah-shadow-sm); transition: box-shadow .3s var(--ah-ease), transform .3s var(--ah-ease), border-color .3s;
}
.uc-opp:hover { box-shadow: var(--ah-shadow-md); transform: translateY(-2px); border-color: rgba(15, 92, 70, .3); }
.uc-opp::before { content: ""; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--uc-open); }
.uc-opp.is-closing::before { background: var(--uc-closing); } .uc-opp.is-upcoming::before { background: var(--uc-upcoming); } .uc-opp.is-closed::before { background: var(--uc-closed); }
.uc-opp.is-closed { opacity: .78; }
.uc-opp__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.uc-opp__title { margin: 0; font-family: var(--ah-font-display); font-size: clamp(1.25rem, 1.15rem + .35vw, 1.45rem); line-height: 1.2; }
.uc-opp__title a { text-decoration: none; }
.uc-opp__title a:hover { color: var(--ah-emerald); }
.uc-opp__who { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .9rem; color: var(--ah-ink-2); }
.uc-opp__who li { display: flex; align-items: center; gap: 8px; }
.uc-opp__who svg { flex: none; color: var(--ah-gold-600); }
.uc-opp__elig { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--ah-muted); }
.uc-opp__elig strong { color: var(--ah-ink-2); font-weight: 600; }
.uc-opp__facts { display: flex; flex-wrap: wrap; gap: 1px; margin: 0; border-radius: 12px; overflow: hidden; background: var(--ah-line); border: 1px solid var(--ah-line); }
.uc-opp__facts div { flex: 1 1 92px; padding: 9px 12px; background: var(--ah-ivory); }
.uc-opp__facts dt { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ah-muted); }
.uc-opp__facts dd { margin: 2px 0 0; font-size: .9rem; font-weight: 600; color: var(--ah-ink); }
.uc-opp__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.uc-opp__note { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--uc-open); }
.is-closing .uc-opp__note { color: var(--uc-closing); } .is-upcoming .uc-opp__note { color: var(--uc-upcoming); } .is-closed .uc-opp__note { color: var(--uc-closed); }
.uc-opp__actions { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.uc-type--scholarship { color: var(--uc-indigo); background: #e8ecf6; } .uc-type--job { color: var(--uc-teal); background: #e2f0f0; }
.uc-type--opportunity { color: var(--uc-clay); background: #f6ebe4; } .uc-type--event { color: #6b4a07; background: #f6ecd6; }

.uc-trust { display: flex; align-items: flex-start; gap: 12px; margin: 28px 0 0; padding: 16px 20px; border-radius: var(--ah-r-md); background: rgba(255, 255, 255, .7); border: 1px solid var(--ah-line-strong); font-size: .94rem; color: var(--ah-ink-2); }
.uc-trust svg { flex: none; margin-top: 2px; color: var(--ah-emerald); }

/* ---------- Women & girls ---------- */
.uc-women { background: linear-gradient(180deg, #f8eef0 0%, var(--ah-ivory) 100%); }
.uc-women .uc-kicker { color: var(--uc-rose); }
.uc-women h2 em { color: var(--uc-rose); }
.uc-women__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.uc-women__intro { padding: 28px; border-radius: var(--ah-r-lg); background: var(--uc-rose); color: rgba(255, 255, 255, .9); }
.uc-women__quote { color: rgba(255, 255, 255, .45); display: block; margin-bottom: 8px; }
.uc-women__intro p { margin: 0 0 18px; font-family: var(--ah-font-display); font-size: 1.4rem; line-height: 1.3; color: #fff; }
.uc-women__intro ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .94rem; }
.uc-women__intro li { display: flex; align-items: center; gap: 9px; }
.uc-women__intro li svg { color: #f3d3dc; }
.uc-women__lead { display: grid; gap: 18px; }
.uc-women__lead h3 { margin: 8px 0; font-family: var(--ah-font-display); font-size: clamp(1.5rem, 1.25rem + .8vw, 2.1rem); line-height: 1.12; }
.uc-women__lead h3 a { text-decoration: none; } .uc-women__lead h3 a:hover { color: var(--uc-rose); }
.uc-women__lead p { margin: 0; color: var(--ah-muted); }
.uc-women__list .uc-card--mini:first-child { padding-top: 0; }

/* ---------- Careers ---------- */
.uc-careers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.uc-stack { display: grid; gap: 16px; }
.uc-careers .uc-opp { padding: 20px; }

/* ---------- Editorial ---------- */
.uc-editorial__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 3vw, 56px); }
.uc-essay { display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; position: relative; padding: clamp(28px, 3vw, 48px); border-radius: var(--ah-r-lg); background: var(--ah-forest); color: rgba(251, 248, 242, .85); overflow: hidden; }
.uc-essay__mark { position: absolute; right: 24px; top: 20px; color: rgba(231, 211, 166, .25); }
.uc-essay .uc-kicker { color: #e7d3a6; }
.uc-essay h3 { margin: 6px 0 14px; font-family: var(--ah-font-display); font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); line-height: 1.06; color: #fff; }
.uc-essay h3 a { text-decoration: none; } .uc-essay h3 a:hover { color: #e7d3a6; }
.uc-essay__dek { margin: 0 0 26px; font-size: 1.1rem; }
.uc-essay__by { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .88rem; color: var(--ah-muted); }
.uc-essay .uc-essay__by { color: rgba(251, 248, 242, .7); }
.uc-essay .uc-avatar { background: rgba(231, 211, 166, .16); color: #e7d3a6; }
.uc-editorial__list { display: grid; gap: 22px; align-content: start; }
.uc-editorial__list .uc-card { padding-bottom: 22px; border-bottom: 1px solid var(--ah-line); grid-template-columns: minmax(120px, 200px) minmax(0, 1fr); }
.uc-editorial__list .uc-card:last-child { border-bottom: 0; padding-bottom: 0; }
.uc-essay-row { padding: 20px 0; border-bottom: 1px solid var(--ah-line); }
.uc-essay-row .uc-kicker { margin-bottom: 6px; }
.uc-essay-row h3 { margin: 0 0 8px; font-family: var(--ah-font-display); font-size: 1.35rem; line-height: 1.2; }
.uc-essay-row h3 a { text-decoration: none; } .uc-essay-row h3 a:hover { color: var(--ah-emerald); }
.uc-essay-row p { margin: 0 0 8px; font-size: .94rem; color: var(--ah-muted); }

/* ---------- Countries ---------- */
.uc-countries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.uc-countries a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--ah-line-strong); background: var(--ah-ivory); text-decoration: none; transition: all .25s var(--ah-ease); }
.uc-countries a:hover { border-color: var(--ah-emerald); background: #fff; transform: translateY(-2px); box-shadow: var(--ah-shadow-sm); }
.uc-countries strong { display: block; font-size: .98rem; color: var(--ah-ink); line-height: 1.25; }
.uc-countries small { font-size: .8rem; color: var(--ah-muted); }
.uc-countries em { margin-left: auto; font-style: normal; font-size: .8rem; font-weight: 700; color: var(--ah-emerald); background: var(--ah-emerald-50); padding: 2px 9px; border-radius: 999px; }

/* ---------- Assistant ---------- */
.uc-ai { position: relative; isolation: isolate; overflow: hidden; color: rgba(251, 248, 242, .86);
    background: radial-gradient(90% 120% at 100% 0%, #16654e 0%, var(--ah-forest) 50%, var(--ah-forest-900) 100%); }
.uc-ai__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.uc-ai h2 { margin: 0 0 16px; font-family: var(--ah-font-display); font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); line-height: 1.08; color: #fff; }
.uc-ai h2 em { color: #e7d3a6; }
.uc-ai__copy > p { margin: 0; font-size: 1.08rem; }
.uc-ai__points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.uc-ai__points li { display: flex; gap: 10px; align-items: flex-start; }
.uc-ai__points svg { flex: none; margin-top: 4px; color: #e7d3a6; }

.uc-chat { display: flex; flex-direction: column; border-radius: var(--ah-r-lg); background: var(--ah-ivory); color: var(--ah-ink-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); overflow: hidden; }
.uc-chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: #fff; border-bottom: 1px solid var(--ah-line); }
.uc-chat__head strong { display: block; color: var(--ah-ink); line-height: 1.2; }
.uc-chat__head small { font-size: .8rem; color: var(--ah-muted); }
.uc-chat__avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--ah-emerald), var(--ah-forest)); color: #e7d3a6; }
.uc-chat__log { display: flex; flex-direction: column; gap: 12px; padding: 20px; min-height: 160px; max-height: 420px; overflow-y: auto; }
.uc-msg { max-width: 88%; padding: 12px 16px; border-radius: 16px; font-size: .95rem; line-height: 1.55; animation: ucIn .35s var(--ah-ease); }
.uc-msg p { margin: 0; } .uc-msg p + p, .uc-msg p + ul, .uc-msg ul + p { margin-top: 8px; }
.uc-msg ul { margin: 0; padding-left: 1.1em; }
.uc-msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--ah-line); border-top-left-radius: 4px; }
.uc-msg--me { align-self: flex-end; background: var(--ah-emerald); color: #fff; border-top-right-radius: 4px; }
.uc-msg__results { display: grid; gap: 8px; margin-top: 10px; }
.uc-msg__results a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--ah-ivory); border: 1px solid var(--ah-line); text-decoration: none; transition: border-color .2s; }
.uc-msg__results a:hover { border-color: var(--ah-emerald); }
.uc-msg__results b { font-weight: 600; color: var(--ah-ink); line-height: 1.3; }
.uc-msg__results small { font-size: .78rem; color: var(--ah-muted); }
.uc-msg__more { display: inline-flex; margin-top: 10px; font-weight: 600; color: var(--ah-emerald) !important; }
.uc-msg__fine { font-size: .78rem; color: var(--ah-muted); }
.uc-typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.uc-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ah-muted); animation: ucDot 1s infinite ease-in-out; }
.uc-typing i:nth-child(2) { animation-delay: .15s; } .uc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ucDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes ucIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.uc-chat__prompts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 16px; }
.uc-chat__prompts button { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--ah-line-strong); background: #fff; color: var(--ah-ink-2); font-size: .84rem; text-align: left; transition: all .2s; }
.uc-chat__prompts button:hover { border-color: var(--ah-emerald); color: var(--ah-emerald); }
.uc-chat__form { display: flex; gap: 8px; padding: 12px; background: #fff; border-top: 1px solid var(--ah-line); }
.uc-chat__form input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid var(--ah-line-strong); border-radius: 12px; font: inherit; color: var(--ah-ink); background: var(--ah-ivory); outline: 0; }
.uc-chat__form input:focus { border-color: var(--ah-emerald); box-shadow: 0 0 0 3px rgba(15, 92, 70, .12); background: #fff; }
.uc-chat__form button { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--ah-emerald); color: #fff; }
.uc-chat__form button:hover { background: var(--ah-forest); }

/* ---------- Newsletter ---------- */
.uc-news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 72px); align-items: center; padding: clamp(28px, 4vw, 60px); border-radius: var(--ah-r-xl); background: #fff; border: 1px solid var(--ah-line-strong); box-shadow: var(--ah-shadow-md); }
.uc-news__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 16px; background: var(--ah-gold-soft); color: var(--ah-gold-600); }
.uc-news h2 { margin: 0 0 12px; font-family: var(--ah-font-display); font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); line-height: 1.08; }
.uc-news__copy p { margin: 0; color: var(--ah-muted); font-size: 1.05rem; }
.uc-news__topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; border: 0; }
.uc-news__topics legend { width: 100%; margin-bottom: 10px; font-weight: 600; color: var(--ah-ink); font-size: .95rem; }
.uc-news__topics label { cursor: pointer; }
.uc-news__topics input { position: absolute; opacity: 0; pointer-events: none; }
.uc-news__topics span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--ah-line-strong); font-size: .88rem; transition: all .2s; }
.uc-news__topics input:checked + span { background: var(--ah-emerald-50); border-color: var(--ah-emerald); color: var(--ah-emerald); font-weight: 600; }
.uc-news__topics input:focus-visible + span { outline: 2px solid var(--ah-gold); outline-offset: 2px; }
.uc-news__row { display: flex; gap: 10px; align-items: flex-start; }
.uc-news__row .uc-field { flex: 1; margin: 0; }
.uc-news__row .ah-btn { min-height: 52px; }
.uc-news__fine { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 12px 0 0; font-size: .84rem; color: var(--ah-muted); }
.uc-news__fine a { color: var(--ah-emerald); }
.uc-news__done { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 14px 16px; border-radius: 12px; background: #e3f3ea; color: #1b5e3c; font-size: .94rem; }
.uc-news__done svg { flex: none; margin-top: 2px; }

/* ---------- Form fields (shared) ---------- */
.uc-field { display: grid; gap: 6px; margin-bottom: 16px; }
.uc-field label { font-size: .9rem; font-weight: 600; color: var(--ah-ink); }
.uc-field .req { color: var(--uc-err); }
.uc-field input, .uc-field select, .uc-field textarea {
    width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--ah-line-strong); border-radius: 12px;
    font: inherit; font-size: 1rem; color: var(--ah-ink); background: #fff; outline: 0; transition: border-color .2s, box-shadow .2s;
}
.uc-field textarea { min-height: 110px; resize: vertical; }
.uc-field input:focus, .uc-field select:focus, .uc-field textarea:focus { border-color: var(--ah-emerald); box-shadow: 0 0 0 3px rgba(15, 92, 70, .12); }
.uc-field.is-invalid input, .uc-field.is-invalid select, .uc-field.is-invalid textarea { border-color: var(--uc-err); }
.uc-field .f-err { margin: 0; font-size: .86rem; color: var(--uc-err); }
.uc-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }

/* ---------- Closing CTA ---------- */
.uc-cta { padding-bottom: clamp(56px, 6.5vw, 104px); }
.uc-cta__inner { position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; text-align: center;
    padding: clamp(48px, 6vw, 96px) clamp(20px, 4vw, 64px); border-radius: var(--ah-r-xl); color: rgba(251, 248, 242, .86);
    background: radial-gradient(120% 120% at 50% 0%, #1d7d60 0%, var(--ah-emerald) 30%, var(--ah-forest) 70%, var(--ah-forest-900) 100%); box-shadow: var(--ah-shadow-lg); }
.uc-cta h2 { margin: 0; max-width: 18ch; font-family: var(--ah-font-display); font-size: clamp(2.3rem, 1.5rem + 3vw, 4.4rem); line-height: 1.04; color: #fff; }
.uc-cta h2 em { color: #e7d3a6; }
.uc-cta p { max-width: 60ch; margin: 18px 0 0; font-size: 1.1rem; }
.uc-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }

/* ---------- Dialogs & toast ---------- */
.uc-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--ah-r-lg); background: #fff; color: var(--ah-ink-2); box-shadow: var(--ah-shadow-lg); font-family: var(--ah-font-body); }
.uc-dialog::backdrop { background: rgba(6, 37, 25, .55); backdrop-filter: blur(3px); }
.uc-dialog[open] { animation: ucIn .3s var(--ah-ease); }
.uc-dialog__box { display: flex; flex-direction: column; max-height: inherit; }
.uc-dialog__head { display: flex; align-items: flex-start; gap: 14px; padding: 22px 22px 16px; border-bottom: 1px solid var(--ah-line); }
.uc-dialog__head h2 { margin: 0; font-family: var(--ah-font-display); font-size: 1.7rem; line-height: 1.1; color: var(--ah-ink); }
.uc-dialog__head p { margin: 4px 0 0; font-size: .88rem; color: var(--ah-muted); }
.uc-dialog__head p strong { color: var(--ah-ink-2); }
.uc-dialog__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ah-emerald-50); color: var(--ah-emerald); }
.uc-dialog__close { margin-left: auto; flex: none; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 10px; background: var(--ah-ivory-2); color: var(--ah-ink-2); }
.uc-dialog__close:hover { background: var(--ah-emerald-50); color: var(--ah-emerald); }
.uc-dialog__body { padding: 20px 22px 24px; overflow-y: auto; }
.uc-dialog__fine { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 16px; font-size: .84rem; color: var(--ah-muted); }
.uc-dialog__fine a { color: var(--ah-emerald); }
.uc-dialog__done { display: grid; justify-items: center; gap: 8px; padding: 34px 26px 30px; text-align: center; }
.uc-dialog__done h3 { margin: 6px 0 0; font-family: var(--ah-font-display); font-size: 1.6rem; color: var(--ah-ink); }
.uc-dialog__done p { margin: 0 0 12px; color: var(--ah-muted); }
.uc-done-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #e3f3ea; color: var(--uc-open); }
.uc-done-icon.is-muted { background: var(--ah-ivory-2); color: var(--ah-muted); }
.uc-dialog--side { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(440px, 100%); border-radius: var(--ah-r-lg) 0 0 var(--ah-r-lg); }
.uc-saved { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.uc-saved li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--ah-line-strong); }
.uc-saved a { flex: 1; display: grid; gap: 3px; text-decoration: none; }
.uc-saved a b { font-weight: 600; color: var(--ah-ink); line-height: 1.3; }
.uc-saved a small { font-size: .8rem; color: var(--ah-muted); }
.uc-saved__empty { display: grid; justify-items: center; gap: 12px; padding: 30px 10px; text-align: center; color: var(--ah-muted); }
.uc-saved__empty p { margin: 0; }
.uc-saved__empty svg { vertical-align: -2px; }
.uc-toast { position: fixed; left: 50%; bottom: 24px; z-index: 1100; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 12px; background: var(--ah-forest-900); color: #fff; font-size: .94rem; box-shadow: var(--ah-shadow-lg); animation: ucIn .3s var(--ah-ease); }

/* =====================================================================
   SEARCH / TOPIC / COUNTRY PAGES
   ===================================================================== */
.uc-search-title { max-width: 22ch; }
.uc-results { padding-block: clamp(28px, 3vw, 48px) clamp(56px, 6vw, 96px); }
.uc-suggest { margin: 14px 0 0; display: grid; gap: 8px; }
.uc-suggest p { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: .88rem; }
.uc-suggest p > span:first-child { color: var(--ah-muted); font-weight: 600; }
.uc-suggest a, .uc-suggest [data-uc-recent-list] a { padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--ah-line-strong); color: var(--ah-ink-2); text-decoration: none; }
.uc-suggest a:hover { border-color: var(--ah-emerald); color: var(--ah-emerald); }
[data-uc-recent-list] { display: contents; }
.uc-results__grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(24px, 3vw, 40px); align-items: start; }
.uc-filters { position: sticky; top: calc(var(--ah-header-h) + var(--uc-catbar-h) + 20px); }
.uc-filters__box { border-radius: var(--ah-r-md); background: #fff; border: 1px solid var(--ah-line-strong); }
.uc-filters__box summary { display: flex; align-items: center; gap: 8px; padding: 16px 18px; font-weight: 700; color: var(--ah-ink); list-style: none; cursor: pointer; }
.uc-filters__box summary::-webkit-details-marker { display: none; }
.uc-filters__box summary em { font-style: normal; font-size: .75rem; min-width: 20px; padding: 1px 7px; border-radius: 999px; background: var(--ah-emerald); color: #fff; text-align: center; }
.uc-filters__body { display: grid; gap: 18px; padding: 4px 18px 20px; border-top: 1px solid var(--ah-line); }
.uc-filters fieldset { margin: 0; padding: 14px 0 0; border: 0; display: grid; gap: 2px; }
.uc-filters legend, .uc-filters__field label { margin-bottom: 6px; padding: 0; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ah-muted); }
.uc-filters__field { display: grid; }
.uc-filters select, .uc-toolbar select { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--ah-line-strong); border-radius: 10px; font: inherit; font-size: .95rem; color: var(--ah-ink); background: #fff; }
.uc-opt { display: flex; align-items: center; gap: 10px; padding: 6px 8px; margin: 0 -8px; border-radius: 8px; cursor: pointer; font-size: .95rem; }
.uc-opt:hover { background: var(--ah-ivory); }
.uc-opt input { accent-color: var(--ah-emerald); width: 17px; height: 17px; margin: 0; }
.uc-opt span { display: inline-flex; align-items: center; gap: 7px; }
.uc-opt span svg { color: var(--ah-gold-600); }
.uc-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--ah-line); }
.uc-toolbar__count { margin: 0; color: var(--ah-muted); } .uc-toolbar__count strong { color: var(--ah-ink); }
.uc-toolbar__sort { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--ah-muted); }
.uc-toolbar__sort select { width: auto; }
.uc-active { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.uc-active a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--ah-emerald-50); color: var(--ah-emerald); font-size: .88rem; font-weight: 600; text-decoration: none; }
.uc-active a:hover { background: var(--ah-emerald); color: #fff; }
.uc-list { display: grid; gap: 18px; margin-top: 22px; }
.uc-list > .uc-card--row { padding: 18px; border-radius: var(--ah-r-md); background: #fff; border: 1px solid var(--ah-line-strong); grid-template-columns: minmax(140px, 240px) minmax(0, 1fr); }
.uc-empty { display: grid; justify-items: center; gap: 10px; margin-top: 24px; padding: clamp(28px, 4vw, 48px); border-radius: var(--ah-r-lg); background: #fff; border: 1px dashed var(--ah-line-strong); text-align: center; }
.uc-empty h2 { margin: 6px 0 0; font-family: var(--ah-font-display); font-size: 1.9rem; }
.uc-empty > p { margin: 0; max-width: 54ch; color: var(--ah-muted); }
.uc-empty__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 10px 0 24px; }
.uc-empty .uc-list { width: 100%; text-align: left; margin-top: 0; }

/* =====================================================================
   DETAIL PAGE
   ===================================================================== */
.uc-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 22px; font-size: .88rem; color: var(--ah-muted); }
.uc-crumbs a { color: var(--ah-emerald); text-decoration: none; } .uc-crumbs a:hover { text-decoration: underline; }
.uc-ahead { padding-block: clamp(28px, 4vw, 56px) clamp(20px, 2.4vw, 32px); }
.uc-ahead__labels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.uc-ahead__title { margin: 16px 0 0; max-width: 24ch; font-family: var(--ah-font-display); font-size: clamp(2.3rem, 1.4rem + 3vw, 4.4rem); line-height: 1.04; letter-spacing: -.012em; }
.uc-ahead__dek { margin: 16px 0 0; max-width: 62ch; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.55; color: var(--ah-muted); }
.uc-ahead__bar { display: flex; align-items: center; justify-content: space-between; gap: 18px 24px; flex-wrap: wrap; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--ah-line); }
.uc-ahead__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 28px; }
.uc-ahead__meta li { display: flex; align-items: center; gap: 10px; font-size: .94rem; font-weight: 600; color: var(--ah-ink); }
.uc-ahead__meta small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ah-muted); }
.uc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.uc-act, .uc-actions .uc-save { white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; border: 1px solid var(--ah-line-strong); border-radius: 12px; background: #fff; color: var(--ah-ink-2); font-size: .9rem; font-weight: 600; }
.uc-act:hover { border-color: var(--ah-emerald); color: var(--ah-emerald); }
.uc-ahead__cover { margin-bottom: clamp(28px, 3vw, 48px); }

.uc-read { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(28px, 4vw, 80px); align-items: start; padding-bottom: clamp(48px, 6vw, 96px); }
.uc-read__main { min-width: 0; max-width: 820px; }
.uc-read__side { display: grid; gap: 18px; position: sticky; top: calc(var(--ah-header-h) + var(--uc-catbar-h) + 20px); max-height: calc(100vh - var(--ah-header-h) - var(--uc-catbar-h) - 40px); overflow-y: auto; scrollbar-width: thin; padding-bottom: 4px; }

.uc-facts { margin-bottom: 32px; padding: 22px 24px; border-radius: var(--ah-r-md); background: #fff; border: 1px solid var(--ah-line-strong); box-shadow: var(--ah-shadow-sm); }
.uc-facts__title { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-family: var(--ah-font-body) !important; font-size: 1rem !important; color: var(--ah-ink); }
.uc-facts__title svg { color: var(--ah-emerald); }
.uc-facts dl { display: flex; flex-wrap: wrap; gap: 1px; margin: 0; border-radius: 12px; overflow: hidden; background: var(--ah-line); border: 1px solid var(--ah-line); }
.uc-facts dl div { flex: 1 1 150px; padding: 12px 14px; background: var(--ah-ivory); }
.uc-facts dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ah-muted); }
.uc-facts dd { margin: 3px 0 0; font-weight: 600; color: var(--ah-ink); }
.uc-facts__elig { margin-top: 14px; font-size: .95rem; color: var(--ah-ink-2); }

.uc-toc-m { display: none; margin-bottom: 24px; border-radius: var(--ah-r-md); border: 1px solid var(--ah-line-strong); background: #fff; }
.uc-toc-m summary { display: flex; align-items: center; gap: 8px; padding: 14px 16px; font-weight: 600; color: var(--ah-ink); cursor: pointer; }
.uc-toc-m ol { margin: 0; padding: 0 16px 16px 40px; display: grid; gap: 6px; }
.uc-toc-m a { color: var(--ah-emerald); }

.uc-prose { font-size: clamp(1.05rem, 1rem + .2vw, 1.15rem); line-height: 1.78; color: var(--ah-ink-2); }
.uc-prose > * + * { margin-top: 1.1em; }
.uc-prose h2 { margin-top: 1.9em; font-family: var(--ah-font-display); font-size: clamp(1.6rem, 1.3rem + .9vw, 2.1rem); line-height: 1.15; }
.uc-prose ul { padding-left: 1.2em; list-style: disc; }
.uc-prose ul li + li, .uc-prose ol li + li { margin-top: .4em; }
.uc-prose ul li::marker { color: var(--ah-gold-600); }
.uc-steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 12px; }
.uc-steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 60px; border-radius: 12px; background: #fff; border: 1px solid var(--ah-line); }
.uc-steps li + li { margin-top: 0 !important; }
.uc-steps li::before { content: counter(s); position: absolute; left: 14px; top: 12px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ah-emerald); color: #fff; font-weight: 700; font-size: .9rem; }
.uc-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--ah-gold); }
.uc-prose blockquote p { margin: 0; font-family: var(--ah-font-display); font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); font-style: italic; line-height: 1.3; color: var(--ah-ink); }
.uc-prose blockquote cite { display: block; margin-top: 10px; font-size: .9rem; font-style: normal; color: var(--ah-muted); }
.uc-callout { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; background: var(--ah-emerald-50); color: var(--ah-forest); font-size: 1rem; line-height: 1.6; }
.uc-callout svg { flex: none; margin-top: 4px; color: var(--ah-emerald); }

.uc-verify { margin-top: 40px; padding: 22px 24px; border-radius: var(--ah-r-md); background: var(--ah-ivory-2); border: 1px solid var(--ah-line-strong); }
.uc-verify h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-family: var(--ah-font-body) !important; font-size: 1rem !important; }
.uc-verify h2 svg { color: var(--ah-emerald); }
.uc-verify dl { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0 0 12px; }
.uc-verify dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ah-muted); }
.uc-verify dd { margin: 3px 0 0; font-weight: 600; color: var(--ah-ink); }
.uc-verify p { margin: 0; font-size: .92rem; color: var(--ah-muted); }

.uc-engage { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-top: 28px; padding-block: 18px; border-block: 1px solid var(--ah-line); }
.uc-helpful, .uc-shareto { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .92rem; }
.uc-helpful > span, .uc-shareto > span { font-weight: 600; color: var(--ah-ink); margin-right: 4px; }
.uc-helpful button, .uc-shareto a, .uc-shareto button { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 13px; border: 1px solid var(--ah-line-strong); border-radius: 10px; background: #fff; color: var(--ah-ink-2); font-size: .88rem; font-weight: 600; text-decoration: none; }
.uc-helpful button:hover, .uc-shareto a:hover, .uc-shareto button:hover { border-color: var(--ah-emerald); color: var(--ah-emerald); }
.uc-helpful button[aria-pressed="true"] { background: var(--ah-emerald); border-color: var(--ah-emerald); color: #fff; }
.uc-helpful__thanks { color: var(--uc-open); font-weight: 600; }

.uc-assist { margin-top: 32px; border-radius: var(--ah-r-lg); background: #fff; border: 1px solid var(--ah-line-strong); box-shadow: var(--ah-shadow-sm); overflow: hidden; }
.uc-assist header { display: flex; gap: 14px; align-items: flex-start; padding: 22px 22px 0; }
.uc-assist h2 { margin: 0; font-family: var(--ah-font-display); font-size: clamp(1.5rem, 1.3rem + .6vw, 1.9rem); line-height: 1.15; }
.uc-assist header p { margin: 4px 0 0; font-size: .92rem; color: var(--ah-muted); }
.uc-assist__actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 22px; }
.uc-assist__actions button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--ah-line-strong); background: var(--ah-ivory); color: var(--ah-ink-2); font-size: .9rem; font-weight: 500; }
.uc-assist__actions button svg { color: var(--ah-emerald); }
.uc-assist__actions button:hover { border-color: var(--ah-emerald); color: var(--ah-emerald); background: #fff; }
.uc-assist__log { background: var(--ah-ivory); border-top: 1px solid var(--ah-line); max-height: 460px; }
.uc-chat__form--light { background: #fff; }

.uc-inquire { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; margin-top: 24px; padding: 24px; border-radius: var(--ah-r-lg); background: var(--ah-emerald-50); border: 1px solid rgba(15, 92, 70, .18); }
.uc-inquire h2 { margin: 0 0 4px; font-family: var(--ah-font-display); font-size: 1.6rem; }
.uc-inquire p { margin: 0; color: var(--ah-ink-2); font-size: .95rem; max-width: 52ch; }
.uc-inquire__btns { display: flex; flex-wrap: wrap; gap: 10px; }

.uc-side { padding: 20px; border-radius: var(--ah-r-md); background: #fff; border: 1px solid var(--ah-line-strong); }
.uc-side__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-family: var(--ah-font-body) !important; font-size: .95rem !important; color: var(--ah-ink); }
.uc-side__title svg { color: var(--ah-gold-600); }
.uc-side__text { margin: 0 0 14px; font-size: .92rem; color: var(--ah-muted); }
.uc-apply { display: grid; gap: 12px; justify-items: start; border-top: 4px solid var(--uc-open); }
.uc-apply.is-closing { border-top-color: var(--uc-closing); } .uc-apply.is-upcoming { border-top-color: var(--uc-upcoming); } .uc-apply.is-closed { border-top-color: var(--uc-closed); }
.uc-apply__date { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--ah-font-display); font-size: 1.45rem; font-weight: 600; color: var(--ah-ink); line-height: 1.2; }
.uc-apply__org { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .9rem; color: var(--ah-muted); }
.uc-apply .ah-btn { width: 100%; }
.uc-apply .ah-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.uc-apply .uc-textbtn { justify-self: center; font-size: .86rem; }
.uc-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--ah-line); }
.uc-toc a { display: block; margin-left: -2px; padding: 6px 12px; border-left: 2px solid transparent; font-size: .92rem; color: var(--ah-ink-2); text-decoration: none; line-height: 1.35; }
.uc-toc a:hover { color: var(--ah-emerald); }
.uc-toc a.is-active { border-left-color: var(--ah-emerald); color: var(--ah-emerald); font-weight: 600; }
.uc-side__ranked { list-style: none; margin: 0; padding: 0; counter-reset: r; display: grid; }
.uc-side__ranked li { counter-increment: r; display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ah-line); }
.uc-side__ranked li:last-child { border-bottom: 0; padding-bottom: 0; }
.uc-side__ranked li::before { content: counter(r); flex: none; font-family: var(--ah-font-display); font-size: 1.5rem; font-weight: 600; line-height: 1; color: var(--ah-gold); }
.uc-side__ranked a { display: grid; gap: 2px; text-decoration: none; font-size: .94rem; font-weight: 500; line-height: 1.35; color: var(--ah-ink); }
.uc-side__ranked a:hover { color: var(--ah-emerald); }
.uc-side__ranked span { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ah-gold-600); }
.uc-side__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.uc-side__links a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin-inline: -10px; border-radius: 10px; font-size: .94rem; color: var(--ah-ink-2); text-decoration: none; }
.uc-side__links a:hover { background: var(--ah-emerald-50); color: var(--ah-emerald); }
.uc-side__links svg { color: var(--ah-gold-600); }

.uc-apply-m { display: none; }
@media (max-width: 1080px) {
    .uc-apply-m { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: -12px 0 28px; padding: 14px 16px; border-radius: var(--ah-r-md); background: #fff; border: 1px solid var(--ah-line-strong); }
    .uc-apply-m p { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; color: var(--ah-ink); }
    .uc-apply-m .ah-btn { flex: 1 1 200px; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1280px) {
    .uc-women__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .uc-women__intro { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: start; }
    .uc-women__intro .uc-women__quote { grid-row: span 2; }
    .uc-women__intro ul { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (max-width: 1280px) { .uc-women__row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .uc-women__row .uc-women__intro { grid-column: 1 / -1; } }
@media (max-width: 1080px) {
    .uc-hero__inner { grid-template-columns: 1fr; }
    .uc-hero__feature { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
    .uc-feature { grid-template-columns: 1fr; }
    .uc-feature__side { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
    .uc-feature__side .uc-card { grid-template-columns: 1fr; border-bottom: 0; padding-bottom: 0; }
    .uc-trend { grid-template-columns: 1fr; }
    .uc-trend__side { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
    .uc-trend__side h3 { grid-column: 1 / -1; margin-bottom: -10px; }
    .uc-careers { grid-template-columns: 1fr; }
    .uc-editorial__grid { grid-template-columns: 1fr; }
    .uc-ai__grid { grid-template-columns: 1fr; }
    .uc-news { grid-template-columns: 1fr; }
    .uc-results__grid { grid-template-columns: 1fr; }
    .uc-filters { position: static; }
    .uc-filters__box:not([open]) { background: #fff; }
    .uc-filters__body { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); align-items: start; column-gap: 28px; }
    .uc-read { grid-template-columns: 1fr; }
    .uc-read__main { max-width: none; }
    .uc-read__side { position: static; max-height: none; overflow: visible; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); align-items: start; }
    .uc-read__side .uc-toc { display: none; }
    .uc-toc-m { display: block; }
    .uc-apply { display: none !important; }
}
@media (max-width: 760px) {
    .uc { --uc-catbar-h: 54px; }
    .uc-hero__inner { padding-top: 28px; }
    .uc-hero__feature { grid-template-columns: 1fr; }
    .uc-hero__also { display: none; }
    .uc-pillar small { display: none; }
    .uc-pillar__icon { width: 38px; height: 38px; }
    .uc-search { padding-left: 44px; }
    .uc-search__icon { left: 14px; }
    .uc-search input { height: 46px; font-size: 1rem; }
    .uc-search .ah-btn { min-height: 46px; padding-inline: 1.1em; }
    .uc-catbar__scroll a span { font-size: .88rem; }
    .uc-catbar__tools { padding-left: 6px; gap: 4px; }
    .uc-catbar__tool { width: 38px; height: 38px; }
    .uc-card--row, .uc-list > .uc-card--row { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; }
    .uc-list > .uc-card--row { padding: 14px; }
    .uc-card--row .uc-card__dek { display: none; }
    .uc-feature__side .uc-card { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; }
    .uc-grid--news, .uc-grid--four, .uc-grid--latest { gap: 0; }
    .uc-editorial__list .uc-card { grid-template-columns: 110px minmax(0, 1fr); }
    .uc-grid--news .uc-card:not(:first-child), .uc-grid--four .uc-card:not(:first-child), .uc-grid--latest .uc-card:not(:first-child) { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding-block: 18px; border-top: 1px solid var(--ah-line); }
    .uc-grid--news .uc-card:first-child, .uc-grid--four .uc-card:first-child, .uc-grid--latest .uc-card:first-child { padding-bottom: 18px; }
    .uc-grid .uc-card:not(:first-child) .uc-cover { aspect-ratio: 1; border-radius: 12px; }
    .uc-grid .uc-card:not(:first-child) .uc-card__dek { display: none; }
    .uc-grid .uc-card:not(:first-child) .uc-card__title { font-size: 1.12rem; }
    .uc-grid .uc-card:not(:first-child) .uc-cover__place, .uc-card--row .uc-cover__place, .uc-feature__side .uc-cover__place { display: none; }
    .uc-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .uc-pillar { flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px; text-align: center; }
    .uc-pillar strong { font-size: .88rem; }
    .uc-act, .uc-actions .uc-save { font-size: .84rem; gap: 5px; }
    .uc-card--row .uc-card__title { font-size: 1.12rem; }
    .uc-trend__side { grid-template-columns: 1fr; }
    .uc-trend__side h3 { margin-bottom: 0; }
    .uc-ranked__n { font-size: 1.8rem; }
    .uc-women__grid { grid-template-columns: 1fr; }
    .uc-women__row { grid-template-columns: 1fr; gap: 0; }
    .uc-women__row .uc-women__intro { margin-bottom: 18px; }
    .uc-women__row .uc-card:not(:nth-child(2)) { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding-block: 16px; border-top: 1px solid var(--ah-line); }
    .uc-women__row .uc-card:not(:nth-child(2)) .uc-cover { aspect-ratio: 1; }
    .uc-women__row .uc-card:not(:nth-child(2)) .uc-card__dek, .uc-women__row .uc-cover__place { display: none; }
    .uc-women__row .uc-card:nth-child(2) { padding-bottom: 16px; }
    .uc-grid--latest { grid-template-columns: 1fr; }
    .uc-countries-strip .uc-countries { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--ah-gutter)); padding-inline: var(--ah-gutter); }
    .uc-countries-strip .uc-countries li { flex: none; }
    .uc-women__intro { display: block; padding: 22px; }
    .uc-women__intro p { font-size: 1.25rem; }
    .uc-news__row { flex-direction: column; align-items: stretch; }
    .uc-field-row { grid-template-columns: 1fr; }
    .uc-chat__log { max-height: 360px; padding: 16px; }
    .uc-chat__prompts { padding-inline: 16px; }
    .uc-msg { max-width: 94%; }
    .uc-opp { padding: 18px; }
    .uc-ahead__meta { gap: 12px 20px; }
    .uc-ahead__bar { align-items: flex-start; }
    .uc-actions { width: 100%; }
    .uc-act, .uc-actions .uc-save { flex: 1; justify-content: center; padding-inline: 10px; }
    .uc-inquire__btns, .uc-inquire__btns .ah-btn { width: 100%; }
    .uc-cta__btns { width: 100%; flex-direction: column; } .uc-cta__btns .ah-btn { width: 100%; }
    .uc-toolbar__sort { width: 100%; } .uc-toolbar__sort select { flex: 1; }
    .uc-dialog--side { width: 100%; border-radius: 0; }
    .uc-engage { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
    .uc-search .ah-btn { padding-inline: .9em; }
    .uc-card--row, .uc-list > .uc-card--row { grid-template-columns: 88px minmax(0, 1fr); }
    .uc-cover__place { display: none; }
    .uc-card--row .uc-cover__place { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .uc *, .uc *::before { animation: none !important; transition: none !important; }
}
.uc-msgpage { display: grid; justify-items: center; gap: 22px; padding-block: clamp(40px, 6vw, 80px); text-align: center; }
.uc-msgpage p { margin: 0; max-width: 56ch; font-size: 1.12rem; color: var(--ah-ink-2); }
.uc-msg__follow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.uc-msg__follow button { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--ah-line-strong); background: var(--ah-ivory); color: var(--ah-emerald); font-size: .82rem; text-align: left; }
.uc-msg__follow button:hover { border-color: var(--ah-emerald); }
.uc-aibox { display: flex; gap: 14px; align-items: flex-start; margin-top: 20px; padding: 18px 20px; border-radius: var(--ah-r-md); background: linear-gradient(135deg, #eef6f2, #fff); border: 1px solid rgba(15, 92, 70, .2); }
.uc-aibox strong { display: block; color: var(--ah-ink); }
.uc-aibox p { margin: 4px 0 6px; color: var(--ah-ink-2); }
.uc-aibox small { color: var(--ah-muted); font-size: .8rem; }
.uc-sample--admin { background: #ede9fe; border-color: #ddd6fe; color: #4c1d95; }
.uc-ahead__cover { margin-inline: auto; }
.uc-credit { margin-top: 8px; font-size: .8rem; color: var(--ah-muted); text-align: right; }
.uc-cover__ai { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 6px; font-size: .66rem; font-weight: 700; letter-spacing: .04em; color: #fff; background: rgba(0, 0, 0, .35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

/* ── Life & values direction ─────────────────────────────── */
.uc-grid--three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }
@media (max-width: 900px) { .uc-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .uc-grid--three { grid-template-columns: 1fr; } }
.uc-marriage__cta { margin-top: 14px; display: inline-flex; gap: 8px; align-items: center; }
.uc-life-cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 24px; align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: var(--ah-r-lg);
    background: linear-gradient(135deg, var(--uc-forest, #0b3b2e), var(--uc-emerald, #0f5c46)); color: #fff; margin-top: clamp(24px, 3vw, 40px); }
.uc-life-cta__ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #f1d38c; }
.uc-life-cta h3 { margin: 0 0 6px; font-family: var(--ah-font-display); font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); color: #fff; }
.uc-life-cta p { margin: 0; color: rgba(255, 255, 255, .86); line-height: 1.55; }
.uc-life-cta__btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 760px) { .uc-life-cta { grid-template-columns: 1fr; } .uc-life-cta__ico { display: none; } }

/* Standard banner (same as About Us / Success Stories) */
.uc .ab-crumbs a { color: #e7d3a6; }
.uc .ab-crumbs a:hover { color: #fff; }
#ucTitle { max-width: 30ch; text-wrap: balance; font-size: clamp(2.4rem, 1.2rem + 3.4vw, 4.8rem); }

/* Buttons keep their own text colour inside Ummah Connect (".uc a" would otherwise inherit) */
.uc a.ah-btn { color: var(--_fg); }

/* ── Newsletter result pages (subscribed / unsubscribed / invalid link) ── */
.uc-notehero .ab-hero__inner { justify-content: flex-start !important; padding-top: clamp(40px, 6vh, 64px) !important; padding-bottom: clamp(110px, 14vh, 150px) !important; }
.uc-note { position: relative; z-index: 2; margin-top: -72px; padding-bottom: clamp(48px, 6vw, 88px); }
.uc-note__card { max-width: 760px; margin-inline: auto; padding: clamp(28px, 4vw, 52px); border-radius: var(--ah-r-lg, 24px); text-align: center;
    background: #fff; border: 1px solid var(--ah-line); box-shadow: 0 30px 70px -36px rgba(11, 59, 46, .45); }
.uc-note__icon { width: 72px; height: 72px; margin: calc(-1 * clamp(28px, 4vw, 52px) - 36px) auto 18px; display: grid; place-items: center; border-radius: 50%;
    color: #fff; background: linear-gradient(135deg, var(--ah-emerald), var(--ah-forest)); box-shadow: 0 0 0 8px #fff, 0 16px 30px -12px rgba(15, 92, 70, .55); }
.uc-note__card--unsubscribed .uc-note__icon { background: linear-gradient(135deg, #a8844a, #7a5c2e); }
.uc-note__card--invalid .uc-note__icon { background: linear-gradient(135deg, #c2410c, #9a3412); }
.uc-note__lead { margin: 0 0 10px; font-family: var(--ah-font-display); font-weight: 600; font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); line-height: 1.15; color: var(--ah-ink); }
.uc-note__text { margin: 0 auto; max-width: 52ch; font-size: 1.08rem; line-height: 1.65; color: var(--ah-ink-2, #3b4a44); }
.uc-note__email { display: inline-flex; gap: 8px; align-items: center; margin: 16px 0 0; padding: 7px 14px; border-radius: 999px; background: var(--ah-ivory, #faf7f0); border: 1px solid var(--ah-line); font-size: .92rem; color: var(--ah-muted); }
.uc-note__perks { list-style: none; margin: clamp(24px, 3vw, 34px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; text-align: left; }
.uc-note__perks li { padding: 18px; border-radius: 16px; background: var(--ah-ivory, #faf7f0); border: 1px solid var(--ah-line); display: grid; gap: 6px; align-content: start; }
.uc-note__perks span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(15, 92, 70, .1); color: var(--ah-emerald); margin-bottom: 4px; }
.uc-note__perks b { font-size: 1rem; color: var(--ah-ink); }
.uc-note__perks small { font-size: .9rem; line-height: 1.5; color: var(--ah-muted); }
.uc-note__topics { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin-top: 18px; font-size: .9rem; color: var(--ah-muted); }
.uc-note__topics em { font-style: normal; padding: 5px 12px; border-radius: 999px; background: rgba(15, 92, 70, .08); color: var(--ah-emerald); font-weight: 600; }
.uc-note__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: clamp(24px, 3vw, 34px); }
.uc-note__fine { display: flex; gap: 7px; align-items: center; justify-content: center; margin: 18px 0 0; font-size: .88rem; color: var(--ah-muted); }
.uc-note__fine a { color: var(--ah-emerald); font-weight: 600; }
@media (max-width: 760px) {
    .uc-note__perks { grid-template-columns: 1fr; }
    .uc-note__actions .ah-btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
}

/* Article header: title and details on the left, the article's picture on the right */
.uc-ahead { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-bottom: clamp(32px, 4vw, 56px); }
.uc-ahead__text { min-width: 0; }
.uc-ahead__title { max-width: none; font-size: clamp(2.1rem, 1.2rem + 2.4vw, 3.7rem); }
.uc-ahead__dek { max-width: 56ch; }
.uc-ahead__media { margin: 0; min-width: 0; }
.uc-cover--side { aspect-ratio: 4 / 3; border-radius: var(--ah-r-lg); box-shadow: 0 30px 60px -34px rgba(11, 59, 46, .45); }
.uc-cover--side .uc-cover__icon { width: 46%; bottom: -14%; right: 6%; }
.uc-ahead__media .uc-credit { margin-top: 10px; }
@media (max-width: 1000px) {
    .uc-ahead { grid-template-columns: 1fr; }
    .uc-cover--side { aspect-ratio: 16 / 9; }
}

/* Pop-ups: always centred on screen (a global reset removed the browser's automatic centring) */
dialog.uc-dialog:not(.uc-dialog--side) { position: fixed; inset: 0; margin: auto; height: fit-content; }
@media (max-width: 600px) {
    dialog.uc-dialog:not(.uc-dialog--side) { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 22px 22px 0 0; max-height: 92dvh; }
}

/* byline links to the editorial policy */
.uc-byline { color: inherit; text-decoration: none; border-bottom: 1px dashed currentColor; }
.uc-byline:hover { color: var(--ah-emerald, #0f5c46); }

/* An-Nikah invitation inside articles (guests only) */
.uc-midcta { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; align-items: start; margin: 32px 0; padding: 20px 22px; border-radius: var(--ah-r-md);
    background: linear-gradient(135deg, var(--ah-forest, #0b3b2e), var(--ah-emerald, #0f5c46)); color: #fff; box-shadow: var(--ah-shadow-md); }
.uc-midcta__ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #f1d38c; }
.uc-prose .uc-midcta p { margin: 0; color: rgba(255, 255, 255, .86); font-size: .97rem; line-height: 1.55; }
.uc-prose .uc-midcta .uc-midcta__title { margin: 0 0 4px; font-family: var(--ah-font-display); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); font-weight: 700; color: #fff; line-height: 1.2; }
.uc-midcta__btns { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.uc-prose .uc-midcta__btns a.ah-btn { text-decoration: none; }
.uc-prose a.uc-midcta__link { color: #f1d38c; font-weight: 600; font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; }
.uc-prose a.uc-midcta__link:hover { color: #fff; }
@media (max-width: 560px) { .uc-midcta { grid-template-columns: 1fr; padding: 18px; } .uc-midcta__ico { display: none; } .uc-midcta__btns { grid-column: 1; } }

/* Slim join bar on phones (appears after a third of the article; closing hides it for a week) */
.uc-stickycta { display: none; }
@media (max-width: 760px) {
    .uc-stickycta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 900; display: flex; align-items: center; gap: 10px;
        padding: 10px 10px 10px 14px; border-radius: 14px; background: var(--ah-forest, #0b3b2e); color: #fff; box-shadow: var(--ah-shadow-lg);
        transform: translateY(140%); transition: transform .3s var(--ah-ease); }
    .uc-stickycta[hidden] { display: none; }
    .uc-stickycta.is-on { transform: none; }
    .uc-stickycta__text { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; line-height: 1.25; }
    .uc-stickycta__text svg { color: #f1d38c; flex: none; }
    .uc-stickycta .ah-btn { padding: 9px 14px; min-height: 0; font-size: .9rem; white-space: nowrap; }
    .uc-stickycta__close { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
}
@media (prefers-reduced-motion: reduce) { .uc-stickycta { transition: none; } }

/* Follow the An-Nikah WhatsApp Channel (article page) */
.uc-wa { display: flex; align-items: center; gap: 14px; margin: 24px 0; padding: 14px 16px; border-radius: var(--ah-r-md); border: 1px solid rgba(37, 211, 102, .35);
    background: #f1fbf4; color: var(--ah-ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.uc-wa:hover { border-color: #25d366; box-shadow: var(--ah-shadow-sm); }
.uc-wa__ico { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; }
.uc-wa__text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.uc-wa__text strong { font-size: 1rem; }
.uc-wa__text small { color: var(--ah-muted); font-size: .88rem; line-height: 1.4; }
.uc-wa__btn { flex: none; padding: 8px 16px; border-radius: 999px; background: #128c4a; color: #fff; font-weight: 700; font-size: .9rem; }
@media (max-width: 480px) { .uc-wa { flex-wrap: wrap; } .uc-wa__btn { width: 100%; text-align: center; } }
