.tax-product_cat .single-main-slide .pin::before {
    content: "";
}


/* Country About */
.country.about {
    display: flex;
    gap: 20px;
    flex: 1;
}

.country.about > div {
    background-color: var(--grey);
    flex: 1;
}

.country.about .head {
    height: 225px;
    position: relative;
}

.country.about .head > img,
.country.about .head > .overlay {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.country.about .head > img {
    object-fit: cover;
    z-index: 1
}

.country.about .head > .overlay {
    background: #0000008A;
    z-index: 2;
}

.country.about .head b {
    z-index: 3;
    font-family: Noto Serif;
    font-size: 25px;
    font-style: italic;
    font-weight: 500;
    line-height: 110%;
    color: var(--white);
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px;
}

.country.about > div > span {
    font-family: Inter Tight;
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    padding: 20px;
    display: block;
}


/* Country Numbers */
.country.numbers {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.country.numbers > div {
    flex: 1 1 150px; /* Элемент будет занимать минимум 200px и равномерно распределять оставшееся пространство */
    box-sizing: border-box; /* Учитывает padding и border в общей ширине */
    padding: 10px 20px 20px 20px; /* Внутренние отступы */
    background-color: var(--blue); /* Цвет фона для наглядности */
}

.country.numbers>div>b {
    font-family: Noto Serif;
    font-size: 40px;
    font-style: italic;
    font-weight: 400;
    line-height: 100%;
    text-align: left;    
    color: var(--main);
    display: block;
    margin-bottom: 9px;
}

.country.numbers>div>span {
    font-family: Inter Tight;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    color: var(--main);
}

/* Education */
.country-education .header {
    font-family: Noto Serif;
    font-size: 56px;
    font-style: italic;
    font-weight: 600;
    line-height: 63.29px;
    color: var(--white);
    margin: 90px 0 45px 0;
}

.country-education .header::before {
    transform: rotate(-0.73deg);
}

/* All blocks */
.country-blocks .site-main > * {
    margin: 40px 0 50px 0;
}

.country-blocks .header.title-slant {
    color: var(--white);
    font-family: Noto Serif;
    font-size: 40px;
    font-style: italic;
    font-weight: 600;
    line-height: 110%;
}

/*
.country-blocks .header.title-slant::before {
    transform: rotate(-0.37deg);
}
*/

.country-blocks .description {
    font-family: Inter Tight;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    color: var(--main);
}

.country-blocks .header-after {
    font-family: Noto Serif;
    font-size: 25px;
    font-style: italic;
    font-weight: 600;
    line-height: 110%;
    text-align: left;
    text-transform: uppercase;
    color: var(--main);

}

.country-blocks .list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Три равные колонки */
    gap: 30px; /* Расстояние между элементами */
}

.country-blocks .list > .item {
    font-family: Inter Tight;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    text-align: left;
    background-color: #f6f6f6;
    padding: 20px;
}

.country-blocks .list > .item b {
    font-weight: 600;
}

.country-blocks .info_box {
    position: relative;
    background-color: var(--blue);
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 0;
}

.country-blocks .info_box::before {
    /* top: ; */
    left: unset;
    bottom: unset;
    right: 2%;
    /* content: url("/wp-content/themes/selfstartglobal/images/pin2.svg"); */

}

.country-blocks .info_box  > .block-header {
    font-family: Noto Serif;
    font-size: 20px;
    font-style: italic;
    font-weight: 600;
    line-height: 110%;
    display: inline-block;
    color: var(--main);
    margin-bottom: 10px;
}

.country-blocks .info_box  > .block-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    text-align: left;
    color:var(--main);
    padding-right: 40px; 
    display: block;
}



.country-blocks .button_block {
    text-align: center;
}

.country-blocks .description blockquote,
.country-blocks .block-text blockquote  {
    border-left: #FF542C 5px solid;
    padding-left: 15px;
    margin-left: 0;
}

