/* header */
.header_pc {
    display: flex !important;
    flex-direction: row;
    padding: 20px 50px;
    align-items: center;
    justify-content: space-between;
}

.header_pc {
    position: fixed;
    top: -134px;
    /* Скрываем хедер */
    left: 0;
    width: -webkit-fill-available;
    background: white;
    /* Полупрозрачный фон */
    transition: top 0.3s ease-in-out;
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 925px) {
    .header_pc {
        display: none !important;
    }
}

.show {
    top: 0;
    /* Показываем хедер */
}

.header_container_left {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header_menu {
    display: inline-block;
    overflow: hidden;
    padding: 0 25px;
    display: flex;
    flex-direction: row;
    padding-left: 100px;
    @media (max-width: 1200px) {
        padding-left: 50px;
    }
}

.header_menu a {
    padding: 15px;
    color: #075274;
    font-size: 18px;
    font-weight: 500;
    transition: color .3s;
    text-decoration: none;
    @media (max-width: 1200px) {
        font-size: 18px;
    }
}

header .logo {
    font-family: 'Gilroy-Regular';
    font-size: 35px;
}

@media (max-width: 925px) {
    header .logo {
        font-size: 27px;
    }
}

header .logo span {
    font-family: 'Gilroy-Bold';
}

.header_menu a:hover {
    color: #ed4457;
}

.media_container {
    display: flex;
    flex-direction: row;
    gap: 33px;
}

.media_block {
    display: flex;
    width: 9px;
    height: 19px;
    flex-direction: row;
}

#inst {
    display: block;
    width: 16px;
    height: 16px;
}

.icon {
    fill: black;
    transition: fill 0.3s ease;
    cursor: pointer;
}

.icon:hover {
    fill: #ed4457;
}

/* header */
/* header-mobile */
.header_mobile {
    position: fixed;
    top: 0;
    background-color: white;
    display: none;
    width: -webkit-fill-available;
    height: 40px;
    padding: 7.5px 20px;
    flex-direction: row;
    z-index: 1000;
    justify-content: space-between;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 5;
}

.overlay_active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 925px) {
    .header_mobile {
        display: flex;
    }
}

.first_container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}

.burger_menu {
    width: 20px;
    cursor: pointer;
}

.header_mobile a {
    display: flex;
    align-items: center;
}

.drop_menu {
    display: flex;
    flex-direction: column;
    background-color: white;
    position: fixed;
    top: -500px;
    z-index: 1000;
    width: -webkit-fill-available;
    transition: top .3s linear;
}

.active_menu {
    top: 0px;
}

.btn_close_container {
    padding: 3px 8px 3px 5px;
    background-color: #f8f7f7;
    height: 34px;
    display: flex;
    align-items: center;
}

.btn_close {
    width: 30px;
}

.drop_menu .container {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 26px 21px;
    padding-bottom: 40px;
}

.drop_menu .container a {
    color: #131313;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Gilroy-Medium';
}

.drop_menu .container .media_container {
    margin-top: 14px;
}

/* header-mobile */

/* slider */
.custom_slider .swiper {
    width: 100%;
    height: 100%;
    justify-content: center;
}

@media (max-width: 1238px) {
    .custom_slider .swiper {
        display: flex !important;
    }

    .custom_slider .container_with_us {
        display: none !important;
    }
}


.custom_slider .swiper-wrapper {
    height: 200px;
    width: 90.59vw;
    margin: 0px auto;
}


.custom_slider .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #075274;
    height: 200px !important;
    border-radius: 3px;
    gap: 10px;
    right: 36px;
}

.custom_slider .swiper-slide-inner {
    height: 100%;
    width: 100%;
}

@media (max-width: 550px) {
    .carousel-block {
        height: 360px !important;
    }
}



@media (max-width: 650px) {
    .custom_slider .swiper-slide {
        height: 200px !important;
        position: relative;
    }
}


.custom_slider .swiper-slide img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.custom_slider .swiper-slide h2 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    font-family: 'Gilroy-Bold'
}


