@media (min-width: 922px) {
    .ast-container:has(.blog-container) {
        max-width: 100% !important;
    }

    .ast-container:has(.custom-post) {
        max-width: 100% !important;
    }
}

.blog-container .wp-block-heading {
    background-color: rgba(0, 0, 0, 0.7);
    width: fit-content !important;
    padding: 5px;
}

.blog-container .blog-container-text {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 5px;
}




.slider-posts {
    padding: 0;
}

.slider-posts .slick-arrow {
    top: 40% !important;
}

.slider-posts .slick-arrow svg {
    fill: white;

}

.slider-posts .slick-track {
    display: flex;
}

.slider-posts .slick-slide {
    height: unset !important;
}

.slider-posts .slick-slide>div {
    height: 100%;
}

.slider-posts .slick-slide .uagb-post__inner-wrap {
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    border-top-right-radius: 25px;
    border-top-left-radius: 25px;
    padding-bottom: 10px;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column;
    height: 100%;
}

.slider-posts .slick-slide .uagb-post__inner-wrap .uagb-post__title {
    order: 1;
    margin-bottom: 10px;
    padding-bottom: 0;
    margin-bottom: auto;
}

.slider-posts .slick-slide .uagb-post__inner-wrap .uagb-post-grid-byline {
    order: 0;
    margin-bottom: 20px;
}

.slider-posts .slick-slide .uagb-post__inner-wrap .uagb-post__excerpt {
    order: 2;
}

.slider-posts .slick-slide .uagb-post__inner-wrap .uagb-post__cta.wp-block-button {
    order: 3;
}

.slider-posts .slick-slide .uagb-post__inner-wrap .uagb-post__cta.wp-block-button a {
    text-transform: uppercase;
    color: white;
    padding: 0;
    border: none;
    border-radius: 0;
}

.slider-posts .slick-slide .uagb-post__inner-wrap .uagb-post__cta.wp-block-button a::after {
    content: url(../svg/Arrow.svg);
    position: relative;
    margin-left: 10px;
}

.slider-posts .slick-slide .uagb-post__image {
    height: 260px;
}

.slider-posts .slick-slide .uagb-post__image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
}


@media screen and (max-width: 1300px) {
    .slider-posts .slick-arrow {
        top: 95% !important;
    }

    .slider-posts {
        padding-bottom: 50px;
    }

    .slider-posts .slick-arrow.slick-prev {
        left: 47%;
        transform: translateX(-50%);
    }

    .slider-posts .slick-arrow.slick-next {
        right: 42%;
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 500px) {
    .slider-posts .slick-arrow.slick-prev {
        left: 42%;
        transform: translateX(-50%);
    }

    .slider-posts .slick-arrow.slick-next {
        right: 38%;
        transform: translateX(-50%);
    }
}

.blog-posts .uagb-post__inner-wrap {
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    border-top-right-radius: 25px;
    border-top-left-radius: 25px;
    padding-bottom: 10px;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column;
}

.blog-posts .uagb-post__image {
    margin-bottom: 10px;
}

.blog-posts .uagb-post__image,
.blog-posts .uagb-post__image a {
    height: 260px !important;
}

.blog-posts .uagb-post__image img {
    height: 100% !important;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.blog-posts .uagb-post__inner-wrap .uagb-post__cta.wp-block-button a {
    text-transform: uppercase;
    color: white;
    padding: 0;
    border: none;
    border-radius: 0;
}

.blog-posts .uagb-post__title {
    order: 1;
    margin-bottom: 10px;
    padding-bottom: 0;
    margin-bottom: auto;
}

.blog-posts .uagb-post__inner-wrap .uagb-post-grid-byline {
    order: 0;
}

.blog-posts .uagb-post__inner-wrap .uagb-post__excerpt {
    order: 2;
}

.blog-posts .uagb-post__inner-wrap .uagb-post__cta.wp-block-button {
    order: 3;
}

.blog-posts .uagb-post__inner-wrap .uagb-post__cta.wp-block-button a {
    font-size: 15px !important;
    position: relative;
    display: inline-block;
    width: fit-content;
}

.blog-posts .uagb-post__inner-wrap .uagb-post__cta.wp-block-button a::after {
    content: url(../svg/Arrow.svg);
    position: relative;
    margin-left: 10px;
}

.blog-posts .uagb-post-pagination-wrap .page-numbers {
    background-color: #2E2E2E;
    color: white;
}

.blog-posts .uagb-post-pagination-wrap .page-numbers.current {
    color: #9E9E9E;
    background-color: #2E2E2E;
}

.blog-posts .uagb-post-pagination-wrap .page-numbers:hover {
    color: #9E9E9E;
    background-color: #2E2E2E;
}

.custom-post {
    width: 100%;
}

.custom-post-block {
    padding-bottom: 80px;
}

.custom-post-block-head {}

.custom-post-block-head-image {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.custom-post-block-head-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.custom-post-block-head-image-title {
    padding: 3px;
    font-size: 32px;
    font-weight: 400;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 1;
}

.custom-post-block-main {
    max-width: 1220px;
    padding: 0 10px;
    margin: 35px auto 0;
}

.custom-post-block-main-breadcrumbs {
    margin-bottom: 30px;
}

.custom-post-block-main-breadcrumbs a,
.custom-post-block-main-breadcrumbs span,
.custom-post-block-main-breadcrumbs p {
    color: #9E9E9E;
    position: relative;
    margin-right: 10px;
}

.custom-post-block-main-breadcrumbs a:hover {
    color: white;
}

.custom-post-block-main-breadcrumbs a::after {
    content: '';
    position: absolute;
    padding: 1px;
    border-radius: 50%;
    background-color: #9E9E9E;
    top: 50%;
    right: -7px;
    transform: translate(-50%, -50%);
    color: #9E9E9E;
}

.custom-post-block-main-content {
    padding: 50px;
    background-color: #2E2E2E;
    border-radius: 30px;
}

.custom-post-block-main-content p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 1200px) {

    .custom-post-block-main-content {
        padding: 40px;

    }
}

.custom-post-block-bottom {
    max-width: 1220px;
    padding: 0 10px;
    margin: 30px auto 0;
    display: flex;
    justify-content: space-between;
}

.custom-post-block-bottom-button {
    color: white;
    text-transform: uppercase;
    padding: 0;
    border: none;
    position: relative;
    font-weight: 600;
}

.custom-post-block-bottom-button.previous-post {
    padding-left: 20px;
}

.custom-post-block-bottom-button.previous-post a::before {
    content: url(../svg/Arrow.svg);
    position: absolute;
    left: 0;
    transform: rotate(180deg);
}

.custom-post-block-bottom-button.next-post {
    padding-right: 20px;
}

.custom-post-block-bottom-button.next-post a::after {
    content: url(../svg/Arrow.svg);
    position: absolute;
    right: 0;
    transform: rotate(0deg);
}

.footer {
    border-top: 1px solid rgb(35, 35, 35);
    padding-bottom: 20px;
}

.footer-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 10px;
}

@media screen and (max-width: 1264px) {
    .footer-container {
        max-width: 920px;
    }
}





.footer__logo {
    margin-bottom: 20px;
}

.footer__inner {}

.footer__inner-top-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 30px;
    border-bottom: 1px solid rgb(35, 35, 35)
}

