/*
Theme Name: FullEasyTrip Theme
Author: Professional Developer
Description: Тема для туристического портала. 
Version: 1.0
*/

/* --- 1. VARIABLES & RESET --- */
:root {
    --color-primary: #1A4B84; /* Эгейский синий */
    --color-accent: #D4A373; /* Терракота */
    --color-bg: #F4F6F8;
    --color-white: #FFFFFF;
    --color-text: #333333;
    --color-text-light: #666666;
    --shadow-card: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-hover: 0 15px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-main); background-color: var(--color-bg); color: var(--color-text); line-height: 1.7; font-size: 16px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* --- 2. COMMON LAYOUT --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; color: var(--color-text-light); }
.content-wrapper { padding: 40px 0; }

/* Typography */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; }
h1 { font-size: 2.5rem; }
h2 { font-size: 1.8rem; margin-bottom: 20px; }
p { margin-bottom: 15px; color: var(--color-text-light); }

/* Buttons */
.btn { display: inline-block; padding: 12px 24px; border-radius: 8px; font-weight: 600; transition: all 0.3s; text-align: center; cursor: pointer; border: none; }
.btn-primary { background: var(--color-accent); color: white;}
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-blue { background: var(--color-primary); color: white; }
.btn-outline {border: 2px solid var(--color-primary); color: #FFF; padding: 5px 30px; border-radius: 50px; padding: 4px 20px; margin: 15px;  margin-top: 15px; font-variant: all-small-caps; background-color: #1a4b84; }
.btn-outline:hover { background: #D4A373; color: white; transform: translateY(-2px);  border-color: #D4A373;}

/* --- 3. HEADER & NAVIGATION --- */
        .header {
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    z-index: 1000;
    height: 70px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo span { color: var(--color-accent); }

.city-subtitle { color: var(--color-white); }

        :root {
            --color-primary: #1A4B84;
            --color-accent: #D4A373;
            --color-bg: #F4F6F8;
            --color-white: #FFFFFF;
            --color-text: #333333;
            --color-text-light: #666666;
            --shadow-card: 0 10px 30px rgba(0,0,0,0.08);
            --radius: 12px;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: 'Segoe UI', Roboto, sans-serif; background-color: var(--color-bg); color: var(--color-text); line-height: 1.7; }

        .page-wrapper {
            max-width: 1100px;
            margin: 0 auto;
            padding: 40px 20px;
        }
        /* --- BASE & VARIABLES --- */
        :root {
            --color-primary: #1A4B84; /* Эгейский синий */
            --color-accent: #D4A373; /* Терракота */
            --color-bg: #F4F6F8;
            --color-white: #FFFFFF;
            --color-text: #333333;
            --color-text-light: #666666;
            --shadow-card: 0 10px 30px rgba(0,0,0,0.08);
            --radius: 12px;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: 'Segoe UI', Roboto, sans-serif; background-color: var(--color-bg); color: var(--color-text); line-height: 1.7; }
        a { text-decoration: none; color: inherit; }

        /* --- LAYOUT: SINGLE COLUMN --- */
        .page-wrapper {
            max-width: 900px; /* Оптимальная ширина для чтения */
            margin: 0 auto;
            padding: 40px 20px;
        }

        /* --- HEADER (Оставляем как понравилось) --- */
        .route-header {
            background: var(--color-white);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow-card);
            margin-bottom: 40px;
        }

        .header-image {
            height: 400px;
            background-image: url('https://images.unsplash.com/photo-1555993539-1732b0258235?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .header-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            padding: 40px;
            color: white;
        }

        .tag {
            display: inline-block;
            background: var(--color-accent);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .route-title { font-size: 2.8rem; margin-bottom: 10px; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
        
        .route-stats {
            display: flex;
            gap: 20px;
            font-size: 0.95rem;
            opacity: 0.9;
        }
        .stat-item { display: flex; align-items: center; gap: 5px; }

        /* --- CONTENT BLOCKS --- */
        .content-section {
            background: var(--color-white);
            border-radius: var(--radius);
            padding: 40px;
            margin-bottom: 30px;
            box-shadow: var(--shadow-card);
        }

        .section-title {
            font-size: 1.8rem;
            color: var(--color-text);
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .section-title::before {
            content: '';
            display: block;
            width: 5px;
            height: 30px;
            background: var(--color-accent);
            border-radius: 2px;
        }

        p { margin-bottom: 20px; font-size: 1.05rem; color: var(--color-text-light); }

        /* --- MONETIZATION BLOCKS (Native Full Width) --- */
        
        /* Style 1: Warning/Advice Block (Tickets) */
        .block-alert {
            background: #FFF8F0;
            border: 1px solid #F0E0D0;
            border-radius: var(--radius);
            padding: 25px;
            margin: 30px 0;
            display: flex;
            flex-direction: column;
        }
        .block-alert-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }
        .alert-icon { font-size: 2rem; }
        .alert-title { font-size: 1.2rem; font-weight: 700; color: #B58344; }
        
        .alert-body { margin-bottom: 20px; font-size: 0.95rem; }
        
        .btn-action {
            align-self: flex-start;
            background: var(--color-accent);
            color: white;
            padding: 12px 30px;
            border-radius: 8px;
            font-weight: 600;
            transition: transform 0.2s;
        }
        .btn-action:hover { transform: translateY(-2px); }

        /* Style 2: Hotel Grid (Inside Main Column) */
        .hotels-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
            margin-top: 25px;
        }
        .hotel-card {
            border: 1px solid #eee;
            border-radius: 8px;
            overflow: hidden;
            transition: box-shadow 0.3s;
        }
        .hotel-card:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
        .hotel-img { height: 140px; width: 100%; object-fit: cover; }
        .hotel-info { padding: 15px; }
        .hotel-title { font-weight: 700; margin-bottom: 5px; }
        .hotel-price { color: var(--color-accent); font-weight: 700; }
        .hotel-link { font-size: 0.85rem; color: var(--color-primary); display: block; margin-top: 10px; }

        /* Style 3: Transport Panel */
        .transport-panel {
            background: #F0F7FF;
            border-radius: var(--radius);
            padding: 25px;
            margin: 30px 0;
            border-left: 4px solid var(--color-primary);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }
        .transport-info h4 { color: var(--color-primary); margin-bottom: 5px; }
        .btn-outline-primary {
            border: 2px solid var(--color-primary);
            color: var(--color-primary);
            padding: 10px 25px;
            border-radius: 8px;
            font-weight: 600;
        }
        .btn-outline-primary:hover { background: var(--color-primary); color: white; }

        /* --- FOOTER --- */
        .route-footer {
            text-align: center;
            padding: 40px 0;
            color: var(--color-text-light);
            border-top: 1px solid #eee;
            margin-top: 40px;
        }
		
		/* --- HUB PAGE: SIGHTS --- */

/* Сетка навигации (Категории) */
.hub-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.hub-nav-card {
    background: white;
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    text-decoration: none;
    box-shadow: var(--shadow-card);
    transition: all 0.3s;
    border: 1px solid transparent;
}

.hub-nav-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.hub-nav-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.hub-nav-card h3 {
    color: var(--color-text);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.hub-nav-card p {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* Визуальный баннер (Breaker) */
.visual-breaker {
    position: relative;
}
.vb-bg {
    transition: transform 10s ease; /* Легкий зум при загрузке */
}
.visual-breaker:hover .vb-bg {
    transform: scale(1.05);
}

/* Блок с фактом */
.seo-fact-block {
    border-left: 5px solid var(--color-accent);
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .hub-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .visual-breaker {
        height: 300px;
    }
    .vb-content h2 {
        font-size: 2rem;
    }
    .seo-fact-block {
        flex-direction: column;
        text-align: center;
    }
}
/* --- HUB PAGE: SIGHTS (Extended) --- */

/* 1. Навигация картинками (Сетка 2x2 или 4 колоны) */
.hub-nav-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    /* Было 250px, уменьшили на 20% -> 200px */
    grid-auto-rows: minmax(200px, auto);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.hub-nav-img-card {
    position: relative;
    height: 100%; 
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    text-decoration: none;
}

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

.hub-nav-img-card:hover img {
    transform: scale(1.05);
}

.hub-nav-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    z-index: 1;
}

.hub-nav-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    color: white;
    z-index: 2;
}

.hub-nav-text h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
	color:#fff;
}

.hub-nav-text p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

/* 2. Split Section (Картинка слева, текст справа) */
.hub-split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1100px;
    margin: 0 auto 60px;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.hub-split-image {
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

.hub-split-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hub-split-content .block-title {
    margin-bottom: 15px;
}

.styled-check-list {
    list-style: none;
    margin-top: 20px;
}

.styled-check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--color-text-light);
}

.styled-check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
    font-size: 1.2rem;
}

/* 3. Tips Grid (4 колонки) */
.tips-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.tip-card {
    background: white;
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid #f0f0f0;
    transition: border-color 0.3s;
}

.tip-card:hover {
    border-color: var(--color-primary);
}

.tip-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.tip-card h4 {
    margin-bottom: 10px;
    color: var(--color-text);
}

.tip-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Адаптив */
@media (max-width: 768px) {
    .hub-split-section {
        grid-template-columns: 1fr;
    }
    .hub-split-image {
        min-height: 250px;
    }
    .hub-nav-visual {
        grid-template-columns: 1fr 1fr;
    }
    .hub-nav-img-card {
        height: 200px;
    }
    .visual-breaker {
        height: 350px; /* Меньше на мобильном */
    }
    .vb-content h2 {
        font-size: 2.2rem;
    }
}


/* --- ЛОГИКА СЕТКИ --- */

/* Ряд 1: Города - 2/3 ширины */
.hub-nav-img-card.large {
    grid-column: span 2;
    /* Было 350px, уменьшили на 20% -> 280px */
    min-height: 280px; 
}

/* Ряд 1: Острова - 1/3 ширины */
.hub-nav-img-card.medium {
    grid-column: span 1;
    /* Было 350px, уменьшили на 20% -> 280px */
    min-height: 280px; 
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .hub-nav-visual {
        grid-template-columns: 1fr;
    }
    
    .hub-nav-img-card.large,
    .hub-nav-img-card.medium {
        grid-column: span 1;
        /* На мобильных тоже пропорционально меньше */
        min-height: 200px;
    }
}

/* --- MOOD COLLECTIONS (Vertical Cards) --- */

.mood-grid {
    display: grid;
    /* Адаптивная сетка: минимум 250px, максимум 1fr. 
       Карточки сами выстроятся в 4, 2 или 1 колонку. */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.mood-card {
    text-decoration: none;
    color: var(--color-text);
    display: flex;
    flex-direction: column;
}

/* Изображение */
.mood-image {
    position: relative;
    height: 280px; /* Фиксированная высота для вертикальности */
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
}

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

.mood-card:hover .mood-image img {
    transform: scale(1.08);
}

/* Градиент снизу картинки для мягкого перехода */
.mood-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(255,255,255,1), transparent);
    z-index: 1;
}

/* Контент */
.mood-body {
    padding: 0 5px;
}

.mood-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    color: white;
}