.custom_slider .swiper-slide p {
    font-size: 16px;
    font-weight: 500;
    color: white;
    font-family: 'Gilroy-Semibold'
}

.custom_slider .swiper-button-next:after,
.custom_slider .swiper-rtl .swiper-button-prev:after,
.custom_slider .swiper-button-prev:after,
.custom_slider .swiper-rtl .swiper-button-next:after {
    font-size: 13px !important;
    color: #DE0A1B;
}

.custom_slider .swiper-button-next,
.custom_slider .swiper-rtl .swiper-button-prev {
    right: -2px;
}

.custom_slider .swiper-button-prev,
.custom_slider .swiper-rtl .swiper-button-next {
    left: -2px;
}

.custom_slider .swiper-horizontal>.swiper-pagination-bullets,
.custom_slider .swiper-pagination-bullets.swiper-pagination-horizontal,
.custom_slider .swiper-pagination-custom,
.custom_slider .swiper-pagination-fraction {
    bottom: 0px;
}

.custom_slider .swiper-pagination-bullet-active {
    background-color: #DE0A1B;
    width: 10px;
    height: 10px;
}

.custom_slider .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.custom_slider .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    background-color: #DE0A1B;
    width: 10px;
    height: 10px;
}


/* slider */
#modal_form {
    position: unset !important;
    padding: 45px 30px !important;
}

#modal_form .form_container .close_btn {
    position: absolute;
    top: 2%;
    right: 2%;
    width: 25px;
    height: 25px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #333;
    padding: 0;
}

/* Стили для крестика */
#modal_form .close_btn:before,
#modal_form .close_btn:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background-color: black;
    transform-origin: center;
    transition: all 0.3s;
}

#modal_form .close_btn:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

#modal_form .close_btn:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* При наведении меняем цвет */
#modal_form .close_btn:hover:before,
#modal_form .close_btn:hover:after {
    background-color: red;
}

#modal_container {
    position: fixed;
    z-index: 2000;
    width: 100vw;
    height: 100vw;
    display: none;
    top: 0;
    justify-content: center;
    align-items: center;
    background-color: #00000080;
}

.show_modal {
    display: flex !important;
}

#container_content {
    top: 20vh !important;
    left: -3%;
}

@media (max-width: 1221px) {
    #container_content {
        left: 2vw;
        width: 93%;
        margin: 0px 20px;
    }
}

@media (max-width: 1100px) {
    #container_content {
        width: 100%;
        margin: 0px;
        left: 0;
        background: unset;
        height: 100vw;
        top: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.container_form_general {
    overflow: hidden !important;
}

.general_form {
    padding: 70px 30px;
    width: 100%;
    max-width: fit-content !important;
    position: relative !important;
    z-index: 2;
}

@media (max-width: 1280px) {
    .general_form {
        padding: 50px 30px;

    }
}

@media (max-width: 768px) {
    .general_form {
        padding: 30px 20px;
    }
}

@media (max-width: 550px) {
    .general_form {
        padding: 0 20px;
        padding-bottom: 30px;
    }
}

.form_img {
    position: absolute !important;
    width: 100%;
    height: 100%;
}

@media (max-width: 1100px) {
    .form_img .elementor-widget-container {
        height: 100vh;
    }
}

.form_img img {
    width: 65%;
    height: auto !important;
    position: absolute;
    top: -6vh;
    right: -16%;
    transform: rotate(19deg);
}

@media (max-width: 1100px) {
    .form_img img {
        height: 100% !important;
        width: 100% !important;
        transform: unset !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        object-fit: cover;
        object-position: left bottom;
    }
}



#modal_form .form_container h2 {
    font-size: 32px;
}

.form_container h2 {
    color: white;
    font-size: 50px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 1280px) {
    .form_container h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .form_container {
        width: fit-content;
        ;
    }
}


@media (max-width: 768px) {
    .form_container h2 {
        font-size: 32px;
        ;
    }
}

