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

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

.page-fishing-games-recommendations {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--page-bg); /* Page background from custom colors */
  line-height: 1.6;
  padding-top: 0; /* body handles padding-top from header */
}

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

.page-fishing-games-recommendations__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0; /* Adjusted padding to prevent header overlap */
  text-align: center;
  background-color: var(--deep-green);
  overflow: hidden;
}

.page-fishing-games-recommendations__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

.page-fishing-games-recommendations__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text contrast */
  min-height: 400px; /* Ensure hero image is not too small */
}

.page-fishing-games-recommendations__hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  padding: 0 20px;
  color: var(--text-main);
  margin-top: -100px; /* Pull content up slightly over the image for better visual flow, but not overlapping */
}

.page-fishing-games-recommendations__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.6);
}

.page-fishing-games-recommendations__description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-fishing-games-recommendations__btn-primary,
.page-fishing-games-recommendations__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-fishing-games-recommendations__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* Explicit white for contrast */
  border: 2px solid var(--glow-color);
  box-shadow: 0 0 15px var(--glow-color);
}

.page-fishing-games-recommendations__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 25px var(--glow-color);
  transform: translateY(-2px);
}

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

.page-fishing-games-recommendations__btn-secondary:hover {
  background-color: var(--glow-color);
  color: var(--deep-green);
  transform: translateY(-2px);
}

.page-fishing-games-recommendations__section {
  padding: 80px 0;
  border-bottom: 1px solid var(--divider-color);
}

.page-fishing-games-recommendations__section:last-of-type {
  border-bottom: none;
}

.page-fishing-games-recommendations__heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.4);
}

.page-fishing-games-recommendations__text-block {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-fishing-games-recommendations__game-card,
.page-fishing-games-recommendations__promo-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-fishing-games-recommendations__game-card:hover,
.page-fishing-games-recommendations__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 0 0 20px var(--glow-color);
}

.page-fishing-games-recommendations__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.page-fishing-games-recommendations__card-title {
  font-size: 1.5rem;
  color: var(--gold-color);
  padding: 20px 20px 10px;
  font-weight: 600;
}

.page-fishing-games-recommendations__card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games-recommendations__card-title a:hover {
  color: var(--glow-color);
}

.page-fishing-games-recommendations__card-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 0 20px 20px;
  text-align: justify;
}

.page-fishing-games-recommendations__cta-section {
  text-align: center;
  margin-top: 50px;
}

.page-fishing-games-recommendations__list {
  list-style: none;
  padding: 0;
  margin: 20px 0 40px;
  color: var(--text-secondary);
}

.page-fishing-games-recommendations__list li {
  background-color: var(--card-bg);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid var(--primary-color);
  border-radius: 8px;
  font-size: 1.05rem;
  transition: background-color 0.3s ease;
}

.page-fishing-games-recommendations__list li:hover {
  background-color: var(--deep-green);
}

.page-fishing-games-recommendations__list li strong {
  color: var(--gold-color);
}

.page-fishing-games-recommendations__support-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games-recommendations__support-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

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

.page-fishing-games-recommendations__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games-recommendations__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-green);
  transition: background-color 0.3s ease;
}

.page-fishing-games-recommendations__faq-question:hover {
  background-color: var(--primary-color);
}

.page-fishing-games-recommendations__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-color);
  transition: transform 0.3s ease;
}

.page-fishing-games-recommendations__faq-item[open] .page-fishing-games-recommendations__faq-toggle {
  transform: rotate(45deg);
}

.page-fishing-games-recommendations__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: var(--text-secondary);
  background-color: var(--card-bg);
  border-top: 1px solid var(--border-color);
}

/* Ensure details summary marker is hidden */
.page-fishing-games-recommendations__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-fishing-games-recommendations__faq-item summary {
  list-style: none;
}

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

@media (max-width: 768px) {
  .page-fishing-games-recommendations {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-fishing-games-recommendations__hero-section {
    padding: 40px 0;
  }

  .page-fishing-games-recommendations__hero-content {
    margin-top: -60px;
  }

  .page-fishing-games-recommendations__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-fishing-games-recommendations__description {
    font-size: 1rem;
  }

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

  .page-fishing-games-recommendations__btn-primary,
  .page-fishing-games-recommendations__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    margin: 0 auto; /* Center buttons when stacked */
  }

  .page-fishing-games-recommendations__section {
    padding: 50px 0;
  }

  .page-fishing-games-recommendations__heading {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-fishing-games-recommendations__text-block {
    font-size: 0.95rem;
  }

  .page-fishing-games-recommendations__game-grid,
  .page-fishing-games-recommendations__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-fishing-games-recommendations__card-image {
    height: 200px;
  }

  .page-fishing-games-recommendations__card-title {
    font-size: 1.3rem;
  }

  .page-fishing-games-recommendations__card-description {
    font-size: 0.9rem;
  }

  .page-fishing-games-recommendations__list li {
    font-size: 1rem;
    padding: 12px 15px;
  }

  .page-fishing-games-recommendations__support-cta {
    flex-direction: column;
    gap: 20px;
  }

  .page-fishing-games-recommendations__faq-question {
    font-size: 1.05rem;
    padding: 15px 20px;
  }

  .page-fishing-games-recommendations__faq-answer {
    font-size: 0.95rem;
    padding: 12px 20px 15px;
  }

  /* Mobile image and container responsiveness */
  .page-fishing-games-recommendations img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games-recommendations__section,
  .page-fishing-games-recommendations__card,
  .page-fishing-games-recommendations__container,
  .page-fishing-games-recommendations__hero-image-wrapper,
  .page-fishing-games-recommendations__game-card,
  .page-fishing-games-recommendations__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure content doesn't overflow */
  }
  
  .page-fishing-games-recommendations__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-fishing-games-recommendations__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-fishing-games-recommendations__video-section { /* No video section on this page, but keeping for general compliance */
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* If there were video elements (not present in this specific page, but for compliance) */
  .page-fishing-games-recommendations video,
  .page-fishing-games-recommendations__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games-recommendations__video-section,
  .page-fishing-games-recommendations__video-container,
  .page-fishing-games-recommendations__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

/* Contrast Fixes (if needed, applied based on content and background) */
/* The current design uses dark background and light text, so contrast is generally good */
/* If any specific element has low contrast, apply these */
.page-fishing-games-recommendations__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-fishing-games-recommendations__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}