/*
Theme Name: RE Blankslate
*/
:root {
    --brand: #4a59e7;
    --brand: #4a59e7;
    --bg-gray: #f8f8fa;
    --w: #fff;
    --dev: #edf0f2;
    --txt-1: #161c24;
    --txt-2: #212b36;
    --txt-3: #454f5b;
    --txt-4: #637381;
    --txt-5: #919eab;
    --txt-6: #c4cdd5;
}

:root {
    --font-family: "Golos Text", sans-serif;
    --second-family: "Druk Wide Cyr", sans-serif;
    --third-family: "Montserrat", sans-serif;
    --font3: "Onest", sans-serif;
}

.item__banner__image {
    img {
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
        object-fit: cover;
        border-radius: 1.6rem;
    }
}
.map__block__content {
    z-index: 9;
}

.sidebar__advertising {
    position: relative;
}

.sidebar__advertising__link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}
.radiobox input[type="radio"] + label {
    padding: 1.1rem;
    cursor: pointer;
    display: block;
    -webkit-transition: all 400ms ease-in-out;
    transition: all 400ms ease-in-out;
    background: #fff;
    border-radius: 1rem;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 120%;
    color: #454F5B;
    text-align: center;
}

.radiobox input[type="radio"]:checked + label {
    color: #fff;
    background: #4A59E7;
}

.wpcf7 .radiobox {
    margin: 0;
    padding: 0;
    gap: 0;
}

.radiobox .wpcf7-form-control {
    margin: 0;
    padding: 0.8rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0.8rem;
    background: #F8F8FA;
    border-radius: 1.6rem;
}
.radiobox .wpcf7-list-item {
    margin: 0;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
.radiobox .wpcf7-list-item label {
    padding: 1.1rem;
    cursor: pointer;
    display: block;
    -webkit-transition: all 400ms ease-in-out;
    transition: all 400ms ease-in-out;
    background: #fff;
    border-radius: 1rem;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 120%;
    color: #454F5B;
    text-align: center;
}
.radiobox .wpcf7-list-item label:has(input[type="radio"]:checked) {
    color: #fff;
    background: #4A59E7;
    padding: 1.1rem;
    cursor: pointer;
    display: block;
    -webkit-transition: all 400ms ease-in-out;
    transition: all 400ms ease-in-out;
    border-radius: 1rem;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 120%;
    text-align: center;
}

.form__flex br {
    display: none;
}
.form__flex p {
    margin: 0;
}

article#post-3125 {
    header.header {
        display: none;
    }
}


.white-block {
    background: #fff;
    border-radius: 2.4rem;
    padding: 5rem;
}

@media screen and (max-width: 1000px) {
    .white-block {
        padding: 3.2rem;
    }
}

.filter-results {
    border-radius: 1rem;
    padding: .6rem;
    background: #edf0f2;
    margin-top: 2.4rem;
}

.filter-results-top {
    display: flex;
}

.filter-results-top__column {
    padding: 1.2rem 1.6rem;
    font-weight: 600;
    font-size: 14px;
    line-height: 130%;
    color: #637381;
    width: 25%;
}

.filter-results-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-results-list-item {
    border-radius: .8rem;
    background-color: #fff;
    display: flex;
}

.filter-results-list-item__column {
    width: 25%;
    padding: 1.6rem;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1;
    color: #161c24;
}

@media (max-width: 767px) {
    .filter-results-top {
        display: none;
    }
    .filter-results-list-item {
        flex-wrap: wrap;
    }
    .filter-results-list-item__date {
        width: 100%;
    }
    .filter-results-list-item__usd {
        &:before {
            content: '1 USD';
            font-weight: 400;
            font-size: 12px;
            color: #637381;
            padding-bottom: 4px;
        }
    }
    .filter-results-list-item__euro {
        &:before {
            content: '1 EURO';
            font-weight: 400;
            font-size: 12px;
            color: #637381;
            padding-bottom: 4px;
        }
    }
    .filter-results-list-item__eur-usd {
        &:before {
            content: 'EURO/USD';
            font-weight: 400;
            font-size: 12px;
            color: #637381;
            padding-bottom: 4px;
        }
    }
    .filter-results-list-item__usd,
    .filter-results-list-item__euro,
    .filter-results-list-item__eur-usd {
        width: 33.33%;
        padding-top: 0;
        display: flex;
        flex-direction: column;
    }
}

.item__banner {

}

.event-popup__desc {
    display: none !important;
}


