/* SES 1.2 — headings only. Load after override.css and buttons.css. */
.mceContentBody {
    --ses-heading-blue: #2174b1;
    --ses-heading-dark: #195e91;
    --ses-heading-red: #d53b45;
    --ses-h1: 36px;
    --ses-h1-modern: 44px;
    --ses-h2: 30px;
    --ses-h3: 23px;
    --ses-h4: 19px;
}
/* Legacy article headings, including visual heading classes. */
.mceContentBody :is(h1,h2,h3,h4,.h1,.h2,.h3,.h4) {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    letter-spacing: normal;
    overflow-wrap: break-word;
}
.mceContentBody :is(h1,.h1) {
    font-size: var(--ses-h1);
    line-height: 1.12;
    color: var(--ses-heading-blue);
    padding: 0;
    border: 0;
}
.mceContentBody :is(h1,.h1)::after { display: none; }
.mceContentBody :is(h2,.h2):not(.call-service_item-title) {
    font-size: var(--ses-h2);
    line-height: 1.2;
    color: var(--ses-heading-blue);
    border: 0;
    padding: 0 0 12px;
    background-image: linear-gradient(to right,var(--ses-heading-blue) 80%,var(--ses-heading-red) 80%);
    background-size: 80px 3px;
    background-position: left bottom;
    background-repeat: no-repeat;
}
.mceContentBody :is(h2,.h2)::after { display: none; }
/* Keep existing ::before anchor offsets and heading visibility. */
.mceContentBody :is(h3,.h3) {
    font-size: var(--ses-h3);
    line-height: 1.25;
    color: var(--ses-heading-dark);
}
.mceContentBody :is(h4,.h4) {
    font-size: var(--ses-h4);
    line-height: 1.3;
    color: #353535;
}
/* Modern service layouts: override existing important declarations. */
.mceContentBody .int__title {
    font-family: 'PT Sans', sans-serif !important;
    font-size: var(--ses-h1-modern) !important;
    line-height: 1.12 !important;
    color: var(--ses-heading-blue) !important;
}
.mceContentBody :is(.blue__title,.hero__title,.chose__title,.know__title,.metod__title,.garant__title,.team__title,.faq__title,.rev__title,.dov__title) {
    font-family: 'PT Sans', sans-serif !important;
    font-size: var(--ses-h2) !important;
    line-height: 1.2 !important;
    color: var(--ses-heading-blue) !important;
    padding-bottom: 12px !important;
    background-image: linear-gradient(to right,var(--ses-heading-blue) 80%,var(--ses-heading-red) 80%);
    background-size: 80px 3px;
    background-position: left bottom;
    background-repeat: no-repeat;
}
.mceContentBody .blue__title {
    color: #fff !important;
    background-image: linear-gradient(to right,#fff 80%,var(--ses-heading-red) 80%);
}
/* CTA: preserve external margins, unify heading typography and underline. */
.mceContentBody h2.call-service_item-title {
    font-size: var(--ses-h2) !important;
    line-height: 1.2 !important;
    color: var(--ses-heading-blue) !important;
    font-family: 'PT Sans', sans-serif !important;
    font-weight: 700 !important;
    padding-bottom: 12px !important;
    background-image: linear-gradient(to right,var(--ses-heading-blue) 80%,var(--ses-heading-red) 80%);
    background-size: 80px 3px;
    background-position: left bottom;
    background-repeat: no-repeat;
}
/* Preserve special centered headings and widget typography. */
.mceContentBody :is(h1,.h1).centered-heading { font-size: var(--ses-h1); }
.mceContentBody :is(.repellents-block,.idc,#idc-container) :is(h3,.h3) { color: inherit; }
@media (max-width: 767px) {
    .mceContentBody {
        --ses-h1: 28px;
        --ses-h1-modern: 30px;
        --ses-h2: 25px;
        --ses-h3: 21px;
        --ses-h4: 18px;
    }
}

/* Special legacy headings: centered calculator and sidebar links. */
.mceContentBody :is(h2,.h2).centered-heading {
    background-position: center bottom;
}
.mceContentBody :is(h2,.h2).helpful-articles-heading {
    background-image: none;
    padding-bottom: 0;
}

/* SES 1.2 — centered legacy headings and partner carousel. */
.mceContentBody :is(h2,.h2):is(.chekko,.align-center,[align="center"],[style*="text-align: center"],[style*="text-align:center"]) {
    background-position: center bottom;
}
.comp-slider .carousel-header {
    font-family: 'PT Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
    color: #2174b1 !important;
    padding-bottom: 12px;
    background-image: linear-gradient(to right,#2174b1 80%,#d53b45 80%);
    background-size: 80px 3px;
    background-position: 15px bottom;
    background-repeat: no-repeat;
}
@media (max-width: 767px) {
    .comp-slider .carousel-header {
        font-size: 25px !important;
        background-position: center bottom;
    }
}
/* Keep intentionally hidden carousel headings hidden. */
.article-17 .comp-slider .carousel-header,
.article-24 .comp-slider .carousel-header {
    padding: 0;
    background-image: none;
}

/* SES 1.3 — let the partner carousel accommodate its heading. */
.comp-slider#comp-slider {
    height: auto !important;
}
/* Preserve deliberately hidden partner carousels. */
.article-17 .comp-slider#comp-slider,
.article-24 .comp-slider#comp-slider,
.has-two-page .comp-slider#comp-slider {
    height: 0 !important;
}
