/* style/fishing-games-popular-strategy.css */
.page-fishing-games-popular-strategy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #222; /* Body background from shared.css */
}

.page-fishing-games-popular-strategy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-fishing-games-popular-strategy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 500px;
  padding: 80px 20px;
  overflow: hidden;
  color: #ffffff;
  background-color: #017439; /* Using primary color for hero background */
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
}

.page-fishing-games-popular-strategy__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-fishing-games-popular-strategy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-fishing-games-popular-strategy__hero-section .page-fishing-games-popular-strategy__container {
  position: relative;
  z-index: 1;
}

.page-fishing-games-popular-strategy__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Register/Login font color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-fishing-games-popular-strategy__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  line-height: 1.5;
}

/* Buttons */
.page-fishing-games-popular-strategy__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom color for Register/Login font */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-fishing-games-popular-strategy__btn-primary:hover {
  background-color: #d11a1a;
  transform: translateY(-2px);
}

.page-fishing-games-popular-strategy__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Content Area */
.page-fishing-games-popular-strategy__content-area {
  background-color: #ffffff; /* Light background for main content */
  color: #333333; /* Dark text for light background */
  padding: 60px 0;
}

.page-fishing-games-popular-strategy__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-fishing-games-popular-strategy__sub-title {
  font-size: 1.8em;
  color: #017439;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games-popular-strategy__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-fishing-games-popular-strategy__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-fishing-games-popular-strategy__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-fishing-games-popular-strategy__link {
  color: #017439;
  text-decoration: underline;
  font-weight: bold;
}

.page-fishing-games-popular-strategy__link:hover {
  color: #005f2e;
}

.page-fishing-games-popular-strategy__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

/* Image Card Grid */
.page-fishing-games-popular-strategy__image-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-fishing-games-popular-strategy__card {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #333333; /* Dark text for light card background */
}

.page-fishing-games-popular-strategy__card:hover {
  transform: translateY(-5px);
}

.page-fishing-games-popular-strategy__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-fishing-games-popular-strategy__card-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games-popular-strategy__card-description {
  font-size: 1em;
  line-height: 1.6;
}

/* Feature Grid */
.page-fishing-games-popular-strategy__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-fishing-games-popular-strategy__feature-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
  color: #333333; /* Dark text for light feature background */
}

.page-fishing-games-popular-strategy__feature-item:hover {
  transform: translateY(-5px);
}

.page-fishing-games-popular-strategy__feature-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  min-width: 200px; /* Ensure min size, overrides 100x100 if needed */
  min-height: 200px; /* Ensure min size, overrides 100x100 if needed */
}

.page-fishing-games-popular-strategy__feature-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games-popular-strategy__feature-description {
  font-size: 0.95em;
  line-height: 1.6;
}

/* FAQ Section */
.page-fishing-games-popular-strategy__faq-container {
  margin-top: 40px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.page-fishing-games-popular-strategy__faq-item {
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
}

.page-fishing-games-popular-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  transition: color 0.3s ease;
}

.page-fishing-games-popular-strategy__faq-question:hover {
  color: #005f2e;
}

.page-fishing-games-popular-strategy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-fishing-games-popular-strategy__faq-item.active .page-fishing-games-popular-strategy__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games-popular-strategy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 1.05em;
  color: #555555;
}

.page-fishing-games-popular-strategy__faq-item.active .page-fishing-games-popular-strategy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px;
}

.page-fishing-games-popular-strategy__faq-answer p {
  margin-bottom: 15px;
}

/* CTA Section */
.page-fishing-games-popular-strategy__cta-section {
  background-color: #017439;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-fishing-games-popular-strategy__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFF00; /* Custom font color */
}

.page-fishing-games-popular-strategy__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games-popular-strategy__hero-title {
    font-size: 3em;
  }
  .page-fishing-games-popular-strategy__hero-description {
    font-size: 1.2em;
  }
  .page-fishing-games-popular-strategy__section-title {
    font-size: 2.2em;
  }
  .page-fishing-games-popular-strategy__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games-popular-strategy {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-fishing-games-popular-strategy__container {
    padding: 0 15px;
  }

  /* Hero Section */
  .page-fishing-games-popular-strategy__hero-section {
    min-height: 400px;
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
  }
  .page-fishing-games-popular-strategy__hero-title {
    font-size: 2.2em;
  }
  .page-fishing-games-popular-strategy__hero-description {
    font-size: 1em;
  }

  /* Content Area */
  .page-fishing-games-popular-strategy__content-area {
    padding: 40px 0;
  }
  .page-fishing-games-popular-strategy__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-fishing-games-popular-strategy__sub-title {
    font-size: 1.5em;
  }
  .page-fishing-games-popular-strategy__paragraph {
    font-size: 1em;
  }
  .page-fishing-games-popular-strategy__list-item {
    font-size: 1em;
  }

  /* Image Card Grid */
  .page-fishing-games-popular-strategy__image-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games-popular-strategy__card {
    padding: 20px;
  }

  /* Feature Grid */
  .page-fishing-games-popular-strategy__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games-popular-strategy__feature-item {
    padding: 20px;
  }

  /* FAQ */
  .page-fishing-games-popular-strategy__faq-question {
    font-size: 1.1em;
    padding: 12px 0;
  }
  .page-fishing-games-popular-strategy__faq-answer {
    font-size: 0.95em;
    padding: 0 10px;
  }
  .page-fishing-games-popular-strategy__faq-item.active .page-fishing-games-popular-strategy__faq-answer {
    padding: 12px 10px;
  }

  /* CTA Section */
  .page-fishing-games-popular-strategy__cta-section {
    padding: 60px 15px;
  }
  .page-fishing-games-popular-strategy__cta-title {
    font-size: 2em;
  }
  .page-fishing-games-popular-strategy__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-fishing-games-popular-strategy__btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  /* Mobile image/video/button responsive rules */
  .page-fishing-games-popular-strategy img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce minimum size for content images */
    min-height: 200px !important; /* Enforce minimum size for content images */
  }
  .page-fishing-games-popular-strategy video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-fishing-games-popular-strategy__hero-image-wrapper,
  .page-fishing-games-popular-strategy__content-area,
  .page-fishing-games-popular-strategy__image-card-grid,
  .page-fishing-games-popular-strategy__feature-grid,
  .page-fishing-games-popular-strategy__cta-section,
  .page-fishing-games-popular-strategy__faq-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .page-fishing-games-popular-strategy__btn-primary,
  .page-fishing-games-popular-strategy__btn-large,
  .page-fishing-games-popular-strategy a[class*="button"],
  .page-fishing-games-popular-strategy a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Color Contrast Fixes if needed - ensure WCAG AA */
.page-fishing-games-popular-strategy__dark-bg {
  color: #ffffff;
  background-color: #017439;
}

.page-fishing-games-popular-strategy__light-bg {
  color: #333333;
  background-color: #ffffff;
}

.page-fishing-games-popular-strategy__card,
.page-fishing-games-popular-strategy__feature-item {
  background-color: #f8f8f8;
  color: #333333;
}

.page-fishing-games-popular-strategy__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
}

.page-fishing-games-popular-strategy__hero-title,
.page-fishing-games-popular-strategy__cta-title {
  color: #FFFF00;
}