/*
Theme Name: Murom Theme
Theme URI: 
Description: ????????????? ???? ??? ????? ?????? ?????. ???????? ????????? ???? ??????? ??? ???????, ?????????????????????? ? ?????????. ????????? Elementor.
Author: 
Author URI: 
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: murom
*/

:root {
    --primary-color: #be1622;
    /* ?????????? ??????? */
    --text-color: #1a1a1a;
    --text-light: #555555;
    --bg-color: #ffffff;
    --bg-light: #f4f4f4;
    --bg-gray: #ececec;
    --card-radius: 24px;
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* ?????? ?????? ????????? ??? Chrome, Safari ? Opera */
::-webkit-scrollbar {
    display: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'TikTok Sans', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 1;
    /* Исправлено: контент теперь всегда видим */
}

body.fonts-loaded {
    opacity: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    content-visibility: auto;
}

img[loading="lazy"] {
    background: #f0f0f0;
}


.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 28px 0;
    transition: var(--transition);
    background: transparent;
    box-shadow: none;
}

.header.scrolled {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Force scrolled state on non-front pages */
.header.always-scrolled {
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    max-width: 100% !important;
    padding-left: 80px !important;
    padding-right: 80px !important;
}

@media (max-width: 992px) {
    .header {
        padding: 15px 0;
    }

    .header-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .logo-img {
        height: 28px;
    }

    .header-menu-btn {
        display: flex !important;
        position: relative;
        z-index: 1010;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Logo Area */
.logo-area {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 34px;
    width: auto;
    display: block;
    transition: filter 0.3s ease;
    filter: brightness(0) invert(1);
    /* Белый по умолчанию */
}

.header.scrolled .logo-img {
    filter: none;
    /* Черный при скролле */
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-left: auto;
    margin-right: 50px;
}

@media (max-width: 992px) {
    .nav {
        display: none;
    }
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item a {
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    text-transform: none;
    letter-spacing: 0;
    transition: var(--transition);
}

.header.scrolled .nav-item a {
    color: #333333;
}

.nav-item a:hover {
    color: var(--primary-color);
}

.nav-item {
    position: relative;
    padding-bottom: 4px;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

.nav-arrow {
    font-size: 10px;
    color: #ffffff;
    margin-top: 2px;
    transition: var(--transition);
}

.header.scrolled .nav-arrow {
    color: var(--primary-color);
}

/* Menu Button */
.header-menu-btn {
    width: 30px;
    height: 20px;
    cursor: pointer;
    display: flex;
    margin-left: 30px;
    align-items: center;
    justify-content: center;
}

.menu-lines {
    width: 28px;
    height: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.menu-lines span {
    display: block;
    height: 2px;
    background: #ffffff;
    transition: var(--transition);
    border-radius: 2px;
}

/* Mega Menu */
.mega-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 2000;
    padding: 80px 0 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mega-menu.active {
    opacity: 1;
    visibility: visible;
}

.mega-menu-close {
    position: absolute;
    top: 28px;
    right: 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    color: var(--text-color);
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.mega-col-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-color);
}

.mega-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-links li {
    margin-bottom: 10px;
}

.mega-links a {
    font-size: 15px;
    color: var(--text-light);
    transition: color 0.2s ease;
}

.mega-links a:hover {
    color: var(--primary-color);
}

/* Mega Menu Search */
.mega-search-wrapper {
    margin-bottom: 40px;
    position: relative;
}

.mega-search-form {
    margin-bottom: 0;
}

.mega-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.mega-search-icon {
    position: absolute;
    left: 20px;
    color: var(--text-light);
    font-size: 18px;
    pointer-events: none;
    z-index: 1;
}

.mega-search-input {
    width: 100%;
    padding: 16px 50px 16px 55px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    color: var(--text-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.mega-search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

.mega-search-input::placeholder {
    color: var(--text-light);
}

.mega-search-clear {
    position: absolute;
    right: 15px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 14px;
    transition: color 0.2s ease;
    z-index: 1;
}

.mega-search-clear:hover {
    color: var(--text-color);
}

.mega-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-height: 500px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.mega-search-results.has-results {
    display: block;
}

.mega-search-loading,
.mega-search-no-results,
.mega-search-error {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

.mega-search-results-list {
    padding: 8px;
}

.mega-search-result-item {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-color);
    transition: background-color 0.2s ease;
    gap: 12px;
}

.mega-search-result-item:hover {
    background-color: #f5f5f5;
}

.mega-search-result-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.mega-search-result-content {
    flex: 1;
    min-width: 0;
}

.mega-search-result-type {
    font-size: 11px;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.mega-search-result-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
    line-height: 1.3;
}

.mega-search-result-excerpt {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.4;
}

/* Mobile styles for mega search */
@media (max-width: 768px) {
    .mega-search-clear {
        right: 12px;
        width: 28px;
        height: 28px;
    }

    .mega-search-results {
        max-height: 60vh;
        position: relative;
        margin-top: 8px;
        border-radius: 12px;
    }

    .mega-search-result-item {
        padding: 10px;
        gap: 10px;
    }

    .mega-search-result-image {
        width: 50px;
        height: 50px;
        border-radius: 8px;
    }

    .mega-search-result-title {
        font-size: 14px;
    }

    .mega-search-result-excerpt {
        font-size: 12px;
    }
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 380px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 25px;
    border-radius: 24px;
    z-index: 99999;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease, visibility 0.6s;
}

.cookie-notice.active {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}

.cookie-text {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.cookie-btn {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn:hover {
    background: #a0131d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(190, 22, 34, 0.3);
}

@media (max-width: 576px) {
    .cookie-notice {
        left: 15px;
        right: 15px;
        bottom: 15px;
        width: calc(100% - 30px);
    }
}


.menu-lines span:first-child {
    width: 100%;
}

.menu-lines span:last-child {
    width: 60%;
    margin-left: auto;
}

.header.scrolled .menu-lines span {
    background: #333333;
}

.header-menu-btn:hover .menu-lines span {
    background: var(--primary-color);
}

.header-menu-btn:hover .menu-lines span:last-child {
    width: 100%;
}

/* New Hero Split Layout */
.hero.new-hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    background: none;
    text-align: left;
    color: #fff;
    overflow: hidden;
}

.hero-bg-split {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 1;
}

.hero-bg-gradient {
    width: 38%;
    height: 100%;
    background: linear-gradient(135deg, #92241b 0%, #b32d22 100%);
    position: relative;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.5);
    z-index: 2;
    backdrop-filter: blur(10px);
}

.hero-bg-slider {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s linear;
    transform: scale(1.05);
    /* Slight zoom dynamically */
}

.hero-bg-image.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
}

.hero.cinematic-hero {
    height: 95vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-centered-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-top-info {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 25px;
    font-weight: 300;
    opacity: 0.8;
}

.hero-logo-img {
    max-width: 500px;
    height: auto;
    margin-bottom: 30px;
    opacity: 0;
}

@media (max-width: 768px) {
    .hero-logo-img {
        max-width: 90%;
        margin-bottom: 20px;
    }
}

.fonts-loaded .hero-logo-img {
    animation: fadeInUp 1s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-top-info {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 25px;
    font-weight: 300;
    opacity: 0;
}

.fonts-loaded .hero-top-info {
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-sub-info {
    font-size: 18px;
    font-weight: 300;
    max-width: 900px;
    margin: 0 auto 50px;
    opacity: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-sub-info {
        font-size: 15px;
        margin-bottom: 30px;
        padding: 0 10px;
    }
}

.fonts-loaded .hero-sub-info {
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-action-buttons {
    opacity: 0;
    display: flex;
    gap: 20px;
    justify-content: center;
}

@media (max-width: 576px) {
    .hero-action-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
        gap: 12px;
    }

    .btn-white-pill {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
    }
}

.fonts-loaded .hero-action-buttons {
    animation: fadeInUp 1s ease 0.8s both;
}

.btn-white-pill {
    background: #fff;
    color: #000;
    padding: 18px 45px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    border: 1px solid #fff;
}

.btn-white-pill:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.btn-outline-white-pill {
    background: transparent;
    color: #fff;
    padding: 18px 45px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
}

.btn-outline-white-pill:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Slider Controls - Minimalist */
.hero-slider-controls {
    position: absolute;
    bottom: 50px;
    right: 50px;
    gap: 30px;
    z-index: 100;
}

.slider-numbers {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-family: 'Geologica', sans-serif;
}

.slider-divider {
    opacity: 0.3;
    font-weight: 300;
    font-size: 18px;
}

.slider-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.6;
    transition: var(--transition);
}

.slider-btn:hover {
    opacity: 1;
    transform: translateX(5px);
}

.slider-btn:first-child:hover {
    transform: translateX(-5px);
}

.slider-counter {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
}

.slider-counter.total {
    opacity: 0.5;
    font-weight: 400;
}

/* Video Button Centered under Buttons */
.hero-play-video {
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
    opacity: 0;
    animation: fadeInUp 1s ease 1s both;
}

.fonts-loaded .hero-play-video {
    animation: fadeInUp 1s ease 1s both;
}

.play-text-wrapper {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.play-text-line {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: #fff;
}

.play-text-line:last-child {
    opacity: 0.7;
    font-weight: 400;
}

.play-icon-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.play-icon-btn i {
    margin-left: 3px;
}

.hero-play-video:hover .play-icon-btn {
    background: #fff;
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(179, 45, 34, 0.3);
}

.btn-yellow {
    background-color: var(--primary-color);
    color: #fff;
    padding: 16px 45px;
    border-radius: 40px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-yellow:hover {
    background-color: #a1131d;
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* News Section (Dynamic Accordion Style) */
.news-title {
    font-size: 38px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.news-grid {
    display: flex;
    gap: 20px;
    width: 100%;
    align-items: stretch;
}

.news-footer {
    margin-top: 40px;
    display: flex;
    justify-content: flex-start;
}

.news-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 28px;
    background: #fff;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    position: relative;
    height: 580px;
}

/* Initial state: First item is expanded by default (handled by .active class) */
.news-item.active {
    flex: 2.2;
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.news-item:hover {
    border-color: #ddd;
}

.news-item.active:hover {
    border-color: var(--primary-color);
}

.news-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 25px;
    transition: all 0.6s ease;
}

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

.news-item.active .news-img {
    transform: scale(1.1);
}

.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    padding: 5px 14px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    color: #000;
    z-index: 2;
}

.news-bookmark {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #999;
    z-index: 2;
    transition: var(--transition);
}

.news-bookmark:hover {
    background: var(--primary-color);
    color: #fff;
}

.news-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: hidden;
}

.news-h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    transition: font-size 0.4s ease;
}

.news-item:not(.active) .news-h3 {
    font-size: 18px;
}

.news-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.5s ease;
}

/* Show full description when active */
.news-item.active .news-desc {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    opacity: 1;
}

.news-date {
    font-size: 13px;
    color: #bbb;
    margin-top: auto;
}

@media (max-width: 992px) {
    .news-grid {
        flex-direction: column;
        min-height: auto;
    }

    .news-item,
    .news-item.active,
    .news-item:first-child,
    .news-item:hover {
        flex: none !important;
        width: 100%;
        margin-bottom: 20px;
        height: auto;
        box-shadow: none !important;
        border-color: #eee !important;
        transition: none !important;
        cursor: default;
    }

    .news-item .news-img,
    .news-item.active .news-img {
        transform: none !important;
        transition: none !important;
    }

    .news-desc {
        opacity: 1 !important;
        height: auto !important;
        margin-bottom: 20px !important;
        transform: none !important;
        -webkit-line-clamp: unset !important;
        line-clamp: unset !important;
    }

    .news-item .news-h3,
    .news-item:not(.active) .news-h3 {
        font-size: 24px !important;
        transition: none !important;
    }
}

/* About Grid */
/* Feel Murom Section */
.feel-murom-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.video-preview {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.video-preview img {
    width: 100%;
    display: block;
    transition: transform 0.8s ease;
}

.video-preview:hover img {
    transform: scale(1.03);
}

.play-button-central {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.play-button-central i {
    margin-left: 5px;
}

.video-preview:hover .play-button-central {
    transform: translate(-50%, -50%) scale(1.15);
    background: #fff;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.feel-murom-text h2 {
    font-size: 38px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 30px;
}

.feel-murom-text p {
    font-size: 19px;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 35px;
}

.feel-murom-vk {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #eee;
    color: #333;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.feel-murom-vk i {
    font-size: 18px;
    color: #0077FF;
}

.feel-murom-vk:hover {
    background: #0077FF;
    color: #fff;
    border-color: #0077FF;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 119, 255, 0.25);
}

.feel-murom-vk:hover i {
    color: #fff;
}

@media (max-width: 992px) {
    .feel-murom-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feel-murom-text h2 {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .feel-murom-vk {
        width: 100%;
        justify-content: center;
    }

    .feel-murom-text h2 {
        font-size: 30px;
    }
}

/* Events Section */
.events-title {
    font-size: 38px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.events-filters {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-dropdown {
    display: flex;
    align-items: center;
    background-color: var(--bg-gray);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-dropdown:hover {
    background-color: #e0e0e0;
}

.filter-icon {
    margin-right: 8px;
    color: #333;
}

.filter-arrow {
    margin-left: 10px;
    font-size: 12px;
}

.filter-pill {
    background-color: #f4f4f4;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    color: #333 !important;
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd;
}

.filter-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.filter-pill:hover::before {
    left: 100%;
}

.filter-pill:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.filter-pill.active {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    transform: scale(1.05);
    border-color: var(--primary-color) !important;
}

/* Hide rubricator on mobile */
@media (max-width: 768px) {
    .events-filters {
        display: none !important;
    }
}

/* Carousel Wrapper */
.carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.event-card {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    height: 380px;
    cursor: pointer;
    transition: var(--transition);
    background: #000;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    opacity: 0.9;
}

.event-card:hover .event-img {
    transform: scale(1.05);
    opacity: 1;
}

.event-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    padding: 5px 14px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    color: #000;
    z-index: 2;
}

.event-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.event-info {
    position: absolute;
    bottom: 25px;
    left: 24px;
    right: 24px;
    z-index: 2;
}

.event-name {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Sights Section (Same Style) */
.sights-title {
    font-size: 38px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.sights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.sight-card {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    height: 480px;
    cursor: pointer;
    transition: var(--transition);
    background: #000;
}

@media (max-width: 1200px) {

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

@media (max-width: 768px) {

    .events-grid,
    .sights-grid,
    .routes-grid {
        grid-template-columns: 1fr;
    }

    .events-title,
    .sights-title,
    .routes-title,
    .section-title {
        font-size: 30px;
    }
}

.sight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.sight-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    opacity: 0.9;
}

.sight-card:hover .sight-img {
    transform: scale(1.05);
    opacity: 1;
}

.sight-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    padding: 5px 14px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    color: #000;
    z-index: 2;
}

.sight-info {
    position: absolute;
    bottom: 30px;
    left: 24px;
    right: 24px;
    z-index: 2;
}

.sight-name {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
}

.sights-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

/* Events Footer */
.events-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.events-navigation {
    display: flex;
    gap: 15px;
}

.nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: #333;
    font-size: 16px;
}

.nav-btn:hover {
    border-color: #000;
    color: #000;
    background: rgba(0, 0, 0, 0.05);
}


/* Routes Section (Reference Style) */
.section {
    padding: 45px 0;
}

.section-title {
    font-size: 50px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 40px;
    letter-spacing: -0.05em;
}

.routes {
    background: #fff;
    padding-bottom: 60px;
}

.routes-header {
    margin-bottom: 50px;
}

.routes-title-box {
    display: flex;
    flex-direction: column;
}

.routes-title {
    font-size: 38px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
}

.routes-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.btn-all-pill {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 16px 45px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
    width: fit-content;
}

.btn-all-pill:hover {
    background-color: #a1131d;
    transform: translateY(-3px);
}

.routes-navigation {
    display: flex;
    gap: 15px;
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.route-card {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    height: 480px;
    cursor: pointer;
    transition: var(--transition);
    background: #000;
}

.route-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.route-img-wrapper {
    width: 100%;
    height: 100%;
}

.route-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    opacity: 0.9;
}

.route-card:hover .route-img {
    transform: scale(1.05);
    opacity: 1;
}

.route-overlay-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    padding: 5px 14px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    color: #000;
    z-index: 2;
}

.route-info {
    position: absolute;
    bottom: 30px;
    left: 25px;
    right: 25px;
    z-index: 2;
}

.route-name {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
}

.route-bookmark,
.route-subtitle,
.route-meta {
    display: none !important;
}

.route-date {
    font-size: 12px;
    color: #999;
}

.route-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-name {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-light);
}

.author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 1200px) {
    .routes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .routes-title {
        font-size: 32px;
        margin: 0 0 20px 0;
    }

    .routes-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .routes-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer Modern Style */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-label {
    color: #666;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    font-weight: 500;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-main-link {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 10px;
    transition: var(--transition);
}

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

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.footer-small-label {
    color: #444;
    font-size: 12px;
    margin-bottom: 5px;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition);
    line-height: 1.4;
}

.footer-link:hover {
    color: #fff;
}

.footer-sub {
    font-size: 13px;
    color: #666 !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-info p {
    color: #555;
    font-size: 13px;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.footer-info a {
    color: #777;
    margin-left: 15px;
    text-decoration: none;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 25px;
        text-align: center;
    }

    .footer-info a {
        display: block;
        margin-left: 0;
        margin-top: 10px;
    }
}

/* Animations */
.scroll-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 1200px) {

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

@media (max-width: 768px) {
    .hero-text-content {
        padding-top: 100px;
    }

    .hero-huge-title {
        font-size: 60px;
        white-space: normal;
    }

    .hero-description {
        max-width: 100%;
        font-size: 16px;
    }

    .hero-bg-gradient {
        width: 100%;
        height: 100%;
        display: none;
        /* unused in cinematic-hero */
    }

    .hero-bg-slider {
        width: 100%;
        height: 100%;
        top: 0;
    }

    .hero-bottom-area {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .hero-slider-controls {
        margin-left: 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .events-title,
    .sights-title {
        font-size: 32px;
    }

    .events-grid,
    .sights-grid {
        grid-template-columns: 1fr;
    }

    .sight-card {
        height: 380px;
    }

    .events-footer,
    .sights-footer {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .event-modal {
        width: 100% !important;
        right: -100% !important;
    }

    .event-modal.active {
        right: 0 !important;
    }

    .modal-content {
        padding: 30px !important;
    }

    .modal-title {
        font-size: 28px !important;
    }

    .modal-hero-img {
        height: 250px !important;
    }
}

/* Event Modal Side Drawer */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.event-modal {
    position: fixed;
    top: 0;
    right: -50%;
    width: 50%;
    height: 100%;
    background: #fff;
    z-index: 1001;
    transition: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.event-modal.active {
    right: 0;
}

.modal-close {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    border: none;
    font-size: 18px;
    transition: var(--transition);
}

.modal-close:hover {
    transform: rotate(90deg);
    background: var(--primary-color);
    color: #fff;
}

.modal-hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.modal-content {
    padding: 60px;
}

.modal-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-gray);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.modal-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.detail-icon {
    color: #999;
    font-size: 18px;
}

.detail-text {
    font-size: 16px;
    color: var(--text-light);
}

.modal-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    border-top: 1px solid var(--bg-gray);
    padding-top: 30px;
}

.modal-action {
    margin-top: 50px;
}

.modal-full-view-btn {
    display: block;
    width: 100%;
    padding: 24px;
    background: #fff;
    color: #000;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-top: 1px solid #eee;
    text-decoration: none;
    transition: var(--transition);
    margin-top: auto;
}

/* Mega Menu */
.mega-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    padding: 120px 0 60px;
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.5s;
}

.mega-menu.active {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: scale(1);
}

.mega-menu.active .mega-col {
    animation: megaFadeIn 0.6s ease forwards;
}

.mega-menu.active .mega-col:nth-child(2) {
    animation-delay: 0.1s;
}

.mega-menu.active .mega-col:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes megaFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-col {
    opacity: 0;
}

.mega-menu-close {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    transition: var(--transition);
}

.mega-menu-close:hover {
    background: var(--primary-color);
    color: #fff;
    transform: rotate(90deg);
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}

.mega-col-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 30px;
}

.mega-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mega-links a {
    font-size: 28px;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
    display: inline-block;
}

.mega-links a:hover {
    color: var(--primary-color);
    transform: translateX(10px);
}

.mega-featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.featured-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 250px;
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
}

@media (max-width: 992px) {
    .mega-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mega-links a {
        font-size: 22px;
    }

    .mega-featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .mega-menu {
        padding: 80px 0 40px;
    }

    .mega-menu-close {
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .mega-menu {
        padding: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: #fff;
    }

    .mega-menu>.container {
        padding: 72px 20px 40px;
        max-width: 100%;
    }

    .mega-menu-close {
        position: fixed;
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
        font-size: 18px;
        z-index: 2001;
        background: #f5f5f5;
        border-radius: 50%;
    }

    .mega-menu-close:hover {
        background: var(--primary-color);
        color: #fff;
    }

    .mega-search-wrapper {
        margin-bottom: 8px;
    }

    .mega-search-input {
        padding: 12px 40px 12px 42px;
        font-size: 15px;
        border-radius: 12px;
        border-width: 1.5px;
    }

    .mega-search-icon {
        left: 14px;
        font-size: 15px;
    }

    .mega-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .mega-col {
        padding: 20px 0 16px;
        border-bottom: 1px solid #f0f0f0;
    }

    .mega-col:last-child {
        border-bottom: none;
    }

    .mega-col-title {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: #aaa;
        margin-bottom: 10px;
        padding: 0;
    }

    .mega-links {
        gap: 0;
    }

    .mega-links li {
        margin-bottom: 0;
    }

    .mega-links a {
        font-size: 16px;
        font-weight: 500;
        display: block;
        padding: 10px 0;
        color: var(--text-color);
        line-height: 1.4;
        transform: none;
        border-radius: 0;
    }

    .mega-links a:hover {
        transform: none;
        color: var(--primary-color);
        padding-left: 8px;
    }

    .mega-links a:active {
        color: var(--primary-color);
        opacity: 0.7;
    }

    .mega-featured {
        display: none;
    }
}

/* Video Modal Styles */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 1005;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90%;
    max-width: 1280px;
    z-index: 1006;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 1007;
    transition: var(--transition);
}

.video-modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

@media (max-width: 992px) {
    .video-modal-close {
        top: -40px;
        right: 0;
    }
}

@media (max-width: 768px) {
    .video-modal {
        width: 95%;
        max-width: none;
        border-radius: 12px;
        top: 50%;
        transform: translate(-50%, -50%) scale(0.95);
    }

    .video-modal.active {
        transform: translate(-50%, -50%) scale(1);
    }

    .video-container {
        border-radius: 12px;
    }

    .video-container iframe {
        border-radius: 12px;
    }

    .video-modal-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        backdrop-filter: blur(10px);
    }

    .video-modal-close:hover {
        background: rgba(190, 22, 34, 0.9);
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .video-modal {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        transform: scale(0.95);
        border-radius: 0;
    }

    .video-modal.active {
        transform: scale(1);
    }

    .video-container {
        height: 100%;
        padding-bottom: 0;
        border-radius: 0;
    }

    .video-container iframe {
        border-radius: 0;
    }

    .video-modal-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}


/* =========================================
   SINGLE PAGE STYLES (Appended)
   ========================================= */
.page-header-spacer {
    height: 60px;
}

/* ?????? ????????? ?? ????? ???? */
.inner-hero {
    padding: 20px 0 15px;
    background: #fff;
    margin-top: 15px;
}

.breadcrumbs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #999;
}

.breadcrumbs a {
    color: #999;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs span::after {
    content: "/";
    margin-left: 10px;
}

.breadcrumbs span:last-child::after {
    display: none;
}

.page-title {
    font-size: 48px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.page-meta {
    display: flex;
    gap: 20px;
    color: #999;
    font-size: 14px;
    margin-bottom: 40px;
}

.page-content {
    padding: 40px 0 100px;
}

.content-grid {
    display: grid !important;
    grid-template-columns: 1fr 350px !important;
    gap: 60px !important;
    align-items: start !important;
}

.content-rich-text img {
    max-width: 100%;
    border-radius: 20px;
    margin: 30px 0;
}

.content-rich-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 25px;
}

/* ?????? ?????????? */
.share-block {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 20px;
}

.share-title {
    font-weight: 600;
    font-size: 16px;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    color: #333;
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* ??????? ?????????? */
.related-section {
    padding: 100px 0;
    background: #fdfdfd;
    border-top: 1px solid #eee;
}

.related-title {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.sidebar-card {
    background: #fff;
    border: none !important;
    border-radius: 24px;
    padding: 30px;
    position: sticky;
    top: 110px;
    box-shadow: none !important;
    display: block !important;
    visibility: visible !important;
}

.content-sidebar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 350px !important;
    position: sticky !important;
    top: 100px !important;
}

.page-content .content-grid .content-sidebar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.page-content .content-grid .sidebar-card {
    display: block !important;
    visibility: visible !important;
}

/* ??????????? ????? ??? ???????? ????????????????????? */
.single-sight .content-grid,
.post-type-sight .content-grid {
    display: grid !important;
    grid-template-columns: 1fr 350px !important;
    gap: 60px !important;
}

.single-sight .content-sidebar,
.post-type-sight .content-sidebar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 350px !important;
    min-width: 350px !important;
}

.single-sight .sidebar-card,
.post-type-sight .sidebar-card {
    display: block !important;
    visibility: visible !important;
    min-height: 200px !important;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 15px;
    border-bottom: 1px solid #f9f9f9;
    padding-bottom: 10px;
}

.info-row span:first-child {
    color: #999;
}

.info-row span:last-child {
    font-weight: 600;
    color: #333;
}

@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr !important;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 36px;
    }

    .content-sidebar {
        width: 100% !important;
        position: static !important;
    }
}

/* ????? ??? ???????? ?????? ?????? */
.content-rich-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ????? ? ?????? ?????? ?????? */
.content-rich-text ul,
.content-rich-text ol {
    margin-left: 20px;
    margin-bottom: 25px;
    line-height: 1.8;
}

.content-rich-text li {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.content-rich-text h2,
.content-rich-text h3,
.content-rich-text h4 {
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Header overlap fixes */
.page-header-spacer {
    height: 60px !important;
    display: block !important;
}

@media (max-width: 992px) {
    .page-header-spacer {
        height: 70px !important;
    }
}

.inner-hero {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

/* Archive News Grid - Card Layout */
.archive-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 0;
}

.archive-news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: opacity 0.4s ease, transform 0.4s ease, var(--transition);
    cursor: pointer;
    opacity: 1;
    transform: translateY(0);
}

.archive-news-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.archive-news-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.archive-news-image {
    width: 100%;
    height: 0;
    padding-bottom: 60%;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
}

.archive-news-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.archive-news-card:hover .archive-news-image img {
    transform: scale(1.05);
}

.archive-news-content {
    padding: 20px;
}

.archive-news-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 12px 0;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.archive-news-card:hover .archive-news-title {
    color: var(--primary-color);
}

.archive-news-date {
    font-size: 14px;
    color: #999;
    font-weight: 400;
}

.archive-pagination-wrapper {
    grid-column: 1 / -1;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.archive-pagination-wrapper .page-numbers,
.archive-pagination-wrapper .nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.archive-pagination-wrapper .page-numbers a,
.archive-pagination-wrapper .page-numbers span,
.archive-pagination-wrapper .nav-links a,
.archive-pagination-wrapper .nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 15px;
    border-radius: 8px;
    background: #f4f4f4;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.archive-pagination-wrapper .page-numbers a:hover,
.archive-pagination-wrapper .nav-links a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.archive-pagination-wrapper .page-numbers .current,
.archive-pagination-wrapper .page-numbers span.current {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    cursor: default;
}

/* Mobile Adaptation */
@media (max-width: 992px) {
    .archive-news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .archive-news-title {
        font-size: 16px;
    }

    .archive-news-content {
        padding: 16px;
    }
}

@media (max-width: 768px) {
    .archive-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .archive-news-title {
        font-size: 18px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .archive-news-content {
        padding: 18px;
    }

    .archive-pagination-wrapper {
        margin-top: 40px;
    }
}

/* New Single Post Styles */
.page-meta {
    display: flex;
    gap: 20px;
    color: #999;
    font-size: 14px;
    margin-bottom: 40px;
}

.share-block {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 20px;
}

.share-title {
    font-weight: 600;
    font-size: 16px;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    color: #333;
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.related-section {
    padding: 100px 0;
    background: #fdfdfd;
    border-top: 1px solid #eee;
}

.related-title {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.breadcrumbs span {
    display: flex;
    align-items: center;
}

.breadcrumbs span:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    color: #ccc;
}

.breadcrumbs a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

/* Pagination */
.pagination-wrapper {
    margin-top: 60px;
}

.pagination,
.page-numbers,
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.page-numbers a,
.page-numbers span,
.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 15px;
    border-radius: 8px;
    background: #f4f4f4;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.page-numbers a:hover,
.nav-links a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.page-numbers .current,
.page-numbers span.current {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    cursor: default;
}

.page-numbers .dots,
.page-numbers span.dots {
    background: transparent;
    border: none;
    cursor: default;
}

.page-numbers .prev,
.page-numbers .next,
.nav-links .prev,
.nav-links .next {
    font-weight: 600;
}

.page-numbers .prev i,
.page-numbers .next i {
    margin: 0 5px;
}

@media (max-width: 768px) {

    .page-numbers a,
    .page-numbers span,
    .nav-links a,
    .nav-links span {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
}

/* Archive Description */
.archive-description {
    margin-top: 20px;
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 60px 20px;
}

.no-posts h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text-color);
}

.no-posts p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 16px;
}

/* Archive Pages - Responsive Grids */
@media (max-width: 1200px) {

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

    /* Masonry responsive */
    .post-type-archive-sight .sights-grid {
        column-count: 3;
    }
}

@media (max-width: 992px) {
    .post-type-archive-sight .sights-grid {
        column-count: 2;
    }
}

@media (max-width: 768px) {

    .events-grid,
    .routes-grid {
        grid-template-columns: 1fr;
    }

    .post-type-archive-sight .sights-grid {
        column-count: 1;
    }

    .event-card,
    .route-card {
        height: 350px;
    }

    /* Don't set fixed height for sight cards in masonry */
    .post-type-archive-sight .sight-card,
    .post-type-archive-sight .event-card {
        height: auto !important;
    }
}

/* Remove top padding (40px) from page-content */
.page-content {
    padding: 0 0 100px !important;
}

/* Archive: reduced gap from title to cards */
.post-type-archive-sight .inner-hero {
    padding-bottom: 16px;
}

.sights-archive-grid {
    margin-top: 16px !important;
}

/* Archive search bar - align right */
.sights-archive-search-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.sights-archive-search {
    max-width: 400px;
    width: 100%;
}

.sights-archive-search .search-field {
    width: 100%;
    padding: 14px 20px 14px 48px;
    font-size: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat 16px center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sights-archive-search .search-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(190, 22, 34, 0.15);
}

.sights-archive-search .search-field::placeholder {
    color: #999;
}

/* Sight cards: remove black overlay, title below image on white */
.post-type-archive-sight .sight-card .event-gradient {
    display: none !important;
}

/* Masonry grid for sights archive */
.post-type-archive-sight .sights-grid {
    column-count: 4;
    column-gap: 24px;
    column-fill: balance;
}

.post-type-archive-sight .sight-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--card-radius);
    background: #fff;
    border: 1px solid #e0e0e0;
    break-inside: avoid;
    margin-bottom: 24px;
    page-break-inside: avoid;
    height: auto !important;
    width: 100%;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 1;
    transform: translateY(0);
}

.post-type-archive-sight .sight-card {
    position: relative;
}

.post-type-archive-sight .sight-card .sight-badge {
    position: absolute;
    top: 12px;
    left: 12px;
}

.post-type-archive-sight .sight-card .sight-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: var(--card-radius) var(--card-radius) 0 0;
}

.post-type-archive-sight .sight-card .sight-info {
    position: static !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: #fff;
    padding: 20px;
    border-radius: 0 0 var(--card-radius) var(--card-radius);
    flex-shrink: 0;
}

.post-type-archive-sight .sight-card .sight-name {
    color: var(--text-color) !important;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: block !important;
    visibility: visible !important;
}

.post-type-archive-sight .sight-card-clickable {
    cursor: pointer;
    transition: transform 0.2s;
}

.post-type-archive-sight .sight-card-clickable:hover {
    transform: translateY(-4px);
}

.post-type-archive-sight .sight-card-clickable.dimmed {
    opacity: 0.4;
    pointer-events: none;
    filter: grayscale(0.3);
}

.post-type-archive-sight .sight-card-clickable.active {
    opacity: 1;
    transform: scale(0.98);
    box-shadow: 0 4px 16px rgba(190, 22, 34, 0.2);
    border-color: var(--primary-color);
}

/* Sights Archive Controls (Search + Filters) */
.sights-archive-controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.sights-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-end;
}

.sight-filter-btn {
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.sight-filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.sight-filter-btn:hover::before {
    left: 100%;
}

.sight-filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.sight-filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .sights-archive-controls {
        flex-direction: column;
    }

    .sights-filters {
        justify-content: flex-start;
        width: 100%;
    }

    .sights-archive-search-wrap {
        width: 100%;
    }
}

/* News Archive Controls (Search + Filters) */
.news-archive-controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.news-archive-search-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0;
}

.news-archive-search {
    max-width: 400px;
    width: 100%;
}

.news-archive-search .search-field {
    width: 100%;
    padding: 14px 20px 14px 48px;
    font-size: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat 16px center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.news-archive-search .search-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(190, 22, 34, 0.15);
}

.news-archive-search .search-field::placeholder {
    color: #999;
}

.news-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-end;
}

.news-filter-btn {
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.news-filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.news-filter-btn:hover::before {
    left: 100%;
}

.news-filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.news-filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: scale(1.05);
}

/* News badge on archive cards */
.news-img-box .news-badge,
.archive-news-image .news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    padding: 5px 14px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    color: #000;
    z-index: 2;
}

@media (max-width: 768px) {
    .news-archive-controls {
        flex-direction: column;
    }

    .news-filters {
        justify-content: flex-start;
        width: 100%;
    }

    .news-archive-search-wrap {
        width: 100%;
    }

    .events-filters {
        display: none !important;
    }
}

/* Events Archive Controls (Search + Filters) */
.events-archive-controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.events-archive-search-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0;
}

