/*
 * NFL Fantasy Mate Website V2 - Approved Concept 02 homepage.
 *
 * Intent: broadcast-style, independent editorial brand. This stylesheet
 * controls ONLY the homepage. The existing Article, Podcast, Teams, Trends,
 * Weekly Recap, and GameDay pages remain on the V2 design for later work.
 *
 * The hero uses a real, locally stored recording thumbnail. Never replace
 * presenters with artificial or stock photographs.
 */

.home-broadcast-v3 {
    --broadcast-gold: #f2c230;
    --broadcast-black: #111315;
    --broadcast-cream: #f8f7f3;
    font-family: "Inter", Arial, sans-serif;
    color: #17191b;
    background: var(--broadcast-cream);
}

/* Masthead: same six destinations, with broadcast typography. */
.home-broadcast-v3 .site-header {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 26px;
    height: 78px;
    padding: 0 max(calc((100vw - 1260px) / 2), 5.6vw);
    background: #111315;
    border-bottom: 1px solid #343333;
    box-shadow: none;
    backdrop-filter: none;
}
.home-broadcast-v3 .brand { gap: 13px; }
.home-broadcast-v3 .brand-logo { width: 46px; height: 48px; }
.home-broadcast-v3 .brand-name {
    font-size: 22px;
    letter-spacing: -.03em;
    font-weight: 900;
}
.home-broadcast-v3 .site-header .primary-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 26px;
}
.home-broadcast-v3 .site-header .primary-nav .nav-placeholder {
    padding: 10px 0;
    border: 0;
    color: #f2f2f2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.home-broadcast-v3 .site-header .primary-nav .nav-placeholder:hover {
    color: var(--broadcast-gold);
}
.home-broadcast-v3 .site-header .primary-nav a[href="/gameday/"] {
    color: var(--broadcast-gold);
    padding: 11px 13px;
    border: 1px solid var(--broadcast-gold);
}
.home-broadcast-v3 .mobile-menu-button {
    display: none;
    border-radius: 2px;
}
.home-broadcast-v3 .mobile-menu-button span {
    background: var(--broadcast-gold);
}

/* The approved Concept 02: full photographic backdrop, centered copy. */
.fm-broadcast-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 650px;
    background: #0a0b0e;
    color: #ffffff;
}
.fm-broadcast-hero-photo {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("/img/podcast/episode-08-youtube.jpg");
    background-repeat: no-repeat;
    background-position: center 43%;
    background-size: cover;
    filter: grayscale(100%) brightness(.63) contrast(1.2);
    opacity: .95;
}
.fm-broadcast-hero-wash {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(3,4,6,.7), rgba(3,4,6,.72)),
                linear-gradient(90deg, rgba(4,4,4,.46), transparent 45%, rgba(4,4,4,.46));
}
.fm-broadcast-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1260px;
    margin: 0 auto;
    /* More space below the buttons so the rising gold ribbon never crowds them. */
    padding: 57px 18px 200px;
    text-align: center;
}
.fm-broadcast-eyebrow {
    margin: 0 0 22px;
    color: var(--broadcast-gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .17em;
    line-height: 1.35;
}
.fm-broadcast-hero h1 {
    margin: 0 0 33px;
    font-family: "Noto Sans Display ExtraCondensed", "Noto Sans Display", "Roboto Condensed", Impact, sans-serif;
    font-size: clamp(96px, 10vw, 168px);
    font-weight: 900;
    font-stretch: ultra-condensed;
    line-height: .77;
    letter-spacing: -.017em;
    text-transform: uppercase;
    text-shadow: 0 2px 7px rgba(0,0,0,.28);
}
.fm-broadcast-hero h1 span { display: block; }
.fm-broadcast-title-first {
    font-size: .73em;
    letter-spacing: -.02em;
    color: #ffffff;
}
.fm-broadcast-title-gold { color: var(--broadcast-gold); }
.fm-broadcast-lead {
    max-width: 790px;
    margin: 0 0 13px;
    color: #ffffff;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.46;
    text-shadow: 0 2px 7px #000000;
    text-wrap: pretty;
}
.fm-broadcast-subline {
    max-width: 700px;
    margin: 0 0 23px;
    color: #e4e2df;
    font-size: 16px;
    line-height: 1.5;
    text-shadow: 0 2px 7px #000000;
}
.fm-broadcast-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.fm-broadcast-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 14px 21px;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .01em;
    text-decoration: none;
    border: 1px solid var(--broadcast-gold);
    border-radius: 2px;
}
.fm-broadcast-button--gold {
    color: #111315;
    background: var(--broadcast-gold);
}
.fm-broadcast-button--gold:hover { background: #ffdd66; }
.fm-broadcast-button--outline {
    color: #ffffff;
    background: rgba(6,7,9,.48);
    border-color: #7e7e7e;
}
.fm-broadcast-button--outline:hover { border-color: var(--broadcast-gold); }
.fm-broadcast-button > span { font-size: 18px; line-height: .8; }
/*
 * Bold diagonal divider, inspired by a broadcast-style sports site.
 * The gold ribbon rises toward the right, with parallel upper/lower edges.
 * The cream lower edge flows directly into the editorial section.
 */
.fm-broadcast-hero-edge {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 4;
    height: 165px;
    background: var(--broadcast-gold);
    clip-path: polygon(0 51%, 100% 7%, 100% 100%, 0 100%);
}
.fm-broadcast-hero-edge::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--broadcast-cream);
    clip-path: polygon(0 90%, 100% 46%, 100% 100%, 0 100%);
}

