/**
 * AroundManchester.com - Sitemap Page Stylesheet
 * Page-specific styles for sitemap-page.html
 * 
 * @charset UTF-8
 * @author AroundManchester.com Development Team
 * @version 1.0
 */

@charset "UTF-8";

/* ===== COMPACT HEADER DESCRIPTION ===== */
.site-header__description {
  line-height: 1.3;
  padding: 4px 12px;
  margin: 4px auto 0;
}

.site-header__description > p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.25;
}

/* ===== SITEMAP PAGE ===== */
.sitemap-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #f5f5f5;
}

.sitemap-page__header {
  background: linear-gradient(135deg, #4a6bb5, #3a5a95);
  color: white;
  padding: 40px 20px;
  text-align: center;
  margin-bottom: 40px;
  border-radius: 8px;
}

.sitemap-page__title {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.sitemap-page__subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* ===== SITEMAP SECTIONS ===== */
.sitemap-page__section {
  background: #ffffff;
  border-radius: 8px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sitemap-page__section-title {
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #4a6bb5;
}

.sitemap-page__count {
  font-size: 0.9rem;
  font-weight: 400;
  color: #6b7a90;
}

.sitemap-page__section-intro {
  font-size: 0.95rem;
  color: #495057;
  margin-bottom: 15px;
}

/* ===== SITEMAP LISTS ===== */
.sitemap-page__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-page__list li {
  padding: 8px 0;
  border-bottom: 1px solid #eef2f7;
  font-size: 0.95rem;
  color: #495057;
}

.sitemap-page__list li:last-child {
  border-bottom: none;
}

.sitemap-page__list a {
  color: #4a6bb5;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.sitemap-page__list a:hover {
  color: #3a5a95;
  text-decoration: underline;
}

.sitemap-page__list a:focus {
  outline: 2px solid #4a6bb5;
  outline-offset: 2px;
}

/* ===== DISTRICT GRID ===== */
.sitemap-page__district-grid {
  margin-top: 15px;
}

.sitemap-page__district-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 4px 20px;
}

.sitemap-page__district-list li {
  padding: 6px 0;
  border-bottom: none;
  font-size: 0.9rem;
}

.sitemap-page__district-list a {
  color: #4a6bb5;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.sitemap-page__district-list a:hover {
  color: #3a5a95;
  text-decoration: underline;
}

.sitemap-page__district-list a:focus {
  outline: 2px solid #4a6bb5;
  outline-offset: 2px;
}

/* ===== BACK LINK ===== */
.sitemap-page__back-link {
  text-align: center;
  margin-top: 30px;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 600px) {
  .sitemap-page {
    padding: 20px 12px;
  }

  .sitemap-page__header {
    padding: 25px 15px;
  }

  .sitemap-page__title {
    font-size: 1.8rem;
  }

  .sitemap-page__section {
    padding: 18px 16px;
  }

  .sitemap-page__district-list {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