.text-block {
    margin-bottom: 4rem;
    p {
        font-weight: 400;
        font-size: 1.6rem;
        line-height: 130%;
        color: #212B36;
        margin: 0 0 1.6rem 0;
    }

    ul {
        margin: 1.6rem 0;
        padding: 0;
        display: block;
    }

    ul li {
        display: block;
        margin: 0 0 1.2rem 0;
        padding: 0 0 0 2.4rem;
        position: relative;
        font-weight: 400;
        font-size: 1.6rem;
        line-height: 130%;
        color: #161C24;
    }

    ul li:last-child {
        margin: 0;
    }

    ul li:before {
        content: '';
        position: absolute;
        top: 0.7rem;
        left: 0;
        width: 0.8rem;
        height: 0.8rem;
        background: #C4CDD5;
        border-radius: 50%;
    }

    ul li strong {
        font-weight: 600;
        color: #161C24;
    }

}


/**
 * STYLES: Table documents
 */

.documents-table-wrap {
    overflow-x: auto;
    padding-bottom: .4rem;
}

.documents-table {
    border-radius: 1rem;
    padding: .6rem;
    background: var(--dev);

    @media (max-width: 1200px) {
        width: 962px;
    }
}

.documents-table-top {
    display: flex;
    gap: .2rem;
}

.documents-table-top__name {
    padding: 1.2rem 1.6rem;
    width: 23.2rem;
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--txt-4);

    @media (max-width: 1200px) {
        width: 232px;
    }
}

.documents-table-top__list {
    padding: 1.2rem 1.6rem;
    width: calc(100% - 23.2rem - .2rem);
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--txt-4);

    @media (max-width: 1200px) {
        width: 730px;
    }
}

.documents-table-row {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.documents-table-item {
    display: flex;
    gap: .2rem;
}

.documents-table-item__name {
    border-radius: .8rem 0 0 .8rem;
    background: var(--w);
    padding: 1.6rem;
    width: 23.2rem;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--txt-4);
    align-items: center;
    display: flex;

    @media (max-width: 1200px) {
        width: 232px;
    }
}

.documents-table-item__text {
    border-radius: 0 .8rem .8rem 0;
    padding: 1.6rem;
    background: var(--w);
    width: calc(100% - 23.2rem - .2rem);
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.3;
    color: var(--txt-4);

    ul li,
    p {
        font-weight: 400;
        font-size: 14px;
        line-height: 1.3;
        color: var(--txt-1);
    }

    ul {
        margin-left: 1.6rem;
    }

    @media (max-width: 1200px) {
        width: 730px;
    }
}

.wpcf7-response-output {
    display: none !important;
}

.wpcf7-not-valid-tip {
    color: #fdb0b0;
}

.subscription__form p {
    margin: 1.5em 0 0 0;
}
.subscription__form form p {
    margin: 0 !important;
}

.footer .wpcf7 form .wpcf7-response-output {
    display: block !important;
    color: #74CA35;
    border: none !important;
    position: absolute;
    bottom: -13px;
    opacity: 1;
    margin: 0;
    animation-delay: 2s;
}

.subscription__form form {
    position: relative;
}

.footer .wpcf7 form .wpcf7-response-output {
    opacity: 1;
}

.footer .wpcf7 form.sent .wpcf7-response-output {
    animation: hideBlock .3s ease forwards;
    animation-delay: 2s;
}
.footer .wpcf7 form.failed .wpcf7-response-output {
    color:  #fdb0b0;
}


@keyframes hideBlock {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/*.footer .screen-reader-response p {*/
/*    color: #74CA35;*/
/*}*/
/*.footer .screen-reader-response {*/
/*    position: static;*/
/*    width: auto;*/
/*    height: auto;*/
/*    margin: 0;*/
/*    clip: unset;*/
/*    clip-path: unset;*/
/*    margin-bottom: -20px;*/
/*}*/

.main__aside__block .wpcf7-not-valid-tip {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;
}

.wpcf7-spinner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

div:has(>.wpcf7-spinner),
p:has(>.wpcf7-spinner) {
    position: relative;
}

.popup {
    .wpcf7-response-output {
        margin: 0 3rem;
        position: relative;
        top: -1.5rem;
        border-width: .1rem;
        padding: 1rem;
        border-radius: .8rem;
    }
}

p:has(.wpcf7-form-control-wrap input[name="page-url"]) {
    display: none;
}

.countries__list__link .item-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.countries__list__link .item-icon {
    width: 2.8rem;
    min-width: 2.8rem;
    height: 2.8rem;
    min-height: 2.8rem;
}

.videos-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;

    .video__card {
        width: calc((100% - (24px * 2)) / 3);
    }

    @media (max-width: 992px) {
        .video__card {
            width: calc((100% - 24px) / 2);
        }
    }

    @media (max-width: 600px) {
        .video__card {
            width: 100%;
        }
    }
}

