/* style/gaming-guides.css */

/* Base styles for the gaming guides page */
.page-gaming-guides {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-gaming-guides__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-gaming-guides__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-gaming-guides__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-gaming-guides__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gaming-guides__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-gaming-guides__light-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

/* Hero Section */
.page-gaming-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-gaming-guides__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 40px;
}

.page-gaming-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gaming-guides__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-gaming-guides__main-title {
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  /* Using clamp for responsive font size without fixed large values */
  font-size: clamp(2.5em, 5vw, 3.5em);
}

.page-gaming-guides__description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* CTA Buttons */
.page-gaming-guides__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-gaming-guides__btn-primary,
.page-gaming-guides__btn-secondary,
.page-gaming-guides__btn-read-more {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

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

.page-gaming-guides__btn-primary:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
}

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

.page-gaming-guides__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-gaming-guides__btn-read-more {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
  padding: 10px 20px;
  font-size: 1em;
  margin-top: 15px;
}

.page-gaming-guides__btn-read-more:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
}

/* Introduction Section */
.page-gaming-guides__introduction-section {
  padding: 60px 0;
}

/* Game Types Section */
.page-gaming-guides__game-types-section {
  padding: 60px 0;
}

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

.page-gaming-guides__game-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-gaming-guides__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-gaming-guides__card-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-gaming-guides__card-title a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-gaming-guides__card-title a:hover {
  color: #FFFFFF;
}

.page-gaming-guides__card-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

/* Strategy Section */
.page-gaming-guides__strategy-section {
  padding: 60px 0;
}

.page-gaming-guides__strategy-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-gaming-guides__strategy-text {
  flex: 2;
  min-width: 300px;
}

.page-gaming-guides__strategy-image-wrapper {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gaming-guides__strategy-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gaming-guides__strategy-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gaming-guides__strategy-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

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

/* Responsible Gaming Section */
.page-gaming-guides__responsible-gaming-section {
  padding: 60px 0;
}

.page-gaming-guides__responsible-content {
  display: flex;
  flex-wrap: wrap-reverse; /* Text first, then image on mobile */
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-gaming-guides__responsible-text {
  flex: 2;
  min-width: 300px;
}

.page-gaming-guides__responsible-image-wrapper {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gaming-guides__responsible-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-gaming-guides__responsible-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-gaming-guides__responsible-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-gaming-guides__responsible-list li strong {
  color: #26A9E0;
}

.page-gaming-guides__responsible-text a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-gaming-guides__responsible-text a:hover {
  color: #FFFFFF;
}

/* FAQ Section */
.page-gaming-guides__faq-section {
  padding: 60px 0;
}

.page-gaming-guides__faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-gaming-guides__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 20px;
  transition: background-color 0.3s ease;
}

.page-gaming-guides__faq-item:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-gaming-guides__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  list-style: none;
  padding-right: 10px;
}

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

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

.page-gaming-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFFFFF;
  margin-left: 10px;
}

.page-gaming-guides__faq-answer {
  padding-top: 15px;
  font-size: 1.05em;
  color: #f0f0f0;
}

/* CTA Section */
.page-gaming-guides__cta-section {
  padding: 60px 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-gaming-guides__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-gaming-guides__section-title {
    font-size: 2em;
  }

  .page-gaming-guides__game-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

  .page-gaming-guides__hero-content {
    padding: 0 15px;
  }

  .page-gaming-guides__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-gaming-guides__description {
    font-size: 1em;
  }

  .page-gaming-guides__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-gaming-guides__sub-title {
    font-size: 1.5em;
  }

  .page-gaming-guides__text-block,
  .page-gaming-guides__strategy-list li,
  .page-gaming-guides__responsible-list li,
  .page-gaming-guides__faq-answer {
    font-size: 0.95em;
  }

  .page-gaming-guides__cta-buttons {
    flex-direction: column !important;
    gap: 15px;
    padding: 0 15px;
  }

  .page-gaming-guides__btn-primary,
  .page-gaming-guides__btn-secondary,
  .page-gaming-guides__btn-read-more {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-gaming-guides__game-cards-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .page-gaming-guides__game-card {
    padding-bottom: 15px;
  }

  .page-gaming-guides__strategy-content,
  .page-gaming-guides__responsible-content {
    flex-direction: column;
    padding: 0 15px;
  }

  .page-gaming-guides__strategy-text,
  .page-gaming-guides__responsible-text {
    min-width: unset;
  }

  .page-gaming-guides__strategy-image-wrapper,
  .page-gaming-guides__responsible-image-wrapper {
    max-width: 100%;
    min-width: unset;
    order: -1; /* Image appears above text on mobile */
  }

  .page-gaming-guides__faq-item {
    padding: 15px;
    margin: 0 15px;
  }

  .page-gaming-guides__faq-item summary {
    font-size: 1.1em;
  }

  /* Universal image and container responsive styles */
  .page-gaming-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gaming-guides video, .page-gaming-guides__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-gaming-guides__section,
  .page-gaming-guides__card,
  .page-gaming-guides__container,
  .page-gaming-guides__video-section,
  .page-gaming-guides__video-container,
  .page-gaming-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
}

/* Color contrast fixes for specific elements if needed */
.page-gaming-guides a {
  color: #26A9E0;
}
.page-gaming-guides a:hover {
  color: #FFFFFF;
}
.page-gaming-guides__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}
.page-gaming-guides__btn-primary:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
}
.page-gaming-guides__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}
.page-gaming-guides__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
}
.page-gaming-guides__faq-item summary {
  color: #26A9E0;
}
.page-gaming-guides__faq-toggle {
  color: #FFFFFF;
}

/* Specific color for Login button if it exists and is not primary/secondary */
.page-gaming-guides__btn-login {
  background-color: #EA7C07;
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}
.page-gaming-guides__btn-login:hover {
  background-color: #c96800;
  border-color: #c96800;
}