/* Radio Chablais: stays in the site's existing fixed header. */
#header { gap: 1rem; }
#header > nav { margin-right: 0; }
#header > .riviera-radio { order: 3; flex: 0 0 auto; position: relative; margin-left: auto; }
#header #riviera-radio-toggle {
  --radio-progress: 0%;
  box-sizing: border-box;
  display: flex; align-items: center; gap: .65rem; position: relative;
  min-width: 175px; min-height: 48px; height: auto; margin: 0;
  padding: .4rem .85rem .4rem .5rem; overflow: hidden;
  border: 1px solid rgba(255,255,255,.6); border-radius: 999px;
  background: rgba(255,255,255,.12); color: #fff !important;
  box-shadow: none; font: inherit; line-height: 1.2;
  text-align: left; text-transform: none; letter-spacing: normal;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
#header #riviera-radio-toggle::after {
  content: ""; position: absolute; bottom: 0; left: 0;
  width: var(--radio-progress); height: 3px; background: #fff;
}
#header #riviera-radio-toggle:hover { background: rgba(255,255,255,.22); }
#header #riviera-radio-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.riviera-radio .radio-icon { width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #c00; display: grid; place-items: center; flex: none; }
.riviera-radio svg { width: 20px; height: 20px; fill: currentColor; }
.riviera-radio .radio-pause { display: none; }
.riviera-radio.is-playing .radio-play { display: none; }
.riviera-radio.is-playing .radio-pause { display: block; }
.riviera-radio .radio-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; white-space: nowrap; }
.riviera-radio .radio-title { font-size: 14px; font-weight: 600; }
.riviera-radio .radio-subtitle { display: block; font-size: .8125rem; font-style: italic; font-weight: 400; line-height: 1.25; white-space: normal; }
.riviera-radio .radio-time { font-size: 12px; font-variant-numeric: tabular-nums; opacity: .95; }
.riviera-radio audio { display: none; }
.radio-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media screen and (max-width: 1600px) { #header > .logo > span { display: none; } }
@media screen and (min-width: 981px) and (max-width: 1280px) {
  #header > nav > ul > li { margin-left: 1.25em; }
}
@media screen and (max-width: 980px) {
  #header > .navPanelToggle { order: 2; flex-shrink: 0; }
}
@media screen and (max-width: 736px) {
  #buttonbar { left: .825rem; right: auto; top: 77px; width: auto; margin: 0; }
  #buttonbar #play { padding-left: .7rem; padding-right: .7rem; }
  #header > .riviera-radio { position: absolute; right: max(.825em, env(safe-area-inset-right)); top: calc(100% + 8px); }
  #header #riviera-radio-toggle { min-width: 0; max-width: calc(100vw - 8.5rem); background: #b80000; border-color: rgba(255,255,255,.5); box-shadow: 0 3px 14px rgba(0,0,0,.2); }
  #header #riviera-radio-toggle:hover { background: #a60000; }
}