@media (max-width: 550px) {
    .form_container h2 {
        font-size: 30px;
        ;
    }
}

.form_content {
    width: 345px;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (max-width: 1280px) {
    .form_content {
        margin-top: 40px;

    }
}

@media (max-width: 768px) {
    .form_content {
        margin-top: 17px;
        gap: 10px;
    }
}

@media (max-width: 550px) {
    .form_content {
        margin-top: 17px;
        gap: 10px;
        width: 100%;
    }
}

.form_content .content {
    display: flex;
    flex-direction: row;
}

.error_text {
    display: none;
    position: absolute;
    left: 35.5%;
    flex-direction: row;
    gap: 5px;
}

.active_error {
    display: flex;
}

.error_text .text_one {
    display: inline-block;
    padding: .25em .4em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    text-transform: uppercase;
    background-color: #ed4457;
    color: white;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

@media (max-width: 550px) {
    .form_content .content p {
        width: 100%;
    }

    .form_content .content p input {
        width: 100%;
    }
}

.error_text .text_one {
    font-size: 9px;
}

.error_text .text_two {
    font-size: 12px !important;
    font-weight: 600;
    color: white;
}

.form_content input {
    padding: 14px 20px;
    height: auto;
    border: 2px solid transparent;
    font-size: 14px;
    font-weight: 500;
    color: #131313;
    width: 345px;
}

.form_content .send_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 100%;
    height: 50px;
    padding: 0 20px 2px;
    line-height: 1;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background-color: #DE0A1B;
    border-radius: 3px;
    transition: background-color .3s;
}

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

.wpcf7-spinner {
    display: none !important;
}

.travel_choice_btn a {
    height: 50px;
    display: flex;
    align-items: center;
}

.trip_containrt_content {
    height: fit-content !important;
}


.container_trip {
    width: 100% !important;
    height: 27.58vh !important;
    display: flex !important;
    flex-direction: row !important;
}

@media (max-width: 1025px) {
    .container_trip {
        flex-wrap: wrap !important;
        height: fit-content !important;
    }
}

.trip_img {
    overflow: hidden;
}

.trip_img,
.trip_img img {
    width: 100%;
    height: 100% !important;
}

.trip_img img {
    transition: transform 0.3s ease-in-out;
}

.trip_block:hover .trip_img img {
    transform: scale(1.05);
}

.trip_img img:hover {
    transform: scale(1.05);
}


#filtered-posts {
    display: flex;
    width: 100%;
}

.info_trip {
    display: none !important;
}

.price_block {
    width: 380px !important;
}


@media (max-width: 925px) {
    .price_block {
        width: 100% !important;
        z-index: -1 !important;
    }

    .page_nav {
        position: fixed !important;
        top: 55px;
        left: 0;
        padding: 15px 20px !important;
        background-color: #fafafa;
        box-shadow: 0 3px 14px rgba(0, 0, 0, .08);
        width: 100% !important;
    }
}

.page_nav_container {
    position: relative !important;
    z-index: 10 !important;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .08);
}

.vie_impressions:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .46) 100%);
}

.place {
    display: flex;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0 !important;
}

.place::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 7px;
    margin-right: 7px;
    background-image: url(https://travelguide.group/wp-content/uploads/2025/02/breadcrumbs-icon.svg);
    background-repeat: no-repeat;
}

.page_nav_active {
    height: 55px !important;
    min-height: unset !important;
    position: fixed !important;
    top: 0px;
    transition: top 0.3s ease-in-out !important;
}

.transform_text {
    font-size: 20px !important;
    text-align: center;
}

.transform_text_span {
    font-size: 16px !important;
    width: fit-content;
    display: flex;
    flex-direction: column;
}

