/* Black Friday holiday styling (Nov 19-29, 2026). Visibility is still controlled only by academy.js via [data-bf-card][hidden]. */
[data-bf-card][hidden],.ac-bf-fest[hidden]{display:none!important}
.ac-bf.ac-bf-fest{position:relative;isolation:isolate;overflow:hidden;box-sizing:border-box;max-width:100%;margin:28px 0;padding:48px 22px 24px;
  background:radial-gradient(110% 90% at 100% 0,rgba(200,16,46,.38),transparent 58%),radial-gradient(90% 90% at 0 100%,rgba(20,110,60,.42),transparent 62%),#07120c;
  color:#fff;text-align:left;border:3px solid #e11d2e;border-radius:16px;
  box-shadow:0 0 0 4px #07120c,0 0 0 7px #c8102e,0 22px 48px rgba(0,0,0,.6)}
.ac-bf-fest .bf-lights-top{position:absolute;left:0;top:0;width:100%;height:40px;display:block;pointer-events:none}
.ac-bf-fest .bf-bulbs .bf-b{filter:drop-shadow(0 0 3px rgba(255,230,180,.85));animation:bfTw 2.8s ease-in-out infinite}
.ac-bf-fest .bf-star{filter:drop-shadow(0 0 6px rgba(255,236,190,.95));animation:bfStar 3.2s ease-in-out infinite;transform-origin:150px 30px}
@keyframes bfTw{0%,100%{opacity:1}50%{opacity:.35}}
@keyframes bfStar{0%,100%{opacity:1}50%{opacity:.75}}
.ac-bf.ac-bf-fest .ac-tag{display:inline-block;margin:0 0 10px;padding:5px 12px;border-radius:30px;border:0;background:#c8102e;color:#fff;
  font-size:.78rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.ac-bf-fest .bf-title{margin:.1rem 0 .5rem;font-family:var(--font-display,"Oswald","Arial Narrow",sans-serif);font-weight:600;text-transform:uppercase;
  font-size:clamp(2.7rem,11vw,5.2rem);line-height:.95;letter-spacing:.02em;color:#fff;text-shadow:3px 3px 0 #c8102e}
.ac-bf-fest .bf-title span{color:#fff3dc;text-shadow:3px 3px 0 #c8102e,0 0 22px rgba(255,214,150,.45)}
.ac-bf.ac-bf-fest .ac-price{margin:.7rem 0 .3rem;font-family:var(--font-display,"Oswald","Arial Narrow",sans-serif);font-weight:600;
  font-size:clamp(3.8rem,16vw,6.4rem);line-height:1;color:#fff6e6;text-shadow:3px 3px 0 #c8102e,0 0 26px rgba(255,214,150,.4)}
.ac-bf.ac-bf-fest .ac-price small{display:block;margin-top:.35rem;font-family:var(--font-display,"Oswald",sans-serif);font-size:clamp(1.1rem,4.4vw,1.45rem);
  letter-spacing:.06em;text-transform:uppercase;color:#fff;text-shadow:none}
.ac-bf.ac-bf-fest .ac-fine{margin:.45rem 0;font-size:.95rem;line-height:1.45;color:#ecefe9}
.ac-bf.ac-bf-fest [data-bf-when]{display:inline-flex;align-items:center;gap:.55rem;margin:.6rem 0;padding:.45rem .8rem;border:2px solid rgba(255,255,255,.75);border-radius:8px;
  background:rgba(20,110,60,.35);color:#fff;font-weight:700;font-size:1rem;line-height:1.35}
.ac-bf.ac-bf-fest [data-bf-when]::before{content:"";flex:0 0 auto;width:10px;height:10px;border-radius:50%;background:#ff3b4a;animation:bfDot 1.6s infinite}
@keyframes bfDot{0%{box-shadow:0 0 0 0 rgba(255,59,74,.7)}70%{box-shadow:0 0 0 9px rgba(255,59,74,0)}100%{box-shadow:0 0 0 0 rgba(255,59,74,0)}}
.ac-bf.ac-bf-fest p{margin:.45rem 0}
.ac-bf.ac-bf-fest .ac-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:56px;margin-top:.5rem;padding:12px 26px;box-sizing:border-box;max-width:100%;
  border:3px solid #fff;border-radius:10px;background:#c8102e;color:#fff!important;font-family:inherit;font-size:1.12rem;font-weight:800;letter-spacing:.02em;
  text-decoration:none!important;text-align:center;cursor:pointer;box-shadow:0 6px 0 #6d0816;animation:bfPulse 2.4s ease-in-out infinite;transition:transform .12s,background .12s}
.ac-bf.ac-bf-fest .ac-btn::after{content:"\2192";font-size:1.2em;line-height:1}
.ac-bf.ac-bf-fest .ac-btn:hover{background:#e11d2e;transform:translateY(-2px)}
.ac-bf.ac-bf-fest .ac-btn:focus-visible{outline:4px solid #fff;outline-offset:3px}
@keyframes bfPulse{0%,100%{box-shadow:0 6px 0 #6d0816,0 0 0 0 rgba(255,255,255,.45)}50%{box-shadow:0 6px 0 #6d0816,0 0 0 10px rgba(255,255,255,0)}}
.ac-bf-fest .bf-scene svg{display:block;width:100%;height:auto}
/* Homepage hero layout: tree | headline + countdown | deal */
.ac-bf.ac-bf-fest.ac-bf-hero{max-width:1120px;margin:22px auto 30px;padding:52px 30px 28px}
.ac-bf-hero .bf-grid{display:grid;grid-template-columns:230px minmax(0,1fr) minmax(0,1.08fr);grid-template-areas:"scene head deal" "scene when deal";gap:6px 24px;align-items:center}
.ac-bf-hero .bf-scene{grid-area:scene}.ac-bf-hero .bf-head{grid-area:head;align-self:end}.ac-bf-hero .bf-when-row{grid-area:when;align-self:start;justify-self:start}
.ac-bf-hero .bf-deal{grid-area:deal;border-left:2px dashed rgba(255,255,255,.35);padding-left:30px}
.ac-bf-hero .bf-deal .ac-price{margin-top:0}
@media(min-width:1000px){.ac-bf-hero .bf-title{font-size:4.6rem}.ac-bf-hero .ac-btn{font-size:1rem;padding:12px 22px;white-space:nowrap}.ac-bf-hero .ac-tag{white-space:nowrap;font-size:.72rem;letter-spacing:.1em}.ac-bf-hero .bf-deal{padding-left:24px}}
@media(max-width:999px){.ac-bf-hero .bf-grid{grid-template-columns:200px minmax(0,1fr);grid-template-areas:"scene head" "scene when" "deal deal"}
  .ac-bf-hero .bf-deal{border-left:0;padding-left:0;border-top:2px dashed rgba(255,255,255,.35);padding-top:14px;margin-top:8px}}
/* Academy cards: smaller tree, top right */
.ac-bf-fest .bf-scene-sm{position:absolute;right:26px;top:50%;transform:translateY(-50%);width:260px;z-index:-1;pointer-events:none}
.ac-bf.ac-bf-fest:has(.bf-scene-sm){padding-right:310px}
@media(max-width:640px){
  .ac-bf.ac-bf-fest{padding:46px 16px 20px}
  .ac-bf.ac-bf-fest.ac-bf-hero{margin:14px 12px 24px;padding:46px 14px 20px}
  .ac-bf.ac-bf-fest .ac-tag{letter-spacing:.08em;font-size:.72rem}
  .ac-bf.ac-bf-fest .ac-btn{width:100%}
  .ac-bf-hero .bf-grid{grid-template-columns:minmax(0,1fr) 140px;grid-template-areas:"head scene" "when when" "deal deal";gap:4px 10px}
  .ac-bf-fest .bf-title span{display:block}
  .ac-bf.ac-bf-fest:has(.bf-scene-sm){padding-right:16px}
  .ac-bf-fest .bf-scene-sm{top:84px;right:12px;transform:none;width:140px}
  .ac-bf-fest:has(.bf-scene-sm) .bf-title{margin-right:146px}
  .ac-bf-fest:has(.bf-scene-sm) .ac-price{min-height:0}
}
@media(prefers-reduced-motion:reduce){.ac-bf-fest .bf-b,.ac-bf-fest .bf-star,.ac-bf.ac-bf-fest .ac-btn,.ac-bf.ac-bf-fest [data-bf-when]::before{animation:none}}
