/* HGP · ИСТОРИИ ВК — карусель архивных роликов (после блока «ПАКЕТЫ СТУДИИ») */
.hgp-stories { background:#141210; padding: 96px 0 104px; position:relative; overflow:hidden; }
.hgp-stories:before { content:""; position:absolute; inset:0; background:radial-gradient(120% 70% at 50% 0%, rgba(198,40,40,.10), transparent 60%); pointer-events:none; }
.hgp-stories__inner { position:relative; z-index:1; }
.hgp-stories__tag { font-family:'JetBrains Mono',monospace; font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:rgba(214,203,186,.55); }
.hgp-stories__title { font-family:'Inter',system-ui,sans-serif; font-weight:800; font-size:clamp(30px,4.4vw,58px); line-height:1.02; letter-spacing:-.02em; color:#E9E2D6; margin:18px 0 0; }
.hgp-stories__title span { -webkit-text-stroke:1.4px #C62828; color:transparent; }
.hgp-stories__sub { max-width:640px; margin:20px 0 0; font-size:15px; line-height:1.65; color:rgba(214,203,186,.72); }
.hgp-stories__bar { display:flex; align-items:center; gap:14px; margin:30px 0 22px; }
.hgp-stories__count { font-family:'JetBrains Mono',monospace; font-size:11px; letter-spacing:.12em; color:rgba(214,203,186,.5); }
.hgp-stories__nav { width:44px; height:44px; border-radius:50%; border:1px solid rgba(214,203,186,.28); background:transparent; color:#E9E2D6; font-size:20px; line-height:1; cursor:pointer; transition:border-color .25s ease, background .25s ease, transform .25s ease; }
.hgp-stories__nav:hover { border-color:#C62828; background:rgba(198,40,40,.14); transform:translateY(-2px); }
.hgp-stories__nav[disabled] { opacity:.3; cursor:default; transform:none; }
.hgp-stories__rail { display:flex; gap:16px; overflow-x:auto; scroll-snap-type:x mandatory; padding:6px 2px 26px; scrollbar-width:thin; scrollbar-color:rgba(198,40,40,.5) transparent; }
.hgp-stories__rail::-webkit-scrollbar { height:4px; }
.hgp-stories__rail::-webkit-scrollbar-thumb { background:rgba(198,40,40,.55); border-radius:4px; }
.hgp-stories__card { position:relative; flex:0 0 auto; width:188px; aspect-ratio:9/16; border-radius:16px; overflow:hidden; scroll-snap-align:start; background:#0d0c0a center/cover no-repeat; box-shadow:0 18px 40px rgba(0,0,0,.45); display:block; text-decoration:none; transition:transform .3s ease, box-shadow .3s ease; }
.hgp-stories__card:before { content:""; position:absolute; inset:-14px; background-image:inherit; background-size:cover; background-position:center; filter:blur(18px) saturate(.9); opacity:.5; }
.hgp-stories__card:hover { transform:translateY(-6px); box-shadow:0 26px 54px rgba(0,0,0,.6); }
.hgp-stories__card img { position:relative; z-index:1; width:100%; height:100%; object-fit:contain; display:block; }
.hgp-stories__play { position:absolute; z-index:2; inset:0; display:flex; align-items:center; justify-content:center; }
.hgp-stories__play span { width:54px; height:54px; border-radius:50%; border:1px solid rgba(233,226,214,.75); background:rgba(10,9,8,.55); backdrop-filter:blur(4px); display:flex; align-items:center; justify-content:center; transition:background .25s ease, border-color .25s ease; }
.hgp-stories__play span:after { content:""; width:0; height:0; border-left:13px solid #E9E2D6; border-top:8px solid transparent; border-bottom:8px solid transparent; margin-left:4px; }
.hgp-stories__card:hover .hgp-stories__play span { background:rgba(198,40,40,.85); border-color:#C62828; }
.hgp-stories__num { position:absolute; z-index:2; left:12px; top:12px; font-family:'JetBrains Mono',monospace; font-size:10px; letter-spacing:.1em; color:rgba(233,226,214,.75); text-shadow:0 1px 6px rgba(0,0,0,.6); }
.hgp-stories__foot { margin-top:6px; font-family:'JetBrains Mono',monospace; font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:rgba(214,203,186,.5); }
.hgp-stories__foot a { color:rgba(214,203,186,.75); text-decoration:none; border-bottom:1px solid rgba(198,40,40,.4); padding-bottom:2px; }
.hgp-stories__foot a:hover { color:#C62828; border-color:#C62828; }
@media (max-width:768px) { .hgp-stories { padding:64px 0 70px; } .hgp-stories__card { width:148px; } }