.video__card__image img {
    object-fit: cover;
}

.page-nav-top {
    display: flex;
    align-items: flex-start;

    .news__page__filter {
        width: calc(100% - 40rem);
    }

    .countries__search {
        margin: 0 0 0 auto;
        width: 40rem;
        padding-left: 2rem;
    }

    @media (max-width: 992px) {
        flex-direction: column-reverse;
        gap: 20px;
        margin-bottom: 2rem;
        .news__page__filter {
            width: 100%;
            margin: 0;
        }
        .countries__search {
            max-width: 100%;
            margin-left: 0;
            margin-top: 0;
            margin-bottom: 1rem;
            width: 100%;
        }
    }
}

.baza-text {
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.3;
    color: var(--txt-1);
    max-width: 90rem;
}

.instructions-list .news__slide .item-image {
    min-width: 100%;
    max-width: 100%;
    height: 22rem;
    border-radius: 2.4rem;
}


.fc .fc-daygrid-day-number {
    color: #454F5B;
}


.other__video__slider .instr-prev {
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 1.2rem;
    background: #fff;
    border: 1px solid #EDF0F2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    top: calc(50% - 2.1rem);
    left: -5rem;
    z-index: 5;
    cursor: pointer;
    -webkit-transition: all 400ms ease-in-out;
    transition: all 400ms ease-in-out;
}

@media screen and (min-width: 800px) {
    .other__video__slider .instr-prev:hover {
        background: #EDF0F2;
    }
}

@media screen and (max-width: 1440px) {
    .other__video__slider .instr-prev {
        left: -1rem;
    }
}

.other__video__slider .instr-prev img {
    width: 100%;
    max-width: 2rem;
}

.other__video__slider .swiper-button-disabled {
    pointer-events: none;
}

.other__video__slider .instr-next {
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 1.2rem;
    background: #fff;
    border: 1px solid #EDF0F2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    top: calc(50% - 2.1rem);
    right: -5rem;
    z-index: 5;
    cursor: pointer;
    -webkit-transition: all 400ms ease-in-out;
    transition: all 400ms ease-in-out;
}

@media screen and (min-width: 800px) {
    .other__video__slider .instr-next:hover {
        background: #EDF0F2;
    }
}

@media screen and (max-width: 1440px) {
    .other__video__slider .instr-next {
        right: -1rem;
    }
}

.other__video__slider .instr-next img {
    width: 100%;
    max-width: 2rem;
}


.main__aside__closed {
    overflow: hidden;
    min-width: 11rem;
    max-width: 11rem;
}

.main-wrap:has(.main__aside__closed) {
    gap: 0;
}

.new__item__content > br {
    display: none;
}

.hotel__map__block {
    button.gm-control-active.gm-fullscreen-control,
    .gmnoprint.gm-style-mtc-bbw {
        display: none !important;
    }
}

.hotel__gallery .item-gallery img {
    object-fit: cover;
}

@media (min-width: 450px) {
    .country__banner:has(.swiper-prev.swiper-button-disabled):has(.swiper-next.swiper-button-disabled) {
        .country__slide__content {
            right: 2.8rem;
        }
    }
}

