/*!
Theme Name: Baden Baden
Theme URI: http://underscores.me/
Author: Alexandr Vlasov
Author URI: http://alexandr.pw
Description: Description
Version: 1.6.22
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: baden
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/
.btn {
    font-size: 16px;
}
.more-link {
    display: none;
}
.singleNews {
    overflow: hidden;
    .article-content a {
        color: #000;
    }
    .article-content p {
        font-size: 18px;
        line-height: 1.4em;
    }
    .article-image {
        aspect-ratio: 10 / 5;
        height: auto;
    }
    article {
        overflow: hidden;
        border-bottom: 1px solid #ccc;
        margin-bottom: 32px;
    }
}
.singleArticle article {
    overflow: hidden;
}
.singleArticle article .container {
    overflow: hidden;
    max-width: none;
    width: 100%;
}
.singleArticle article .galleryCarousel {
    overflow: hidden;
    width: 100%;
}
.firstScreen_singlePage {
    background-image: url('assets/img/all_header.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}
.firstScreen_singlePage__content h1 {
	font-size: clamp(36px,5vw,80px);
}
.titleBlock h2 {
	font-family: serif;
	color: #0066a4;
	font-size: clamp(32px , 5vw, 52px);
	line-height: 1em;
	margin-bottom: 40px;
    text-transform: none;
}
.contacts__contacts__title {
	display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.contacts__contacts__title h2 {
	font-family: serif;
	color: #0066a4;
	font-size: 52px;
	line-height: 1em;
	margin-bottom: 40px;
	position: relative;
}
.contacts__contacts__title:after {
    content: "";
    display: block;
	background-color: #4e5d70;
    width: 50px;
    height: 1px;
}

.contacts__contacts {
	/* padding: 55px 25px; */
	/* width: 100%; */
}
/* @media screen and (max-width: 767px) {
	.contacts__contacts {
		padding: 55px 45px;
	}
} */
.contacts__contacts__items {
	gap: 50px
}
.contacts__contacts__item div a,
.contacts__contacts__item div span {
	font-size: 16px;
	font-weight: 500;
}
.contacts__contacts__item .location_name {
	text-transform: uppercase;
}
.header {
	position: relative;
	margin-bottom: -100px;
}
body {
	color: #4e5d70;
}
.titleWrapper ul li a {
	color: #4e5d70;
	cursor: pointer;
}
.titleWrapper p {
	font-size: 20px;
	color: #4e5d70;
	text-wrap: auto;
    @media screen and (max-width: 767px) {
        font-size: 16px !important;
    }
    
}
.firstScreen_singlePage__bg img {
    object-fit: cover;
    -o-object-position: top;
    object-position: center top;
}
.specialOffers__item {
	aspect-ratio: 4/5;
}
.specialOffers__wrapper[data-slides="1"] {
    .specialOffers__item {
        aspect-ratio: 16 / 12;
        max-height: 480px;
    }
}
.specialOffers__wrapper[data-slides="2"] {
    .specialOffers__item {
        aspect-ratio: 16 / 9;
        max-height: 480px;
    }
}
/* singleHalls-otherHalls: показывать только title; excerpt+кнопку — на hover */
.singleHalls-otherHalls .specialOffers__item--theme_3 .specialOffers__content .excerpt {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    transition: opacity .3s ease, max-height .4s ease;
    pointer-events: none;
}
.singleHalls-otherHalls .specialOffers__item--theme_3:hover .specialOffers__content .excerpt {
    opacity: 1;
    max-height: 200px;
    pointer-events: auto;
}
/* .specialOffers__wrapper[data-slides="3"] {
    
} */
.accommodation__item {
	height: auto;
}
.swiper.accommodation-slider .swiper-wrapper {
	justify-content: stretch;
}
.header.scrolled {
	background-color: rgb(89 162 212 / 90%);
}
.titleWrapper ul li {
	font-size: 16px;
    text-transform: uppercase;
}
.titleBlock:after {
	background-color: #4e5d70;
	width: 50px;
}
#travelline {
	border: 1px solid rgba(0, 0, 0, .1);
    border-radius: .8rem;
    padding: 10px 30px;
	margin-top: 30px;
}
.page-template-home  #travelline {
	margin-bottom: 60px;
}
@media screen and (min-width: 1700px) {
	.container {
		max-width: 1600px;
	}
}
.accommodation__item {
	padding: 0;
}
/* .btn {
	padding: 20px 50px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
} */
.btn--blue {
	background-color: #57a1d4;
}
.dropdown-toggle::before {
	display: block;
    content: "\f107";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    position: absolute;
    right: 2px;
    font-size: 12px;
    bottom: 12px;
	transition: transform .3s ease-in-out;
}
.dropdown-toggle:hover::before {
	transform: rotateX(-180deg);
}
.dropdown-toggle::after {
	display: none;
}
/* Для обычных экранов — наводим мышью и показываем меню */
@media (min-width: 992px) {
  .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0; /* убираем возможное смещение */
  }
}
#certificate_widget .page__inner {
	padding-top: 20px;
}
.faq-btn__wrapper {
    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;
}
.offcanvas-header .offcanvas-title .img {
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: center;
}

    .btn__bitrixForm .b24-form-sign {
        display: none;
    }

    .btn__bitrixForm .b24-form-wrapper.b24-form-border-bottom {
        border-bottom: none;
    }

    .btn__bitrixForm .btn-close {
        right: 12px;
        left: auto;
        position: absolute;
        z-index: 20;
    }

    .btn__bitrixForm {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
    }

    .btn__bitrixForm button {
        margin: 0 auto;
    }