.events-archive-search {
    max-width: 400px;
    width: 100%;
}

.events-archive-search .search-field {
    width: 100%;
    padding: 14px 20px 14px 48px;
    font-size: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat 16px center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.events-archive-search .search-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(190, 22, 34, 0.15);
}

.events-archive-search .search-field::placeholder {
    color: #999;
}

.events-date-range {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
}

.date-range-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.date-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    white-space: nowrap;
}

.date-input {
    padding: 10px 16px;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 160px;
    font-family: inherit;
}

.date-input:hover {
    border-color: var(--primary-color);
}

.date-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(190, 22, 34, 0.15);
}

.date-reset-btn {
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.date-reset-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(190, 22, 34, 0.05);
}

.events-archive-grid {
    margin-top: 0 !important;
}

.event-card-clickable {
    cursor: pointer;
    transition: opacity 0.4s ease, transform 0.4s ease, var(--transition);
    opacity: 1;
    transform: translateY(0);
}

.event-card-clickable:hover {
    transform: translateY(-4px);
}

@media (max-width: 768px) {
    .events-archive-controls {
        flex-direction: column;
    }

    .events-date-range {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .date-range-wrapper {
        width: 100%;
    }

    .date-input {
        flex: 1;
        width: 100%;
    }

    .date-reset-btn {
        width: 100%;
    }

    .events-archive-search-wrap {
        width: 100%;
    }
}

/* Sight Gallery */
.sight-gallery {
    margin-top: 40px;
}

.sight-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.sight-gallery-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/3;
    background: transparent;
    padding: 0;
    margin: 0;
}

