/* ========================================================================== */
/*  HERO.CSS — Extracted Hero-Specific Styles                                  */
/* ========================================================================== */

/* hero_shared.css  – append to end of file */
/* ============================================================================================================================================================ */
/*  HERO‑full COMPONENT                                                       */
/* ============================================================================================================================================================ */
.hero-full-title h1 {
    position: relative;
    display: inline-block;
    text-transform: capitalize;
    max-width: 75%;
    color: var(--white-color-1);
    font-family: var(--identity-font);
    font-weight: var(--font-weight8);
    font-size: clamp(var(--font-size-34px), 26.5333px + 1.8667vw, var(--font-size-48px));
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 12px
}

.hero-full-title h1::before {
    content: '';
    display: block;
    width: 100%;
    /* always matches heading width */
    height: 9px;
    background: var(--card-color, var(--site-start-color));
    margin-bottom: 2rem;
    /* same spacing as the old bar  */
}

/* mobile: let the title fill the screen if needed */
@media(max-width:600px) {
    .hero-full-title h1 {
        max-width: 100%;
    }
}

/* hide the now‑unused fixed‑width bar */
.hero-full-title-bar {
    display: none;
}



.hero-full-title {
    padding-top: 24px;
    padding-bottom: 16px;
}


.hero-full-sub-title {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    color: var(--grey-color-2);
    font-family: var(--identity-font);
    font-weight: 400;
    font-size: var(--ft-22-18);
    letter-spacing: -1px;
    line-height: 1.3;
}

.hero-full-subtitle {
    margin-bottom: clamp(14px, 9.6364px + 0.7273vw, 18px);
}

@media (max-width: 600px) {
    .hero-full-sub-title {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
}

.hero-full-title p {
    color: var(--grey-color-2);
    font-family: var(--identity-font);
    font-weight: var(--font-weight3);
    font-size: var(--font-size-40px);
    line-height: var(--font-size-40px);
    letter-spacing: -0.25px;
}

.hero-full-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    margin-bottom: clamp(4px, -4.7273px + 1.4545vw, 12px);
    font-family: var(--identity-font);
    font-weight: var(--font-weight3);
    font-size: var(--ft-15-13);
    color: var(--grey-color-2);
    line-height: 1;
    row-gap: 6px;
}

@media (max-width: 600px) {
    .hero-full-meta {
        padding-left: 0.25rem;
        align-items: flex-start;
    }
}

/* REPLACE this block */
.hero-full-meta span {
    font-size: var(--font-size-11px);
    text-align: left;
}

/* WITH this */
.hero-full-meta span:not(.hero-byline-author):not(.hero-byline-divider) {
    font-size: var(--font-size-11px);
    text-align: left;
}

/* REPLACE this block */
.hero-side-meta span {
    font-size: var(--font-size-11px);
    text-align: left;
}

/* WITH this */
.hero-side-meta span:not(.hero-byline-author):not(.hero-byline-divider) {
    font-size: var(--font-size-11px);
    text-align: left;
}

/* APPEND this at the end (ensures the inline "By Author" beside Last Updated matches meta size) */
.hero-full-last-updated-info .hero-byline-author,
.hero-full-last-updated-info .hero-byline-divider,
.hero-side-last-updated-info .hero-byline-author,
.hero-side-last-updated-info .hero-byline-divider {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}


.hero-full-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}


.hero-full-meta time {
    color: #aaa;
}

.hero-full-last-updated-info {
    display: inline-flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    white-space: nowrap;
}



/* || Component: Feature / Hero Image
   -------------------------------------------------------------------------- */
.hero-full-photo-container {
    width: 100%;
    height: auto;
    position: relative;
}

.hero-full-title-photo {
    aspect-ratio: 16 / 8.75;
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

/* inline_multi_images.css – APPEND */
.hero-full-photo-container .inline-images,
.hero-side-photo-container .inline-images {
    margin-bottom: 1rem;
    /* match single‑image spacing */
}

/* ============================================================================================================================================================ */
/*  HERO‑side COMPONENT                                                       */
/* ============================================================================================================================================================ */



/* ───── Title block (inherits look‑and‑feel from full layout) ───── */
.hero-side-title {
    padding-top: 24px;
    padding-bottom: 16px;
}

.hero-side-title h1 {
    position: relative;
    display: inline-block;
    text-transform: capitalize;
    max-width: 100%;
    color: var(--white-color-1);
    font-family: var(--identity-font);
    font-weight: var(--font-weight8);
    font-size: clamp(var(--font-size-34px), 26.5333px + 1.8667vw, var(--font-size-48px));
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 12px
}

.hero-side-title h1::before {
    content: '';
    display: block;
    width: 100%;
    height: 9px;
    background: var(--card-color, var(--site-start-color));
    margin-bottom: 2rem;
}

@media (max-width: 600px) {
    .hero-side-title h1 {
        max-width: 100%;
    }
}

/* ───── Subtitle & meta (reuse variable scale) ───── */
.hero-side-sub-title {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    color: var(--grey-color-2);
    font-family: var(--identity-font);
    font-weight: 400;
    font-size: var(--ft-22-18);
    letter-spacing: -1px;
    line-height: 1.3;
}

.hero-side-subtitle {
    margin-bottom: clamp(14px, 9.6364px + 0.7273vw, 18px);
}

.hero-side-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    margin-bottom: clamp(4px, -4.7273px + 1.4545vw, 12px);
    font-family: var(--identity-font);
    font-weight: var(--font-weight3);
    font-size: var(--ft-15-13);
    color: var(--grey-color-2);
    line-height: 1;
    row-gap: 6px;
}