.header__social img {
    width: 20px;
    height: 20px;
}
@media screen and (max-width: 767px) {
    .firstScreen__description {
        font-size: 14px;
    }
    .firstScreen__logo img {
        width: 60%;
    }
    .header__logo img {
        max-width: 120px;
    }
}
.page-link {
    font-size: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5ba6db;
}
.page-item.active .page-link {
    color: #fff;
    background-color: #5ba6db;
    border-color: #5ba6db;
}

.specialOffers__wrapper-akcii {
    display: flex;
    align-items: center;
    justify-content: center;
    /* &:not(:hover) {
        .swiper-button-prev,
        .swiper-button-next {
            opacity: 0;
            top: 20px;
        }
    }
    @media screen and (max-width: 1024px) {
        &:not(:hover) {
            .swiper-button-prev,
            .swiper-button-next {
                opacity: 1;
                top: 0px;
            }
        }
    }
    .swiper-nav {
        position: absolute;
        width: 100%;
    }
    .swiper-button-prev,
    .swiper-button-next {
        opacity: 1;
        top: 50%;
        background-color: hsla(0, 0%, 0%, 0.4);
        border-radius: 90px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all .3s ease-in-out;
        svg {
            width: 20px;
            height: 20px;
        }
    }
    .swiper-button-prev:after,
    .swiper-button-next:after {
        display: none;
    } */
}
.swiper-slide {
    height: 100% !important;
}
.sidebar:not(.sidebar:nth-last-child(1)) {
    margin-bottom: 60px;
}
.sidebar h2 {
    margin-bottom: 0;
}
.sidebar--news ul li a {
    font-size: 20px;
    font-family: serif;
    line-height: 1.2em;
    font-weight: 600;
}
.gridContent__content--text .titleBlock h2 {
    font-size: 32px;
    @media (width <= 768px) {
        font-size: 24px;
        line-height: 1.2em;
    }
}

.file-link-block {
    padding: 12px 0;
}
a.file-link-icon svg{
    width: 40px;
    height: auto;
}
a.file-link-title {
    font-size: 20px;
    color: rgb(78, 93, 112);
    font-size: 16px;
    @media (max-width: 767px) {
        font-size: 14px;
    }
}
.singleArticle--archive .singleArticle__item .article-title h2 {
    margin-bottom: 12px;
}
.singleArticle--archive .singleArticle__item .article-title h2 {
    min-height: 3em;
}
.gridContent__content--image {
    overflow: hidden;
    position: relative;
}
.gridContent__content-swiper {
    height: 100%;
    .swiper-slide {
        height: auto !important;
        max-height: 600px !important;
    }
    .swiper-wrapper {
        justify-content: stretch;
        height: 100% !important;
    }
    img {
        aspect-ratio: auto !important;
        object-fit: cover;
    }
}
.gridContent__content--text {
    padding-top: 32px;
    padding-bottom: 32px;
    .spa__text {
        font-size: 18px;
    }
}
.singleArticle__item .article-title h2 {
    margin-bottom: 20px;
    font-size: clamp(24px,5vw,42px);
}
.wp-block-gallery {
    padding: 0 12px;
    img {
        aspect-ratio: 1 / 1 !important;
        object-fit: cover;
        width: 100%;
        height: auto;
    }
}
.whoceTers-slider:not(:has(.photoSize-1x1)) {
    padding-left: 180px;
    padding-right: 180px;
}
.whoceTers-slider .swiper-slide:not(.photoSize-1x1) {
    aspect-ratio: 16 / 10 !important;
}
.page-template-home #travelline {
    margin-bottom: 40px;
}
.accommodation {
    overflow: hidden;
}
.accommodation-slider {
    overflow: visible;
}
.specialOffers__item {
    border-radius: 0;
}
.specialOffers__item--theme_3 .specialOffers__content a {
    background-color: #57a1d4;
}

