body {
    background: #F8F8F8;
}

a {
    text-decoration: none !important;
}

.container {
    max-width: 1385px !important;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-repeat: no-repeat;
    background-color: white;
}

.hero img,
picture img {
    object-fit: cover;
    width: 100%;
}

picture{
    display: block;
    width: 100%;
}

.hero h1 {
    margin: 0px 0px 15px 0px;
    box-sizing: border-box;
    width: 100%;
    background-color: white;
    background-size: cover;
    height: 192px;
    padding: 64px 0px;
    text-align: center;
    font-size: 56px;
    font-weight: 500;
    line-height: 64px;
    text-transform: uppercase;
}

.blog {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    width: 100%;
    height: 2, 036px;
    padding: 0;
}

.blog h2 {
    font-size: 48px;
    font-weight: 500;
    line-height: 56px;
    letter-spacing: -1px;
    text-align: center;
    margin: 64px 0px 56px 0px;
    text-transform: uppercase;

}

.blog .news-collection .news-card {
    width: 100%;
    height: auto;
}

.row>div {
    margin-bottom: 24px;
}

.blog .news-collection .news-card img {
    width: 100%;
    max-height: 240px;
    height: 240px;
    object-fit: cover;
    transition: all 0.25s ease-in-out;
    overflow: hidden;
    display: block;
}


.news-card .date,
.blog .news-collection .news-card h5,
.news-card .card-description {
    margin: 16px 8px;
}

.news-card p.date,
.text-block p.date {
    color: #0D121D80;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px !important;
    text-align: left;

}

.blog .news-collection .news-card h5 {
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    text-align: left;
    color: #191E29;
    transition: color 0.5s;
}

.blog .container .news-collection .row div .news-card .card-description,
.text-block>article>p,
.country-card>a,
.questions-btn-block button.btn,
.to-main-page-button-block .btn,
.text-block ul li {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px !important;
    text-align: left;
    color: #191E29;
}

.questions-btn-block button.btn,
.to-main-page-button-block .btn {
    text-align: center;
    color: white;
    height: 64px;
    padding-top: 20px;
}

.to-main-page-button-block .btn {
    text-decoration: none !important;
}

.blog .container .news-collection .row div .news-card .card-description {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.blog .container .news-collection .row div .news-card:hover h5,
.client-story-item:hover h4 {
    color: #8A1538;
}

.client-story-item h4{
    transition: 0.1s ease-in;
}

.blog .container .news-collection .row div .news-card:hover img {
    transform: scale(1.1, 1.1);
    position: relative;
}

.img-container {
    width: 100%;
    overflow: hidden;
}

.text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.text-block *:not(.wp-video *) {
    margin: 24px 0px;
}


/*section.row {
    padding-top: 64px;
}*/

.text-block h2 {
    font-size: 36px;
    font-weight: 500;
    line-height: 44px;
    text-align: left;
}


.text-block h3,
.stats h3 {
    font-size: 32px;
    font-weight: 500;
    line-height: 40px !important;
    text-align: left;
}

.text-block ul,
.text-block ul li {
    margin: 0!important;
    padding-left: 12px;
    position: relative;
    list-style-type: none;
}

ol.wp-block-list li{
    margin: 0!important;
}

.text-block ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: black;
    border-radius: 100%;
}

.text-block img {
    margin: 24px 0px 0px 0px;
    object-fit: contain !important;
}

.text-block a {
    font-family: "GillSansNova";
    color: black;
    font-weight: 500;
    text-decoration: underline !important;
}

.text-block a:hover,
.blog .container .news-collection .row div .news-card:hover h5 {
    color: #8A1538;
}

.blog .container .news-collection .row div .news-card:hover img {
    transform: scale(1.1, 1.1);
    position: relative;
}

.text-block {
    display: flex;
    flex-direction: column;
    justify-content: center;

}

main:has(> .article-section),
main:has(> .blog) {
    width: 100% !important;
    background-color: white !important;
}




.residence-section .row h2 {
    font-size: 48px;
    font-weight: 500;
    line-height: 56px;
    letter-spacing: -1px;
    text-align: center;
    text-transform: uppercase;
    width: 75%;
    margin-top: 32px;
    padding: 64px 0px 24px;
}