.footer__inner-top-block-left {
    display: flex;

}

.footer__inner-top-block-left-rep {
    display: flex;
    gap: 5px;
}

.footer__inner-top-block-left-rep-item {
    position: relative;
    padding: 6px;
    border-radius: 4px;
    background-color: #2E2E2E;
}

.footer__inner-top-block-left-rep-item:hover p {
    display: block;
}

.footer__inner-top-block-left-rep-item img {
    max-width: 80px;
    width: 100%;
    object-fit: contain;
}

.footer__inner-top-block-left-rep-item p {
    display: none;
    position: absolute;
    bottom: -110%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px;
    background-color: #2E2E2E;
    border-radius: 5px;
    width: 250px;
}

.footer__inner-top-block-left-rep-item a {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.footer__inner-top-block-right {
    display: flex;

}

.footer__inner-top-block-right-rep {
    display: flex;
}

.footer__inner-top-block-right-rep-item {}

.footer__inner-top-block-right-rep-item img {
    width: 100%;
    max-width: 168px;
    height: 90px;
    object-fit: contain;
}

.footer__inner-main {
    margin-top: 25px;
    display: flex;

}


.footer__inner-main .footer__menu {
    width: 33.33%;
}

.footer__inner-main .footer__menu-title {
    color: hsla(0, 0%, 100%, .7);
    text-align: center;
    height: 48px;
}

.footer__inner-main .footer__menu ul {
    margin-left: 0;
    margin-bottom: 0;
    list-style-type: none;
}

.footer__inner-main .footer__menu ul li a {
    display: block;
    padding: 3px 16px;
    border-radius: 15px;
}

.footer__inner-main .footer__menu ul li a:before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    background-image: url(../svg/icon-play.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    margin-right: 10px;
    filter: brightness(0) invert(1);
}

.footer__inner-main .footer__menu ul li a:hover {
    background-color: #2E2E2E;
}

.footer__menu-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__menu-items-item {
    display: flex;
    gap: 20px;

}

.footer__menu-items-item .title {
    min-width: 82px;
    font-weight: 300;
    font-size: 13px;
}

.footer__menu-items-item .info {
    display: flex;
    gap: 5px;
    font-size: 13px;
    flex-direction: column;
}

.footer__menu-items-item .info.address {
    max-width: 170px;
}

.footer__menu-items-item .info a {
    font-size: 13px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-top: 32px;
}

.footer__copyright {
    font-size: 12px;
}

.footer__image-items {
    display: flex;
    gap: 15px;
}

.footer__image-items-item {
    width: 100%;
    max-width: 120px;
}

.footer__image-items-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer__social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px !important;
}

.footer__social-image{
    position: relative;
}

.footer__social-image-link {
    position: absolute;
    inset: 0;
    display: block;
}

.footer__social-link {
    height: 24px;
    font-size: 24px;
    width: 24px;
    position: relative;
}

.footer__social-link.whatsapp::after {
    content: url(../svg/whatsapp.svg);
    position: relative;
    display: block;
}

.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link{
    color: white!important;
}




@media screen and (max-width: 959px) {
    .footer__inner-top-block {
        flex-direction: column;
        gap: 20px;
    }

    .footer__inner-top-block-right {
        max-width: 100%;
        width: 100%;
        justify-content: center;

    }

    .footer__inner-top-block-right-rep {
        width: 100%;
    }

    .footer__inner-top-block-right-rep-item {
        width: 50%;
        height: 150px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .footer__inner-main {
        flex-direction: column;
    }

    .footer__inner-main .footer__menu {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer__social {
        display: none;
    }
}