/*
 * NFL Fantasy Mate | Articles archive, Concept 02 edition.
 * This file applies only to the archive (/articles/). The article reader and
 * shared homepage styles stay unchanged.
 */
.articles-page {
    --articles-gold: #f2c230;
    --articles-cream: #f8f7f3;
    background: var(--articles-cream);
    font-family: "Inter", Arial, sans-serif;
}

/* Compact broadcast masthead with the same real podcast imagery and
   angled gold edge as the approved homepage. */
.articles-page .articles-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #0b0c0e;
    color: #ffffff;
    min-height: 365px;
}
.articles-hero__photo {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url("/img/podcast/episode-08-youtube.jpg") center 43% / cover no-repeat;
    filter: grayscale(100%) brightness(.59) contrast(1.2);
}
.articles-hero__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(4,5,6,.92) 0%, rgba(4,5,6,.85) 43%, rgba(4,5,6,.60) 100%),
                linear-gradient(180deg, rgba(4,5,6,.10), rgba(4,5,6,.34));
}
.articles-page .articles-hero__inner {
    position: relative;
    padding-top: 56px;
    padding-bottom: 112px;
    max-width: 1300px;
}
.articles-hero__eyebrow {
    margin: 0 0 15px;
    color: var(--articles-gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.articles-page .articles-hero h1 {
    margin: 0;
    font-family: "Roboto Condensed", "Arial Narrow", "Inter", sans-serif;
    font-stretch: normal;
    font-size: clamp(80px, 9.5vw, 142px);
    font-weight: 900;
    line-height: .90;
    letter-spacing: -.03em;
    text-transform: uppercase;
}
.articles-hero__lead {
    max-width: 720px;
    margin: 18px 0 0;
    color: #ece9e3;
    font-size: clamp(16px, 1.55vw, 20px);
    font-weight: 500;
    line-height: 1.48;
}
.articles-hero__edge {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 72px;
    background: var(--articles-gold);
    clip-path: polygon(0 77%, 100% 29%, 100% 100%, 0 100%);
}

/* Editorial archive with search and filters still powered by ArticleIndexV1. */
.articles-page .articles-archive-section {
    padding: 40px 0 85px;
    min-height: 450px;
    background: var(--articles-cream);
}
.articles-page .articles-archive-section > .support-container {
    max-width: 1300px;
}
.articles-archive-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    padding: 0 0 16px;
    border-bottom: 3px solid #16191b;
}
.articles-archive-heading p {
    margin: 0 0 6px;
    color: #937000;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .13em;
}
.articles-archive-heading h2 {
    margin: 0;
    color: #16191b;
    font-family: "Roboto Condensed", "Arial Narrow", "Inter", sans-serif;
    font-stretch: normal;
    font-size: clamp(29px, 3.25vw, 42px);
    font-weight: 900;
    line-height: 1.03;
    letter-spacing: -.025em;
    text-transform: uppercase;
}
.articles-page .articles-result-summary {
    flex-shrink: 0;
    margin: 0 0 3px;
    font-size: 13px;
    color: #666b6f;
}
.articles-page .articles-toolbar {
    grid-template-columns: minmax(230px, 1.8fr) repeat(3, minmax(120px, .7fr));
    padding: 19px 0 23px;
    margin: 0;
    gap: 14px;
    box-shadow: none;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #dedbd4;
}
.articles-page .articles-toolbar label {
    font-size: 10px;
    letter-spacing: .12em;
    color: #766427;
}
.articles-page .articles-toolbar input,
.articles-page .articles-toolbar select {
    background: #fff;
    border-color: #d8d6d0;
    border-radius: 0;
    min-height: 43px;
    font-family: "Inter", Arial, sans-serif;
    font-size: 13px;
    color: #252629;
}

/* One-column newsroom list. No synthetic thumbnails or FM tiles. */
.articles-page .articles-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}
.articles-page .article-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    min-height: 0;
    gap: 28px;
    padding: 24px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #dedbd4;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    color: inherit;
    transition: none;
}
.articles-page .article-card--has-image {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 238px);
}
.articles-page .article-card:hover {
    transform: none;
    box-shadow: none;
    border-color: #bf9a24;
}
.articles-page .article-card__body {
    min-width: 0;
    padding: 0;
}
.articles-page .article-card__eyebrow {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    margin: 0 0 10px;
    color: #906a00;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.articles-page .article-card__eyebrow time {
    color: #72767a;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .01em;
}
.articles-page .article-card h2 {
    max-width: 860px;
    margin: 0;
    color: #17191b;
    font-family: "Inter", Arial, sans-serif;
    font-weight: 800;
    font-size: clamp(20px, 2vw, 27px);
    line-height: 1.19;
    letter-spacing: -.03em;
}
.articles-page .article-card:hover h2 {
    text-decoration: underline;
    text-decoration-color: #d5b231;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
.articles-page .article-card__body > p {
    max-width: 840px;
    margin: 10px 0 13px;
    color: #5b6062;
    font-size: 14px;
    line-height: 1.58;
}
.articles-page .article-card__meta {
    color: #686f72;
    font-size: 12px;
    line-height: 1.4;
}
.articles-page .article-card__tags {
    display: none;
}
.articles-page .article-card__visual {
    position: relative;
    display: block;
    min-height: 0;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #222629;
    overflow: hidden;
}
.articles-page .article-card__visual::after {
    display: none;
}
.articles-page .article-card__visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.articles-page .articles-empty {
    margin-top: 24px;
    background: transparent;
}

@media (max-width: 900px) {
    .articles-page .articles-toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .articles-page .article-card--has-image {
        grid-template-columns: minmax(0, 1fr) 200px;
        gap: 20px;
    }
}
@media (max-width: 640px) {
    .articles-page .articles-hero__inner {
        padding: 56px 18px 103px;
    }
    .articles-page .articles-hero {
        min-height: 330px;
    }
    .articles-page .articles-hero h1 {
        font-size: clamp(67px, 18vw, 94px);
    }
    .articles-hero__eyebrow { font-size: 10px; }
    .articles-hero__lead { max-width: 440px; font-size: 16px; }
    .articles-hero__edge { height: 54px; }
    .articles-page .articles-archive-section {
        padding: 27px 0 60px;
    }
    .articles-archive-heading { align-items: start; flex-direction: column; gap: 5px; }
    .articles-page .articles-result-summary { font-size: 12px; }
    .articles-page .articles-toolbar { grid-template-columns: 1fr; gap: 12px; padding: 17px 0; }
    .articles-page .article-card, .articles-page .article-card--has-image {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 19px 0 22px;
    }
    .articles-page .article-card--has-image .article-card__visual {
        grid-row: 1;
        width: 100%;
        max-width: 100%;
        max-height: 240px;
    }
    .articles-page .article-card__eyebrow { flex-direction: row; flex-wrap: wrap; gap: 9px 14px; }
    .articles-page .article-card h2 { font-size: 21px; }
    .articles-page .article-card__body > p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .articles-page .article-card { transition: none; }
}