.mood-body h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.mood-body p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.mood-link {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.mood-card:hover .mood-link {
    color: var(--color-accent);
}
/* --- MOOD SHOWCASE (Interactive Scroll) --- */

.mood-showcase-section {
    /* Фон во всю ширину, если нужно */
}

.mood-showcase {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden; /* Скрываем то, что не влезает */
    cursor: grab; /* Курсор "рука" */
}

.mood-slider {
    display: flex;
    gap: 20px;
    padding: 0 20px; /* Отступы по краям */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Плавное движение */
    will-change: transform;
}

/* Сама карточка */
.mood-card {
    flex: 0 0 calc(33.333% - 14px); /* Ровно 3 карточки */
    min-width: 280px; /* Минимальная ширина для адаптива */
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.mood-card:hover {
    transform: scale(1.02); /* Легкое увеличение при наведении на саму карточку */
}

/* Картинки и текст */
.mood-image {
    height: 180px;
    position: relative;
    overflow: hidden;
}

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

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

.mood-gradient {
    position: sticky;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 60%);
}

.mood-body {
    padding: 20px;
}

.mood-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: white;
}

.mood-tag.romantic { background-color: #4993bb; }
.mood-tag.family { background-color: #f37547; }
.mood-tag.adventure { background-color: #789ecf; }
.mood-tag.history { background-color: #c1adc7; }
.mood-tag.party { background-color: #d4a373; }

.mood-body h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--color-text);
}

.mood-body p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin: 0;
}

/* Стили для списков в блоке планирования */
.seo-list {
    list-style: none;
    padding: 0;
}

.seo-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: var(--color-text-light);
    line-height: 1.6;
}

.seo-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--color-accent);
    font-weight: bold;
}

