/* style/poker-strategy-guides.css */

/* Base styles for the page */
.page-poker-strategy-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Default body background */
}

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

.page-poker-strategy-guides__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-poker-strategy-guides__btn-primary {
  display: inline-block;
  background-color: #017439;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid #017439;
  cursor: pointer;
}

.page-poker-strategy-guides__btn-primary:hover {
  background-color: #005a2d;
}

.page-poker-strategy-guides__btn-secondary {
  display: inline-block;
  background-color: #FFFFFF;
  color: #017439;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid #017439;
  cursor: pointer;
}

.page-poker-strategy-guides__btn-secondary:hover {
  background-color: #017439;
  color: #FFFFFF;
}

.page-poker-strategy-guides a {
  color: #017439;
  text-decoration: underline;
}

.page-poker-strategy-guides a:hover {
  color: #005a2d;
}

/* Section backgrounds */
.page-poker-strategy-guides__light-bg {
  background-color: #FFFFFF;
  color: #333333;
  padding: 60px 0;
}

.page-poker-strategy-guides__dark-bg {
  background-color: #017439;
  color: #FFFFFF;
  padding: 60px 0;
}

.page-poker-strategy-guides__dark-bg .page-poker-strategy-guides__section-title,
.page-poker-strategy-guides__dark-bg h3 {
  color: #FFFFFF;
}

.page-poker-strategy-guides__dark-bg a {
  color: #FFFF00; /* Yellow for links on dark background */
}

.page-poker-strategy-guides__dark-bg a:hover {
  color: #ffcc00;
}

/* Hero Section */
.page-poker-strategy-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  min-height: 500px;
  overflow: hidden;
  background-color: #017439;
}

.page-poker-strategy-guides__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-poker-strategy-guides__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: grayscale(50%); /* Allowed for decorative effect, not color change */
}

.page-poker-strategy-guides__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #FFFFFF;
}

.page-poker-strategy-guides__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  line-height: 1.2;
}

.page-poker-strategy-guides__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #FFFFFF;
}

/* Content Grid for sections with image + text */
.page-poker-strategy-guides__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-poker-strategy-guides__content-grid:nth-of-type(even) {
  direction: rtl; /* Alternate image/text position */
}

.page-poker-strategy-guides__content-grid:nth-of-type(even) .page-poker-strategy-guides__text-block {
  direction: ltr;
}

.page-poker-strategy-guides__content-grid .page-poker-strategy-guides__image-wrapper {
  text-align: center;
}

.page-poker-strategy-guides__content-grid .page-poker-strategy-guides__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Strategy Cards */
.page-poker-strategy-guides__strategy-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.page-poker-strategy-guides__strategy-card:hover {
  transform: translateY(-5px);
}

.page-poker-strategy-guides__strategy-card .page-poker-strategy-guides__card-title {
  font-size: 1.8em;
  color: #017439;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-poker-strategy-guides__dark-bg .page-poker-strategy-guides__strategy-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.page-poker-strategy-guides__dark-bg .page-poker-strategy-guides__strategy-card .page-poker-strategy-guides__card-title {
  color: #FFFFFF;
}

/* Tips List */
.page-poker-strategy-guides__tips-list {
  list-style: none;
  padding: 0;
}

.page-poker-strategy-guides__tips-list li {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #FFFF00;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-poker-strategy-guides__tips-list .page-poker-strategy-guides__list-title {
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 10px;
  color: #FFFFFF;
}

/* Video Section */
.page-poker-strategy-guides__video-section {
  padding: 60px 0;
  text-align: center;
}

.page-poker-strategy-guides__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-poker-strategy-guides__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-poker-strategy-guides__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  cursor: pointer;
}

.page-poker-strategy-guides__video-caption {
  margin-top: 20px;
  font-size: 1.1em;
  color: #555555;
}

/* FAQ Section */
.page-poker-strategy-guides__faq-list {
  margin-top: 40px;
}

.page-poker-strategy-guides__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-poker-strategy-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #FFFFFF;
  border-bottom: 1px solid #eee;
  font-weight: bold;
  color: #333333;
  transition: background-color 0.3s ease;
}

.page-poker-strategy-guides__faq-question:hover {
  background-color: #f0f0f0;
}

.page-poker-strategy-guides__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #017439;
}

.page-poker-strategy-guides__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-poker-strategy-guides__faq-item.active .page-poker-strategy-guides__faq-toggle {
  transform: rotate(45deg);
}

.page-poker-strategy-guides__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-poker-strategy-guides__faq-item.active .page-poker-strategy-guides__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 20px;
}

/* CTA Section */
.page-poker-strategy-guides__cta-section {
  text-align: center;
  padding: 80px 0;
}

.page-poker-strategy-guides__cta-content {
  max-width: 800px;
}

.page-poker-strategy-guides__cta-content .page-poker-strategy-guides__section-title {
  color: #FFFFFF;
}

.page-poker-strategy-guides__cta-content p {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #FFFFFF;
}

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

/* Global image settings to prevent small icons */
.page-poker-strategy-guides img:not(.page-poker-strategy-guides__logo) {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-poker-strategy-guides__hero-title {
    font-size: 3em;
  }
  .page-poker-strategy-guides__hero-description {
    font-size: 1.1em;
  }
  .page-poker-strategy-guides__section-title {
    font-size: 2em;
  }
  .page-poker-strategy-guides__content-grid {
    grid-template-columns: 1fr;
    direction: ltr; /* Reset for smaller screens */
  }
  .page-poker-strategy-guides__content-grid:nth-of-type(even) {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .page-poker-strategy-guides {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-poker-strategy-guides__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure offset on mobile */
  }

  .page-poker-strategy-guides__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-poker-strategy-guides__container {
    padding: 0 15px;
  }

  /* Images responsiveness */
  .page-poker-strategy-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-poker-strategy-guides__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Video responsiveness */
  .page-poker-strategy-guides video,
  .page-poker-strategy-guides__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-poker-strategy-guides__video-section,
  .page-poker-strategy-guides__video-container,
  .page-poker-strategy-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Button responsiveness */
  .page-poker-strategy-guides__btn-primary,
  .page-poker-strategy-guides__btn-secondary,
  .page-poker-strategy-guides a[class*="button"],
  .page-poker-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;
    text-align: center;
  }

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

  .page-poker-strategy-guides__strategy-card,
  .page-poker-strategy-guides__faq-item {
    padding: 20px;
  }

  .page-poker-strategy-guides__faq-answer {
    padding: 0 20px;
  }

  .page-poker-strategy-guides__faq-item.active .page-poker-strategy-guides__faq-answer {
    padding: 20px;
  }

  .page-poker-strategy-guides__tips-list li {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-poker-strategy-guides__hero-title {
    font-size: 1.8em;
  }
  .page-poker-strategy-guides__section-title {
    font-size: 1.5em;
  }
  .page-poker-strategy-guides__btn-primary,
  .page-poker-strategy-guides__btn-secondary {
    font-size: 0.9em;
    padding: 12px 20px;
  }
}