.transform_add_text {
    padding-left: 30px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

.trinsform_price_block {
    padding: 0 30px !important;
    flex-direction: row !important;
    align-items: center !important;
    max-width: 380px !important;
}

.red_text {
    font-weight: 700 !important;
    color: #ed4457 !important;
}

.show_page_nav {
    top: 83px
}

.btn_open_modal a {
    position: fixed !important;
    bottom: 30px;
    right: 50px;
    z-index: 10;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Gilroy-Bold' !important;
    width: auto;
    height: 50px;
    padding: 0 20px 2px;
    line-height: 1;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #fff;
    background-color: #DE0A1B !important;
    border-radius: 3px;
    transition: background-color .3s;
    cursor: pointer !important;
}

@media (max-width: 900px) {
    .btn_open_modal a {
        bottom: 7px !important;
        right: 15px !important;
        z-index: 120 !important;
    }
}

.active_btn {
    display: inline-flex !important;
}

.btn_open_modal a:hover {
    box-shadow: none;
    background-color: #e62d42 !important;
    color: #fff;
    text-decoration: none;
}

.btn_open_modal a:after,
.btn_open_modal a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: -1;
    animation-fill-mode: both;
    border-radius: 3px;
}

.btn_open_modal a:before {
    background-color: rgba(237, 68, 87, .5);
    animation: btn-expand 5s .3s linear infinite;
}

.btn_open_modal a:after {
    background-color: rgba(237, 68, 87, .7);
    animation: btn-expand 5s .5s linear infinite;
    box-shadow: none;
}

@keyframes btn-expand {

    100%,
    20% {
        transform: scale(1.25, 1.15);
        opacity: 0
    }

    0% {
        opacity: 0;
        transform: scale(1)
    }

    10% {
        opacity: 1
    }
}

/* footer */

footer {
    display: flex !important;
    flex-direction: row;
    background-color: #f8f7f7;
    padding: 30px 50px;
    margin-top: auto;
}

@media (max-width: 1135px) {
    footer {
        flex-direction: column;
        padding: 30px 20px;
    }
}

.footer_container_one {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 25%;
}

@media (max-width: 1135px) {
    .footer_container_one {
        max-width: unset;
    }
}

footer .logo {
    font-family: 'Gilroy-Regular';
    font-size: 35px;
}

footer .logo span {
    font-family: 'Gilroy-Bold';
}

.status {
    width: 102px;
    margin-top: 22px;
}

.mob_view {
    display: none;
}

@media (max-width: 1135px) {
    .mob_view {
        display: flex;
        flex-direction: column;
    }
}

.pc_view {
    display: flex;
    flex-direction: column;
}

@media (max-width: 1135px) {
    .pc_view {
        display: none;
    }
}

.footer_container_one .list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
}

.footer_container_one .list a {
    color: black;
    font-size: 14px;
    font-weight: 500;
    transition: color .3s;
    text-decoration: none;
    font-family: 'Gilroy-Medium';
}

.footer_container_one .list a:hover {
    color: #ed4457;
}

.footer_container_one .media_container {
    margin-top: 55px;
}

@media (max-width: 1135px) {
    .footer_container_one .media_container {
        margin-top: 30px;
        margin-left: 15px
    }
}

.license {
    font-size: 12px;
    color: #595959;
    margin-top: 45px;
    font-family: 'Gilroy-Regular';

}

@media (max-width: 1135px) {
    .license {
        margin-top: 30px;
    }
}

.capch {
    margin-top: 15px;
    font-size: 12px;
    color: #595959;
    font-family: 'Gilroy-Regular';
}