.country-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #0D121D1A;
    background-color: white;
    padding: 24px;
    min-height: 400px;
    height: 100%;
    border: 1px;
}

.country-card img {
    object-fit: cover;
    height: 160px;
}

.country-card>a {
    cursor: pointer;
}

@media (min-width: 992px) {
    .country-card> a:hover >p{
        transition: all .15s ease-in-out;
        color: #4A100B !important;
    }
}

a>svg {
    vertical-align: text-bottom;
}

.questions-btn-block h4 {
    font-size: 24px;
    font-weight: 500;
    line-height: 32px !important;
    text-align: center;
    margin: 0px;
}

.questions-btn-block .btn {
    margin-top: 0%;
}

.questions-btn-block {
    display: flex;
    flex-direction: column;
    background: var(--Surface-surface-ground-light, #F8F8F8);
    height: 184px;
    align-items: center;
    justify-content: space-around;
    padding-top: 23px;
}

.country .country-content .country-city,
.country .country-content .country-time {
    font-weight: 400;
    margin: 0;
    text-align: left;
}

#navbarTogglerDemo02 {
    justify-content: space-between;
}

.close-header-menu {
    display: none;
}

.close-list {
    display: none;
}

:root{
    --dropdown-top:0px;
    --admin-bar-height:0px;
}

.dropdown-menu.depth_0 {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    top: var(--dropdown-top) !important;
}

div:has(.site-main){
    background-color: #ffffff;
}


.stats{
    padding: 64px 128px;
}

.stats > .row{
    display: flex;
    gap: 24px;
    width: 100%;
    max-width: 1344px;
    margin: auto;
}

.stats > .row > .col-12{
    max-width: 432px;
}

.stats h3{
    color: #62261F;
    margin-bottom: 4px;
}

.stats p {
    font-weight: 400;
}

