/* The site header. Every page links this file and carries the same markup
   (class names are prefixed: pages style bare nav, header, .brand, .link and
   .cta for their own purposes, and none of that may reach in here). */
.dth { position: sticky; top: 0; z-index: 50; color: #0B2545; text-align: left;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; letter-spacing: normal; }
.dth *, .dth *::before, .dth *::after { box-sizing: border-box; margin: 0; }
.dth a { text-decoration: none; }

.dth-mission { display: block; background: #E63946; color: #FFF; text-align: center;
  font-size: 13.5px; font-weight: 800; letter-spacing: .2px; padding: 9px 14px; line-height: 1.4; }
.dth-mission b { color: #FFD60A; letter-spacing: 1px; font-weight: 800; }
.dth-mission:hover { filter: brightness(1.06); }

.dth-bar { position: relative; background: #FAF6EC; border-bottom: 1px solid #E3DAC4; }
.dth-wrap { display: flex; align-items: center; gap: 20px; height: 62px; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.dth-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 18px; color: #0B2545; }
.dth-brand img { display: block; width: 34px; height: 34px; border-radius: 8px; }
.dth-brand b { color: #E63946; font-weight: 900; }
/* Desktop: the links wrapper is invisible to the flex layout. */
.dth-links { display: contents; }
.dth-link { color: #5B6B7E; font-size: 14px; font-weight: 700; white-space: nowrap; }
.dth-link:hover, .dth-link[aria-current] { color: #0B2545; }
.dth-link[aria-current] { text-decoration: underline 3px #FFD60A; text-underline-offset: 7px; }
.dth-discord { display: inline-flex; align-items: center; gap: 7px; }
.dth-discord svg { width: 19px; height: 15px; fill: #5865F2; flex: none; }
.dth-cta { display: inline-block; margin-left: auto; white-space: nowrap; background: #FFD60A; color: #201A00;
  font-weight: 900; font-size: 15px; letter-spacing: .3px; padding: 13px 24px; border-radius: 12px; line-height: 1.6; }
.dth-cta:active { transform: scale(.98); }
.dth-menu { display: none; }

/* Below this the links and the button no longer fit on one line. */
@media (max-width: 1020px) {
  .dth-menu { display: block; margin-left: auto; background: none; border: none; font-size: 25px; color: #0B2545;
    cursor: pointer; padding: 2px 4px; line-height: 1; }
  .dth-links { display: none; }
  .dth.open .dth-links { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%;
    background: #FAF6EC; padding: 8px 22px 18px; border-bottom: 1px solid #E3DAC4; box-shadow: 0 22px 34px #0B254526; }
  .dth.open .dth-link { padding: 13px 0; font-size: 16px; border-bottom: 1px dashed #E3DAC4; }
  .dth.open .dth-link[aria-current] { text-underline-offset: 5px; }
  .dth.open .dth-cta { margin: 16px 0 0; text-align: center; }
}
@media (max-width: 760px) {
  .dth-wrap { height: 56px; }
  .dth-mission { font-size: 12px; padding: 8px 12px; }
}
