:root {
    --articles-ink: #070707;
    --articles-charcoal: #171717;
    --articles-blue: #003566;
    --articles-gold: #ffc107;
    --articles-red: #b4232a;
    --articles-paper: #f6f3ef;
    --articles-surface: #ffffff;
    --articles-text: #151515;
    --articles-muted: #67615a;
    --articles-border: #ded7cf;
    --articles-shadow: 0 20px 55px rgba(18, 14, 10, 0.14);
}

body {
    background: var(--articles-paper);
}

.articles-hero {
    position: relative;
    overflow: hidden;
    background: var(--articles-ink);
    color: #ffffff;
    margin-top: -3rem;
    padding: 9rem 0 4.75rem;
}

.articles-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(7, 7, 7, 0.96), rgba(32, 27, 23, 0.84)),
        url("/static/images/studio1.webp") center / cover no-repeat;
    opacity: 0.9;
}

.articles-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 7rem;
    background: linear-gradient(180deg, rgba(7, 7, 7, 0), var(--articles-paper));
}

.articles-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 1.2fr);
    gap: 2.25rem;
    align-items: stretch;
}

.articles-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 42rem;
}

.articles-kicker,
.articles-section-label,
.article-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    letter-spacing: 0;
    font-weight: 700;
}

.articles-kicker {
    width: fit-content;
    margin-bottom: 1.1rem;
    border: 1px solid rgba(255, 193, 7, 0.48);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    color: var(--articles-gold);
    background: rgba(255, 255, 255, 0.08);
}

.articles-hero h1 {
    margin: 0;
    max-width: 42rem;
    font-size: 3.35rem;
    line-height: 1.04;
    letter-spacing: 0;
    font-weight: 900;
}

.articles-hero-copy p {
    margin: 1.2rem 0 0;
    max-width: 37rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.1rem;
    line-height: 1.75;
}

.articles-hero-actions,
.articles-cta-panel {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    flex-wrap: wrap;
}

.articles-hero-actions {
    margin-top: 1.8rem;
}

