/* Мартин Карбовски, демо. Размерите са измерени от образеца (dokumenti/referencia). */
@font-face { font-family: Onest; src: url(fonts/onest-cyrillic.woff2) format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Onest; src: url(fonts/onest-latin-ext.woff2) format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Onest; src: url(fonts/onest-latin.woff2) format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #242424;
  --accent-bg: #000;
  --panel: #000;
  --text: #fff;
  --muted: rgba(255, 255, 255, .5);
  --blue: #3cb4ed;
  --grad: linear-gradient(90deg, #0068e0 .08%, #38b8d5 99.86%);
  --red: #d62027;
  --pink: #d301a3;
  --violet: #ae73c7;
  --side: 16px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f2f2f2;
  --accent-bg: #e3e3e3;
  --text: #151515;
  --muted: rgba(21, 21, 21, .5);
  --blue: #0068e0;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Onest, "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.2; font-feature-settings: "locl" 0; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.i { width: 24px; height: 24px; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; background: #fff; color: #0b0c0c; font-size: 14px; z-index: 10001; }
.skip-link:focus { width: auto; height: auto; padding: 10px 15px; clip-path: none; }
#top { position: absolute; top: 0; }

/* ---------- хедър (телефон: залепен) ---------- */
.header-holder { height: 0; }
.header { position: fixed; inset: 0 0 auto 0; z-index: 9998; background: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, 0)); }
.header::after { content: ""; position: absolute; inset: 4px; border-radius: 12px; background: radial-gradient(120px 60px at 60px 50%, rgba(0, 104, 224, .55), transparent 70%), rgba(18, 18, 18, .94); opacity: 0; transition: opacity .3s ease-out; z-index: -1; }
.header.is-scrolled::after { opacity: 1; }
.header__wrapper { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 20px; padding: 12px 16px; min-height: 74px; }
.header__middle { display: none; }
.header__right { display: flex; justify-content: flex-end; align-items: center; }
.controls { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.controls__always { display: flex; align-items: center; gap: 8px; }
.controls__desktop { display: none; }
.logo { display: inline-flex; align-items: center; gap: 3px; color: #fff; font-weight: 700; font-size: 16px; line-height: 1; height: 45px; }
.logo__k { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: #fff; color: #151515; font-size: 24px; }
.logo__t { letter-spacing: -.01em; }

.button { position: relative; display: inline-flex; justify-content: center; align-items: center; gap: 12px; padding: 13px 20px; border-radius: 6px; background-image: var(--grad); color: #fff; font-size: 15px; font-weight: 700; line-height: 1.5; text-align: center; transition: filter .3s ease-out, background-color .3s ease-out; }
.button .i { width: 18px; height: 18px; }
.button__icon, .button__text { position: relative; z-index: 3; display: flex; }
.button:hover { filter: brightness(1.12); }
.button--sub { padding: 13px 16px; background: rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.button--sub:hover { filter: none; background-color: rgba(255, 255, 255, .38); }
.button--red { padding: 8px 12px; font-size: 13px; background-image: linear-gradient(294deg, #ec0005 15.6%, #ba0017 84.4%); }
.label { position: absolute; top: -14px; right: 24px; z-index: 22; display: flex; align-items: center; padding: 2px 10px; border-radius: 24px; background: var(--red); font-size: 14px; line-height: 21px; font-weight: 700; }

.circle-button { display: flex; justify-content: center; align-items: center; position: relative; }
.circle-button__icon { display: flex; justify-content: center; align-items: center; width: 50px; height: 50px; border-radius: 50%; background-image: var(--grad); color: #fff; transition: filter .3s ease-out; }
.circle-button:hover .circle-button__icon { filter: brightness(1.15); }
.circle-button--secondary .circle-button__icon { background: rgba(0, 0, 0, .5); }
.mobile-menu-btn::before { content: ""; position: absolute; top: 6px; right: 1px; width: 10px; height: 10px; border-radius: 50%; background: #fff; z-index: 6; }

/* ---------- първи екран ---------- */
.section { position: relative; padding: 0 0 32px; }
.hero-slider { padding: 0 0 32px; overflow: hidden; }
.hero-slider__main { display: flex; flex-direction: column; min-width: 0; height: 100vh; height: 100svh; min-height: 560px; }
.hero-track { flex: 1; min-height: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; display: flex; flex-direction: column; }
.hero { position: relative; flex: 1; display: grid; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .5) 3.4%, rgba(0, 0, 0, 0) 23%), linear-gradient(rgba(0, 0, 0, 0) 45.2%, var(--bg) 100%); pointer-events: none; }
.hero__bg, .hero__content { grid-area: 1 / 1; }
.hero__bg { position: relative; background: #141416; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 50% 20%; }
.hero__content { position: relative; z-index: 4; display: flex; flex-direction: column; justify-content: flex-end; padding: 116px 0 24px; color: #fff; opacity: 0; transform: translateX(20px); transition: opacity .3s ease-out .1s, transform .5s ease-out .1s; }
.hero-slide.is-active .hero__content { opacity: 1; transform: none; }
.wrapper-full { padding: 0 16px; }
.hero__content-info { display: grid; gap: 8px; margin: 0 0 24px; }
.hero .title { font-size: 48px; font-weight: 500; line-height: .9; letter-spacing: -.015em; }
.subtitle { margin: 8px 0 0; font-size: 24px; line-height: 1.2; font-weight: 400; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hero-dots { flex: none; display: flex; justify-content: center; align-items: center; gap: 8px; height: 19px; margin: 16px 0 28px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text); transition: background-color .3s; position: relative; }
.dot::after { content: ""; position: absolute; inset: -8px -4px; }
.dot.is-active { background: #30adcf; }
.hero-slider__thumbs { display: none; }

/* ---------- редове ---------- */
.wrapper { padding: 0 var(--side); }
.section-header { margin: 0 0 16px; text-align: center; }
.title--2 { font-size: 28px; font-weight: 500; line-height: 1.1; letter-spacing: -.01em; }
.media-slider { position: relative; margin: 0 calc(var(--side) * -1); }
.track { display: flex; gap: 8px; padding: 0 var(--side); overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 0 var(--side); scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: none; scroll-snap-align: start; width: calc((100vw - 32px) * .904); }
.slide--large { width: calc((100vw - 32px) * .92); }
.slide--oval { width: calc((100vw - 32px) * .79); margin-right: 16px; }
.slider-next { display: none; }

.card-main { position: relative; display: block; border-radius: 20px; overflow: hidden; color: #fff; }
.card-main__pic { display: block; aspect-ratio: 424 / 588; }
.card-main__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.215, .61, .355, 1); }
.card-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .86) 100%); }
.card-main__name { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; font-size: 28px; font-weight: 700; line-height: 1.05; text-transform: uppercase; letter-spacing: -.01em; }
.card-main__name small { display: block; margin-top: 8px; font-size: 14px; line-height: 1.5; font-weight: 700; letter-spacing: 0; color: rgba(255, 255, 255, .78); }
.card-main:hover img { transform: scale(1.04); }

.card { position: relative; border-radius: 12px; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(128, 128, 128, .16); opacity: 0; transition: opacity .3s ease-out; }
.card:hover::before { opacity: 1; }
.card__image { position: relative; margin: 0 0 16px; border-radius: 12px; overflow: hidden; aspect-ratio: 424 / 239; background: #151515; }
.card__image img { width: 100%; height: 100%; object-fit: cover; }
.card__content { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 0 16px; }
.card__title { font-size: 20px; font-weight: 600; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__tags { display: flex; flex-wrap: wrap; gap: 10px 32px; }
.card__tag { position: relative; font-size: 14px; font-weight: 700; line-height: 21px; text-transform: uppercase; }
.card__tag:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -18px; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--muted); }
.card__tag i { font-style: normal; display: none; }
.card__play-btn { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.card__content .card__play-btn { inset: calc(-1 * (100vw)) 0 0; }
.card--large .card__title { font-size: 23px; line-height: 1.2; }
.card--large2 .card__title { font-size: 20px; font-weight: 500; line-height: 1.2; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.card__pill { position: absolute; top: -14px; right: 24px; z-index: 22; display: flex; justify-content: center; align-items: center; padding: 4px 16px; border-radius: 24px; background: var(--violet); color: #fff; font-size: 14px; font-weight: 700; line-height: 21px; }
.media-slider--pill .track { padding-top: 14px; margin-top: -14px; }

.section--accent { background: var(--accent-bg); padding: 32px 0; }
.section--accent .section-header { margin-bottom: 32px; }
.section--books { padding: 32px 0; }
.card--oval .card__link { display: block; }
.card__image-holder { padding: 0 10px; }
.card--oval .card__image { aspect-ratio: 281 / 374; }
.circle-icon { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; width: 70px; height: 70px; margin: -64px 30px 16px auto; border-radius: 50%; background: var(--pink); color: #fff; }
.circle-icon .i { width: 28px; height: 28px; }
.circle-icon__icon { display: flex; }
.card__label { font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--blue); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* мястото на банера в образеца (само на телефон): подкрепа за канала */
.home-banner-first { height: 250px; margin: 0 0 20px; padding: 0 16px; display: flex; justify-content: center; }
.support { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; width: 100%; max-width: 358px; height: 250px; padding: 24px; border-radius: 12px; background: radial-gradient(260px 200px at 100% 0, rgba(56, 184, 213, .55), transparent 70%), linear-gradient(135deg, #0a2a5c, #0068e0); color: #fff; }
.support__title { font-size: 28px; font-weight: 500; line-height: 1.1; max-width: 240px; }
.support__btn { display: inline-flex; align-items: center; gap: 12px; padding: 13px 20px; border-radius: 6px; background: #fff; color: #151515; font-size: 15px; font-weight: 700; line-height: 1.5; text-transform: uppercase; }
.support__btn .i { width: 18px; height: 18px; }

/* ---------- футър ---------- */
.footer { position: relative; padding: 32px 0; overflow: hidden; }
.slider-logo { margin: 0 0 32px; overflow: hidden; }
.slider-logo__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.slider-logo:hover .slider-logo__track { animation-play-state: paused; }
.card-logo { display: flex; justify-content: center; align-items: center; flex: none; width: 110px; height: 80px; margin-right: 25px; border-radius: 6px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; opacity: .9; transition: background-color .3s ease-out, opacity .3s; }
.card-logo:hover { background: rgba(128, 128, 128, .18); opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
.footer__wrapper { display: flex; flex-direction: column; gap: 40px; padding: 20px 16px; border-radius: 12px; background: var(--panel); color: #fff; }
.footer__media { display: flex; align-items: center; gap: 24px; }
.logo--footer { height: 35px; }
.logo--footer .logo__k { width: 32px; height: 32px; font-size: 21px; }
.footer__social-list { display: flex; align-items: center; gap: 4px; }
.social-link { display: flex; justify-content: center; align-items: center; width: 55px; height: 55px; border-radius: 50%; background: #151515; transition: background-color .3s ease-out; }
.social-link:hover { background: #2c2c2c; }
.footer__nav-list { display: flex; flex-direction: column; gap: 20px; }
.link { font-size: 15px; font-weight: 500; line-height: 1.5; background: linear-gradient(#fff, #fff) no-repeat 0 100% / 0 1px; transition: background-size .3s ease-out; }
.link:hover { background-size: 100% 1px; }
.footer__author { font-size: 15px; font-weight: 500; line-height: 1.5; }
.coltcode-credit span { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- меню на телефон, търсене, плейър ---------- */
.mobile-menu, .search, .player { position: fixed; inset: 0; z-index: 10000; }
[hidden] { display: none !important; }
.mobile-menu { background: var(--bg); padding: 0 16px 32px; overflow-y: auto; animation: fade .25s ease-out; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; height: 64px; margin-bottom: 40px; }
.mobile-menu__title { font-size: 28px; font-weight: 600; }
.mobile-menu__close, .search__close, .player__close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; }
.mobile-menu__list { display: grid; gap: 8px; }
.mobile-menu__list a { display: flex; align-items: center; gap: 12px; height: 78px; padding: 0 16px; border-radius: 8px; background: var(--accent-bg); font-size: 20px; font-weight: 600; }
.mobile-menu__list .i { width: 28px; height: 28px; }
.mobile-menu__row { display: flex; justify-content: center; gap: 16px; margin: 32px 0; padding: 32px 0; border: solid var(--muted); border-width: 1px 0; border-color: rgba(128, 128, 128, .3); }
.mobile-menu__row a { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; min-height: 24px; }
.mobile-menu__row .i { width: 22px; height: 22px; }
.mobile-menu__links { display: grid; gap: 14px; padding: 0 16px; }
.mobile-menu__links a { font-size: 15px; font-weight: 600; line-height: 1.6; }
@keyframes fade { from { opacity: 0; } }

.search { display: flex; flex-direction: column; justify-content: center; padding: 16px; background: rgba(12, 12, 12, .94); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: fade .25s ease-out; }
.search__close, .player__close { position: absolute; top: 16px; right: 24px; color: #fff; }
.search__form { width: 100%; max-width: 760px; margin: 0 auto; }
.search__label { display: block; margin-bottom: 16px; font-size: 28px; font-weight: 600; line-height: 1.1; }
.search__row { display: flex; flex-wrap: wrap; gap: 8px; }
.search__input { flex: 1 1 220px; min-width: 0; height: 49px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 6px; background: rgba(255, 255, 255, .08); color: #fff; font: inherit; font-size: 16px; }
.search__input::placeholder { color: rgba(255, 255, 255, .55); }

.player { display: grid; place-items: center; padding: 64px 16px 16px; background: rgba(0, 0, 0, .92); animation: fade .25s ease-out; }
.player__frame { width: min(100%, calc((100vh - 96px) * 16 / 9), 1280px); aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.player__frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.only-phone { display: flex; }

/* ---------- от 840 px: хедър и първи екран като на компютър ---------- */
@media (min-width: 840px) {
  .only-phone { display: none; }
  .header { position: absolute; background: none; }
  .header::after { display: none; }
  .header__wrapper { grid-template-columns: 1fr 1fr 1fr; padding: 24px 16px 12px; margin: 0 2.085vw; min-height: 104px; }
  .header__middle { display: flex; justify-content: center; align-items: center; position: relative; height: 0; }
  .logo { height: 45px; font-size: 22px; gap: 4px; }
  .logo__k { width: 44px; height: 44px; border-radius: 9px; font-size: 30px; }
  .navigation-d { background: rgba(0, 0, 0, .35); border-radius: 12px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow: hidden; color: #fff; flex: none; }
  .navigation-d__list { display: flex; align-items: center; }
  .navigation-d__link { position: relative; display: block; padding: 0 12px; font-size: clamp(13px, calc(.58vw + 7.2px), 16px); font-weight: 700; line-height: 1.5; transition: background-color .2s ease-out; }
  .navigation-d__link:hover { background: rgba(255, 255, 255, .1); }
  .navigation-d__link-content { position: relative; display: flex; align-items: center; gap: 11.4px; padding: 28px 8px; white-space: nowrap; }
  .navigation-d__link.is-active .navigation-d__link-content::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--blue); border-radius: 3px 3px 0 0; }
  .controls { gap: 12px; }
  .controls__desktop { display: contents; }
  .button--red { width: 44px; height: 44px; padding: 0; border-radius: 50%; }
  .button--red .button__text { display: none; }
  .button--red .i { width: 20px; height: 20px; }
  .button-icon { display: flex; color: #fff; }
  .button-icon .i { width: 16px; height: 16px; transition: transform .4s ease-out; }
  .button-icon:hover .i { transform: scale(1.15); }
  .switch { position: relative; display: flex; align-items: center; margin-left: 8px; color: #fff; cursor: pointer; }
  .switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
  .switch .i { width: 16px; height: 16px; transition: opacity .4s ease-out; }
  .switch__control { position: relative; width: 38px; height: 20px; margin: 0 8px; border: 1px solid #fff; border-radius: 17px; transition: background .2s ease-in-out; }
  .switch__control::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .2s ease-in-out; }
  .switch input:checked ~ .switch__control::after { transform: translateX(18px); }
  .switch input:checked ~ .switch__sun, .switch input:not(:checked) ~ .switch__moon { opacity: 0; }
  .switch input:focus-visible ~ .switch__control { outline: 2px solid var(--blue); outline-offset: 3px; }

  .hero-slider { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero-slider__main, .hero-slider__thumbs { grid-area: 1 / 1; }
  .hero-slider__main { height: calc(100vh - 32px); min-height: 600px; }
  .hero-dots { display: none; }
  .hero::after { background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 55%), linear-gradient(rgba(0, 0, 0, .5) 3.4%, rgba(0, 0, 0, 0) 23%), linear-gradient(rgba(0, 0, 0, 0) 45.2%, var(--bg) 100%); }
  .hero__media img { object-position: 50% 0; }
  .hero__content { padding: 116px 0 40px; }
  .wrapper-full { padding: 0 40% 0 40px; }
  .hero__content-info { gap: 16px; margin: 0 0 40px; max-width: 540px; }
  .hero .title { font-size: clamp(48px, calc(4.816vw + 7.54px), 96px); }
  .button { padding: 22px 24px; font-size: clamp(15px, calc(.477vw + 11.13px), 18px); }
  .button .i { width: 20px; height: 20px; }
  .hero .button:not(.button--sub) { min-width: 300px; }
  .hero .button--sub { min-width: clamp(165px, calc(7.95vw + 85.5px), 200px); }
  .label { right: 12px; padding: 4px 16px; }
  .search__btn { padding: 11px 24px; }

  .hero-slider__thumbs { display: flex; align-items: flex-end; justify-self: end; align-self: end; position: relative; z-index: 22; width: 40%; padding: 0 0 0 18px; margin: 0 0 78px; }
  .hero-thumbs { flex: 1; min-width: 0; overflow: clip visible; overflow-clip-margin: 60px; }
  @supports not (overflow: clip) { .hero-thumbs { overflow: hidden; padding: 40px 0; margin: -40px 0; } }
  .hero-thumbs__track { display: flex; transition: transform .5s ease-out; }
  .hero-thumb { flex: none; width: 252px; margin: 0 8px 0 0; transition: margin .3s ease-out, opacity .3s ease-out; }
  .hero-thumb__box { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; transition: transform .3s ease-out, box-shadow .3s ease-out; }
  .hero-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .hero-thumb.is-active { margin: 0 39px; }
  .hero-thumb.is-active .hero-thumb__box { transform: scale(1.24); box-shadow: 0 0 0 3px #fff; }
  .hero-thumb.is-far { opacity: .5; }
  .hero-prev, .hero-next { position: absolute; top: 50%; z-index: 23; transform: translateY(-50%); }
  .hero-prev { left: -55px; }
  .hero-next { right: 14px; }
  .hero-prev .circle-button__icon, .hero-next .circle-button__icon, .slider-next .circle-button__icon { width: 46px; height: 46px; }
  .hero-prev .i, .hero-next .i, .slider-next .i { width: 20px; height: 20px; }

  .section-header { text-align: left; margin-bottom: 24px; }
  .title--2 { font-size: clamp(28px, calc(2.743vw + .57px), 48px); }
  .home-banner-first { display: none; }
  .slide { width: calc((100vw - 32px) * .465); }
  .slide--large { width: calc((100vw - 32px) * .465); }
  .slide--main { width: calc((100vw - 32px) * .408); }
  .slide--oval { width: calc((100vw - 32px) * .278); margin-right: 16px; }
  .card-main { border-radius: 24px; }
  .card-main__name { left: 28px; right: 28px; bottom: 28px; font-size: clamp(28px, calc(.9vw + 19px), 34px); }
  .card { border-radius: 18.67px; }
  .card__image { border-radius: 18.67px; }
  .card__content { padding: 0 16px 16px; gap: clamp(8px, calc(.37vw + 4.9px), 10.2px); }
  .card__title { font-size: clamp(20px, calc(.659vw + 14.51px), 24px); }
  .card--large .card__title { font-size: clamp(23px, calc(.657vw + 17.43px), 30px); line-height: 1.3; }
  .card--large2 .card__title { font-size: clamp(20px, calc(.636vw + 14.84px), 24px); -webkit-line-clamp: 3; }
  .card__tag i { display: inline; }
  .section--accent, .section--books { padding: clamp(32px, calc(2.22vw + 13.35px), 48px) 0 32px; }
  .card--oval { padding: 16px 0; }
  .card__image-holder { padding: 0 12px; }
  .circle-icon { width: 76px; height: 76px; margin-bottom: 24px; }
  .circle-icon .i { width: 30px; height: 30px; }
  .card__label { font-size: clamp(16px, calc(.184vw + 14.46px), 18px); }
  .slider-next { display: flex; position: absolute; right: 18px; top: 34%; z-index: 10; opacity: 0; transition: opacity .3s ease-out; }
  .media-slider:hover .slider-next, .slider-next:focus-visible { opacity: 1; }
  .slider-next.is-end { display: none; }

  .footer { padding: 50px 0 34px; }
  .card-logo { width: 140px; height: 90px; margin-right: 40px; font-size: 22px; }
  .wrapper--xl { padding: 0 2.6vw; }
  .footer__wrapper { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 40px 24px; padding: 16px; }
  .logo--footer { height: 36px; font-size: 18px; }
  .footer__nav { flex: 0 0 100%; }
  .footer__nav-list { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 20.8px; }
  .mobile-menu { display: none !important; }
  .search__label { font-size: 40px; }
  .search__input { height: 71px; font-size: 18px; padding: 0 24px; }
}

/* ---------- от 1024 px: размерите на компютър ---------- */
@media (min-width: 1024px) {
  :root { --side: 4.95vw; }
  .section { padding-bottom: clamp(32px, calc(4.432vw - 12.3px), 56px); }
  .hero-slider__main { height: calc(100vh - clamp(32px, calc(4.432vw - 12.3px), 56px)); }
  .navigation-d__list > li:first-child .navigation-d__link { padding: 0 22.2px; }
  .navigation-d__link { padding: 0 14.65px; }
  .controls { gap: 17.1px; }
  .button-icon .i { width: 23px; height: 23px; }
  .switch { margin-left: 0; }
  .hero-slider__thumbs { margin-bottom: 74px; }
  .hero-thumb { width: 15.14vw; }
  .hero-thumb.is-active { margin: 0 2.37vw; }
  .hero-prev { left: -46px; }
  .hero-next { right: 24px; }
  .section-header { margin-bottom: 32px; }
  .section--accent .section-header { margin-bottom: 36.44px; }
  .section--accent, .section--books { padding-bottom: clamp(32px, calc(4.432vw - 12.3px), 56px); }
  .track { padding: 0 var(--side); }
  .slide { width: calc((100vw - 9.9vw) * .3269); }
  .slide--large { width: calc((100vw - 9.9vw) * .3269); }
  .slide--main { width: calc((100vw - 9.9vw) * .244); }
  .slide--oval { width: calc((100vw - 9.9vw) * .2348); margin-right: 16px; }
  .footer { padding: clamp(50px, calc(7.64vw - 26.7px), 96px) 0 36.67px; }
  .slider-logo { margin-bottom: clamp(32px, calc(4.432vw - 12.3px), 56px); }
}

/* Менюто в средата се закрепя чак когато има място до бутоните вдясно, иначе ги застъпва. */
@media (min-width: 840px) and (max-width: 999px) {
  .navigation-d__link { padding: 0 2px; font-size: 12px; }
  .navigation-d__link-content { gap: 7px; padding: 28px 5px; }
  .controls { gap: 8px; }
}
@media (min-width: 1160px) {
  .navigation-d { position: fixed; top: 24px; left: 50%; transform: translateX(-50%); z-index: 9998; }
}
@media (min-width: 1400px) {
  .button--red { width: auto; height: auto; padding: 11.4px 22.2px; border-radius: 6px; font-size: clamp(13px, calc(.58vw + 7.2px), 16px); }
  .button--red .button__text { display: flex; }
}

/* ---------- от 1221 px: футърът става един ред ---------- */
@media (min-width: 1221px) {
  .footer__wrapper { flex-wrap: nowrap; }
  .link, .footer__author { font-size: 15.46px; }
  .footer__nav { flex: 1; }
  .footer__nav-list { justify-content: center; gap: 22.33px; max-width: 560px; margin: 0 auto; }
}

:root[data-theme="light"] .card-logo { color: #151515; }
:root[data-theme="light"] .dot { background: #9a9a9a; }
:root[data-theme="light"] .dot.is-active { background: #0068e0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
