/* Общините в България: нов облик. Граждански и модерен: бяло и светло, зеленото от знамето като основен цвят,
   червеното само за акценти, злато за VIP. Шрифт Geologica. Първо телефон (360-390 px), после компютър. */

:root {
  --g: #0e8a5f;          /* основно зелено */
  --g-d: #0a6a49;
  --g-dd: #0b3d2c;       /* тъмно зелено: футер, контактите в профила */
  --g-50: #e9f5ef;
  --g-100: #d3ecdf;
  --r: #d62612;          /* червено от знамето: само акценти */
  --r-50: #fdeeec;
  --gold: #a57818;
  --gold-50: #fbf4e3;
  --gold-l: #ecd9a8;
  --ink: #15201b;
  --ink-2: #33423b;
  --muted: #64736b;
  --line: #e1e7e3;
  --bg: #f4f6f3;
  --card: #fff;
  --r-s: 12px;
  --r-m: 16px;
  --r-l: 22px;
  --sh: 0 1px 2px rgba(16, 40, 30, .05), 0 6px 20px rgba(16, 40, 30, .06);
  --sh-h: 0 2px 4px rgba(16, 40, 30, .06), 0 16px 36px rgba(16, 40, 30, .12);
  --f: "Geologica", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hdr-top: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { font-feature-settings: "locl" 0 !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body { margin: 0; font: 400 15px/1.55 var(--f); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.i { width: 20px; height: 20px; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--g); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid rgba(14, 138, 95, .45); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; background: var(--g); color: #fff; font-weight: 600; transition: background .2s, transform .15s; }
.btn:hover { background: var(--g-d); }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.kick { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kick .i { width: 16px; height: 16px; color: var(--g); }
.vip { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px; border-radius: 999px; background: linear-gradient(135deg, #f7e6b5, #e8c76f); color: #5c4208; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: none; }
.vip .i { width: 12px; height: 12px; color: #8a6312; fill: #8a6312; }
.adtag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--gold-50); color: var(--gold); border: 1px solid var(--gold-l); font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }

/* ===== Горна лента ===== */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
@supports (backdrop-filter: blur(8px)) { .hdr { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(12px); } }
.hdr.is-scrolled { box-shadow: 0 6px 24px rgba(16, 40, 30, .08); }
.hdr__in { display: flex; align-items: center; gap: 14px; height: var(--hdr-top); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; margin-right: auto; }
.brand img { width: 58px; height: auto; transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-4deg) scale(1.05); }
.brand__t { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.brand__t b { font-size: 16px; font-weight: 700; color: var(--g-dd); white-space: nowrap; }
.brand__t small { display: none; font-size: 12px; color: var(--muted); white-space: nowrap; }
.nav, .hsearch { display: none; }
.hbtn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--g-50); color: var(--g-d); transition: background .2s, transform .15s; }
.hbtn:hover { background: var(--g-100); }
.hbtn:active { transform: scale(.93); }

/* телефон: разделите като чипове; при скрол надолу горният ред се прибира, чиповете остават */
.chips-nav { border-top: 1px solid var(--line); }
.chips-nav__in { display: flex; gap: 8px; overflow-x: auto; padding: 8px 16px; scrollbar-width: none; scroll-snap-type: x proximity; }
.chips-nav__in::-webkit-scrollbar { display: none; }
.chips-nav a { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 36px; padding: 0 14px 0 11px; border-radius: 999px; background: #f0f3f0; font-size: 14px; font-weight: 500; color: var(--ink-2); scroll-snap-align: start; transition: background .2s, color .2s, transform .15s; }
.chips-nav a .i { width: 17px; height: 17px; color: var(--g); }
.chips-nav a[aria-current] { background: var(--g); color: #fff; }
.chips-nav a[aria-current] .i { color: #fff; }
.chips-nav a:active { transform: scale(.95); }
@media (max-width: 1023px) { .hdr.is-up { transform: translateY(calc(-1 * var(--hdr-top) - 1px)); } }

@media (min-width: 1024px) {
  :root { --hdr-top: 76px; }
  .chips-nav { display: none; }
  .brand img { width: 66px; }
  .nav { display: flex; align-items: center; gap: 2px; }
  .nav a { position: relative; display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 12px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
  .nav a .i { width: 18px; height: 18px; color: var(--g); transition: transform .3s var(--ease); }
  .nav a:hover { background: var(--g-50); color: var(--g-dd); }
  .nav a:hover .i { transform: translateY(-2px); }
  .nav a[aria-current] { background: var(--g-50); color: var(--g-d); font-weight: 600; }
  .nav a[aria-current]::after { content: ""; position: absolute; left: 50%; bottom: -17px; width: 26px; height: 3px; margin-left: -13px; border-radius: 3px; background: var(--g); }
}
@media (min-width: 1024px) and (max-width: 1279px) { .brand__t { display: none; } .nav a .i { display: none; } }
@media (min-width: 1280px) {
  .brand__t small { display: block; }
  .hbtn--search { display: none; }
  .hsearch { display: flex; position: relative; flex: none; width: 210px; transition: width .35s var(--ease); }
  .hsearch:focus-within { width: 280px; }
  .hsearch input { width: 100%; height: 44px; padding: 0 46px 0 18px; border: 1px solid var(--line); border-radius: 999px; background: #f4f6f3; font-size: 14.5px; outline: 0; transition: border-color .2s, background .2s; }
  .hsearch input:focus { border-color: var(--g); background: #fff; }
  .hsearch button { position: absolute; right: 4px; top: 4px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--g); color: #fff; }
  .hsearch button .i { width: 18px; height: 18px; }
}
/* горната лента е по-широка от съдържанието, за да се съберат менюто с иконките и търсачката */

.brand__t small { display: none !important; }
/* горната лента е подравнена със съдържанието (1280); иконките в менюто са само в лентата на телефона */
@media (min-width: 1024px) { .nav a .i { display: none; } .nav a[aria-current]::after { bottom: -17px; } }
.nav a { white-space: nowrap; }

/* ===== „На фокус“: банерите горе ===== */
.stage { --peek: 22px; --gap: 8px; padding-top: 14px; }
.stage__view { position: relative; overflow: hidden; }
.stage__track { display: flex; gap: var(--gap); padding: 0 var(--peek); transition: transform .7s var(--ease); touch-action: pan-y; }
.stage__slide { position: relative; flex: 0 0 100%; aspect-ratio: 1440 / 410; border-radius: var(--r-m); overflow: hidden; background: #e6ebe7; opacity: .45; transform: scale(.94); transition: opacity .6s, transform .7s var(--ease), box-shadow .6s; }
.stage__slide img { width: 100%; height: 100%; object-fit: cover; }
.stage__slide.is-cur { opacity: 1; transform: none; box-shadow: 0 14px 34px rgba(16, 40, 30, .16); }
.stage__slide:not(.is-cur) { cursor: pointer; }
.stage__nav { display: none; }
.stage__bar { display: flex; align-items: center; gap: 10px; padding-top: 10px; padding-bottom: 4px; }
.stage__tag { display: inline-flex; align-items: center; gap: 5px; flex: none; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--gold-50); border: 1px solid var(--gold-l); color: var(--gold); font-size: 12px; font-weight: 600; }
.stage__tag .i { width: 13px; height: 13px; fill: currentColor; }
.stage__cap { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; font-size: 14px; }
.stage__cap b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage__cap span { display: none; color: var(--muted); white-space: nowrap; }
.stage__cap .i { width: 16px; height: 16px; color: var(--g); }
.stage__cap:hover b { color: var(--g-d); }
.stage__cap.is-swap { animation: capin .5s var(--ease); }
@keyframes capin { from { opacity: 0; transform: translateY(6px); } }
.stage__dots { display: flex; gap: 5px; flex: none; }
.stage__dots button { position: relative; width: 6px; height: 6px; border-radius: 6px; background: #c9d3cd; overflow: hidden; transition: width .4s var(--ease); }
.stage__dots button[aria-selected="true"] { width: 22px; }
.stage__dots i { position: absolute; inset: 0; width: 0; background: var(--g); border-radius: inherit; }
.stage__dots button[aria-selected="true"] i { animation: fill var(--dur, 5s) linear forwards; }
.stage.is-paused .stage__dots i { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
@media (min-width: 640px) { .stage__cap span { display: inline; } .stage__cap span::before { content: "·"; margin-right: 8px; } }
/* телефон: „На фокус“ е само звездичка, за да се събере цялото име на банера */
@media (max-width: 479px) { .stage__tag { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; gap: 0; } .stage__tag > span { display: none; } .stage__tag .i { width: 14px; height: 14px; } .stage__dots { gap: 4px; } .stage__dots button { width: 5px; height: 5px; } .stage__dots button[aria-selected="true"] { width: 16px; } }
/* телефон: банерите „На фокус“ на цялата ширина и по-високи (леко отрязани отстрани), секциите и профилът по-сбити */
@media (max-width: 767px) {
  .stage { --peek: 0px; --gap: 10px; padding-top: 10px; }
  .stage__slide { flex-basis: 100%; aspect-ratio: 3.2 / 1; border-radius: 0; transform: scale(.97); }
  .stage__slide.is-cur { transform: none; box-shadow: none; }
  .stage__bar { padding-top: 12px; }
  .stage__cap { font-size: 15px; }
  .sec { padding: 22px 0 4px; }
  .sh { gap: 10px; margin-bottom: 14px; }
  .sh__ic { width: 40px; height: 40px; border-radius: 12px; }
  .sh h2 { font-size: 21px; }
  .phead__in { padding: 18px 16px; }
  .phead h1 { font-size: 24px; }
  .phead__lead { font-size: 14px; }
  .prof__head { padding: 14px; gap: 14px; }
  .prof__logo { width: 76px; height: 76px; border-radius: 16px; }
  .prof h1 { font-size: 21px; }
  .pcon { padding: 16px 14px 14px; }
  .pcon h2 { font-size: 18px; }
  .pcon__rows a { min-height: 54px; }
  .duo { gap: 4px; }
  .useful { padding-top: 18px; }
}
@media (min-width: 1024px) {
  .stage { --peek: max(56px, calc((100vw - 1320px) / 2)); --gap: 14px; padding-top: 18px; }
  .stage__slide { border-radius: var(--r-l); }
  .stage__nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 6px 20px rgba(0, 0, 0, .15); transition: transform .2s, background .2s; }
  .stage__nav:hover { background: #fff; transform: scale(1.08); }
  .stage__nav--prev { left: calc(var(--peek) - 24px); }
  .stage__nav--next { right: calc(var(--peek) - 24px); }
  .stage__dots button { width: 26px; height: 4px; }
  .stage__dots button[aria-selected="true"] { width: 44px; }
  .stage__bar { padding-top: 12px; }
}

/* ===== Раздели и заглавия ===== */
.sec { padding: 26px 0 6px; }
.sh { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sh__ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--g-50); color: var(--g); }
.sh__ic .i { width: 22px; height: 22px; }
.sh__ic--r { background: var(--r-50); color: var(--r); }
.sh__ic--a { background: #e6eeea; color: var(--g-dd); }
.sh__ic--n { background: #eceff0; color: var(--ink-2); }
.sh__t { min-width: 0; flex: 1; }
.sh__t .kick { margin-bottom: 2px; font-size: 11px; }
.sh h2 { font-size: 22px; font-weight: 700; }
.more { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 38px; padding: 0 12px 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 500; color: var(--ink-2); transition: border-color .2s, color .2s, gap .25s var(--ease); }
.more .i { width: 16px; height: 16px; color: var(--g); }
.more:hover { border-color: var(--g); color: var(--g-d); gap: 9px; }
@media (max-width: 559px) { .more { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; gap: 0; } .more > span { display: none; } .more:hover { gap: 0; } .more .i { width: 18px; height: 18px; } }
@media (min-width: 1024px) { .sec { padding: 40px 0 8px; } .sh { margin-bottom: 20px; } .sh h2 { font-size: 26px; } }

/* ===== Новини ===== */
.ngrid { display: grid; gap: 12px; }
@media (min-width: 640px) { .ngrid--2, .ngrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .ngrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
/* телефон: блогът в началото е лента за плъзгане, а не шест карти една под друга */
@media (max-width: 639px) {
  .sec--blog .ngrid { grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 6px; scroll-padding: 0 16px; }
  .sec--blog .ngrid::-webkit-scrollbar { display: none; }
  .sec--blog .ncard { scroll-snap-align: start; }
}
.ncard { min-width: 0; }
.ncard > a { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-m); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: border-color .25s, box-shadow .3s, transform .3s var(--ease); }
.ncard > a:hover { border-color: var(--g-100); box-shadow: var(--sh-h); transform: translateY(-3px); }
.ncard > a:active { transform: scale(.985); }
.ncard__img { aspect-ratio: 16 / 9; background: #e8ece9; overflow: hidden; }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ncard > a:hover .ncard__img img { transform: scale(1.05); }
.ncard__b { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 16px 14px; }
.ncard__m { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.ncard__m .i { width: 15px; height: 15px; color: var(--g); }
.ncard__m i { margin-left: auto; font-style: normal; padding: 1px 8px; border-radius: 999px; background: #f0f3f0; font-size: 11.5px; }
.ncard h3 { font-size: 15.5px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard p { font-size: 13.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ncard__go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; font-size: 13px; font-weight: 600; color: var(--g-d); }
.ncard__go .i { width: 15px; height: 15px; }

/* блог + двата слайдера с банери до него */
.blog { display: grid; gap: 18px; }
.blog__side { display: grid; gap: 12px; }
@media (min-width: 640px) and (max-width: 1023px) { .blog__side { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* компютър: картите на блога се разтягат до височината на банерите вдясно (без празно място) */
@media (min-width: 1024px) {
  .blog { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: stretch; }
  .blog__main { display: flex; flex-direction: column; }
  .blog__main .ngrid { flex: 1; grid-auto-rows: 1fr; }
  .blog__side { padding-top: 64px; gap: 16px; align-content: start; }
}
@media (min-width: 1280px) { .blog { grid-template-columns: minmax(0, 1fr) 320px; } }
@media (min-width: 1024px) { .sec--blog .ncard h3 { font-size: 16.5px; } .sec--blog .ncard__b { padding: 16px 18px; } }
.ibox { padding: 10px; border-radius: var(--r-m); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh); }
.ibox__h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 4px 9px; }
.ibox__dots { display: flex; gap: 5px; }
.ibox__dots button { width: 7px; height: 7px; border-radius: 7px; background: #cfd8d2; transition: width .35s var(--ease), background .3s; }
.ibox__dots button[aria-current] { width: 20px; background: var(--g); }
.ibox__stage { display: grid; }
.ibox__s { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 8px; opacity: 0; visibility: hidden; transform: scale(.985); transition: opacity .6s, transform .6s var(--ease), visibility 0s .6s; }
.ibox__s.is-cur { opacity: 1; visibility: visible; transform: none; transition: opacity .6s, transform .6s var(--ease); }
.ibox__s img { width: 100%; aspect-ratio: 530 / 297; object-fit: cover; border-radius: var(--r-s); background: #e8ece9; }
.ibox__t { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px 2px; font-size: 14px; font-weight: 600; }
.ibox__t .i { width: 16px; height: 16px; color: var(--g); }
.ibox__s:hover .ibox__t { color: var(--g-d); }

/* ===== Основна колона + „Полезно“ ===== */
.duo { display: grid; gap: 8px; }
.duo__main, .duo__side { min-width: 0; }
@media (min-width: 1100px) {
  .duo { grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
  .duo__side { position: sticky; top: calc(var(--hdr-top) + 20px); padding-top: 40px; }
  .duo--prof .duo__side { padding-top: 22px; }
}
@media (min-width: 1280px) { .duo { grid-template-columns: minmax(0, 1fr) 320px; } }

/* ===== Въртележки ===== */
.car { position: relative; }
.car__track { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 10px; scroll-padding: 0 16px; overscroll-behavior-x: contain; }
.car__track::-webkit-scrollbar { display: none; }
.car__slide { scroll-snap-align: start; }
.car__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.car__dots { display: flex; flex-wrap: wrap; gap: 5px; }
.car__dots button { width: 7px; height: 7px; border-radius: 7px; background: #cfd8d2; transition: width .35s var(--ease), background .3s; }
.car__dots button[aria-current] { width: 22px; background: var(--g); }
.car__nav { display: none; gap: 8px; }
.car__btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: border-color .2s, background .2s, transform .15s; }
.car__btn:hover:not(:disabled) { border-color: var(--g); color: var(--g-d); }
.car__btn:active { transform: scale(.92); }
.car__btn:disabled { opacity: .35; cursor: default; }
@media (min-width: 560px) { .car__track { grid-auto-columns: calc((100% - 24px) / 2.6); } }
@media (min-width: 768px) { .car__track { margin: 0; padding: 4px 2px 12px; grid-auto-columns: calc((100% - 32px) / 3); scroll-padding: 0; } .car__nav { display: flex; } }
@media (min-width: 1100px) { .car__track { grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; } }

/* карта във въртележка: община / партия / забележителност */
.scard > a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 10px 10px 14px; border-radius: var(--r-m); background: var(--card); border: 1px solid var(--line); transition: box-shadow .3s, transform .35s var(--ease), border-color .3s; }
.scard > a:hover { transform: translateY(-5px); box-shadow: var(--sh-h); border-color: transparent; }
.scard > a:active { transform: scale(.98); }
.scard__logo { position: relative; display: grid; place-items: center; height: 126px; margin-bottom: 6px; border-radius: var(--r-s); background: #fff; border: 1px solid #eef1ee; overflow: hidden; }
.scard__logo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--g); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.scard--r .scard__logo::after { background: var(--r); }
.scard--a .scard__logo::after { background: var(--g-dd); }
.scard > a:hover .scard__logo::after { transform: none; }
.scard__logo img { max-width: 86%; max-height: 104px; object-fit: contain; transition: transform .5s var(--ease); }
.scard > a:hover .scard__logo img { transform: scale(1.06); }
.scard__n { padding: 0 4px; font-size: 14.5px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.scard__d { padding: 0 4px; font-size: 13px; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.scard__go { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; padding: 4px 4px 0; font-size: 13px; font-weight: 600; color: var(--g-d); }
.scard--r .scard__go { color: var(--r); }
.scard__go .i { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.scard > a:hover .scard__go .i { transform: translateX(4px); }
@media (min-width: 1024px) { .scard__logo { height: 140px; } .scard__logo img { max-height: 116px; } }

/* филтри: чипове, сегменти, избор на област */
.fchips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 14px; padding: 2px 16px; }
.fchips::-webkit-scrollbar { display: none; }
.fchips a { display: inline-flex; align-items: center; flex: none; height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--ink-2); transition: border-color .2s, background .2s, color .2s; }
.fchips a:hover { border-color: var(--g); color: var(--g-d); }
.fchips a.is-on { background: var(--g-dd); border-color: var(--g-dd); color: #fff; }
@media (min-width: 768px) { .fchips { flex-wrap: wrap; margin: 0 0 16px; padding: 0; overflow: visible; } }
.sel { position: relative; display: inline-flex; align-items: center; flex: none; }
.sel select { -webkit-appearance: none; appearance: none; height: 40px; padding: 0 38px 0 38px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; cursor: pointer; max-width: 230px; }
.sel select:focus { border-color: var(--g); outline: 0; }
.sel > .i { position: absolute; pointer-events: none; width: 17px; height: 17px; color: var(--g); }
.sel > .i:first-of-type { left: 13px; }
.sel > .i:last-of-type { right: 13px; color: var(--muted); }
.sh--tools { flex-wrap: wrap; }
@media (max-width: 559px) { .sh--tools .sel { order: 3; width: 100%; } .sh--tools .sel select { width: 100%; max-width: none; } }
.tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 4px 0 18px; }
.tools .fchips { margin-bottom: 0; flex: 1 1 auto; }
@media (max-width: 767px) { .tools .sel { width: 100%; } .tools .sel select { width: 100%; max-width: none; } }
.seg { display: inline-flex; gap: 4px; max-width: 100%; padding: 4px; border-radius: 999px; background: #e9eeea; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg a, .seg button { flex: none; display: inline-flex; align-items: center; height: 36px; padding: 0 15px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s; }
.seg a:hover, .seg button:hover { color: var(--g-dd); }
.seg .is-on, .seg [aria-selected="true"] { background: #fff; color: var(--g-dd); font-weight: 600; box-shadow: 0 1px 3px rgba(16, 40, 30, .12); }

/* ===== „Полезно“ ===== */
.useful { padding-top: 22px; }
.useful__h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.useful__h h2 { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; }
.useful__h h2 .i { width: 22px; height: 22px; color: var(--g); }
.useful__list { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 8px; }
.useful__list::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .useful__list { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; overflow: visible; } }
@media (min-width: 1100px) { .useful { padding-top: 0; } .useful__list { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
.ubox { display: flex; flex-direction: column; border-radius: var(--r-m); background: var(--card); border: 1px solid var(--line); overflow: hidden; scroll-snap-align: start; transition: box-shadow .3s, transform .35s var(--ease); }
.ubox:hover { box-shadow: var(--sh-h); transform: translateY(-3px); }
.ubox:active { transform: scale(.985); }
.ubox__img { aspect-ratio: 530 / 300; overflow: hidden; background: #e8ece9; }
.ubox__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ubox:hover .ubox__img img { transform: scale(1.05); }
.ubox__t { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 14px; font-size: 14px; font-weight: 600; border-top: 3px solid var(--g); }
.ubox__t .i { width: 16px; height: 16px; color: var(--g); }

/* ===== Заглавие на страница ===== */
.phead { position: relative; margin-top: 14px; }
.phead__in { display: grid; gap: 18px; align-items: center; padding: 22px 20px; border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.wrap.phead__in { width: calc(100% - 32px); }
.phead .kick { margin: 14px 0 6px; color: var(--g-d); }
.phead h1 { font-size: 27px; font-weight: 700; color: var(--g-dd); }
.phead__lead { margin-top: 8px; max-width: 62ch; color: var(--muted); font-size: 15px; }
.phead__art { display: none; }
@media (min-width: 900px) {
  .wrap.phead__in { width: calc(100% - 48px); }
  .phead__in { grid-template-columns: minmax(0, 1fr) 320px; padding: 26px 34px; }
  .phead h1 { font-size: 36px; }
  .phead__art { display: block; justify-self: end; width: 300px; }
  .phead__art img { width: 100%; height: auto; }
  .phead__map { padding: 10px; border-radius: var(--r-m); background: #f6f8f5; border: 1px solid var(--line); }
}
@media (min-width: 1280px) { .wrap.phead__in { width: calc(100% - 48px); max-width: 1232px; } }
.pg-area .phead__art { display: block; max-width: 340px; }
.phead--find .wrap { padding-top: 22px; padding-bottom: 6px; }
.phead--find h1 { overflow-wrap: anywhere; }
.stage--after { margin-top: 36px; }
.fsearch { display: flex; gap: 8px; }
.fsearch input { flex: 1; min-width: 0; height: 50px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 16px; outline: 0; }
.fsearch input:focus { border-color: var(--g); }
.fsearch--page { max-width: 560px; margin-top: 14px; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.crumbs .i { width: 14px; height: 14px; color: #9aa8a0; }
.crumbs a { display: inline-flex; align-items: center; padding: 3px 4px; border-radius: 6px; }
.crumbs a .i { width: 17px; height: 17px; color: var(--g); }
.crumbs a:hover { color: var(--g-d); }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 500; }

/* ===== Карти в списъците ===== */
.lgrid { display: grid; gap: 12px; margin-top: 18px; }
.tools + .lgrid { margin-top: 4px; }
@media (min-width: 700px) { .lgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .lgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.lcard { display: flex; flex-direction: column; min-width: 0; border-radius: var(--r-m); background: var(--card); border: 1px solid var(--line); transition: box-shadow .3s, transform .35s var(--ease), border-color .3s; }
.lcard:hover { box-shadow: var(--sh-h); transform: translateY(-3px); }
.lcard__h { display: flex; gap: 14px; align-items: center; padding: 14px 14px 12px; border-bottom: 1px solid #eef1ee; }
.lcard__logo { display: grid; place-items: center; flex: none; width: 76px; height: 76px; border-radius: 14px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.lcard__logo img { max-width: 88%; max-height: 88%; object-fit: contain; transition: transform .5s var(--ease); }
.lcard:hover .lcard__logo img { transform: scale(1.07); }
.lcard__t { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.lcard h3 { font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.lcard h3 a:hover { color: var(--g-d); }
.lcard.is-vip { border-color: var(--gold-l); }
.lcard.is-vip .lcard__h { background: linear-gradient(180deg, var(--gold-50), #fff); border-radius: var(--r-m) var(--r-m) 0 0; }
.lcard.is-vip .lcard__logo { border-color: var(--gold-l); }
.crow { display: flex; flex-direction: column; gap: 2px; padding: 10px 10px 6px; }
.crow li { display: flex; align-items: flex-start; gap: 10px; min-height: 34px; padding: 6px 6px; border-radius: 10px; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.crow li .i { width: 18px; height: 18px; margin-top: 1px; color: var(--g); }
.lcard--r .crow li .i { color: var(--r); }
.crow a { transition: color .2s; }
.crow a:hover { color: var(--g-d); text-decoration: underline; text-underline-offset: 3px; }
.crow li:has(a):hover { background: #f4f7f4; }
.lcard__d { padding: 12px 16px 6px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.lcard__go { display: flex; align-items: center; justify-content: space-between; margin: auto 10px 10px; padding: 10px 12px; border-radius: 12px; background: #f3f6f3; font-size: 14px; font-weight: 600; color: var(--g-d); transition: background .25s, color .25s; }
.lcard--r .lcard__go { color: var(--r); }
.lcard__go .i { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.lcard__go:hover { background: var(--g); color: #fff; }
.lcard--r .lcard__go:hover { background: var(--r); color: #fff; }
.lcard__go:hover .i { transform: translateX(4px); }

.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 28px 0 8px; }
.pager__n, .pager__a, .pager__gap { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 6px; border-radius: 999px; font-weight: 600; font-size: 14.5px; }
.pager__n, .pager__a { background: #fff; border: 1px solid var(--line); transition: border-color .2s, color .2s; }
.pager__n:hover, .pager__a:hover { border-color: var(--g); color: var(--g-d); }
.pager__n.is-cur { background: var(--g); border-color: var(--g); color: #fff; }
.pager__a.is-off { opacity: .4; }
.pager__a .i { width: 18px; height: 18px; }
.pager__gap { color: var(--muted); }

/* ===== Области ===== */
.rgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
@media (min-width: 760px) { .rgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .rgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.rcard { display: flex; flex-direction: column; border-radius: var(--r-m); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .3s, transform .35s var(--ease); }
.rcard:hover { box-shadow: var(--sh-h); transform: translateY(-4px); }
.rcard:active { transform: scale(.98); }
.rcard__map { display: grid; place-items: center; padding: 10px; background: #f6f8f5; border-bottom: 1px solid #eef1ee; }
.rcard__map img { width: 100%; max-width: 230px; transition: transform .6s var(--ease); }
.rcard:hover .rcard__map img { transform: scale(1.06); }
.rcard__b { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 12px 14px 14px; }
.rcard h2 { font-size: 15.5px; font-weight: 700; }
.rcard p { display: none; font-size: 13px; color: var(--muted); line-height: 1.5; }
.rcard__go { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; font-size: 13px; font-weight: 600; color: var(--g-d); }
.rcard__go .i { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.rcard:hover .rcard__go .i { transform: translateX(4px); }
@media (min-width: 760px) { .rcard p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } }

.amun { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; padding: 14px 16px; border-radius: var(--r-m); background: var(--g-dd); color: #fff; }
.amun h2 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.amun h2 .i { width: 19px; height: 19px; color: #8fd6b4; }
.amun__list { display: flex; flex-wrap: wrap; gap: 8px; }
.amun__list a { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 14px; font-weight: 500; transition: background .2s; }
.amun__list a .i { width: 15px; height: 15px; }
.amun__list a:hover { background: rgba(255, 255, 255, .2); }
.about { margin-top: 16px; padding: 20px; border-radius: var(--r-m); background: #fff; border: 1px solid var(--line); }
.about h2 { font-size: 18px; margin-bottom: 8px; }
.about p { color: var(--ink-2); line-height: 1.7; max-width: 80ch; }

/* ===== Профил ===== */
.duo--prof .crumbs { margin-top: 18px; }
.prof { display: flex; flex-direction: column; gap: 16px; margin-top: 12px; }
.prof__head { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); }
.prof__logo { display: grid; place-items: center; flex: none; width: 92px; height: 92px; border-radius: 18px; background: #fff; border: 1px solid var(--line); overflow: hidden; color: var(--g); }
.prof__logo img { max-width: 88%; max-height: 88%; object-fit: contain; }
.prof__logo .i { width: 40px; height: 40px; }
.prof__t { min-width: 0; }
.prof__t .kick { flex-wrap: wrap; color: var(--g-d); }
.prof__head--r .prof__t .kick, .prof__head--r .prof__t .kick .i { color: var(--r); }
.prof h1 { margin-top: 6px; font-size: 23px; font-weight: 700; color: var(--g-dd); overflow-wrap: anywhere; }
.prof__lead { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; color: var(--muted); }
.prof__lead .i { width: 16px; height: 16px; }
@media (min-width: 768px) { .prof__head { padding: 20px 22px; gap: 22px; } .prof__logo { width: 132px; height: 132px; } .prof h1 { font-size: 30px; } }

/* контактите на обекта: първи и ясно отделени от регистъра */
.pcon { position: relative; padding: 18px 16px 16px; border-radius: var(--r-l); background: var(--g-dd); color: #fff; overflow: hidden; }
.pcon::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(143, 214, 180, .22), transparent 70%); pointer-events: none; }
.pcon__k { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8fd6b4; }
.pcon__k .i { width: 16px; height: 16px; }
.pcon h2 { margin: 6px 0 12px; font-size: 20px; font-weight: 700; }
.pcon__rows { display: grid; gap: 8px; }
.pcon__rows a { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 9px 12px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .08); transition: background .2s, transform .15s; }
.pcon__rows a:hover { background: rgba(255, 255, 255, .15); }
.pcon__rows a:active { transform: scale(.98); }
.pcon__rows a > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; flex: 1; font-size: 15.5px; font-weight: 600; overflow-wrap: anywhere; line-height: 1.3; }
.pcon__rows small { font-size: 11.5px; font-weight: 500; color: #a9cdbb; letter-spacing: .03em; }
.pcon__ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--g-d); }
.pcon__ic .i { width: 19px; height: 19px; }
.pcon__go { width: 18px; height: 18px; color: #8fd6b4; transition: transform .3s var(--ease); }
.pcon__rows a:hover .pcon__go { transform: translateX(3px); }
.pcon__note { display: flex; gap: 8px; margin-top: 12px; font-size: 13px; line-height: 1.5; color: #c4dcd0; }
.pcon__note .i { width: 17px; height: 17px; margin-top: 1px; color: #8fd6b4; }
@media (min-width: 700px) { .pcon { padding: 22px 22px 18px; } .pcon__rows { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pcon h2 { font-size: 22px; } }

.gal { display: grid; grid-auto-flow: column; grid-auto-columns: 70%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gal::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .gal { grid-auto-columns: calc((100% - 20px) / 3); } }
.gal__i { aspect-ratio: 4 / 3; border-radius: var(--r-m); overflow: hidden; background: #e8ece9; scroll-snap-align: start; }
.gal__i img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal__i:hover img { transform: scale(1.06); }
.ptext { padding: 18px 16px; border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); }
.ptext__h { font-size: 20px; margin-bottom: 10px; }
.seg--tabs { margin-bottom: 14px; }
@media (min-width: 768px) { .ptext { padding: 26px 28px; } }
.prose { font-size: 15.5px; line-height: 1.75; color: var(--ink-2); overflow-wrap: break-word; }
.prose > * + * { margin-top: .8em; }
.prose h3, .prose h4 { margin-top: 1.3em; font-size: 18px; color: var(--ink); }
.prose a { color: var(--g-d); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose img { max-width: 100%; height: auto; border-radius: var(--r-s); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.prose td, .prose th { padding: 6px 8px; border: 1px solid var(--line); }
/* дълъг текст: показва се началото и „Прочетете още“ */
.prose.is-clamp { position: relative; max-height: 560px; overflow: hidden; }
.prose.is-clamp::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.more-t { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--g-50); color: var(--g-d); font-weight: 600; font-size: 14.5px; transition: background .2s; }
.more-t:hover { background: var(--g-100); }
.more-t .i { width: 17px; height: 17px; transition: transform .3s; }
.more-t[aria-expanded="true"] .i { transform: rotate(180deg); }
.pmap { padding: 16px; border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); }
.pmap h2 { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 18px; }
.pmap h2 .i { color: var(--r); }
.pmap__f { aspect-ratio: 16 / 9; border-radius: var(--r-m); overflow: hidden; background: #e8ece9; }
.pmap__f iframe { width: 100%; height: 100%; border: 0; }

/* ===== Футер ===== */
.foot { margin-top: 48px; background: var(--g-dd); color: #c9ded2; font-size: 14px; }
.foot__in { display: grid; gap: 26px; padding-top: 36px; padding-bottom: 28px; }
.foot__logo { display: inline-block; padding: 10px 14px; border-radius: var(--r-m); background: #fff; }
.foot__logo img { width: 104px; }
.foot__brand p { margin-top: 12px; max-width: 30ch; line-height: 1.6; }
.foot h2 { margin-bottom: 12px; font-size: 15px; font-weight: 700; color: #fff; }
.foot ul { display: flex; flex-direction: column; gap: 8px; }
.foot a { transition: color .2s; }
.foot a:hover { color: #fff; }
.foot__all { display: inline-flex; align-items: center; gap: 6px; color: #8fd6b4; font-weight: 600; }
.foot__all .i { width: 15px; height: 15px; }
.foot__ad li { display: flex; gap: 8px; align-items: flex-start; }
.foot__ad li .i { width: 17px; height: 17px; margin-top: 2px; color: #8fd6b4; }
.foot__note { display: flex; gap: 8px; margin-top: 14px; padding: 10px 12px; border-radius: var(--r-s); background: rgba(255, 255, 255, .07); font-size: 12.5px; line-height: 1.5; }
.foot__note .i { width: 16px; height: 16px; margin-top: 1px; color: #f2c66d; }
.foot__regs { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-bottom: 22px; font-size: 13.5px; }
.foot__regs span { width: 100%; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8fd6b4; }
.foot__regs a { color: #c9ded2; }
.foot__bar { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.foot__bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-top: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
.foot__bar a { color: #fff; }
.foot__in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
.foot__brand, .foot__ad { grid-column: 1 / -1; }
@media (min-width: 700px) and (max-width: 1099px) { .foot__in { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot__ad { grid-column: auto; } }
@media (min-width: 1100px) { .foot__in { grid-template-columns: 1.15fr 1fr 1fr 1.25fr .9fr; gap: 32px; padding-top: 48px; } .foot__brand, .foot__ad { grid-column: auto; } }

/* ===== Листове, увеличение на снимка, бисквитки ===== */
.sheet { position: fixed; inset: 0; z-index: 80; }
.sheet__bg { position: absolute; inset: 0; background: rgba(8, 24, 18, .45); animation: fadein .25s; }
.sheet__panel { position: absolute; left: 0; right: 0; top: 0; max-height: 92vh; overflow-y: auto; padding: 14px 16px 20px; border-radius: 0 0 var(--r-l) var(--r-l); background: #fff; animation: dropin .35s var(--ease); }
.sheet.is-closing .sheet__panel { animation: dropout .25s ease forwards; }
.sheet.is-closing .sheet__bg { animation: fadeout .25s forwards; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sheet__head h2 { font-size: 20px; }
.sheet__lbl { margin: 18px 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sheet__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sheet__links a { display: flex; align-items: center; gap: 9px; min-height: 50px; padding: 0 12px; border-radius: 14px; background: #f3f6f3; font-weight: 500; font-size: 14.5px; }
.sheet__links a .i { color: var(--g); }
@media (min-width: 768px) { .sheet__panel { left: 50%; width: 560px; margin-left: -280px; top: 16px; border-radius: var(--r-l); } }
@keyframes fadein { from { opacity: 0; } }
@keyframes fadeout { to { opacity: 0; } }
@keyframes dropin { from { transform: translateY(-24px); opacity: 0; } }
@keyframes dropout { to { transform: translateY(-24px); opacity: 0; } }
.lb { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 56px 12px; background: rgba(6, 16, 12, .92); }
.lb img { max-width: 100%; max-height: 100%; border-radius: var(--r-s); animation: fadein .3s; }
.lb__x, .lb__nav { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; }
.lb__x { top: 10px; right: 10px; }
.lb__nav { top: 50%; margin-top: -23px; }
.lb__nav--p { left: 10px; }
.lb__nav--n { right: 10px; }
.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 16px; border-radius: var(--r-m); background: var(--g-dd); color: #e4f0e9; font-size: 14px; box-shadow: 0 14px 36px rgba(0, 0, 0, .25); animation: dropin .4s var(--ease); }
.cookie p { flex: 1 1 220px; }
@media (min-width: 768px) { .cookie { left: 24px; right: auto; bottom: 24px; max-width: 460px; } }

/* ===== Поява при скрол (и на телефон) ===== */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv.is-in:hover { transition-delay: 0s; }

/* ===== Laravel: празен списък, статични страници, 404, текст от админа ===== */
.empty { grid-column: 1 / -1; padding: 28px 20px; border-radius: var(--r-m); background: #fff; border: 1px dashed var(--line); text-align: center; color: var(--muted); }
.page-w { max-width: 900px; }
.page-w .crumbs { margin-top: 18px; }
.page-a { margin-top: 12px; }
.page-h { margin-bottom: 14px; font-size: 26px; color: var(--g-dd); }
@media (min-width: 768px) { .page-h { font-size: 32px; } }
/* текстът от админа понякога идва с ширини и стилове от Word/Elementor: да не излиза от карето */
.prose * { max-width: 100% !important; box-sizing: border-box; }
.prose [style*="width"] { width: auto !important; }
.prose section, .prose div { margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
.prose iframe { width: 100% !important; aspect-ratio: 16 / 9; height: auto !important; border: 0; border-radius: var(--r-s); }
.prose a[data-lb] { display: inline-block; text-decoration: none; }
.prose .gal { margin-top: 14px; }
.nf { display: grid; justify-items: center; gap: 12px; max-width: 520px; margin: 0 auto; padding: 48px 20px; text-align: center; }
.nf__logo img { width: 120px; }
.nf__map { width: 260px; margin: 8px 0; }
.nf h1 { font-size: 28px; color: var(--g-dd); }
.nf p { color: var(--muted); }
.nf__go { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }