/**
 * Path: public_html/assets/css/articles.css
 */

.articles-hero {
    width: min(980px, calc(100% - 32px));
    margin: 54px auto 0;
    text-align: center;
}

.articles-hero span {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--gold-soft);
    color: var(--burgundy);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.articles-hero h1 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(48px, 7vw, 76px);
    line-height: 1;
    color: var(--ink);
}

.articles-hero p {
    max-width: 760px;
    margin: 20px auto 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.articles-banner {
    width: min(1180px, calc(100% - 32px));
    min-height: 110px;
    margin: 34px auto 0;
}

.articles-list-section {
    width: min(1180px, calc(100% - 32px));
    margin: 42px auto 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    overflow: hidden;
    border-radius: 28px;
    background: rgba(250, 247, 239, 0.78);
    border: 1px solid var(--border);
    box-shadow: 0 18px 50px rgba(16, 24, 32, 0.08);
}

.article-card-image {
    display: block;
    height: 220px;
    background: rgba(16, 24, 32, 0.08);
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(16, 24, 32, 0.96), rgba(90, 30, 43, 0.94));
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 34px;
}

.article-card-content {
    padding: 24px;
}

.article-card-category {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--burgundy);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.article-card h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 29px;
    line-height: 1.12;
    color: var(--ink);
}

.article-card p {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

.article-card-meta {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-card-meta span {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(200, 155, 60, 0.1);
    color: var(--burgundy);
    font-size: 12px;
    font-weight: 800;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-public-card {
    min-height: 260px;
    padding: 28px;
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(250, 247, 239, 0.82), rgba(244, 235, 208, 0.76));
    border: 1px solid var(--border);
    box-shadow: 0 18px 50px rgba(16, 24, 32, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.category-public-card span {
    width: fit-content;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--gold-soft);
    color: var(--burgundy);
    font-size: 12px;
    font-weight: 900;
}

.category-public-card h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 34px;
    line-height: 1.08;
    color: var(--ink);
}

.category-public-card p {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 14px;
}

.static-page {
    width: min(900px, calc(100% - 32px));
    margin: 54px auto 0;
}

.static-page > span {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--gold-soft);
    color: var(--burgundy);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.static-page h1 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(44px, 6vw, 72px);
    line-height: 1;
    color: var(--ink);
}

.static-page > p {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.85;
}

.static-card {
    margin-top: 34px;
    padding: 34px;
    border-radius: 30px;
    background: rgba(250, 247, 239, 0.78);
    border: 1px solid var(--border);
    box-shadow: 0 18px 50px rgba(16, 24, 32, 0.08);
}

.static-card h2 {
    margin: 26px 0 10px;
    font-family: var(--font-heading);
    font-size: 34px;
    color: var(--ink);
}

.static-card h2:first-child {
    margin-top: 0;
}

.static-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
}

.static-card a {
    color: var(--burgundy);
    font-weight: 900;
}

@media (max-width: 980px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}