/* style/fishing-games-popular-recommendations.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-dark: #26A9E0;
  --btn-login: #EA7C07;
}

/* Body background is light (#FFFFFF), so default text color should be dark */
.page-fishing-games-popular-recommendations {
  font-family: Arial, sans-serif;
  color: var(--text-dark); /* Default text color for light background */
  line-height: 1.6;
  background-color: var(--bg-light); /* Ensure consistency with body background */
}

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

.page-fishing-games-popular-recommendations__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-fishing-games-popular-recommendations__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.page-fishing-games-popular-recommendations__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.8); /* Slightly dim the image for text contrast, without changing color */
}

.page-fishing-games-popular-recommendations__hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over the image slightly */
  background: rgba(255, 255, 255, 0.9); /* Semi-transparent white background for text readability */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-fishing-games-popular-recommendations__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.page-fishing-games-popular-recommendations__hero-description {
  font-size: 1.1em;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.page-fishing-games-popular-recommendations__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-fishing-games-popular-recommendations__btn-primary,
.page-fishing-games-popular-recommendations__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  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;
}

.page-fishing-games-popular-recommendations__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-fishing-games-popular-recommendations__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

.page-fishing-games-popular-recommendations__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-fishing-games-popular-recommendations__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-fishing-games-popular-recommendations__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-fishing-games-popular-recommendations__btn-large {
  padding: 15px 30px;
  font-size: 1.1em;
}