.item__banner__image {
    position: relative;
}
.item__banner__image .link {
    position: absolute;
    width: 4.2rem;
    height: 4.2rem;
    z-index: 5;
    top: 1rem;
    right: 1rem;
    padding: 0;
    border-radius: 1rem;
    cursor: pointer;
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;

    img {
        width: auto;
        height: auto;
        min-width: 2.4rem;
        max-width: 2.4rem;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
}

.header__countries__item .list {

}



/**
 * STYLES: Weather
 */

.weather-widget {
    .splw-lite-current-time,
    .splw-lite-desc,
    .lw-footer,
    .splw-lite-daily-weather-details.lw-center,
    .splw-weather-title {
        display: none !important;
    }
    .splw-lite-wrapper.lw-preloader-wrapper {
        background: transparent !important;
        line-height: 1;
        margin: 0 !important;
        font-size: 0;
        border-radius: 0 !important;
    }
    .splw-lite-templates-body {
        padding: 0 !important;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        gap: 1rem;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        margin: 0 0 0.4rem 0;

        .splw-lite-header-title {
            font-weight: 400;
            font-size: 1.3rem;
            line-height: 120%;
            color: #242429 !important;
            text-decoration: none;
            margin: 0 !important;
        }
    }

    .splw-lite-wrapper .splw-cur-temp {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        gap: 1rem;
        min-width: 9.6rem;
        max-width: 9.6rem;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .splw-lite-current-temp .temperature-scale,
    .splw-lite-wrapper .splw-lite-current-temp span.cur-temp {
        margin: 0;
        font-weight: 600;
        font-size: 1.3rem;
        line-height: 120%;
        color: #161C24;
    }

    .splw-lite-wrapper .splw-lite-current-temp .splw-weather-icon {
        width: 2.2rem !important;
        height: auto;
        min-width: 2.2rem;
        max-width: 2.2rem;
    }

    .splw-main-wrapper.vertical {
        margin: 0 !IMPORTANT;
    }
}

.calendar__mobile .fc .fc-daygrid-day-bottom,
.calendar__tablet .fc .fc-daygrid-day-bottom {
    margin: 0;
}
.calendar__mobile .fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events,
.calendar__tablet .fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events {
    margin: 0;
    flex-wrap: nowrap;
}

@media screen and (max-width: 449px) {
    .subscription__form .button {
        width: 100%;
    }
}

.td.fc-day:has(.fc-daygrid-event-harness) {
    .fc-daygrid-day-number div {
        display: none !important;
    }
}

#wpcf7-f2246-o1 .wpcf7-form-control-wrap span.wpcf7-list-item.first {
    display: none !important;
}

@media (min-width: 450px) {
    .c-mobile-block {
        display: none !important;
    }
}

.c-mobile-block {
    margin-top: 2rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.c-mobile-block .path-caption__link {
    display: flex;
}

@media (max-width: 480px) {
    .fc .fc-daygrid-day-frame {
        padding: 1rem 0;
    }
}

@media (max-width: 768px) {
    .calendar__events .event-item {
        display: flex;
        flex-direction: column;
    }
    .calendar__events .event-item__buttons {
        margin-top: auto;
        padding-top: 2rem;
    }
}


.fc .fc-daygrid-event {
    background: transparent !important;
    border: none !important;
}

.calendar__tablet .fc-daygrid-event-harness a {
    margin: 0 !important;
}

.news__slide:has(.item-image.no-image) .item-content {
    top: 0;
}



/* --- Мобильный вид --- */
@media (max-width: 449px) {
    .hotel__tabs__list {
        display: block; /* убираем горизонтальные табы */
    }

    .hotel__tabs__item {
        width: 100%;
        margin-bottom: 10px;
    }

    .hotel__tabs__button:after {
        content: '';
        width: 40px;
        min-width: 40px;
        height: 40px;
        min-height: 40px;
        background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='40' height='40' rx='12' fill='%23F8F8FA'/%3E%3Cpath d='M15 17.5L20 22.5L25 17.5' stroke='%23919EAB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        margin-left: auto;
    }
    .hotel__tabs__button.active:after {
        background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='40' height='40' rx='12' fill='%234A59E7'/%3E%3Cpath d='M25 22.5L20 17.5L15 22.5' stroke='%23F8F8FA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    }
    .hotel__tabs__button {
        background: transparent;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .hotel__tabs__content {
        display: block; /* чтобы блоки шли друг за другом */
    }

    .hotel__tabs__button.active {
        background: transparent;
    }

    .hotel__tabs__item:has(button.hotel__tabs__button.active) {
        border-bottom: 0;
    }

    .hotel__tabs__block {
        display: none; /* скрываем по умолчанию */
        padding: 0;
    }

    .hotel__tabs__item {
        border-bottom: 1px solid #EDF0F2;
    }

    .hotel__tabs__block.show {
        display: block; /* открытый аккордеон */
        border-bottom: 1px solid #EDF0F2;
        padding-bottom: 2rem;
    }

    .hotel__tabs__block_content .title {
        display: none;
    }
}

.blog__wrap--custom .news__slide:nth-child(1) {
    float: none;
}
.blog__wrap--custom .news__slide:nth-child(13) .item-image,
.blog__wrap--custom .news__slide:nth-child(14) .item-image,
.blog__wrap--custom .news__slide:nth-child(3) .item-image,
.blog__wrap--custom .news__slide:nth-child(2) .item-image {
    display: block;
}

.hotel__tabs__block_content--rooms ul li {
    width: 50%;
}
.hotel__tabs__block_content--rooms ul {
    display: flex;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .hotel__tabs__block_content--rooms ul li {
        width: 100%;
    }
}

.filter {
    position: relative;
}
.clear-filter {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background-color: transparent;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    box-shadow: none;
    font-size: 1.5rem;
    color: #637381;
}

.header__contacts__item div {
    display: flex;
    gap: 1rem;
}

@media (max-width: 1000px) {
    .main__odds__item:nth-child(1) {
        order: 1;
    }
    .main__odds__item:nth-child(2) {
        order: 2;
    }
    .main__odds__item:nth-child(3) {
        order: 4;
    }
    .main__odds__item:nth-child(4) {
        order: 3;
    }
    .main__odds__item:nth-child(5) {
        order: 5;
    }
    .main__odds__item:nth-child(6) {
        order: 6;
    }
    .main__projects__item:nth-child(1) {
        order: 2;
    }
    .main__projects__item:nth-child(2) {
        order: 1;
    }
    .main__projects__item:nth-child(3) {
        order: 3;
    }
}


.sidebar__advertising__button {
    display: none;
}

@media screen and (max-width: 1300px) {
    .header__menu__item__button {
        background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='28' height='28' rx='6' fill='%23F8F8FA'/%3E%3Cpath d='M10 12L14 16L18 12' stroke='%23919EAB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        font-size: 0;
    }

    .header__menu__item.active .header__menu__item__button {
        background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='28' height='28' rx='6' fill='%234A59E7'/%3E%3Cpath d='M18 16L14 12L10 16' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");

    }
}

.empty-results {
    text-align: center;
    font-size: 2rem;
    padding: 1rem;
    display: block;
    width: 100%;
}


/**
 * STYLES: Absolute link
 */

.absolute-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}


.country__content__item_contacts a {
    color: #4A59E7;
    text-decoration: none;
}
.country__content__item_contacts a:hover {
    text-decoration: underline;
}


#ajax-hotels-results {
    opacity: 0;
    visibility: hidden;
}
#ajax-hotels-results.show {
    opacity: 1;
    visibility: visible;
}


.new__item__sidebar ul li:has(a[data-menu="Текст"]) {
    display: none;
}

.new__item__sidebar:not(:has(.js-news-list)) {
    display: none;
}

body:has(#wpadminbar) .header {
    margin-top: 30px;
}

.select2-dropdown {
    margin-top: 3rem;
}


.text-block h1 {
    font-size: 6.4rem;
    font-family: "DrukWideCyrMedium";
    font-weight: 500;
    line-height: 100%;
    margin: 2.2rem 0 4.8rem;
    color: #161C24;
}

.text-block h2 {
    font-size: 4.8rem;
    font-family: "DrukWideCyrMedium";
    font-weight: 500;
    line-height: 100%;
    margin: 2.2rem 0 4.8rem;
    color: #161C24;
}

.text-block h3 {
    font-size: 3.2rem;
    font-family: "DrukWideCyrMedium";
    font-weight: 500;
    line-height: 100%;
    margin: 2.2rem 0 4.8rem;
    color: #161C24;
}

.text-block h4 {
    font-size: 2.4rem;
    font-family: "DrukWideCyrMedium";
    font-weight: 500;
    line-height: 100%;
    margin: 2.2rem 0 4.8rem;
    color: #161C24;
}

.text-block h5 {
    font-size: 1.8rem;
    font-family: "DrukWideCyrMedium";
    font-weight: 500;
    line-height: 100%;
    margin: 2.2rem 0 4.8rem;
    color: #161C24;
}

@media (max-width: 1000px) {
    .text-block h1 {
        font-size: 3.6rem;
    }

    .text-block h2 {
        font-size: 3.2rem;
    }

    .text-block h3 {
        font-size: 2.8rem;
    }

    .text-block h4 {
        font-size: 2rem;
    }

    .text-block h5 {
        font-size: 1.6rem;
    }
}

@media (max-width: 449px) {
    .text-block h1 {
        font-size: 2rem;
        margin: 1.2rem 0 2.4rem;
    }

    .text-block h2 {
        font-size: 1.8rem;
        margin: 1.2rem 0 2.4rem;
    }

    .text-block h3 {
        font-size: 1.7rem;
        margin: 1.2rem 0 2.4rem;
    }

    .text-block h4 {
        font-size: 1.6rem;
        margin: 1.2rem 0 2.4rem;
    }

    .text-block h5 {
        font-size: 1.5rem;
        margin: 1.2rem 0 2.4rem;
    }
}