.sight-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.sight-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    margin: 0;
    padding: 0;
}

/* Lightbox */
.sight-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sight-lightbox.active {
    display: flex;
    opacity: 1;
}

.sight-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sight-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.sight-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #333;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10001;
}

.sight-lightbox-close:hover {
    background: #fff;
}

.sight-lightbox-prev,
.sight-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: #333;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10001;
}

.sight-lightbox-prev {
    left: 20px;
}

.sight-lightbox-next {
    right: 20px;
}

.sight-lightbox-prev:hover,
.sight-lightbox-next:hover {
    background: #fff;
}

@media (max-width: 768px) {
    .sight-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .sight-lightbox-prev,
    .sight-lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .sight-lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* ========== ????????????? ????????????????????? ========== */

/* ?????? ?? ?????????: ????? ?????? ?? ??????? ????? */
.sight-card,
.sight-card-clickable {
    position: relative;
}
.sight-recommended-badge {
    position: absolute;
    top: 62px;
    right: 14px;
    background: linear-gradient(135deg, #FFD700 0%, #FFB300 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(255, 179, 0, 0.3);
    white-space: nowrap;
}

/* ???? ?? ???????? ????????????????????? */
.sight-recommended-block {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(190, 22, 34, 0.08) 0%, rgba(190, 22, 34, 0.04) 100%);
    border-radius: 12px;
    border: 1px solid rgba(190, 22, 34, 0.2);
    margin-bottom: 25px;
}

.sight-recommended-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
}