/* Адаптив для списка */
@media (max-width: 768px) {
    .planning-grid {
        grid-template-columns: 1fr !important; /* В одну колонку на мобильном */
    }
    
    .lifehacks-card {
        flex-direction: column; /* Картинка над текстом лайфхака */
        text-align: center;
    }
}

/* --- АДАПТИВ (МОБИЛЬНЫЙ) --- */
@media (max-width: 900px) {
    .mood-showcase {
        overflow-x: auto; /* Включаем стандартный скролл для пальцем */
        scroll-snap-type: x mandatory; /* Прилипание карточек */
        -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
        scrollbar-width: none; /* Скрываем полосу прокрутки в FF */
    }
    .mood-showcase::-webkit-scrollbar {
        display: none; /* Скрываем полосу прокрутки в Chrome/Safari */
    }
    
    .mood-slider {
        transform: none !important; /* Отключаем JS смещение */
        transition: none;
        padding-right: 20px; /* Чтобы последняя карточка не обрывалась */
    }

    .mood-card {
        flex: 0 0 85%; /* На мобильном занимает 85% ширины экрана */
        scroll-snap-align: center; /* Центрируем при скролле */
    }
}
/*Списки FAQ*/
.faq-answer-wrapper ul {
  list-style-type: none;
  padding-left: 20px;
  margin-bottom: 15px;  
}
.faq-answer-wrapper li::before {
color: #1a4b84;
  display: inline-block;
  width: 1em;
  margin: 5px;
  content: "✦";
  margin: 5px;
}

/* Контейнер списка */
.styled-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Пункт списка */
.styled-check-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
    transition: all 0.3s ease;
	font-style: italic;
}

/* Иконка галочки */
.styled-check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    
    width: 26px;
    height: 26px;
    
    /* 1. Фон кружочка - белый (чтобы видеть оранжевую галочку) */
    background-color: #ffffff; 
    
    /* 2. Рамка кружочка (чтобы он не сливался с фоном сайта) */
    border: 2px solid #D4A373;
    border-radius: 50%;
    
    /* 3. Сама галочка (SVG) - ОРАНЖЕВАЯ #FF9800 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4A373' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 16px;
    background-position: center;
    background-repeat: no-repeat;
    
    animation: popIn 0.4s ease forwards;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Эффект при наведении на строку */
.styled-check-list li:hover {
    color: #000;
    padding-left: 45px;
}
.styled-check-list li > a:hover {
  color: #d4a373;
}
/* Эффект при наведении: заливаем кружок цветом */
.styled-check-list li:hover::before {
    background-color: #D4A373; /* Фон становится оранжевым */
    
    /* Галочка становится белой при наведении */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    
    box-shadow: 0 4px 8px rgba(255, 152, 0, 0.3);
    transform: translateY(-50%) scale(1.1);
}

/* Анимация появления */
@keyframes popIn {
    0% {
        transform: translateY(-50%) scale(0);
        opacity: 0;
    }
    70% {
        transform: translateY(-50%) scale(1.1);
    }
    100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
}

/* Основной контейнер */
.elegant-list {
    list-style: none;
    padding: 0;
    margin: 0;
	margin-top: 30px;
}

/* --- ОСНОВНЫЕ ПУНКТЫ (с маркерами) --- */
.elegant-list > li {
    position: relative;
    padding-left: 35px;      
    margin-bottom: 15px;     
    line-height: 1.5;
    font-size: 16px;
}