.footer_container_two {
    width: 100%;
    max-width: 75%;
    padding: 0 15px;
    padding-right: 0;
    padding-top: 25px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

@media (max-width: 1135px) {
    .footer_container_two {
        justify-content: flex-start;
        flex-wrap: wrap;
        padding: unset;
        margin-top: 30px;
        gap: 25px;
    }
}

@media (max-width: 782px) {
    .footer_container_two {
        flex-direction: column;
        width: unset;
    }
}

.footer_menu {
    display: flex;
    flex-direction: column;
    gap: 21px;
    padding-right: 30px;
    min-width: 131px;
}

@media (max-width: 1135px) {
    .footer_menu {
        padding: unset;
    }
}

.footer_menu a {
    font-size: 14px;
    color: #131313;
    font-family: 'Gilroy-Regular';
    transition: color .3s;
}

.footer_menu a:hover {
    color: #ed4457;
}

.info_block {
    width: 100%;
    max-width: 220px;
    padding: 0 15px;
}

@media (max-width: 1135px) {
    .info_block {
        padding: unset;
    }
}

@media (max-width: 782px) {
    .info_block {
        max-width: unset !important;
    }
}

.info_block h2 {
    font-size: 18px;
    font-weight: 500;
    font-family: 'Gilroy-Medium';
    color: #131313;
    margin-bottom: 10px;

}

.info_block .footer-info__link {
    font-size: 16px;
    font-weight: 500;
    color: #595959;
    font-family: 'Gilroy-Semibold';
    transition: color .3s;
}

.info_block .footer-info__link:hover {
    color: #ed4457;
}

.footer-info__col_tel {
    max-width: 155px;
}

.footer-address {
    max-width: 147px;
    padding-right: unset;
}

/* about_us_page */

.about_us_img_history {
    position: absolute !important;
    bottom: 14%;
    left: 49%;
    width: 55%;
    height: auto;
    z-index: 0;
}

@media (max-width: 1024px) {
    .about_us_img_history {
        position: absolute !important;
        right: -10%;
        left: unset;
        top: -270px;
        width: 120%;
        max-width: none !important;
        height: auto;
        z-index: 0;
    }
}

@media (max-width: 767px) {
    .about_us_img_history {
        position: absolute !important;
        right: -10%;
        left: unset;
        top: -17px;
        width: 120%;
        max-width: none !important;
        height: auto;
        z-index: 0;
    }
}

.today_img img {
    transform: rotate(15deg) !important;
    width: auto;
    height: 26.76vw !important;
    position: absolute;
    left: 5px;
    top: 20px;
}

@media (max-width: 767px) {
    .today_img img {
        transform: rotate(15deg) !important;
        width: auto;
        height: 60.12vw !important;
        position: relative;
        left: 5px;
        top: 20px;
    }
}

.today_img_two img {
    transform: rotate(15deg) !important;
    width: auto;
    height: 26.76vw !important;
    position: absolute;
    left: auto;
    right: 0;
    top: 20px;
}

@media (max-width: 767px) {
    .today_img_two img {
        transform: rotate(15deg) !important;
        width: auto;
        height: 64.12vw !important;
        position: relative;
        left: 5px;
        top: -23px;
    }
}

/* contacts-page */
#map_slider {
    height: 38.3vh;
    display: none !important;
}

@media (max-width: 767px) {
    #map_slider {
        display: flex !important;
    }
}

#map_slider .swiper-wrapper {
    height: 100% !important;
    width: 100% !important;
}

#map_slider .swiper-slide {
    height: 34.8vh !important;
    position: relative;
    right: unset !important;
}

#map_slider .swiper-slide img {
    height: 100% !important;
}

#map_slider .swiper-button-next,
#map_slider .swiper-button-prev {
    display: none !important;
}


