/* sitemap.css */
.page-sitemap {
  color: #333333;
  background-color: #FFFFFF;
}

.page-sitemap__hero-section {
  padding-top: 10px; /* Small top padding as per rule */
  padding-bottom: 40px;
  background-color: #f5f5f5; /* Light background for hero section */
}

.page-sitemap__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-sitemap__main-title {
  font-size: 2.8em;
  font-weight: 700;
  line-height: 1.2;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sitemap__intro-text {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sitemap__content-area {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-sitemap__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.page-sitemap__grid-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-sitemap__section-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #017439;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.page-sitemap__link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-sitemap__list-item {
  margin-bottom: 10px;
}

.page-sitemap__list-item a {
  color: #333333;
  text-decoration: none;
  font-size: 1.05em;
  transition: color 0.3s ease;
  display: block;
  padding: 5px 0;
}

.page-sitemap__list-item a:hover {
  color: #017439;
  text-decoration: underline;
}

.page-sitemap__image-container {
  text-align: center;
  margin: 60px 0;
}

.page-sitemap__content-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

.page-sitemap__cta-section {
  background-color: #017439;
  padding: 50px 30px;
  border-radius: 12px;
  text-align: center;
  color: #ffffff;
  margin-top: 60px;
}

.page-sitemap__cta-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 25px;
  line-height: 1.3;
}

.page-sitemap__cta-button {
  display: inline-block;
  background-color: #C30808; /* Custom color for registration */
  color: #FFFF00; /* Custom color for registration font */
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box; /* Ensure button responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-sitemap__cta-button:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-sitemap__main-title {
    font-size: 2.5em;
  }
  .page-sitemap__intro-text {
    font-size: 1em;
  }
  .page-sitemap__grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }
  .page-sitemap__section-title {
    font-size: 1.6em;
  }
  .page-sitemap__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-sitemap__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 30px;
  }
  .page-sitemap__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-sitemap__intro-text {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-sitemap__content-area {
    padding: 40px 0;
  }
  .page-sitemap__grid {
    grid-template-columns: 1fr; /* Single column layout for grid items */
    gap: 25px;
    margin-bottom: 40px;
  }
  .page-sitemap__grid-item {
    padding: 25px;
  }
  .page-sitemap__section-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    padding-bottom: 8px;
  }
  .page-sitemap__list-item a {
    font-size: 1em;
    padding: 4px 0;
  }
  .page-sitemap__image-container {
    margin: 40px 0;
  }
  .page-sitemap__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-sitemap__cta-section {
    padding: 40px 20px;
    margin-top: 40px;
  }
  .page-sitemap__cta-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }
  .page-sitemap__cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  /* Universal image responsiveness for all .page-sitemap img */
  .page-sitemap img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  /* Universal container responsiveness for all .page-sitemap containers */
  .page-sitemap__container,
  .page-sitemap__hero-section,
  .page-sitemap__content-area,
  .page-sitemap__grid-item,
  .page-sitemap__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}