/* Main Page Styles - используем стилистику проекта */

/* Fullscreen Hero Slider (как в reference) */

.header{
    width: 100%;
    position: fixed;
}

.slider_block_container {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 600px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.slider_block_container .slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.main_slide {
    width: 100%;
    height: 100%;
}

.main_slider_container {
    width: 100%;
    height: 100%;
}

.slider_block_container .slider.owl-carousel {
    width: 100% !important;
    height: 100% !important;
}

.slider_block_container .slider.owl-carousel .owl-stage-outer {
    width: 100% !important;
    height: 100% !important;
}

.slider_block_container .slider.owl-carousel .owl-stage {
    width: 100% !important;
    height: 100% !important;
    display: flex;
}

.slider_block_container .slider.owl-carousel .owl-item {
    width: 100% !important;
    height: 100vh !important;
    min-height: 600px;
}

/* Video container styles */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
}

.slider_block_container .item {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slider_block_container .swiper-slide {
    height: 100vh;
    min-height: 600px;
}

/* Fallback если Owl Carousel не загрузился */
.slider_block_container .slider.owl-carousel:not(.owl-loaded) .item {
    display: none;
}

.slider_block_container .slider.owl-carousel:not(.owl-loaded) .item:first-child {
    display: flex;
}

.slider_shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.slider_shadow.full {
    width: 100%;
    height: 100%;
}

.content_container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.content_container.h100p {
    height: 100%;
}

.slider_content_container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.slider_content_container.h100p {
    height: 100%;
}

.slider_content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.slider_content.h100p {
    height: 100%;
}

.slider_content .text {
    color: white;
    z-index: 3;
}

.slider_content .text.w100p {
    width: 100%;
}

.slider_content .text h2.styled,
.slider_text h2.styled {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
    text-transform: none;
}

.slider-title-line {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin-bottom: 24px;
}

.slider_content .text ul.styled {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.slider_content .text ul.styled li {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    color: white;
    font-family: 'Inter', sans-serif;
}

.slider_content .text ul.styled li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 20px;
}

.btn_container {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn_container > div {
    display: inline-block;
}

.btn {
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: 'Inter', sans-serif;
}

.btn.css_color {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 96, 1, 0.3);
}

.btn.css_color:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 96, 1, 0.4);
}

.btn.css_border_light {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn.css_border_light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Owl Carousel Navigation */
.slider_block_container .slider.owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
    margin: 0;
}

.slider_block_container .slider.owl-carousel .owl-nav button.owl-prev,
.slider_block_container .slider.owl-carousel .owl-nav button.owl-next {
    pointer-events: all;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    color: white !important;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
}

.slider_block_container .slider.owl-carousel .owl-nav button.owl-prev:hover,
.slider_block_container .slider.owl-carousel .owl-nav button.owl-next:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.slider_block_container .slider.owl-carousel .owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    margin: 0;
}

.slider_block_container .slider.owl-carousel .owl-dots button.owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
}

.slider_block_container .slider.owl-carousel .owl-dots button.owl-dot.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

/* Utility classes */
.d-flex {
    display: flex;
}

.flex-grow-1 {
    flex-grow: 1;
}

.align-self-center {
    align-self: center;
}

.w100p {
    width: 100%;
}

.h100p {
    height: 100%;
}

.css_text_light {
    color: white;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    color: white;
}

.hero-content-inner {
    width: 100%;
    max-width: 800px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.hero-features li {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.hero-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 20px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
}

.hero-btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 96, 1, 0.3);
}

.hero-btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 96, 1, 0.4);
}

.hero-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: var(--primary-color);
}

.hero-swiper .swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
}

/* Filters Section */
.filters-section {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    padding: 24px 32px;
    margin-bottom: 40px;
    margin-top: 0;
}
/* Блок catalog идёт сразу после hero-слайдера — убираем верхний отступ контейнера */
.slider_block_container + .page_block_container {
    margin-top: 0;
    padding-top: 0;
}
.slider_block_container + .page_block_container .filters-section {
    margin-top: -28px; /* плотно прижимаемся к слайдеру, фильтры наезжают на нижний край */
    position: relative;
    z-index: 5;
}

/* На мобильном — заголовки секций катaloga компактнее, в одну строку */
@media (max-width: 700px) {
    .apartments-section .section-title,
    .apartments-section h2.section-title {
        font-size: 18px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    .apartments-section .section-title::after {
        width: 50px;
        height: 3px;
        bottom: -6px;
    }
}

/* Универсальный светлый контейнер как у остальных блоков */
.main-section-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    padding: 32px;
}

.filters-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: end;
}

/* (как было) никаких принудительных переносов дат */

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.filter-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

.filter-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 96, 1, 0.1);
}

.price-range,
.area-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-display,
.area-display {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
}

.guests-filter {
    display: flex;
    gap: 8px;
}