.programm_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.content_block {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.header_container {
    width: 100%;
    padding: 19px 20px;
    text-align: left;
    position: relative;
    background-color: #075274;
    color: #fff;
    font-size: 18px;
    border-radius: 0;
    margin-bottom: 3px;
    font-family: "Gilroy-Samibold", Sans-serif;
}

.header_container::before {
    content: '';
    display: block;
    width: 16px;
    height: 8px;
    position: absolute;
    right: 25px;
    top: 50%;
    margin-top: -4px;
    background-image: url('https://travelguide.group/wp-content/uploads/2025/02/arrow_white.svg');
    background-repeat: no-repeat;
    background-position: 0 0;
}

.container_content {
    height: 0px;
    opacity: 0;
    transition: .3s linear;
}

.active_container_content {
    opacity: 1;
    height: fit-content;
}

.container_content .text_content {
    padding: 20px;
}

.container_content h3 {
    font-family: "Gilroy-Bold", Sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 25px;
    margin-bottom: unset;
}

.container_content h3:first-child {
    margin-top: unset;
}

.container_content p {
    font-family: "Gilroy-Regular", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin: unset;
}

#gallery-1 .gallery-item,
#gallery-2 .gallery-item,
 .gallery-item{
    float: left;
    text-align: center;
    max-height: 37vh;
    width: 25%;
    overflow: hidden;
    margin-top: unset !important;
}

@media (max-width: 900px) {

    #gallery-1 .gallery-item,
    #gallery-2 .gallery-item,
    .gallery-item {
        max-height: 32.8vh;
    }
}

#gallery-1 img,
#gallery-2 img,
.gallery-item img{
    width: 100%;
    height: 100%;
    border: unset !important;
    object-fit: cover;
    margin: 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item a {
    height: -webkit-fill-available;
    display: flex;
    width: 100%;
    height: 100%;
}

.gallery-icon {
    height: 36vh;
}

@media (max-width: 550px) {
    .gallery-icon {
        height: 20vh;
    }
}

/* Эффект увеличения при наведении */
#gallery-1 .gallery-item img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#gallery-1 .gallery-item:hover img {
    transform: scale(1.1);
    /* Увеличение изображения */
    opacity: 0.8;
    /* Чуть уменьшаем непрозрачность при наведении */
}


#gallery-1 .gallery-item img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#gallery-1 .gallery-item:hover img {
    transform: scale(1.1);
    /* Увеличение изображения */
    opacity: 0.8;
    /* Чуть уменьшаем непрозрачность при наведении */
    filter: brightness(.5);
}

/* Скрытие всех аккордеонов по умолчанию */
.slider-accordion .elementor-accordion-item {
    display: none;
}

/* Отображение активного элемента */
.slider-accordion .elementor-accordion-item.elementor-active {
    display: block;
}

/* Плавное переключение между элементами */
.slider-accordion .elementor-accordion-item img {
    width: 100%;
    height: auto;
    transition: opacity 0.5s ease;
}

/* Плавное изменение прозрачности */
.slider-accordion .elementor-accordion-item.elementor-active img {
    opacity: 1;
}

.slider-accordion .elementor-accordion-item img {
    opacity: 0;
}

/* Можно добавить эффект затемнения */
.slider-accordion .elementor-accordion-item img {
    opacity: 0.8;
}

.slider-accordion .elementor-accordion-item.elementor-active img {
    opacity: 1;
}

/* Стили для кнопок */
.prev-slide,
.next-slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    z-index: 2;
    /* чтобы кнопки были выше слайдов */
}

.prev-slide {
    left: 10px;
}

.next-slide {
    right: 10px;
}

.bottom_btn_block {
    position: fixed !important;
    bottom: 0;
    width: 100% !important;
    display: none !important;
    z-index: 100 !important;
}

@media (max-width: 900px) {
    .bottom_btn_block {
        display: flex !important;
    }
}
#custom_post_news article{
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
}

#custom_post_news h2{
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    text-shadow: 0 0 6px #010401;
    padding: 0px 20px;
}

#custom_post_news .wpr-grid-image-wrap img{
    transform: scale(1.00);
    transition: .3s all;
    height: 100%;
}
#custom_post_news  .wpr-grid-image-wrap, #custom_post_news  .wpr-grid-media-wrap, #custom_post_news  .wpr-grid-item-inner{
    height: 100% !important;
}
#custom_post_news  .wpr-grid-item-below-content{
    padding: unset !important;
}

@media (max-width:1024px) {
    .gallery-item {
        max-width:50% !important;
        width:50% !important;
    }
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.custom_post_news .wpr-grid-image-wrap {
    height: 200px !important;
}
.custom_post_news .wpr-grid-image-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}