/**
 * Draft
 */
.firstScreen_singlePage:has(~ .post_draft) {
    filter: grayscale(1);
}
.post_draft--wrapper {
    padding: 32px;
    -webkit-box-shadow: 0 8px 32px 0 #27294014;
    box-shadow: 0 8px 32px 0 #27294014;
    background-color: #fff;
    border-radius: 32px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    max-width: 720px;
    margin: 0 auto;
    @media screen and (max-width: 767px) {
        flex-direction: column;
    }
}
.post_draft--text {
    font-size: 18px;
    line-height: 22px;
    max-width: 540px;
    font-weight: 500;
    max-width: 460px;
    p {
        margin-bottom: 0;
    }
}
.post_draft--btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 12px;
    .cookies__btn {
        width: 100%;
        text-align: center;
    }
    .cookies__btn:hover {
        color: #fff;
    }
}
.akcii-template-default {
    .article-content {
        container-type: inline-size;
        container-name: specialOffers;
    }
    .specialOffers {
        overflow: hidden;
        width: 100%;
        max-width: 100cqw;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        .swiper {
            width: 100%;
        }
        .titleBlock {
            margin-bottom: 40px;
        }
    }
}

.btn__bitrixForm .b24-form-sign {
    display: none;
}

.btn__bitrixForm .b24-form-wrapper.b24-form-border-bottom {
    border-bottom: none;
}

.btn__bitrixForm .btn-close {
    right: 12px;
    left: auto;
    position: absolute;
    z-index: 20;
}

.btn__bitrixForm {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.btn__bitrixForm button {
    margin: 0 auto;
}
.firstScreen__title {
    display: none !important;
}
.firstScreen_singlePage__content h1 {
    font-size: clamp(36px, 4vw, 80px) !important;
    font-weight: 600 !important;
}
.table-collapsible-controls {
    position: relative;
    padding: 0 20px;
}
.wp-block-table {
    margin-bottom: 40px;
}
.table>:not(:last-child)>:last-child>* {
    vertical-align: middle;
    font-size: 20px;
    line-height: 1.2em;
    font-weight: 600;
    color: #4e5d70;
    background-color: transparent !important;
    @media (max-width: 767px) {
        font-size: 14px !important;
    }
}
.wp-block-table .table-hover tr td {
    font-size: 16px !important;
    color: rgb(78, 93, 112);
    @media (max-width: 767px) {
        font-size: 14px !important;
    }
}
.pricing__content--priceList li {
    font-size: 16px;
}
.wp-block-table {
    margin-bottom: 40px;
    background: rgba(87,161,212,.05);
    border-radius: 12px;
    padding: 12px 4px;
}
.table-collapsible-controls {
    background: transparent;
    padding-bottom: 20px;
}
.table-collapsible.expanded {
    padding-bottom: 20px;
}
.wp-block-table {
    font-size: 14px !important;
}
@media (max-width: 992px) {
    .single-prozhivanie .header .header__mobile .header__menu-btn {
        color: #000;
    }
    body:has(.header__mobile .offcanvas.offcanvas-end.show) {
        overflow: hidden;
    }
    .firstScreen__logo {
        /* display: none; */
    }
    .firstScreen__title {
        font-size: 24px;
    }
    .titleWrapper p {
        font-size: 16px !important;
    }
    
    .header__mobile .offcanvas-body .navbar-nav .dropdown-toggle {
        flex-direction: row-reverse;
        justify-content: flex-end;
        align-items: center;
        width: 100%;
    }
    .dropdown-toggle::before {
        right: -20px;
        font-size: 12px;
        bottom: auto;
        position: relative;
    }
    .footer_v2_contactsBlock-item a {
        color: #4e5d70;
    }
    .whoceTers-slider:not(:has(.photoSize-1x1)) {
        padding: 20px 20px;
    }
    
    .footer_v2_col {
        width: 100%;
        ul.footer_v2_col-list_2col {
            column-count: 1;
            column-gap: 0;
        }
    }
}
.footer_v2_contactsBlock-item a {
	color: #4e5d70;
}
.firstScreen::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, hsl(215.29deg 18.28% 18.24% / 70%), transparent 30%);
    opacity: 1;
    z-index: -1;
}
.titleWrapper ul li a,
.nav-tab.btn--link {
    color: #4e5d70;
    cursor: pointer;
    position: relative;
    top: 0;
    transition: all 0.3s;
}
.titleWrapper ul li a:before,
.nav-tab.btn--link:before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}
/* .titleWrapper ul li a:not(.active):hover,
.nav-tab.btn--link:not(.active):hover {
    top: -6px;
} */
/* .titleWrapper ul li a.active, */
/* .nav-tab.btn--link.active {
    top: 0;
    color: #0066a4;
} */
.swiper-button-next:after, .swiper-button-prev:after {
    display: none;
}