.sight-recommended-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

/* ??????? "???????? ????????????" */
.sights-archive-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.sights-archive-search-wrap {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.sights-archive-search {
    flex: 1;
    min-width: 200px;
}

.sights-recommended-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-gray);
    border-radius: 28px;
    transition: var(--transition);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.toggle-switch input:checked+.toggle-slider {
    background: var(--primary-color);
}

.toggle-switch input:checked+.toggle-slider::before {
    transform: translateX(24px);
}

.toggle-switch input:focus+.toggle-slider {
    box-shadow: 0 0 0 3px rgba(190, 22, 34, 0.2);
}

@media (max-width: 768px) {
    .sights-archive-search-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .sights-recommended-toggle {
        justify-content: space-between;
    }

    /* ?????? ??????? ????????? ????????? ?? ????????? */
    .events-navigation,
    .sights-footer .events-navigation,
    .routes-navigation {
        display: none !important;
        visibility: hidden !important;
    }

    /* ????????? ?????? ?????????? ?????? */
    .events-title,
    .sights-title,
    .routes-title,
    .section-title,
    .news-title {
        font-size: 24px !important;
        margin-bottom: 8px !important;
    }

    /* ????????? ?????????? ????? ??????? */
    .section {
        padding: 30px 0 !important;
        margin-bottom: 20px !important;
    }

    .page-header-spacer {
        display: none !important;
    }

    .sidebar-card {
        display: none !important;
    }

    /* ????????? ?????? hero banner */
    .hero.cinematic-hero {
        height: 60vh !important;
        min-height: 400px !important;
    }

    /* ????????? ???????? ???????? */
    .news-item {

        padding: 18px !important;
    }

    .news-item.active {
        height: 450px !important;
    }

    .news-img-box {
        margin-bottom: 15px !important;
    }

    .news-h3,
    .news-item.active .news-h3,
    .news-item:not(.active) .news-h3 {
        font-size: 16px !important;
        margin-bottom: 0 !important;
    }

    .news-desc,
    .news-date {
        display: none !important;
    }

    .news-content {
        display: block !important;
        flex-direction: unset !important;
        flex-grow: unset !important;
    }

    /* ????????? ?????? ???????? ? ????????? */
    .event-card,
    .sight-card,
    .route-card {
        height: 280px !important;
    }

    /* ????????? ?????????? ?? ????????? ?? ???????? ? ????????? */
    .routes-header {
        margin-bottom: 8px !important;
    }

    .event-name,
    .sight-name,
    .route-name {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }

    .events-footer,
    .sights-footer,
    .routes-footer,
    .news-footer {
        margin-top: 24px !important;
    }

    /* ????????? ??? ?????? */
    .btn,
    .btn-yellow,
    .btn-white-pill,
    .btn-primary,
    .btn-all-pill {
        padding: 10px 20px !important;
        font-size: 14px !important;
        border-radius: 20px !important;
    }

    .hero-action-buttons .btn {
        padding: 10px 18px !important;
        font-size: 13px !important;
    }
}

/* ========== ?????? - ?????????? ????????? ??? ????????? ========== */
@media (max-width: 768px) {

    /* ????????? ?????????? ?? ????????? ?? ?????? ? ??????? */
    .inner-hero {
        padding-bottom: 20px !important;
    }

    .page-title {
        font-size: 28px !important;
        margin-bottom: 16px !important;
    }

    .archive-description {
        margin-top: 12px !important;
        font-size: 14px !important;
    }

    /* ?????????? ???????? ? ??????? */
    .post-type-archive-event .event-card,
    .post-type-archive-sight .sight-card,
    .post-type-archive-route .route-card,
    .post-type-archive .news-card-clickable {
        height: 300px !important;
        margin-bottom: 16px !important;
    }

    /* ?????????? ??????? ? ??????? */
    .page-content {
        padding-bottom: 0px !important;
    }

    .sights-archive-grid,
    .events-grid,
    .routes-grid {
        margin-top: 16px !important;
        gap: 16px !important;
    }

    /* ?????????? ???????? ?????????? */
    .sights-archive-controls {
        margin-bottom: 24px !important;
    }

    .sights-filters {
        gap: 8px !important;
        margin-top: 16px !important;
    }

    .sight-filter-btn,
    .news-filter-btn,
    .event-filter-btn {
        padding: 8px 16px !important;
        font-size: 13px !important;
    }

    /* ?????????? ????????? */
    .pagination-wrapper {
        margin-top: 40px !important;
    }

    /* ?????? ????? ?????? (page-meta) ??? ?????????? ?? ????????? ????????? */
    .page-meta {
        display: none !important;
    }
}

/* ========================================
   ???????? ? ????????????
   ======================================== */
.partners-section {
    padding: 80px 0;
    background: #fff;
}

.partners-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-color);
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-item {
    width: 160px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    padding: 16px;
    transition: opacity 0.3s ease;
    box-shadow: none;
    flex-shrink: 0;
}

.partner-item:hover {
    transform: none;
    box-shadow: none;
}

.partner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.partner-item:hover .partner-logo,
.partner-link:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* ????????? ?????? ??? ????????? */
@media (max-width: 768px) {
    .partners-section {
        padding: 50px 0;
        background: #fff;
    }

    .partners-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .partners-grid {
        gap: 24px 20px;
        padding: 0 20px;
        justify-content: center;
    }

    .partner-item {
        width: 120px;
        height: 80px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        gap: 20px 16px;
    }

    .partner-item {
        max-width: 120px;
        height: 80px;
        padding: 10px;
    }
}

/* ========================================
   ?????????????? ????????
   ======================================== */
.info-page-content {
    padding: 60px 0 80px;
}

.info-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

.info-main-content {
    min-width: 0;
}

.info-rich-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
}

.info-rich-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--text-color);
    line-height: 1.3;
}

.info-rich-text h2:first-child {
    margin-top: 0;
}

.info-rich-text h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: var(--text-color);
    line-height: 1.4;
}

.info-rich-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.info-rich-text ul,
.info-rich-text ol {
    margin: 20px 0;
    padding-left: 30px;
    color: var(--text-light);
}

.info-rich-text li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.info-rich-text a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-rich-text a:hover {
    color: #8b0f18;
    text-decoration: underline;
}

.info-featured-image {
    margin-bottom: 40px;
    border-radius: var(--card-radius);
    overflow: hidden;
}

.info-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--card-radius);
}

.info-rich-text img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

.info-rich-text blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-light);
}

/* ??????? ?????? ?????????? */
.info-sidebar {
    position: sticky;
    top: 100px;
}

.info-sidebar-card {
    background: #fff;
    border-radius: var(--card-radius);
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    box-shadow: none !important;
}

.info-sidebar-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-gray);
}

