.articles-hub {
    --articles-card-radius: 24px;
    --articles-card-inner-radius: 18px;
    --articles-card-border: rgba(61, 47, 22, .10);
    --articles-card-border-hover: rgba(184, 134, 11, .34);
    --articles-card-shadow: 0 18px 44px rgba(35, 27, 10, .07);
    --articles-card-shadow-hover: 0 26px 64px rgba(35, 27, 10, .13);
    --articles-card-surface: linear-gradient(180deg, #fffefb 0%, #fff 100%);
    --articles-featured-surface: linear-gradient(145deg, #fff9e8 0%, #fffdf9 58%, #fff 100%);
    display: grid;
    gap: 32px;
    max-width: 1040px;
    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-card-category,
.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: 22px;
    align-items: stretch;
}

.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 {
    position: relative;
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    gap: 14px;
    height: 100%;
    padding: 16px 16px 20px;
    overflow: hidden;
    border-radius: var(--articles-card-radius);
    border: 1px solid var(--articles-card-border);
    background: var(--articles-card-surface);
    box-shadow: var(--articles-card-shadow);
    color: inherit;
    text-decoration: none;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.articles-featured-card {
    background: var(--articles-featured-surface);
}

.articles-card-image-frame {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--articles-card-inner-radius);
    border: 1px solid rgba(184, 134, 11, .16);
    background: #fff7df;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .52);
}

.articles-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease;
}

.articles-card-category {
    justify-self: start;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(184, 134, 11, .09);
    color: var(--gold-dark);
    line-height: 1;
}

.articles-featured-card:hover,
.articles-card:hover {
    transform: translateY(-4px);
    border-color: var(--articles-card-border-hover);
    box-shadow: var(--articles-card-shadow-hover);
}

.articles-featured-card:hover .articles-card-image,
.articles-card:hover .articles-card-image {
    transform: scale(1.035);
}

.articles-featured-card:focus-visible,
.articles-card:focus-visible {
    outline: 3px solid rgba(184, 134, 11, .34);
    outline-offset: 4px;
}

.articles-featured-card h3,
.articles-card h3 {
    margin: 0;
    color: var(--text);
    line-height: 1.42;
    letter-spacing: -.01em;
}

.articles-featured-card h3 {
    font-size: clamp(22px, 2.5vw, 26px);
}

.articles-card h3 {
    font-size: clamp(20px, 2.1vw, 23px);
}

.articles-featured-card p,
.articles-card p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.85;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.articles-featured-card strong,
.articles-card strong {
    align-self: end;
    margin-top: 4px;
    color: var(--gold-dark);
    font-size: 14.5px;
    font-weight: 900;
}

.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 {
    background: #151b28;
}

html[data-theme="night"] .articles-hub {
    --articles-card-border: rgba(255, 255, 255, .08);
    --articles-card-border-hover: rgba(235, 186, 75, .34);
    --articles-card-shadow: 0 18px 44px rgba(0, 0, 0, .18);
    --articles-card-shadow-hover: 0 26px 64px rgba(0, 0, 0, .28);
    --articles-card-surface: linear-gradient(180deg, #151b28 0%, #101722 100%);
    --articles-featured-surface: linear-gradient(145deg, #1b2230 0%, #151b28 100%);
}

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;
    }
}
