/* =============================================
   SITEMAP PAGE STYLES
   /css/sitemap.css
   ============================================= */

/* Hero */
.sitemap-hero {
  background: linear-gradient(135deg, var(--primary-900, #001440) 0%, var(--primary-700, #003ab5) 100%);
  padding: calc(var(--navbar-height, 80px) + var(--space-16)) var(--space-4) var(--space-16);
  text-align: center;
}

.sitemap-hero-title {
  color: #ffffff;
  margin-bottom: var(--space-4);
}

.sitemap-hero-sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-lg, 1.125rem);
  max-width: 520px;
  margin: 0 auto;
}

/* Section */
.sitemap-section {
  background: var(--light-bg, #F9FAFB);
}

.sitemap-section .container {
  gap: var(--space-10);
}

/* Group Card */
.sitemap-group {
  background: #ffffff;
  border: 1px solid var(--border-base, #E5E7EB);
  border-radius: var(--radius-xl, 1rem);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.sitemap-group-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 2px solid var(--border-base, #E5E7EB);
}

.sitemap-group-header .heading-md {
  margin: 0;
  color: var(--heading-light, #111827);
}

/* Links List */
.sitemap-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-1) var(--space-4);
}

.sitemap-links li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border-base, #E5E7EB);
}

.sitemap-links li:last-child {
  border-bottom: none;
}

.sitemap-chevron {
  color: var(--accent-500, #eb1414);
  flex-shrink: 0;
}

.sitemap-links a {
  color: var(--text-light, #374151);
  text-decoration: none;
  font-size: var(--text-sm, 0.875rem);
  font-family: var(--font-body, sans-serif);
  transition: color var(--duration-150, 150ms) ease;
}

.sitemap-links a:hover {
  color: var(--primary-600, #002868);
  text-decoration: underline;
}

.sitemap-links li.sitemap-parent a {
  font-weight: 700;
  color: var(--primary-700, #002868);
}

.sitemap-links li.sitemap-parent a:hover {
  color: var(--accent-500, #eb1414);
}

/* CTA Section */
.sitemap-cta-section {
  background: linear-gradient(135deg, var(--primary-800, #001a4d) 0%, var(--primary-600, #003db5) 100%);
  text-align: center;
}

.sitemap-cta-section .container {
  align-items: center;
}

.sitemap-cta-section h2 {
  color: #ffffff;
  margin-bottom: var(--space-4);
}

.sitemap-cta-section p {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-lg, 1.125rem);
  max-width: 560px;
  margin: 0 auto var(--space-8);
}

.sitemap-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  align-items: center;
}

.sitemap-cta-outline {
  border-color: rgba(255, 255, 255, 0.7) !important;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.sitemap-cta-outline:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: #ffffff !important;
}

/* Responsive */
@media (max-width: 640px) {
  .sitemap-hero {
    padding-top: calc(var(--navbar-height, 80px) + var(--space-10));
    padding-bottom: var(--space-10);
  }

  .sitemap-links {
    grid-template-columns: 1fr;
  }

  .sitemap-group {
    padding: var(--space-5);
  }

  .sitemap-cta-btns {
    flex-direction: column;
  }
}
