.article-scroll-stage {
    width: 100%;
    height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: none;
    background: linear-gradient(180deg, #fbfaf8 0%, #fdfdfc 24%, #fdfdfc 100%);
}

    .article-scroll-stage::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

.article-hero-wrapper {
    position: relative;
    width: 100%;
    height: min(78vh, 980px);
    min-height: 560px;
    padding: 18px 18px 0;
    overflow: hidden;
    background-color: transparent;
    opacity: 0;
    animation: pageFadeIn 1.2s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

    .article-hero-wrapper::after {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(180deg, rgba(253, 253, 252, 0) 48%, rgba(253, 253, 252, 0.18) 68%, rgba(253, 253, 252, 0.72) 84%, #fdfdfc 100%);
        z-index: 1;
    }

.article-img {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    border-radius: 34px;
    padding: 18px;
    box-shadow: 0 34px 90px -54px rgba(0, 0, 0, 0.18);
    transform: scale(1.04);
    animation: articleZoomOut 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

.article-body-wrapper {
    max-width: 980px;
    margin: -130px auto 0;
    padding: 0 24px 110px;
    position: relative;
    z-index: 2;
}

.article-header-block {
    max-width: 780px;
    margin: 0 auto 72px;
    padding: 40px 42px 0;
    text-align: center;
    text-shadow: 0 10px 30px rgba(253, 253, 252, 0.9);
}

.article-meta {
    display: inline-block;
    margin-bottom: 24px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.92);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2.6px;
    text-transform: uppercase;
    opacity: 0;
    animation: pageFadeInUp 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) forwards 0.4s;
}

.article-title,
.article-sections h2,
.article-sections h3,
.article-sections h4,
.related-article-card__content h3 {
    text-wrap: pretty;
}

.article-title {
    margin: 0;
    color: var(--color-text-main);
    font-family: var(--font-family-serif);
    font-size: clamp(3.2rem, 8vw, 5.8rem);
    line-height: 0.96;
    letter-spacing: -0.045em;
    font-weight: 600;
    opacity: 0;
    animation: pageFadeInUp 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) forwards 0.6s;
}

.article-sections {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 34px 90px -54px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 44px 42px 52px;
    border-radius: 30px;
    color: #2f2f2f;
}

.article-section + .article-section {
    margin-top: 28px;
}

.article-sections p,
.article-sections li {
    font-family: var(--font-family-sans);
    font-size: 1.08rem;
    line-height: 1.9;
    font-weight: 400;
    color: #3e3e3e;
    text-align: justify;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    text-wrap: pretty;
}

.article-sections blockquote {
    margin: 56px 0;
    padding: 28px 28px 28px 32px;
    border-left: 3px solid var(--color-primary);
    background: linear-gradient(180deg, rgba(185, 28, 28, 0.04), rgba(255, 255, 255, 0.6));
    border-radius: 20px;
    font-family: var(--font-family-serif);
    font-size: 1.55rem;
    font-style: italic;
    text-align: justify;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    text-wrap: pretty;
    color: #191919;
    line-height: 1.45;
}

.article-sections p {
    margin-bottom: 24px;
}

.article-sections ul,
.article-sections ol {
    margin: 0 0 28px 0;
    padding-left: 1.5rem;
}

.article-sections li + li {
    margin-top: 10px;
}

.article-sections h2,
.article-sections h3,
.article-sections h4 {
    color: var(--color-text-main);
    font-family: var(--font-family-serif);
    font-style: italic;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.article-sections h2 {
    margin: 70px 0 22px;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
}

.article-sections h3 {
    margin: 54px 0 18px;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    font-weight: 600;
}

.article-sections h4 {
    margin: 40px 0 16px;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 600;
}

.article-sections strong,
.article-sections b {
    font-weight: 700;
    color: #171717;
}

.article-sections em {
    font-style: italic;
    color: #4d4d4d;
}

.article-sections mark {
    padding: 0.08em 0.3em;
    border-radius: 0.35em;
    background: rgba(185, 28, 28, 0.10);
    color: var(--color-text-main);
    box-shadow: inset 0 -1px 0 rgba(185, 28, 28, 0.16);
}

.article-sections a {
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(185, 28, 28, 0.25);
}

    .article-sections a:hover {
        border-bottom-color: var(--color-primary);
    }

.article-sections blockquote {
    margin: 56px 0;
    padding: 28px 28px 28px 32px;
    border-left: 3px solid var(--color-primary);
    background: linear-gradient(180deg, rgba(185, 28, 28, 0.04), rgba(255, 255, 255, 0.6));
    border-radius: 20px;
    font-family: var(--font-family-serif);
    font-size: 1.55rem;
    font-style: italic;
    text-align: left;
    color: #191919;
    line-height: 1.45;
}

    .article-sections blockquote cite {
        display: block;
        margin-top: 18px;
        font-size: 0.78rem;
        font-family: var(--font-family-sans);
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #999;
        font-style: normal;
        font-weight: 700;
    }

.article-sections hr {
    margin: 42px 0;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.article-sections img {
    width: 100%;
    height: auto;
    margin: 34px 0;
    border-radius: 22px;
    box-shadow: 0 24px 50px -34px rgba(0, 0, 0, 0.22);
}

.end-mark {
    text-align: center;
    margin-top: 52px;
    font-size: 1.15rem;
    color: var(--color-primary);
}

.back-link-wrapper {
    text-align: center;
    margin-top: 24px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #999;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: 0.3s;
}

    .back-link:hover {
        color: var(--color-primary);
        gap: 15px;
    }

.related-articles {
    margin-top: 88px;
}

.related-articles__title {
    margin: 0 0 28px 0;
    text-align: center;
    color: var(--color-text-main);
    font-family: var(--font-family-serif);
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 600;
}

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

.related-article-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 28px 60px -36px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

    .related-article-card:hover {
        transform: translateY(-6px);
        border-color: rgba(185, 28, 28, 0.16);
        box-shadow: 0 36px 70px -34px rgba(185, 28, 28, 0.18);
    }

.related-article-card__image-shell {
    padding: 18px 18px 0;
    background: #fff;
}

.related-article-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    background: #fff;
    border-radius: 20px;
}

.related-article-card__content {
    padding: 22px 22px 24px;
}

    .related-article-card__content h3 {
        margin: 0;
        color: var(--color-text-main);
        font-family: var(--font-family-serif);
        font-size: 1.45rem;
        line-height: 1.12;
        letter-spacing: -0.03em;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-wrap: normal;
    }

    .related-article-card__content p {
        margin: 14px 0 0 0;
        color: #555;
        font-size: 0.98rem;
        line-height: 1.7;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.article-button {
    margin: 80px 0 20px;
    display: flex;
    justify-content: center;
}

    .article-button .button {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 58px;
        padding: 0 34px;
        border: none;
        border-radius: 999px;
        background: linear-gradient(135deg, var(--color-primary), #e11d48);
        color: #fff;
        font-family: var(--font-family-sans);
        font-size: 0.86rem;
        font-weight: 800;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        text-decoration: none;
        box-shadow: 0 20px 40px -22px rgba(185, 28, 28, 0.48);
        transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
        overflow: hidden;
    }

.article-sections .article-button .button,
.article-sections .article-button .button:hover {
    color: #fff;
    text-decoration: none;
    border-bottom: none;
}

.article-button .button::before {
    content: '';
    position: absolute;
    inset: 0;
    left: -120%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transition: left 0.55s ease;
}

.article-button .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 52px -20px rgba(185, 28, 28, 0.56);
    filter: saturate(1.04);
}

    .article-button .button:hover::before {
        left: 120%;
    }

@keyframes articleZoomOut {
    from {
        transform: scale(1.2);
    }

    to {
        transform: scale(1);
    }
}

@media (max-width: 767px) {
    .article-hero-wrapper {
        height: auto !important;
        min-height: unset;
        padding: 88px 12px 0;
    }

        .article-hero-wrapper::after {
            background: linear-gradient(180deg, rgba(253, 253, 252, 0) 58%, rgba(253, 253, 252, 0.28) 78%, #fdfdfc 100%);
        }

    .article-img {
        animation: none !important;
        transform: none !important;
        object-fit: contain;
        padding: 12px;
        border-radius: 24px;
        aspect-ratio: 4 / 3;
        height: auto;
        width: 100%;
    }

    .article-body-wrapper {
        margin-top: 0;
        padding: 26px 16px 60px;
    }

    .article-header-block {
        margin-bottom: 34px;
        padding: 0;
        text-shadow: none;
    }

    .related-articles {
        margin-top: 64px;
    }

    .related-articles__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .related-article-card__image-shell {
        padding: 16px 16px 0;
    }

    .article-title {
        font-size: 2.35rem;
    }

    .article-sections {
        padding: 28px 20px 34px;
        border-radius: 22px;
    }

    .article-sections p,
    .article-sections li {
        font-size: 1rem;
        line-height: 1.8;
    }

    .article-sections h2 {
        margin-top: 48px;
        font-size: 1.9rem;
    }

    .article-sections h3 {
        margin-top: 36px;
        font-size: 1.45rem;
    }

    .article-sections blockquote {
        margin: 32px 0;
        padding: 24px 18px 24px 20px;
        font-size: 1.28rem;
    }

    .article-button {
        margin-top: 32px;
    }

        .article-button .button {
            width: 100%;
            min-height: 54px;
            padding: 0 24px;
            letter-spacing: 0.1em;
            text-align: center;
        }
}
