html[lang="ru"] body,
html[lang="ru"] :is(h1, h2, h3, h4, h5, h6, .section-title p, .servicesbox p, .slidertext1, .slidertext2, .sliderbtn, .form-control, .btn, .section-btn) {
    font-family: "Segoe UI", "Noto Sans", Arial, sans-serif;
}

html[lang="ru"] body,
html[lang="ru"] :is(p, .about-desc li, .form-privacy label) {
    line-height: 1.8;
}

html[lang="ru"] body {
    word-break: normal;
    overflow-wrap: break-word;
}

html[lang="ru"] :is(h1, h2, h3, h4) {
    line-height: 1.35;
    letter-spacing: normal;
}

html[lang="ru"] :is(.about-desc, .modal-body, .newsletter, .servicesbox, .blogGrid, .information, .cookie-consent) {
    overflow-wrap: anywhere;
    hyphens: auto;
}

html[lang="ru"] .container {
    max-width: 100%;
}

html[lang="ru"] .form-control {
    min-width: 0;
}

html[lang="ru"] .navbar-nav .dropdown-menu-lang {
    max-height: 75vh;
    overflow-y: auto;
}

html[lang="ru"] .date-input-group {
    display: flex;
    width: 100%;
}

html[lang="ru"] .date-input-group .input-group-addon {
    display: flex;
    width: auto;
    align-items: center;
}

html[lang="ru"] .date-input-group input {
    flex: 1 1 0%;
    width: 0;
    padding-inline: 0.5em;
}

html[lang="ru"] #slider {
    background-color: #242424;
}

html[lang="ru"] :is(.slidertext1, .slidertext2) {
    white-space: nowrap;
    letter-spacing: normal;
}

@media (min-width: 768px) and (max-width: 991px) {
    html[lang="ru"] .custom-navbar .nav li a {
        padding: 5px 7px;
        font-size: 12px;
        line-height: 1.6;
    }
}

@media (max-width: 767px) {
    html[lang="ru"] .custom-navbar .navbar-header {
        display: flex;
        align-items: center;
    }

    html[lang="ru"] .custom-navbar .navbar-header h2 {
        order: -1;
        margin: 0 auto 0 0;
    }

    html[lang="ru"] .custom-navbar .navbar-toggle {
        flex: 0 0 auto;
        margin: 8px 2px;
    }

    html[lang="ru"] .custom-navbar .navbar-brand {
        font-size: 19px;
        white-space: nowrap;
    }

    html[lang="ru"] #formncc {
        padding-inline: 16px;
    }

    html[lang="ru"] #formncc h3 {
        font-size: 26px;
    }

    html[lang="ru"] #formncc :is(.input-group-addon, .form-control) {
        font-size: 14px;
    }

    html[lang="ru"] .newsletter :is(.btn, .form-control) {
        font-size: 14px;
    }

    html[lang="ru"] .newsletter .btn {
        padding-inline: 12px;
    }

    html[lang="ru"] #slider :is(.tp-banner, .tp-revslider-mainul) {
        min-height: 210px;
    }

    html[lang="ru"] #slider .active-revslide .caption {
        left: 5% !important;
        width: 90% !important;
        padding: 0 !important;
        text-align: center;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
    }

    html[lang="ru"] #slider .active-revslide .slidertext2 {
        top: 42% !important;
        font-size: clamp(12px, 3.5vw, 19px) !important;
        line-height: 1.5 !important;
    }

    html[lang="ru"] #slider .active-revslide .slidertext1 {
        top: 55% !important;
        font-size: clamp(21px, 5.4vw, 34px) !important;
        line-height: 1.4 !important;
    }

    html[lang="ru"] #slider .slidertext1 span {
        font-size: inherit !important;
        line-height: inherit !important;
    }

    html[lang="ru"] #slider .active-revslide .sliderbtn {
        top: 76% !important;
    }

    html[lang="ru"] #slider .sliderbtn .section-btn {
        margin: 0 3px !important;
        padding: 4px 9px !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
    }
}
