/* Стили подключаются только на страницах типа articles. */
.articles-typical {
    --prk-ink: #171411;
    --prk-text: #39342f;
    --prk-muted: #736c65;
    --prk-yellow: #ffd800;
    --prk-cream: #f7f3ec;
}

.articles-typical__title {
    width: 62.5vw;
    max-width: 100%;
    margin-top: 22px;
    margin-right: auto;
    margin-bottom: 44px;
    margin-left: 0;
    color: var(--prk-ink);
    font-size: clamp(38px, 5vw, 64px) !important;
    font-weight: 850 !important;
    line-height: 1.02 !important;
    letter-spacing: -.045em;
    text-align: center;
    text-wrap: balance;
}

.articles-typical__content {
    color: var(--prk-text);
    font-size: 18px;
    line-height: 1.72;
}

.articles-typical__content > p,
.articles-typical__content > ul,
.articles-typical__content > ol,
.articles-typical__content > blockquote {
    max-width: 760px;
    margin-right: auto;
    margin-bottom: 25px;
    margin-left: auto;
}

.articles-typical__content h2,
.articles-typical__content h3 {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    color: var(--prk-ink);
    letter-spacing: -.025em;
}

.articles-typical__content h2 {
    margin-top: 62px;
    margin-bottom: 21px;
    font-size: clamp(31px, 4vw, 45px);
    line-height: 1.1;
}

.articles-typical__content h3 {
    margin-top: 42px;
    margin-bottom: 16px;
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1.18;
}

.articles-typical__content ul,
.articles-typical__content ol {
    padding-left: 28px;
}

.articles-typical__content li {
    margin-bottom: 9px;
}

.articles-typical__content li::marker {
    color: #d4aa00;
}

.articles-typical__content a {
    color: var(--prk-ink);
    text-decoration-color: #d4aa00;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.prk-article-cover,
.articles-typical__content .wp-block-image,
.articles-typical__content > img {
    width: min(100%, 900px);
    margin: 0 auto 46px;
}

.prk-article-cover {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 28px;
    background: var(--prk-cream);
    box-shadow: 0 20px 50px rgba(23, 20, 17, .11);
}

.prk-article-cover__image,
.articles-typical__content .wp-block-image img,
.articles-typical__content > img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    border-radius: 24px;
    object-fit: cover;
}

.articles-typical__content .wp-block-image figcaption {
    margin-top: 10px;
    color: var(--prk-muted);
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}

@media (max-width: 767px) {
    .articles-typical__title {
        width: 100%;
        margin-right: auto;
        margin-left: auto;
        margin-top: 12px;
        margin-bottom: 28px;
        font-size: clamp(32px, 9vw, 44px) !important;
        line-height: 1.03 !important;
    }

    .articles-typical__content {
        font-size: 17px;
        line-height: 1.66;
    }

    .articles-typical__content h2 {
        margin-top: 48px;
    }

    .prk-article-cover {
        aspect-ratio: 4 / 3;
        margin-bottom: 34px;
        border-radius: 20px;
        box-shadow: 0 14px 34px rgba(23, 20, 17, .1);
    }

    .prk-article-cover__image,
    .articles-typical__content .wp-block-image img,
    .articles-typical__content > img {
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .articles-typical * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