@media (min-width: 1025px) {
    .accommodation__text {
        padding: 40px 80px;
    }
}

.swiper {
    &:not(:hover) {
        .swiper-button-prev,
        .swiper-button-next {
            opacity: 0;
            top: 20px;
        }
    }
    @media screen and (max-width: 1024px) {
        &:not(:hover),
        &:hover {
            .swiper-button-prev,
            .swiper-button-next {
                opacity: 1;
                top: calc(100% - 40px);
                left: auto;
                right: 4px;
            }
            .swiper-button-prev {
                right: 60px;
            }
        }
    }
}
.swiper-button-next,
.swiper-button-prev {
    background: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 90px;
    transition: all 0.3s;
    opacity: 1;
    top: 50%;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: hsl(204, 59%, 59%, 0.8);
}
.swiper-button-next svg,
.swiper-button-prev svg {
    width: 20px;
    height: auto;
}
.swiper-button-next svg path,
.swiper-button-prev svg path {
    fill: #000;
    /* transition: all 0.1s; */
}
.swiper-button-next:hover svg path,
.swiper-button-prev:hover svg path {
    fill: #fff;
}
.singleArticle.childrenArticle .singleArticle__wrapper .singleArticle__item {
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.article-title {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.whoceTers_buttonsWrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: fit-content;
    gap: 20px;
    margin: 20px auto 0;
}
.whoceTers_buttonsWrapper a.btn--blue,
.whoceTers_buttonsWrapper button.btn--blue {
    margin: 0;
}

.modal-dialog.modal-dialog-for_navigation {
    .modal-content {
        border-radius: 16px;
    }
    .modal-header {
        border-bottom: none;
        padding-bottom: 0;
    }
    .modal-body {
        font-size: 20px;
        font-weight: 600;
        button {
            position: absolute;
            right: 10px;
        }
    }
    span.hotel-stars {
        display: flex;
        gap: 4px;
        flex-direction: row;
        width: 100%;
        justify-content: flex-start;
        svg {
            width: 24px;
            height: auto;
        }
    }
}
@media (max-width: 768px) {
    #lucky-wheel-floating-icon {
        width: 60px !important;
        height: 60px !important;
        right: 25px !important;
        bottom: 100px !important;
    }
}

.geo_link {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  line-height: 1.1em;
  font-size: 16px;
  background: none;
  text-align: left;
  border: none;
}

.firstScreen__imgBackground {
    width: 100%;
    height: 100%;
    inset: 0;
    overflow: hidden;
    position: absolute;
    img.firstScreen__poster {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 1;
    }
}

/* .firstScreen__videoBackground {
  position: relative;
  z-index: 2;
} */

.single-vodnye_termy .singleHalls-tabGallery-header h2 {
    color: #0066a4 !important;
    font-size: clamp(32px , 5vw, 52px) !important;
    line-height: 1em !important;
    margin-bottom: 40px !important;
    text-transform: none !important;
    font-weight: 400 !important;
}
.abp_halls-item-description {
    align-items: flex-start;
}
@media screen and (min-width: 1366px) {
    .abp_halls-item-buttons {
        width: 100% !important;
    }
}
@media screen and (min-width: 1501px) {
    .childrenArticle__content {
        align-items: center;
    }
}
.dropdown-menu.depth_0 {
    background-color: #fff !important;
}
.dropdown-item.active, .dropdown-item:active {
    background-color: #0066a4 !important;
}