@media (max-width: 1024px) {
    .country.about {
        flex-direction: column;
    }

    .country.about .head {
        height: 130px;
    }

    .country.about .head b {
        font-size: 20px;
        line-height: 130%;
        padding: 13px 11px;
    }

    .country.about > div > span {
        padding: 13px;
        font-size: 13px;
        line-height: 130%;
    }

    .country.numbers {
        margin-top: 35px;
        gap: 10px;
    }

    .country.numbers > div {
        padding: 13px;
    }

    .country.numbers>div>b {
        font-size: 30px;
    }

    .country.numbers>div>span {
        font-size: 13px;
    }
}


/* Особенности образования */
.country-blocks.country-peculiarities {
    padding: 60px 0;
}

.country-blocks.country-peculiarities .header {
    margin-bottom: 0;
    margin-top: 0;
}

.country-blocks.country-peculiarities .header-after {
    text-transform: none;
    font-family: Noto Serif;
    font-size: 25px;
    font-style: italic;
    font-weight: 600;
    line-height: 110%;
    margin-bottom: 20px;
}

.country-blocks.country-peculiarities .list {
    margin-top: 20px;
    margin-bottom: 20px;
}

.country-blocks.country-peculiarities .list .item > b {
    font-weight: 500;
    color: var(--main);
    margin-bottom: 7px;
    display: block;
}

.country-blocks.country-peculiarities .list .item>span {
    display: block;
    font-family: Inter Tight;
    font-size: 16px;
    font-weight: 400;
    line-height: 20.96px;
}

.country-blocks.country-peculiarities .list .one {
    background-color: #CFE7FD82;

}

.country-blocks.country-peculiarities .list .two {
    grid-column: span 2;
}

.country-blocks.country-peculiarities .list .three {
    grid-column: span 3;
}

.country-blocks.country-peculiarities .columns-to-rows {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Две равные колонки */
    align-items: stretch; /* Растягивает ячейки по высоте */
    margin-bottom: 0px;
}

@media (max-width: 1024px) {
    .country-blocks.country-peculiarities {
        padding: 50px 0;
    }

    .country-blocks.country-peculiarities .header {
        font-size: 25px;
        line-height: 110%;
        padding: 4px 8px;
    }

    .country-blocks .description {
        margin: 30px 0;
    }

    .country-blocks.country-peculiarities .header-after {
        margin: 30px 0 15px 0;
        font-size: 20px;

    }

    .country-blocks.country-peculiarities .list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .country-blocks.country-peculiarities .list .item > b {
        font-size: 16px;
    }

    .country-blocks.country-peculiarities .list .item>span {
        font-size: 13px;
    }

    .country-blocks .info_box::before {
        top: unset;
        bottom: -25px;
    }
}

/* Разнообразие программ */
.country-blocks.country-programs .header {
    color: var(--main);
}

.country-blocks.country-programs .header.title-slant::before {
    transform: rotate(0.5deg);
    background-color: var(--blue);
}

.country-blocks.country-programs .header-after {
    margin-top: 30px;
    margin-bottom: 25px;
}

.country-blocks.country-programs .list {
    margin-top: 25px;
}

.country-blocks.country-programs .list .item {
    background-color: #CFE7FD82;
}

.country-blocks.country-programs .list .item > b {
    font-weight: 500;
    color: var(--main);
    margin-bottom: 7px;
    display: block;
}

.country-blocks.country-programs .list .item>span {
    display: block;
    font-family: Inter Tight;
    font-size: 16px;
    font-weight: 400;
    line-height: 20.96px;
}

.country-blocks.country-programs .description blockquote{
    border-left: #FF542C 10px solid;
    padding-left: 20px;
    margin-left: 0;
}

.country-blocks.country-programs .button_block {
    margin-bottom: 65px;
}

/* Перспективы для студентов */
.country-blocks.country-prospects {
    padding: 60px 0;
}



/*
.country-blocks.country-prospects .header.title-slant::before {
    transform: rotate(0.67deg);
}

.country-blocks.country-prospects .header_pre.title-slant::before {
    transform: rotate(-0.74deg);
}
*/

.country-blocks.country-prospects .header {
    margin-top: 7px;
    margin-bottom: 0px;
}

