/* yoshkin.ru — public front styles */
:root {
    --fg: #1c1a19;
    --muted: #6b6560;
    --line: #ece8e3;
    --bg: #ffffff;
    --bg-soft: #faf8f5;
    --accent: #e51b22;
    --accent-dark: #c30f16;
    --radius: 14px;
    --shadow: 0 6px 24px rgba(30, 25, 20, .08);
    --shadow-lg: 0 16px 40px rgba(30, 25, 20, .14);
    --wrap: 1100px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: "Manrope", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--fg);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: "Oswald", "Segoe UI", sans-serif; font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; height: 30px; width: auto; }
.site-nav { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; }
.site-nav a { color: var(--fg); font-weight: 500; font-size: 15px; }
.site-nav a:hover { color: var(--accent); }
.site-search input { border: 1px solid #d8d2cb; border-radius: 20px; padding: 8px 16px; font-size: 14px; width: 160px; background: var(--bg-soft); }
.site-search input:focus { outline: none; border-color: var(--accent); background: #fff; }
@media (max-width: 640px) { .site-search { display: none; } }

/* Hero */
.hero {
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(1200px 400px at 85% -20%, rgba(229,27,34,.10), transparent 60%),
        linear-gradient(180deg, #fff, var(--bg-soft));
}
.hero .wrap { padding-top: 52px; padding-bottom: 52px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; letter-spacing: -.5px; }
.hero h1 span { color: var(--accent); }
.hero p.lead { color: var(--muted); font-size: 18px; margin: 0 0 22px; max-width: 46ch; }
.hero-stats { display: flex; gap: 28px; margin-bottom: 22px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-family: "Oswald", sans-serif; font-size: 30px; line-height: 1; color: var(--fg); }
.hero-stats span { font-size: 13px; color: var(--muted); margin-top: 3px; }
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 10px; height: 440px; }
.hero-collage a { position: relative; display: block; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.hero-collage a:first-child { grid-row: span 2; }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.hero-collage a:hover img { transform: scale(1.06); }

/* Tourist page: full-width image hero */
.hero-city { position: relative; border-bottom: none; background: #1c1a19; overflow: hidden; }
.hero-city::before { content: ""; position: absolute; inset: 0; background-image: url('/uploads/sights/naberezhnaya-bryugge.jpg'); background-size: cover; background-position: center 40%; opacity: .5; }
.hero-city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,12,.35) 0%, rgba(20,16,12,.78) 100%); }
.hero-city .wrap { position: relative; z-index: 1; display: block; padding-top: 74px; padding-bottom: 74px; }
.hero-city .hero-text { max-width: 760px; }
.hero-city h1 { color: #fff; }
.hero-city h1 span { color: #fff; opacity: .78; }
.hero-city p.lead { color: rgba(255,255,255,.92); max-width: 56ch; }
.hero-city .hero-stats { margin-top: 26px; margin-bottom: 0; }
.hero-city .hero-stats b { color: #fff; }
.hero-city .hero-stats span { color: rgba(255,255,255,.72); }
@media (max-width: 640px) { .hero-city .wrap { padding-top: 48px; padding-bottom: 48px; } .hero-city .hero-stats { gap: 20px; flex-wrap: wrap; } }
.hero-collage a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(20,16,12,.32)); opacity: 0; transition: opacity .2s; }
.hero-collage a:hover::after { opacity: 1; }

/* Suggestion form card */
.suggest-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.suggest-card h2 { font-size: 20px; }
.suggest-card p { color: var(--muted); margin: 0 0 14px; font-size: 15px; }
.suggest-card form { display: flex; flex-direction: column; gap: 10px; }
.suggest-card input[type=text] { padding: 12px 14px; border: 1px solid #d8d2cb; border-radius: 10px; font-size: 15px; }
.suggest-card input[type=text]:focus { outline: none; border-color: var(--accent); }
.btn { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 10px; padding: 12px 20px; font-size: 15px; font-weight: 600; cursor: pointer; text-align: center; }
.btn:hover { background: var(--accent-dark); color: #fff; }
.flash-ok { background: #e8f6ec; color: #1c7a3e; border-radius: 10px; padding: 10px 14px; margin-bottom: 12px; font-size: 15px; }

/* Section heading */
.section { padding: 48px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head h2 { position: relative; padding-left: 14px; }
.section-head h2::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 3px; background: var(--accent); }

/* District chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 9px 16px; font-size: 15px; font-weight: 500; color: var(--fg); box-shadow: var(--shadow); }
.chip span { background: var(--bg-soft); color: var(--muted); border-radius: 12px; padding: 1px 9px; font-size: 13px; font-weight: 600; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip:hover span { background: var(--accent); color: #fff; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--accent), var(--accent-dark)); color: #fff; }
.cta-band .wrap { padding: 40px 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; font-size: 26px; }
.cta-band p { margin: 0; opacity: .9; }
.btn-lg { padding: 14px 26px; font-size: 16px; background: #fff; color: var(--accent-dark); }
.btn-lg:hover { background: #fff; color: var(--accent-dark); transform: translateY(-1px); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; gap: 16px; }
.section-head h2 { font-size: 28px; margin: 0; }
.section-head a { font-size: 15px; font-weight: 500; }

/* Collections grid */
.coll-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.coll-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: #eee; box-shadow: var(--shadow); display: block; transition: box-shadow .25s ease, transform .25s ease; }
.coll-card:hover { box-shadow: var(--shadow-lg); }
.coll-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.coll-card:hover img { transform: scale(1.06); }
.coll-card .coll-fallback { position: absolute; inset: 0; background: linear-gradient(135deg, #f0b429, var(--accent)); }
.coll-card h3 { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 40px 16px 14px; color: #fff; font-size: 19px; background: linear-gradient(transparent, rgba(0,0,0,.75)); }

/* Tourist sights */
.sights-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.sight-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.sight-media { aspect-ratio: 16/10; }
.sight-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sight-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #4a6fa5, #2d4a73); font-family: "Oswald", sans-serif; font-size: 64px; font-weight: 700; color: rgba(255,255,255,.9); }
.sight-body { padding: 16px 18px 18px; }
.sight-body h3 { font-size: 20px; margin: 0 0 8px; }
.sight-body p { font-size: 15px; line-height: 1.6; color: #3a3632; margin: 0; }
.sight-credit { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* Big place cards ("Куда сходить") */
.pcard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.pcard { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .25s ease, transform .25s ease; color: var(--fg); }
.pcard:hover { box-shadow: var(--shadow-lg); color: var(--fg); }
.pcard-media { position: relative; aspect-ratio: 16/10; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard-cat { position: absolute; left: 8px; bottom: 8px; background: rgba(20,16,14,.72); color: #fff; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 14px; backdrop-filter: blur(2px); }
.pcard-media .chip-badge { top: 8px; left: 8px; }
.pcard-body { padding: 12px 14px 14px; }
.pcard-body h3 { font-size: 18px; margin: 0 0 4px; }
.pcard-addr { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Posts grid */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); box-shadow: var(--shadow); transition: box-shadow .25s ease, transform .25s ease; }
.post-card:hover { box-shadow: var(--shadow-lg); }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card .body { padding: 14px 16px 18px; }
.post-card h3 { font-size: 18px; margin: 0; }

/* Places list (recent / net) */
.places { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.place-chip { text-align: center; color: var(--fg); }
.chip-media { position: relative; margin-bottom: 8px; }
.chip-badge { position: absolute; top: 8px; left: 8px; padding: 3px 9px; border-radius: 12px; font-size: 11px; font-weight: 600; letter-spacing: .2px; }
.chip-badge.is-open { background: #1c7a3e; color: #fff; }
.chip-badge.is-closed { background: rgba(20,16,14,.62); color: #fff; }
.place-chip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); display: block; }
.place-ph { width: 100%; aspect-ratio: 1; border-radius: 12px; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f0b429, var(--accent)); font-family: "Oswald", sans-serif; font-size: 40px; font-weight: 700; color: rgba(255,255,255,.92); }
.place-chip h4 { font-size: 15px; margin: 0; font-weight: 500; }

/* Collection page */
.coll-header { max-width: 760px; margin-bottom: 28px; }
.coll-header .count { display: inline-block; background: var(--accent); color: #fff; border-radius: 20px; padding: 3px 14px; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.coll-header h1 { font-size: clamp(28px, 4vw, 40px); }
.coll-item { display: grid; grid-template-columns: 300px 1fr; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); align-items: start; }
.coll-item .img img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }
.coll-item .num { color: var(--accent); font-family: "Oswald"; font-weight: 700; font-size: 22px; }
.coll-item h2 { font-size: 24px; margin: 4px 0 8px; }
.coll-item .meta { color: var(--muted); font-size: 15px; }
.coll-intro { margin-top: 10px; font-size: 16px; line-height: 1.6; color: #33302d; }
.coll-intro p { margin: 0 0 .6em; }

/* Location page */
.loc-head { margin-bottom: 20px; }
.loc-head h1 { font-size: clamp(26px, 4vw, 40px); margin: 0 0 8px; }
.loc-head-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 15px; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.badge-open { background: #e8f6ec; color: #1c7a3e; }
.badge-closed { background: #fdecea; color: #b71c1c; }

.loc-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 32px; align-items: start; }
.loc-main {}
.loc-cover { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 20px; display: block; }
.loc-cover-empty { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f0b429, var(--accent)); }
.loc-cover-empty span { font-family: "Oswald", sans-serif; font-size: 120px; font-weight: 700; color: rgba(255,255,255,.9); }
.loc-desc { font-size: 17px; line-height: 1.65; color: #33302d; margin: 0 0 18px; }
.loc-h2 { font-size: 20px; margin: 28px 0 12px; }

.loc-aside { position: sticky; top: 82px; display: flex; flex-direction: column; gap: 16px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.info-row { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.info-row:first-child { padding-top: 0; }
.info-ico { flex: 0 0 20px; }
.info-map { display: inline-block; margin-left: 8px; font-size: 13px; white-space: nowrap; }
.hours { margin-top: 14px; }
.hours-title { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 8px; }
.hours-row { display: flex; justify-content: space-between; font-size: 14px; padding: 3px 0; color: #444; }
.hours-row.is-today { font-weight: 700; color: var(--fg); }
.hours-row.is-today span:first-child::after { content: " · сегодня"; color: var(--accent); font-weight: 500; font-size: 12px; }
.coll-link { display: block; padding: 5px 0; font-size: 15px; }
.map-card { padding: 0; overflow: hidden; }
.map-card iframe { display: block; width: 100%; height: 240px; border: 0; }

.loc-info { list-style: none; padding: 0; margin: 16px 0; color: var(--fg); line-height: 2; font-size: 16px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.socials { margin-top: 14px; }
.social { display: inline-block; padding: 6px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; background: var(--bg-soft); border: 1px solid var(--line); color: var(--fg); }
.social:hover { border-color: var(--accent); color: var(--accent); }
.social-vk { background: #eaf2fb; border-color: #d4e4f7; color: #2787f5; }
.social-telegram { background: #e9f5fd; border-color: #cfeafc; color: #2aabee; }
.social-whatsapp { background: #e9f8ef; border-color: #cfeeda; color: #25d366; }
.social-instagram { background: #fdeef4; border-color: #f7d6e6; color: #c13584; }
.features { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.feature { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 18px; padding: 5px 14px; font-size: 14px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 12px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; cursor: zoom-in; transition: opacity .2s; }
.gallery a:hover img { opacity: .88; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; z-index: 1000; cursor: zoom-out; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 92vh; border-radius: 8px; box-shadow: 0 10px 60px rgba(0,0,0,.5); }

/* Ad slot */
.ad-slot { margin: 28px 0; min-height: 90px; }
.ad-slot.placeholder { display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(45deg, #f6f3ef, #f6f3ef 10px, #f1ede8 10px, #f1ede8 20px); border: 1px dashed #d8d2cb; border-radius: 10px; color: #b1a99f; font-size: 13px; padding: 24px; }

/* Breadcrumbs */
.breadcrumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { margin: 0 6px; color: #c9c2ba; }

/* Post body */
.post-body { font-size: 17px; line-height: 1.7; color: #24211f; }
.post-body p { margin: 0 0 1em; }
.post-body img { border-radius: 10px; margin: 12px 0; box-shadow: var(--shadow); }
.post-body h2, .post-body h3 { margin-top: 1.2em; }
.post-body a { text-decoration: underline; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #1c1a19; color: #cfc9c3; margin-top: 0; }
.site-footer .wrap { padding: 44px 20px 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-brand img { filter: none; margin-bottom: 12px; }
.footer-brand p { color: #948d86; font-size: 14px; line-height: 1.6; margin: 0; max-width: 30ch; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h4 { font-family: "Oswald", sans-serif; font-size: 14px; text-transform: uppercase; letter-spacing: .6px; color: #fff; margin: 0 0 4px; }
.footer-col a { color: #cfc9c3; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-cta p { color: #948d86; font-size: 14px; margin: 0 0 12px; }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid #302c2a; display: flex; justify-content: space-between; color: #8a837c; font-size: 13px; }
.footer-bottom a { color: #8a837c; }
.footer-bottom a:hover { color: #fff; }
main { min-height: 40vh; }

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .loc-grid { grid-template-columns: 1fr; gap: 20px; }
    .loc-aside { position: static; }
    .loc-cover, .loc-cover-empty { height: 260px; }
    .loc-cover-empty span { font-size: 90px; }
}
@media (max-width: 860px) {
    .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
    .hero-collage { height: 300px; }
    .hero-collage a:nth-child(n+4) { display: none; }
    .hero-collage { grid-template-rows: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .hero-collage { display: none; }
    .coll-item { grid-template-columns: 1fr; }
    .site-nav { gap: 14px; }
    .cta-band .wrap { flex-direction: column; align-items: flex-start; text-align: left; }
}
@media (max-width: 520px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 20px; }
}

/* ─── Events afisha (/afisha) ─────────────────────────────────────────── */
.ev-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; }
.ev-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 500; color: var(--ink); transition: all .15s; }
.ev-chip span { font-size: 12px; color: var(--muted); background: #f3f0ec; border-radius: 999px; padding: 1px 8px; }
.ev-chip:hover { border-color: var(--accent); }
.ev-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.ev-chip.active span { background: rgba(255,255,255,.25); color: #fff; }
.ev-day { margin: 0 0 34px; }
.ev-day-head { font-size: 22px; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); display: inline-block; text-transform: capitalize; }
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.ev-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.ev-card:hover { box-shadow: var(--shadow-lg); }
.ev-media { position: relative; aspect-ratio: 16/10; background: #f3f0ec; }
.ev-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 46px; background: linear-gradient(135deg, #4a6fa5, #2d4a73); }
.ev-cat { position: absolute; left: 8px; bottom: 8px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(20,16,12,.72); padding: 3px 9px; border-radius: 999px; backdrop-filter: blur(2px); }
.ev-age { position: absolute; right: 8px; top: 8px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(20,16,12,.6); padding: 2px 7px; border-radius: 6px; }
.ev-body { display: flex; flex-direction: column; gap: 6px; padding: 13px 15px 15px; flex-grow: 1; }
.ev-time { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 18px; color: var(--accent); }
.ev-title { font-size: 17px; line-height: 1.25; margin: 0; }
.ev-venue { font-size: 13px; color: var(--muted); }
.ev-venue a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); }
.ev-venue a:hover { color: var(--accent); }
.ev-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ev-price { font-weight: 600; font-size: 14px; }
.ev-tickets { font-size: 13px; font-weight: 600; color: #fff; background: var(--accent); padding: 6px 14px; border-radius: 999px; }
.ev-tickets:hover { background: var(--accent-dark); color: #fff; }
@media (max-width: 520px) { .ev-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; } .ev-title { font-size: 15px; } }

/* ─── Chain (сеть) sibling cards on the location page ─────────────────── */
.net-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin-bottom: 8px; }
.net-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.net-card:hover { box-shadow: var(--shadow-lg); }
.net-media { aspect-ratio: 16/10; background: #f3f0ec; }
.net-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.net-media .place-ph { width: 100%; height: 100%; }
.net-body { padding: 11px 13px 13px; display: flex; flex-direction: column; gap: 3px; }
.net-addr { font-weight: 600; font-size: 14px; line-height: 1.3; color: var(--ink); }
.net-district { font-size: 13px; color: var(--muted); }

/* ─── Category illustration marker + attribution ──────────────────────── */
.coll-item .img { position: relative; }
.stock-tag { position: absolute; left: 8px; top: 8px; z-index: 1; font-size: 10px; font-weight: 600; color: #fff; background: rgba(20,16,12,.55); padding: 2px 7px; border-radius: 6px; letter-spacing: .01em; backdrop-filter: blur(2px); }
.loc-cover-credit { font-size: 12px; color: var(--muted); margin: 7px 2px 0; line-height: 1.4; }
.loc-cover-credit a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); }
.loc-cover-credit a:hover { color: var(--accent); }

/* ─── Rating badge, category badge, editorial highlights (фишки) ──────── */
.badge-rating { background: #fff6e5; color: #9a6a00; border: 1px solid #f0d79a; }
.badge-cat { background: var(--bg-soft); color: var(--fg); border: 1px solid var(--line); }
.badge-cat:hover { border-color: var(--accent); color: var(--accent); }
.highlights { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 16px; }
.highlight { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 500; color: #7a4d00; background: linear-gradient(180deg,#fffaf0,#fff5e0); border: 1px solid #f0dcae; border-radius: 10px; padding: 6px 12px; }
/* rating on listing cards */
.chip-rating { position: absolute; right: 8px; top: 8px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(20,16,12,.62); padding: 2px 8px; border-radius: 999px; backdrop-filter: blur(2px); }
.pcard-rating { position: absolute; right: 8px; top: 8px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(20,16,12,.62); padding: 2px 8px; border-radius: 999px; }

/* ─── Cookie consent banner ───────────────────────────────────────────── */
.cookie-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 14px; background: #1c1a19; color: #f4efe9; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 14px; line-height: 1.45; }
.cookie-consent[hidden] { display: none; }
.cookie-consent a { color: #ffc9cb; text-decoration: underline; }
.cookie-consent button { flex-shrink: 0; background: var(--accent); color: #fff; border: 0; border-radius: 10px; padding: 9px 18px; font: inherit; font-weight: 700; cursor: pointer; }
.cookie-consent button:hover { background: var(--accent-dark); }
@media (max-width: 520px) { .cookie-consent { flex-direction: column; align-items: stretch; text-align: center; } }

/* ─── Digitised text menu ─────────────────────────────────────────────── */
.menu-text { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 20px 16px; }
.menu-sec { font-size: 17px; margin: 18px 0 8px; color: var(--accent-dark); }
.menu-sub { font-size: 14px; margin: 12px 0 6px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { display: flex; align-items: baseline; gap: 10px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.menu-list li:last-child { border-bottom: 0; }
.mi-name { flex: 1; }
.mi-price { font-weight: 700; white-space: nowrap; color: var(--fg); }
.menu-photos { margin-top: 12px; }
.menu-photos summary { cursor: pointer; font-weight: 600; color: var(--accent-dark); font-size: 14px; }

/* ─── Hero action buttons ─────────────────────────────────────────────── */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.btn-ghost { display: inline-block; background: #fff; color: var(--fg); border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 20px; font-weight: 600; }
.btn-ghost:hover { background: #fff; border-color: var(--accent); color: var(--accent); }
