.sitemap-page {
  padding-bottom: 34px;
}

.sitemap-page .sitemap-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 24px;
  margin-top: 18px;
  padding: clamp(24px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid #dce6f0;
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 12%, rgba(215, 25, 47, .12), transparent 30%),
    linear-gradient(135deg, #fff 0%, #f7fafc 62%, #fff6f7 100%);
  box-shadow: 0 18px 45px rgba(18, 28, 40, .07);
}

.sitemap-page .sitemap-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(#e21d37 0 64%, #087a78 64%);
}

.sitemap-hero__copy {
  align-self: center;
}

.sitemap-hero .eyebrow,
.sitemap-section-title .eyebrow {
  margin: 0 0 10px;
  color: #d7192f;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.sitemap-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #15202d;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -.035em;
}

.sitemap-hero .lead {
  max-width: 680px;
  margin: 16px 0 0;
  color: #5d6d80;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.65;
}

.sitemap-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.sitemap-stats span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid #dbe6ef;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: #203044;
  font-size: 12px;
  font-weight: 760;
}

.sitemap-stats i {
  color: #087a78;
}

.sitemap-search-panel {
  align-self: center;
  padding: 21px;
  border: 1px solid #dbe5ef;
  border-radius: 17px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 14px 35px rgba(25, 35, 48, .07);
}

.sitemap-search-panel label {
  display: block;
  margin-bottom: 9px;
  color: #172332;
  font-size: 15px;
  font-weight: 800;
}

.sitemap-search {
  position: relative;
}

.sitemap-search i {
  position: absolute;
  top: 50%;
  left: 14px;
  color: #087a78;
  transform: translateY(-50%);
}

.sitemap-search input {
  width: 100%;
  min-height: 48px;
  padding: 10px 42px 10px 40px;
  border: 1px solid #cfdbe6;
  border-radius: 12px;
  background: #fff;
  color: #142131;
  outline: none;
}

.sitemap-search input:focus {
  border-color: #087a78;
  box-shadow: 0 0 0 4px rgba(8, 122, 120, .1);
}

.sitemap-search button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 9px;
  background: #edf4f5;
  color: #087a78;
  cursor: pointer;
}

.sitemap-search-note {
  display: block;
  margin-top: 10px;
  color: #68788b;
  font-size: 12px;
  line-height: 1.5;
}

.sitemap-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.sitemap-quick a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 74px;
  padding: 13px 15px;
  border: 1px solid #dce6f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(18, 28, 40, .04);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.sitemap-quick a:hover {
  border-color: #edb9c1;
  transform: translateY(-2px);
  box-shadow: 0 13px 28px rgba(18, 28, 40, .07);
}

.sitemap-quick a > i:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #fff1f3;
  color: #d7192f;
}

.sitemap-quick b,
.sitemap-quick small {
  display: block;
}

.sitemap-quick b {
  color: #172332;
  font-size: 14px;
}

.sitemap-quick small {
  margin-top: 2px;
  color: #6a798b;
  font-size: 11px;
}

.sitemap-quick .fa-angle-right {
  color: #a3afbd;
}

.sitemap-directory {
  margin-top: 28px;
}

.sitemap-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 13px;
}

.sitemap-section-title h2 {
  margin: 0;
  color: #172332;
  font-size: clamp(24px, 3vw, 34px);
}

.sitemap-result-count {
  color: #647488;
  font-size: 13px;
  font-weight: 700;
}

.sitemap-grid--renewed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sitemap-group {
  min-width: 0;
  padding: 19px;
  border: 1px solid #dce6f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(18, 28, 40, .045);
}

.sitemap-group[hidden] {
  display: none;
}

.sitemap-group__head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6edf4;
}

.sitemap-group__head i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  background: #eef7f7;
  color: #087a78;
}

.sitemap-group__head h3 {
  margin: 0;
  color: #172332;
  font-size: 17px;
}

.sitemap-group__head span {
  display: block;
  margin-top: 2px;
  color: #758397;
  font-size: 11px;
}

.sitemap-links {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-links li[hidden] {
  display: none;
}

.sitemap-links a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 30px 7px 14px;
  border-radius: 9px;
  color: #394b60;
  font-size: 13px;
  font-weight: 640;
  line-height: 1.35;
}

.sitemap-links a::before {
  content: "";
  position: absolute;
  left: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d7192f;
}

.sitemap-links a::after {
  content: "\f105";
  position: absolute;
  right: 10px;
  color: #a6b1be;
  font-family: FontAwesome;
}

.sitemap-links a:hover,
.sitemap-links a:focus-visible {
  background: #f5f8fb;
  color: #c51d32;
  outline: none;
}

.sitemap-empty {
  margin-top: 12px;
  padding: 22px;
  border: 1px dashed #cfdae5;
  border-radius: 14px;
  background: #fff;
  color: #5f7083;
  text-align: center;
}

@media (max-width: 980px) {
  .sitemap-page .sitemap-hero {
    grid-template-columns: 1fr;
  }

  .sitemap-quick,
  .sitemap-grid--renewed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .sitemap-page .sitemap-hero {
    gap: 17px;
    margin-top: 10px;
    padding: 21px 16px;
    border-radius: 16px;
  }

  .sitemap-hero h1 {
    font-size: clamp(30px, 10vw, 38px);
  }

  .sitemap-hero .lead {
    margin-top: 11px;
    font-size: 14px;
  }

  .sitemap-stats {
    margin-top: 13px;
  }

  .sitemap-search-panel {
    padding: 15px;
  }

  .sitemap-quick,
  .sitemap-grid--renewed {
    grid-template-columns: 1fr;
  }

  .sitemap-quick a {
    min-height: 68px;
  }

  .sitemap-section-title {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }

  .sitemap-group {
    padding: 16px;
    border-radius: 13px;
  }

  .sitemap-links a {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sitemap-quick a {
    transition: none;
  }
}
