.articles-hub {
    display: grid;
    gap: 32px;
    max-width: 920px;
    width: 100%;
    min-width: 0;
    margin: 0 auto;
    overflow-x: clip;
}

.articles-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, .7fr);
    gap: 28px;
    align-items: stretch;
}

.articles-hero-panel {
    align-self: center;
    display: grid;
    gap: 12px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(184, 134, 11, .16);
    background: linear-gradient(145deg, #fff7df, #f6fbff);
    box-shadow: 0 20px 38px rgba(0, 0, 0, .06);
}

.articles-hero-panel span,
.articles-featured-card span,
.articles-card span,
.articles-cta span {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 800;
}

.articles-hero-panel strong {
    color: var(--text);
    font-size: 24px;
    line-height: 1.35;
}

.articles-hero-panel p,
.articles-featured-card p,
.articles-card p,
.articles-cta p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.9;
}

.articles-featured-grid,
.articles-grid {
    display: grid;
    gap: 16px;
}

.articles-featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.articles-featured-card,
.articles-card {
    display: grid;
    gap: 10px;
    padding: 22px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, .06);
    background: var(--bg2);
    color: inherit;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.articles-featured-card {
    background: linear-gradient(145deg, #fff9e8, #fffdf9);
}

.articles-featured-card:hover,
.articles-card:hover {
    transform: translateY(-2px);
    border-color: rgba(184, 134, 11, .28);
    box-shadow: 0 18px 30px rgba(0, 0, 0, .05);
}

.articles-featured-card h2,
.articles-card h3 {
    margin: 0;
    color: var(--text);
    line-height: 1.35;
}

.articles-featured-card h2 {
    font-size: 24px;
}

.articles-card h3 {
    font-size: 21px;
}

.articles-featured-card p,
.articles-card p {
    margin: 0;
}

.articles-featured-card strong,
.articles-card strong {
    color: var(--gold-dark);
    font-size: 14px;
}

.articles-cta {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding: 26px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(135deg, #3d2f16, #8f6810);
}

.articles-cta h2 {
    margin: 6px 0 8px;
    font-size: 30px;
    line-height: 1.25;
}

.articles-cta p,
.articles-cta span {
    color: rgba(255, 255, 255, .82);
}

.articles-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.articles-primary-link,
.articles-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.articles-primary-link {
    color: #3d2f16;
    background: #fff;
}

.articles-secondary-link {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .34);
}

html[data-theme="night"] .articles-hero-panel,
html[data-theme="night"] .articles-featured-card {
    background: #151b28;
}

html[data-theme="night"] .articles-cta {
    background: linear-gradient(135deg, #151b28, #5c4210);
}

@media (max-width: 980px) {
    .articles-hero,
    .articles-featured-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .articles-hub {
        gap: 24px;
    }

    .articles-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .articles-hero-panel,
    .articles-featured-card,
    .articles-card,
    .articles-cta {
        padding: 18px;
    }
}
