/* Areas We Cover
   The live page renders 50 of these links inside a Divi menu module: a 50-item
   horizontal nav that collapses to a hamburger below 980px, hiding every
   location link from phone users. Here they are a plain visible grid at all
   widths — the same fix already applied on the KSP rebuild. */

.areas { background: #fff; padding: 74px 0 100px; }
.areas__inner { width: 86%; max-width: 1325px; margin: 0 auto; }

.areas__group + .areas__group { margin-top: 56px; }

.areas__title {
  margin: 0 auto;
  font-family: "Lato", sans-serif;
  font-weight: 500;
  font-size: 23px;
  line-height: 1.3em;
  color: #060221;
  text-align: center;
}
.areas__rule { width: 52px; height: 1px; margin: 18px auto 34px; background: #ff0024; }

.areas__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.areas__grid a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid #e6e6ea;
  border-radius: 3px;
  background: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  line-height: 1.35;
  color: #060221;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease,
              border-color .18s ease, color .18s ease;
}

.areas__ico {
  flex: none;
  font-size: 13px;
  line-height: 1;
  color: #ff0024;
  transition: transform .18s ease;
}

.areas__grid a:hover,
.areas__grid a:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(6, 2, 33, .10);
  border-color: #d8d8de;
  color: #ff0024;
}
.areas__grid a:hover .areas__ico,
.areas__grid a:focus-visible .areas__ico { transform: translateX(3px); }

.areas__grid a:focus-visible { outline: 2px solid #ff0024; outline-offset: 2px; }

@media (max-width: 980px) {
  .areas { padding: 54px 0 74px; }
  .areas__group + .areas__group { margin-top: 44px; }
}

@media (max-width: 600px) {
  .areas__inner { width: 90%; }
  .areas__grid { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Compact variant: /html-sitemap/ ----------
   More items, shorter labels, and sub-headings inside a group. */

.areas--compact .areas__grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.areas--compact .areas__grid a { min-height: 46px; padding: 10px 14px; font-size: 14.5px; }

.areas__subtitle {
  margin: 30px 0 14px;
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #6b6b7a;
}
.areas__subtitle:first-of-type { margin-top: 6px; }

@media (max-width: 600px) {
  .areas--compact .areas__grid { grid-template-columns: 1fr; }
  .areas__subtitle { margin: 24px 0 12px; }
}

/* ---------- 404 page lead paragraph ----------
   /404.html reuses the .areas link grid; this is the one rule it adds. */
.nf__lead {
  max-width: 760px;
  margin: -12px auto 54px;
  font-family: "Open Sans", sans-serif;
  font-size: 17px;
  line-height: 1.7em;
  color: #4a4a57;
  text-align: center;
}
.nf__lead a { color: #ff0024; text-decoration: none; font-weight: 600; }
.nf__lead a:hover, .nf__lead a:focus-visible { text-decoration: underline; }

@media (max-width: 600px) {
  .nf__lead { margin: -6px auto 38px; font-size: 16px; }
}
