
/* Version 11: restore lower hero "В программе" block to the older beautiful style from v08/v08 visuals.
   This override touches ONLY the lower program section on hero pages. */
body.detail-page main .offer-section{background:#18123e!important;color:#fff!important}
body.detail-page main .offer-section .photo-offer{
  position:relative!important;
  border-radius:35px!important;
  overflow:hidden!important;
  min-height:650px!important;
  background:#231935!important;
  display:flex!important;
  align-items:center!important;
  padding:clamp(24px,5vw,80px)!important;
  isolation:isolate!important;
  box-shadow:none!important;
}
body.detail-page main .offer-section .photo-offer::before{
  content:''!important;position:absolute!important;inset:0!important;
  background:linear-gradient(90deg,#100d2aee 0%,#100d2add 48%,#100d2a32 100%)!important;
  z-index:-1!important;
}
body.detail-page main .offer-section .offer-content{
  width:min(820px,100%)!important;max-width:820px!important;min-width:0!important;
  padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;
}
body.detail-page main .offer-section .program-neon-frame{
  position:relative!important;
  width:100%!important;max-width:100%!important;box-sizing:border-box!important;
  padding:clamp(23px,2.8vw,36px)!important;
  background:linear-gradient(135deg,rgba(78,85,98,.97) 0%,rgba(56,62,74,.975) 58%,rgba(67,74,88,.97) 100%)!important;
  background-color:#4b515f!important;
  border-radius:28px!important;
  border:2px solid rgba(91,240,254,.67)!important;
  box-shadow:0 0 17px rgba(58,232,255,.45),0 0 35px rgba(248,78,219,.23),inset 0 0 28px rgba(9,12,23,.22)!important;
  overflow:hidden!important;
}
body.detail-page main .offer-section .program-neon-frame::before{
  content:''!important;position:absolute!important;inset:0!important;padding:3px!important;border-radius:inherit!important;
  background:conic-gradient(from var(--offer-glow-phase,0deg),transparent 0 160deg,#59efff 202deg,#f8ffff 225deg,#ff65da 255deg,#fff0a2 286deg,transparent 330deg)!important;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0)!important;
  -webkit-mask-composite:xor!important;mask-composite:exclude!important;
  animation:offerGlowTravel 3.2s linear infinite!important;
  pointer-events:none!important;z-index:4!important;filter:drop-shadow(0 0 9px rgba(90,245,255,.95))!important;
}
@keyframes offerGlowTravel{from{--offer-glow-phase:0deg}to{--offer-glow-phase:360deg}}
body.detail-page main .offer-section .program-neon-frame::after{
  content:''!important;position:absolute!important;inset:0!important;pointer-events:none!important;z-index:0!important;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,0))!important;
}
body.detail-page main .offer-section .program-neon-frame :is(h2,.offer-layout,.offer-duration,ul,li){position:relative!important;z-index:1!important}
body.detail-page main .offer-section .program-neon-frame h2{
  margin:0 0 22px!important;line-height:1.12!important;text-align:left!important;font-weight:900!important;letter-spacing:.005em!important;
  color:#bafaff!important;text-shadow:0 0 10px rgba(76,241,255,.72),0 0 23px rgba(255,88,223,.37)!important;
}
body.detail-page main .offer-section .program-neon-frame .offer-layout{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important;
  column-gap:clamp(16px,3vw,36px)!important;row-gap:24px!important;margin:0!important;padding:0!important;width:100%!important;
}
body.detail-page main .offer-section .program-neon-frame .offer-duration{
  min-width:0!important;max-width:100%!important;box-sizing:border-box!important;text-align:left!important;margin:0!important;padding:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;
}
body.detail-page main .offer-section .program-neon-frame .offer-duration h3{
  margin:0 0 13px!important;font-size:clamp(17px,1.3vw,20px)!important;line-height:1.24!important;letter-spacing:.01em!important;
  color:#fff5ab!important;text-shadow:0 0 8px rgba(255,241,144,.45)!important;
}
body.detail-page main .offer-section .program-neon-frame .offer-duration ul{
  margin:0!important;padding:0!important;list-style:none!important;columns:1!important;
}
body.detail-page main .offer-section .program-neon-frame .offer-duration li{
  position:relative!important;margin:0 0 6px!important;padding-left:18px!important;
  font-size:clamp(13px,1.02vw,15px)!important;font-weight:850!important;line-height:1.34!important;letter-spacing:-.005em!important;
  color:#f7fbff!important;text-shadow:none!important;
}
body.detail-page main .offer-section .program-neon-frame .offer-duration li::before{
  content:'•'!important;position:absolute!important;left:0!important;top:0!important;color:#a8f8ff!important;font-weight:900!important;
}
body.detail-page main .offer-section .offer-content>.button,
body.detail-page main .offer-section .offer-content>a.button,
body.detail-page main .offer-section .photo-offer .offer-content>a.button{
  margin-top:24px!important;
}
@media(max-width:800px){
  body.detail-page main .offer-section .program-neon-frame .offer-layout{grid-template-columns:1fr!important;row-gap:16px!important}
  body.detail-page main .offer-section .program-neon-frame{padding:20px!important;border-radius:24px!important}
  body.detail-page main .offer-section .program-neon-frame h2{margin-bottom:18px!important}
}
