/* A soft flare at the flame and reflected light constrained to the existing gold lettering. */
@media(prefers-reduced-motion:no-preference){
  .brand.takes-light::before,.brand.takes-light::after{content:"";position:absolute;pointer-events:none;opacity:0}
  .brand.takes-light::before{z-index:1;width:41%;height:41%;left:51%;top:20%;border-radius:50%;transform:translate(-50%,-50%);background:radial-gradient(ellipse at center,rgba(255,246,196,.98) 1%,rgba(255,220,121,.68) 15%,rgba(239,177,61,.24) 36%,transparent 70%);animation:ner-kindling 1.16s ease-out 1 both}
  .brand.takes-light::after{inset:0;z-index:2;mask:url('assets/ner-hamaaravi-logo.webp') center/100% 100% no-repeat;-webkit-mask:url('assets/ner-hamaaravi-logo.webp') center/100% 100% no-repeat;background:linear-gradient(155deg,transparent 28%,#f8cf83 42%,#fff4c8 50%,#eec57b 57%,transparent 70%) no-repeat 0 -115%/100% 190%;animation:ner-gold-pass 1.35s cubic-bezier(.25,.61,.3,1) .1s 1 both}
  @keyframes ner-kindling{0%{opacity:0;transform:translate(-50%,-50%) scale(.4)}30%{opacity:.71}80%,100%{opacity:0;transform:translate(-50%,-50%) scale(1.4)}}
  @keyframes ner-gold-pass{0%{opacity:0;background-position:0 180%}20%{opacity:.76}76%{opacity:.62}100%{opacity:0;background-position:0 -115%}}
}
/* The main lesson is a real player. Its controls sit on paper, outside the picture. */
.weekly-media{min-width:0;width:100%;align-self:center;grid-area:auto}
.weekly-stage{position:relative;isolation:isolate;aspect-ratio:var(--video-ratio,1.777778);width:min(100%,calc(78svh * var(--video-ratio,1.777778)));margin-inline:auto;overflow:hidden;border-radius:4px;background:#ded6c0}
.weekly-stage .weekly-still{object-fit:cover}
.weekly-still,.weekly-stage [data-weekly-screen],.weekly-stage :is(video,iframe){display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;margin:0;border:0;padding:0}
.weekly-still,.weekly-stage video{object-fit:contain}
.weekly-message{font:.91rem/1.5 var(--font-family);margin:2px 0 0;color:#4e3924}
.bound-leaves .weekly-actions .button-blue{color:#533c1f;background:#ede4cf}.weekly-actions .button-blue:hover{background:#e2d4b7}
@media(max-width:900px),(max-width:960px) and (max-height:540px){
  .weekly-lesson:not([hidden]){grid-template-areas:"title" "meta" "poster" "transport" "message" "description" "actions"}
  .weekly-message{grid-area:message}
  .weekly-media{grid-area:poster}.bound-leaves .weekly-copy{position:static;isolation:auto}
  .bound-leaves .weekly-copy>.eyebrow{grid-area:meta;align-self:center;justify-self:end;background:none;color:#63522f;line-height:1.25;font-size:.74rem;padding:0;margin:0 0 10px;z-index:0}
  .weekly-copy>.lesson-meta{padding-inline-end:76px}
}
@media(max-width:380px){.weekly-copy>.lesson-meta{padding-inline-end:0}.bound-leaves .weekly-copy>.eyebrow{display:none}}
@media print{.weekly-controls,.weekly-cover-play{display:none!important}}

@media (min-width:961px) and (max-height:810px){
  :root{--emblem-large:clamp(102px,16vh,128px);--emblem-inset:clamp(22px,4vh,33px)}
  .hero .hero-inner{min-height:clamp(330px,52svh,420px);padding-bottom:28px}
  .hero .hero-actions{margin-top:15px}
}
@media(min-width:901px){.weekly-actions{margin-top:7px}}

.weekly-message a{display:inline-flex;align-items:center;min-height:44px;color:#57431e;font-weight:600;text-decoration:underline;text-underline-offset:.2em}
