.article-content {}

/* PWRU-478: story (and other) details use .carousel-item as static content
   blocks, not Bootstrap slides. Hub override is body.stories only. */
.article-content .carousel-item {
    display: block !important;
}

/*
 * PWRU-478: live Sitecore page CSS for .read-treatment-article .articles
 * (margin 97px → content ~916px at 1280). Column hubs use body-slug rules
 * instead; scope under .article-content to avoid chrome/hub blast.
 */
.article-content .read-treatment-article .articles {
    margin: 0 97px;
    padding-top: 20px !important;
}

.article-content .read-treatment-article .articles > .col-lg-12,
.article-content .read-treatment-article .articles .col-lg-12 {
    padding: 0;
}

/* Live page CSS: body copy. Exclude .publishdate — legacy hides it
   (.pagewrapper .carousel-item .publishdate { display: none }). */
.article-content .read-treatment-article .articles p:not(.publishdate) {
    font-size: 18px;
    line-height: 28px;
    padding-bottom: 0;
    display: inline-block;
}

.article-content .read-treatment-article .articles h2 {
    font-size: 24px;
    line-height: 30px;
    text-align: left;
    color: #464646;
    font-family: 'Roboto-Bold', Roboto, Arial, sans-serif;
    margin-bottom: 20px;
}

.article-content .read-treatment-article .articles h3 {
    color: #464646;
    font-family: 'Roboto-Bold', Roboto, Arial, sans-serif;
}

/*
 * PWRU-534: live builds one Sitecore page CSS per article, so the heading face is
 * not uniform. Most content pages (blood, /column/how-support, 4 of 8 stories) end
 * on `.articles h3{font-family:'Roboto-Bold'}`; these four live page CSS files
 * override every body h3 block (alina/kidney/articles/read-book/reviews) with
 * `Roboto` + `700` (compared against live page CSS 053ac163/0b55cc57/011ac3ce,
 * 21.10.2026). The face difference is real: «Повышенная кровоточивость» is
 * 298.95px in Roboto-Bold and 341.67px in Roboto/700 at 24px.
 * `.read-treatment-article` is deliberately not required: the three columns wrap
 * the body in `.row.main.what-to-do…` instead, and their «Другие статьи» carousel
 * sits outside `.article-content`.
 */
body.psikhologicheskaya-reabilitatsiya :is(.alina-section, .kidney, .articles, .read-book, .reviews) h3,
body.razreshite-sebe-radovatsya-zhizni :is(.alina-section, .kidney, .articles, .read-book, .reviews) h3,
body.got-contact :is(.alina-section, .kidney, .articles, .read-book, .reviews) h3,
body.i-dont-need-pity :is(.alina-section, .kidney, .articles, .read-book, .reviews) h3 {
    font-family: 'Roboto';
    font-weight: 700;
}

/* Trailing story MAT sits outside `.articles`; match live 18/28 and kill global p padding. */
.article-content .read-treatment-article .story-mat,
.article-content .read-treatment-article .approval-number,
.article-content .read-treatment-article > .col-lg-12 > p:last-of-type {
    font-size: 18px;
    line-height: 28px;
    padding-bottom: 0;
    display: block;
    width: 100%;
}

/* Live keeps the story MAT inside `.articles`: x262 / 916px wide (97px section
   margin + 15px column padding) and 40px below it (`.articles:last-child`). */
@media only screen and (min-width: 768px) {
    .article-content .read-treatment-article .story-mat {
        width: auto;
        margin: 0 97px 40px;
        padding: 0 15px;
    }

    /* PWRU-534: live keeps the MAT inside the last `.articles`, so the 40px gap sits
       after MAT, not before it. Here MAT is a sibling of the wrapping `.col-lg-12`
       and that column's `.articles:last-child` already contributes the 40px. */
    .article-content .read-treatment-article > .col-lg-12:has(+ .story-mat) > .articles:last-child {
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 767px), only screen and (max-width: 767px) and (orientation: landscape) {
    .article-content .read-treatment-article .story-mat,
    .article-content .read-treatment-article .approval-number,
    .article-content .read-treatment-article > .col-lg-12 > p:last-of-type {
        font-size: 16px;
        line-height: 26px;
        margin-bottom: 20px !important;
    }

    /* Live keeps story MAT inside the last `.articles`, so its 40px bottom margin
       lands after MAT; here MAT is appended outside that block. This page already
       ships MAT inside the content, so it keeps the 20px it had. */
    body:not(.everyone-has-already-buried-me) .article-content .read-treatment-article .story-mat {
        margin-bottom: 60px !important;
    }
}

@media only screen and (max-width: 767px), only screen and (max-width: 767px) and (orientation: landscape) {
    .article-content .read-treatment-article .articles {
        /* Live: this mobile rule loses to the unconditional `padding-top:20px
           !important` above (same specificity, no !important here), so the
           mobile article body keeps 20px. Do not promote it. */
        margin: 0;
        padding-top: 0;
    }

    .article-content .read-treatment-article .articles p:not(.publishdate) {
        font-size: 16px !important;
        line-height: 26px !important;
        margin-bottom: 20px !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px),
only screen and (min-width: 992px) and (max-width: 1199px) {
    .article-content .read-treatment-article .articles {
        padding: 0 30px !important;
        margin: 15px 0 0;
    }
}

.article-content__title-block {}

.article-content__title-block h1 {
    font-family: DINRoundPro, Arial, sans-serif;
    color: #464646;
    padding-top: 54px;
    padding-bottom: 50px;
    max-width: 721px;
    text-align: center;
    margin: auto;
}

@media only screen and (max-width: 767px), only screen and (max-width: 767px) and (orientation: landscape) {
    .article-content__title-block h1 {
        font-size: 24px;
        line-height: 30px;
        text-align: left;
    }
}

.article-content .close-section .float-left span {
    letter-spacing: 3px !important;
    text-transform: uppercase;
    color: #ABABAB;
    font-weight: 900 !important;
    font-size: 14px;
    line-height: 24px;
}

.article-content .article-content__sub-title {
    margin: 50px 0 !important;
}


.article-content .articles--non-top-padding {
    padding-top: 0 !important;
}

.carousel-list {
    margin-bottom: 0;
}

.carousel-list li:first-child {
    padding-top: 0;
}

.p35 {
    padding-top: 35px;
}

.article-section {
    margin: 50px 0;
}

.article-section > h2 {
    margin: 30px 0 !important;
}