/* Откровение — широкая карусель с плеером + отдельная секция историй VK */
.hgp-otk {
  position: relative;
  background: #141210;
  color: #F5F0EA;
  padding: clamp(28px, 5vh, 64px) 0 clamp(32px, 6vh, 72px);
  border-top: 1px solid rgba(198,40,40,.35);
  border-bottom: 1px solid rgba(198,40,40,.25);
  overflow: hidden;
}
.hgp-otk__inner { width: 100%; max-width: 1720px; margin: 0 auto; padding: 0 clamp(14px, 3vw, 40px); }
.hgp-otk__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: clamp(14px, 2.4vw, 26px);
}
.hgp-otk__tag {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700;
  letter-spacing: .18em; color: #C62828; display: block; margin-bottom: 10px;
}
.hgp-otk__title {
  font-family: 'Oswald', sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(26px, 4.6vw, 62px); line-height: .98; letter-spacing: -.02em; margin: 0;
}
.hgp-otk__title span { color: transparent; -webkit-text-stroke: 1.5px rgba(245,240,234,.7); }
.hgp-otk__hint {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .14em;
  color: rgba(245,240,234,.5); text-transform: uppercase; margin: 0;
}
.hgp-otk__stage { position: relative; }
.hgp-otk__player {
  position: relative; width: 100%; aspect-ratio: 16/9; background: #000;
  border: 1px solid rgba(198,40,40,.4); overflow: hidden;
}
.hgp-otk__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: none; }
.hgp-otk__player iframe.is-active { display: block; }
.hgp-otk__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hgp-otk__poster.is-hidden { display: none; }
.hgp-otk__info {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px); align-items: start;
  margin-top: clamp(16px, 2.6vw, 30px);
}
.hgp-otk__metas { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 12px; }
.hgp-otk__chip {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: #FAFAFA;
  border: 1px solid rgba(198,40,40,.65); background: rgba(198,40,40,.14);
  padding: 6px 10px;
}
.hgp-otk__chip--dark { color: #F5F0EA; background: rgba(20,18,16,.6); border-color: rgba(245,240,234,.25); }
.hgp-otk__name {
  font-family: 'Oswald', sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(20px, 3vw, 40px); line-height: 1.04; letter-spacing: -.01em; margin: 0 0 10px;
}
.hgp-otk__desc {
  font-family: 'Roboto Condensed', sans-serif; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.5;
  color: rgba(245,240,234,.72); margin: 0 0 16px; max-width: 68ch;
}
.hgp-otk__actions { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.hgp-otk__btn {
  display: inline-block; background: #C62828; border: 2px solid #C62828; color: #FAFAFA;
  font-family: 'Roboto Condensed', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase; padding: 13px 24px; text-decoration: none;
  transition: background .25s ease, color .25s ease;
}
.hgp-otk__btn:hover { background: transparent; color: #C62828; }
.hgp-otk__link {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #C62828; text-decoration: none;
}
.hgp-otk__link:hover { color: #F5F0EA; }
.hgp-otk__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; }
.hgp-otk__nav--prev { left: 12px; }
.hgp-otk__nav--next { right: 12px; }
.hgp-otk__arrow {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(20,18,16,.78);
  border: 1px solid rgba(198,40,40,.6); color: #F5F0EA; font-size: 18px; line-height: 1; cursor: pointer;
}
.hgp-otk__arrow:hover { background: #C62828; color: #FAFAFA; }
.hgp-otk__dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.hgp-otk__dot {
  width: 10px; height: 10px; border-radius: 50%; padding: 0;
  background: rgba(245,240,234,.28); border: 1px solid rgba(198,40,40,.5); cursor: pointer;
}
.hgp-otk__dot.is-active { background: #C62828; transform: scale(1.2); }

/* ── Истории VK ── */
.hgp-st {
  position: relative; background: #0E0D0C; color: #F5F0EA;
  padding: clamp(28px, 5vh, 64px) 0 clamp(30px, 5vh, 70px);
}
.hgp-st__inner {
  width: 100%; max-width: 1720px; margin: 0 auto; padding: 0 clamp(14px, 3vw, 40px);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2.1fr);
  gap: clamp(18px, 3vw, 44px); align-items: start;
}
.hgp-st__side { position: sticky; top: 24px; padding-top: 4px; }
.hgp-st__tag {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700;
  letter-spacing: .18em; color: #C62828; display: block; margin-bottom: 10px;
}
.hgp-st__title {
  font-family: 'Oswald', sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(24px, 3.6vw, 48px); line-height: 1; letter-spacing: -.02em; margin: 0 0 12px;
}
.hgp-st__sub {
  font-family: 'Roboto Condensed', sans-serif; font-size: 15px; line-height: 1.5;
  color: rgba(245,240,234,.68); margin: 0 0 16px; max-width: 42ch;
}
.hgp-st__link {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #C62828; text-decoration: none;
}
.hgp-st__link:hover { color: #F5F0EA; }
.hgp-st__rail {
  display: flex; gap: clamp(10px, 1.4vw, 18px); overflow-x: auto; padding: 4px 2px 14px;
  scroll-snap-type: x proximity; scrollbar-width: thin;
}
.hgp-st__item {
  flex: 0 0 auto; width: clamp(150px, 15vw, 230px); aspect-ratio: 9/16; margin: 0;
  position: relative; border: 1px solid rgba(245,240,234,.14); background: #171513;
  overflow: hidden; cursor: pointer; scroll-snap-align: start;
}
.hgp-st__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hgp-st__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: .1em;
  text-transform: uppercase; color: #FAFAFA;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0));
}
.hgp-st__item.is-empty {
  display: flex; align-items: center; justify-content: center; padding: 14px; text-align: center;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .1em;
  color: rgba(245,240,234,.55); text-transform: uppercase; text-decoration: none; cursor: pointer;
}
.hgp-st__item.is-empty:hover { border-color: rgba(198,40,40,.6); color: #FAFAFA; }
.hgp-st__more {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(245,240,234,.55); text-decoration: none; white-space: nowrap;
}
.hgp-st__more:hover { color: #C62828; }

/* просмотр истории на сайте */
.hgp-st__view {
  position: fixed; inset: 0; z-index: 99999; background: rgba(8,8,8,.94);
  display: none; align-items: center; justify-content: center;
}
.hgp-st__view.is-open { display: flex; }
.hgp-st__view-inner { position: relative; width: min(430px, 92vw); aspect-ratio: 9/16; background: #000; }
.hgp-st__view-inner img, .hgp-st__view-inner video { width: 100%; height: 100%; object-fit: contain; display: block; }
.hgp-st__view-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: #FAFAFA; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0));
}
.hgp-st__view-close {
  position: absolute; top: 14px; right: 16px; background: none; border: 0;
  color: #FAFAFA; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .16em; cursor: pointer;
}
.hgp-st__view-nav {
  position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0;
  color: #FAFAFA; font-size: 34px; cursor: pointer; padding: 18px;
}
.hgp-st__view-nav--prev { left: -6px; }
.hgp-st__view-nav--next { right: -6px; }

@media (max-width: 1080px) {
  .hgp-otk__info { grid-template-columns: minmax(0, 1fr); }
  .hgp-st__inner { grid-template-columns: minmax(0, 1fr); }
  .hgp-st__side { position: static; }
}
@media (max-width: 640px) {
  .hgp-otk__nav { display: none; }
  .hgp-st__item { width: 44vw; }
}
.hgp-st__view-vk {
  font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase; color: #C62828; text-decoration: none;
  margin-left: 8px;
}
.hgp-st__view-vk:hover { color: #F5F0EA; }
.hgp-st__view-inner iframe { width: 100%; height: 100%; border: 0; display: block; }

.hgp-otk__nav {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(198,40,40,.6);
  background: rgba(20,18,16,.78); color: #F5F0EA; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
}
.hgp-otk__nav:hover { background: #C62828; color: #FAFAFA; }
.hgp-otk__nav .hgp-otk__arrow {
  width: auto; height: auto; border: 0; background: none; color: inherit;
  font-size: 18px; line-height: 1; cursor: pointer;
}
