/* Слайдер със снимките на трибуната (общ за трите дизайна; цветовете идват от --sl-* променливите) */
.sl {
  --sl-bg: #0d1420;
  --sl-fg: #f4efe4;
  --sl-muted: rgba(244, 239, 228, .72);
  --sl-accent: #c9a24a;
  --sl-line: rgba(244, 239, 228, .18);
  --sl-title-font: inherit;
  --sl-radius: 0px;
  position: relative;
  background: var(--sl-bg);
  color: var(--sl-fg);
  border-radius: var(--sl-radius);
  overflow: hidden;
  outline: none;
}
.sl-stage { display: grid; touch-action: pan-y; }
.sl-slide {
  grid-area: 1 / 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility 0s linear .9s;
}
.sl-slide.is-on { opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; }
.sl-img {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: #000;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  display: block;
}
/* Размазан фон от същата снимка, за да не остават празни ленти при вертикални снимки */
.sl-img .sl-back {
  position: absolute; inset: -40px;
  width: calc(100% + 80px); height: calc(100% + 80px);
  object-fit: cover;
  filter: blur(28px) brightness(.45) saturate(1.2);
}
.sl-img .sl-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  transform: scale(1);
}
.sl-slide.is-on .sl-photo { animation: sl-zoom 9s ease-out both; }
@keyframes sl-zoom { from { transform: scale(1.07); } to { transform: scale(1); } }
.sl figcaption {
  padding: 18px clamp(16px, 4vw, 40px) 14px;
  min-height: 7.5em;
}
.sl figcaption b {
  display: block;
  font-family: var(--sl-title-font);
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 6px;
}
.sl figcaption span { display: block; color: var(--sl-muted); font-size: 16px; line-height: 1.55; max-width: 70ch; }
.sl figcaption a { color: var(--sl-accent); }
.sl figcaption .sl-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-weight: 600; text-decoration: none; }
.sl figcaption .sl-more:hover { text-decoration: underline; }
.sl-slide.is-on figcaption > .sl-more { animation-delay: .25s; }
a.sl-img { cursor: pointer; text-decoration: none; color: inherit; }
.sl-textcard { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 8% 10%; text-align: center; color: #fff; }
.sl-textcard small { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--sl-accent); }
.sl-textcard strong { font-family: var(--sl-title-font); font-weight: 400; font-size: clamp(24px, 4vw, 44px); line-height: 1.15; text-wrap: balance; }
.sl-slide.is-on figcaption > * { animation: sl-up .8s ease-out both; }
.sl-slide.is-on figcaption > span { animation-delay: .15s; }
@keyframes sl-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.sl-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 4px clamp(12px, 4vw, 40px) 18px;
  flex-wrap: wrap;
}
.sl-bar button { font: inherit; color: inherit; cursor: pointer; }
.sl-arrow, .sl-toggle {
  min-width: 44px; height: 44px;
  border: 1px solid var(--sl-line);
  background: transparent;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.sl-arrow svg, .sl-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.sl-toggle { padding: 0 18px 0 14px; font-weight: 600; background: var(--sl-accent); color: var(--sl-bg) !important; border-color: var(--sl-accent); }
.sl-toggle .sl-i-play { display: none; }
.sl.is-paused .sl-toggle .sl-i-play { display: block; }
.sl.is-paused .sl-toggle .sl-i-pause { display: none; }
.sl-arrow:hover, .sl-toggle:hover { filter: brightness(1.12); }
.sl-bar button:focus-visible, .sl-img:focus-visible { outline: 3px solid var(--sl-accent); outline-offset: 2px; }
.sl-count { font-variant-numeric: tabular-nums; color: var(--sl-muted); font-size: 14px; margin-left: auto; }
.sl-dots { display: flex; gap: 2px; flex-wrap: wrap; }
.sl-dots button {
  width: 24px; height: 44px; padding: 0; border: 0; background: none; position: relative;
}
.sl-dots button::after {
  content: ""; position: absolute; left: 7px; top: 18px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--sl-line); transition: background .3s, transform .3s;
}
.sl-dots button[aria-current="true"]::after { background: var(--sl-accent); transform: scale(1.25); }
.sl-progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: transparent; z-index: 2; pointer-events: none; }
.sl-progress i { display: block; height: 100%; background: var(--sl-accent); transform-origin: left; transform: scaleX(0); }
.sl-paused-note { display: none; color: var(--sl-muted); font-size: 14px; }
.sl.is-paused .sl-paused-note { display: inline; }

/* Анимация при влизане */
.sl.sl-in { animation: sl-enter 1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes sl-enter { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }

@media (max-width: 720px) {
  .sl-img { aspect-ratio: 1 / 1; }
  .sl figcaption { min-height: 9.5em; }
  .sl figcaption span { font-size: 15px; }
  .sl-dots { display: none; }
  .sl-bar { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .sl-slide.is-on .sl-photo, .sl-slide.is-on figcaption > *, .sl.sl-in { animation: none; }
  .sl-slide, .sl-slide.is-on { transition: none; }
}

/* Цяла страница „Виж повече“ за снимка от слайдера */
.sl-page {
  position: fixed; inset: 0; z-index: 3000; overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: var(--sl-bg, #0d1420); color: var(--sl-fg, #f4efe4);
  animation: sl-up .45s ease-out both;
}
.sl-page-in { max-width: 820px; margin: 0 auto; padding: 20px 16px 48px; display: grid; gap: 20px; }
.sl-page h1 { font-family: var(--sl-title-font, inherit); font-weight: 400; font-size: clamp(30px, 5vw, 48px); line-height: 1.12; margin: 0; color: inherit; outline: none; }
.sl-page figure { margin: 0; }
.sl-page figure img { display: block; width: 100%; height: auto; max-height: 80vh; object-fit: contain; }
.sl-page-text { display: grid; gap: 14px; font-size: 18px; line-height: 1.7; }
.sl-page-text p { margin: 0; color: var(--sl-fg, #f4efe4); }
.sl-page-text b { color: var(--sl-accent, #c9a24a); font-weight: 600; }
.sl-page-text a, .sl-page-back { color: var(--sl-accent, #c9a24a); overflow-wrap: anywhere; }
.sl-page-back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; justify-self: start; }
.sl-page-back:hover { text-decoration: underline; }
.sl-page-back-end { margin-top: 8px; }
html.sl-page-open, html.sl-page-open body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .sl-page { animation: none; } }