/* Маркер (квадратик с галочкой) */
.elegant-list > li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;    
    width: 22px;
    height: 22px;
    background-color: #D4A373;   
    border-radius: 6px;
    
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}
/* --- ПОДПУНКТЫ (без маркеров, плотно) --- */
.elegant-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: 0; 
}
.elegant-list br {
   display:none;   
}

.elegant-list ul li {
    position: relative; 
    padding-left: 0;     
    margin-bottom: 0; 
    line-height: 1.4;    
    font-size: 15px;              
    background: none;
    border: none;
	line-height: 1;
  margin-bottom: 1px;
}
.elegant-list > li > br {
    display: none; 
}
.elegant-list ul li br {
    display: none;
}

/* --- ОСНОВНЫЕ ПУНКТЫ (с маркерами) --- */
.place-list {
   margin-top: 30px; 
}
.place-list > li {
    position: relative;
    padding-left: 35px;      
    margin-bottom: 15px;     
    line-height: 1.5;
    font-size: 16px;
}
.place-list br {
   display:none;   
}

/* Маркер (квадратик с галочкой) */
.place-list > li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;    
    width: 22px;
    height: 22px;
    background-color: #D4A373;   
    border-radius: 6px;
    
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}
/* Inline Lifehack Block */
.inline-lifehack {
    background-color: #F9FAFB;
    border-left: 4px solid var(--color-accent);
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.inline-lifehack-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #B58344; /* Темный оттенок акцента */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.inline-lifehack-text {
    font-size: 1rem;
    color: var(--color-text);
    margin: 0;
    line-height: 1.6;
}

/* --- FAQ BLOCK STYLES --- */
.faq-section {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-card);
    margin-bottom: 30px;
}

.faq-title {
    font-size: 1.8rem;
    color: var(--color-text);
    margin-bottom: 30px;
    text-align: center;
}

.faq-list {
    border-top: 1px solid #eee;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

/* Вопрос (Кликабельная часть) */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    transition: color 0.3s;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
}

.faq-question:hover {
    color: var(--color-primary);
}

/* Иконка Плюс/Минус */
.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-left: 15px;
    position: relative;
    transition: transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--color-accent);
    transition: transform 0.3s ease;
}

/* Горизонтальная линия */
.faq-icon::before {
    top: 50%;
    left: 0;
    width: 24px;
    height: 2px;
    transform: translateY(-50%);
}

/* Вертикальная линия */
.faq-icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 24px;
    transform: translateX(-50%);
}

/* Анимация поворота при открытии */
.faq-item.active .faq-icon::after {
    transform: translateX(-50%) rotate(90deg); /* Превращаем в минус */
    opacity: 0; /* Или просто скрываем, чтобы получить минус */
}

/* Вариант анимации: Поворот креста */
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Ответ (Скрытая часть) */
.faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer {
    padding: 0 0 20px 0;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Состояние открытия */
.faq-item.active .faq-answer-wrapper {
    max-height: 500px; /* Достаточно для текста */
}

/* --- ARCHIVE GOROD STYLES --- */

/* Hero */
.archive-hero {
    position: relative;
    height: 300px;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    margin-top: -70px; /* Компенсация высоты хедера */
    margin-bottom: 0;
    overflow: hidden;
}
.archive-hero-overlay {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1533105079780-92b9be482077?auto=format&fit=crop&w=1920&q=80') center/cover;
    opacity: 0.3;
}
.archive-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    width: 100%;
    padding-top: 70px; /* Отступ под хедер */
}
.archive-title { font-size: 3rem; margin-bottom: 15px; }
.archive-subtitle { font-size: 1.2rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }

/* Regions Tags */
.regions-panel { margin-bottom: 30px; }
.regions-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.region-tag {
    background: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    border: 1px solid #ccc;
    transition: all 0.3s;
}
.region-tag:hover, .region-tag.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* Cities Grid */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* City Card */
.city-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s, box-shadow 0.3s;
}
.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.city-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.city-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.city-card:hover .city-card-image img {
    transform: scale(1.1);
}
.city-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.city-card-content {
    padding: 20px;
    position: relative;
}

.city-card-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--color-text);
}

.city-card-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 15px;
    min-height: 40px;
}

.city-card-btn {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
.city-card-btn span {
    transition: transform 0.3s;
}
.city-card:hover .city-card-btn span {
    transform: translateX(5px);
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .archive-hero { height: 250px; margin-top: 0; }
    .archive-title { font-size: 2rem; }
    .cities-grid { grid-template-columns: 1fr; }
}
/* --- GORODA PAGE STYLES (No Sidebar) --- */

/* Сетка городов на всю ширину */
.cities-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Блок вдохновения (Маршруты) */
.inspiration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.inspiration-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    text-decoration: none;
    color: var(--color-text);
    box-shadow: var(--shadow-card);
    border: 2px solid transparent;
    transition: all 0.3s;
}
.inspiration-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
}
.inspiration-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}
.inspiration-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.inspiration-card p { font-size: 0.9rem; color: var(--color-text-light); }

/* Блок логистики */
.logistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}
.logistics-item {
    padding: 20px;
}
.logistics-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}
.logistics-item h3 { font-size: 1.1rem; margin-bottom: 10px; }
.logistics-item p { font-size: 0.85rem; color: var(--color-text-light); margin-bottom: 15px; }
.logistics-links { margin-top: auto; }

