/* style/sitemap.css */
.page-sitemap {
  color: #1F2D3D;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #F4F7FB;
}

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

.page-sitemap__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding-top from shared.css */
  padding-bottom: 40px;
  background-color: #F4F7FB;
}

.page-sitemap__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
}

.page-sitemap__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
}

.page-sitemap__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 16px;
  line-height: 1.2;
}

.page-sitemap__description {
  font-size: 18px;
  color: #1F2D3D;
  margin-bottom: 24px;
}

.page-sitemap__cta-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-sitemap__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-sitemap__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-sitemap__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-sitemap__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

.page-sitemap__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.page-sitemap__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-sitemap__hero-visual {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(47, 107, 255, 0.2);
  display: block;
  margin: 0 auto;
}

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

.page-sitemap__section-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
}

.page-sitemap__text-block {
  font-size: 17px;
  color: #1F2D3D;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

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

.page-sitemap__sitemap-category {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #D6E2FF;
}

.page-sitemap__category-title {
  font-size: 22px;
  font-weight: 600;
  color: #2F6BFF;
  margin-bottom: 20px;
  border-bottom: 2px solid #D6E2FF;
  padding-bottom: 10px;
}

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

.page-sitemap__link-list li {
  margin-bottom: 10px;
}

.page-sitemap__link-list a {
  color: #1F2D3D;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s ease;
}

.page-sitemap__link-list a:hover {
  color: #2F6BFF;
  text-decoration: underline;
}

.page-sitemap__image-block {
  text-align: center;
  margin-top: 50px;
  padding: 0 16px;
}

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

.page-sitemap__image-caption {
  font-size: 15px;
  color: #666;
}

.page-sitemap__faq-section {
  padding: 60px 0;
  background-color: #F4F7FB;
}

.page-sitemap__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-sitemap__faq-item {
  background-color: #ffffff;
  border: 1px solid #D6E2FF;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-sitemap__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #1F2D3D;
  cursor: pointer;
  list-style: none;
  outline: none;
  position: relative;
  user-select: none;
}

.page-sitemap__faq-item summary::-webkit-details-marker,
.page-sitemap__faq-item summary::marker {
  display: none;
}

.page-sitemap__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF;
  transition: transform 0.3s ease;
}

.page-sitemap__faq-item[open] .page-sitemap__faq-toggle {
  transform: rotate(45deg);
}

.page-sitemap__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  color: #333333;
  line-height: 1.6;
}

.page-sitemap__faq-answer p {
  margin: 0;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-sitemap__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-sitemap__hero-container {
    flex-direction: column;
    gap: 30px;
    padding: 30px 15px;
  }

  .page-sitemap__hero-content,
  .page-sitemap__hero-image {
    flex: 1 1 100%;
    min-width: unset;
  }

  .page-sitemap__main-title {
    font-size: 32px;
    text-align: center;
  }

  .page-sitemap__description {
    font-size: 16px;
    text-align: center;
  }

  .page-sitemap__cta-group {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-sitemap__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-sitemap__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-sitemap__text-block {
    font-size: 16px;
    margin-bottom: 40px;
    padding: 0 15px;
  }

  .page-sitemap__sitemap-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
    margin-bottom: 40px;
  }

  .page-sitemap__sitemap-category {
    padding: 25px;
  }

  .page-sitemap__category-title {
    font-size: 20px;
  }

  .page-sitemap__link-list a {
    font-size: 15px;
  }

  .page-sitemap__image-block {
    margin-top: 40px;
    padding: 0 15px;
  }

  .page-sitemap__faq-section {
    padding: 40px 0;
  }

  .page-sitemap__faq-list {
    padding: 0 15px;
  }

  .page-sitemap__faq-item summary {
    padding: 18px 20px;
    font-size: 17px;
  }

  .page-sitemap__faq-answer {
    padding: 0 20px 18px;
    font-size: 15px;
  }

  /* General image and container rules for mobile */
  .page-sitemap img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-sitemap__container,
  .page-sitemap__content-area,
  .page-sitemap__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Placeholder for icon-box-media, if it were present */
  .page-sitemap__icon-box-media {
    width: 200px !important;
    height: 200px !important;
    margin: 0 auto 16px !important;
  }

  /* Placeholder for game-tabs, if it were present */
  .page-sitemap__game-tabs {
    flex-direction: column !important;
  }

  .page-sitemap__tab-nav button {
    width: 100% !important;
  }
}

/* Placeholder for icon-box-media desktop styles, if it were present */
.page-sitemap__icon-box-media {
  width: 240px;
  height: 240px;
  aspect-ratio: 1/1;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  display: none; /* Not present on this page */
}
.page-sitemap__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* Placeholder for game-tabs desktop styles, if it were present */
.page-sitemap__game-tabs {
  display: none; /* Not present on this page */
}
.page-sitemap__tab-nav {
  display: flex;
}
.page-sitemap__game-panel {
  display: none;
}
.page-sitemap__game-panel.is-active {
  display: block;
}