.guest-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--text-gray);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guest-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.guest-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.filter-actions {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.filter-btn-reset {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn-reset:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Apartments Section */
/*.apartments-section {
    margin-bottom: 60px;
}*/

/* View Toggle Header */
/*.view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.view-toggle {
    display: flex;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 4px;
}

.view-toggle-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--text-gray);
}

.view-toggle-btn:hover {
    background: var(--bg-light);
}

.view-toggle-btn.active {
    background: var(--primary-color);
    color: white;
}

.view-toggle-btn svg {
    width: 20px;
    height: 20px;
}

.apartments-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.apartments-grid.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 24px;
}

.apartments-grid.grid-view .apartment-card {
    margin-bottom: 0;
}*/

/* Стили карточек из компонента card - переношу сюда */
/*.apartment-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
}

.apartment-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.apartment-card.horizontal {
    flex-direction: row;
}

.apartment-card.horizontal .card-image-wrapper {
    width: 45%;
    min-width: 350px;
    flex-shrink: 0;
}*/

/* Vertical Layout для grid-view - более высокая специфичность */
/*.apartments-grid.grid-view .apartment-card.horizontal,
.apartments-grid.grid-view .apartment-card.vertical,
.apartments-grid.grid-view .apartment-card {
    flex-direction: column !important;
}

.apartments-grid.grid-view .apartment-card .card-image-wrapper {
    width: 100% !important;
    min-width: auto !important;
}

.apartments-grid.grid-view .apartment-card .card-content {
    padding: 24px;
}

.apartment-card.horizontal .card-content {
    flex: 1;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-image-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}

.card-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.card-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease-out;
}

.card-slider-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.card-slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-slider-controls {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
}

.card-slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.card-slider-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.card-slider-dots {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    padding: 0;
}

.card-slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.card-slider-dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(255, 96, 1, 0.5);
}

.card-top-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.card-tag-orange {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-color);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    white-space: nowrap;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.card-feature {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-gray);
}

.card-feature-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.card-feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.card-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.card-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-info-label {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 500;
}

.card-info-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.card-bottom-tags {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.card-tags-left {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.card-price-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}

.card-price-old {
    font-size: 18px;
    color: var(--text-gray);
    text-decoration: line-through;
    font-weight: 500;
}

.card-price-new {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
}

.card-tag-location {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-light);
    border: 1px solid rgba(255, 96, 1, 0.2);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
    white-space: nowrap;
}

.card-tag-location.outlined {
    background: transparent;
    border: 1px solid var(--primary-color);
}

.card-actions {
    display: flex;
    gap: 12px;
}

.card-btn {
    flex: 1;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.card-btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.card-btn-secondary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.card-btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 96, 1, 0.3);
}

.card-btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 96, 1, 0.4);
}*/

/* Transfer Banner Section */
.transfer-banner-section {
    margin-bottom: 60px;
}

.transfer-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.transfer-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.transfer-title {
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin: 0;
}

.transfer-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.transfer-benefit {
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.transfer-benefit-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.transfer-benefit:hover .transfer-benefit-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.transfer-benefit-icon svg {
    stroke: white;
    width: 28px;
    height: 28px;
}

.transfer-btn {
    align-self: flex-start;
    padding: 16px 32px;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.transfer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Aggregators Section */
.aggregators-section {
    margin-bottom: 60px;
}

.aggregators-label {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.channels-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 6px;
}

.channels-track {
    display: flex;
    gap: 16px;
    align-items: stretch;
    padding: 0;
}

/* Бесконечная карусель логотипов "Нас можно найти:" */
.channels-track {
    width: max-content;
    will-change: transform;
    animation: channels-marquee 30s linear infinite;
}

.channels-slider:hover .channels-track {
    animation-play-state: paused;
}

@keyframes channels-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .channels-track {
        animation: none;
        transform: none;
    }
}

.channel-card {
    width: 140px;
    min-width: 140px;
    flex-shrink: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    height: 120px;
    position: relative;
    overflow: hidden;
}

.channel-card::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    opacity: 0.9;
}

.channel-logo {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.channel-logo img {
    width: 82%;
    height: 100%;
    border-radius: var(--radius-lg);
    object-fit: contain;
}

/* Swiper Navigation для слайдера */
.slider_block_container .swiper-button-next,
.slider_block_container .swiper-button-prev {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 50% !important;
    color: white !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
    margin-top: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.slider_block_container .swiper-button-prev {
    left: 20px !important;
    right: auto !important;
}

.slider_block_container .swiper-button-next {
    right: 20px !important;
    left: auto !important;
}

.slider_block_container .swiper-button-next:hover,
.slider_block_container .swiper-button-prev:hover {
    background: var(--primary-color) !important;
    transform: translateY(-50%) scale(1.1) !important;
    border-color: var(--primary-color) !important;
}

.slider_block_container .swiper-button-next::after,
.slider_block_container .swiper-button-prev::after {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: white !important;
}

.slider_block_container .swiper-pagination {
    position: absolute !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    display: flex !important;
    gap: 8px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 8px 16px !important;
    border-radius: 999px !important;
    backdrop-filter: blur(5px) !important;
}

.slider_block_container .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
    border-radius: 50% !important;
    margin: 0 !important;
}

.slider_block_container .swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    width: 32px !important;
    border-radius: 6px !important;
}

/* Map Section */
.map-section {
    margin-bottom: 60px;
}

.map-section .section-header {
    margin-bottom: 32px;
}

.infra_wrapper {
    width: 100%;
}

.infra_menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.infra-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.infra-menu-item:hover {
    background: var(--bg-light);
}

.infra-menu-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.infra-menu-img svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-gray);
    transition: all 0.3s ease;
}

.infra-menu-item.active .infra-menu-img,
.infra-menu-item:hover .infra-menu-img {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.infra-menu-item.active .infra-menu-img svg,
.infra-menu-item:hover .infra-menu-img svg {
    stroke: white;
}

.infra-menu-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

.map-wrapper {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* News Section */
.news-section {
    margin-bottom: 80px;
}

.news-showcase {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

/* Главная карточка новости */
.news-featured {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-featured:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.news-featured-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-featured:hover .news-featured-image img {
    transform: scale(1.08);
}

.news-featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
}

.news-featured-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(255, 96, 1, 0.4);
}

.news-featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-featured-header-row {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    flex-wrap: wrap;
}

.news-featured-date-block {
    background: var(--primary-light);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    text-align: center;
    min-width: 80px;
    flex-shrink: 0;
}

.news-date-day {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.news-date-month {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.news-featured-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.news-featured-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.news-featured-category {
    background: var(--primary-color);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    width: fit-content;
}

.news-featured-description {
    font-size: 16px;
    min-width: 72%;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
    text-align: justify;
    overflow: hidden;
}

.news-featured-description::after {
    content: '';
    display: block;
    clear: both;
}
.newsmut-featured-btn {
    background: var(--primary-color);
    color: white;
    width: 186px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;

    float: right;
    margin: 0 0 0px 14px;
    max-height: 49px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.news-featured-btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-left: 12px;
    white-space: nowrap;
    float: right;
    clear: both;
}




.news-featured-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 96, 1, 0.3);
}

/* Список других новостей */
.news-events-list {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.news-events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.news-events-nav {
    display: flex;
    gap: 8px;
}

.news-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.news-nav-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.news-events-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    margin: 0;
}

.news-events-track {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 8px;
}

.news-events-track::-webkit-scrollbar {
    width: 4px;
}

.news-events-track::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 2px;
}

.news-events-track::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
}

.news-event-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-event-item:hover {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.news-event-item.active {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.news-event-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-event-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.news-event-date-text {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.4;
}

.news-event-category {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.news-event-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

/* Afisha Section */
.afisha-section {
    margin-bottom: 60px;
}

.afisha-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.afisha-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.afisha-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.afisha-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.afisha-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.afisha-item:hover .afisha-image img {
    transform: scale(1.05);
}

.afisha-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.afisha-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.afisha-date {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.afisha-location {
    font-size: 14px;
    color: var(--text-gray);
}

.afisha-showcase {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

/* Главная карточка события */
.afisha-featured {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.afisha-featured:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.afisha-featured-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.afisha-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.afisha-featured:hover .afisha-featured-image img {
    transform: scale(1.08);
}

.afisha-featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
}

.afisha-featured-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(255, 96, 1, 0.4);
}

.afisha-featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.afisha-featured-header-row {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    flex-wrap: wrap;
}

.afisha-featured-date-block {
    background: var(--primary-light);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    text-align: center;
    min-width: 80px;
    flex-shrink: 0;
}

.afisha-date-day {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.afisha-date-month {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.afisha-featured-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.afisha-featured-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.afisha-featured-category {
    background: var(--primary-color);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    width: fit-content;
}

.afisha-featured-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 15px;
    font-weight: 600;
}

.afisha-featured-time svg {
    color: var(--primary-color);
}

.afisha-featured-description {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
    text-align: justify;
    overflow: hidden;
}

.afisha-featured-description::after {
    content: '';
    display: block;
    clear: both;
}

.afisha-featured-btn {
    background: var(--primary-color);
    color: white;
    width: 186px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;

    float: right;
    margin: 0 0 12px 16px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.afisha-featured-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 96, 1, 0.3);
}

.afisha-featured-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.afisha-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-dark);
}

.afisha-detail-item svg {
    flex-shrink: 0;
    color: var(--primary-color);
}

/* Список других событий */
.afisha-events-list {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.afisha-events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.afisha-events-nav {
    display: flex;
    gap: 8px;
}

.afisha-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.afisha-nav-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.afisha-events-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    margin: 0;
}

.afisha-events-track {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 8px;
}

.afisha-events-track::-webkit-scrollbar {
    width: 4px;
}

.afisha-events-track::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 2px;
}

.afisha-events-track::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
}