.page-fishing-games-popular-recommendations__introduction-section,
.page-fishing-games-popular-recommendations__strategy-guide,
.page-fishing-games-popular-recommendations__security-section,
.page-fishing-games-popular-recommendations__conclusion-section {
  padding: 60px 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-fishing-games-popular-recommendations__games-showcase,
.page-fishing-games-popular-recommendations__promotions-section,
.page-fishing-games-popular-recommendations__faq-section {
  padding: 60px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-fishing-games-popular-recommendations__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: inherit;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-fishing-games-popular-recommendations__introduction-section .page-fishing-games-popular-recommendations__section-title,
.page-fishing-games-popular-recommendations__strategy-guide .page-fishing-games-popular-recommendations__section-title,
.page-fishing-games-popular-recommendations__security-section .page-fishing-games-popular-recommendations__section-title,
.page-fishing-games-popular-recommendations__conclusion-section .page-fishing-games-popular-recommendations__section-title {
  color: var(--primary-color);
}

.page-fishing-games-popular-recommendations__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games-popular-recommendations__text-center {
  text-align: center;
}

.page-fishing-games-popular-recommendations__feature-grid,
.page-fishing-games-popular-recommendations__game-grid,
.page-fishing-games-popular-recommendations__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-fishing-games-popular-recommendations__feature-item,
.page-fishing-games-popular-recommendations__game-card,
.page-fishing-games-popular-recommendations__promo-card {
  background-color: var(--bg-light);
  color: var(--text-dark);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-fishing-games-popular-recommendations__feature-icon,
.page-fishing-games-popular-recommendations__game-image,
.page-fishing-games-popular-recommendations__promo-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px; /* Minimum image size */
}

.page-fishing-games-popular-recommendations__feature-title,
.page-fishing-games-popular-recommendations__card-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games-popular-recommendations__feature-description,
.page-fishing-games-popular-recommendations__card-description {
  font-size: 0.95em;
  color: var(--text-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-fishing-games-popular-recommendations__guide-item {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 25px;
}

.page-fishing-games-popular-recommendations__guide-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games-popular-recommendations__guide-item p,
.page-fishing-games-popular-recommendations__guide-item ul {
  margin-bottom: 15px;
}

.page-fishing-games-popular-recommendations__guide-item ul {
  list-style-type: disc;
  margin-left: 20px;
}

.page-fishing-games-popular-recommendations__guide-item li {
  margin-bottom: 8px;
}

.page-fishing-games-popular-recommendations__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-fishing-games-popular-recommendations__security-item {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-fishing-games-popular-recommendations__security-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games-popular-recommendations__faq-list {
  margin-top: 30px;
}

.page-fishing-games-popular-recommendations__faq-item {
  background-color: var(--bg-light);
  color: var(--text-dark);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-fishing-games-popular-recommendations__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-fishing-games-popular-recommendations__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

.page-fishing-games-popular-recommendations__faq-question:hover {
  background-color: #f0f0f0;
}

.page-fishing-games-popular-recommendations__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games-popular-recommendations__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-fishing-games-popular-recommendations__faq-answer {
  padding: 15px 25px;
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #f9f9f9;
}

.page-fishing-games-popular-recommendations__faq-answer p {
  margin-bottom: 10px;
}

.page-fishing-games-popular-recommendations__faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-fishing-games-popular-recommendations__faq-answer a:hover {
  text-decoration: underline;
}

/* Ensure dark background sections have light text */
.page-fishing-games-popular-recommendations__dark-bg {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-fishing-games-popular-recommendations__dark-bg .page-fishing-games-popular-recommendations__section-title {
  color: var(--text-light);
}

.page-fishing-games-popular-recommendations__dark-bg .page-fishing-games-popular-recommendations__text-block {
  color: var(--text-light);
}

.page-fishing-games-popular-recommendations__dark-bg a {
  color: var(--secondary-color);
}

.page-fishing-games-popular-recommendations__dark-bg a:hover {
  color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-fishing-games-popular-recommendations__hero-content {
    margin-top: -100px;
  }
}

@media (max-width: 768px) {
  .page-fishing-games-popular-recommendations__container {
    padding: 0 15px; /* Add padding for mobile containers */
  }

  .page-fishing-games-popular-recommendations__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-fishing-games-popular-recommendations__hero-content {
    margin-top: -80px;
    padding: 15px;
    border-radius: 8px;
  }

  .page-fishing-games-popular-recommendations__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 10px;
  }

  .page-fishing-games-popular-recommendations__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-fishing-games-popular-recommendations__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-fishing-games-popular-recommendations__btn-primary,
  .page-fishing-games-popular-recommendations__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games-popular-recommendations__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-fishing-games-popular-recommendations__introduction-section,
  .page-fishing-games-popular-recommendations__games-showcase,
  .page-fishing-games-popular-recommendations__strategy-guide,
  .page-fishing-games-popular-recommendations__promotions-section,
  .page-fishing-games-popular-recommendations__security-section,
  .page-fishing-games-popular-recommendations__faq-section,
  .page-fishing-games-popular-recommendations__conclusion-section {
    padding: 40px 0;
  }

  .page-fishing-games-popular-recommendations__feature-grid,
  .page-fishing-games-popular-recommendations__game-grid,
  .page-fishing-games-popular-recommendations__promo-grid,
  .page-fishing-games-popular-recommendations__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games-popular-recommendations__feature-item,
  .page-fishing-games-popular-recommendations__game-card,
  .page-fishing-games-popular-recommendations__promo-card,
  .page-fishing-games-popular-recommendations__security-item,
  .page-fishing-games-popular-recommendations__guide-item {
    padding: 20px;
  }

  .page-fishing-games-popular-recommendations__feature-icon,
  .page-fishing-games-popular-recommendations__game-image,
  .page-fishing-games-popular-recommendations__promo-image,
  .page-fishing-games-popular-recommendations img { /* All images */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-height: 200px !important; /* Enforce min size even on mobile */
  }

  .page-fishing-games-popular-recommendations__text-block {
    text-align: left;
  }

  /* Containers for images/videos must prevent overflow */
  .page-fishing-games-popular-recommendations__hero-image-wrapper,
  .page-fishing-games-popular-recommendations__feature-item,
  .page-fishing-games-popular-recommendations__game-card,
  .page-fishing-games-popular-recommendations__promo-card,
  .page-fishing-games-popular-recommendations__container,
  .page-fishing-games-popular-recommendations__video-section,
  .page-fishing-games-popular-recommendations__video-container,
  .page-fishing-games-popular-recommendations__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Crucial for preventing horizontal scroll */
  }

  .page-fishing-games-popular-recommendations__faq-question {
    padding: 15px 20px;
  }

  .page-fishing-games-popular-recommendations__faq-answer {
    padding: 10px 20px;
  }
}

/* General link styling */
.page-fishing-games-popular-recommendations a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-fishing-games-popular-recommendations a:hover {
  text-decoration: underline;
}