/* Editorial section: 1.08 / .92 grid from the approved mockup. */
.fm-broadcast-content {
    padding: 42px max(calc((100vw - 1260px) / 2), 5.6vw) 80px;
    background: var(--broadcast-cream);
}
.fm-broadcast-kicker {
    margin: 0 0 8px;
    color: #946e00;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.fm-broadcast-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    padding-bottom: 11px;
    margin-bottom: 21px;
    border-bottom: 4px solid #161616;
}
.fm-broadcast-section-header h2 {
    margin: 0;
    color: #17191b;
    font-family: "Noto Sans Display Condensed", "Noto Sans Display", "Roboto Condensed", Impact, sans-serif;
    font-size: 38px;
    font-stretch: condensed;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.015em;
    text-transform: uppercase;
}
.fm-broadcast-section-header > span {
    color: #666666;
    font-size: 13px;
}
.fm-broadcast-two-columns {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 27px;
}
.fm-broadcast-podcast-column,
.fm-broadcast-articles-column { min-width: 0; }
.fm-broadcast-column-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 13px;
}
.fm-broadcast-column-heading h3 {
    margin: 0;
    color: #17191b;
    font-family: "Noto Sans Display Condensed", "Noto Sans Display", "Roboto Condensed", Impact, sans-serif;
    font-size: 24px;
    font-weight: 900;
    font-stretch: condensed;
    line-height: 1;
    text-transform: uppercase;
}
.fm-broadcast-column-heading a {
    color: #7b5a00;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}
.fm-broadcast-column-heading a:hover { text-decoration: underline; }

/* Keep the original PodcastIndexV1 DOM contract for automatic publishing. */
.home-broadcast-v3 .fm-broadcast-podcast-feature.podcast-feature {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0;
    overflow: visible;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #17191b;
    box-shadow: none;
    transform: none;
}
.home-broadcast-v3 .fm-broadcast-podcast-feature.podcast-feature:hover {
    border: 0;
    box-shadow: none;
    transform: none;
}
.home-broadcast-v3 .fm-broadcast-podcast-feature .podcast-art,
.home-broadcast-v3 .fm-broadcast-podcast-feature .podcast-art.podcast-art--youtube {
    position: relative;
    display: block;
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
    padding: 0;
    border-bottom: 4px solid var(--broadcast-gold);
    border-radius: 0;
    background: #161616;
    overflow: hidden;
}
.home-broadcast-v3 .fm-broadcast-podcast-feature .podcast-art::before {
    display: none;
}
.home-broadcast-v3 .fm-broadcast-podcast-feature .podcast-art::after {
    content: "\25B6";
    position: absolute;
    z-index: 3;
    bottom: 15px;
    left: 16px;
    display: grid;
    place-items: center;
    width: 45px;
    height: 39px;
    color: #17191b;
    background: var(--broadcast-gold);
    border: 0;
    border-radius: 0;
    font-size: 18px;
    pointer-events: none;
}
.home-broadcast-v3 .fm-broadcast-podcast-feature .podcast-home-youtube-thumbnail {
    display: block;
    width: 100%;
    height: 100%;
    inset: 0;
    object-fit: cover;
    object-position: center;
}
/* The old card overlays must not fight the approved lower-left play badge. */
.home-broadcast-v3 .fm-broadcast-podcast-feature .podcast-home-youtube-badge,
.home-broadcast-v3 .fm-broadcast-podcast-feature .podcast-home-youtube-episode,
.home-broadcast-v3 .fm-broadcast-podcast-feature .podcast-home-youtube-play { display: none; }
.home-broadcast-v3 .fm-broadcast-podcast-feature .podcast-copy {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 12px 0 0;
    background: transparent;
    color: #17191b;
    border: 0;
}
.home-broadcast-v3 .fm-broadcast-podcast-feature .podcast-copy .editorial-type {
    margin: 0 0 6px;
    color: #8e6e03;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.home-broadcast-v3 .fm-broadcast-podcast-feature .podcast-copy h3 {
    margin: 0 0 6px;
    color: #17191b;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -.02em;
}
.home-broadcast-v3 .fm-broadcast-podcast-feature .podcast-copy > p:not(.editorial-type) {
    margin: 0;
    color: #555555;
    font-size: 14px;
    line-height: 1.42;
}
.home-broadcast-v3 .fm-broadcast-podcast-feature .content-meta {
    margin: 8px 0 0;
    color: #777777;
    font-size: 11px;
}

/* A compact archive preview fills the space beneath the featured episode.
   Its links and thumbnails are populated from the same PodcastIndexV1 feed. */
.fm-broadcast-recent-episodes {
    margin-top: 26px;
}
.fm-broadcast-recent-episodes[hidden] {
    display: none;
}
.fm-broadcast-recent-heading {
    margin: 0 0 10px;
    color: #17191b;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
}
.fm-broadcast-recent-list {
    border-top: 2px solid #17191b;
}
.fm-broadcast-recent-item {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 15px 0;
    color: #17191b;
    text-decoration: none;
    border-bottom: 1px solid #c8c5c1;
}
.fm-broadcast-recent-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #161616;
}
.fm-broadcast-recent-thumbnail::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: var(--broadcast-gold);
}
.fm-broadcast-recent-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fm-broadcast-recent-thumbnail--placeholder {
    display: grid;
    place-items: center;
    color: var(--broadcast-gold);
    font-size: 13px;
    font-weight: 900;
}
.fm-broadcast-recent-copy { min-width: 0; }
.fm-broadcast-recent-label {
    color: #846100;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .09em;
}
.fm-broadcast-recent-copy h5 {
    margin: 4px 0 7px;
    color: #17191b;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.02em;
}
.fm-broadcast-recent-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    color: #777777;
    font-size: 11px;
    font-weight: 700;
}
.fm-broadcast-recent-meta > * + *::before {
    content: "·";
    margin-right: 10px;
    color: #aaa49a;
}
.fm-broadcast-recent-item:hover h5 { text-decoration: underline; }

