.article-card-lg {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(217, 200, 172, 0.55);
    background: rgba(255, 255, 255, 0.92);
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.article-card-lg:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 90, 43, 0.35);
}

.article-card-lg-media {
    flex: 0 0 180px;
    background: rgba(248, 242, 232, 0.9);
}

.article-card-lg-img {
    width: 100%;
    height: 180px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.article-card-lg-img-empty {
    width: 100%;
    height: 180px;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(138, 118, 96, 0.55);
    font-size: 32px;
    line-height: 1;
}

.article-card-lg-img-empty i {
    display: block;
}

.article-card-lg-body {
    padding: 18px 18px 20px;
    display: grid;
    gap: 10px;
    flex: 1;
}

.article-card-lg-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--ns-text-main);
}

.article-card-lg-excerpt {
    font-size: 16px;
    color: var(--ns-text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-lg-cta {
    margin-top: auto;
    padding-top: 4px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ns-accent, #8b5a2b);
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.article-page {
    padding-bottom: 48px;
}

/* Article show page — фон общий через body::before */
.article-show {
    padding: 24px 0 64px;
}

.article-show-shell {
    max-width: 1080px;
    margin: 0 auto;
}

.article-show-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ns-blue);
}

.article-show-back:hover {
    color: #6e4520;
}

.article-show-header {
    max-width: 760px;
    margin-bottom: 24px;
}

.article-show-date {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ns-text-muted);
}

.article-show-title {
    margin: 0 0 14px;
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: var(--ns-text-main);
}

.article-show-lead {
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
    color: var(--ns-text-muted);
}

.article-show-cover {
    margin: 0 0 28px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(217, 200, 172, 0.55);
    background: rgba(248, 242, 232, 0.9);
    box-shadow: 0 16px 40px rgba(70, 45, 20, 0.08);
}

.article-show-cover-img {
    display: block;
    width: 100%;
    max-height: 420px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

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

.article-show-main {
    min-width: 0;
    max-width: 720px;
}

.article-prose {
    padding: 0;
    font-size: 17px;
    line-height: 1.75;
    color: var(--ns-text-main);
}

.article-prose > :first-child {
    margin-top: 0;
}

.article-prose > :last-child {
    margin-bottom: 0;
}

.article-prose p {
    margin: 0 0 1.1em;
}

.article-prose h2 {
    margin: 1.6em 0 0.65em;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: var(--ns-text-main);
}

.article-prose h3 {
    margin: 1.4em 0 0.5em;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.article-prose ul,
.article-prose ol {
    margin: 0 0 1.1em;
    padding-left: 1.35em;
}

.article-prose li {
    margin-bottom: 0.35em;
}

.article-prose li::marker {
    color: var(--ns-blue);
}

.article-prose a {
    color: var(--ns-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-prose strong {
    font-weight: 600;
    color: var(--ns-text-main);
}

.article-prose blockquote {
    margin: 1.4em 0;
    padding: 16px 20px;
    border-left: 3px solid var(--ns-blue);
    border-radius: 0 14px 14px 0;
    background: rgba(139, 90, 43, 0.06);
    color: var(--ns-text-muted);
    font-size: 16px;
}

.article-show-footer {
    margin-top: 40px;
}

.article-footer-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 28px;
    border-radius: 22px;
    background: linear-gradient(135deg, #8b5a2b 0%, #6e4520 55%, #5a3820 100%);
    box-shadow: 0 18px 44px rgba(70, 45, 20, 0.2);
}

.article-footer-cta-copy {
    flex: 1;
    min-width: min(100%, 280px);
    max-width: 520px;
}

.article-footer-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 20px;
}

.article-footer-cta-title {
    margin: 0 0 10px;
    font-size: clamp(22px, 2.6vw, 28px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #fff;
}

.article-footer-cta-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.article-footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.article-footer-cta-btn {
    border-radius: 999px;
    padding: 11px 20px;
    font-weight: 600;
    white-space: nowrap;
}

.article-footer-cta-actions .btn-light {
    color: #5a3820;
    border: none;
}

.article-footer-cta-actions .btn-light:hover {
    color: #4a2e18;
    background: rgba(255, 255, 255, 0.92);
}

.article-footer-cta-actions .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.article-footer-cta-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.75);
    color: #fff;
}

.article-show-aside {
    display: grid;
    gap: 16px;
    position: sticky;
    top: calc(max(var(--site-header-h, 0px), var(--site-header-min-safe, 0px)) + 20px);
}

.article-aside-card {
    padding: 20px 18px;
    border-radius: 18px;
    border: 1px solid rgba(217, 200, 172, 0.45);
    background: #fff;
    box-shadow: 0 10px 28px rgba(70, 45, 20, 0.05);
}

.article-aside-card-cta {
    padding: 24px 20px;
    border: none;
    background: linear-gradient(135deg, #8b5a2b 0%, #6e4520 55%, #5a3820 100%);
    box-shadow: 0 16px 40px rgba(70, 45, 20, 0.2);
}

.article-aside-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 20px;
}

.article-aside-card-cta .article-aside-card-title {
    color: #fff;
    font-size: 18px;
}

.article-aside-card-cta .article-aside-card-text {
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.55;
}

.article-aside-cta-btn {
    border-radius: 999px;
    font-weight: 600;
    color: #5a3820;
    border: none;
}

.article-aside-cta-btn:hover {
    color: #4a2e18;
    background: rgba(255, 255, 255, 0.92);
}

.article-aside-card-related {
    border-color: rgba(217, 200, 172, 0.35);
    background: rgba(253, 250, 243, 0.65);
}

.article-aside-card-title {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ns-text-main);
}

.article-aside-card-text {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ns-text-muted);
}

.article-aside-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.article-aside-link {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(217, 200, 172, 0.35);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 500;
    color: var(--ns-text-main);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.article-aside-link-text {
    flex: 1;
    min-width: 0;
}

.article-aside-link-icon {
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 18px;
    color: var(--ns-blue);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.article-aside-link:hover {
    color: var(--ns-text-main);
    border-color: rgba(139, 90, 43, 0.35);
    box-shadow: 0 6px 16px rgba(70, 45, 20, 0.06);
    transform: translateY(-1px);
}

.article-aside-link:hover .article-aside-link-icon {
    opacity: 1;
    transform: translateX(0);
}

.articles-empty {
    grid-column: 1 / -1;
    padding: 48px 24px;
    text-align: center;
    border-radius: 16px;
    border: 1px dashed rgba(217, 200, 172, 0.8);
    background: rgba(255, 255, 255, 0.7);
}

.articles-empty-text {
    margin: 0;
    font-size: 16px;
    color: var(--ns-text-muted);
}

@media (max-width: 991.98px) {
    .article-show-layout {
        grid-template-columns: 1fr;
    }

    .article-show-main {
        max-width: none;
    }

    .article-show-aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .article-card-lg-title {
        font-size: 17px;
    }

    .article-card-lg-excerpt {
        font-size: 15px;
    }

    .article-show {
        padding-top: 16px;
    }

    .article-show-title {
        font-size: 26px;
    }

    .article-show-lead {
        font-size: 16px;
    }

    .article-prose {
        font-size: 16px;
    }

    .article-show-aside {
        grid-template-columns: 1fr;
    }

    .article-footer-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
    }

    .article-footer-cta-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .article-footer-cta-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .article-hero-img {
        height: 200px;
    }
}
