/* 62-pages-legal-sitemap.css */

/* Legal document + site map pages */
.legal-doc-card {
  padding: 2.5rem 1.75rem !important;
}
.legal-doc-inner {
  max-width: 48rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .legal-doc-card {
    padding: 3.25rem 2.5rem !important;
  }
}
@media (min-width: 1024px) {
  .legal-doc-card {
    padding: 3.75rem 3rem !important;
  }
}

/* Site map page */
.site-map-section {
  padding: 8rem 1.5rem 7rem;
  background: var(--surface-section-solid);
}
.site-map-container {
  max-width: 64rem;
  margin: 0 auto;
}
.site-map-header {
  text-align: center;
  margin-bottom: 2.8rem;
}
.site-map-kicker {
  margin: 0 0 0.9rem;
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.site-map-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4.8vw, 2.45rem);
  line-height: 1.2;
  color: var(--brand-color);
}
.site-map-lead {
  margin: 1.1rem auto 0;
  max-width: 40rem;
  font-size: clamp(0.92rem, 2vw, 1rem);
  line-height: 1.8;
  color: var(--text-secondary);
}
.site-map-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}
.site-map-group {
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px var(--brand-08);
  border: 1px solid var(--brand-08);
  padding: 1.35rem 1.25rem 1.2rem;
}
.site-map-group-header {
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--brand-10);
}
.site-map-group-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(var(--brand-rgb), 0.58);
}
.site-map-group-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  line-height: 1.35;
  color: var(--brand-color);
}
.site-map-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.site-map-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.55rem;
  border-radius: 0.55rem;
  color: var(--text-color);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.site-map-link-label {
  font-size: 0.92rem;
  line-height: 1.55;
}
.site-map-link-arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  color: rgba(var(--brand-rgb), 0.55);
  background: rgba(var(--brand-rgb), 0.06);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.senpai-breadcrumb + .site-map-section {
  padding-top: 1.4rem;
}
@media (min-width: 768px) {
  .site-map-section {
    padding-top: 9rem;
    padding-bottom: 8rem;
  }
  .site-map-header {
    margin-bottom: 3.4rem;
  }
  .site-map-grid {
    gap: 1.15rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "top legal"
      "service service";
  }
  .site-map-group:nth-child(1) {
    grid-area: top;
  }
  .site-map-group:nth-child(2) {
    grid-area: service;
  }
  .site-map-group:nth-child(3) {
    grid-area: legal;
  }
  .site-map-group {
    padding: 1.65rem 1.55rem 1.45rem;
  }
  .site-map-group:nth-child(2) .site-map-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.75rem;
  }
  .senpai-breadcrumb + .site-map-section {
    padding-top: 1.8rem;
  }
}
@media (min-width: 1024px) {
  .site-map-group:nth-child(2) .site-map-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (hover: hover) and (pointer: fine) {
  .site-map-link:hover {
    background: rgba(var(--brand-rgb), 0.04);
    color: var(--brand-color);
  }
  .site-map-link:hover .site-map-link-arrow {
    transform: translateX(2px);
    background: var(--brand-12);
    color: rgba(var(--brand-rgb), 0.88);
  }
}