.articles-primary-action,
.articles-secondary-action {
    display: inline-flex;
    min-height: 2.85rem;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 999px;
    padding: 0.75rem 1.15rem;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.articles-primary-action {
    border: 1px solid var(--articles-gold);
    background: var(--articles-gold);
    color: var(--articles-ink);
    box-shadow: 0 12px 30px rgba(255, 193, 7, 0.22);
}

.articles-secondary-action {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.articles-primary-action:hover,
.articles-secondary-action:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.articles-primary-action:hover {
    color: var(--articles-ink);
    box-shadow: 0 16px 34px rgba(255, 193, 7, 0.3);
}

.articles-secondary-action:hover {
    border-color: var(--articles-gold);
    color: #ffffff;
}

.featured-article,
.articles-empty-panel,
.article-card {
    border: 1px solid var(--articles-border);
    border-radius: 8px;
    background: var(--articles-surface);
    box-shadow: var(--articles-shadow);
    overflow: hidden;
}

.featured-article {
    color: var(--articles-text);
    display: grid;
    grid-template-columns: minmax(14rem, 0.95fr) minmax(0, 1.05fr);
    min-height: 27rem;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.featured-image-link,
.article-card-image {
    display: block;
    overflow: hidden;
    background: #dfe6ef;
}

.featured-image-link picture,
.featured-image-link img,
.article-card-image picture,
.article-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.featured-image-link picture,
.featured-image-link img {
    aspect-ratio: 4 / 5;
}

.featured-body,
.article-card-body {
    display: flex;
    flex-direction: column;
}

.featured-body {
    padding: 2.1rem;
}

.article-label {
    width: fit-content;
    margin-bottom: 0.9rem;
    border-left: 3px solid var(--articles-gold);
    padding-left: 0.7rem;
    color: var(--articles-red);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.article-meta {
    color: var(--articles-blue);
    font-size: 0.88rem;
}

.featured-body h2,
.article-card h3,
.articles-section-heading h2,
.articles-cta-panel h2,
.articles-empty-panel h2 {
    color: var(--articles-text);
    letter-spacing: 0;
}

.featured-body h2 {
    margin: 0.85rem 0 0;
    font-size: 2.05rem;
    line-height: 1.16;
    font-weight: 900;
}

.featured-body h2 a,
.article-card h3 a {
    color: inherit;
    text-decoration: none;
}

.featured-body h2 a:hover,
.article-card h3 a:hover {
    color: var(--articles-blue);
}

.featured-body p,
.article-card p,
.articles-empty-panel p {
    color: var(--articles-muted);
    line-height: 1.7;
}

.featured-body p {
    margin: 1rem 0 1.25rem;
    font-size: 1rem;
}

.article-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.45rem;
    margin-top: auto;
    color: var(--articles-red);
    font-weight: 800;
    text-decoration: none;
}

.article-link:hover {
    color: var(--articles-blue);
    text-decoration: none;
}

.articles-empty-panel {
    min-height: 18rem;
    padding: 2rem;
    color: var(--articles-text);
}

.articles-empty-panel > i {
    color: var(--articles-gold);
    font-size: 2.2rem;
}

.articles-index {
    padding: 5rem 0 4.5rem;
}

.articles-section-heading {
    max-width: 44rem;
    margin-bottom: 1.75rem;
}

.articles-section-label {
    color: var(--articles-red);
    font-size: 0.86rem;
    text-transform: uppercase;
}

.articles-section-heading h2 {
    margin: 0.45rem 0 0;
    font-size: 2.15rem;
    line-height: 1.15;
    font-weight: 900;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.article-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 35px rgba(18, 14, 10, 0.08);
}

.article-card:hover,
.featured-article:hover {
    border-color: rgba(180, 35, 42, 0.26);
}

.article-card-image picture,
.article-card-image img {
    aspect-ratio: 16 / 10;
}

.article-card-body {
    flex: 1;
    padding: 1.3rem;
}

.article-card h3 {
    margin: 0.75rem 0 0;
    font-size: 1.25rem;
    line-height: 1.25;
    font-weight: 900;
}

.article-card p {
    margin: 0.85rem 0 1.1rem;
}

.articles-cta {
    padding: 0 0 5rem;
    background: linear-gradient(180deg, var(--articles-paper) 0%, #ffffff 100%);
}

.articles-cta-panel {
    justify-content: space-between;
    border: 1px solid rgba(180, 35, 42, 0.16);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 255, 255, 0) 42%),
        #ffffff;
    padding: 2rem;
    box-shadow: 0 16px 40px rgba(0, 8, 20, 0.08);
}

.articles-cta-panel h2 {
    margin: 0.45rem 0 0;
    max-width: 42rem;
    font-size: 1.75rem;
    line-height: 1.2;
    font-weight: 900;
}

@media (hover: hover) {
    .featured-article:hover img,
    .article-card:hover img {
        transform: scale(1.04);
    }
}

@media (max-width: 991.98px) {
    .articles-hero-grid,
    .featured-article,
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .articles-hero h1 {
        font-size: 2.45rem;
    }

    .featured-image-link img {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 767.98px) {
    .articles-hero {
        padding: 7.5rem 0 3rem;
    }

    .articles-hero h1 {
        font-size: 2.2rem;
    }

    .articles-hero-copy p {
        font-size: 1rem;
    }

    .featured-body,
    .article-card-body,
    .articles-empty-panel,
    .articles-cta-panel {
        padding: 1.25rem;
    }

    .featured-body h2,
    .articles-section-heading h2 {
        font-size: 1.7rem;
    }

    .articles-index {
        padding: 3.25rem 0;
    }

    .articles-primary-action,
    .articles-secondary-action {
        width: 100%;
    }

    .articles-cta-panel {
        align-items: stretch;
    }
}
