/* Isolated styles for the public HTML sitemap. */
.page--html-sitemap {
  background: #f5f8fb;
}

.html-sitemap {
  padding: 0 0 96px;
  color: var(--text, #17293a);
}

.html-sitemap__container {
  padding-top: 18px;
}

.html-sitemap__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
  overflow: hidden;
  margin-top: 16px;
  padding: clamp(38px, 6vw, 72px);
  color: #fff;
  background:
    radial-gradient(circle at 92% 6%, rgba(67, 205, 216, .28), transparent 30%),
    linear-gradient(135deg, #102f50 0%, #0b2138 100%);
  border-radius: 30px;
  box-shadow: 0 24px 64px rgba(15, 47, 75, .17);
}

.html-sitemap__hero::after {
  position: absolute;
  right: -145px;
  bottom: -210px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 64px rgba(255, 255, 255, .025), 0 0 0 128px rgba(255, 255, 255, .018);
  content: '';
}

.html-sitemap__hero-content,
.html-sitemap__hero-note {
  position: relative;
  z-index: 1;
}

.html-sitemap__eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent, #087685);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.html-sitemap__hero .html-sitemap__eyebrow {
  color: #8fe7ef;
}

.html-sitemap__hero h1 {
  max-width: 830px;
  margin: 0;
  color: #fff;
  font-family: var(--font-heading, inherit);
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 850;
  line-height: .98;
  letter-spacing: -.045em;
}

.html-sitemap__lead {
  max-width: 780px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .73);
  font-size: 18px;
  line-height: 1.65;
}

.html-sitemap__anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.html-sitemap__anchors a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.html-sitemap__anchors a:hover,
.html-sitemap__anchors a:focus-visible {
  background: rgba(255, 255, 255, .15);
  border-color: rgba(143, 231, 239, .52);
  transform: translateY(-1px);
}

.html-sitemap__hero-note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  background: rgba(255, 255, 255, .075);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 22px;
  backdrop-filter: blur(8px);
}

.html-sitemap__hero-note strong {
  color: #fff;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 850;
  line-height: 1;
}

.html-sitemap__hero-note span {
  margin-top: 12px;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.5;
}

.html-sitemap__hero-note small {
  margin-top: 22px;
  color: rgba(255, 255, 255, .5);
  font-size: 12px;
}

.html-sitemap__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 0;
}

.html-sitemap__stats > div {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line, #dbe6ee);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(31, 74, 103, .06);
}