.afisha-event-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.afisha-event-item:hover {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.afisha-event-item.active {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.afisha-event-date {
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    text-align: center;
    min-width: 60px;
    flex-shrink: 0;
}

.event-date-day {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.event-date-month {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.afisha-event-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.afisha-event-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.afisha-event-time,
.afisha-event-location {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.4;
}

.afisha-event-category {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.afisha-event-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    font-family: 'Inter', sans-serif;
    margin: 0;
}

.afisha-event-description {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
    margin: 8px 0;
}

.afisha-event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.event-link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.event-link:hover {
    color: var(--primary-hover);
}

/* Testimonials Slider */
.testimonials-slider-wrapper {
    margin-top: 32px;
    position: relative;
    padding: 0;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-slider .swiper-wrapper {
    align-items: stretch;
}

.testimonials-slider .swiper-slide {
    height: auto;
}

.testimonials-slider .testimonial-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.testimonial-name-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.testimonial-letter,
.testimonial-avatar-letter {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
}

.testimonial-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 16px;
    margin-bottom: 4px;
}

.testimonial-meta {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.testimonial-stars {
    color: var(--primary-color);
    font-size: 14px;
    letter-spacing: 2px;
    flex-shrink: 0;
}

.testimonial-date {
    font-size: 13px;
    color: var(--text-gray);
    flex-shrink: 0;
}

.testimonial-quote {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
}

.testimonial-source {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: auto;
    font-style: italic;
}

.testimonial-source.rv-source-logos {
    font-style: normal;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    opacity: 0.9;
}

.testimonial-source.rv-source-logos img {
    height: 32px;
    width: auto;
    object-fit: contain;
    max-width: 140px;
}

.testimonials-slider-pagination {
    margin-top: 24px;
    position: relative !important;
    bottom: auto !important;
    text-align: center;
}

.testimonials-slider-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--border-color);
    opacity: 1;
    transition: all 0.3s ease;
}

.testimonials-slider-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

/* Reviews Carousel with Large Images */
.reviews-carousel-wrapper {
    margin-top: 32px;
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    height: 600px;
}

.reviews-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease-out;
}

.review-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.review-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.review-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 48px 40px;
    color: #fff;
    z-index: 2;
}

.review-city {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 32px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.review-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-stat-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.review-stat-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 12px;
    font-weight: 600;
}

.review-stat-value {
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    color: #fff;
}

.review-stat-value.review-stat-old {
    font-size: 24px;
    opacity: 0.8;
}

.review-dots {
    position: absolute;
    bottom: 24px;
    right: 40px;
    display: flex;
    gap: 10px;
    z-index: 3;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.review-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    padding: 0;
}

.review-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.review-dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(255, 96, 1, 0.5);
}

/* Restaurants Section */
.restaurants-section {
    margin-bottom: 80px;
}

.restaurants-showcase {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
}

.restaurants-main-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.restaurants-main-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.restaurant-main-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.restaurant-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.restaurants-main-card:hover .restaurant-main-image img {
    transform: scale(1.08);
}

.restaurant-main-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(255, 96, 1, 0.4);
}

.restaurant-main-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.restaurant-main-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.restaurant-main-title {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
    margin: 0;
    flex: 1;
}

.restaurant-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
}

.restaurant-rating svg {
    width: 20px;
    height: 20px;
}

.restaurant-main-description {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.restaurant-main-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.restaurant-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-dark);
}

.restaurant-info-item svg {
    flex-shrink: 0;
    color: var(--primary-color);
}

.restaurant-main-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.restaurant-tag {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(255, 96, 1, 0.2);
}

.restaurants-slider-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    padding: 24px;
}

.restaurant-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.restaurant-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.restaurant-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.restaurant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.restaurant-item:hover .restaurant-image img {
    transform: scale(1.05);
}

.restaurant-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.restaurant-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.restaurant-description {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 12px;
    flex: 1;
}

.restaurant-address {
    font-size: 14px;
    color: var(--text-gray);
}

.restaurants-slider {
    position: relative;
    overflow: visible;
}

.restaurant-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid transparent;
}

.restaurant-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: var(--primary-color);
}

.restaurant-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.restaurant-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.restaurant-card:hover .restaurant-card-image img {
    transform: scale(1.15);
}

.restaurant-card-rating {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 6px 10px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.restaurant-card-rating svg {
    width: 14px;
    height: 14px;
}

.restaurant-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.restaurant-card-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
    font-family: 'Inter', sans-serif;
}

.restaurant-card-description {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}

.restaurant-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.restaurant-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-gray);
    flex: 1;
}

.restaurant-card-location svg {
    flex-shrink: 0;
    color: var(--primary-color);
}

.restaurant-card-type {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.restaurants-slider-pagination {
    margin-top: 24px;
    position: relative !important;
    bottom: auto !important;
    text-align: center;
}

.restaurants-slider-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--border-color);
    opacity: 1;
    transition: all 0.3s ease;
}

.restaurants-slider-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

/* Section Header для landing секций */
.landing-section {
    margin-bottom: 80px;
}

.section-header {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    margin: 0;
    position: relative;
    display: block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-light);
    border: 1px solid rgba(255, 96, 1, 0.2);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    width: fit-content;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .news-showcase,
    .afisha-showcase,
    .restaurants-showcase {
        gap: 32px;
    }
    
    .news-events-list,
    .afisha-events-list,
    .restaurants-slider-wrapper {
        position: static;
    }
}

@media (max-width: 768px) {
    .main-section-card {
        padding: 20px;
    }

    .filters-container {
        grid-template-columns: 1fr;
    }

    .filters-container .filter-group-dates:first-of-type,
    .filters-container .filter-group-dates:last-of-type {
        grid-column: span 1;
    }

    .news-showcase,
    .afisha-showcase,
    .restaurants-showcase {
        gap: 24px;
    }
    
    .news-featured-image,
    .afisha-featured-image,
    .restaurant-main-image {
        height: 300px;
    }
    
    .news-featured-content,
    .afisha-featured-content,
    .restaurant-main-content {
        padding: 28px;
    }
    
    .news-featured-title,
    .afisha-featured-title,
    .restaurant-main-title {
        font-size: 28px;
    }
    
    .news-featured-header-row,
    .afisha-featured-header-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .news-events-list,
    .afisha-events-list,
    .restaurants-slider-wrapper {
        padding: 20px;
    }

    .card-bottom-tags {
        flex-direction: column;
        align-items: flex-start;
    }

    .card-price-section {
        margin-left: 0;
        width: 100%;
    }
}

.restaurant-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.restaurant-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.restaurant-description {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 12px;
    line-height: 1.5;
    flex: 1;
}

.restaurant-address {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.restaurant-address::before {
    content: '📍';
    font-size: 16px;
}

/* Reviews dots */
.rv-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #e5e7eb;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.rv-dot.active {
    background: var(--primary-color);
    width: 24px;
}

/* Section Header для landing секций */
.landing-section {
    margin-bottom: 80px;
}

.section-header {
    margin-bottom: 32px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-light);
    border: 1px solid rgba(255, 96, 1, 0.2);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    margin-top: 12px;
}

