:root {
  color-scheme: light;
  --sitemap-red: #d7000f;
  --sitemap-text: #101010;
  --sitemap-body: #555555;
  --sitemap-muted: #888888;
  --sitemap-line: #e6e6e6;
  --sitemap-bg: #f7f7f7;
  --sitemap-panel: #ffffff;
  --sitemap-container: min(1240px, calc(100vw - 280px));
}

.sitemap-page {
  width: 100%;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0, #f7f7f7 360px),
    var(--sitemap-bg);
}

.sitemap-hero {
  position: relative;
  padding: 124px 0 94px;
  background:
    linear-gradient(90deg, rgba(215, 0, 15, 0.08), rgba(215, 0, 15, 0) 42%),
    #f7f7f7;
  overflow: hidden;
}

.sitemap-hero::before {
  content: "";
  position: absolute;
  left: calc((100vw - var(--sitemap-container)) / 2);
  bottom: 0;
  width: min(420px, 45vw);
  height: 8px;
  background: var(--sitemap-red);
}

.sitemap-hero__inner {
  width: var(--sitemap-container);
  margin: 0 auto;
}

.sitemap-hero__eyebrow {
  margin: 0 0 12px;
  color: var(--sitemap-red);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sitemap-hero h1 {
  margin: 0 0 16px;
  color: var(--sitemap-text);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.15;
  font-weight: 700;
}

.sitemap-hero__meta {
  margin: 0;
  color: var(--sitemap-muted);
  font-size: 16px;
}

.sitemap-content-section {
  padding: 0 0 120px;
}

.sitemap-content {
  width: var(--sitemap-container);
  margin: 0 auto;
  padding: 48px;
  background: var(--sitemap-panel);
  border: 1px solid var(--sitemap-line);
  border-radius: 4px;
  box-shadow: 0 18px 48px rgba(16, 16, 16, 0.04);
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
}

.sitemap-column__title {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--sitemap-red);
  color: var(--sitemap-text);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
}

.sitemap-column__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sitemap-column__list li + li {
  margin-top: 12px;
}

.sitemap-column__list a {
  color: var(--sitemap-body);
  font-size: 15px;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sitemap-column__list a:hover {
  color: var(--sitemap-red);
}

.sitemap-xml-note {
  margin: 40px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--sitemap-line);
  color: var(--sitemap-muted);
  font-size: 14px;
  line-height: 1.7;
}

.sitemap-xml-note a {
  color: var(--sitemap-red);
  word-break: break-all;
}

.sitemap-empty {
  margin: 0;
  color: var(--sitemap-muted);
  font-size: 16px;
}

@media (max-width: 1199px) {
  :root {
    --sitemap-container: min(1240px, calc(100vw - 48px));
  }

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

@media (max-width: 767px) {
  .sitemap-hero {
    padding: 96px 0 64px;
  }

  .sitemap-content {
    padding: 28px 20px;
  }

  .sitemap-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