/* Keep the existing ArticleIndexV1 markup contract: .article-list / .article-row. */
.fm-broadcast-article-list.article-list {
    display: block;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    counter-reset: fm-article;
}
.fm-broadcast-article-list.article-list .article-row {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
    min-width: 0;
    margin: 0;
    padding: 15px 0;
    border: 0;
    border-top: 1px solid #c8c5c1;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    color: #17191b;
    counter-increment: fm-article;
}
.fm-broadcast-article-list.article-list .article-row:first-child {
    border-top: 3px solid var(--broadcast-gold);
}
.fm-broadcast-article-list.article-list .article-row::before {
    content: counter(fm-article, decimal-leading-zero);
    flex: 0 0 40px;
    color: #c3c0b9;
    font-family: "Noto Sans Display Condensed", "Noto Sans Display", "Roboto Condensed", Impact, sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
}
.fm-broadcast-article-list.article-list .article-row > div {
    flex: 1 1 auto;
    min-width: 0;
}
.fm-broadcast-article-list.article-list .article-row .article-category {
    color: #846100;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 1.3;
    text-transform: uppercase;
}
.fm-broadcast-article-list.article-list .article-row h4 {
    margin: 5px 0;
    color: #17191b;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.23;
    letter-spacing: -.025em;
}
.fm-broadcast-article-list.article-list .article-row p {
    margin: 0;
    color: #666666;
    font-size: 13px;
    line-height: 1.42;
}
/* Author and publication date are shown for each recent article. */
.fm-broadcast-article-list.article-list .article-row .article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 3px 8px;
    margin-top: 9px;
    color: #666666;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.35;
}
.fm-broadcast-article-list.article-list .article-row .article-meta > * + *::before {
    content: "·";
    margin-right: 8px;
    color: #aaa49a;
}
.fm-broadcast-article-list.article-list .article-row .article-meta time {
    display: inline;
    padding: 0;
    color: inherit;
    font: inherit;
    white-space: nowrap;
}
.fm-broadcast-article-list.article-list .article-row:hover h4 { text-decoration: underline; }