.info-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.info-sidebar-link i {
    color: var(--primary-color);
    width: 18px;
    text-align: center;
}

.info-sidebar-link:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 16px;
}

.info-sidebar-link.active {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 16px;
    font-weight: 600;
}

.info-sidebar-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-sidebar-link-small {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.info-sidebar-link-small i {
    color: var(--primary-color);
    width: 18px;
    text-align: center;
}

.info-sidebar-link-small:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 16px;
}

.info-sidebar-link-small.active {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 16px;
    font-weight: 600;
}

/* ????????? ?????? ?????????????? ??????? */
@media (max-width: 768px) {
    .info-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .info-sidebar {
        position: static;
        order: -1;
    }

    .info-sidebar-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .info-sidebar-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .info-rich-text h2 {
        font-size: 26px;
        margin: 30px 0 15px;
    }

    .info-rich-text h3 {
        font-size: 20px;
        margin: 25px 0 12px;
    }

    .info-featured-image {
        margin-bottom: 30px;
    }

    .info-sidebar-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .info-sidebar-link {
        font-size: 14px;
        padding: 10px 12px;
    }
}

/* ============================================
   ????? ??????????
   ============================================ */

.info-archive-content {
    padding: 60px 0;
    width: 100%;
}

.info-archive-content>.container {
    width: 100%;
    max-width: 1400px;
    padding-left: 40px;
    padding-right: 40px;
    margin: 0 auto;
}

.info-archive-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.info-archive-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    box-shadow: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.info-archive-card:hover {
    transform: translateY(-5px);
    border-color: #d0d0d0;
    box-shadow: none !important;
}

.info-archive-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    text-decoration: none;
    color: inherit;
}

.info-archive-image {
    width: 100%;
    height: 220px;
    min-height: 220px;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
    flex-shrink: 0;
}

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

.info-archive-card:hover .info-archive-image img {
    transform: scale(1.05);
}

.info-archive-icon-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #d32f2f 100%);
}

.info-archive-icon-placeholder i {
    font-size: 64px;
    color: #fff;
    opacity: 0.9;
}


.info-archive-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.info-archive-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.info-archive-excerpt {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 16px 0;
    flex-grow: 1;
    overflow: hidden;
}

.info-archive-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: auto;
    transition: gap 0.3s ease;
}

.info-archive-card:hover .info-archive-more {
    gap: 12px;
}

.info-archive-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.info-archive-card:hover .info-archive-more i {
    transform: translateX(4px);
}


/* ????????? ?????? ?????? ?????????? */
@media (max-width: 768px) {
    .info-archive-content {
        padding: 40px 0;
    }

    .info-archive-content>.container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .info-archive-grid {
        gap: 20px;
        margin-top: 30px;
    }

    .info-archive-image {
        height: 180px;
    }

    .info-archive-title {
        font-size: 18px;
    }

    .info-archive-excerpt {
        font-size: 14px;
    }
}

/* ============================================
   ????? ??? ?????? ? ????????
   ============================================ */

/* ????????? ? ??????? */
.content-rich-text h1,
.content-rich-text h2,
.content-rich-text h3,
.content-rich-text h4,
.content-rich-text h5,
.content-rich-text h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.wp-block-post-content h1,
.wp-block-post-content h2,
.wp-block-post-content h3,
.wp-block-post-content h4,
.wp-block-post-content h5,
.wp-block-post-content h6 {
    font-family: 'TikTok Sans', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color);
    margin-top: 40px;
    margin-bottom: 20px;
}

.content-rich-text h1,
.entry-content h1,
.wp-block-post-content h1,
.info-rich-text h1,
.info-main-content h1 {
    font-size: 36px;
    font-weight: 800;
    margin-top: 50px;
    margin-bottom: 25px;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 15px;
}

.content-rich-text h2,
.entry-content h2,
.wp-block-post-content h2,
.info-rich-text h2,
.info-main-content h2,
.wp-block-heading h2 {
    font-size: 30px;
    font-weight: 700;
    margin-top: 45px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
}

.content-rich-text h3,
.entry-content h3,
.wp-block-post-content h3,
.info-rich-text h3,
.info-main-content h3,
.wp-block-heading h3 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 18px;
    color: var(--primary-color);
}

.content-rich-text h4,
.entry-content h4,
.wp-block-post-content h4,
.info-rich-text h4,
.info-main-content h4 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
}

.content-rich-text h5,
.entry-content h5,
.wp-block-post-content h5,
.info-rich-text h5,
.info-main-content h5 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 12px;
}

.content-rich-text h6,
.entry-content h6,
.wp-block-post-content h6,
.info-rich-text h6,
.info-main-content h6 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--text-light);
}

/* ????????? ? ??????? */
.content-rich-text p,
.entry-content p,
.wp-block-post-content p,
.info-rich-text p,
.info-main-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

/* ?????? ? ??????? */
.content-rich-text ul,
.content-rich-text ol,
.entry-content ul,
.entry-content ol,
.wp-block-post-content ul,
.wp-block-post-content ol,
.info-rich-text ul,
.info-rich-text ol,
.info-main-content ul,
.info-main-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content-rich-text ul li,
.content-rich-text ol li,
.entry-content ul li,
.entry-content ol li,
.wp-block-post-content ul li,
.wp-block-post-content ol li,
.info-rich-text ul li,
.info-rich-text ol li,
.info-main-content ul li,
.info-main-content ol li {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 10px;
}

.content-rich-text ul li::marker,
.entry-content ul li::marker,
.wp-block-post-content ul li::marker,
.info-rich-text ul li::marker,
.info-main-content ul li::marker {
    color: var(--primary-color);
}

/* ?????? ? ??????? */
.content-rich-text a,
.entry-content a,
.wp-block-post-content a,
.info-rich-text a,
.info-main-content a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.content-rich-text a:hover,
.entry-content a:hover,
.wp-block-post-content a:hover,
.info-rich-text a:hover,
.info-main-content a:hover {
    color: #d32f2f;
}

/* ??????????? ? ??????? */
.content-rich-text img,
.entry-content img,
.wp-block-post-content img,
.info-rich-text img,
.info-main-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
}

/* ????? ????? WordPress */
.content-rich-text blockquote,
.entry-content blockquote,
.wp-block-post-content blockquote,
.wp-block-quote,
.info-rich-text blockquote,
.info-main-content blockquote {
    margin: 40px 0;
    padding: 30px 40px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    font-style: italic;
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-color);
    position: relative;
}

.content-rich-text blockquote p,
.entry-content blockquote p,
.wp-block-post-content blockquote p,
.wp-block-quote p,
.info-rich-text blockquote p,
.info-main-content blockquote p {
    margin-bottom: 15px;
    font-size: 20px;
}

.content-rich-text blockquote cite,
.entry-content blockquote cite,
.wp-block-post-content blockquote cite,
.wp-block-quote cite,
.info-rich-text blockquote cite,
.info-main-content blockquote cite {
    display: block;
    font-size: 16px;
    font-style: normal;
    color: var(--text-light);
    margin-top: 15px;
}

.content-rich-text blockquote cite::before,
.entry-content blockquote cite::before,
.wp-block-post-content blockquote cite::before,
.wp-block-quote cite::before,
.info-rich-text blockquote cite::before,
.info-main-content blockquote cite::before {
    content: '? ';
    color: var(--primary-color);
    font-weight: bold;
}

/* ??? ? ??????? */
.content-rich-text code,
.entry-content code,
.wp-block-post-content code {
    background: var(--bg-light);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    color: var(--primary-color);
}

.content-rich-text pre,
.entry-content pre,
.wp-block-post-content pre {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 30px 0;
    border-left: 4px solid var(--primary-color);
}

.content-rich-text pre code,
.entry-content pre code,
.wp-block-post-content pre code {
    background: transparent;
    padding: 0;
    color: var(--text-color);
}

/* ??????? ? ??????? */
.content-rich-text table,
.entry-content table,
.wp-block-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
}

.content-rich-text table th,
.content-rich-text table td,
.entry-content table th,
.entry-content table td,
.wp-block-post-content table th,
.wp-block-post-content table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--bg-gray);
}

.content-rich-text table th,
.entry-content table th,
.wp-block-post-content table th {
    background: var(--bg-light);
    font-weight: 700;
    color: var(--text-color);
}

.content-rich-text table tr:hover,
.entry-content table tr:hover,
.wp-block-post-content table tr:hover {
    background: var(--bg-light);
}

/* ????????? ?????? ?????? ?????? */
@media (max-width: 768px) {

    .content-rich-text h1,
    .entry-content h1,
    .wp-block-post-content h1,
    .info-rich-text h1,
    .info-main-content h1 {
        font-size: 28px;
        margin-top: 35px;
        margin-bottom: 20px;
    }

    .content-rich-text h2,
    .entry-content h2,
    .wp-block-post-content h2,
    .info-rich-text h2,
    .info-main-content h2 {
        font-size: 24px;
        margin-top: 30px;
        margin-bottom: 15px;
        padding-left: 15px;
    }

    .content-rich-text h3,
    .entry-content h3,
    .wp-block-post-content h3,
    .info-rich-text h3,
    .info-main-content h3 {
        font-size: 20px;
        margin-top: 25px;
        margin-bottom: 12px;
    }

    .content-rich-text p,
    .entry-content p,
    .wp-block-post-content p,
    .info-rich-text p,
    .info-main-content p {
        font-size: 16px;
    }

    .content-rich-text blockquote,
    .entry-content blockquote,
    .wp-block-post-content blockquote,
    .wp-block-quote,
    .info-rich-text blockquote,
    .info-main-content blockquote {
        padding: 20px 25px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .info-sidebar-nav {
        grid-template-columns: 1fr;
    }

    .info-rich-text {
        font-size: 15px;
    }

    .info-rich-text h2 {
        font-size: 22px;
    }

    .info-rich-text h3 {
        font-size: 18px;
    }
}

/* ????? ?????????????? ??????? */
.info-archive-content {
    padding: 60px 0 80px;
}

.info-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.info-archive-card {
    background: #fff;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.info-archive-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.info-archive-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
}

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

.info-archive-card:hover .info-card-image {
    transform: scale(1.05);
}

.info-archive-content {
    padding: 25px;
}

.info-archive-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
    line-height: 1.3;
}

.info-archive-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.info-archive-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    transition: gap 0.3s ease;
}

.info-archive-card:hover .info-archive-more {
    gap: 12px;
}

.info-archive-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.info-archive-card:hover .info-archive-more i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .info-archive-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .info-archive-image {
        height: 180px;
    }

    .info-archive-content {
        padding: 20px;
    }

    .info-archive-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .info-archive-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ????????? ???? ??????
   ============================================ */

.murom-quote-block,
.wp-block-murom-quote {
    margin: 40px 0;
    padding: 0;
    position: relative;
}

.murom-quote-content {
    background: var(--bg-light);
    padding: 40px 50px;
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    position: relative;
    margin: 0;
}

.murom-quote-content::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    line-height: 1;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    font-weight: bold;
}

