/* style/game-strategy-guides.css */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --card-bg-color: #11271B;
  --background-color: #08160F;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-game-strategy-guides {
  font-family: Arial, sans-serif;
  color: var(--text-main-color); /* Default text color for the page */
  background-color: var(--background-color); /* Default background for the page */
}

.page-game-strategy-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  overflow: hidden;
  background-color: var(--deep-green-color);
}

.page-game-strategy-guides__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-game-strategy-guides__hero-content {
  max-width: 900px;
  margin: 40px auto 0 auto;
  padding: 0 20px;
  z-index: 1;
  color: var(--text-main-color);
}

.page-game-strategy-guides__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gold-color);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-game-strategy-guides__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-secondary-color);
}

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

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

.page-game-strategy-guides__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-strategy-guides__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-game-strategy-guides__btn-secondary {
  background: transparent;
  color: var(--text-main-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-game-strategy-guides__btn-secondary:hover {
  background: rgba(var(--primary-color), 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-strategy-guides__section {
  padding: 60px 20px;
}

.page-game-strategy-guides__dark-bg {
  background-color: var(--background-color);
  color: var(--text-main-color);
}

.page-game-strategy-guides__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-game-strategy-guides__dark-section {
  background-color: var(--deep-green-color);
  color: var(--text-main-color);
}

.page-game-strategy-guides__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-game-strategy-guides__text-center {
  text-align: center;
}

.page-game-strategy-guides__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 30px;
  text-align: center;
}

.page-game-strategy-guides__text-block {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: inherit;
}

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

.page-game-strategy-guides__card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main-color);
  border: 1px solid var(--border-color);
}

.page-game-strategy-guides__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-game-strategy-guides__card-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-game-strategy-guides__card-title {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-game-strategy-guides__card-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-secondary-color);
}

.page-game-strategy-guides__tabs {
  margin-top: 40px;
}

.page-game-strategy-guides__tab-header {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--divider-color);
  padding-bottom: 10px;
}

.page-game-strategy-guides__tab-button {
  background-color: transparent;
  border: none;
  padding: 12px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--text-secondary-color);
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  transition: all 0.3s ease;
  position: relative;
  outline: none;
}

.page-game-strategy-guides__tab-button::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.page-game-strategy-guides__tab-button:hover {
  color: var(--gold-color);
}

.page-game-strategy-guides__tab-button--active {
  color: var(--gold-color);
  background-color: var(--card-bg-color);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
}

.page-game-strategy-guides__tab-button--active::after {
  background-color: var(--gold-color);
}

.page-game-strategy-guides__tab-content {
  display: none;
  padding: 30px 0;
  background-color: var(--card-bg-color);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  padding-left: 30px;
  padding-right: 30px;
}

.page-game-strategy-guides__tab-content--active {
  display: block;
}

.page-game-strategy-guides__content-subtitle {
  font-size: 1.8em;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.page-game-strategy-guides__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--text-secondary-color);
}

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

.page-game-strategy-guides__list strong {
  color: var(--text-main-color);
}

.page-game-strategy-guides__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

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

.page-game-strategy-guides__feature-card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main-color);
  border: 1px solid var(--border-color);
}

.page-game-strategy-guides__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-game-strategy-guides__feature-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-game-strategy-guides__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-game-strategy-guides__feature-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-secondary-color);
  margin-bottom: 20px;
}

.page-game-strategy-guides__btn-text {
  color: var(--gold-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-game-strategy-guides__btn-text:hover {
  color: var(--glow-color);
  text-decoration: underline;
}

.page-game-strategy-guides__responsible-gambling-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-game-strategy-guides__text-column {
  flex: 1;
  min-width: 300px;
}

.page-game-strategy-guides__image-column {
  flex: 1;
  min-width: 300px;
}

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

.page-game-strategy-guides__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-game-strategy-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--text-main-color);
  cursor: pointer;
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--border-color);
  list-style: none; /* For details/summary */
}

.page-game-strategy-guides__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-game-strategy-guides__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  margin-left: 15px;
  color: var(--gold-color);
}

.page-game-strategy-guides__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-secondary-color);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-game-strategy-guides__faq-item[open] .page-game-strategy-guides__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding-top: 15px;
}

.page-game-strategy-guides__faq-item.active .page-game-strategy-guides__faq-answer {
  max-height: 2000px !important; /* For JS-controlled div structure */
  padding-top: 15px;
}

.page-game-strategy-guides__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Image and general responsive styles */
.page-game-strategy-guides img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Video responsive styles */
.page-game-strategy-guides video,
.page-game-strategy-guides__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

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

/* Mobile responsive */
@media (max-width: 768px) {
  .page-game-strategy-guides {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-game-strategy-guides__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-game-strategy-guides__hero-description {
    font-size: 1em;
  }

  .page-game-strategy-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-game-strategy-guides__btn-primary,
  .page-game-strategy-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-game-strategy-guides__section {
    padding: 40px 15px;
  }

  .page-game-strategy-guides__content-area {
    padding: 0;
  }

  .page-game-strategy-guides__section-title {
    font-size: clamp(1.5em, 7vw, 2em);
    margin-bottom: 20px;
  }

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

  .page-game-strategy-guides__card,
  .page-game-strategy-guides__feature-card {
    padding: 20px;
  }

  .page-game-strategy-guides__tabs {
    margin-top: 20px;
  }

  .page-game-strategy-guides__tab-header {
    flex-direction: column;
    gap: 10px;
    border-bottom: none;
    padding-bottom: 0;
  }

  .page-game-strategy-guides__tab-button {
    width: 100%;
    border-radius: 8px;
    font-size: 1em;
    padding: 10px 15px;
  }

  .page-game-strategy-guides__tab-button::after {
    display: none;
  }

  .page-game-strategy-guides__tab-button--active {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .page-game-strategy-guides__tab-content {
    padding: 20px 15px;
    border-radius: 12px;
  }

  .page-game-strategy-guides__content-subtitle {
    font-size: 1.5em;
  }

  .page-game-strategy-guides__list {
    margin-left: 15px;
  }

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

  .page-game-strategy-guides__responsible-gambling-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-game-strategy-guides__text-column,
  .page-game-strategy-guides__image-column {
    min-width: unset;
    width: 100%;
  }

  .page-game-strategy-guides__faq-question {
    padding: 15px;
    font-size: 1em;
  }

  .page-game-strategy-guides__faq-answer {
    padding: 0 15px 15px 15px;
  }

  /* Force responsive for all images/videos/containers */
  .page-game-strategy-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-game-strategy-guides__section,
  .page-game-strategy-guides__card,
  .page-game-strategy-guides__container,
  .page-game-strategy-guides__video-section,
  .page-game-strategy-guides__video-container,
  .page-game-strategy-guides__video-wrapper,
  .page-game-strategy-guides__cta-buttons,
  .page-game-strategy-guides__button-group,
  .page-game-strategy-guides__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-game-strategy-guides__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-game-strategy-guides__cta-button,
  .page-game-strategy-guides__btn-primary,
  .page-game-strategy-guides__btn-secondary,
  .page-game-strategy-guides a[class*="button"],
  .page-game-strategy-guides a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-strategy-guides__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
}