.page-fishing-games {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
}

.page-fishing-games__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-fishing-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-fishing-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0;
  text-align: center;
  overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.page-fishing-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: -150px; /* Adjust to overlap slightly without obscuring */
  padding: 40px;
  background: rgba(255, 255, 255, 0.95); /* Semi-transparent white background for readability */
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  color: #333333;
  text-align: center;
}

.page-fishing-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-fishing-games__subtitle {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #555555;
}

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

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

.page-fishing-games__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-fishing-games__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-fishing-games__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87c0;
  border-color: #1e87c0;
}

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

.page-fishing-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-fishing-games__section-title--light {
  color: #ffffff;
}

.page-fishing-games__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-fishing-games__text-block--light {
  color: #f0f0f0;
}

.page-fishing-games__highlight-text {
  color: #EA7C07;
  font-weight: bold;
}

.page-fishing-games__inline-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-fishing-games__inline-link--light {
  color: #ffffff;
}

.page-fishing-games__features-grid,
.page-fishing-games__game-cards-grid,
.page-fishing-games__promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-fishing-games__feature-card,
.page-fishing-games__game-card,
.page-fishing-games__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #333333;
}

.page-fishing-games__feature-image,
.page-fishing-games__game-image,
.page-fishing-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  display: block;
}

.page-fishing-games__card-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #26A9E0;
  margin: 0 15px 10px 15px;
}

.page-fishing-games__card-text {
  font-size: 0.95rem;
  color: #555555;
  padding: 0 15px;
  flex-grow: 1;
}

.page-fishing-games__card-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #EA7C07;
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-fishing-games__card-button:hover {
  background-color: #c96706;
}

.page-fishing-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-fishing-games__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  color: #333333;
}

.page-fishing-games__step-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-fishing-games__cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-fishing-games__strategy-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-fishing-games__strategy-list li {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 5px;
  font-size: 1rem;
  line-height: 1.5;
}

.page-fishing-games__list-highlight {
  color: #EA7C07;
}

.page-fishing-games__faq-list {
  margin-top: 30px;
}

.page-fishing-games__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #eaf6fd; /* Lighter background for summary */
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #26A9E0;
}

.page-fishing-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

/* Ensure images are responsive */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 10px 0 40px 0; /* body handles top padding */
  }

  .page-fishing-games__hero-content {
    margin-top: -80px;
    padding: 20px;
    max-width: calc(100% - 30px);
  }

  .page-fishing-games__main-title {
    font-size: 2rem;
  }

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

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

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games__container {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

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

  .page-fishing-games__feature-image,
  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    height: 180px;
  }

  .page-fishing-games__card-title {
    font-size: 1.15rem;
  }

  .page-fishing-games__card-text {
    font-size: 0.9rem;
  }

  .page-fishing-games__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-fishing-games__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.9rem;
  }

  /* Mobile specific image and video rules */
  .page-fishing-games img,
  .page-fishing-games video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-fishing-games__hero-image-wrapper,
  .page-fishing-games__features-grid,
  .page-fishing-games__game-cards-grid,
  .page-fishing-games__promo-cards-grid,
  .page-fishing-games__steps-grid,
  .page-fishing-games__video-section,
  .page-fishing-games__video-container,
  .page-fishing-games__video-wrapper,
  .page-fishing-games__feature-card,
  .page-fishing-games__game-card,
  .page-fishing-games__promo-card,
  .page-fishing-games__step-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

@media (max-width: 480px) {
  .page-fishing-games__hero-content {
    margin-top: -60px;
    padding: 15px;
  }

  .page-fishing-games__main-title {
    font-size: 1.8rem;
  }

  .page-fishing-games__subtitle {
    font-size: 0.9rem;
  }

  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 10px 15px;
    font-size: 0.95rem;
  }

  .page-fishing-games__section-title {
    font-size: 1.6rem;
  }

  .page-fishing-games__feature-image,
  .page-fishing-games__game-image,
  .page-fishing-games__promo-image {
    height: 160px;
  }
}