.murom-quote-content p {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-color);
    margin: 0 0 20px 0;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.murom-quote-author {
    display: block;
    font-size: 16px;
    color: var(--text-light);
    font-style: normal;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.murom-quote-author::before {
    content: '? ';
    color: var(--primary-color);
    font-weight: bold;
}

/* ?????? sidebar-card ?? ???????? ?????? */
.single .sidebar-card {
    display: none !important;
}

/* ????????? ?????? ????? ?????? */
@media (max-width: 768px) {
    .murom-quote-content {
        padding: 30px 25px;
    }

    .murom-quote-content::before {
        font-size: 60px;
        top: 15px;
        left: 15px;
    }

    .murom-quote-content p {
        font-size: 18px;
    }
}

/* Partners Section - ?????? ????????? */
.partners-section {
    padding: 80px 0;
    background: #fff !important;
    background-color: #fff !important;
}

.partners-section .container {
    background: transparent !important;
    background-color: transparent !important;
}

.partners-title {
    font-size: 48px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 60px;
    text-align: center;
    color: var(--text-color);
}

.partners-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 32px 56px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    background: transparent !important;
    background-color: transparent !important;
}

.partner-item {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: auto !important;
    height: auto;
    padding: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    background: transparent !important;
    background-color: transparent !important;
    border-radius: 12px;
    border: none !important;
    box-shadow: none !important;
}

.partner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: transform 0.3s ease;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.partner-item:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partner-item:hover {
    transform: translateY(-5px);
}

/* ???????????? ??? ????????? */
@media (max-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 30px 40px;
    }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 60px 0;
    }

    .partners-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 30px 20px;
    }

    .partner-item {
        height: 100px;
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .partners-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 15px;
    }

    .partner-item {
        height: 90px;
        padding: 10px;
    }
}

/* Content Grid ??? ??????? ? ????????? */
.content-grid {
    display: grid !important;
    grid-template-columns: 1fr 350px !important;
    gap: 60px !important;
    align-items: start !important;
}

.content-main {
    min-width: 0;
}

.content-sidebar {
    position: sticky;
    top: 100px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 350px !important;
}

.sidebar-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: none !important;
    border: none !important;
    display: block !important;
    visibility: visible !important;
}

/* ???????????? ??? content-grid */
@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 1fr 300px;
        gap: 40px;
    }
}

@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 1fr 300px !important;
        gap: 40px !important;
    }

    .content-sidebar {
        width: 300px !important;
    }
}

@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .content-sidebar {
        position: static !important;
        width: 100% !important;
    }
}

/* ????? ??? ?????? share ?? ???????? ????????????????????? */
.sight-share-block {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sight-share-block .share-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

.sight-share-block .share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
    font-size: 18px;
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

.sight-share-block .share-btn:hover {
    background: #a0121c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(190, 22, 34, 0.3);
    color: #fff;
}

.sight-share-block .share-btn i {
    margin: 0;
    padding: 0;
}

/* ??????? ???????????? ?????? ?? ?????? ??? share-????? */
.sight-share-block * {
    box-sizing: border-box;
}

.sight-share-block a {
    text-decoration: none;
    color: inherit;
}

.sight-share-block span {
    display: inline-block;
}

/* ??????? ?????????????????????? */
.sight-gallery {
    margin-top: 40px;
}

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

.sight-gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: transparent !important;
    box-shadow: none !important;
    transition: opacity 0.3s ease;
    aspect-ratio: 4 / 3;
    /* ??????? ????? transform ??????? */
    transform: none !important;
}

.sight-gallery-item:hover {
    opacity: 0.9;
    /* ??????? ????????? ???????? */
    transform: none !important;
}

.sight-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
    /* ??????? ????? transform ??????? ?? ??????????? */
    transform: none !important;
}

.sight-gallery-item:hover img {
    opacity: 0.9;
    transform: none !important;
}

@media (max-width: 768px) {
    .sight-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 576px) {
    .sight-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Исправление: ориентация текста в single-sight на мобильных */
@media (max-width: 768px) {

    .single-sight .content-main,
    .single-sight .content-rich-text {
        min-width: 0;
        width: 100%;
    }

    .single-sight .content-rich-text img {
        max-width: 100%;
        height: auto;
    }

    .single-sight .page-title,
    .single-sight .content-rich-text p,
    .single-sight .content-rich-text h1,
    .single-sight .content-rich-text h2,
    .single-sight .content-rich-text h3,
    .single-sight .content-rich-text h4 {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
    }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   GPU-composited анимации для PageSpeed
   ============================================ */

.hero-bg-image {
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.event-card,
.sight-card,
.route-card,
.news-item {
    will-change: transform;
    backface-visibility: hidden;
}

/* scroll-anim: только will-change, без transform (не конфликтует с translateY reveal) */
.scroll-anim {
    will-change: opacity, transform;
}

.scroll-anim.visible {
    will-change: auto;
}

.mega-menu {
    will-change: opacity;
    backface-visibility: hidden;
}

.btn,
.btn-white-pill,
.btn-yellow,
.btn-all-pill,
.nav-btn {
    will-change: transform;
    backface-visibility: hidden;
}


/* =============================================
   HERO — Globe Express style redesign
   ============================================= */

/* Высота и базовые свойства */
.hero.cinematic-hero {
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}

/* Градиент: сильнее слева снизу */
.hero.cinematic-hero .hero-overlay-dark {
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.15) 100%),
        linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

/* Обёртка контента — центрирование по стилю Capsule */
.hero-content-wrap {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 40px 40px;
    box-sizing: border-box;
    gap: 0;
}

/* Огромный центрированный заголовок */
.hero-city-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.0;
    text-transform: none;
    color: #fff;
    margin: 0 0 0;
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero-gold-ring-logo {
    height: 70px;
    width: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
    z-index: 20;
    position: relative;
}

/* ===== HERO CINEMATIC ANIMATIONS ===== */

/* Заголовок: появение снизу + blur + letter-spacing */
@keyframes heroCinemaTitle {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.97);
        filter: blur(12px);
        letter-spacing: 0.4em;
    }

    40% {
        opacity: 0.8;
        filter: blur(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
        letter-spacing: -0.03em;
    }
}

/* Подзаголовок и кнопки: плавное появление снизу */
@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Класс для анимации заголовка */
.hero-city-title--anim {
    opacity: 0;
    animation: heroCinemaTitle 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

/* Класс для плавного появления остальных элементов */
.hero-anim-fadein {
    opacity: 0;
    animation: heroFadeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Офф для тех, у кого prefer-reduced-motion */
@media (prefers-reduced-motion: reduce) {

    .hero-city-title--anim,
    .hero-anim-fadein {
        animation: none;
        opacity: 1;
    }
}


/* Typewriter — строка набора */
.hero-type-line {
    display: inline;
}

/* Typewriter — мигающий курсор */
@keyframes heroCursorBlink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

.hero-type-cursor {
    display: inline-block;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    margin-left: 2px;
    animation: heroCursorBlink 0.75s step-end infinite;
}

/* Подзаголовок под карточками */
.hero-city-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.65;
    margin: 28px auto 0;
    max-width: 420px;
    text-align: center;
}

/* CTA кнопки */
.hero-city-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 24px;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color, #be1622);
    color: #fff;
    padding: 13px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.hero-btn-primary:hover {
    background: #a01320;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(190, 22, 34, 0.5);
    color: #fff;
}

.hero-btn-primary i {
    font-size: 11px;
}

.hero-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 13px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.hero-btn-outline:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
}

/* ---- НИЖНИЙ РЯД — карточки + контролы ---- */
.hero-bottom-row {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    align-self: flex-end;
    margin-left: auto;
    width: 60%;
    min-width: 320px;
}

/* Ряд карточек мест */
.hero-places-row {
    display: flex;
    gap: 14px;
    overflow: visible;
    align-items: flex-end;
}

/* Карточка одного места */
.hero-place-card {
    position: relative;
    flex: 0 0 160px;
    height: 220px;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero-place-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.hero-place-img,
.hero-place-img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.hero-place-card:hover .hero-place-img {
    transform: scale(1.06);
}

.hero-place-img-placeholder {
    background: linear-gradient(135deg, #2a2a2a, #444);
}

/* Тёмный градиент поверх карточки */
.hero-place-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 60%);
    border-radius: 14px;
    pointer-events: none;
}

/* Текст на карточке */
.hero-place-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 12px;
    z-index: 2;
}

.hero-place-region {
    display: block;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;

    /* декоративная черточка */
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-place-name {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.3;
    color: #fff;
    margin: 0;
}

/* ---- СТРОКА УПРАВЛЕНИЯ ---- */
.hero-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hero-nav-btns {
    display: flex;
    gap: 10px;
}

.hero-nav-btns .slider-btn,
.hero-slide-counter .slider-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.hero-nav-btns .slider-btn:hover,
.hero-slide-counter .slider-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.65);
    transform: scale(1.08);
}

.hero-slide-counter {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    position: static;
    color: rgba(255, 255, 255, 0.55);
}

.hero-slide-counter .slider-counter {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.hero-slide-counter .slider-counter.total {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
}

.hero-slide-counter .slider-divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

/* Скрыть устаревшие элементы */
.hero.cinematic-hero .hero-centered-content,
.hero.cinematic-hero .hero-slider-controls,
.hero.cinematic-hero .hero-play-video,
.hero.cinematic-hero .hero-text-group,
.hero-scroll-hint,
.hero-bottom-bar,
.hero-left-block,
.hero-card-right,
.hero-logo-img {
    display: none !important;
}

/* ---- АДАПТИВ ---- */
@media (max-width: 1100px) {
    .hero-content-wrap {
        padding: 48px 40px 32px;
    }

    .hero-place-card {
        flex: 0 0 140px;
        height: 200px;
    }

    .hero-bottom-row {
        width: 55%;
    }
}

@media (max-width: 900px) {
    .hero.cinematic-hero {
        height: 80vh;
    }

    .hero-content-wrap {
        padding: 40px 24px 28px;
    }

    .hero-bottom-row {
        width: 100%;
        align-self: stretch;
        margin-left: 0;
    }

    .hero-places-row {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .hero-places-row::-webkit-scrollbar {
        display: none;
    }

    .hero-place-card {
        flex: 0 0 130px;
        height: 180px;
    }
}

@media (max-width: 600px) {
    .hero.cinematic-hero {
        height: 85vh;
    }

    .hero-content-wrap {
        padding: 32px 18px 22px;
        justify-content: flex-end;
    }

    .hero-main-left {
        margin-top: 0;
        padding-bottom: 12px;
    }

    .hero-city-title {
        font-size: clamp(40px, 12vw, 60px);
    }

    .hero-city-desc {
        display: none;
    }

    .hero-place-card {
        flex: 0 0 110px;
        height: 160px;
    }
}



/* =============================================
   HERO FLOATING CARDS (Capsule style)
   ============================================= */

/* Навигация слайдера по центру снизу */
.hero-bottom-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

/* 3 плавающих карточки */
.hero-float-cards {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    justify-content: center;
    margin: 28px 0 0;
    position: relative;
    z-index: 3;
}

.hero-float-card {
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 18px;
    width: 210px;
    color: #111;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease;
    text-decoration: none;
}

.hero-float-card--left {
    transform: rotate(-6deg) translateY(14px);
}

.hero-float-card--left:hover {
    transform: rotate(-3deg) translateY(6px) scale(1.03);
}

.hero-float-card--center {
    transform: translateY(-8px);
    z-index: 4;
    width: 230px;
    padding: 0 0 16px;
    overflow: hidden;
}

.hero-float-card--center:hover {
    transform: translateY(-16px) scale(1.02);
}

.hero-float-card--right {
    transform: rotate(6deg) translateY(14px);
}

.hero-float-card--right:hover {
    transform: rotate(3deg) translateY(6px) scale(1.03);
}

.hfc-icon {
    font-size: 28px;
    line-height: 1;
}

.hfc-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hfc-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    font-weight: 500;
}

.hfc-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.35;
}

