@charset "utf-8";
/* Site-wide header and footer (2026 redesign).
   Everything here is scoped to .srs-header / .srs-footer so the page
   content keeps using main.css unchanged. */

:root {
  --srs-navy: #0c2741;
  --srs-navy-deep: #001b36;
  --srs-blue: #005bff;
  --srs-accent: #008cff;
  --srs-ink: #0b1425;
  --srs-line: #dbe3eb;
  --srs-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Keep the footer at the bottom of the window on short pages */
#container-page {
  --srs-page-bg: #ddd;
  /* side margin shared by header, footer and page content (#container-content is 2em at 11px) */
  --srs-gutter: 22px;
  display: flex;
  flex-direction: column;
}
#container-content {
  flex: 1 0 auto;
  padding-top: 1.5em;
}
/* The sidebar used to hang off the old navy menu strip; it now stands alone */
#content-sec {
  border-radius: 16px;
}

.srs-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Header ---------- */

.srs-header {
  background: #fff;
  border-bottom: 1px solid var(--srs-line);
  font: 15px/1.4 var(--srs-font);
  color: var(--srs-ink);
  text-align: left;
  position: relative;
  z-index: 10;
}
.srs-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
  padding: 0 var(--srs-gutter);
  box-sizing: border-box;
}
.srs-header__logo {
  display: block;
  flex: none;
}
.srs-header__logo img {
  display: block;
  width: auto;
  height: 48px;
}
.srs-header__actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.srs-header__divider {
  width: 1px;
  height: 32px;
  background: var(--srs-line);
}
.srs-header a,
.srs-header a:hover {
  color: var(--srs-ink);
  font-weight: normal;
}
.srs-header__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
/* underlines fade in rather than snapping on (main.css underlines every a:hover) */
.srs-header__back span,
.srs-footer__links a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color .2s ease;
}
.srs-header__back,
.srs-header__back:hover {
  text-decoration: none;
}
.srs-header__back:hover span,
.srs-footer__links a:hover {
  text-decoration-color: currentColor;
}

/* Language dropdown */
.srs-lang {
  position: relative;
}
.srs-lang summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}
.srs-lang summary::-webkit-details-marker {
  display: none;
}
.srs-lang summary:focus-visible,
.srs-header__back:focus-visible,
.srs-lang__list a:focus-visible {
  outline: 2px solid var(--srs-blue);
  outline-offset: 2px;
}
.srs-lang .srs-icon--chevron {
  width: 16px;
  height: 16px;
  transition: transform .15s;
}
.srs-lang[open] .srs-icon--chevron {
  transform: rotate(180deg);
}
.srs-lang__list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  max-height: 60vh;
  overflow-y: auto;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--srs-line);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(12, 39, 65, .15);
}
.srs-lang__list a {
  display: block;
  padding: 8px 16px;
  transition: background-color .15s ease;
}
.srs-lang__list a:hover {
  background: #f0f4f8;
  text-decoration: none;
}
.srs-header .srs-lang__list a.is-current {
  color: var(--srs-blue);
  font-weight: bold;
}

/* ---------- Footer ---------- */

.srs-footer {
  font: 13px/1.5 var(--srs-font);
  color: #fff;
  text-align: left;
}
.srs-footer__band {
  display: flex;
  align-items: flex-end;
  /* 180px at 1440px wide; grows with the window so wide screens keep the peaks */
  height: clamp(160px, 12.5vw, 300px);
  padding: 0 var(--srs-gutter) 22px;
  box-sizing: border-box;
  /* fade the image's pale sky into the page background */
  background:
    linear-gradient(to bottom, var(--srs-page-bg) 0, transparent 45%),
    url(img/footer-mountains.jpg) center bottom / cover no-repeat;
  background-color: var(--srs-navy);
}
.srs-footer__tagline {
  position: relative;
  margin: 0;
  padding: 26px 64px 12px 10px;
  background: rgba(12, 39, 65, .78);
  font-size: 13px;
  font-weight: bold;
  line-height: 25px;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.srs-footer__tagline::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 10px;
  width: 62px;
  height: 3px;
  background: var(--srs-accent);
}
.srs-footer__bar {
  background: var(--srs-navy-deep);
}
.srs-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 40px;
  min-height: 80px;
  padding: 16px var(--srs-gutter);
  box-sizing: border-box;
}
.srs-footer__brand {
  display: flex;
  align-items: center;
}
.srs-footer__mark {
  font: 34px/1 "Times New Roman", Times, Georgia, serif;
  padding-right: 22px;
  margin-right: 22px;
  border-right: 1px solid rgba(255, 255, 255, .45);
}
.srs-footer__name {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.srs-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  margin-left: auto;
}
.srs-footer a,
.srs-footer a:hover {
  color: #fff;
  font-weight: normal;
}
.srs-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.srs-footer__links .srs-icon {
  width: 16px;
  height: 16px;
  color: var(--srs-accent);
}
.srs-footer__copy {
  margin: 0;
  line-height: 1.5;
  color: rgba(255, 255, 255, .85);
}

/* ---------- Small screens ---------- */

@media (max-width: 800px) {
  .srs-header__inner {
    padding: 12px var(--srs-gutter);
    min-height: 64px;
  }
  .srs-header__logo img {
    height: 36px;
  }
  .srs-header__actions {
    gap: 16px;
  }
  .srs-header__divider,
  .srs-header__back span {
    display: none;
  }
  .srs-footer__band {
    height: 140px;
    padding: 0 var(--srs-gutter) 16px;
  }
  .srs-footer__tagline {
    padding-right: 24px;
    font-size: 11px;
    line-height: 21px;
  }
  .srs-footer__inner {
    padding: 20px var(--srs-gutter);
  }
  .srs-footer__links {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .srs-header__inner,
  .srs-header__actions {
    gap: 12px;
  }
  .srs-header__logo img {
    height: 30px;
  }
  .srs-footer__mark {
    padding-right: 14px;
    margin-right: 14px;
  }
  .srs-footer__name {
    letter-spacing: .18em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .srs-header *,
  .srs-footer *,
  .srs-home * {
    transition: none !important;
  }
  .srs-home .home-btn:hover img {
    transform: none !important;
  }
}