.not-found-section .code {
    color: var(--Primary-primary, #8A1538);
    font-size: 96px !important;
    font-weight: 500;
    line-height: 96px !important;
    letter-spacing: -1px;
    text-align: center;
}



.response-message-action .btn {
    font-size: 20px;
    line-height: 28px !important;
}

.container:has(>.contact){

    padding-left: 0px;
    padding-right: 0px;
}

.news-collection .row{
    display: grid;
    grid-template-columns: repeat(3, minmax(auto, 432px));
    gap: 48px 24px;
    align-items: center;
    justify-content: center;
}

.news-collection .row div:has(>.news-card){
    padding: 0%;
    margin: 0px;
    max-width: 432px;
}
.news-card{
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    gap: 16px;
}
div:has(>.news-card){
    height: 100%
}

.news-card > *:not(.img-container){
    margin: 0 !important;
    padding: 0px 8px;
}

.menu-item-has-children{
    pointer-events: none;
}

.article-section .text-block{
    max-width: 660px;
    padding: 0;
}

.residence-section [class*='col'] {
    padding: 0%;
    display: flex;
    justify-content: center;
}

.residence-section [class*='col'] .country-card{
    max-width: 432px;
    width: 100%;
}

.row:has(.country-card){
    max-width: 1344px;
}
.residence-section .container-sm{
    padding: 0;
}

.country-card{
    gap: 16px;
}

.country-card>a{
    display: flex;
}

.country-card>a>svg{
    margin-right: 5px;
}


.not-found-section {
    padding-top: 0% !important;
}

.not-found-section h1 {
    font-size: 56px;
    font-weight: 500;
    line-height: 64px;
    text-align: center;
    z-index: 12;
}

.not-found-section article p {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    max-width: 660px;

}

.not-found-section {
    width: 100%;
}

.not-found-section article {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 64px;
}

.not-found-section * {
    margin: 0px !important;
}

.site-main:has(> .not-found-section) {
    padding: 0%;
}

.site-main:has(> .not-found-section) img {
    object-fit: cover;
    width: 100%;
    height: 640px;
}

.residence-section .country-card>a>p{
    max-width: 345px;
}

@media (max-width:680px) {
    .hero {
        background-color: white;
    }

    .hero h1 {
        font-size: 40px;
        font-weight: 500;
        line-height: 48px;
        width: 80%;
        padding: 32px 0px;
        margin: 0;
        height: auto;
    }

    .hero img {
        height: 286px;
    }

    .blog h2 {
        font-size: 36px;
        font-weight: 500;
        line-height: 44px;
        width: 80%;
    }

    .blog .news-collection .news-card img {
        max-height: fit-content;
    }

    .blog .news-collection .news-card h5 {
        font-size: 18px;
        line-height: 24px;
    }

    .title.title-small.text-center.mb-xxl,
    .container:has(>.row>.col>.articles)>h2{
        font-size: 36px;
        font-weight: 500;
        line-height: 44px !important;
        letter-spacing: -1px;
        text-align: center;

    }

    .country .country-content{
        gap: 4px;
    }

    .country .country-content .country-city,
    .country .country-content .country-time {
        font-size: 14px;
        line-height: 20px !important;
    }

    .country-many {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px 16px !important;
    }

    .footer-widgets.container {
        grid-template-columns: repeat(1, 100%) !important;
        gap: 32px;
        margin-left: 0;
        margin-right: 0;
        padding: 64px 24px 64px;
    }

    .company-logo-contacts-footer {
        flex-direction: column-reverse !important;
    }

    .footer-custom-settings-field,
    .article h3 {
        font-size: 18px !important;
        line-height: 24px !important;

    }

    .response-message-content,
    .modal-dialog {
        min-width: 100% !important;
        margin: 0% !important;
    }

    .response-message-content h3,
    .modal-dialog h3,
    .advantage-items .advantage-item h3,
    .all-countries-title,
    .stats h3,
    .investment-content h3,
    .service-content h3,
    .programm-content h2{
        font-size: 24px !important;
        line-height: 32px !important;

    }
    .response-message-content h3,
    .modal-dialog h3{
        text-align: center !important;
    }

    .modal-dialog .btn-lg {
        font-size: 16px;
    }

    body {
        overflow-x: hidden;
    }

    .response-message .btn,
    .modal-dialog .btn {
        min-width: 204px !important;
        font-size: 16px !important;
        line-height: 22px !important;
        text-align: center !important;

    }

    .contact-item {
        min-width: 100% !important;
        padding: 24px !important;
    }

    .contact-item img[alt*="logo"] {
        width: 204px;
    }

    .contact-item .btn {
        min-width: 204px;
    }

    .contact .contact-item:first-child {
        gap: 32px;
    }

    .country {
        margin: 24px 0px;

    }

    .contact-info{
        gap: 4px !important;
    }

    .contact-info a{
        height: 44px;
    }

    .flex-contact-body {
        display: flex;
        flex-direction: column-reverse;

    }

    .country-card {
        border: none;
    }

    .country-card h4 {
        font-size: 20px;
        line-height: 28px !important;

    }

    .country-card img {
        height: 240px;
    }



    .residence-section .row {
        padding-bottom: 20px !important;
        padding-top: 0px !important;
    }


    .residence-section .row>div {
        margin-bottom: 0;
    }

    .widget>.menu {
        grid-template-columns: 50% 50%;
    }

    .residence-section .row h2 {
        margin-top: 0%;
        padding: 64px 0 0px;
    }

    .text-block p.date{
        margin-top: 32px;
    }

    .stats{
        padding: 64px 24px !important;
    }

    .hero-img{
        height: 286px;
        object-fit: cover;
    }

    .clients-choose p{
        padding: 0px 20px;
    }

    /* .residence-section [class*='col'] .country-card{
        max-width: 360px;
    } */

    footer .custom-logo-link{
        width: 145px;
        height: 33;
    }

    .stats>.row{
        gap: 24px;
    }

    .stats>.row>div{
        margin-bottom: 0;
    }

    .not-found-section{
        width: fit-content;
    }

    .not-found-section article{
        padding: 32px 24px;
        gap: 32px;
    }

    .not-found-section h1{
        font-size: 40px;
        line-height: 48px;
        letter-spacing: 0;
    }

    div:has(> .not-found-article) {
        padding: 0% !important;
        width: fit-content;
    }
    .site-main:has(> .not-found-section) img{
        max-height: 268px;
    }
    .residence-section .row{
        margin-left: 0px !important;
        margin-right: 0px !important;
      }
}

@media (max-width:1199px) {

    .close-list {
        display: flex;
        position: sticky;
        top: 0px;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 0px;
        background-color: white;
    }

    .close-list>button {
        all: unset;
        display: flex;
        width: 100%;
        display: inherit;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        cursor: pointer;
    }

    .close-list p {
        font-size: 24px;
        height: 80px;
        line-height: 32px !important;
        text-align: left;
        padding-top: 24px;
    }

    .close-list svg {
        margin-left: 0px;
    }

    .close-list>* {
        display: inline-block;
    }




    #navbarTogglerDemo02 {
        position: fixed;
        padding: 24px 0;
        z-index: 1000;
        background-image: linear-gradient(white, white);
        width: 100%;
        bottom: 0px;
        left: 0;
        overflow: auto;
        font-size: 18px;
        line-height: 24px;
        font-weight: 400;
    }

    .header-btn {
        display: block;
        margin-top: 24px !important;
        height: 64px;
    }

    #navbarTogglerDemo02>* {
        width: 312px;
        margin: 0px auto;
    }

    #header-menu.navbar-nav.justify-content-center {
        gap: 0px
    }

    .menu-header-menu-container {
        margin: 0 !important;
        width: 100% !important;
    }

    .close-header-menu {
        display: block;
        background-color: white;
        border: none;
        height: 48px;
        margin-top: 24px !important;
    }

    .dropdown-menu.depth_0>.menu-item {
        padding-left: 7%;
    }

    .depth_0 li:has(> .close-header-menu) {
        position: sticky;
        bottom: 0px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        background-color: white;
    }

    .depth_0 li:has(> .close-header-menu) .close-header-menu {
        height: 100px;
        padding-top: 0;
    }

    #header-menu .menu-item {
        height: 56px;
    }

    #header-menu .menu-item .dropdown-menu-arrow{
        transform: rotate(-90deg);
        margin: 5px 2px 2px 0px;
    }

    #header-menu .menu-item .dropdown-menu-arrow path{
        transform: scale(0.933, 0.8);
    }

    .shadow-box {
        display: block;
        position: fixed;
        overflow: visible;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 999;
        background-image: linear-gradient(rgba(0, 0, 0, 0.226), rgba(0, 0, 0, 0.226));
    }

    .navbar {
        height: 80px;
    }

    .navbar .custom-logo {
        width: 128px;
        height: 28px;
    }

    .navbar .custom-logo-link{
        max-width: 128px;
        height: 29px;
    }

    .site-footer .custom-logo {
        height: 33px;
    }

    .custom-logo{
        object-fit: contain;
    }

    .site-footer .custom-logo-link {
        max-width: 150px;
        height: 33px;
        margin-bottom: 10px;
    }

    .widget:has(>.custom-logo-link){
        gap: 24px !important;
    }


    .site-info .container .row div {
        margin-bottom: 8px;
        font-weight: 400;
    }

    .dropdown-menu.depth_0.show {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
    }

    :root{
        --dropdown-top: calc(145px + var(--wp-admin--admin-bar--height));
    }

    body:has(#wpadminbar) header .menu-item-has-children .depth_0 li:has(.close-header-menu) {
        bottom: 27px;
    }

    .dropdown-menu.depth_0 {
        position: fixed;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 1000;
        transform: translate(0px, -150px);
        overflow-y: scroll;
        padding: 0px 0px 0px 0px;
    }

    .text-block>article>h2 {
        font-size: 32px;
        line-height: 40px !important;

    }

    .text-block>article>h3 {
        font-size: 24px;
        line-height: 32px !important;

    }

    .article-section {
        padding-top: 0 !important;
    }

    main:has(>.article-section) {
        padding: 0 24px;
    }

    .container h1 {

        font-size: 36px;
        line-height: 44px !important;
        letter-spacing: -1px;
        text-align: center;

    }

    .container h5 {
        font-weight: 400;
        font-size: 18px;
        line-height: 24px !important;
        text-align: center;


    }

    .container .contact {

        grid-template-columns: 1fr;
    }

    .container .contact h3 {
        font-size: 24px;
        line-height: 32px;

    }

    .contact .contact-item .contact-info a {
        font-size: 18px;
        line-height: 24px !important;
        text-align: left;
    }

    .has-spinner {
        font-weight: 400;
        font-size: 16px;
        line-height: 22px;
        text-align: center;
        height: 64px;
        padding: 0 !important;
    }

    .questions-btn-block{
        padding-top: 6px;
        justify-content: center;
    }

    .questions-btn-block>* {
        margin: 0%;
    }

    .questions-btn-block h4,
    .team-content h4,
    .about-item h4,
    .client-story-content h4,
    .country-item h5,
    .accordion-header {
        font-size: 20px;
        line-height: 28px !important;
        
    }

    .questions-btn-block h4{
        margin-bottom: 24px;
    }

    .questions-btn-block .btn {
        min-width: 264px;
    }

    .flex-contact-body {
        display: flex;
        flex-direction: column-reverse;

    }

    .residence-section .row h2 {
        width: 88%;
    }
    .residence-section .row h2,
    .all-countries-main .title-medium {
        font-size: 36px !important;
        line-height: 44px !important;
    }

    .stats{
        padding: 64px 64px;
    }

    .not-found-section .not-found-article .code {
        margin: 0px !important;
        font-size: 86px !important;
        line-height: 86px !important;
    }
    .container:has(>.contact){

        padding-left: 24px;
        padding-right: 24px;
    }
    /* .article-section .text-block{
        padding: 0px 12px;
    }
    .row:has(.country-card){
        width: 100%;
    }

    .row:has(.country-card){
        display: flex;
        flex-direction: column;
        align-items: center;
    } */
    .residence-section .country-card>a>p{
        max-width: 276px;
    }
}


