/*
Theme Name: Kolco.Travel
Description: Каталог экскурсий по Санкт-Петербургу. Собственная тема.
Version: 1.0.0
Author: kolco.travel
Text Domain: excursionkolco
*/

:root {
  --c-bg: #f6f7f9;
  --c-surface: #ffffff;
  --c-text: #1d2530;
  --c-muted: #5f6b7a;
  --c-line: #e3e7ec;
  --c-primary: #1f4e8c;
  --c-primary-dark: #163a69;
  --c-accent: #e8792b;
  --c-accent-dark: #cf6619;
  --c-star: #f5b301;
  --c-green: #1f8a4c;
  --r: 14px;
  --r-sm: 8px;
  --shadow: 0 1px 2px rgba(20,30,50,.06), 0 6px 20px rgba(20,30,50,.06);
  --shadow-hover: 0 4px 10px rgba(20,30,50,.08), 0 14px 32px rgba(20,30,50,.12);
  --w: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--c-text); background: var(--c-bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-dark); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
.container { max-width: var(--w); margin: 0 auto; padding: 0 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 10px; font-weight: 600; border: 0; cursor: pointer; font-size: 1rem; line-height: 1.2; transition: background .15s, transform .1s; }
.btn-primary { background: var(--c-accent); color: #fff; }
.btn-primary:hover { background: var(--c-accent-dark); color: #fff; }
.btn-secondary { background: var(--c-primary); color: #fff; }
.btn-secondary:hover { background: var(--c-primary-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--c-text); border: 1px solid var(--c-line); }
.btn-ghost:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn-lg { padding: 1em 1.8em; font-size: 1.1rem; }
.btn-block { width: 100%; }
.muted { color: var(--c-muted); }
.small { font-size: .875rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Header */
.site-header .container { max-width: 1340px; }
.site-header { background: #fff; border-bottom: 1px solid var(--c-line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--c-text); letter-spacing: -.02em; }
.logo img { width: 36px; height: 36px; border-radius: 9px; }
.logo span em { color: var(--c-primary); font-style: normal; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: 28px; }
@media (max-width: 1180px) { .nav { gap: 2px; margin-left: 12px; } .nav a { padding: 8px 9px; font-size: .9rem; } .header-search input { width: 100%; min-width: 0; } }
.nav a { padding: 8px 11px; border-radius: 8px; color: var(--c-text); font-weight: 500; font-size: .95rem; }
.nav a:hover { background: var(--c-bg); color: var(--c-primary); }
.header-search { margin-left: auto; display: flex; flex: 0 1 220px; min-width: 130px; }
.header-search input { width: 220px; padding: 9px 12px; border: 1px solid var(--c-line); border-radius: 10px 0 0 10px; font: inherit; font-size: .95rem; }
.header-search button { padding: 0 14px; border: 0; background: var(--c-primary); color: #fff; border-radius: 0 10px 10px 0; cursor: pointer; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--c-text); margin: 6px 8px; border-radius: 2px; }
.mobile-nav { display: none; background: #fff; border-bottom: 1px solid var(--c-line); padding: 12px 20px 20px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--c-line); color: var(--c-text); font-weight: 500; }
.mobile-nav form { display: flex; margin-top: 12px; }
.mobile-nav input { flex: 1; padding: 10px 12px; border: 1px solid var(--c-line); border-radius: 10px 0 0 10px; font: inherit; }
.mobile-nav button { border: 0; background: var(--c-primary); color: #fff; padding: 0 16px; border-radius: 0 10px 10px 0; }

.nav .has-sub { position: relative; }
.nav .has-sub > a { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.nav .has-sub > a::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .55; }
.nav .has-sub:hover > a { background: var(--c-bg); color: var(--c-primary); }
.nav .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.nav .sub { display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 8px; min-width: 260px; box-shadow: var(--shadow-hover); grid-template-columns: 1fr; gap: 2px; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { display: grid; }
.nav .sub a { padding: 7px 10px; font-size: .9rem; font-weight: 400; border-radius: 6px; white-space: nowrap; }
.nav .sub a:hover { background: var(--c-bg); }
.nav .sub .sub-all { font-weight: 600; color: var(--c-primary); border-top: 1px solid var(--c-line); margin-top: 4px; border-radius: 0; }
.nav .nav-today { color: var(--c-accent-dark); font-weight: 600; white-space: nowrap; }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-line); background: #fff; color: var(--c-primary); font-size: 1.3rem; cursor: pointer; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 45; }
.to-top.show { opacity: .85; pointer-events: auto; }
.to-top:hover { opacity: 1; }
body.has-mobile-cta .to-top { bottom: 80px; }
.lb { position: fixed; inset: 0; background: rgba(10,14,20,.92); z-index: 100; display: flex; align-items: center; justify-content: center; }
.lb img { max-width: 94vw; max-height: 90vh; object-fit: contain; border-radius: 6px; }
.lb button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer; font-size: 1.6rem; width: 48px; height: 48px; border-radius: 50%; }
.lb .lb-close { top: 16px; right: 16px; }
.lb .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb .lb-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .9rem; opacity: .8; }
.table-wrap { overflow-x: auto; margin: 12px 0 20px; max-width: 100%; -webkit-overflow-scrolling: touch; }
table.cmp { width: 100%; border-collapse: collapse; font-size: .92rem; background: #fff; }
table.cmp th, table.cmp td { padding: 9px 12px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
table.cmp th { background: var(--c-bg); font-weight: 600; font-size: .85rem; color: var(--c-muted); }
.article table { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; margin: 12px 0 20px; }
.article th, .article td { padding: 8px 12px; border: 1px solid var(--c-line); text-align: left; }
.article th { background: var(--c-bg); }

/* Hero */
.hero { position: relative; color: #fff; padding: clamp(48px, 8vw, 96px) 0; overflow: hidden; background: #1f4e8c url("assets/img/hero.webp") right center / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #163a69 0%, #1c467f 42%, rgba(28,70,127,.55) 70%, rgba(28,70,127,.15) 100%); pointer-events: none; }
@media (max-width: 760px) { .hero::after { background: linear-gradient(180deg, rgba(22,58,105,.92) 0%, rgba(22,58,105,.85) 100%); } }
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 760px; }
.hero p.lead { font-size: 1.15rem; max-width: 640px; opacity: .92; margin-bottom: 1.6em; }
.hero-search { display: flex; max-width: 640px; background: #fff; border-radius: 12px; padding: 6px; box-shadow: var(--shadow-hover); }
.hero-search input { flex: 1; border: 0; padding: 12px 14px; font: inherit; font-size: 1.05rem; min-width: 0; }
.hero-search input:focus { outline: none; }
.hero-search button { border: 0; background: var(--c-accent); color: #fff; padding: 0 22px; border-radius: 9px; font-weight: 600; font-size: 1rem; cursor: pointer; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; font-size: .95rem; opacity: .95; }
.hero-stats strong { display: block; font-size: 1.4rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-block; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font-size: .9rem; border: 1px solid rgba(255,255,255,.25); }
.chip:hover { background: rgba(255,255,255,.26); color: #fff; }

/* Sections */
.section { padding: clamp(32px, 5vw, 56px) 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2 { margin: 0; display: flex; align-items: center; gap: 10px; }
.sec-icon { width: 40px; height: 40px; object-fit: contain; }
.section-head a { font-weight: 600; white-space: nowrap; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.tile { display: block; position: relative; border-radius: var(--r); overflow: hidden; background: var(--c-primary-dark); color: #fff; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.tile img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .3s; }
.tile:hover img { transform: scale(1.04); }
.tile .tile-body { position: absolute; z-index: 2; inset: auto 0 0 0; padding: 14px; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; }
.tile .tile-body strong { display: block; font-size: 1.05rem; }
.tile .tile-body span { font-size: .85rem; opacity: .9; }
.tile:hover { color: #fff; }
.list-links { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.list-links a { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-sm); color: var(--c-text); font-weight: 500; }
.list-links a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.list-links a span { color: var(--c-muted); font-size: .85rem; font-weight: 400; }

/* Спиннер загрузки изображений */
.card-img, .gallery a, .tile, .afisha-img, .post-card-img { position: relative; }
.card-img::before, .gallery a::before, .tile::before, .afisha-img::before, .post-card-img::before { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 3px solid rgba(31,78,140,.18); border-top-color: var(--c-primary); animation: xspin .8s linear infinite; z-index: 0; }
.card-img img, .gallery a img, .tile img, .afisha-img img, .post-card-img img { position: relative; z-index: 1; opacity: 0; transition: opacity .25s; }
.card-img img.loaded, .gallery a img.loaded, .tile img.loaded, .afisha-img img.loaded, .post-card-img img.loaded { opacity: 1; }
.tile img.loaded { opacity: .85; }
.card-img.done::before, .gallery a.done::before, .tile.done::before, .afisha-img.done::before, .post-card-img.done::before { display: none; }
@keyframes xspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .card-img::before, .gallery a::before, .tile::before, .afisha-img::before, .post-card-img::before { animation: none; } }

/* Card */
.card { background: var(--c-surface); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; position: relative; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 3; } /* вся карточка кликабельна */
.card:hover .card-title a { color: var(--c-primary); }
.card-img { position: relative; aspect-ratio: 4/3; background: #dfe5ee; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-badges { position: absolute; z-index: 2; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { padding: 4px 9px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: rgba(255,255,255,.92); color: var(--c-text); }
.badge-discount { background: var(--c-accent); color: #fff; }
.badge-kids { background: #e8f5ee; color: var(--c-green); }
.badge-drop { background: #e8f5ee; color: var(--c-green); }
.badge-off { background: #6b7280; color: #fff; }
.badge-src { background: #eef2ff; color: #3730a3; }
.alt-offer { margin: 14px 0 4px; padding: 12px 14px; border: 1px dashed var(--c-line); border-radius: var(--r-sm); background: #fafbfd; }
.alt-offer b { display: block; font-size: .9rem; margin-bottom: 6px; }
.alt-row { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.alt-price { font-size: 1.25rem; font-weight: 700; }
.alt-tag { font-size: .8rem; padding: 2px 8px; border-radius: 999px; background: #eef0f4; color: var(--c-muted); }
.alt-cheaper { background: #e8f5ee; color: var(--c-green); font-weight: 600; }
.alt-offer .btn { margin-top: 8px; }
.card-inactive { opacity: .72; filter: grayscale(.6); }
.card-inactive:hover { opacity: 1; filter: none; }
.inactive-note { background: #f3f4f6; border: 1px solid #d1d5db; border-left: 4px solid #6b7280; border-radius: var(--r-sm); padding: 14px 18px; margin: 14px 0 4px; }
.review-summary { background: #f4f8fd; border: 1px solid #d9e4f2; border-radius: var(--r); padding: 18px 20px; margin: 26px 0 8px; }
.review-summary h2 { margin-top: 0; }
.rs-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.rs-col b { display: block; margin-bottom: 6px; }
.rs-col ul { margin: 0; padding-left: 20px; }
.rs-col li { margin: 4px 0; }
.rs-plus b { color: var(--c-green); }
.rs-minus b { color: #b4552b; }
.rs-verdict { font-weight: 600; }
.review-summary .rs-grid { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #d9e4f2; }
.review-summary > p { margin: 8px 0; }
.price-history { margin: 12px 0 4px; }
.price-history b { display: block; font-size: .85rem; color: var(--c-muted); font-weight: 500; margin-bottom: 4px; }
.price-history svg { width: 100%; height: 48px; display: block; background: #f6f8fb; border-radius: 6px; }
.price-history small { display: block; margin-top: 4px; }
.nav-sale { color: var(--c-green); font-weight: 600; }
.sale-section { margin-top: 30px; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-size: 1.05rem; margin: 0; line-height: 1.3; }
.card-title a { color: var(--c-text); }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-tagline { color: var(--c-muted); font-size: .9rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; color: var(--c-muted); }
.rating { color: var(--c-text); font-weight: 600; }
.rating::before { content: "★ "; color: var(--c-star); }
.card-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 6px; }
.price { font-weight: 700; font-size: 1.15rem; }
.price small { display: block; font-weight: 400; font-size: .78rem; color: var(--c-muted); }
.price del { color: var(--c-muted); font-weight: 400; font-size: .9rem; margin-left: 6px; }
.card .btn { position: relative; z-index: 1; padding: .55em 1em; font-size: .9rem; }

/* Catalog page */
.page-head { padding-top: 28px; padding-bottom: 8px; }
.breadcrumbs { font-size: .85rem; color: var(--c-muted); margin-bottom: 14px; }
.breadcrumbs a { color: var(--c-muted); }
.breadcrumbs span { margin: 0 6px; }
.page-intro { max-width: 1100px; font-size: 1.05rem; }
.subpages { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px; }
.subpages a { padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--c-line); font-size: .9rem; color: var(--c-text); }
.subpages a:hover, .subpages a.active { border-color: var(--c-primary); color: var(--c-primary); }
.subpages a.more { background: transparent; border-style: dashed; color: var(--c-primary); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 12px 14px; margin: 16px 0 22px; }
.filters select, .filters input[type=number] { padding: 8px 10px; border: 1px solid var(--c-line); border-radius: 8px; font: inherit; font-size: .92rem; background: #fff; }
.filters label.check { display: inline-flex; align-items: center; gap: 6px; font-size: .92rem; }
.filters .btn { padding: .55em 1.1em; font-size: .92rem; }
.filters .reset { font-size: .9rem; color: var(--c-muted); }
.results-count { color: var(--c-muted); font-size: .92rem; margin-bottom: 14px; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 28px 0 8px; }
.pagination .page-numbers { padding: 8px 13px; border-radius: 8px; background: #fff; border: 1px solid var(--c-line); color: var(--c-text); font-size: .95rem; }
.pagination .page-numbers.current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.pagination .page-numbers.dots { border: 0; background: none; }
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.2em; }
.prose li { margin-bottom: .35em; }
.faq { max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-sm); padding: 4px 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 10px 0; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 8px; font-size: 1.3rem; color: var(--c-primary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 10px; margin: 0; color: var(--c-muted); }
.empty { padding: 40px 0; text-align: center; color: var(--c-muted); }

/* Single */
.single-top { padding-top: 22px; padding-bottom: 8px; }
.single-title { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.single-tagline { font-size: 1.1rem; color: var(--c-muted); max-width: 800px; }
.single-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 10px 0 0; font-size: .95rem; color: var(--c-muted); }
.single-meta .rating { font-size: 1rem; }
.gallery { display: grid; gap: 8px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 300px; border-radius: var(--r); overflow: hidden; margin: 18px 0; }
.gallery a { display: block; overflow: hidden; background: #dfe5ee; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.03); }
.gallery.gallery-1 { grid-template-columns: 1fr; grid-template-rows: 420px; }
.gallery.gallery-2 { grid-template-columns: 1fr 1fr; }
.gallery .more { position: relative; }
.gallery .more::after { content: attr(data-more); z-index: 2; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.45); color: #fff; font-weight: 700; font-size: 1.2rem; }
.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.single-layout > aside { align-self: stretch; }
.book-box { position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.book-box .price { font-size: 1.7rem; }
.book-box .price del { font-size: 1rem; }
.book-box .discount-note { color: var(--c-accent-dark); font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.book-box .facts { list-style: none; padding: 0; margin: 14px 0; font-size: .92rem; }
.book-box .facts li { display: flex; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--c-line); }
.book-box .facts li b { min-width: 110px; color: var(--c-muted); font-weight: 500; }
.ad-label { display: block; font-size: .7rem; color: #8a94a1; margin-top: 8px; line-height: 1.3; }
.book-note { font-size: .82rem; color: var(--c-muted); margin-top: 10px; }
.guide { display: flex; gap: 12px; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--c-line); }
.guide img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.guide small { display: block; color: var(--c-muted); }
.intro-box { background: #fff; border-radius: var(--r); padding: 20px 24px; border: 1px solid var(--c-line); margin-bottom: 20px; }
.pros { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pros li { padding-left: 28px; position: relative; }
.pros li::before { content: "✓"; position: absolute; left: 0; color: var(--c-green); font-weight: 700; }
.tip { background: #fff7ee; border-left: 4px solid var(--c-accent); padding: 12px 16px; border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 18px 0; }
.desc h3 { margin-top: 1.4em; }
.desc ul { margin-bottom: 1em; }
.info-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 20px 0; }
.info-grid > div { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-sm); padding: 14px 16px; font-size: .95rem; }
.info-grid > div > b { display: block; color: var(--c-muted); font-weight: 500; font-size: .85rem; margin-bottom: 4px; }
.info-grid li b, .info-grid li strong, .info-note li b, .info-note p b { display: inline; color: inherit; font-weight: 600; font-size: inherit; margin: 0; }
.reviews { margin-top: 28px; }
.review { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-sm); padding: 14px 16px; margin-bottom: 10px; }
.review-head { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; margin-bottom: 6px; }
.review-head b { font-weight: 600; }
.review p { margin: 0; }
.review .reply { margin-top: 8px; padding: 8px 12px; background: var(--c-bg); border-radius: 6px; font-size: .9rem; color: var(--c-muted); }
.mobile-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--c-line); padding: 10px 16px; z-index: 40; align-items: center; justify-content: space-between; gap: 12px; }
.mobile-cta .price { font-size: 1.1rem; }

/* Dates */
.dates { margin: 6px 0 14px; }
.dates > b { display: block; font-size: .85rem; color: var(--c-muted); font-weight: 500; margin-bottom: 6px; }
.date-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.date-chip { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60px; padding: 5px 6px; border: 1px solid var(--c-line); border-radius: 8px; font-size: .85rem; font-weight: 600; line-height: 1.2; background: var(--c-bg); color: var(--c-text); transition: border-color .15s, background .15s; }
.date-chip { cursor: pointer; font-family: inherit; }
.date-chip:hover { border-color: var(--c-accent); background: #fff7ee; color: var(--c-text); }
.date-chip.active { border-color: var(--c-accent); background: var(--c-accent); color: #fff; }
.date-chip.active small { color: rgba(255,255,255,.85); }
.date-chip .seats { color: var(--c-accent-dark); }
.date-chip small { font-weight: 400; color: var(--c-muted); font-size: .72rem; }
.dates .muted { display: block; margin-top: 6px; }
.cal { display: grid; gap: 12px; }
.cal-title { font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.cal-wd { font-size: .7rem; color: var(--c-muted); text-align: center; padding-bottom: 2px; }
.cal-day { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 40px; border-radius: 7px; font-size: .84rem; line-height: 1.1; font-family: inherit; }
.cal-day.pad { visibility: hidden; }
.cal-day.past { color: #c3c8d0; }
.cal-day.off { color: var(--c-muted); background: var(--c-bg); }
.cal-day.has { background: #e9f4ee; border: 1px solid #bfe0cc; color: var(--c-text); font-weight: 600; cursor: pointer; padding: 3px 2px; }
.cal-day.has:hover { border-color: var(--c-accent); background: #fff7ee; }
.cal-day.has.active { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.cal-day.has small { font-weight: 500; font-size: .66rem; color: var(--c-accent-dark); margin-top: 1px; white-space: nowrap; }
.cal-day.has.active small { color: rgba(255,255,255,.9); }
.cal-day.today { box-shadow: inset 0 0 0 2px var(--c-accent); }
.cal-info { margin-top: 10px; padding: 8px 12px; border-radius: 8px; background: var(--c-bg); font-size: .86rem; color: var(--c-muted); }
.cal-info.set { background: #fff7ee; color: var(--c-text); font-weight: 600; }

/* Article v2 */
.art-title { max-width: 900px; }
.art-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--c-muted); font-size: .9rem; margin: 0; }
.art-cat { color: var(--c-accent-dark); font-weight: 600; }
.art-hero { border-radius: var(--r); overflow: hidden; width: 100%; height: clamp(200px, 30vw, 440px); background: #dfe5ee; margin: 16px 0 8px; box-shadow: var(--shadow); }
.art-hero img { width: 100%; height: 100%; object-fit: cover; }
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; margin-top: 18px; }
.art-side { display: grid; gap: 14px; align-content: start; align-self: stretch; }
.toc-box { position: sticky; top: 80px; max-height: calc(100vh - 100px); overflow: auto; }
.side-box { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 14px 16px; }
.side-title { font-weight: 700; font-size: .95rem; margin-bottom: 8px; }
.toc { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { font-size: .84rem; line-height: 1.3; margin: 0 0 6px; padding-left: 18px; position: relative; counter-increment: toc; }
.toc li::before { content: counter(toc); position: absolute; left: 0; top: 0; color: var(--c-muted); font-size: .8rem; }
.toc a { color: var(--c-text); }
.toc a:hover, .toc a.active { color: var(--c-primary); }
.side-link { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--c-line); color: var(--c-text); font-size: .92rem; }
.side-link:first-of-type { border-top: 0; }
.side-link span { color: var(--c-muted); font-size: .82rem; white-space: nowrap; }
.summary { background: #f2f6fc; border: 1px solid #d6e2f3; border-radius: var(--r); padding: 16px 20px; margin: 0 0 22px; }
.summary-title { font-weight: 700; margin-bottom: 8px; color: var(--c-primary); }
.summary ul { margin: 0; padding-left: 1.2em; }
.summary li { margin-bottom: 5px; font-size: .97rem; }
.toc-inline { display: none; }
.sources { margin-top: 28px; padding: 14px 16px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-sm); font-size: .88rem; color: var(--c-muted); }
.article h2 { margin-top: 1.8em; scroll-margin-top: 80px; }
.article p { font-size: 1.04rem; line-height: 1.65; }
.article table { font-size: .93rem; }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); color: var(--c-text); transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); color: var(--c-text); }
.post-card-img { aspect-ratio: 16/9; background: linear-gradient(120deg, #163a69, #2a6bb8); overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 12px 14px 14px; }
.post-card-body h3 { font-size: 1rem; line-height: 1.3; margin: 0 0 6px; }
.post-card-body p { font-size: .86rem; color: var(--c-muted); margin: 0; }
.featured { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin: 8px 0 28px; }
.featured-main { position: relative; display: block; border-radius: var(--r); overflow: hidden; min-height: 360px; background: var(--c-primary-dark); color: #fff; box-shadow: var(--shadow); }
.featured-main img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.featured-body { position: absolute; inset: auto 0 0 0; padding: 70px 26px 26px; background: linear-gradient(rgba(10,20,40,0), rgba(10,20,40,.55) 30%, rgba(10,20,40,.92)); }
.featured-body h2 { color: #fff; margin: 6px 0 8px; font-size: 1.5rem; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.featured-body p { color: rgba(255,255,255,.9); margin: 0; font-size: .95rem; max-width: 620px; }
.featured-body .art-cat { color: #fff; background: var(--c-accent); padding: 3px 10px; border-radius: 999px; font-size: .8rem; }
.featured-list { display: grid; gap: 12px; }
.featured-item { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; background: #fff; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--c-line); color: var(--c-text); }
.featured-item img { width: 110px; height: 76px; object-fit: cover; }
.featured-item h3 { font-size: .95rem; margin: 0; padding-right: 10px; line-height: 1.3; }
.featured-item:hover { border-color: var(--c-primary); color: var(--c-primary); }
@media (max-width: 960px) {
  .art-layout { grid-template-columns: minmax(0, 1fr); }
  .article, .prose { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  /* таблицы на мобильном: не сжимать колонки в столбик из букв, а прокручивать по горизонтали */
  .table-wrap table, .prose table { min-width: 560px; }
  .table-wrap th, .table-wrap td, .prose th, .prose td { overflow-wrap: normal; word-break: normal; hyphens: manual; padding: 8px 10px; font-size: .9rem; }
  .table-wrap th, .prose th { white-space: nowrap; }
  .table-wrap { margin-left: -16px; margin-right: -16px; padding: 0 16px; }
  .table-wrap::after { content: "← прокрутите таблицу →"; display: block; font-size: .78rem; color: var(--c-muted); text-align: center; padding: 6px 0 0; }
  .toc-box { display: none; }
  .toc-inline { display: block; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-sm); padding: 6px 14px; margin-bottom: 18px; }
  .toc-inline summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
  .toc-inline ol { margin: 6px 0 8px; padding-left: 1.3em; font-size: .92rem; }
  .featured { grid-template-columns: 1fr; }
  .featured-main { min-height: 260px; }
}

.expandable .post-card.is-hidden { display: none; }
.post-card-cat { display: inline-block; color: var(--c-accent); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 4px; }

/* Мини-CTA в сайдбаре экскурсии при прокрутке */
.mini-cta { position: sticky; top: 84px; margin-top: 16px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s; }
.mini-cta.show { opacity: 1; transform: none; pointer-events: auto; }
.mini-price { font-size: 1.35rem; font-weight: 700; margin-bottom: 4px; }
.mini-price del { font-size: .9rem; color: var(--c-muted); font-weight: 400; }
.mini-price small { font-size: .8rem; color: var(--c-muted); font-weight: 400; }
.mini-cta .btn { margin-top: 10px; }
.mini-up { display: block; text-align: center; font-size: .82rem; margin-top: 8px; color: var(--c-muted); }
@media (max-width: 900px) { .mini-cta { display: none; } }

/* Планировщик по дате */
.day-hero { background: linear-gradient(135deg, #163a69 0%, #1f4e8c 55%, #2a6bb8 100%); color: #fff; padding: 22px 0 18px; }
.day-hero .breadcrumbs, .day-hero .breadcrumbs a { color: rgba(255,255,255,.7); }
.day-hero h1 { color: #fff; margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.day-hero .lead { color: rgba(255,255,255,.85); max-width: 640px; margin: 0; font-size: 1rem; }
.day-rel { display: inline-block; vertical-align: middle; font-size: .8rem; font-weight: 600; background: var(--c-accent); padding: 3px 10px; border-radius: 999px; margin-left: 6px; }
.day-hero-row { display: flex; gap: 24px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.day-weather-badge { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 14px; padding: 12px 16px; min-width: 200px; }
.day-wicon { grid-row: 1 / 3; line-height: 0; }
.ico { display: inline-block; vertical-align: middle; object-fit: contain; }
.day-card h2 .ico { width: 34px; height: 34px; }
.day-weather-badge b { font-size: 1.5rem; line-height: 1.1; }
.day-weather-badge small { color: rgba(255,255,255,.8); }
.day-strip { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0 4px; scrollbar-width: none; }
.day-strip a { flex: 0 0 auto; text-align: center; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; min-width: 62px; line-height: 1.2; transition: background .15s; }
.day-strip a:hover { background: rgba(255,255,255,.22); }
.day-strip a b { display: block; font-size: 1.15rem; }
.day-strip a small { color: rgba(255,255,255,.75); font-size: .72rem; }
.day-strip a.wknd small:first-child { color: #ffd2b0; }
.day-strip a.active { background: #fff; color: var(--c-primary-dark); border-color: #fff; }
.day-strip a.active small { color: var(--c-muted); }
.day-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin: 22px 0 8px; }
.day-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 16px 18px; border-top: 4px solid var(--c-primary); box-shadow: var(--shadow); }
.dc-weather { border-top-color: #2a6bb8; } .dc-bridges { border-top-color: var(--c-accent); } .dc-closed { border-top-color: #b4552b; } .dc-season { border-top-color: var(--c-green); }
.day-card h2 { font-size: 1.02rem; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.day-advice .ico { flex: 0 0 auto; }
.day-card .big { font-size: 1.7rem; font-weight: 700; line-height: 1.1; }
.day-card ul { margin: 0; padding-left: 18px; }
.day-card li { margin: 3px 0; font-size: .95rem; }
.bridge-list { list-style: none; padding: 0 !important; margin-top: 8px !important; }
.bridge-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; padding: 5px 0; border-bottom: 1px dashed var(--c-line); font-size: .88rem; }
.bridge-list li b { color: var(--c-primary-dark); font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; flex: 1 0 auto; }
.day-advice { display: flex; gap: 14px; align-items: flex-start; background: #fff7ee; border: 1px solid #f3d7bd; border-left: 4px solid var(--c-accent); padding: 14px 18px; border-radius: var(--r-sm); margin: 18px 0; }
.da-ico { font-size: 1.4rem; line-height: 1; }
.day-event { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--c-line); border-left: 4px solid var(--c-accent); border-radius: var(--r-sm); padding: 12px 16px; margin-bottom: 10px; }
.de-ico { font-size: 1.3rem; line-height: 1; }
.slots { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 10px 0 12px; }
.slot { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; align-items: center; padding: 10px 14px; border-radius: var(--r-sm); color: var(--c-text); border: 1px solid var(--c-line); background: #fff; }
.slot span { grid-row: 1 / 3; line-height: 0; }
.slot b { font-size: 1.25rem; line-height: 1.1; }
.slot small { color: var(--c-muted); }
.slot-m { background: #fff9ec; } .slot-d { background: #f0f7ff; } .slot-e { background: #fff1e8; } .slot-n { background: #eef0f7; }
.slot:hover, .slot.active { border-color: var(--c-primary); box-shadow: 0 0 0 2px rgba(31,78,140,.15); }
.card-wrap { display: flex; flex-direction: column; }
.card-times { font-size: .82rem; color: var(--c-muted); padding: 6px 4px 0; }
.day-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }
.day-cats a { padding: 6px 12px; background: #fff; border: 1px solid var(--c-line); border-radius: 999px; font-size: .9rem; color: var(--c-text); }
.day-cats a span { color: var(--c-muted); }
.closed { color: #b4552b; }

.afisha { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.afisha-item { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-sm); padding: 0 0 12px; color: var(--c-text); overflow: hidden; }
.afisha-item > * { padding: 0 14px; }
.afisha-img { padding: 0 !important; aspect-ratio: 16/9; background: #dfe5ee; margin-bottom: 8px; display: block; }
.afisha-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.afisha-item:hover { border-color: var(--c-primary); }
.afisha-price { font-weight: 600; color: var(--c-accent-dark); font-size: .9rem; margin-top: auto; }
.afisha-img { aspect-ratio: 1/1; }
.afisha-item b { font-size: .95rem; line-height: 1.3; }
.afisha-cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; color: var(--c-accent); font-weight: 600; }


.desc-clamp { max-height: 560px; overflow: hidden; position: relative; }
.desc-clamp::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(rgba(255,255,255,0), #fff); }
.desc-clamp.open { max-height: none; }
.desc-clamp.open::after { display: none; }
.desc-more { margin: 6px 0 14px; }
.btn-ghost { background: #fff; border: 1px solid var(--c-line); border-radius: 8px; padding: 9px 16px; font: inherit; font-weight: 600; cursor: pointer; color: var(--c-text); }
.btn-ghost:hover { border-color: var(--c-accent); color: var(--c-accent); }
.info-lists ul, .info-note ul { margin: 6px 0 0; padding-left: 18px; }
.info-lists li, .info-note li { margin: 2px 0; }
.info-lists ul ul { margin: 2px 0 4px; }
.info-note { margin: 14px 0; padding: 14px 18px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); }
.info-note > b { display: block; margin-bottom: 4px; }
.info-note p { margin: 4px 0; }
.expandable .review.is-hidden { display: none; }

.ticket-strip { margin: 6px 0 30px; padding: 16px 20px 6px; background: #fbf7f1; border: 1px solid #efe2d1; border-radius: var(--r); }
.ticket-strip .hscroll { padding-bottom: 14px; }
.ticket-strip .hs-prev { left: -14px; } .ticket-strip .hs-next { right: -14px; }
.ticket-strip .section-head { margin-bottom: 2px; }
.section-head h2 .count { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #fff1e3; color: #b5560f; font-size: .8rem; font-weight: 600; vertical-align: middle; }
.hscroll-wrap { position: relative; }
.hscroll { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 12px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.hscroll > .card { flex: 0 0 252px; width: 252px; scroll-snap-align: start; }
.hscroll .card .price { white-space: nowrap; }
.hs-btn { position: absolute; top: 40%; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-line); background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.12); font-size: 26px; line-height: 36px; cursor: pointer; color: var(--c-text); display: none; }
.hs-prev { left: -18px; } .hs-next { right: -18px; }
.hs-btn[disabled] { opacity: .35; cursor: default; }
@media (min-width: 900px) { .hs-btn { display: block; } }
.reviews-wall { margin: 10px 0 30px; }
.rw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.rw-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 10px; }
.rw-head { display: flex; align-items: center; gap: 10px; }
.rw-avatar { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.rw-who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.rw-who b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rw-stars { color: #f5a623; font-size: .9rem; letter-spacing: 1px; white-space: nowrap; }
.rw-stars i { color: #e3e6ea; font-style: normal; }
.rw-text { margin: 0; font-size: .95rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.rw-exc { margin-top: auto; display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--c-line); font-size: .86rem; font-weight: 600; color: var(--c-text); text-decoration: none; }
.rw-exc img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: 0 0 44px; }
.rw-exc span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rw-exc:hover span { color: var(--c-accent); }

.hub-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.hub-main { min-width: 0; }
.hub-main .prose, .hub-main .faq { max-width: 100%; }
.hub-side { align-self: stretch; padding-top: clamp(32px, 5vw, 56px); }
@media (max-width: 1000px) { .hub-side { padding-top: 0; } }
.hub-sticky { min-height: 100%; }
.hub-static { display: grid; gap: 14px; }
.hub-mini { margin-top: 0; padding: 14px 16px; }
.hub-mini .side-box { border: 0; padding: 0; background: transparent; border-radius: 0; }
.hub-mini .side-box + .side-box { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--c-line); }
.hub-mini .side-top img { width: 44px; height: 44px; flex-basis: 44px; }
.hub-mini .side-tix { background: #fff7ee; border: 1px solid #f3d7bd; border-radius: 8px; padding: 12px 14px; }
.hub-mini .side-tix p { margin-bottom: 8px; }
.ticket-strip { scroll-margin-top: 90px; }
html { scroll-behavior: smooth; }
.side-box { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 16px 18px; }
.side-box > b { display: block; margin-bottom: 10px; font-size: 1.02rem; }
.side-stats dl { margin: 0; display: grid; gap: 6px; }
.side-stats dl div { display: flex; justify-content: space-between; gap: 10px; font-size: .95rem; }
.side-stats dt { color: var(--c-muted); }
.side-stats dd { margin: 0; font-weight: 600; text-align: right; }
.side-when { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--c-line); font-size: .92rem; }
.side-top { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--c-line); color: var(--c-text); text-decoration: none; }
.side-top:first-of-type { border-top: 0; padding-top: 0; }
.side-num { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-accent); color: #fff; font-size: .78rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.side-top img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; flex: 0 0 56px; }
.side-top-t { display: flex; flex-direction: column; min-width: 0; font-size: .9rem; font-weight: 600; line-height: 1.3; }
.side-top-t > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-top-t small { font-weight: 400; color: var(--c-muted); }
.side-top:hover .side-top-t > span { color: var(--c-accent); }
.side-tix { background: #fff7ee; border-color: #f3d7bd; }
.side-tix p { margin: 0 0 10px; }
.side-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.side-chips a { font-size: .85rem; padding: 4px 10px; border: 1px solid var(--c-line); border-radius: 999px; text-decoration: none; color: var(--c-text); }
.side-chips a:hover { border-color: var(--c-accent); color: var(--c-accent); }
.side-list { margin: 0; padding-left: 18px; font-size: .92rem; }
.side-list li { margin: 4px 0; }
@media (max-width: 1000px) { .hub-grid { grid-template-columns: 1fr; gap: 10px; } .hub-sticky { position: static; } .hub-side { display: none; } }

.head-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.head-text { min-width: 0; }
.head-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); overflow: hidden; margin-top: 6px; }
.head-card img { display: block; width: 100%; height: 190px; object-fit: cover; }
.hc-body { padding: 14px 16px 12px; }
.hc-body dl { margin: 0; display: grid; gap: 6px; }
.hc-body dl div { display: flex; justify-content: space-between; gap: 10px; font-size: .95rem; }
.hc-body dt { color: var(--c-muted); }
.hc-body dd { margin: 0; font-weight: 600; text-align: right; }
@media (max-width: 1000px) { .head-grid { grid-template-columns: 1fr; gap: 14px; } .head-card img { height: 160px; } }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; margin: 12px 0 20px; }
.prose th, .prose td { padding: 8px 12px; border: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.prose th { background: var(--c-bg); font-weight: 600; }
.prose tbody tr:nth-child(even) td { background: #fafbfd; }

.article .ticket-strip { margin: 26px 0; }
.article .ticket-strip h2 { margin: 0; font-size: 1.25rem; }
.article .hscroll > .card { flex-basis: 232px; width: 232px; }

.cmp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 16px 0 8px; }
.cmp-stats div { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 14px 16px; }
.cmp-stats b { display: block; font-size: 1.5rem; }
.cmp-stats span { color: var(--c-muted); font-size: .88rem; }
.cmp-section { margin: 26px 0; }
.cmp-list { display: grid; gap: 10px; }
.cmp-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 150px 150px 90px; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 12px 14px; }
.cmp-img img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; display: block; }
.cmp-title { font-weight: 600; display: block; color: var(--c-text); text-decoration: none; }
.cmp-title:hover { color: var(--c-accent); }
.cmp-main small { display: block; margin-top: 4px; }
.cmp-price { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--c-line); }
.cmp-price.win { background: #e9f4ee; border-color: #bfe0cc; }
.cmp-src { font-size: .75rem; color: var(--c-muted); }
.cmp-price b { font-size: 1.05rem; }
.cmp-price .btn-sm { margin-top: 6px; padding: 5px 8px; font-size: .8rem; }
.cmp-diff { text-align: center; }
.cmp-diff small { display: block; margin-top: 2px; }
.badge-save { display: inline-block; background: var(--c-green, #1f8a4c); color: #fff; font-weight: 700; padding: 3px 9px; border-radius: 999px; font-size: .9rem; }
.cmp-banner { display: block; background: #163a69; color: #fff; border-radius: var(--r); padding: 18px 22px; text-decoration: none; }
.cmp-banner b { display: block; font-size: 1.15rem; margin-bottom: 4px; }
.cmp-banner span { color: rgba(255,255,255,.85); }
.cmp-banner:hover { background: #1f4e8c; color: #fff; }
@media (max-width: 800px) { .cmp-row { grid-template-columns: 72px minmax(0, 1fr); } .cmp-img img { width: 72px; height: 54px; } .cmp-price, .cmp-diff { grid-column: span 1; } .cmp-diff { text-align: left; } }

.tl-events { margin: 18px 0 30px; }
.tl-events .afisha { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* Article */
.article { max-width: 820px; }
.article img { border-radius: var(--r-sm); }
.article .excursion-list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin: 20px 0; }

/* Footer */
.site-footer { background: #182536; color: #c7d0dc; padding: 40px 0 28px; margin-top: 48px; font-size: .92rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 10px; }
.site-footer a { color: #c7d0dc; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 26px; padding-top: 16px; font-size: .8rem; color: #8f9cad; }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--shadow-hover); font-size: .88rem; display: none; z-index: 60; }
.cookie.show { display: flex; gap: 14px; align-items: center; }
.cookie .btn { padding: .55em 1em; font-size: .9rem; white-space: nowrap; }

/* Responsive */
@media (max-width: 960px) {
  .nav, .header-search { display: none; }
  .burger { display: block; }
  .single-layout { grid-template-columns: 1fr; }
  .book-box { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 110px; }
  .gallery a:first-child { grid-column: 1 / 3; grid-row: 1; }
  .gallery a:nth-child(n+4) { display: none; }
  .gallery.gallery-1 { grid-template-columns: 1fr; grid-template-rows: 220px; }
  .gallery.gallery-2 { grid-template-columns: 1fr; grid-template-rows: 200px 110px; }
  .gallery.gallery-2 a:first-child { grid-column: 1; }
  .mobile-cta { display: flex; }
  body.has-mobile-cta { padding-bottom: 70px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-search button { padding: 0 14px; }
  .filters { gap: 8px; }
  .filters select { flex: 1 1 45%; }
}

/* Блок «Где остановиться» */
.hotels-box { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; margin: 28px 0; padding: 20px 24px; background: #f3f7fb; border: 1px solid #dbe6f1; border-radius: var(--r); }
.hotels-box h2 { margin: 0 0 6px; font-size: 1.25rem; }
.hotels-box p { margin: 0; color: var(--c-muted, #5b6673); font-size: .95rem; }
.hotels-btns { display: flex; flex-direction: column; gap: 8px; min-width: 230px; }
.hotels-btns .btn { text-align: center; white-space: nowrap; }
.hotels-box .ad-label { grid-column: 1 / -1; margin-top: 2px; }
@media (max-width: 760px) { .hotels-box { grid-template-columns: 1fr; padding: 16px; } .hotels-btns { min-width: 0; } }
