.article-shell {
    padding: 24px 0 54px;
    background: linear-gradient(180deg, #fbfaf6 0%, #f6f3ec 100%);
}

.article-hero {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    margin-bottom: 22px;
    border: 1px solid #e3ddd0;
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.article-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 24%, rgba(255, 255, 255, 0.22) 52%, rgba(255, 255, 255, 0) 70%),
        var(--article-hero-image, url("../images/hero/hero-bg-1-gIB_KdM.png")) center center / cover no-repeat;
}

.article-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 760px) 1fr;
    align-items: end;
    min-height: 360px;
    padding: 30px 34px;
}

.article-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(98, 114, 80, 0.12);
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.article-title {
    max-width: 13ch;
    margin: 14px 0 10px;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.article-excerpt {
    max-width: 58ch;
    margin: 0;
    color: #475052;
    font-size: 16px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    align-items: end;
    justify-content: flex-end;
}

.article-meta-card {
    min-width: 240px;
    padding: 14px 16px 13px;
    border: 1px solid rgba(227, 221, 208, 0.92);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(10px);
}

.article-meta-label {
    margin: 0 0 7px;
    color: #6a726d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.article-meta-value {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
}

.article-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

.article-sidebar {
    position: sticky;
    top: 104px;
}

.article-panel {
    padding: 16px 18px 18px;
    border: 1px solid #e5dfd3;
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.article-panel h2 {
    margin: 0 0 12px;
    font-size: 15px;
}

.article-panel p,
.article-panel li {
    margin: 0;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.55;
}

.article-panel ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 18px;
}

.article-content {
    padding: 28px 30px 34px;
    border: 1px solid #e5dfd3;
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.article-body {
    display: grid;
    gap: 18px;
}

.article-body h2 {
    margin: 18px 0 0;
    font-size: 26px;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.article-body h3 {
    margin: 12px 0 0;
    font-size: 19px;
    line-height: 1.2;
}

.article-body p,
.article-body li {
    margin: 0;
    color: #31383b;
    font-size: 15px;
    line-height: 1.78;
}

.article-body ul,
.article-body ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
}

.article-body blockquote {
    margin: 4px 0;
    padding: 18px 20px;
    border-left: 4px solid var(--accent);
    background: #f7f5ef;
    color: #374043;
    font-size: 16px;
    line-height: 1.7;
}

.article-figure {
    overflow: hidden;
    margin: 6px 0;
    border: 1px solid #e6e0d3;
    border-radius: 10px;
    background: #faf8f4;
}

.article-figure img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.article-figure figcaption {
    padding: 10px 14px 12px;
    color: #656d69;
    font-size: 12px;
    line-height: 1.45;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 6px 0;
}

.article-note {
    padding: 16px 18px;
    border: 1px solid rgba(98, 114, 80, 0.14);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(98, 114, 80, 0.12), rgba(98, 114, 80, 0.04));
}

.article-note strong {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.article-related {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.article-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.article-related-card {
    overflow: hidden;
    border: 1px solid #e5dfd3;
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.article-related-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.article-related-body {
    padding: 16px;
}

.article-related-title {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.2;
}

.article-related-excerpt {
    margin: 0 0 10px;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.55;
}

.article-related-link {
    color: var(--accent-dark);
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .article-hero-inner,
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
    }

    .article-meta {
        justify-content: flex-start;
    }

    .article-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .article-shell {
        padding: 18px 0 36px;
    }

    .article-hero {
        min-height: 280px;
    }

    .article-hero-inner {
        min-height: 280px;
        padding: 20px;
    }

    .article-content {
        padding: 22px 20px 26px;
    }

    .article-grid,
    .article-related-grid {
        grid-template-columns: 1fr;
    }
}