.hfc-sub {
    font-size: 11px;
    color: #aaa;
    margin-top: 2px;
}

.hfc-btn {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    background: #1a1a1a;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    align-self: flex-start;
}

.hfc-btn:hover {
    background: var(--primary-color, #be1622);
    color: #fff;
}

.hfc-img-wrap {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.hfc-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.hero-float-card--center:hover .hfc-img-wrap img {
    transform: scale(1.06);
}

.hfc-img-badge {
    position: absolute;
    bottom: 8px;
    left: 10px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.hero-float-card--center .hfc-content {
    padding: 12px 14px 2px;
}

@media (max-width: 900px) {
    .hero-float-cards {
        gap: 10px;
    }

    .hero-float-card {
        width: 170px;
    }

    .hero-float-card--center {
        width: 190px;
    }
}

@media (max-width: 600px) {
    .hero-float-cards {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 16px;
    }

    .hero-float-card,
    .hero-float-card--left,
    .hero-float-card--center,
    .hero-float-card--right {
        transform: none !important;
        width: 100%;
        max-width: 280px;
    }
}

/* =============================================
   NEWS CAROUSEL — Карусель новостей с фото
   ============================================= */

.news-carousel-section {
    padding: 72px 0 80px;
    background: #fff;
}

/* Заголовок */
.news-carousel-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 32px;
}

.news-carousel-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0;
    text-transform: uppercase;
    color: #1a1a1a;
}

.news-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #444;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.news-nav-btn:hover {
    background: var(--primary-color, #be1622);
    border-color: var(--primary-color, #be1622);
    color: #fff;
}

.news-nav-btn i {
    font-size: 12px;
}

.news-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-color, #be1622);
    text-decoration: none;
    transition: gap 0.2s;
    white-space: nowrap;
}

.news-all-link:hover {
    gap: 10px;
}

.news-all-link i {
    font-size: 11px;
}

/* Footer с кнопками — под карусельным треком справа */
.news-carousel-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.news-carousel-controls {
    display: flex;
    gap: 12px;
}

.news-carousel-track-wrap {
    overflow: hidden;
}

.news-carousel-track {
    display: flex;
    gap: 18px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Карточка */
.news-card {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #efefef;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.22s, box-shadow 0.22s;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
}

/* Фото */
.news-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f0f0f0;
}

.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.news-card:hover .news-card-img {
    transform: scale(1.04);
}

/* Заглушка при отсутствии фото */
.news-card-img-placeholder {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

/* Тег поверх фото */
.news-card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-color, #be1622);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 6px 12px;
    border-radius: 6px;
    z-index: 2;
}

/* Контент карточки */
.news-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 18px 18px;
    gap: 8px;
}

.news-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.45;
    margin: 0;
    flex: 1;
    transition: color 0.15s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card:hover .news-card-title {
    color: var(--primary-color, #be1622);
}

.news-card-date {
    font-size: 12px;
    color: #aaa;
    margin-top: auto;
}

/* Адаптив */
@media (max-width: 768px) {
    .news-carousel-header {
        flex-wrap: wrap;
    }

    .news-card {
        flex: 0 0 240px;
    }
}

@media (max-width: 480px) {
    .news-card {
        flex: 0 0 200px;
    }
}

/* =============================================
   MUROM FACTS — блок с фактами о городе
   ============================================= */

.murom-facts-section {
    padding: 80px 0;
    background: #f8f8f8;
    border-top: 1px solid #efefef;
}

.murom-facts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.murom-facts-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 28px;
}

.murom-facts-title span {
    color: var(--primary-color, #be1622);
}

.murom-facts-desc {
    font-size: 16px;
    color: var(--text-light, #555);
    line-height: 1.7;
    max-width: 420px;
}

.murom-facts-right {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.murom-fact-item {
    display: flex;
    gap: 20px;
    align-items: center;
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.murom-fact-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    background: rgba(190, 22, 34, 0.05);
    border-radius: 50%;
    font-size: 28px;
}

.murom-fact-text {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .murom-facts-grid {
        gap: 48px;
    }

    .murom-facts-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .murom-facts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .murom-facts-right {
        grid-template-columns: 1fr 1fr;
        gap: 24px 32px;
    }

    .murom-facts-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .murom-facts-right {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =============================================
   EVENTS & SIGHTS — горизонтальная карусель
   ============================================= */

/* Events */
.events-grid {
    display: flex;
    gap: 18px;
    overflow: hidden;
    /* JS будет двигать через translateX */
    flex-wrap: nowrap;
    cursor: grab;
}

.events-grid:active {
    cursor: grabbing;
}

.event-card {
    flex: 0 0 260px;
    min-width: 260px;
}

/* Sights */
.sights-grid {
    display: flex;
    gap: 18px;
    overflow: hidden;
    flex-wrap: nowrap;
    cursor: grab;
}

.sights-grid:active {
    cursor: grabbing;
}

.sight-card {
    flex: 0 0 260px;
    min-width: 260px;
}

/* Общая обёртка-трек (добавим JS) уже работает через overflow hidden */
.events-track-wrap,
.sights-track-wrap {
    overflow: hidden;
    width: 100%;
}

/* Hero content wrap — принудительно в центре экрана */
.hero-content-wrap {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 100%;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
}

.hero-content-left {
    text-align: left;
    align-items: flex-start;
    justify-content: flex-end;
    height: 85vh;
    /* Push content to bottom left */
    padding-bottom: 10vh;
}

.hero.cinematic-hero {
    width: auto;
    margin: 0 20px 20px 20px;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    color: #fff;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.hero-city-title {
    font-size: 110px;
    font-weight: 800;
    line-height: 0.95;
    color: #fff;
    margin-bottom: 50px;
    letter-spacing: -0.04em;
    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.hero-region-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 1);
    margin-bottom: 50px;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.btn-pill-white {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    color: #1a1a1a;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 15px;
    margin-bottom: 10px;
}

.btn-pill-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-pill-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.hero.cinematic-hero .hero-bottom-nav.hero-nav-left {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 100;
}


.hero-desc-wrap {
    max-width: 600px;
    line-height: 1.6;
    font-size: 18px;
    opacity: 0.9;
}

.btn-pill-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-arrow {
    margin-left: 12px;
    font-size: 18px;
}

.hero-scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    color: #fff;
    font-size: 24px;
    animation: bounce 2s infinite;
    opacity: 0.8;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}



@media (max-width: 1024px) {
    .hero-gold-ring-logo {
        width: 180px;
        margin-bottom: 30px;
    }

    .hero-city-title {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .hero-city-title {
        font-size: 54px;
    }

    .hero-region-text {
        font-size: 14px;
    }
}

/* --- Simple Cards Grid --- */
.grid-footer {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding-bottom: 20px;
}

.btn-more-red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: #fff;
    padding: 14px 35px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-more-red:hover {
    background-color: #a1131d;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(190, 22, 34, 0.4);
    color: #fff;
}

.simple-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 30px;
}

@media (max-width: 1200px) {
    .simple-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .simple-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.simple-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0;
    cursor: pointer;
    transition: none;
    box-shadow: none;
}

.simple-card:hover .simple-card-image {
    transform: scale(1.04);
}

.simple-card-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 20px;
    background: #e8e8e8;
    flex-shrink: 0;
}

.simple-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 20px;
}

/* Hover handled on image directly */

.simple-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    z-index: 3;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    white-space: nowrap;
}

/* Bookmark icon — top-right inside image */
.simple-card-bookmark {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    font-size: 16px;
    color: #1a1a1a;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.simple-card-bookmark:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    color: #1a1a1a;
}

.simple-card-body {
    padding: 16px 4px 4px;
    background: transparent;
    flex-grow: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    justify-content: flex-start;
}

.simple-card-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
    line-height: 1;
    letter-spacing: -0.05em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
    width: 100%;
}

/* Meta row: date left, avatars right */
.simple-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: -6px;
}

.simple-card-date {
    font-size: 14px;
    color: #888;
    font-weight: 300;
}



/* Global Reset for large screen dirty borders */
html,
body {
    box-shadow: none !important;
    margin: 0;
    padding: 0;
    background-image: none !important;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Feel Murom Redesign */
.feel-murom {
    background: #fff;
    overflow: hidden;
    position: relative;
    padding: 0;
    margin: 0 20px 20px 20px;
    border-radius: 20px;
}

.feel-split-grid {
    display: flex;
    min-height: 600px;
    width: 100%;
}

.feel-split-text {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 60px;
    background: #fff;
    z-index: 2;
    text-align: center;
}

.feel-split-inner {
    max-width: 540px;
    width: 100%;
}

.feel-header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.feel-title {
    font-size: 52px;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #1a1a1a;
    text-transform: uppercase;
}

.feel-desc {
    font-size: 17px;
    line-height: 1.65;
    color: #555;
    margin-bottom: 40px;
}

.feel-murom-vk {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    color: #222222;
    padding: 10px 44px 10px 10px;
    /* Balanced top/bottom, generous right for pill shape */
    border-radius: 50px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    border: 1px solid #efefef;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.feel-murom-vk i {
    width: 40px;
    height: 40px;
    background: #0077ff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 20px;
    transition: none !important;
    /* Icon stays static */
}

.feel-murom-vk:hover {
    border-color: #e0e0e0;
    background: #fafafa;
    transform: none;
    /* No lifting per image style focus */
    color: #222222;
}

.feel-murom-vk:hover i {
    background: #0077ff !important;
    color: #fff !important;
}

.feel-split-image {
    flex: 1;
    position: relative;
    min-height: 600px;
    border-radius: 20px;
    overflow: hidden;
    margin: 00px 0px 20px 0;
}

.feel-split-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1200px) {
    .feel-title {
        font-size: 42px;
    }
}

@media (max-width: 992px) {
    .feel-split-grid {
        flex-direction: column;
    }

    .feel-split-text {
        justify-content: center;
        padding: 60px 40px;
    }

    .feel-split-inner {
        max-width: 100%;
    }

    .feel-split-image {
        height: 450px;
        min-height: 450px;
    }
}

/* =============================================
   BOOKMARKS (FAVORITES)
   ============================================= */
.header-bookmarks-btn {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 15px;
    transition: transform 0.2s ease;
    z-index: 101;
}

.header-bookmarks-btn i {
    font-size: 20px;
    color: #1a1a1a;
    transition: color 0.3s;
}

.header.scrolled .header-bookmarks-btn i {
    color: #1a1a1a;
}

/* On transparent header (home page top) */
.header:not(.scrolled) .header-bookmarks-btn i {
    color: #fff;
}

.header-bookmarks-btn:hover {
    transform: scale(1.1);
}

