/* Rushd — the site header's loading state.

   Every page imports the header with <dc-import name="site-header">. Until site-header.html
   arrives, the design-components runtime (/js/support.js, generated, do not edit) puts a
   .sc-placeholder box where the header goes: a 1px border at half the text colour and an 8%
   tint. The loaded nav is transparent (site-header.html, .rushd-navbar) so the page background
   shows through. The placeholder draws nothing, so the hero does not flash a solid navy strip.

   [data-sc-name] is the runtime's wrapper for that import, so the rule covers the header only.
   The loaded header has no .sc-placeholder, so its look does not change.

   Link this in the <head> of every page that imports the header, not in <helmet>: the runtime
   re-adds the <helmet> stylesheets by script, so they can arrive after the box is drawn. */
[data-sc-name="site-header"] .sc-placeholder{
  border-color:transparent;
  background:none;
  /* The loaded header is the 48px countdown plus the nav (87px): 136px.
     Below 640px the countdown wraps onto two lines on most phones and the pair is 160px.
     The hint-size inline height would otherwise reserve only one of those. */
  height:136px !important;
}
@media (max-width:639px){
  [data-sc-name="site-header"] .sc-placeholder{height:160px !important}
}

/* /coach-directory/ and /coach/ (#rushd-site-header.rushd-nav-over-frame): only the countdown
   takes room above the iframe. The transparent nav floats over the top of the frame, where the
   app's hero leaves 88px for it (--embed-header-h in sa-portal's embed layout, whenever the frame
   address has no header=0). The nav then shows the hero's own navy, so the two read as one
   panel. A strip of its own always seams, because the hero's gradient restarts at the frame. */
.rushd-nav-over-frame .rushd-navbar{position:absolute;top:100%;left:0;right:0}
/* While the header loads, reserve the countdown only, so the frame does not jump up by the
   nav's height when the header arrives. */
.rushd-nav-over-frame [data-sc-name="site-header"] .sc-placeholder{height:48px !important}
@media (max-width:639px){
  .rushd-nav-over-frame [data-sc-name="site-header"] .sc-placeholder{height:72px !important}
}

/* The masterclass countdown. Same gold bar as the /live/ campaign (navy pills, red LIVE),
   drawn once above the nav in site-header.html. Loaded here, in the page <head>, so the
   bar is painted with the header instead of flashing in unstyled. */
.rushd-chrome{width:100%}

