:root {
  --tabs-blue: #0066cc;
  --tabs-deep-blue: #07538f;
  --tabs-slate: #9baab9;
  --tabs-ink: #1f3d3d;
  --tabs-grey: #999999;
  --tabs-light: #f0f0f0;
  --page-grey: #e8e8e8;
  --line: #dbe2e8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--tabs-ink);
  font-family: Verdana, Arial, Helvetica, sans-serif;
}

img {
  max-width: 100%;
}

a {
  color: var(--tabs-grey);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--tabs-blue);
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--tabs-blue);
  outline-offset: 3px;
}

.site-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.top-rule {
  height: 4px;
  flex: 0 0 auto;
  background: var(--tabs-blue);
}

.site-header {
  width: min(100%, 780px);
  margin: 0 auto;
  position: relative;
}

.banner {
  width: 100%;
  height: 196px;
  background-image: var(--banner-image);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 780px 250px;
}

.desktop-nav {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 16px;
}

.desktop-nav-list,
.mobile-nav-list,
.service-links,
.service-products {
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.nav-link {
  width: max-content;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  color: var(--tabs-grey);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  transition: color 150ms ease;
}

.nav-link img {
  width: 33px;
  height: 33px;
  display: block;
  border: 0;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.current {
  color: var(--tabs-blue);
}

.mobile-nav {
  display: none;
}

.site-main {
  width: min(calc(100% - 32px), 780px);
  margin: 0 auto;
  padding: 0 12px 64px;
  flex: 1 0 auto;
}

.page-title,
.content-heading {
  margin: 0;
  color: #2f3e3e;
  font-weight: 700;
}

.page-title {
  margin-bottom: 11px;
  font-size: 13px;
  line-height: 1.5;
}

.content-heading {
  margin: 15px 0 8px;
  font-size: 13px;
  line-height: 1.4;
}

.legacy-body,
.content-cell,
.intro-copy {
  font-size: 11px;
  line-height: 1.82;
}

.legacy-body p,
.content-cell p,
.intro-copy {
  margin: 0 0 14px;
}

.content-row {
  display: grid;
  gap: 22px;
  margin-bottom: 8px;
}

.content-row.cols-2 {
  grid-template-columns: 46% 54%;
}

.content-row.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-columns {
  display: grid;
  grid-template-columns: 46% 54%;
  gap: 22px;
}

.home-columns h2 {
  margin: 0 0 10px;
  font-size: 13px;
}

.service-layout {
  display: grid;
  grid-template-columns: 181px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.service-menu-desktop {
  margin: 0;
}

.service-menu-mobile {
  display: none;
}

.service-menu-desktop,
.service-menu-content {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.35;
}

.service-links > li > a,
.service-links > li > span {
  min-height: 36px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  color: var(--tabs-grey);
  font-weight: 700;
}

.service-links > li.active > a,
.service-links > li.active > span {
  background: var(--tabs-light);
  color: var(--tabs-blue);
}

.service-links a:hover,
.service-links a:focus-visible {
  color: var(--tabs-blue);
}

.service-products {
  padding: 4px 8px 8px 19px;
  background: var(--tabs-light);
}

.service-products li {
  margin: 0;
}

.service-products a,
.service-products span {
  padding: 3px 0;
  display: block;
  color: var(--tabs-grey);
  font-size: 10px;
  font-weight: 700;
}

.service-products li.active a,
.service-products li.active span {
  color: var(--tabs-blue);
}

.content-table {
  width: 100%;
  display: grid;
  gap: 8px;
}

.content-table-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.content-table-cell {
  min-width: 0;
}

.legacy-body ul,
.legacy-body ol,
.content-cell ul,
.content-cell ol {
  margin: 8px 0 16px;
  padding-left: 22px;
}

.legacy-body li,
.content-cell li {
  margin-bottom: 5px;
}

.legacy-body strong,
.content-cell strong {
  color: #2f3e3e;
}

.notice-card {
  max-width: 520px;
  margin: 8px auto 0;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fafbfc;
  text-align: center;
}

.notice-card p {
  margin: 0 0 14px;
}

.notice-card .contact-link {
  color: var(--tabs-blue);
  font-weight: 700;
}

.button-link {
  min-height: 42px;
  margin-top: 8px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tabs-blue);
  color: var(--tabs-blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.button-link:hover,
.button-link:focus-visible {
  background: var(--tabs-blue);
  color: #fff;
}

.site-footer {
  flex: 0 0 auto;
  background: var(--page-grey);
  color: #666;
  text-align: center;
  font-size: 10px;
}

.site-footer p {
  margin: 0;
  padding: 15px 16px;
}

.footer-rule {
  height: 32px;
  background: var(--tabs-blue);
}

@media (max-width: 767px) {
  .site-header {
    width: 100%;
  }

  .banner {
    height: auto;
    aspect-ratio: 780 / 250;
    background-size: 100% auto;
    background-position: center top;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    margin-top: -1px;
    display: block;
    border-top: 1px solid #d3dbe2;
    border-bottom: 1px solid #d3dbe2;
    background: #f8fafb;
  }

  .mobile-nav > summary {
    min-height: 50px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: var(--tabs-deep-blue);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    list-style: none;
  }

  .mobile-nav > summary::-webkit-details-marker,
  .service-menu-mobile > summary::-webkit-details-marker {
    display: none;
  }

  .menu-icon {
    width: 24px;
    display: grid;
    gap: 4px;
  }

  .menu-icon i {
    height: 2px;
    border-radius: 10px;
    background: var(--tabs-blue);
    transition: transform 150ms ease, opacity 150ms ease;
  }

  .mobile-nav[open] .menu-icon i:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-nav[open] .menu-icon i:nth-child(2) {
    opacity: 0;
  }

  .mobile-nav[open] .menu-icon i:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-nav nav {
    border-top: 1px solid var(--line);
  }

  .mobile-nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: #e3e8ec;
  }

  .mobile-nav-list li {
    background: #fff;
  }

  .mobile-nav-list .nav-link {
    width: 100%;
    min-height: 74px;
    padding: 12px 16px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    font-size: 14px;
  }

  .site-main {
    width: 100%;
    margin: 0;
    padding: 30px 22px 48px;
  }

  .page-title {
    margin-bottom: 14px;
    font-size: 21px;
    line-height: 1.35;
  }

  .content-heading,
  .home-columns h2 {
    margin-bottom: 8px;
    font-size: 17px;
  }

  .legacy-body,
  .content-cell,
  .intro-copy {
    font-size: 15px;
    line-height: 1.7;
  }

  .legacy-body p,
  .content-cell p,
  .intro-copy {
    margin-bottom: 18px;
  }

  .content-row,
  .content-row.cols-2,
  .content-row.cols-3,
  .home-columns,
  .service-layout {
    grid-template-columns: 1fr;
  }

  .content-row,
  .home-columns {
    gap: 14px;
  }

  .home-columns section,
  .content-row > .content-cell + .content-cell {
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }

  .service-menu-desktop {
    display: none;
  }

  .service-menu-mobile {
    margin-bottom: 24px;
    display: block;
    border: 1px solid var(--line);
  }

  .service-menu-mobile > summary {
    min-height: 48px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: var(--tabs-deep-blue);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    list-style: none;
  }

  .service-menu-mobile > summary::after {
    content: "+";
    color: var(--tabs-blue);
    font-size: 20px;
  }

  .service-menu-mobile[open] > summary::after {
    content: "−";
  }

  .service-menu-content {
    border-top: 1px solid var(--line);
  }

  .service-links > li > a,
  .service-links > li > span {
    min-height: 44px;
    padding: 12px 14px;
    font-size: 13px;
  }

  .service-products {
    padding: 7px 14px 12px 24px;
  }

  .service-products a,
  .service-products span {
    min-height: 34px;
    padding: 8px 0;
    font-size: 12px;
  }

  .content-table-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .notice-card {
    padding: 24px 18px;
  }

  .site-footer {
    font-size: 11px;
  }

  .footer-rule {
    height: 20px;
  }
}

@media (max-width: 380px) {
  .mobile-nav-list {
    grid-template-columns: 1fr;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