.bookmarks-count {
    position: absolute;
    top: 5px;
    right: 2px;
    background: #be1622;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #fff;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.bookmarks-count.visible {
    opacity: 1;
    transform: scale(1);
}

/* Drawer */
.bookmarks-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.bookmarks-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.bookmarks-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    height: 100%;
    background: #fff;
    z-index: 2001;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 600px) {
    .bookmarks-drawer {
        width: 100%;
    }
}

.bookmarks-drawer.active {
    transform: translateX(0);
}

.bookmarks-drawer-header {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
}

.bookmarks-drawer-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1a1a1a;
}

.bookmarks-drawer-title i {
    color: #be1622;
}

.bookmarks-drawer-close {
    background: #f5f5f5;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
}

.bookmarks-drawer-close:hover {
    background: #eee;
    color: #000;
    transform: rotate(90deg);
}

.bookmarks-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px 24px 20px;
}

.bookmarks-empty {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #999;
    padding: 0 20px;
}

.bookmarks-empty i {
    font-size: 50px;
    margin-bottom: 24px;
    color: #eee;
}

.bookmarks-empty p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.bookmarks-drawer-footer {
    padding: 16px 24px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bookmarks-footer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-pdf {
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-pdf:hover {
    background: #333;
}

.btn-clear-all {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-clear-all:hover {
    background: #be1622;
    color: #fff;
    border-color: #be1622;
}

/* Bookmark Item */
.bookmark-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
}

.bookmark-item:last-child {
    border-bottom: none;
}

.bookmark-item-img-wrap {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
}

.bookmark-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bookmark-item:hover .bookmark-item-img {
    transform: scale(1.1);
}

.bookmark-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.bookmark-item-type {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: #be1622;
    margin-bottom: 2px;
}

.bookmark-item-title {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bookmark-item-title a {
    text-decoration: none;
    color: #1a1a1a;
    transition: color 0.2s;
}

.bookmark-item-title a:hover {
    color: #be1622;
}

.bookmark-item-meta {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bookmark-item-meta i {
    font-size: 10px;
}

.bookmark-item-category {
    font-size: 11px;
    background: #f9f9f9;
    color: #666;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 6px;
    display: inline-block;
    align-self: flex-start;
}

.bookmark-item-remove {
    position: absolute;
    top: 15px;
    right: -10px;
    background: #fff;
    border: 1px solid #eee;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s ease;
}

.bookmark-item:hover .bookmark-item-remove {
    opacity: 1;
    right: 0;
    transform: scale(1);
}

.bookmark-item-remove:hover {
    color: #be1622;
    background: #fdf2f2;
    border-color: #fce4e4;
}

/* Simple Card Bookmark State */
.simple-card-bookmark.active {
    background: #be1622 !important;
    color: #fff !important;
}

.simple-card-bookmark.active i {
    font-weight: 900;
}

.sight-card-trigger,
.event-card-trigger {
    cursor: pointer;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.breadcrumbs {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}


.hero.cinematic-hero {
    margin-bottom: 40px;
}

.simple-card {
    outline: none !important;
}

/* ─── Пагинация архивов ──────────────────────────────────────────────── */

.pagination-wrapper {
    margin-top: 72px !important;
    margin-bottom: 72px;
    display: flex !important;
    justify-content: center !important;
}

.pagination-wrapper .nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Все ссылки и span */
.pagination-wrapper .nav-links a,
.pagination-wrapper .nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 8px;
    border-radius: 10px;
    font-family: var(--font-heading, sans-serif);
    font-size: 15px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    background: transparent;
    border: 1.5px solid transparent;
    transition: all 0.2s ease;
    line-height: 1;
}

/* Hover */
.pagination-wrapper .nav-links a:hover {
    color: var(--primary-color, #be1622);
    border-color: rgba(190, 22, 34, 0.2);
    background: rgba(190, 22, 34, 0.04);
}

/* Активная страница */
.pagination-wrapper .nav-links .current {
    color: var(--primary-color, #be1622);
    border-color: var(--primary-color, #be1622);
    background: rgba(190, 22, 34, 0.06);
    font-weight: 700;
}

/* Многоточие */
.pagination-wrapper .nav-links .dots {
    border-color: transparent;
    background: transparent;
    color: #aaa;
    min-width: 28px;
    letter-spacing: 1px;
}

/* Кнопки Предыдущая / Следующая */
.pagination-wrapper .nav-links .prev,
.pagination-wrapper .nav-links .next {
    min-width: auto;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    gap: 6px;
    color: #333;
    border-color: #e0e0e0;
}

.pagination-wrapper .nav-links .prev:hover,
.pagination-wrapper .nav-links .next:hover {
    color: var(--primary-color, #be1622);
    border-color: rgba(190, 22, 34, 0.3);
    background: rgba(190, 22, 34, 0.04);
}

.pagination-wrapper .nav-links .prev i,
.pagination-wrapper .nav-links .next i {
    font-size: 11px;
}

/* Разделитель между кнопками навигации и номерами */
.pagination-wrapper .nav-links .prev {
    margin-right: 10px;
}
.pagination-wrapper .nav-links .next {
    margin-left: 10px;
}

@media (max-width: 480px) {
    .pagination-wrapper .nav-links .prev span,
    .pagination-wrapper .nav-links .next span {
        display: none;
    }
    .pagination-wrapper .nav-links a,
    .pagination-wrapper .nav-links span {
        min-width: 38px;
        height: 38px;
        font-size: 13px;
    }
}

/* ─── Секция партнёров ───────────────────────────────────────────────── */

.partners-section {
    padding: 80px 0;
}

/* Заголовок как у других секций главной */
.partners-title {
    font-size: 50px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 48px;
    letter-spacing: -0.05em;
    color: var(--text-color, #1a1a1a);
}

/* Сетка логотипов — в строчку */
.partners-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px 56px;
    align-items: center;
}

.partner-item {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Уменьшаем логотипы */
.partner-logo {
    max-height: 56px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.partner-link:hover .partner-logo,
.partner-item:hover .partner-logo {
    opacity: 1;
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .partners-title {
        font-size: 34px;
    }
    .partners-grid {
        gap: 24px 32px;
    }
    .partner-logo {
        max-height: 44px;
        max-width: 120px;
    }
}

/* ════════════════════════════════════════════════════════
   СТРАНИЦА ЗАПИСИ — ДВУХКОЛОНОЧНЫЙ LAYOUT
   ════════════════════════════════════════════════════════ */

.content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

/* На мобиле — один столбец (класс добавляется через PHP wp_is_mobile()) */
.content-grid--mobile {
    display: block !important;
    grid-template-columns: none !important;
}

.content-main {
    min-width: 0;
}

.content-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* Мобильная версия — скрываем сайдбар, один столбец */
@media (max-width: 900px) {
    .content-grid {
        display: block;
    }
    .content-sidebar {
        display: none !important;
    }
    .content-main {
        width: 100%;
    }
    .sidebar-card {
        padding: 20px;
        border-radius: 12px;
    }
}

/* ── Мобильная инфо-плашка под заголовком ── */
.sight-mobile-meta {
    display: none; /* скрыта на десктопе */
}

@media (max-width: 900px) {
    .sight-mobile-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 14px;
        margin-top: 14px;
        margin-bottom: 4px;
    }

    .sight-mobile-meta__badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: #fff0f0;
        color: var(--primary-color, #e63946);
        font-size: 13px;
        font-weight: 600;
        padding: 5px 12px;
        border-radius: 20px;
        width: 100%;
    }

    .sight-mobile-meta__item {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        color: #555;
        text-decoration: none;
    }

    .sight-mobile-meta__item i {
        color: var(--primary-color, #e63946);
        font-size: 12px;
        width: 14px;
        flex-shrink: 0;
    }

    .sight-mobile-meta__item--link {
        color: var(--primary-color, #e63946);
    }
}


/* Блок Поделиться */
.sight-share-block {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

@media (max-width: 900px) {
    .sight-share-block {
        margin-top: 28px;
        padding-top: 24px;
    }
    .page-content {
        padding-bottom: 48px !important;
    }
}

/* Рекомендованный бейдж */
.sight-recommended-block {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff0f0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
}
.sight-recommended-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color, #e63946);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
}
.sight-recommended-text {
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-color, #e63946);
    line-height: 1.3;
}

/* ════════════════════════════════════════════════════════
   МОЗАИЧНАЯ ГАЛЕРЕЯ ДОСТОПРИМЕЧАТЕЛЬНОСТЕЙ
   Все ячейки — прямые дети grid, background-image через inline style
   ════════════════════════════════════════════════════════ */

.sight-mosaic {
    display: grid;
    grid-template-columns: 28% 42% 30%;
    grid-template-rows: 50% 50%;
    height: 460px;
    gap: 6px;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* Все ячейки: position:relative для оверлея, cursor pointer */
.sight-mosaic__item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #1a1a1a;
    display: block;
    text-decoration: none;
}

/* Левая большая — двойная строка */
.sight-mosaic__item--left {
    grid-column: 1;
    grid-row: 1 / 3;
}

/* Центральная большая — двойная строка */
.sight-mosaic__item--center {
    grid-column: 2;
    grid-row: 1 / 3;
}

/* Маленькие правые — grid-column:3 и grid-row:1/2 задаются через inline style PHP */
.sight-mosaic__item--small {
    /* ничего лишнего — всё от grid */
}

/* Старые <img> внутри left/center — скрываем, используем background-image */
.sight-mosaic__item img {
    display: none !important;
}

/* Hover-эффект через псевдоэлемент */
.sight-mosaic__item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.3s ease;
    z-index: 1;
}
.sight-mosaic__item:hover::before {
    background: rgba(0,0,0,0.12);
}

/* Оверлей и счётчик «+N фото» */
.sight-mosaic__item--more::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.48);
    transition: background 0.3s;
    z-index: 1;
}
.sight-mosaic__item--more:hover::after {
    background: rgba(0,0,0,0.35);
}

.sight-mosaic__counter {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 26px;
    line-height: 1;
    pointer-events: none;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.sight-mosaic__counter span {
    font-size: 11px;
    font-weight: 500;
    margin-top: 5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Скрытые ссылки для lightbox (5+) */
.sight-mosaic__hidden {
    display: none !important;
}

/* ── Планшет (900px) — сжимаем высоту ── */
@media (max-width: 900px) {
    .sight-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 280px;
        height: 280px;
    }
    /* На планшете показываем только левый и центральный */
    .sight-mosaic__item--left {
        grid-column: 1;
        grid-row: 1;
    }
    .sight-mosaic__item--center {
        grid-column: 2;
        grid-row: 1;
    }
    /* Маленькие правые — скрываем */
    .sight-mosaic__item--small {
        display: none !important;
    }
}

/* ── Мобильный (640px) — одна большая картинка ── */
@media (max-width: 640px) {
    .sight-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px;
        height: 200px;
        border-radius: 10px;
        gap: 4px;
    }
    .sight-mosaic__item--left {
        grid-column: 1;
        grid-row: 1;
    }
    .sight-mosaic__item--center {
        grid-column: 2;
        grid-row: 1;
    }
    .sight-mosaic__item--small {
        display: none !important;
    }
}