@media (max-width: 600px) {
    .hero-side-meta {
        padding-left: 0.25rem;
        align-items: flex-start;
    }
}

.hero-side-meta span {
    font-size: var(--font-size-11px);
    text-align: left;
}


.hero-side-meta time {
    color: #aaa;
}


.hero-side-last-updated-info {
    display: inline-flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    white-space: nowrap;
}

/* ───── Grid wrapper = image + 300 px sidebar ───── */
.hero-side-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    column-gap: 30px;
}

/* ───── Image container ───── */
.hero-side-photo-container {
    width: 100%;
    position: relative;
}

.hero-side-title-photo {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;

    margin-bottom: 1rem;
}

/* ───── Mobile ≤ 1150 px – stack, hide sidebar ───── */
@media (max-width: 1150px) {
    .hero-side-body {
        display: flex;
        flex-direction: column;
    }

    .hero-side-body .hero-sidebar {
        display: none;
    }
}













/* ========= /css/affiliate-note.css — APPEND (used by hero disclosure) ========= */
.affiliate-note {
    margin: 8px 0 0;
    font: 400 var(--ft-13-12, .85rem)/1.35 var(--identity-font);
    color: var(--grey-color-3, #b0b0b0);
}
.affiliate-note a {
    color: var(--card-color, var(--site-start-color));
}
.affiliate-note a:hover {
    text-decoration: underline;
}







/* hero_shared.css  – append to end of file */
/* ============================================================================================================================================================ */
/*  HERO‑SHARED COMPONENTS                                                  */
/* ============================================================================================================================================================ */
.hero-full-title-photo,
.hero-side-title-photo {
    fetchpriority: high;
}


@media (max-width: 1150px) {
    .hero-dot {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 825px) {
    .hero-dot {
        font-size: 0.75rem !important;
    }
}

@media (max-width: 600px) {
    .hero-dot {
        font-size: 0.65rem !important;
    }
}





/* hero_shared.css  – APPEND to end of file */
/* || Component: Hero Byline / Photo Meta
   -------------------------------------------------------------------------- */
.hero-photo-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: clamp(13px, 9.7273px + 0.5455vw, 16px);
    font-family: var(--identity-font);
    font-weight: var(--font-weight3);
    font-size: var(--ft-13-12);
    color: var(--grey-color-2);
}

.hero-byline {
    display: flex;
    align-items: center;
    column-gap: 8px;
    flex-wrap: wrap;
}

.hero-photo-meta .eg-logo {
    width: 1.25em;
    height: 1.25em;
    fill: var(--card-color, var(--site-color));
}

.hero-byline-author {
    text-transform: capitalize
}

.hero-byline-divider {
    margin: 0 clamp(0px, -4.2667px + 1.0667vw, 8px);
    color: var(--grey-color-3, #666);
}

.hero-byline-date {
    text-transform: capitalize
}

.hero-photo-credit {
    margin-top: .5rem;
    font-size: var(--ft-13-12);
    color: var(--grey-color-2);
    text-align: right;
}


@media(max-width:600px) {
    .hero-photo-meta {
        flex-direction: column;
        align-items: flex-start;
        row-gap: 4px;
    }

    .hero-photo-credit {
        text-align: left;
        margin-left: 0;
    }
}




/* ============================================================================================================================================================ */
/*  Video                                            */
/* ============================================================================================================================================================ */

/* == Hero video sizing & polish ===================================== */
.hero-full-photo-container .video-embed,
.hero-side-photo-container .video-embed {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .3);
}

.hero-full-photo-container .video-embed {
    border-radius: 0px;
}

.hero-side-photo-container .video-embed {
    border-radius: 0px;
}

/* ensure wrapper DIVs don’t constrain width */
.hero-video-full,
.hero-video-side {
    width: 100%;
}