/* Responsive */
@media (max-width: 1100px) {
    .apartment-card.horizontal {
        flex-direction: column;
    }

    .apartment-card.horizontal .card-image-wrapper {
        width: 100%;
        min-width: auto;
    }

    .card-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .transfer-benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .apartments-grid.grid-view {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Компактный фильтр на мобильном */
    .filters-section { padding: 16px; margin-bottom: 24px; border-radius: 14px; }
    .filters-container {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        align-items: start; /* поля без лейбла прижимаются вверх, не "проваливаются" вниз */
    }
    /* Скрываем лейблы у переименованных полей — текст ушёл в первый option / placeholder */
    .filters-section .filter-group.is-mobile-renamed > label { display: none; }
    .filters-section .filter-input { padding: 9px 12px; font-size: 13px; height: 40px; border-width: 1px; }

    /* Гости — 3 кнопки в ряд */
    .filters-section .filter-group.is-filter-guests { grid-column: span 2; }
    .filters-section .is-filter-guests .guests-filter {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .filters-section .guest-btn { padding: 8px 0; font-size: 13px; min-width: 0; width: 100%; }

    /* Ползунки Цены и Площади — на всю ширину */
    .filters-section .filter-group.is-filter-price,
    .filters-section .filter-group.is-filter-area  { grid-column: span 2; }
    /* Сортировка — на всю ширину */
    .filters-section .filter-group.is-filter-sort  { grid-column: span 2; }

    /* Даты: жёстко фиксируем ширину — поле не растягивается ни при пустом, ни при заполненном значении */
    .filters-section .filter-group.is-filter-checkin,
    .filters-section .filter-group.is-filter-checkout {
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
    }
    .filters-section .is-filter-checkin .filter-input,
    .filters-section .is-filter-checkout .filter-input {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        -webkit-appearance: none;
        appearance: none;
        padding-right: 8px;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    /* Убираем нативный календарик iOS/Chrome чтобы он не съедал место */
    .filters-section .is-filter-checkin .filter-input::-webkit-date-and-time-value,
    .filters-section .is-filter-checkout .filter-input::-webkit-date-and-time-value {
        text-align: left;
    }
    .filters-section .is-filter-checkin .filter-input::-webkit-calendar-picker-indicator,
    .filters-section .is-filter-checkout .filter-input::-webkit-calendar-picker-indicator {
        opacity: 0.5;
        margin-left: 4px;
    }

    /* Расклад: City | (только City), Цена (full), Площадь (full), Гости (full), Дата заезда | Дата выезда, Сортировка (full) */
    .filters-section .filter-group.is-filter-city    { order: 1; grid-column: span 2; }
    .filters-section .filter-group.is-filter-price   { order: 2; }
    .filters-section .filter-group.is-filter-area    { order: 3; }
    .filters-section .filter-group.is-filter-guests  { order: 4; }
    .filters-section .filter-group.is-filter-checkin { order: 5; }
    .filters-section .filter-group.is-filter-checkout{ order: 6; }
    .filters-section .filter-group.is-filter-sort    { order: 7; }
    .filters-section .filter-actions                 { order: 8; grid-column: span 2; }

    .filters-section .filter-btn-reset { width: 100%; padding: 9px 14px; font-size: 13px; }

    /* Универсальный дабл-ползунок (Цена, Площадь) */
    .range-slider-wrap { padding: 4px 6px 0; }
    .range-slider-display {
        font-size: 13px; font-weight: 600; color: var(--text-dark);
        text-align: center; margin-bottom: 10px;
    }
    .range-slider-track { position: relative; height: 24px; }
    .range-slider-track::before {
        content: ''; position: absolute; top: 50%; left: 0; right: 0;
        height: 4px; background: #e5e7eb; border-radius: 2px;
        transform: translateY(-50%);
    }
    .range-slider-bar {
        position: absolute; top: 50%; height: 4px;
        background: var(--primary-color, #f35c50); border-radius: 2px;
        transform: translateY(-50%); pointer-events: none;
    }
    .range-slider-track input[type="range"] {
        position: absolute; top: 0; left: 0; width: 100%; height: 24px;
        background: transparent; pointer-events: none;
        -webkit-appearance: none; appearance: none; margin: 0;
    }
    .range-slider-track input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none; appearance: none;
        width: 20px; height: 20px; border-radius: 50%;
        background: #fff; border: 2px solid var(--primary-color, #f35c50);
        cursor: pointer; pointer-events: auto;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }
    .range-slider-track input[type="range"]::-moz-range-thumb {
        width: 20px; height: 20px; border-radius: 50%;
        background: #fff; border: 2px solid var(--primary-color, #f35c50);
        cursor: pointer; pointer-events: auto;
    }

    .card-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .card-info-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .card-price-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .card-actions {
        flex-direction: column;
    }

    .transfer-banner {
        padding: 24px;
    }

    .transfer-title {
        font-size: 24px;
    }

    .transfer-benefits {
        grid-template-columns: 1fr;
    }

    .card-slider-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .view-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .apartments-grid.grid-view {
        grid-template-columns: 1fr;
    }

    .hero-block-reference {
        height: 500px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-features li {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-btn {
        width: 100%;
        text-align: center;
    }

    .news-grid,
    .afisha-grid,
    .restaurants-grid {
        grid-template-columns: 1fr;
    }

    .slider_block_container {
        height: 100vh;
        min-height: 500px;
    }

    .slider_block_container .item {
        height: 100vh;
        min-height: 500px;
    }

    .slider_content .text h2.styled,
    .slider_text h2.styled {
        font-size: 32px;
    }

    .slider_content .text ul.styled li,
    .slider_text ul.styled li {
        font-size: 16px;
    }

    .btn_container {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .slider_block_container .swiper-button-next,
    .slider_block_container .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .slider_block_container .swiper-button-next::after,
    .slider_block_container .swiper-button-prev::after {
        font-size: 16px;
    }

    /* На мобильном скрываем тексты и кнопки в hero-слайдере — оставляем только видео/фото */
    .slider_block_container .slider_text,
    .slider_block_container .slider_text .btn_container,
    .slider_block_container .slider_content .text {
        display: none !important;
    }
    /* Широкоформатное видео сдвигаем к правой части кадра, чтобы был виден правый край */
    .slider_block_container .video-container video {
        object-position: 80% center;
    }
    .slider_block_container .item {
        background-position: 80% center !important;
    }
    /* На мобильном скрываем стрелки и точки навигации hero-слайдера */
    .slider_block_container .swiper-button-next,
    .slider_block_container .swiper-button-prev,
    .slider_block_container .swiper-pagination {
        display: none !important;
    }

    .infra_menu {
        flex-direction: column;
        align-items: stretch;
    }

    .infra-menu-item {
        justify-content: flex-start;
    }
}

/* Testimonials Slider */
.testimonials-slider-wrapper {
    margin-top: 32px;
    position: relative;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-slider .swiper-wrapper {
    align-items: stretch;
}

.testimonials-slider .swiper-slide {
    height: auto;
}

.testimonials-slider .testimonial-card {
    height: 100%;
    display: flex;
    gap: 12px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.testimonials-button-next,
.testimonials-button-prev {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 50px !important;
    height: 50px !important;
    background: var(--white) !important;
    border: 2px solid var(--primary-color) !important;
    border-radius: 50% !important;
    color: var(--primary-color) !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
    margin-top: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.testimonials-button-prev {
    left: -25px !important;
    right: auto !important;
}

.testimonials-button-next {
    right: -25px !important;
    left: auto !important;
}

.testimonials-button-next:hover,
.testimonials-button-prev:hover {
    background: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 6px 16px rgba(255, 96, 1, 0.4) !important;
}

.testimonials-button-next::after,
.testimonials-button-prev::after {
    font-size: 20px !important;
    font-weight: 700 !important;
}

@media (max-width: 768px) {
    .testimonials-button-next,
    .testimonials-button-prev {
        width: 40px !important;
        height: 40px !important;
    }

    .testimonials-button-prev {
        left: 10px !important;
    }

    .testimonials-button-next {
        right: 10px !important;
    }

    .testimonials-button-next::after,
    .testimonials-button-prev::after {
        font-size: 16px !important;
    }
}

/* базовая геометрия */
.slider_block_container,
.slider_wrapper,
.main_slide,
.main_slider_container {
	height: 100vh;
	min-height: 600px;
}

.slider {
	height: 100%;
	position: relative;
}

/* swiper-адаптация под твою разметку */
.slider {
	overflow: hidden;
}

.slider > .item {
	width: 100%;
	height: 100%;
	flex-shrink: 0;
	position: relative;
}

/* видео */
.video-container {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;
}

.video-container video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* затемнение */
.slider_shadow {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(
		90deg,
		rgba(0,0,0,0.75) 0%,
		rgba(0,0,0,0.45) 50%,
		rgba(0,0,0,0.15) 100%
	);
}

/* контент */
.content_container,
.slider_content_container,
.slider_content {
	position: relative;
	z-index: 3;
	height: 100%;
}

.slider_content {
	display: flex;
	padding: 0 80px;
}

.slider_text {
	max-width: 720px;
	color: #fff;
	z-index: 10;
	position: relative;
}

.slider_text .btn_container {
	z-index: 10;
	position: relative;
}

.centered {
	align-self: center;
}

.full-height { 
	height: 100%; 
}

.full-width { 
	width: 100%; 
}

.grow { 
	flex-grow: 1; 
}

.slider-flex {
	display: flex;
}

.slider_wrapper {
	width: 100%;
	height: 100%;
}

.slider-fullwidth {
	width: 100%;
	height: 100%;
}

/* кнопки — минимально */
.btn_container {
	display: flex;
	gap: 20px;
	z-index: 10;
	position: relative;
}

.btn_container a.btn {
	z-index: 10;
	position: relative;
}


/* Слайд */
.slider .item {
	position: relative;
	overflow: hidden;
}

/* Видео на весь экран */
.video-container {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.video-container video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Маска затемнения */
.slider_shadow {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.75); /* ← сила затемнения */
	z-index: 2;
	pointer-events: none;
}

/* Контент поверх всего */
.content_container {
	position: relative;
	z-index: 3;
}

.video-container,
.video-container video,
.slider_shadow {
	pointer-events: none;
}


/* видео */
.video-container {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

/* видео */
.video-container video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
}

/* затемнение */
.slider_shadow {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: rgba(0, 0, 0, 0.6);
	pointer-events: none;
}

/* контент */


.flex {
    display: flex;
}

/* Reviews Section */
.reviews-section {
    margin-top: 80px;
}

.reviews-section .section-title {
    margin-bottom: 40px;
}

.reviews-section .rv-cta {
    flex-direction: column;
    width: 100%;
}

.reviews-section .rv-cta .btn {
    width: 100%;
}

/* Reviews block from feedback.html (scoped) */
.reviews-section--feedback {
    background-color: #ffffff;
    /*padding: 80px 20px;*/
    margin-top: 0;
    overflow-x: hidden;
}

.reviews-section--feedback .reviews-showcase {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.reviews-section--feedback .reviews-top-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
    padding-right: 10px;
}

.reviews-section--feedback .reviews-nav {
    display: flex;
    gap: 12px;
}

.reviews-section--feedback .r-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #f0f0f0;
    background: #ffffff;
    color: #f97316;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.reviews-section--feedback .r-nav-btn:hover:not(:disabled) {
    border-color: #f97316;
    background: #f97316;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.2);
}

.reviews-section--feedback .r-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.reviews-section--feedback .reviews-inner {
    width: 100%;
    position: relative;
}

.reviews-section--feedback .reviews-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 30px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.reviews-section--feedback .reviews-track::-webkit-scrollbar {
    display: none;
}

.reviews-section--feedback .review-card {
    flex: 0 0 calc(33.333% - 20px);
    height: 440px;
    max-height: 440px;
    min-height: 440px;
    box-sizing: border-box;
    scroll-snap-align: start;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 24px;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.reviews-section--feedback .review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #ffe6d5;
}

.reviews-section--feedback .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.reviews-section--feedback .review-date {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}

.reviews-section--feedback .aggregator-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    background: #f8f9fa;
    border: 1px solid #eee;
    color: #111;
}

.reviews-section--feedback .agg-dots {
    display: flex;
    gap: 3px;
}

.reviews-section--feedback .agg-dots i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: block;
}

.reviews-section--feedback .agg-sutochno .agg-dots i { background: #f51449; }
.reviews-section--feedback .agg-onetwotrip .agg-dots i:nth-child(odd) { background: #deb900; }
.reviews-section--feedback .agg-onetwotrip .agg-dots i:nth-child(even) { background: #000000; }
.reviews-section--feedback .agg-ostrovok .agg-dots i:nth-child(odd) { background: #0e41d2; }
.reviews-section--feedback .agg-ostrovok .agg-dots i:nth-child(even) { background: #acef81; }
.reviews-section--feedback .agg-yandex .agg-dots i:nth-child(odd) { background: #fac800; }
.reviews-section--feedback .agg-yandex .agg-dots i:nth-child(even) { background: #694dd0; }
.reviews-section--feedback .agg-tvil .agg-dots i { background: #ef3131; }
.reviews-section--feedback .agg-otello .agg-dots i { background: #58cc16; }
.reviews-section--feedback .agg-apart .agg-dots i { background: #5c54b0; }
.reviews-section--feedback .agg-kvartirka .agg-dots i { background: #186dd6; }
.reviews-section--feedback .agg-cian .agg-dots i { background: #006cfd; }
.reviews-section--feedback .agg-jilibyli .agg-dots i { background: #ff5876; }
.reviews-section--feedback .agg-alean .agg-dots i:nth-child(1) { background: #5DB9F893; }
.reviews-section--feedback .agg-alean .agg-dots i:nth-child(2) { background: #6464F1; }
.reviews-section--feedback .agg-alean .agg-dots i:nth-child(3) { background: #A269F2; }
.reviews-section--feedback .agg-tutu .agg-dots i { background: #7d71ff; }
.reviews-section--feedback .agg-bronevik .agg-dots i { background: #fc6313; }
.reviews-section--feedback .agg-101 .agg-dots i { background: #ff4141; }
.reviews-section--feedback .agg-avito .agg-dots i:nth-child(1) { background: #96cc39; }
.reviews-section--feedback .agg-avito .agg-dots i:nth-child(2) { background: #00aaff; }
.reviews-section--feedback .agg-avito .agg-dots i:nth-child(3) { background: #ff6163; }

.reviews-section--feedback .review-user-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.reviews-section--feedback .review-author {
    font-size: 1.3rem;
    font-weight: 800;
    color: #111;
}

.reviews-section--feedback .review-stars {
    display: flex;
    gap: 2px;
}

.reviews-section--feedback .review-stars svg {
    fill: #f97316;
    width: 16px;
    height: 16px;
}

.reviews-section--feedback .review-object {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.reviews-section--feedback .review-object svg {
    color: #ccc;
    flex-shrink: 0;
}

.reviews-section--feedback .review-text-wrap {
    flex: 1 1 auto;
    min-height: 0;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.reviews-section--feedback .review-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
    font-style: italic;
    overflow-y: auto;
    padding-right: 10px;
}

.reviews-section--feedback .review-text::-webkit-scrollbar { width: 5px; }
.reviews-section--feedback .review-text::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 5px; }
.reviews-section--feedback .review-text::-webkit-scrollbar-thumb { background: #f97316; border-radius: 5px; }

.reviews-section--feedback .review-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
    height: 26px;
    overflow: hidden;
}

.reviews-section--feedback .r-tag {
    background: #fff5eb;
    color: #f97316;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    height: 26px;
    display: inline-flex;
    align-items: center;
}

.reviews-section--feedback .reviews-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.reviews-section--feedback .r-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reviews-section--feedback .r-dot:hover {
    background-color: #fb923c;
}

.reviews-section--feedback .r-dot.active {
    background-color: #f97316;
    width: 24px;
    border-radius: 5px;
}

@media (max-width: 1100px) {
    .reviews-section--feedback .review-card { flex: 0 0 calc(50% - 15px); }
}

@media (max-width: 768px) {
    .reviews-section--feedback .review-card { flex: 0 0 100%; height: 400px; max-height: 400px; min-height: 400px; }
    .reviews-section--feedback .reviews-top-bar { justify-content: center; }
    .section-header-reviews { gap: 12px; margin-bottom: 18px; }
    .rew__title { font-size: 20px !important; }
    .reviews-section--feedback .r-nav-btn { width: 40px; height: 40px; font-size: 1.2rem; }
}


.section-header-reviews {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}
.rew__title {
    font-size: 24px !important;
    width: auto !important;
    margin-bottom: 0 !important;
    flex: 1;
    min-width: 0;
}
.rew__title::after {
    display: none !important;
}
/* Кнопки навигации в одной строке с заголовком */
.reviews-nav--inline {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
/* Старый top-bar (если ещё где-то остался) скрываем */
.reviews-section--feedback .reviews-top-bar { display: none; }

/* "Отзыв с YANDEX" — в одну строку, без переноса */
.reviews-section--feedback .aggregator-badge {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Звёзды в самом верху карточки */
.reviews-section--feedback .review-stars--top {
    margin: 0 0 14px;
    flex-shrink: 0;
}
.reviews-section--feedback .review-stars--top svg {
    width: 18px; height: 18px;
}

/* Дата справа от имени в одной строке */
.reviews-section--feedback .review-user-row {
    align-items: center;
}
.reviews-section--feedback .review-user-row .review-date {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
}

/* Анимация трёх точек в badge — мерцают по очереди */
.reviews-section--feedback .agg-dots i {
    animation: aggDotsBlink 1.4s infinite ease-in-out;
}
.reviews-section--feedback .agg-dots i:nth-child(1) { animation-delay: 0s; }
.reviews-section--feedback .agg-dots i:nth-child(2) { animation-delay: 0.2s; }
.reviews-section--feedback .agg-dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes aggDotsBlink {
    0%, 80%, 100% { opacity: 0.3; transform: scale(0.85); }
    40%           { opacity: 1;   transform: scale(1.15); }
}

.n-news-section { margin-bottom: 60px; }

.n-news-showcase {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: start;
}

.n-news-main-col {
    position: sticky;
    top: 20px;
}

.n-editorial-card {
    display: flex;
    flex-direction: column;
    position: relative;
    transition: opacity 0.3s ease;
}

.n-editorial-image {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.n-editorial-image img {
    width: 100%; height: 100%; object-fit: cover;
}

.n-editorial-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background-color: #f97316;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}
.n-editorial-badge:empty { display: none; }

.n-editorial-content {
    position: relative;
    background: #ffffff;
    margin: -100px 40px 0 40px;
    border-radius: 20px;
    padding: 45px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.n-editorial-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.n-editorial-category {
    color: #f97316;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}
.n-editorial-date {
    color: #888;
    font-size: 0.95rem;
    font-weight: 500;
}

.n-editorial-title {
    font-size: 2.2rem;
    line-height: 1.25;
    color: #111;
    margin-bottom: 25px;
    font-weight: 800;
}

.n-editorial-divider {
    width: 60px;
    height: 4px;
    background-color: #f97316;
    border-radius: 2px;
    margin-bottom: 25px;
}

.n-editorial-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 35px;
}

.n-editorial-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #fff5eb;
    color: #f97316;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}
.n-editorial-btn:hover {
    background-color: #f97316;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(249,115,22,0.25);
}

.n-news-events-list { display: flex; flex-direction: column; width: 100%; }
.n-news-events-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 25px; padding-bottom: 15px; border-bottom: 2px solid #f0f0f0;
}
.n-news-events-title { font-size: 1.5rem; color: #333; font-weight: 700; }
.n-news-events-nav { display: flex; gap: 10px; }
.n-news-nav-btn {
    width: 36px; height: 36px; border-radius: 50%; border: 2px solid #f0f0f0;
    background: #ffffff; color: #f97316; font-size: 1.2rem; display: flex;
    align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease;
}
.n-news-nav-btn:hover { border-color: #f97316; background: #f97316; color: #ffffff; }
.n-news-nav-btn:disabled { opacity: 0.4; cursor: not-allowed; border-color: #f0f0f0; background: #ffffff; color: #ccc; }

.n-news-events-track { display: flex; flex-direction: column; gap: 15px; min-height: 550px; }

.n-news-event-item {
    display: flex;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}
.n-news-event-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: #ffe6d5;
}
.n-news-event-item.active {
    border-color: #f97316;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.08);
    background-color: #fffaf5;
}

.n-news-event-content { flex: 1; display: flex; flex-direction: column; }
.n-news-event-category { font-size: 0.75rem; color: #f97316; font-weight: 700; text-transform: uppercase; margin-bottom: 5px; }
.n-news-event-title { font-size: 1.1rem; color: #222; margin-bottom: 8px; font-weight: 700; line-height: 1.4; }
.n-news-event-meta { display: flex; flex-direction: column; gap: 4px; font-size: 0.85rem; color: #888; margin-bottom: 12px; }

.n-news-event-link { font-size: 0.9rem; color: #f97316; font-weight: 700; transition: opacity 0.2s ease; display: inline-block; margin-top: auto; }
.n-news-event-item:hover .n-news-event-link { opacity: 0.7; text-decoration: underline; }

.n-news-pagination {
    display: flex; justify-content: center; align-items: center;
    gap: 8px; margin-top: 25px;
}
.n-news-dot {
    width: 8px; height: 8px; border-radius: 50%; background-color: #d1d5db;
    cursor: pointer; transition: all 0.3s ease;
}
.n-news-dot:hover { background-color: #fb923c; }
.n-news-dot.n-active { background-color: #f97316; width: 18px; border-radius: 4px; }

@media (max-width: 1200px) {
    .n-editorial-content { margin: -80px 20px 0 20px; padding: 35px; }
    .n-editorial-title { font-size: 1.9rem; }
}
@media (max-width: 1100px) {
    .n-news-showcase { grid-template-columns: 1fr; }
    .n-news-main-col { position: static; margin-bottom: 40px; }
    .n-news-events-track { min-height: auto; }
}
@media (max-width: 768px) {
    .n-editorial-image { height: 300px; }
    .n-editorial-content { margin: -50px 15px 0 15px; padding: 25px; }
    .n-editorial-title { font-size: 1.6rem; }
    .n-editorial-btn { width: 100%; justify-content: center; }
}

/* ====== БЛОК АФИШИ (из event.html), ИЗОЛИРОВАННЫЕ КЛАССЫ ====== */
.a-afisha-section { margin-bottom: 60px; }

.a-afisha-showcase {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: start;
}

.a-afisha-main-col {
    position: sticky;
    top: 20px;
}

.a-afisha-card-v {
    display: flex;
    flex-direction: column;
    background-color: #f97316;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(249, 115, 22, 0.15);
    color: #ffffff;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.a-afisha-image-wrapper-v { position: relative; width: 100%; height: 450px; }
.a-afisha-image-wrapper-v img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s ease; }
.a-afisha-image-overlay-v { position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); z-index: 1; }

.a-afisha-meta-on-image {
    position: absolute; bottom: 30px; left: 40px; z-index: 2;
    display: flex; align-items: flex-end; gap: 15px;
}
.a-afisha-date-badge-v {
    background-color: #ffffff; color: #f97316; padding: 12px 24px;
    border-radius: 16px; text-align: center; box-shadow: 0 8px 15px rgba(0,0,0,0.2); flex-shrink: 0;
}
.a-afisha-date-badge-v .a-day { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.a-afisha-date-badge-v .a-month { font-size: 0.9rem; text-transform: uppercase; font-weight: 600; margin-top: 5px; }

.a-afisha-tags-v { display: flex; gap: 10px; padding-bottom: 5px; }
.a-afisha-tag-v {
    background-color: rgba(255, 255, 255, 0.2); color: #ffffff; padding: 8px 16px;
    border-radius: 50px; font-size: 0.85rem; font-weight: 600;
    backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.1);
}
.a-afisha-tag-v.a-highlight { background-color: #ffffff; color: #f97316; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

.a-afisha-content-v { padding: 40px; display: flex; flex-direction: column; flex-grow: 1; }
.a-afisha-title-v { font-size: 2.5rem; line-height: 1.2; margin-bottom: 20px; font-weight: 700; }
.a-afisha-desc-v { font-size: 1.1rem; line-height: 1.7; opacity: 0.95; margin-bottom: 40px; max-width: 900px; }

.a-afisha-card-footer {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-top: auto; border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 30px; gap: 20px;
}
.a-afisha-details-list-v { display: flex; flex-direction: column; gap: 14px; }
.a-detail-item-v { display: flex; align-items: center; gap: 12px; }
.a-detail-item-v svg { flex-shrink: 0; opacity: 0.9; }
.a-detail-item-v span { font-size: 1.05rem; font-weight: 500; }

.a-btn-more-v {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background-color: #ffffff; color: #f97316; text-decoration: none;
    padding: 18px 45px; border-radius: 16px; font-weight: 700; font-size: 1.1rem;
    transition: all 0.3s ease; flex-shrink: 0; box-shadow: 0 8px 20px rgba(0,0,0,0.1); cursor: pointer;
}
.a-btn-more-v:hover { background-color: #fff1e6; transform: translateY(-3px); box-shadow: 0 12px 25px rgba(0,0,0,0.15); }

.a-afisha-events-list { display: flex; flex-direction: column; width: 100%; }
.a-afisha-events-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 25px; padding-bottom: 15px; border-bottom: 2px solid #f0f0f0;
}
.a-afisha-events-title { font-size: 1.5rem; color: #333; font-weight: 700; }
.a-afisha-events-nav { display: flex; gap: 10px; }
.a-afisha-nav-btn {
    width: 36px; height: 36px; border-radius: 50%; border: 2px solid #f0f0f0;
    background: #ffffff; color: #f97316; font-size: 1.2rem; display: flex;
    align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease;
}
.a-afisha-nav-btn:hover { border-color: #f97316; background: #f97316; color: #ffffff; }
.a-afisha-nav-btn:disabled { opacity: 0.4; cursor: not-allowed; border-color: #f0f0f0; background: #ffffff; color: #ccc; }

.a-afisha-events-track { display: flex; flex-direction: column; gap: 15px; min-height: 600px; }

.a-afisha-event-item {
    display: flex;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}
.a-afisha-event-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: #ffe6d5;
}
.a-afisha-event-item.a-active {
    border-color: #f97316;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.08);
}

.a-afisha-event-date {
    flex: 0 0 70px;
    text-align: center;
    padding-right: 15px;
    border-right: 2px solid #f0f0f0;
    margin-right: 15px;
}
.a-event-date-day { font-size: 1.8rem; font-weight: 800; color: #f97316; line-height: 1; }
.a-event-date-month { font-size: 0.8rem; color: #888; text-transform: uppercase; font-weight: 600; margin-top: 5px; }

.a-afisha-event-content { flex: 1; display: flex; flex-direction: column; }
.a-afisha-event-category { font-size: 0.75rem; color: #f97316; font-weight: 700; text-transform: uppercase; margin-bottom: 5px; }
.a-afisha-event-title { font-size: 1.1rem; color: #222; margin-bottom: 8px; font-weight: 700; line-height: 1.3; }

.a-afisha-event-meta { display: flex; flex-direction: column; gap: 4px; font-size: 0.85rem; color: #666; margin-bottom: 12px; }
.a-afisha-event-meta span { display: inline-flex; align-items: center; gap: 5px; }

.a-event-link { font-size: 0.9rem; color: #f97316; font-weight: 700; transition: opacity 0.2s ease; display: inline-block; margin-top: auto; }
.a-afisha-event-item:hover .a-event-link { opacity: 0.7; text-decoration: underline; }

.a-afisha-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
}
.a-afisha-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}
.a-afisha-dot:hover { background-color: #fb923c; }
.a-afisha-dot.a-active {
    background-color: #f97316;
    width: 18px;
    border-radius: 4px;
}

@media (max-width: 1200px) {
    .a-afisha-title-v { font-size: 2rem; }
    .a-afisha-meta-on-image { left: 20px; bottom: 20px; gap: 10px; }
    .a-afisha-date-badge-v { padding: 10px 18px; }
}
@media (max-width: 1100px) {
    .a-afisha-showcase { grid-template-columns: 1fr; }
    .a-afisha-main-col { position: static; margin-bottom: 40px; }
    .a-afisha-events-track { min-height: auto; }
}
@media (max-width: 768px) {
    .a-afisha-image-wrapper-v { height: 350px; }
    .a-afisha-meta-on-image { flex-direction: column; align-items: flex-start; gap: 10px; }
    .a-afisha-tags-v { padding-bottom: 0; }
    .a-afisha-content-v { padding: 30px 20px; }
    .a-afisha-card-footer { flex-direction: column; align-items: flex-start; gap: 25px; }
    .a-btn-more-v { width: 100%; }
}

     /* ====== БЛОК "ГДЕ ПОЕСТЬ?" (из food.html), ИЗОЛИРОВАННЫЕ КЛАССЫ ====== */
 .f-rest-section { margin-bottom: 80px; }

.f-rest-showcase-full {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.f-hero-rest-block { position: relative; width: 100%; transition: opacity 0.3s ease; }

.f-hero-image-wrapper {
    position: relative; width: 100%; height: 550px;
    border-radius: 32px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.f-hero-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.f-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
}

.f-hero-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 56px; height: 56px; border-radius: 50%; border: none;
    background: rgba(255, 255, 255, 0.2); color: #ffffff; font-size: 2rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; backdrop-filter: blur(10px); transition: all 0.3s ease; z-index: 10;
}
.f-hero-nav-btn:hover { background: #f97316; color: #ffffff; transform: translateY(-50%) scale(1.1); }
.f-hero-nav-btn.f-prev { left: 30px; }
.f-hero-nav-btn.f-next { right: 30px; }

.f-hero-badge {
    position: absolute; top: 30px; left: 30px;
    background: #f97316; color: #ffffff; padding: 10px 24px; border-radius: 50px;
    font-size: 0.9rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; z-index: 5;
}

.f-hero-content-card {
    position: relative; width: 90%; max-width: 1000px;
    margin: -160px auto 0 auto; background: #ffffff; border-radius: 32px;
    padding: 50px; box-shadow: 0 30px 60px rgba(0,0,0,0.08); z-index: 10;
    display: flex; flex-direction: column; align-items: center; text-align: center;
}

.f-hero-title-row { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 15px; flex-wrap: wrap; }
.f-hero-title { font-size: 3.2rem; font-weight: 800; color: #111; line-height: 1.1; margin: 0; }
.f-hero-rating {
    display: flex; align-items: center; gap: 6px; background: #fff5eb; color: #f97316;
    padding: 8px 16px; border-radius: 16px; font-weight: 800; font-size: 1.3rem;
}
.f-hero-rating svg { fill: #f97316; width: 20px; height: 20px; }

.f-hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.f-hero-tag { background: #f5f5f5; color: #666; padding: 8px 18px; border-radius: 50px; font-size: 0.9rem; font-weight: 700; }
.f-hero-tag.f-highlight { background: #f97316; color: #ffffff; }

.f-hero-desc { font-size: 1.15rem; line-height: 1.7; color: #555; margin-bottom: 40px; max-width: 800px; }

.f-hero-info-row { display: flex; align-items: center; justify-content: center; gap: 20px; width: 100%; margin-bottom: 40px; flex-wrap: wrap; }
.f-info-pill {
    display: flex; align-items: flex-start;
    gap: 12px; background: #f8f9fa; border: 1px solid #eee;
    padding: 16px 24px; border-radius: 20px; flex: 1; min-width: 250px; justify-content: center;
}
.f-info-pill svg { color: #f97316; flex-shrink: 0; margin-top: 4px; }
.f-info-pill div { display: flex; flex-direction: column; text-align: left; }
.f-info-lbl { font-size: 0.8rem; color: #888; text-transform: uppercase; font-weight: 700; margin-bottom: 4px; }
.f-info-val { font-size: 1.05rem; font-weight: 800; color: #111; line-height: 1.3; }

.f-hero-actions { display: flex; justify-content: center; gap: 20px; width: 100%; flex-wrap: wrap; }
.f-btn-reserve {
    background: #f97316; color: #ffffff; text-decoration: none; padding: 18px 50px;
    border-radius: 50px; font-weight: 800; font-size: 1.1rem; transition: all 0.3s; box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}
.f-btn-reserve:hover { background: #fb923c; transform: translateY(-3px); }
.f-btn-map {
    display: flex; align-items: center; gap: 10px; background: #ffffff; color: #f97316; border: 2px solid #ffe1cc;
    text-decoration: none; padding: 16px 40px; border-radius: 50px; font-weight: 800; font-size: 1.1rem; transition: all 0.3s;
}
.f-btn-map:hover { background: #fff5eb; border-color: #f97316; transform: translateY(-3px); }

.f-carousel-wrap { width: 100%; position: relative; overflow: hidden; padding-bottom: 20px; }
.f-carousel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.f-carousel-heading { font-size: 2.2rem; color: #111; font-weight: 800; }
.f-carousel-nav { display: flex; gap: 12px; }
.f-c-nav-btn {
    width: 48px; height: 48px; border-radius: 50%; border: 2px solid #e0e0e0;
    background: #ffffff; color: #f97316; font-size: 1.5rem; display: flex;
    align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease;
}
.f-c-nav-btn:hover:not(:disabled) { border-color: #f97316; background: #f97316; color: #ffffff; }
.f-c-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.f-carousel-inner { width: 100%; overflow: hidden; }
.f-carousel-track { display: flex; gap: 24px; transition: transform 0.5s ease-in-out; }

.f-poster-card {
    flex: 0 0 calc(25% - 18px);
    height: 400px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.f-poster-card::after {
    content: ''; position: absolute; inset: 0; border: 3px solid transparent; border-radius: 24px; transition: border-color 0.3s ease; z-index: 5; pointer-events: none;
}
.f-poster-card.f-active::after { border-color: #f97316; }

.f-p-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.f-poster-card:hover .f-p-img { transform: scale(1.08); }

.f-p-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
    z-index: 1; transition: opacity 0.3s ease;
}
.f-poster-card:hover .f-p-overlay { opacity: 0.8; }

.f-p-type {
    position: absolute; top: 20px; left: 20px;
    background: rgba(255,255,255,0.95); color: #f97316;
    padding: 6px 14px; border-radius: 12px; font-size: 0.75rem; font-weight: 800;
    text-transform: uppercase; z-index: 2; box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.f-p-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 25px; z-index: 2; display: flex; flex-direction: column; }
.f-p-cuisine { color: #fb923c; font-size: 0.85rem; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.f-p-title { color: #ffffff; font-size: 1.5rem; font-weight: 800; margin-bottom: 15px; line-height: 1.2; }
.f-p-addr { display: flex; align-items: flex-start; gap: 8px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.2); }
.f-p-addr svg { color: #f97316; width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.f-p-addr span { color: rgba(255,255,255,0.9); font-size: 0.95rem; font-weight: 500; line-height: 1.3; }

.f-carousel-dots { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 40px; }
.f-c-dot { width: 10px; height: 10px; border-radius: 50%; background-color: #d1d5db; cursor: pointer; transition: all 0.3s ease; }
.f-c-dot:hover { background-color: #fb923c; }
.f-c-dot.f-active { background-color: #f97316; width: 24px; border-radius: 5px; }

@media (max-width: 1024px) {
    .f-hero-content-card { width: 95%; padding: 40px 30px; margin-top: -100px; }
    .f-hero-title { font-size: 2.5rem; }
    .f-poster-card { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 768px) {
    .f-hero-image-wrapper { height: 400px; border-radius: 20px; }
    .f-hero-content-card { margin-top: -50px; padding: 30px 20px; border-radius: 20px; }
    .f-hero-title { font-size: 2rem; }
    .f-hero-info-row { flex-direction: column; gap: 15px; }
    .f-info-pill { width: 100%; justify-content: flex-start; }
    .f-hero-actions { flex-direction: column; }
    .f-btn-reserve, .f-btn-map { width: 100%; justify-content: center; }
    .f-poster-card { flex: 0 0 100%; }
    .f-carousel-heading { font-size: 1.8rem; }
}

h2.styled::after {
    content:''!important;
    background:none!important;
    margin-left: 0;
    display:none
}

footer  {
    position: relative;
    height:auto !important
}