/* The Sounding Wild website's header (swift logo, the website sound, Let's talk, menu) and footer, as on soundingwild.com
   (its site.css). Shared by the calendar and every spectacle, month and country page. Markup: index.html, between the
   SW:head / SW:foot comments (tools/build.py copies it into the small pages). Behaviour: js/sw-site.js. */
.sw-wrap { max-width: 1180px; margin: 0 auto; padding-inline: 32px; }
.sw-btn { border-radius: 999px; display: inline-block; font: 600 17px "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; text-decoration: none; padding: 12px 28px; background: #EE5212; color: #FFF1E8; white-space: nowrap; border: 2px solid transparent; cursor: pointer; }
.sw-btn:hover { background: #581806; color: #FFF1E8; }
.sw-btn.ghost { background: transparent; border-color: currentColor; color: inherit; }
.sw-site { position: sticky; top: 0; z-index: 50; background: #581806; color: #FFF1E8; height: 76px; }
.sw-site .sw-wrap { height: 100%; display: flex; align-items: center; gap: 24px; max-width: 1320px; }
.sw-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #FFF1E8; flex: none; }
.sw-logo img { width: 46px; height: auto; display: block; }
.sw-logo span { display: grid; line-height: 1.12; font-size: 19px; letter-spacing: .02em; }
.sw-logo small { font-size: 15px; letter-spacing: 0; opacity: .9; }
.sw-talk { flex: none; background: #FFF1E8; color: #581806; padding: 10px 22px; font-size: 16px; }
.sw-talk:hover { background: #EE5212; color: #FFF1E8; }
.sw-menu-btn { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; background: #FFF1E8; cursor: pointer; display: grid; place-content: center; gap: 5px; }
.sw-menu-btn span { display: block; width: 22px; height: 2px; background: #581806; border-radius: 2px; }
.sw-menu-btn:hover { background: #FFD9C4; }
.sw-menu { position: fixed; inset: 0; z-index: 90; background: rgba(9, 70, 226, .45); }
.sw-panel { position: absolute; top: 18px; right: 18px; width: min(560px, calc(100% - 36px)); max-height: calc(100% - 36px); overflow: auto; background: #581806; color: #FFF1E8; padding: 34px 36px 36px; box-shadow: 0 24px 60px rgba(31, 24, 25, .35); }
.sw-panel ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 2px; }
.sw-panel li a { display: block; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.35; text-decoration: none; color: #FFF1E8; }
.sw-panel li a:hover { color: #EE5212; }
.sw-panel .grp { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #FFD9C4; opacity: .85; margin-top: 16px; }
.sw-close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #EE5212; color: #FFF1E8; font-size: 28px; line-height: 1; cursor: pointer; }
.sw-panel .sw-btn { background: #FFF1E8; color: #581806; }
.sw-foot { background: #581806; color: #FFF1E8; padding-block: 64px 40px; font-size: 16px; margin-top: 56px; }
.sw-foot .sw-wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.sw-foot p { margin: 0; }
.sw-foot .word { font-size: 30px; letter-spacing: .04em; line-height: 1; margin-bottom: 12px; }
.sw-foot .brand p:not(.word) { opacity: .9; max-width: 30ch; }
.sw-foot .tag { margin-top: 10px; color: #FFD9C4; }
.sw-foot h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #FFD9C4; font-weight: 400; }
.sw-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.sw-foot a { text-decoration: none; color: #FFF1E8; }
.sw-foot a:hover { color: #EE5212; }
.sw-foot .mail { margin: 16px 0 12px; }
.sw-foot .sw-btn.ghost { border-color: #FFF1E8; color: #FFF1E8; }
.sw-foot .credits { grid-column: 1 / -1; font-size: 13px; opacity: .75; max-width: 90ch; }
.sw-foot .credits a { text-decoration: underline; }
.sw-foot .fine { grid-column: 1 / -1; border-top: 1px solid rgba(255, 241, 232, .2); padding-top: 18px; font-size: 14px; opacity: .85; }
@media (max-width: 1040px) { .sw-foot .sw-wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .sw-site { height: 64px; }
  .sw-wrap { padding-inline: 20px; }
  .sw-site .sw-wrap { gap: 10px; }
  .sw-logo img { width: 36px; }
  .sw-logo span { font-size: 16px; }
  .sw-logo small { font-size: 13px; }
  .sw-talk { display: none; }
  .sw-menu-btn { width: 44px; height: 44px; }
  .sw-panel { padding: 28px 24px; }
  .sw-foot { padding-block: 44px 28px; }
  .sw-foot .sw-wrap { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .sw-foot .brand, .sw-foot .sw-wrap > div:last-of-type, .sw-foot .fine, .sw-foot .credits { grid-column: 1 / -1; }
}

.hsound { display: flex; align-items: center; gap: 10px; margin-left: auto; margin-right: auto; color: #FFF1E8; }
.hsound .play { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: #FFF1E8; cursor: pointer; padding: 0; border-radius: 50%; }
.hsound .play:hover { background: rgba(255, 241, 232, .14); }
.hsound svg { width: 16px; height: 18px; fill: currentColor; }
.hsound .i-pause { display: none; } .hsound .play.on .i-play { display: none; } .hsound .play.on .i-pause { display: inline; }
.hsound .lbl { display: grid; line-height: 1.15; font-size: 13px; }
.hsound .lbl b { font-weight: 600; font-size: 14px; max-width: 30ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hsound .t { opacity: .8; font-variant-numeric: tabular-nums; }
@media (min-width: 1041px) {
  .sw-site .sw-wrap { position: relative; }
  .hsound { position: absolute; left: 50%; transform: translateX(-50%); width: 340px; margin: 0; }
  .hsound .lbl { min-width: 0; }
  .hsound .lbl b { max-width: none; }
  .hsound + .sw-talk { margin-left: auto; }
}
@media (max-width: 1040px) {
  .hsound .lbl { display: none; }
  .hsound:has(.play.on) .lbl { display: grid; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #581806; color: #FFF1E8; padding: 6px 14px 8px; border-radius: 0 0 12px 12px; text-align: center; width: max-content; max-width: calc(100vw - 32px); }
  .hsound:has(.play.on) .lbl b { max-width: none; font-size: 13px; white-space: normal; }
  .hsound:has(.play.on) .t { font-size: 12px; }
}

/* The calendar's page bar on the small pages, as the Across Continents page bar on soundingwild.com */
.sw-pbar { position: sticky; top: 76px; z-index: 40; background: #FFF1E8; border-bottom: 1px solid rgba(88, 24, 6, .22); }
.sw-pbar .sw-wrap { min-height: 52px; display: flex; align-items: center; gap: 4px; max-width: 1320px; overflow-x: auto; scrollbar-width: none; }
.sw-pbar .sw-wrap::-webkit-scrollbar { display: none; }
.sw-pbar a { flex: none; text-decoration: none; font-size: 15px; padding: 6px 14px; border-radius: 999px; color: #581806; white-space: nowrap; }
.sw-pbar a:hover { background: #FFD9C4; }
.sw-pbar a[aria-current] { background: #581806; color: #FFF1E8; }
.sw-pbar .name { font-weight: 600; font-size: 16px; padding-left: 0; margin-right: 14px; }
.sw-pbar .name:hover { background: none; color: #EE5212; }
@media (max-width: 760px) { .sw-pbar { top: 64px; } .sw-pbar .name { display: none; } .sw-pbar a { min-height: 40px; display: inline-flex; align-items: center; } }