.rl-bar{
  position:relative;
  z-index:6;
  min-height:48px;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  background:linear-gradient(90deg,#c99a3f,#f3d88e 50%,#c99a3f);
  color:#0e2138;
  overflow-x:clip;
}
.rl-barLive{background:#c2362f}
.rl-barInner{
  width:100%;
  max-width:1280px;
  margin:0 auto;
  padding:9px clamp(12px,4vw,48px);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(10px,3vw,26px);
  flex-wrap:wrap;
  text-align:center;
  box-sizing:border-box;
}
.rl-barCount,
.rl-unitsRow{
  display:flex;
  align-items:center;
  gap:clamp(8px,2vw,14px);
  flex-wrap:wrap;
  justify-content:center;
}
.rl-barLabel{
  font-family:"Plus Jakarta Sans",sans-serif;
  font-size:clamp(12px,3.2vw,14px);
  font-weight:800;
  letter-spacing:.14em;
  white-space:nowrap;
}
.rl-barLiveWord{color:#d7262d;font-weight:900}
.rl-units{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;justify-content:center}
.rl-unit{
  display:inline-flex;
  align-items:baseline;
  gap:4px;
  padding:3px 10px;
  border-radius:8px;
  background:#0e2138;
  color:#f3d88e;
}
.rl-unitValue{
  font-family:"Plus Jakarta Sans",sans-serif;
  font-size:clamp(16px,4.2vw,20px);
  font-weight:800;
  font-variant-numeric:tabular-nums;
  line-height:1.2;
}
.rl-unitLabel{
  font-family:"Plus Jakarta Sans",sans-serif;
  font-size:10.5px;
  font-weight:700;
  letter-spacing:.08em;
  color:#c9d1de;
}
.rl-barNow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:"Plus Jakarta Sans",sans-serif;
  font-size:clamp(13px,3.4vw,15px);
  font-weight:800;
  letter-spacing:.14em;
  color:#ffffff;
}
.rl-barNowDot{width:10px;height:10px;border-radius:50%;background:#ffffff}
.rl-seeMore{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  height:30px;
  padding:0 12px;
  border-radius:8px;
  background:#0e2138;
  color:#f3d88e;
  font-family:"Plus Jakarta Sans",sans-serif;
  font-size:13px;
  font-weight:800;
  line-height:1.2;
  letter-spacing:.01em;
  text-decoration:none;
  white-space:nowrap;
}
.rl-seeMore:hover{background:#16304e;color:#fcfaf4}
.rl-seeMore:focus-visible{outline:2px solid #0e2138;outline-offset:2px}
.rl-seeMoreIcon{display:none}
.rushd-nav-live:focus-visible{outline:2px solid #0e2138;outline-offset:3px}
.rushd-live-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#d7262d;
  box-shadow:0 0 0 0 rgba(215,38,45,.55);
  animation:rushd-live-pulse 1.6s ease-out infinite;
  flex:none;
}
@keyframes rushd-live-pulse{
  0%{box-shadow:0 0 0 0 rgba(215,38,45,.55)}
  70%{box-shadow:0 0 0 6px rgba(215,38,45,0)}
  100%{box-shadow:0 0 0 0 rgba(215,38,45,0)}
}
@media (max-width:639px){
  .rl-barCount{width:100%}
  .rl-seeMore{flex:0 0 auto;width:auto;margin-inline:auto}
  /* "See more" does not fit beside the units here and would wrap onto a line of its own, so
     the countdown's link is a round arrow. It is red like LIVE, with a ring that pulses and an
     arrow that nudges forward, so it reads as the thing to tap next to the navy units. Its
     words stay for screen readers. The arrow is the SVG, not the → glyph: Plus Jakarta Sans
     has no →, so each phone drew it in its own fallback font, low in the circle on Android.
     The red "We are live now" bar has room, so it keeps the words. */
  .rl-unitsRow{column-gap:6px}
  .rl-unitsRow .rl-seeMore{
    width:30px;
    padding:0;
    border-radius:50%;
    background:#d7262d;
    color:#ffffff;
    box-shadow:0 4px 10px -3px rgba(14,33,56,.55);
    animation:rl-more-pulse 1.6s ease-out infinite;
  }
  .rl-unitsRow .rl-seeMore:hover{background:#b81f25;color:#ffffff}
  .rl-unitsRow .rl-seeMoreGlyph{display:none}
  .rl-unitsRow .rl-seeMoreIcon{display:block;animation:rl-more-nudge 1.6s ease-in-out infinite}
  .rl-unitsRow .rl-seeMoreText{
    position:absolute;
    width:1px;
    height:1px;
    margin:-1px;
    overflow:hidden;
    clip:rect(0 0 0 0);
    clip-path:inset(50%);
    white-space:nowrap;
  }
}
/* The shadow is repeated in each frame: an animated box-shadow replaces the static one. */
@keyframes rl-more-pulse{
  0%{box-shadow:0 4px 10px -3px rgba(14,33,56,.55),0 0 0 0 rgba(215,38,45,.6)}
  70%{box-shadow:0 4px 10px -3px rgba(14,33,56,.55),0 0 0 8px rgba(215,38,45,0)}
  100%{box-shadow:0 4px 10px -3px rgba(14,33,56,.55),0 0 0 0 rgba(215,38,45,0)}
}
/* One short nudge per pulse, then the arrow rests in the centre. */
@keyframes rl-more-nudge{
  0%,40%,100%{transform:none}
  20%{transform:translateX(3px)}
}
@media (prefers-reduced-motion:reduce){
  .rushd-live-dot,
  .rl-unitsRow .rl-seeMore,
  .rl-unitsRow .rl-seeMoreIcon{animation:none}
}