.country-blocks.country-prospects .header_pre {
    margin-top: 70px;
    margin-bottom: 7px;
}

.country-blocks.country-prospects .header-after {
    margin-bottom: 20px;
}

.country-blocks.country-prospects .list {
    margin-top: 25px;
    margin-bottom: 25px;
}


.country-blocks.country-prospects .button_block {
    margin-top: 50px;
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .country-blocks.country-prospects {
        padding: 50px 0;
    }

    .country-blocks.country-prospects .header {
        padding: 3px 8px;
        font-size: 25px;
    }

    .country-blocks .description {
        font-size: 13px;
    }

    .country-blocks.country-prospects .header-after {
        font-size: 18px;
    }

    .country-blocks.country-prospects .list {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .country-blocks .list > .item {
        font-size: 13px;
        padding: 13px;
    }

    .country-blocks.country-prospects .button_block {
        margin-top:40px;
    }
}


/* Как поступить */
.country-blocks.country-enter {
    padding: 60px 0;
}

.country-blocks.country-enter .header {
    color: var(--main);
    margin-top: 0px;
    margin-bottom: 40px;
}

.country-blocks.country-enter .header.title-slant::before {
    /* transform: rotate(0.5deg); */
    background-color: var(--blue);
}

.country-blocks.country-enter .description {
    color: var(--white);
    margin-top: 0px;
    margin-bottom: 40px;
}

.country-blocks.country-enter .list {
    grid-template-columns: repeat(2, 1fr);
}

.country-blocks.country-enter .list > .item {
    background-color: unset;
    color: #ffffff;
    display: flex; /* Включаем flexbox для размещения колонок */
    gap: 20px;
    padding: 0;
}


.country-blocks.country-enter .list>.item .number {
    font-family: Noto Serif;
    font-size: 60px;
    font-style: italic;
    font-weight: 500;
    line-height: 1em;
    flex: 0 0 50px; /* Фиксированная ширина первой колонки 50px */
    display: flex; /* Flex для внутреннего выравнивания */
    justify-content: center; /* Центрирование текста по горизонтали */
    align-items: flex-start; /* Выравнивание текста по верхнему краю */
    -webkit-text-stroke: 1px var(--white);
    text-stroke: 1px var(--white);
    color: transparent;
}

.country-blocks.country-enter .list>.item .text > b {
    font-family: Noto Serif;
    font-size: 20px;
    font-style: italic;
    font-weight: 600;
    line-height: 120%;
    margin-top: 8px;
    margin-bottom: 15px;
    display: block;
}

.country-blocks.country-enter .columns-to-rows {
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    padding-bottom: 0px;
}

.country-blocks.country-enter .columns-to-rows .info_box {
    flex: 0 0 70%; /* Первая колонка занимает 70% ширины */
    max-width: 70%; /* Ограничиваем максимальную ширину до 70% */
}

.country-blocks.country-enter .columns-to-rows .empty {
    flex: 0 0 30%; /* Вторая колонка занимает 30% ширины */
    max-width: 30%; /* Ограничиваем максимальную ширину до 30% */
}

@media (max-width: 1024px) {
    .country-blocks.country-enter {
        padding: 50px 0;
    }

    .country-blocks.country-enter .header {
        padding: 4px 8px;
        font-size: 25px;
        margin-bottom: 25px;
    }

    .country-blocks.country-enter .list {
        grid-template-columns: 1fr;
        margin-bottom: 30px;
    }

    .country-blocks.country-enter .list > .item {
        gap: 10px;
    }

    .country-blocks.country-enter .list>.item .number {
        font-size: 40px;
        flex: 0 0 30px;
    }

    .country-blocks.country-enter .list>.item .text > b {
        margin-top: 0;
        margin-bottom: 10px;
        font-weight: 500;
    }

        .country-blocks.country-enter .columns-to-rows .info_box {
            flex: 0 0 100%;
            max-width: 100%;
            padding: 10px 20px;

        }

    .country-blocks .info_box > .block-header {
        font-size: 18px;
    }

    .country-blocks .info_box > .block-text {
        font-size: 13px;
        padding-right: 30px;
    }

}

/* Стоимость образования */
.country-blocks.country-prices {
    padding: 60px 0;
}

/*
.country-blocks.country-prices .header.title-slant::before {
    transform: rotate(-0.74deg);
}
    */

.country-blocks.country-prices .header {
    margin-top: 0px;
    margin-bottom: 0px;
}

.country-blocks.country-prices .description {
    margin-top: 40px;
}

.country-blocks.country-prices .columns-to-rows {
    gap: 20px;
    margin-bottom: 30px;
}

.country-blocks.country-prices .columns-to-rows .text {
    flex: 0 0 55%;
    max-width: 55%;
    background-color: #EEEEEE;
    padding: 10px;
}

.country-blocks.country-prices .columns-to-rows .text .text-header {
    font-family: Noto Serif;
    font-size: 25px;
    font-style: italic;
    font-weight: 500;
    line-height: 110%;
    color: #FFFFFF;
    background: #214080;
    padding: 5px 10px;
    display: inline-block;
}

.country-blocks.country-prices .columns-to-rows .text .text-text {
    font-family: Inter Tight;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    padding: 20px 10px;
    
}

.country-blocks.country-prices .columns-to-rows .additional {
    padding-top: 10px;
    flex: 0 0 calc(45% - 20px);
    max-width: calc(45% - 20px);
}

.country-blocks.country-prices .columns-to-rows .additional .add-header {
    background-color: var(--blue);
    color: var(--main);
    font-family: Noto Serif;
    font-size: 25px;
    font-style: italic;
    font-weight: 500;
    line-height: 110%;
    padding: 5px 10px;
    display: inline-block;
}

.country-blocks.country-prices .columns-to-rows .additional .add-text {
    font-family: Inter Tight;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    padding: 20px 12px 20px 6px;
}

.country-blocks.country-prices .columns-to-rows .additional .add-text ul {
    padding-left: 25px;
}

.country-blocks.country-prices .description.bottom {
    margin-top: 30px;
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .country-blocks.country-prices {
        padding: 50px 0;
    }

    .country-blocks.country-prices .header {
        padding: 4px 8px;
        font-size: 25px;
    }

    .country-blocks.country-prices .description {
        margin: 30px 0;
    }

    .country-blocks.country-prices .columns-to-rows {
        margin: 30px 0;
    }

    .country-blocks.country-prices .columns-to-rows > * {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .country-blocks.country-prices .columns-to-rows .text .text-header,
    .country-blocks.country-prices .columns-to-rows .additional .add-header {
        font-size: 18px;
        padding: 4px 8px;
    }

    .country-blocks.country-prices .columns-to-rows .text .text-text,
    .country-blocks.country-prices .columns-to-rows .additional .add-text {
        font-size: 13px;
        padding: 16px 8px;
    }

    .country-blocks.country-prices .columns-to-rows .additional .add-text {
        padding-bottom: 0;
    }

    .country-blocks.country-prices .columns-to-rows .additional {
        padding-top: 0;
    }
}

/* Степендии */
.country-blocks.country-scholarships {
    padding: 60px 0;
}

.country-blocks.country-scholarships .header.title-slant::before {
    /* transform: rotate(0.5deg); */
    background-color: var(--blue);
}

.country-blocks.country-scholarships .header {
    margin-top: 0px;
    margin-bottom: 0px;
    color: var(--main);
}

.country-blocks.country-scholarships .description {
    margin-top: 40px;
}

.country-blocks.country-scholarships .header-after {
    margin-bottom: 30px;
}

.country-blocks.country-scholarships .accordion {
    margin-top: 30px;
}

.country-blocks.country-scholarships .button_block {
    margin-top: 40px;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

@media (max-width: 1024px) { 
    .country-blocks.country-scholarships {
        padding: 50px 0;
    }

    .country-blocks.country-scholarships .header {
        font-size: 25px;
    }

    .country-blocks.country-scholarships .description {
        margin-top: 30px;
    }

    .country-blocks.country-scholarships .header-after {
        font-size: 18px;
        margin: 30px 0 20px 0;
    }

    .country-blocks.country-scholarships .accordion {
        margin: 20px 0 30px 0;
    }
}


/* Проживание и адаптация */
.country-blocks.country-accommodation {
    padding: 60px 0;
}

.country-blocks.country-accommodation .header {
    margin-top: 0px;
    margin-bottom: 0px;
}

.country-blocks.country-accommodation .description {
    margin-top: 40px;
    margin-bottom: 60px;
    font-size: 16px;
}

.country-blocks.country-accommodation .header-after {
    margin-bottom: 30px;
}

.country-blocks.country-accommodation .list {
    margin-top: 30px;
    margin-bottom: 30px;
}

.country-blocks.country-accommodation .block-img {
    margin-top: 30px;
    line-height: 0;
}

.country-blocks.country-accommodation .block-img > img {
    width: 100%;
    height: 285px;
    object-fit: cover;
}

.country-blocks.country-accommodation .block-img .description {
    margin: 0;
    background-color: var(--grey-bg);
    font-family: Inter Tight;
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    padding: 20px 20px 20px 30px;
    color: var(--black);
}

.country-blocks.country-accommodation .button_block {
    margin-top: 40px;
    margin-bottom: 0;
    padding-bottom: 0;
}

@media (max-width: 1024px) {
    .country-blocks.country-accommodation {
        padding: 50px 0;
    }

    .country-blocks.country-accommodation .header {
        font-size: 25px;
        padding: 4px 8px;
    }

    .country-blocks.country-accommodation .description {
        font-size: 13px;
        margin: 30px 0 40px 0;
    }

    .country-blocks.country-accommodation .header-after {
        font-size: 18px;
        margin: 40px 0 20px 0;
    }

    .country-blocks.country-accommodation .list {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .country-blocks.country-accommodation .block-img > img {
        height: 215px;
    }

    .country-blocks.country-accommodation .block-img .description {
        padding: 18px 0 0 0;
        background-color: transparent;
        font-size: 13px;
    }
}

/* Country Benefits */
.country-benefits {
    background-image: url(/wp-content/themes/selfstartglobal/images/line-dotted.png);
    background-repeat: repeat-x;
    background-position: center center;
}

.country-benefits .numbers {
    margin: 0px;
}

.country-benefits .numbers .number {
    margin-bottom: 50px;
}

.country-benefits .numbers .number:nth-child(2n) {
    margin-top: 50px;
    margin-bottom: 0px;
}

@media (max-width: 1024px) {
    .country-benefits .numbers {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .country-benefits .numbers .number {
        margin: 0 !important;
        width: 100%;
    }
}

/* Archive */
.site-main.archive .grid.countries-archive .text .info:not(.nogrid) {
    grid-template-columns: auto 1fr;
    gap: 20px;
}

.site-main.archive .grid.countries-archive .text .info img {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 70px;;
}

.site-main.archive .grid.countries-archive .text .one:not(:last-child) {
    margin-bottom: 6px;
}

.site-main.archive .grid.countries-archive .text .one.with-icon svg {
    position: absolute;
    width: 14px;
    height: 14px;
    left: 0;
}

.site-main.archive .grid.countries-archive .text .one.with-icon {
    padding-left: 23px;
    position: relative;
}

@media (max-width: 1024px) {
    .site-main.archive .grid.countries-archive {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .site-main.archive .grid.countries-archive .text .info:not(.nogrid) img {
        width: 30px;
        height: 30px;
        min-width: 30px;
        border-radius: 70px;
        grid-row: auto;
        grid-column: auto;
    }
    .site-main.archive .grid.countries-archive .text .info:not(.nogrid) h2 {
        grid-row: auto;
        grid-column: auto;
        align-items: flex-start;
        font-size: 13px;
    }

    .site-main.archive .grid.countries-archive .text .info:not(.nogrid) {
        grid-template-rows: auto;
        gap: 10px;
    }
}