.articles-hero,
.article-detail-hero {
    background: linear-gradient(135deg, #f5f6f1 0%, #ffffff 58%, #edf3f5 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    padding: 1.25rem 0 2rem;
}

.articles-breadcrumb .breadcrumb {
    justify-content: center;
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
}

.articles-breadcrumb a {
    color: #54615f;
    text-decoration: none;
}

.articles-hero-copy,
.article-detail-heading {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.articles-hero-copy h1,
.article-detail-heading h1 {
    color: #17201f;
    font-size: 3.15rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.08;
    margin: 0;
}

.articles-hero-copy p,
.article-detail-heading p {
    color: #53615d;
    font-size: 1.08rem;
    line-height: 1.7;
    margin: 1rem auto 0;
    max-width: 680px;
}

.articles-section {
    padding: 2.75rem 0 1rem;
}

.articles-topic-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.articles-topic-strip a,
.article-card-meta a,
.article-card-meta span {
    border: 1px solid rgba(26, 44, 42, 0.16);
    color: #314441;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.35rem 0.75rem;
    text-decoration: none;
    text-transform: uppercase;
}

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

.articles-grid-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    overflow: hidden;
}

.article-card-image {
    background: #e8ece9;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.article-card-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    width: 100%;
}

.article-card:hover .article-card-image img {
    transform: scale(1.035);
}

.article-card-body {
    padding: 1.15rem;
}

.article-card-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.article-card-meta time {
    color: #78817e;
    font-size: 0.95rem;
}

.article-card h2,
.article-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 0.7rem;
}

.article-card h2 a,
.article-card h3 a {
    color: #17201f;
    text-decoration: none;
}

.article-card p {
    color: #53615d;
    line-height: 1.65;
    margin: 0;
}

.articles-empty {
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin: 0 auto;
    max-width: 680px;
    padding: 2rem;
    text-align: center;
}

.article-featured-image {
    margin: 2rem auto;
    max-width: 980px;
}

.article-featured-image img {
    border-radius: 6px;
    display: block;
    height: auto;
    width: 100%;
}

.article-content,
.article-topic-content {
    margin: 0 auto;
    max-width: 820px;
}

.article-related {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 3rem;
    padding-top: 2rem;
}

.article-related > h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    text-align: center;
}

@media (max-width: 991.98px) {
    .articles-grid,
    .articles-grid-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .articles-hero-copy h1,
    .article-detail-heading h1 {
        font-size: 2rem;
    }

    .articles-grid,
    .articles-grid-compact {
        grid-template-columns: 1fr;
    }

    .articles-hero,
    .article-detail-hero {
        padding-bottom: 1.5rem;
    }
}