h5:has(+.contact){
    font-weight: 400;
    max-width: 1344px;
}



.header-btn{
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 21px 23px !important;
}

@media (min-width:992px) and (max-width:1070px) {

    header .navbar-collapse li a{
        font-size: 16px !important;
    }

    :root {
        --dropdown-top: calc(84px + var(--wp-admin--admin-bar--height)) ;
    }

    .header-btn{
        z-index: 1001;
    }
}

@media (min-width:1070px) {
    :root {
        --dropdown-top: calc(87px + var(--wp-admin--admin-bar--height)) ;
    }
}

@media (min-width:992px) {
    body:has(.menu-item-has-children:hover) {
        overflow: hidden;
    }
    /* body{
        scrollbar-width: 15px;
    }
    ::-webkit-scrollbar{
        width: 15px !important;
        
    } */
    /* body:has(.menu-item-has-children:hover) main,
    body:has(.menu-item-has-children:hover) section.hero,
    body:has(.menu-item-has-children:hover) div:has(.site-main), */
    body:has(.menu-item-has-children:hover){
        /* width: calc(100% - 15px) !important; */
      padding-right: var(--scrolbar-width) !important;
    }

    .show-mobile{
        display: none !important;
    }
    body:has(.menu-item-has-children:hover) .whats-app {
        right: calc(((100% - 1345px)/2) + 7.5px);
    }

    header {
        width: calc(100vw - var(--scrolbar-width));
    }

    body:has(.menu-item-has-children:hover) main:has(>.not-found-section){
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

    .header-btn{
        width: 161px;
        height: 64px;
        font-weight: 400;
        padding: 21px 23px !important;
        display: flex;
        flex-direction: row;
        z-index: 1010;
    }

    nav.navbar-expand-lg{
        padding: 0px 20px;
    }

    .header-btn p{
        width: fit-content;
        text-align: left;
    }
    .header-btn svg{
        margin-left: 18.5px !important;
        margin-top: 3.5px !important;
    }

    .widget-title{
        font-weight: 400;
    }


}

@media (max-width:767px) {
    div:has(>.country-card){
        padding-left: 0%;
        padding-right: 0%;
    }

}

@media (max-width:1400px) {
    .news-collection .row{
        grid-template-columns: repeat(2, minmax(auto,432px));
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width:717px) {
    .news-collection .row{
        grid-template-columns: repeat(1, minmax(auto,312px));
        gap: 32px 0px;
    }
}

@media (min-width: 991px) and (max-width:1400px) {
    .residence-section .country-card>a>p{
        max-width: 240px;
    }
}