/* Адаптив для блоков */
@media (max-width: 768px) {
    .cities-grid-full { grid-template-columns: 1fr; }
    .inspiration-grid { grid-template-columns: 1fr; }
    .logistics-grid { grid-template-columns: 1fr; }
}
/* --- HEADER WITH FILTERS STYLE --- */

/* Стили для шапки с фильтрами */
.header-with-filters {
    height: auto; /* Автоматическая высота */
    padding-bottom: 60px; /* Отступ снизу */
}

.header-with-filters .header-hero-content {
    padding-top: 120px; /* Отступ сверху с учетом меню */
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1100px; /* Ограничение ширины как у container */
    margin: 0 auto;
}

/* Обертка фильтров в шапке */
.hero-filters-wrapper {
    margin-top: 40px;
    width: 100%;
}

.hero-filters-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* Стили кнопок для шапки (Светлый вариант) */
.region-tag-light {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.region-tag-light:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.region-tag-light.active {
    background: var(--color-accent);
    color: white;
    box-shadow: 0 5px 15px rgba(212, 163, 115, 0.4);
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .header-with-filters .header-hero-content {
        padding-top: 100px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .hero-filters-row {
        gap: 8px;
    }
    .region-tag-light {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Адаптив */
@media (max-width: 768px) {
    .faq-section { padding: 20px; }
    .faq-question { font-size: 1rem; }
}



        /* --- NEW HEADER (Hero Style) --- */
        .city-header {
            position: relative;
            height: 60vh;
            min-height: 450px;
            border-radius: var(--radius);
            overflow: hidden;
            margin-bottom: 40px;
            display: flex;
            align-items: flex-end; /* Контент внизу */
        }

        .city-bg {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background-image: url('https://images.unsplash.com/photo-1603565816030-6b389eeb23cb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
            background-size: cover;
            background-position: center;
            z-index: 1;
        }

        .city-overlay {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
            z-index: 2;
        }

        .city-content {
            position: relative;
            z-index: 3;
            padding: 40px;
            color: white;
            width: 100%;
        }

        .city-tag {
            display: inline-block;
            background: var(--color-accent);
            color: white;
            padding: 5px 12px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 15px;
        }

        .city-title { font-size: 3.5rem; font-weight: 800; margin-bottom: 10px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
        .city-subtitle { font-size: 1.2rem; opacity: 0.9; max-width: 600px; }

        .city-stats {
            display: flex;
            gap: 30px;
            margin-top: 25px;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.2);
        }
        .stat-item { font-size: 0.95rem; }
        .stat-item strong { font-size: 1.4rem; display: block; }

        /* --- GRID SYSTEM (BEST Variant Logic) --- */
        .content-grid {
            display: grid;
            grid-template-columns: 1fr 320px;
            grid-auto-rows: start;
            gap: 0 30px;
        }

        /* Common Styles */
        .card-block, .widget-item {
            background: var(--color-white);
            border-radius: var(--radius);
            padding: 30px;
            box-shadow: var(--shadow-card);
        }

        .block-title {
            font-size: 1.5rem;
            color: var(--color-text);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .block-title::before { content: ''; width: 4px; height: 24px; background: var(--color-accent); border-radius: 2px; }

        p { margin-bottom: 15px; color: var(--color-text-light); font-size: 1rem; }
        a { color: var(--color-primary); }
		h3, h4 { color: var(--color-text); padding-top: 20px; }

		
        /* Sidebar Styles */
        .widget-item { border-top: 3px solid var(--color-primary); padding: 25px; }
        .widget-title { font-weight: 700; margin-bottom: 15px; font-size: 1.1rem; color: var(--color-text); }
        .widget-list { list-style: none; margin-bottom: 15px; }
        .widget-list li { padding: 10px 0; border-bottom: 1px solid #f0f0f0; display: flex; justify-content: space-between; font-size: 0.95rem; }
        .widget-list li:last-child { border-bottom: none; }
        .btn-action { display: block; width: 100%; background: var(--color-accent); color: white; text-align: center; padding: 12px; border-radius: 8px; font-weight: 600; margin-top: 5px; text-decoration: none; transition: opacity 0.2s; }
        .btn-action:hover { opacity: 0.9; }
        .btn-blue { background: var(--color-primary); }

        /* --- CONTENT SPECIFICS --- */
        
        /* Attractions Grid */
        .attractions-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr); /* 2 columns for attractions */
            gap: 20px;
        }
        .attraction-card {
            background: #f9f9f9;
            border-radius: 8px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }
        .attraction-img { width: 100%; height: 140px; object-fit: cover; }
        .attraction-info { padding: 15px; flex: 1; }
        .attraction-name { font-weight: 700; margin-bottom: 5px; }
        .attraction-desc { font-size: 0.85rem; color: var(--color-text-light); }
        
        /* Excursions Block (Native Promo) */
        .promo-block {
            background: linear-gradient(135deg, #1A4B84 0%, #2a5a94 100%);
            border-radius: var(--radius);
            padding: 30px;
            color: white;
            position: relative;
            overflow: hidden;
        }
        .promo-content { position: relative; z-index: 2; }
        .promo-title { font-size: 1.5rem; margin-bottom: 10px; color: aliceblue;}
        .promo-text { opacity: 0.9; margin-bottom: 20px; font-size: 0.95rem; color: #ffffffbd; }
        .promo-list { list-style: none; margin-bottom: 20px; }
        .promo-list li { margin-bottom: 8px; padding-left: 20px; position: relative; }
        .promo-list li::before { content: '✓'; position: absolute; left: 0; color: var(--color-accent); }
        .btn-promo {
            display: inline-block;
            background: var(--color-accent);
            color: white;
            padding: 12px 25px;
            border-radius: 6px;
            font-weight: 600;
            text-decoration: none;
        }

        /* Routes 'From City' Block */
        .routes-outbound {
            margin-top: 20px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
        }
        .route-card {
            background: white;
            border: 1px solid #eee;
            border-radius: 8px;
            padding: 20px;
            text-align: center;
            transition: transform 0.2s, box-shadow 0.2s;
            text-decoration: none;
            color: var(--color-text);
        }
        .route-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            border-color: var(--color-primary);
        }
        .route-icon { font-size: 2rem; margin-bottom: 10px; }
        .route-name { font-weight: 700; margin-bottom: 5px; }
        .route-time { font-size: 0.85rem; color: var(--color-text-light); }

        /* --- DESKTOP POSITIONING --- */
        .col-left { grid-column: 1; margin-bottom: 30px; }
        .col-right { grid-column: 2; margin-bottom: 30px; }
        .col-right + .col-right { margin-top: 2px; border-radius: 0 0 var(--radius) var(--radius); border-top: 1px solid #f0f0f0; }

        /* --- MOBILE RESPONSIVE --- */
        @media (max-width: 900px) {
            .city-header { height: auto; min-height: auto; }
            .city-content { padding: 20px; }
            .city-title { font-size: 2.2rem; }
            .city-stats { flex-direction: column; gap: 15px; }
            
            .content-grid { display: flex; flex-direction: column; gap: 0; }
            .col-left, .col-right { grid-column: auto; margin-bottom: 30px; margin-top: 0; }
            .col-right { border-radius: var(--radius); border-top: 3px solid var(--color-primary); }
            
            /* Attractions stack 1 col */
            .attractions-grid { grid-template-columns: 1fr; }
            
            /* ORDERING */
            .order-1 { order: 1; }  /* Почему посетить */
            .order-2 { order: 2; }  /* Виджет: Авиабилеты */
            .order-3 { order: 3; }  /* Достопримечательности */
            .order-4 { order: 4; }  /* Партнерка: Экскурсии */
            .order-5 { order: 5; }  /* Виджет: Отели */
            .order-6 { order: 6; }  /* Как добраться */
            .order-7 { order: 7; }  /* Виджет: Трансфер */
            .order-8 { order: 8; }  /* Где остановиться */
            .order-9 { order: 9; }  /* Виджет: Страховка */
            .order-10 { order: 10; } /* Когда посетить */
            .order-11 { order: 11; } /* Маршруты из города */
			.order-12 { order: 12; }
			.order-13 { order: 13; }
        }


.main-nav { display: flex; gap: 30px; }
.main-nav a { font-weight: 500; color: var(--color-text); transition: color 0.3s; position: relative; font-size: 20px;  font-variant: all-small-caps; }
.main-nav a:hover { color: var(--color-primary); }
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s;
}
.main-nav a:hover::after { width: 100%; }

/* Mobile Menu Toggle */
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 25px; height: 3px; background: var(--color-primary); transition: 0.3s; }

/* --- 4. FOOTER --- */
.main-footer {
    background: var(--color-primary);
    color: white;
    padding: 60px 0 20px;
    margin-top: 60px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-size: 1.5rem; font-weight: 800; margin-bottom: 15px; color: #d4a373;}
.footer-desc { opacity: 0.8; font-size: 0.9rem; color: rgba(255, 255, 255, 0.61);}
.footer-title { font-size: 1.1rem; margin-bottom: 20px; color: var(--color-accent); text-transform: uppercase;}
.footer-links a { display: block; color: rgba(255,255,255,0.8); margin-bottom: 10px; font-size: 0.95rem; transition: color 0.3s; }
.footer-links a:hover { color: white; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; opacity: 0.7; color: rgba(255, 255, 255, 0.61);}

/* --- 5. CARDS & WIDGETS (Global) --- */
.card-block {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-card);
    margin-bottom: 30px;
}
.widget-item {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow-card);
    border-top: 3px solid var(--color-primary);
}

/* --- 6. GRID LOGIC (BEST Variant Base) --- */
.smart-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 0 30px;
    align-items: start;
}
.col-left { grid-column: 1; }
.col-right { grid-column: 2; }

/* Sidebar Stacking (No Gaps) */
.sidebar-stack .widget-item { margin-bottom: 0; border-radius: 0; }
.sidebar-stack .widget-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.sidebar-stack .widget-item:last-child { border-radius: 0 0 var(--radius) var(--radius); margin-bottom: 0; }
.sidebar-stack .widget-item + .widget-item { border-top: 1px solid #f0f0f0; }

/* --- 7. RESPONSIVE --- */
@media (max-width: 900px) {
    .main-nav { display: none; position: absolute; top: 70px; left: 0; width: 100%; background: white; flex-direction: column; padding: 20px; box-shadow: var(--shadow-card); }
    .main-nav.active { display: flex; }
    .menu-toggle { display: flex; }
    
    .smart-grid { display: flex; flex-direction: column; }
    .col-left, .col-right { width: 100%; }
    .sidebar-stack { margin-top: 30px; } /* Push sidebar down on mobile if needed, or use order logic */
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}

/* --- VARIANT SPECIFIC STYLES (BEST, GOGOD, DOST) --- */

/* == BEST (Routes) Specifics == */
.header-split { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.header-split-image { height: 100%; min-height: 350px; background-size: cover; background-position: center; }
.header-split-info { padding: 50px; display: flex; flex-direction: column; justify-content: center; }

/* == GOGOD & DOST (Hero) Specifics == */
.header-hero {
    position: relative;
    height: 60vh;
    min-height: 450px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 40px;
    display: flex;
    align-items: flex-end;
}
.header-hero-bg { position: absolute; width: 100%; height: 100%; object-fit: cover; z-index: 1;background-repeat: no-repeat; background-size: cover;  background-position: center center; }
.header-hero-overlay { position: absolute; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); z-index: 2; }
.header-hero-content { position: relative; z-index: 3; padding: 40px; color: white; width: 100%; }

/* == Cards Grid (Common) == */
.items-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.item-card { background: #fff; border-radius: 8px; overflow: hidden; transition: transform 0.2s; }
.item-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.item-card img { width: 100%; height: 140px; object-fit: cover; }
.item-info { padding: 15px; }

/* Style 3: Transport Panel */
        .transport-panel {
            background: #F0F7FF;
            border-radius: var(--radius);
            padding: 25px;
            margin: 30px 0;
            border-left: 4px solid var(--color-primary);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }
        .transport-info h4 { color: var(--color-primary); margin-bottom: 5px; }
        .btn-outline-primary {
            border: 2px solid var(--color-primary);
            color: var(--color-primary);
            padding: 10px 25px;
            border-radius: 8px;
            font-weight: 600;
        }
        .btn-outline-primary:hover { background: var(--color-primary); color: white; }

        /* --- HEADER (GOGOD Style) --- */
        .city-header {
            position: relative;
            height: 60vh;
            min-height: 450px;
            border-radius: var(--radius);
            overflow: hidden;
            margin-bottom: 40px;
            display: flex;
            align-items: flex-end;
        }

        .city-bg {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background-size: cover;
            background-position: center;
            z-index: 1;
        }

        .city-overlay {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
            z-index: 2;
        }

        .city-content { position: relative; z-index: 3; padding: 40px; color: white; width: 100%; }
        .city-tag { display: inline-block; background: var(--color-accent); color: white; padding: 5px 12px; border-radius: 4px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; margin-bottom: 15px; }
        .city-title { font-size: 3.5rem; font-weight: 800; margin-bottom: 10px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
        .city-subtitle { font-size: 1.2rem; opacity: 0.9; max-width: 600px; }

        .city-stats { display: flex; gap: 30px; margin-top: 25px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.2); }
        .stat-item { font-size: 0.95rem; }
        .stat-item strong { font-size: 1.4rem; display: block; }

        /* --- GRID SYSTEM (BEST/GOGOD Logic) --- */
        .content-grid {
            display: grid;
            grid-template-columns: 1fr 320px;
            grid-auto-rows: start;
            gap: 0 30px;
        }

        .card-block, .widget-item {
            background: var(--color-white);
            border-radius: var(--radius);
            padding: 30px;
            box-shadow: var(--shadow-card);
        }

        .block-title {
            font-size: 1.5rem; color: var(--color-text); margin-bottom: 20px;
            display: flex; align-items: center; gap: 12px;
        }
        .block-title::before { content: ''; width: 4px; height: 24px; background: var(--color-accent); border-radius: 2px; }

        p { margin-bottom: 15px; color: var(--color-text-light); font-size: 1rem; }
        
        /* Info List (Spec for Attraction page) */
        .info-list { list-style: none; margin-bottom: 20px; }
        .info-list li { 
            display: flex; 
            padding: 12px 0; 
            border-bottom: 1px solid #f0f0f0; 
            font-size: 0.95rem;
        }
        .info-list li:last-child { border-bottom: none; }
        .info-label { font-weight: 700; color: var(--color-text); width: 140px; flex-shrink: 0; }
        .info-value { color: var(--color-text-light); }

        /* Sidebar Styles */
        .widget-item { border-top: 3px solid var(--color-primary); padding: 25px; }
        .widget-title { font-weight: 700; margin-bottom: 15px; font-size: 1.1rem; color: var(--color-text); }
        .widget-list { list-style: none; margin-bottom: 15px; }
        .widget-list li { padding: 10px 0; border-bottom: 1px solid #f0f0f0; display: flex; justify-content: space-between; font-size: 0.95rem; }
        .widget-list li:last-child { border-bottom: none; }
        .btn-action { display: block; width: 100%; background: var(--color-accent); color: white; text-align: center; padding: 12px; border-radius: 8px; font-weight: 600; margin-top: 5px; text-decoration: none; }
        .btn-action:hover { opacity: 0.9; }
        .btn-blue { background: var(--color-primary); }

        /* Content Grids */
        .items-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 20px; }
        .item-card { background: #fff; border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--color-text); transition: transform 0.2s; }
        .item-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
        .item-img { width: 100%; height: 140px; object-fit: cover; }
        .item-info { padding: 15px; }
        .item-name { font-weight: 700; margin-bottom: 5px; }
        .item-desc { font-size: 0.85rem; color: var(--color-text-light); }

        /* --- DESKTOP POSITIONING --- */
        .col-left { grid-column: 1; margin-bottom: 30px; }
        .col-right { grid-column: 2; margin-bottom: 30px; }
        
        /* NO GAP logic for sidebar */
        .col-right + .col-right { margin-top: 0; border-radius: 0 0 var(--radius) var(--radius); border-top: 1px solid #f0f0f0; padding-top: 20px; }
        .widget-1 { border-radius: var(--radius); }

        /* --- MOBILE RESPONSIVE --- */
        @media (max-width: 900px) {
            .city-header { height: auto; min-height: auto; }
            .city-content { padding: 20px; }
            .city-title { font-size: 2.2rem; }
            .city-stats { flex-direction: column; gap: 15px; }
            
            .content-grid { display: flex; flex-direction: column; gap: 0; }
            .col-left, .col-right { grid-column: auto; margin-bottom: 30px; }
            .col-right { border-radius: var(--radius); border-top: 3px solid var(--color-primary); }
            .items-grid { grid-template-columns: 1fr; }

            /* ORDERING */
            .order-1 { order: 1; } /* Описание */
            .order-2 { order: 2; } /* Виджет: Билеты */
            .order-3 { order: 3; } /* Инфа для посещения */
            .order-4 { order: 4; } /* Виджет: Аудиогид */
            .order-5 { order: 5; } /* Что посмотреть внутри */
            .order-6 { order: 6; } /* Виджет: Трансфер */
            .order-7 { order: 7; } /* Советы */
            .order-8 { order: 8; } /* Доступность */
			.order-9 { order: 9; }
			.order-10 { order: 10; }
			.order-11 { order: 11; }
			.order-12 { order: 12; }
			.order-13 { order: 13; }
        }





/* --- SEARCH PAGE STYLES (search.php) --- */

/* Заголовок страницы поиска */
.search-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.search-header h1 {
    font-size: 2rem;
    margin-bottom: 5px;
}

/* Карточка результата поиска */
.search-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px; /* Переопределяем стандартный padding card-block */
    transition: transform 0.2s, box-shadow 0.2s;
}

.search-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Миниатюра */
.search-thumb {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #eee;
}
.search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Информация */
.search-info {
    flex: 1;
    min-width: 0; /* Важно для обрезки текста */
}

/* Тип записи (Маршрут, Город, Место) */
.search-type {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Заголовок результата */
.search-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 5px;
    line-height: 1.3;
}
.search-title:hover {
    color: var(--color-accent);
}

/* Текст анонса */
.search-excerpt {
    font-size: 0.9rem;
    color: var(--color-text-light);
    /* Обрезка текста в одну строку (опционально) */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 900px) {
    .search-item {
        flex-direction: column; /* Картинка над текстом */
        text-align: center;
        align-items: center;
    }
    
    .search-thumb {
        width: 100%;
        height: 150px; /* Увеличиваем картинку на мобильном */
    }
    
    .search-excerpt {
        white-space: normal; /* Разрешаем перенос строк на мобильном */
    }
}
/* --- INLINE TAGS --- */
.tags-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px 0;
}

.tags-label {
    font-weight: 700;
    color: var(--color-text-light);
    font-size: 0.95rem;
    /* Фиксируем лейбл, чтобы он всегда был первым */
    flex-shrink: 0; 
}

.tags-list-inline {
    display: flex;
    flex-wrap: wrap; /* Перенос на следующую строку, если не влезают */
    gap: 8px;        /* Расстояние между метками */
}

.tag-link {
    display: inline-block;
    background: #f0f0f0;
    color: var(--color-text);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap; /* Текст метки не разрывается */
}

.tag-link:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}
/* --- BACK BUTTON (One Line) --- */
.back-button-wrapper {
    margin-bottom: 30px;
}

.btn-back {
    display: inline-flex;
    align-items: center; /* Выравнивание по центру по вертикали */
    gap: 10px;
    background: var(--color-primary);
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 12px 20px;
    border: 1px solid var(--color-primary);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    max-width: 100%; /* Чтобы не вылезал за края на мобильных */
}

.btn-back:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-back .arrow {
    font-size: 1.2rem;
    flex-shrink: 0; /* Стрелка не сжимается */
}

.btn-back .text {
    white-space: nowrap; /* Запрещаем перенос строк */
    overflow: hidden;
    text-overflow: ellipsis; /* Если текст слишком длинный, добавляем точки (опционально) */
}

.btn-back .titlebtn {
    font-weight: 700;
    margin-left: 4px; 
	text-transform: uppercase;
} 
/* --- СПИСОК С ИКОНКАМИ В КРУЖКАХ (ИДЕАЛЬНЫЙ ЦЕНТР) --- */
.plus-minus-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.plus-minus-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* --- ОБЩИЕ СТИЛИ ДЛЯ КРУЖКА --- */
.plus-minus-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px; /* Небольшая коррекция по вертикали относительно текста */

    /* Размеры */
    width: 24px;
    height: 24px;
    
    /* Фон и форма */
    background-color: white;
    border-radius: 50%;
    border: 1px solid;
    box-sizing: border-box; /* Чтобы бордюр не увеличивал размер */
    
    /* --- ГАРАНТИЯ ЦЕНТРА --- */
    display: inline-flex;      /* Используем flex для центровки */
    align-items: center;      /* Центр по вертикали */
    justify-content: center;  /* Центр по горизонтали */
    
    font-size: 1rem;
    font-weight: 900;
    line-height: 0;           /* Убираем межстрочный интервал, мешающий центровке */
}

/* --- ПЛЮС --- */
.plus-minus-list li:first-child::before {
    content: '+';
    color: #28a745;
    border-color: #28a745;
}

/* --- МИНУС --- */
.plus-minus-list li:nth-child(2)::before {
    content: '−';             /* Используем символ минуса (−), не дефис (-) */
    color: #dc3545;
    border-color: #dc3545;
}