.accommodation {
    overflow: hidden;
}
.accommodation-slider {
    overflow: visible;
}
.accommodation .swiper {
    overflow: visible;
}
.accommodation .swiper-wrapper {
    overflow: visible;
}
.swiper-navigation ~ .accommodation__item {
    pointer-events: none;
    user-select: none;
}
.swiper-navigation ~ .accommodation__item .accommodation__text {
    user-select: auto;
    pointer-events: auto;
}
.accommodation__item::after {
    pointer-events: none;
    user-select: none;
}
.accommodation__text-buttons {
	max-width: 320px;
	width: 100%;
	display: flex;
	flex-direction: row;
}

.footer_v2_contactsBlock-footer {
    margin-top: 0;
}
.footer_v2_contactsBlock-item.socialList {
    display: flex;
    flex-direction: row;
    gap: 12px;
}
.footer_v2_contactsBlock-item a.footer_icon_social {
    position: relative;
}
.footer_v2_contactsBlock-item a.footer_icon_social img {
    width: 32px;
    position: relative;
}
.footer_v2_contactsBlock-item a.footer_icon_social:before {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    content: '';
}
.accommodation__wrapper {
    .nav-pills .nav-link.active,
    .nav-pills .show>.nav-link {
        color: #fff;
        background-color: #57a1d4;
        border-radius: 12px;
    }
}
.titleWrapper ul li button {
    text-decoration: none;
    font-weight: 400;
    color: #4e5d70;
    cursor: pointer;
    background: none;
    border: none;
    text-transform: unset;
}
.titleWrapper h1 {
    color: #fff;
    background-color: #57a1d4;
    border-radius: 12px;
    padding: 8px 16px;
}
.home {
    & .abp_chess {
        & .abp_chess-item_buttons {
            a {
                background-color: #57a1d4;
            }
        }
    }
}


.accommodation__item {
  min-height: 600px !important;
}

/* ============================================================
   === BADEN GOURMET (nutrition single) — переверстка по Figma
   ============================================================ */

/* --- Шахматка: текст слева, фото справа --- */
.single-nutrition .gridContent--chess .gridContent__content,
.postid-6753 .gridContent--chess .gridContent__content {
    flex-direction: row-reverse;
}

/* --- Спец. предложения: на этой странице макс 2 на ПК (визуальная подстраховка к JS) --- */
@media (min-width: 992px) {
    .single-nutrition .specialOffers__wrapper[data-slides="2"] .swiper-slide,
    .single-nutrition .specialOffers__wrapper.is-static .swiper-slide {
        max-width: calc(50% - 6px);
    }
}

/* ============================================================
   === АРЕНДА ЗАЛОВ (halls_otherHalls) — новый layout 1+2
   ============================================================ */
.single-nutrition .otherHalls-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 16px;
    align-items: stretch;
    padding: 0 12px;
    box-sizing: border-box;
}
.single-nutrition .otherHalls-grid .otherHalls-main {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    min-height: 520px;
}
.single-nutrition .otherHalls-grid .otherHalls-main .otherHalls-card,
.single-nutrition .otherHalls-grid .otherHalls-right .otherHalls-card {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.single-nutrition .otherHalls-grid .otherHalls-card .otherHalls-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.single-nutrition .otherHalls-grid .otherHalls-card .otherHalls-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.single-nutrition .otherHalls-grid .otherHalls-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.78) 100%);
    z-index: 1;
    pointer-events: none;
}
.single-nutrition .otherHalls-grid .otherHalls-card .otherHalls-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.single-nutrition .otherHalls-grid .otherHalls-card .otherHalls-content h3 {
    color: #fff;
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
}
.single-nutrition .otherHalls-grid .otherHalls-card .otherHalls-content .otherHalls-excerpt {
    color: #fff;
    opacity: .92;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}
.single-nutrition .otherHalls-grid .otherHalls-card .otherHalls-content .btn {
    align-self: flex-start;
    margin-top: 4px;
}

