/* INU website typography and navigation. */
@font-face {
  font-family: "INU Display";
  src: url("/assets/inu-rebuild/fonts/dm-sans.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 1000;
}
@font-face {
  font-family: "INU Text";
  src: url("/assets/inu-rebuild/fonts/inter.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}
html[data-wg-style] {
  --wg-display: "INU Display", "DM Sans", sans-serif;
  --wg-text: "INU Text", Inter, sans-serif;
  --wg-hero: clamp(3.2rem, 7.7vw, 7.25rem);
  --wg-section: clamp(2.25rem, 5.15vw, 5rem);
  --wg-subheading: clamp(1.4rem, 2.5vw, 2.25rem);
  --wg-navy: #1a2838;
  --wg-paper: #f8f4eb;
}
html[data-wg-style] :is(#w-title, #opening-title) {
  font: 600 var(--wg-hero)/.99 var(--wg-display) !important;
  letter-spacing: -.053em !important;
  overflow-wrap: break-word;
  text-wrap: balance;
}
/* Match the specificity of the legacy locale and chapter rules. */
html[data-wg-style] body #main-content :is(section, #story) h2,
html[data-wg-style] body main h2 {
  font: 600 var(--wg-section)/1.03 var(--wg-display) !important;
  letter-spacing: -.042em !important;
  hyphens: auto;
  overflow-wrap: break-word;
  text-wrap: balance;
}
html[data-wg-style] main h3 {
  font: 600 var(--wg-subheading)/1.14 var(--wg-display) !important;
  letter-spacing: -.024em !important;
  overflow-wrap: break-word;
}
html[data-wg-style] :is(main, .r5-header, .r5-announcement, #inu-consent) :is(p, label, button, input, select, summary) {
  font-family: var(--wg-text);
}
html[data-wg-style] main :is(p,li) { text-align: start; }
html[data-wg-style] #opening :is(p,label) { text-align: inherit; }
html[data-wg-style] :is(footer#site-footer.inu-footer-compact, footer.wg-footer) {
  padding: 0 clamp(1.25rem, 5vw, 5rem) !important;
  background: var(--wg-navy) !important;
  color: var(--wg-paper) !important;
  font: 400 1rem/1.5 var(--wg-text) !important;
}
html[data-wg-style] :is(footer#site-footer .inu-footer-inner, footer.wg-footer .wg-footer-inner) {
  display: grid !important;
  width: 100% !important;
  max-width: 80rem !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.5rem 2.5rem !important;
  padding: clamp(2rem, 5vw, 4rem) 0 !important;
  margin: 0 auto !important;
  border: 0 !important;
  align-items: start !important;
}
html[data-wg-style] :is(.inu-footer-brand, .wg-footer-brand) { grid-column: span 2; }
html[data-wg-style] :is(.inu-footer-brand, .wg-footer-brand) img {
  display: block;
  width: 9.5rem !important;
  height: auto !important;
  max-width: 100%;
  opacity: 1 !important;
}
html[data-wg-style] :is(footer#site-footer.inu-footer-compact, footer.wg-footer) :is(a, button, p, nav > span) {
  color: inherit !important;
  font: inherit !important;
  letter-spacing: normal !important;
  opacity: 1 !important;
  text-transform: none !important;
}
html[data-wg-style] :is(footer#site-footer.inu-footer-compact, footer.wg-footer) nav {
  display: flex !important;
  flex-flow: column nowrap !important;
  align-items: flex-start !important;
  gap: 0 !important;
  min-width: 0;
}
html[data-wg-style] :is(footer#site-footer.inu-footer-compact, footer.wg-footer) nav > span:first-child {
  font-weight: 650 !important;
  margin-bottom: .25rem;
}
html[data-wg-style] :is(footer#site-footer.inu-footer-compact, footer.wg-footer) :is(a, button) {
  display: inline-flex !important;
  align-items: center;
  min-height: 2.75rem;
  overflow-wrap: anywhere;
}
html[data-wg-style] footer#site-footer nav.inu-social-links { flex-flow: row wrap !important; gap: .25rem !important; }
html[data-wg-style] footer#site-footer nav.inu-social-links > span:first-child { flex-basis: 100%; }
html[data-wg-style] :is(footer#site-footer.inu-footer-compact, footer.wg-footer) [data-cookie-settings] {
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer;
}
html[data-wg-style] :is(.inu-footer-compact, .wg-footer) :is(a, button):focus-visible {
  outline: 2px solid var(--wg-paper);
  outline-offset: 3px;
}
html[data-wg-style] #inu-consent :is(a, button):focus-visible,
html[data-wg-style] #site-footer [data-cookie-settings]:focus-visible {
  outline: 3px solid currentColor !important;
  outline-offset: 4px !important;
}
@media (max-width: 700px) {
  html[data-wg-style] {
    --wg-hero: clamp(2.6rem, 10.6vw, 4.3rem);
    --wg-section: clamp(2rem, 8.35vw, 3.65rem);
    --wg-subheading: clamp(1.25rem, 5.4vw, 1.8rem);
  }
  html[data-wg-style] :is(footer#site-footer .inu-footer-inner, footer.wg-footer .wg-footer-inner) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.25rem 1rem !important;
  }
  html[data-wg-style] .r5-announcement {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap;
    gap: .125rem .5rem !important;
    padding: .25rem .5rem !important;
    min-height: 3.25rem;
  }
  html[data-wg-style] .r5-announcement .r05-announcement-phone {
    font: 500 clamp(.75rem, 3.4vw, .875rem)/1.3 var(--wg-text) !important;
  }
  html[data-wg-style] .r5-announcement a:has(.r05-announcement-phone-link) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center;
    min-height: 44px !important;
    min-width: 44px !important;
    height: auto !important;
    padding: .125rem .5rem !important;
    color: var(--wg-navy) !important;
    background: transparent !important;
    white-space: nowrap;
  }
  html[data-wg-style] .r5-announcement .r05-announcement-phone-link {
    display: inline-flex !important;
    align-items: center;
    min-height: 2rem;
    padding: 0 .75rem;
    border-radius: 99rem;
    background: #d89345;
    color: var(--wg-navy);
    font: 650 .875rem/1.15 var(--wg-text) !important;
  }
}
