/* style/game-guides.css */

/* Base styles for the game guides page */
.page-game-guides {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF;
}

.page-game-guides__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-game-guides__text-block {
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Padding-top 10px as required */
  background-color: #f5f5f5;
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for hero image */
}

.page-game-guides__hero-content {
  max-width: 900px;
  margin: 40px auto 0 auto;
  padding: 0 20px;
  text-align: center;
  z-index: 1;
}

.page-game-guides__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.page-game-guides__description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #555555;
}

.page-game-guides__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-game-guides__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-game-guides__btn-primary:hover {
  background-color: #1a8cc4;
  border-color: #1a8cc4;
}

.page-game-guides__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-game-guides__btn-secondary:hover {
  background-color: #e0f2f7;
}

.page-game-guides__introduction,
.page-game-guides__categories,
.page-game-guides__detailed-guides,
.page-game-guides__general-strategies,
.page-game-guides__get-started,
.page-game-guides__faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-game-guides__category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-guides__category-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-game-guides__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-game-guides__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-game-guides__card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 20px 20px 10px 20px;
}

.page-game-guides__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-game-guides__card-title a:hover {
  text-decoration: underline;
}

.page-game-guides__card-description {
  font-size: 1rem;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-guides__read-more {
  display: inline-block;
  margin: 0 20px 20px 20px;
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
}

.page-game-guides__read-more:hover {
  text-decoration: underline;
}

.page-game-guides__guide-block {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.page-game-guides__guide-title {
  font-size: 2rem;
  color: #000000;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.3;
}

.page-game-guides__guide-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
}

.page-game-guides__guide-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-game-guides__guide-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-game-guides__strategy-list {
  list-style-type: decimal;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-game-guides__strategy-list li {
  margin-bottom: 15px;
  line-height: 1.7;
  font-weight: 500;
}

.page-game-guides__strategy-list li strong {
  color: #26A9E0;
}

.page-game-guides__video-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px 60px 20px; /* Padding-top 10px as required */
  text-align: center;
  box-sizing: border-box;
}

.page-game-guides__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  margin-top: 30px;
}

.page-game-guides__video-wrapper .page-game-guides__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-game-guides__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

.page-game-guides__video-caption {
  font-size: 1rem;
  color: #555555;
  margin-top: 20px;
}

.page-game-guides__faq-section {
  background-color: #f9f9f9;
}

.page-game-guides__faq-list {
  margin-top: 40px;
}

.page-game-guides__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #f0f8ff;
  border-bottom: 1px solid #e0e0e0;
  user-select: none;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-question {
  border-bottom: 1px solid #d0d0d0;
}

.page-game-guides__faq-item summary {
  list-style: none;
}

.page-game-guides__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-game-guides__faq-qtext {
  flex-grow: 1;
}

.page-game-guides__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 15px;
  color: #000000;
}

.page-game-guides__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  border-top: 1px solid #f0f0f0;
}

.page-game-guides__faq-answer p {
  margin-bottom: 0;
}

.page-game-guides__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-guides__hero-image {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-game-guides__hero-content {
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-game-guides__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-game-guides__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary,
  .page-game-guides a[class*="button"],
  .page-game-guides a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-game-guides__introduction,
  .page-game-guides__categories,
  .page-game-guides__detailed-guides,
  .page-game-guides__general-strategies,
  .page-game-guides__get-started,
  .page-game-guides__faq-section,
  .page-game-guides__video-section {
    padding: 40px 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-game-guides__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

  .page-game-guides__text-block {
    font-size: 0.95rem;
  }

  .page-game-guides__category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-guides__card-title {
    font-size: 1.3rem;
  }

  .page-game-guides__card-description {
    font-size: 0.9rem;
  }

  .page-game-guides__guide-block {
    padding: 20px;
  }

  .page-game-guides__guide-title {
    font-size: 1.6rem;
  }

  .page-game-guides__guide-list,
  .page-game-guides__strategy-list {
    margin-left: 20px;
    font-size: 0.95rem;
  }

  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-guides video,
  .page-game-guides__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-guides__video-wrapper,
  .page-game-guides__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-game-guides__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }

  .page-game-guides__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page-game-guides__hero-section {
    padding-bottom: 30px;
  }

  .page-game-guides__main-title {
    font-size: clamp(1.5rem, 9vw, 2.2rem);
  }

  .page-game-guides__description {
    font-size: 0.9rem;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    font-size: 0.95rem;
  }

  .page-game-guides__section-title {
    font-size: clamp(1.3rem, 7vw, 1.8rem);
  }

  .page-game-guides__guide-title {
    font-size: 1.4rem;
  }
}