/* ===== Homepage featured-program hero (layouts/featured_header.php) =====
   Same visual language as the speaking page hero: burgundy, EB Garamond
   display type, gold pill buttons. Content comes from Config\Featured. */

.featured-hero {
    --fh-burgundy-deep: #521522;
    --fh-gold: #C9A96E;
    --fh-gold-soft: #DCBE81;
    --fh-cream: #FDFAF7;
    --fh-serif: 'EB Garamond', Georgia, serif;

    background: var(--fh-bg, var(--fh-burgundy-deep));
    color: var(--fh-cream);
    display: flex;
    align-items: center;
    min-height: min(calc(100vh - 170px), 860px);
    padding: clamp(56px, 7vw, 96px) 0;
    overflow: hidden;
}
.featured-hero > .container { width: 100%; }

.featured-hero__eyebrow {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--fh-gold);
    margin: 0 0 1.25rem;
}
.featured-hero__title {
    font-family: var(--fh-serif);
    font-style: normal;
    font-weight: 500;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1;
    color: var(--fh-cream);
    margin: 0 0 1.75rem;
}
.featured-hero__title span {
    display: block;
    margin-top: 0.35rem;
    font-style: italic;
    font-size: 0.62em;
    line-height: 1.1;
    color: var(--fh-gold);
}
.featured-hero__lede {
    font-size: 1.375rem;
    line-height: 1.55;
    color: rgba(253, 250, 247, 0.85);
    max-width: 34ch;
    margin: 0 0 1.5rem;
}
.featured-hero__meta {
    list-style: none;
    margin: 0 0 2.25rem;
    padding: 0;
    /* One fact per line: inline dots can strand at the start of a wrapped line. */
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(253, 250, 247, 0.9);
}
.featured-hero__meta li { padding-left: 1rem; border-left: 2px solid var(--fh-gold); line-height: 1.3; }

.featured-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}
.featured-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0.85rem 2rem;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--fh-gold-soft);
    border-radius: 999px;
    transition: background-color .25s ease, color .25s ease;
}
.featured-btn--gold { background: var(--fh-gold); color: var(--fh-burgundy-deep); }
.featured-btn--gold:hover,
.featured-btn--gold:focus { background: var(--fh-cream); color: var(--fh-burgundy-deep); }
.featured-btn--ghost { background: transparent; color: var(--fh-cream); }
.featured-btn--ghost:hover,
.featured-btn--ghost:focus { color: var(--fh-gold); }
.featured-btn:focus-visible { outline: 2px solid var(--fh-gold); outline-offset: 3px; }

.featured-hero__note {
    margin: 1.25rem 0 0;
    font-style: italic;
    font-size: 1.2rem;
    color: rgba(253, 250, 247, 0.75);
}

/* Media: logo or image, big and centred in its half */
.featured-hero__media {
    margin: 0 auto;
    display: flex;
    justify-content: center;
}
.featured-hero__media img {
    display: block;
    width: auto;
    max-width: 100%;
    height: clamp(340px, 42vw, 600px);
    object-fit: contain;
}
/* Logos with no shape of their own sit in a thin gold frame (as on /reconnect). */
.featured-hero__media--framed {
    max-width: 520px;
    aspect-ratio: 1;
    border: 1px solid var(--fh-gold);
    outline: 1px solid rgba(201, 169, 110, 0.35);
    outline-offset: 10px;
    align-items: center;
}
.featured-hero__media--framed img {
    height: auto;
    width: 88%;
}

@media (max-width: 991.98px) {
    .featured-hero { min-height: 0; }
    .featured-hero__media img { height: clamp(300px, 70vw, 460px); }
    .featured-hero__media--framed { max-width: 380px; margin-top: 0.5rem; }
    .featured-hero__media--framed img { height: auto; }
}
@media (max-width: 575.98px) {
    .featured-hero .container { padding-left: 16px; padding-right: 16px; }
    .featured-hero__lede { font-size: 1.25rem; }
    .featured-hero__meta { font-size: 0.85rem; letter-spacing: 0.1em; }
    .featured-hero__actions { display: grid; }
    .featured-btn { width: 100%; }
}

/* Anchored media: the image stands on the hero's bottom edge (no bottom
   padding under it); the copy keeps its own breathing room instead. */
.featured-hero--anchored { padding-bottom: 0; align-items: stretch; }
.featured-hero--anchored > .container { display: flex; flex-direction: column; justify-content: flex-end; }
.featured-hero--anchored .featured-hero__copy { padding-bottom: clamp(56px, 7vw, 96px); align-self: center; }
.featured-hero--anchored .featured-hero__media img {
    object-position: bottom;
    height: clamp(440px, 52vw, 720px);
}
@media (max-width: 991.98px) {
    .featured-hero--anchored .featured-hero__copy { padding-bottom: 0; }
    .featured-hero--anchored .featured-hero__media img { height: clamp(380px, 100vw, 560px); }
}
