/* NEON CARTOON 12: Restore the original dark BLUE lower "В ПРОГРАММЕ" design from user's screenshot.
   Upper hero story and About panel remain purple and untouched. */
@property --old-program-border-angle { syntax:'<angle>'; inherits:false; initial-value:0deg; }
body.detail-page main .offer-section .photo-offer .offer-content,
body.detail-page main .offer-section .photo-offer .offer-content.neon-lined {
  width:min(790px,100%)!important; max-width:790px!important;
  background:none!important;border:0!important;outline:0!important;
  box-shadow:none!important;padding:0!important;filter:none!important;
}
body.detail-page main .offer-section .photo-offer .offer-content::before,
body.detail-page main .offer-section .photo-offer .offer-content::after {display:none!important;content:none!important}
body.detail-page main .offer-section .photo-offer .offer-content .program-neon-frame {
  isolation:isolate!important;position:relative!important;
  width:100%!important;max-width:none!important;box-sizing:border-box!important;
  overflow:hidden!important;
  padding:clamp(22px,2.4vw,32px)!important;
  background:linear-gradient(130deg,rgba(15,28,67,.96),rgba(19,29,69,.95) 52%,rgba(27,29,85,.95))!important;
  background-color:#111e46!important;
  border:2px solid #50f0f7!important; border-radius:27px!important;
  outline:0!important;
  box-shadow:0 0 11px #44f2ffe6,0 0 28px #24d4f85c,0 0 42px #e84ae34d,inset 0 0 36px #194d9540!important;
  filter:none!important;backdrop-filter:none!important;
}
body.detail-page main .offer-section .program-neon-frame::before {
  content:''!important;display:block!important;position:absolute!important;inset:0!important;
  pointer-events:none!important;z-index:5!important;
  padding:3px!important;border-radius:inherit!important;
  background:conic-gradient(from var(--old-program-border-angle),transparent 0 115deg,#43faff 148deg,#d9ffff 166deg,#ff5fdc 194deg,#fff19b 220deg,transparent 257deg 360deg)!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:oldProgramBorderMove 3.25s linear infinite!important;
  transform:none!important;
  filter:drop-shadow(0 0 10px #32ebff) drop-shadow(0 0 13px #fb57d8)!important;
}
@keyframes oldProgramBorderMove {to{--old-program-border-angle:360deg}}
body.detail-page main .offer-section .program-neon-frame::after {
  content:''!important;display:block!important;position:absolute!important;inset:0!important;
  z-index:0!important;pointer-events:none!important;border-radius:inherit!important;
  background:linear-gradient(135deg,rgba(94,236,255,.03),transparent 65%)!important;
  box-shadow:inset 0 0 34px #4deaff17!important;
}
body.detail-page main .offer-section .program-neon-frame > .eyebrow.light {
  display:block!important;position:relative!important;z-index:1!important;
  background:transparent!important;color:#fff3bc!important;
  text-align:left!important;border:0!important;box-shadow:none!important;
  font-size:clamp(11px,1.05vw,14px)!important;font-weight:900!important;
  letter-spacing:.10em!important;line-height:1.4!important;
  margin:0 0 6px!important;padding:0!important;
  text-shadow:0 0 10px #ffe0ab6b!important;
}
body.detail-page main .offer-section .program-neon-frame > h2 {
  position:relative!important;z-index:1!important;
  color:#fff5cf!important;text-align:left!important;
  font-size:clamp(30px,3.8vw,54px)!important;font-weight:900!important;
  line-height:1.04!important;letter-spacing:-.035em!important;
  margin:0 0 clamp(17px,2vw,26px)!important;
  text-shadow:0 0 14px #fff3ae7a!important;
}
body.detail-page main .offer-section .program-neon-frame .offer-layout {
  position:relative!important;z-index:1!important;display:grid!important;
  width:100%!important;max-width:none!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:clamp(14px,2.1vw,22px)!important;align-items:stretch!important;
  margin:0 0 20px!important;padding:0!important;
}
body.detail-page main .offer-section .program-neon-frame .offer-duration,
body.detail-page main .offer-section .program-neon-frame .offer-duration:is(:hover,:focus-within) {
  box-sizing:border-box!important;display:block!important;min-width:0!important;
  background:linear-gradient(145deg,rgba(27,55,104,.96),rgba(33,45,95,.96) 72%,rgba(41,46,105,.97))!important;
  background-color:#20365e!important;
  border:1px solid rgba(58,229,255,.34)!important;
  border-radius:24px!important;
  padding:clamp(17px,2vw,23px)!important;
  box-shadow:0 0 16px #29e8ff28,inset 0 0 16px #57e2ff0e!important;
  filter:none!important;backdrop-filter:none!important;
  overflow-wrap:normal!important;
}
body.detail-page main .offer-section .program-neon-frame .offer-duration::before,
body.detail-page main .offer-section .program-neon-frame .offer-duration::after {content:none!important;display:none!important}
body.detail-page main .offer-section .program-neon-frame .offer-duration h3 {
  color:#fff9e9!important;text-shadow:0 0 8px #f5f7ff4d!important;
  font-size:clamp(17px,1.65vw,22px)!important;font-weight:900!important;
  line-height:1.14!important;letter-spacing:.005em!important;
  margin:0 0 15px!important;padding:0!important;
}
body.detail-page main .offer-section .program-neon-frame .offer-duration ul {
  list-style:none!important;columns:1!important;
  margin:0!important;padding:0!important;
}
body.detail-page main .offer-section .program-neon-frame .offer-duration li {
  position:relative!important;color:#fbfaff!important;text-shadow:0 0 7px #fff6db1a!important;
  font-size:clamp(12.6px,1.07vw,15px)!important;font-weight:850!important;
  line-height:1.35!important;letter-spacing:.006em!important;
  margin:0 0 11px!important;padding:0 0 0 18px!important;
  word-break:normal!important;overflow-wrap:break-word!important;
}
body.detail-page main .offer-section .program-neon-frame .offer-duration li::before {
  content:'•'!important;display:block!important;
  position:absolute!important;left:0!important;top:0!important;
  color:#dcfaff!important;text-shadow:0 0 6px #40eaff5e!important;
  font-size:17px!important;font-weight:900!important;line-height:1.1!important;
}
body.detail-page main .offer-section .program-neon-frame > .button,
body.detail-page main .offer-section .program-neon-frame > a.button {
  display:inline-flex!important;position:relative!important;z-index:1!important;
  align-items:center!important;justify-content:center!important;text-align:center!important;
  color:#fff!important;font-weight:900!important;font-size:clamp(13px,1.05vw,16px)!important;
  min-height:48px!important;padding:12px 24px!important;margin:0!important;
  border-radius:19px!important;
  background:linear-gradient(90deg,#1d9eed,#f14ad3)!important;
  border:1px solid #6cf6ff7f!important;
  box-shadow:0 0 13px #fa4df7a1,0 0 23px #35e5ff82!important;
}
body.detail-page main .offer-section .program-neon-frame > .button:hover {
  transform:translateY(-4px) scale(1.035)!important;
  box-shadow:0 0 22px #fa4df7e0,0 0 35px #35e5ffe0!important;
}
@media(max-width:760px) {
  body.detail-page main .offer-section .photo-offer {padding:24px 13px!important;min-height:0!important}
  body.detail-page main .offer-section .program-neon-frame {padding:20px 14px!important;border-radius:21px!important}
  body.detail-page main .offer-section .program-neon-frame > h2 {font-size:clamp(27px,7.5vw,38px)!important}
  body.detail-page main .offer-section .program-neon-frame .offer-layout {grid-template-columns:minmax(0,1fr)!important;gap:13px!important}
  body.detail-page main .offer-section .program-neon-frame .offer-duration {padding:19px 18px!important}
  body.detail-page main .offer-section .program-neon-frame .offer-duration h3 {font-size:18px!important}
  body.detail-page main .offer-section .program-neon-frame .offer-duration li {font-size:13.1px!important;line-height:1.35!important;margin-bottom:9px!important}
}
@media(prefers-reduced-motion:reduce){body.detail-page main .offer-section .program-neon-frame::before{animation:none!important}}