.single-nutrition .otherHalls-grid .otherHalls-right {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    min-height: 520px;
}
.single-nutrition .otherHalls-grid .otherHalls-right .otherHalls-slot {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}
/* Автосвап только если есть несколько вариантов в слоте */
.single-nutrition .otherHalls-grid .otherHalls-right .otherHalls-slot .otherHalls-card {
    transition: opacity .6s ease;
    position: absolute;
    inset: 0;
}
.single-nutrition .otherHalls-grid .otherHalls-right .otherHalls-slot .otherHalls-card:not(.is-active) {
    opacity: 0;
    pointer-events: none;
}
.single-nutrition .otherHalls-grid .otherHalls-right .otherHalls-slot .otherHalls-card.is-active {
    opacity: 1;
    pointer-events: auto;
}

/* Адаптив */
@media (max-width: 991px) {
    .single-nutrition .otherHalls-grid {
        grid-template-columns: 1fr;
    }
    .single-nutrition .otherHalls-grid .otherHalls-main,
    .single-nutrition .otherHalls-grid .otherHalls-right {
        min-height: auto;
    }
    .single-nutrition .otherHalls-grid .otherHalls-main {
        aspect-ratio: 4/3;
    }
    .single-nutrition .otherHalls-grid .otherHalls-right {
        grid-template-rows: auto;
        grid-template-columns: 1fr 1fr;
    }
    .single-nutrition .otherHalls-grid .otherHalls-right .otherHalls-slot {
        aspect-ratio: 1/1;
    }
}
@media (max-width: 575px) {
    .single-nutrition .otherHalls-grid .otherHalls-right {
        grid-template-columns: 1fr;
    }
}

/* Скрываем старый hover-эффект .excerpt для нового layout (новый показывает инфо всегда) */
.single-nutrition .otherHalls-grid .otherHalls-card .otherHalls-content .otherHalls-excerpt {
    opacity: .92;
    max-height: none;
    margin: 0;
    pointer-events: auto;
}

/* ============================================================
   === МЕРОПРИЯТИЯ (halls_forEvents) — 3 в ряд
   ============================================================ */
.single-nutrition .hallsForEvents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0 12px;
    box-sizing: border-box;
}
.single-nutrition .hallsForEvents-grid .hallsForEvents-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}
.single-nutrition .hallsForEvents-grid .hallsForEvents-card .hallsForEvents-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.single-nutrition .hallsForEvents-grid .hallsForEvents-card .hallsForEvents-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.single-nutrition .hallsForEvents-grid .hallsForEvents-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.78) 100%);
    z-index: 1;
}
.single-nutrition .hallsForEvents-grid .hallsForEvents-card .hallsForEvents-content {
    position: relative;
    z-index: 2;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.single-nutrition .hallsForEvents-grid .hallsForEvents-card .hallsForEvents-content h3 {
    color: #fff;
    margin: 0;
    font-size: 22px;
}
.single-nutrition .hallsForEvents-grid .hallsForEvents-card .hallsForEvents-content p {
    margin: 0;
    color: #fff;
    opacity: .92;
    font-size: 14px;
    line-height: 1.45;
}
.single-nutrition .hallsForEvents-grid .hallsForEvents-card .hallsForEvents-content .btn {
    align-self: flex-start;
    margin-top: 4px;
}

/* Адаптив мероприятий */
@media (max-width: 991px) {
    .single-nutrition .hallsForEvents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .single-nutrition .hallsForEvents-grid {
        grid-template-columns: 1fr;
    }
    .single-nutrition .hallsForEvents-grid .hallsForEvents-card {
        min-height: 380px;
    }
}

/* ============================================================
   === МОЗАИЧНАЯ ГАЛЕРЕЯ (новый блок)
   ============================================================ */
.galleryMosaic {
    padding: 24px 12px;
    box-sizing: border-box;
}
.galleryMosaic__title {
    margin-bottom: 18px;
}
.galleryMosaic__title h2 {
    margin: 0;
}
.galleryMosaic__top {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.galleryMosaic__big {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/10;
}
.galleryMosaic__big img,
.galleryMosaic__quad img,
.galleryMosaic__row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.galleryMosaic__quad {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}
.galleryMosaic__quad > a {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1/1;
    display: block;
}
.galleryMosaic__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.galleryMosaic__row > a {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
}

/* Адаптив галереи */
@media (max-width: 991px) {
    .galleryMosaic__top {
        grid-template-columns: 1fr;
    }
    .galleryMosaic__big {
        aspect-ratio: 16/9;
    }
    .galleryMosaic__quad {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
}
@media (max-width: 575px) {
    .galleryMosaic__row {
        grid-template-columns: 1fr 1fr;
    }
    .galleryMosaic__row > a:nth-child(3) {
        display: none;
    }
}