.html-sitemap__stats strong {
  color: var(--primary, #0b4a8b);
  font-size: 30px;
  font-weight: 850;
  line-height: 1;
}

.html-sitemap__stats span {
  margin-top: 9px;
  color: var(--text-soft, #5c7182);
  font-size: 13px;
  line-height: 1.4;
}

.html-sitemap__content {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.html-sitemap__section {
  scroll-margin-top: 110px;
  padding: clamp(28px, 4vw, 48px);
  background: #fff;
  border: 1px solid var(--line, #dbe6ee);
  border-radius: 26px;
  box-shadow: 0 14px 36px rgba(31, 74, 103, .065);
}

.html-sitemap__section-head {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 30px;
}

.html-sitemap__section-head--compact {
  margin-bottom: 22px;
}

.html-sitemap__section-head h2 {
  margin: 0;
  color: var(--text, #17293a);
  font-family: var(--font-heading, inherit);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.html-sitemap__section-head p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--text-soft, #5c7182);
  font-size: 16px;
  line-height: 1.65;
}

.html-sitemap__section-link,
.html-sitemap__archive-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  color: var(--primary, #0b4a8b);
  background: rgba(11, 74, 139, .06);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.html-sitemap__services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.html-sitemap__service-card {
  overflow: hidden;
  min-width: 0;
  background: #f8fafc;
  border: 1px solid #e0e9f0;
  border-radius: 18px;
}

.html-sitemap__service-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 18px 18px 15px;
  background: linear-gradient(135deg, rgba(11, 74, 139, .065), rgba(8, 118, 133, .035));
  border-bottom: 1px solid #e2eaf1;
}

.html-sitemap__service-head > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--accent, #087685);
  background: #fff;
  border: 1px solid rgba(8, 118, 133, .17);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 850;
}

.html-sitemap__service-head h3 {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.3;
}

.html-sitemap__service-head a {
  color: var(--text, #17293a);
  text-decoration: none;
}

.html-sitemap__service-card > ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 8px 18px 14px;
  list-style: none;
}

.html-sitemap__service-card > ul li {
  border-bottom: 1px solid rgba(188, 207, 220, .48);
}

.html-sitemap__service-card > ul li:last-child {
  border-bottom: 0;
}

.html-sitemap__service-card > ul a {
  display: block;
  padding: 9px 0;
  color: var(--text-soft, #536b7e);
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
}

.html-sitemap__service-card a:hover,
.html-sitemap__service-card a:focus-visible,
.html-sitemap__links a:hover,
.html-sitemap__links a:focus-visible,
.html-sitemap__tree a:hover,
.html-sitemap__tree a:focus-visible {
  color: var(--accent, #087685);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.html-sitemap__empty-note {
  margin: 0;
  padding: 16px 18px;
  color: var(--text-soft, #5c7182);
  font-size: 13px;
}

.html-sitemap__two-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.html-sitemap__tree,
.html-sitemap__links {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.html-sitemap__tree li,
.html-sitemap__links li {
  position: relative;
  border-bottom: 1px solid rgba(188, 207, 220, .5);
}

.html-sitemap__tree > li:last-child,
.html-sitemap__links > li:last-child {
  border-bottom: 0;
}

.html-sitemap__tree a,
.html-sitemap__links a {
  display: block;
  padding: 10px 0;
  color: var(--text, #20394d);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  text-decoration: none;
}

.html-sitemap__tree .html-sitemap__tree {
  margin: 0 0 10px 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(8, 118, 133, .18);
}

.html-sitemap__tree .html-sitemap__tree a {
  padding: 7px 0;
  color: var(--text-soft, #5c7182);
  font-size: 13px;
  font-weight: 550;
}

.html-sitemap__links--columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 26px;
}

.html-sitemap__details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.html-sitemap__details {
  min-width: 0;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #dfe8ef;
  border-radius: 18px;
}

.html-sitemap__details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 18px 20px;
  color: var(--text, #17293a);
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  list-style: none;
}

.html-sitemap__details summary::-webkit-details-marker {
  display: none;
}

.html-sitemap__details summary::after {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent, #087685);
  border-bottom: 2px solid var(--accent, #087685);
  content: '';
  transform: rotate(45deg);
  transition: transform .18s ease;
}

.html-sitemap__details[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.html-sitemap__details summary strong {
  margin-left: auto;
  color: var(--accent, #087685);
  font-size: 12px;
}

.html-sitemap__details-content {
  padding: 0 20px 20px;
  border-top: 1px solid #e1eaf0;
}

.html-sitemap__archive-link {
  margin: 16px 0 6px;
}

.html-sitemap__subgroups {
  display: grid;
  gap: 18px;
  margin-top: 14px;
}

.html-sitemap__subgroup h3,
.html-sitemap__people-groups h3 {
  margin: 0 0 6px;
  color: var(--primary, #0b4a8b);
  font-size: 15px;
  line-height: 1.35;
}

.html-sitemap__people-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.html-sitemap__people-groups h3 a {
  color: inherit;
  text-decoration: none;
}

.html-sitemap__editor-content {
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 1180px) {
  .html-sitemap__services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .html-sitemap__details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .html-sitemap__hero {
    grid-template-columns: 1fr;
  }

  .html-sitemap__hero-note {
    max-width: 320px;
  }

  .html-sitemap__stats,
  .html-sitemap__two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .html-sitemap__two-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .html-sitemap {
    padding-bottom: 58px;
  }

  .html-sitemap__container {
    padding-top: 8px;
  }

  .html-sitemap__hero {
    margin-right: -2px;
    margin-left: -2px;
    padding: 36px 22px 24px;
    border-radius: 22px;
  }

  .html-sitemap__hero h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .html-sitemap__lead {
    font-size: 16px;
  }

  .html-sitemap__anchors {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .html-sitemap__anchors a {
    justify-content: center;
    border-radius: 13px;
  }

  .html-sitemap__hero-note {
    max-width: none;
    padding: 22px;
  }

  .html-sitemap__stats,
  .html-sitemap__services-grid,
  .html-sitemap__links--columns,
  .html-sitemap__people-groups {
    grid-template-columns: 1fr;
  }

  .html-sitemap__stats {
    gap: 10px;
  }

  .html-sitemap__stats > div {
    min-height: 92px;
  }

  .html-sitemap__section {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .html-sitemap__section-head {
    display: grid;
    gap: 18px;
  }

  .html-sitemap__section-link {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .html-sitemap *,
  .html-sitemap *::before,
  .html-sitemap *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