/* Short research navigation directly beneath the editorial feature area. */
.fm-broadcast-lower-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 26px;
    min-height: 60px;
    padding: 22px max(calc((100vw - 1260px) / 2), 5.6vw);
    background: #111315;
    color: #ffffff;
}
.fm-broadcast-lower-nav > span {
    color: var(--broadcast-gold);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
}
.fm-broadcast-lower-nav a {
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.fm-broadcast-lower-nav a:hover { color: var(--broadcast-gold); }

/* Preserve shared V2 footer rather than inventing a new set of links. */
.home-broadcast-v3 .site-footer { margin-top: 0; }

@media (max-width: 1150px) {
    .home-broadcast-v3 .site-header {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 18px;
        padding-inline: 22px;
    }
    .home-broadcast-v3 .site-header .mobile-menu-button {
        display: block;
        grid-column: 3;
        justify-self: end;
    }
    .home-broadcast-v3 .site-header .primary-nav {
        display: none;
        position: absolute;
        top: 78px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        background: #111315;
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 2px;
        box-shadow: 0 10px 24px #0009;
    }
    .home-broadcast-v3 .site-header .primary-nav.is-open { display: flex; }
    .home-broadcast-v3 .site-header .primary-nav a { padding: 12px 10px; }
    .home-broadcast-v3 .site-header .primary-nav a[href="/gameday/"] { margin-top: 6px; }
}
@media (max-width: 850px) {
    .fm-broadcast-hero-inner { padding: 75px 20px 145px; }
    .fm-broadcast-hero-photo { filter: grayscale(100%) brightness(.48); }
    .fm-broadcast-hero-wash { background: rgba(5,5,6,.61); }
    .fm-broadcast-hero h1 { font-size: clamp(70px, 14vw, 120px); }
    .fm-broadcast-lead { font-size: 18px; }
    .fm-broadcast-eyebrow { font-size: 10px; letter-spacing: .12em; }
    .fm-broadcast-hero-edge { height: 90px; }
    .fm-broadcast-content { padding: 38px 22px 50px; }
    .fm-broadcast-section-header h2 { font-size: 30px; }
    .fm-broadcast-section-header > span { display: none; }
    .fm-broadcast-two-columns { grid-template-columns: 1fr; gap: 36px; }
    .fm-broadcast-lower-nav { padding: 24px 22px; gap: 18px; }
}
@media (max-width: 480px) {
    .home-broadcast-v3 .site-header { height: 64px; padding-inline: 14px; }
    .home-broadcast-v3 .site-header .primary-nav { top: 64px; }
    .home-broadcast-v3 .brand-logo { width: 38px; height: 43px; }
    .home-broadcast-v3 .brand-name { font-size: 17px; }
    .fm-broadcast-hero { min-height: 0; }
    .fm-broadcast-hero-inner { padding: 75px 18px 145px; }
    .fm-broadcast-hero h1 { font-size: clamp(59px, 15vw, 73px); margin-bottom: 28px; }
    .fm-broadcast-hero h1 .fm-broadcast-title-first { font-size: .76em; }
    .fm-broadcast-lead { font-size: 16px; }
    .fm-broadcast-subline { font-size: 14px; }
    .fm-broadcast-actions { gap: 9px; }
    .fm-broadcast-button { padding: 12px 13px; font-size: 11px; }
    .fm-broadcast-recent-item { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
    .fm-broadcast-recent-copy h5 { font-size: 15px; }
    .fm-broadcast-article-list.article-list .article-row h4 { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-broadcast-v3 *, .home-broadcast-v3 *::before,
    .home-broadcast-v3 *::after { scroll-behavior: auto; transition: none; }
}
