:root {
  color-scheme: light;
  --preview-ink: #2c3d4a;
  --preview-muted: #68717d;
  --preview-blue: #007ea0;
  --preview-cyan: #74d0f6;
  --preview-paper: #f8fcff;
  --preview-line: #c4c8cc;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--preview-paper);
  color: var(--preview-ink);
  font-family: "Titillium Web", ui-sans-serif, system-ui, sans-serif;
}

.site-header {
  background: #fff;
  border-top: 4px solid var(--preview-blue);
  box-shadow: 0 2px 12px rgb(23 50 58 / 7%);
}

.navbar {
  min-height: 76px;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  margin-right: 0.5rem;
  color: var(--preview-ink);
  white-space: normal;
}

.provider-lockup {
  display: block;
  flex: 0 0 auto;
  width: 126px;
  height: 72px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-title {
  max-width: 240px;
  white-space: normal;
  overflow-wrap: break-word;
  color: var(--preview-blue);
  font-family: "Titillium Web", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.brand-detail {
  color: var(--preview-ink);
  font-size: 0.7rem;
}

.navbar-nav .nav-link {
  padding-inline: 0.7rem;
  color: var(--preview-ink);
  font-weight: 600;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--preview-blue);
}

.navbar-nav .nav-link.active {
  box-shadow: inset 0 -2px var(--preview-cyan);
}

.external-link {
  color: var(--preview-blue) !important;
}

.preview-bar {
  padding: 0.45rem 0;
  background: #e6f6fa;
  color: var(--preview-muted);
  font-size: 0.88rem;
}

.preview-bar a,
.site-footer a {
  color: var(--preview-blue);
  font-weight: 600;
}

.content-shell {
  flex: 1;
  width: 100%;
  max-width: 1140px;
  margin: 2rem auto 3rem;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--preview-line);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgb(23 50 58 / 5%);
}

.preview-content {
  color: var(--preview-ink);
  line-height: 1.65;
}

.preview-content h1,
.preview-content h2,
.preview-content h3,
.preview-content h4 {
  color: var(--preview-ink);
  font-family: "Titillium Web", ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.2;
}

.preview-content h1 {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--preview-cyan);
  font-size: 2rem;
}

.preview-content > .BodyHeading {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--preview-cyan);
  color: var(--preview-ink);
  font-family: "Titillium Web", ui-sans-serif, system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
}

.preview-content > .BodyHeading + br {
  display: none;
}

.welcome-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--preview-cyan);
}

.welcome-heading-row h1 {
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  border: 0;
}

.welcome-anniversary {
  flex: 0 0 auto;
  width: 96px;
  height: auto;
  object-fit: contain;
}

.preview-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.55rem;
}

.preview-content h3,
.preview-content h4 {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.preview-content .MinorHeading {
  color: var(--preview-blue);
  font-size: 0.8em;
  font-weight: 600;
}

.preview-content a {
  color: var(--preview-blue);
  text-underline-offset: 0.16em;
}

.preview-content img,
.preview-content video,
.preview-content iframe {
  max-width: 100%;
}

.preview-content iframe {
  width: min(100%, 560px);
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

.preview-content table {
  max-width: 100%;
}

.preview-content .news-figure {
  max-width: 40%;
}

.preview-content .news-image {
  width: 100%;
  height: auto;
}

.loading-message {
  margin: 0;
  color: var(--preview-muted);
}

.site-footer {
  padding: 0.8rem 0;
  border-top: 1px solid var(--preview-line);
  background: #fff;
  color: var(--preview-muted);
  font-size: 0.82rem;
}

.footer-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.footer-copy {
  flex: 1 1 700px;
  min-width: 0;
}

.footer-copy p {
  margin: 0;
}

.copyright-line {
  font-size: 0.8rem;
  line-height: 1.4;
}

.footer-privacy {
  margin-top: 0.2rem;
  font-size: 0.8rem;
}

.footer-privacy summary {
  width: fit-content;
  color: var(--preview-blue);
  cursor: pointer;
  font-weight: 600;
}

.footer-privacy p {
  max-width: 820px;
  margin-top: 0.4rem;
  line-height: 1.45;
}

.facebook-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--preview-blue);
  font-weight: 600;
}

.facebook-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

@media (max-width: 1199.98px) {
  .navbar-nav .nav-link.active {
    box-shadow: none;
  }
}

@media (max-width: 991.98px) {
  .content-shell {
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .site-footer {
    padding: 0.65rem 0;
  }

  .footer-layout {
    align-items: center;
  }

  .footer-copy {
    flex-basis: 100%;
  }

  .copyright-line {
    font-size: 0.76rem;
  }

  .facebook-link {
    font-size: 0.8rem;
  }

  .navbar-brand {
    gap: 0.35rem;
  }

  .provider-lockup {
    width: 92px;
    height: 54px;
  }

  .brand-title {
    max-width: 138px;
    font-size: 0.8rem;
  }

  .brand-detail {
    font-size: 0.58rem;
  }

  .welcome-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .welcome-anniversary {
    width: 68px;
  }

  .preview-bar .container-xl {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 0.1rem !important;
  }

  .content-shell {
    padding: 1.1rem;
    border-radius: 0;
  }

  .preview-content h1 {
    font-size: 1.7rem;
  }

  .preview-content table {
    display: block;
    overflow-x: auto;
  }

  .preview-content .news-figure {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 0.75rem;
  }
}