.page-fishing-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* Background color from custom palette */
}

.page-fishing-games__hero-section {
  padding-top: 10px; /* Small top padding, assuming body has header offset */
  padding-bottom: 60px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Brand gradient */
  color: #ffffff;
  text-align: center;
}

.page-fishing-games__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  gap: 40px;
}

.page-fishing-games__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: left;
}

.page-fishing-games__hero-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-fishing-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-fishing-games__hero-cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-fishing-games__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-fishing-games__hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
}

.page-fishing-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #E53935;
  text-align: center;
  margin-bottom: 20px;
}

.page-fishing-games__section-description {
  font-size: 1.1em;
  color: #333333;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__intro-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-fishing-games__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-fishing-games__feature-item {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__icon-box-media {
  width: 240px;
  height: 240px;
  aspect-ratio: 1/1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #FF5A4F;
  box-shadow: 0 0 0 8px rgba(255, 90, 79, 0.2);
}

.page-fishing-games__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-fishing-games__feature-title {
  font-size: 1.5em;
  color: #E53935;
  margin-bottom: 15px;
}

.page-fishing-games__feature-text {
  color: #333333;
  font-size: 1em;
}

.page-fishing-games__game-list-section {
  padding: 60px 0;
  background-color: #F5F7FA;
}

.page-fishing-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.page-fishing-games__game-card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-fishing-games__game-card-title {
  font-size: 1.6em;
  color: #E53935;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-fishing-games__game-card-text {
  color: #333333;
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 20px;
}

.page-fishing-games__guide-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-fishing-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-fishing-games__guide-item {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__guide-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games__guide-title {
  font-size: 1.4em;
  color: #E53935;
  margin-bottom: 10px;
}

.page-fishing-games__guide-text {
  color: #333333;
  font-size: 1em;
}

.page-fishing-games__promo-section {
  padding: 60px 0;
  background-color: #F5F7FA;
}

.page-fishing-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.page-fishing-games__promo-card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.page-fishing-games__promo-card img {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-fishing-games__promo-card-title {
  font-size: 1.6em;
  color: #E53935;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-fishing-games__promo-card-text {
  color: #333333;
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 20px;
}

.page-fishing-games__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-fishing-games__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-fishing-games__faq-item {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #E0E0E0;
  list-style: none;
}

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

.page-fishing-games__faq-qtext {
  flex-grow: 1;
}

.page-fishing-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #E53935;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
  background-color: #ededed;
}

.page-fishing-games__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1em;
  color: #555555;
}

.page-fishing-games__faq-answer p {
  margin-bottom: 0;
}

.page-fishing-games__cta-section {
  padding: 60px 0;
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%); /* Brand gradient */
  text-align: center;
  color: #ffffff;
}

.page-fishing-games__cta-section .page-fishing-games__section-title,
.page-fishing-games__cta-section .page-fishing-games__section-description {
  color: #ffffff;
}

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

.page-fishing-games__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
}

.page-fishing-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
  background: #f0f0f0;
  color: #E53935;
  transform: translateY(-2px);
}

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

/* General image responsive styles */
.page-fishing-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-title {
    font-size: 2.8em;
  }

  .page-fishing-games__hero-description {
    font-size: 1.1em;
  }

  .page-fishing-games__section-title {
    font-size: 2em;
  }
}

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

  /* HERO Section */
  .page-fishing-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-fishing-games__hero-container {
    flex-direction: column;
    padding: 30px 15px;
    gap: 30px;
  }

  .page-fishing-games__hero-content {
    text-align: center;
    flex: 1 1 100%;
  }

  .page-fishing-games__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-fishing-games__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-fishing-games__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-fishing-games__hero-image {
    flex: 1 1 100%;
    width: 100%;
    padding: 0 15px;
  }

  /* Module 1 - Intro Section (Feature Grid) */
  .page-fishing-games__intro-section,
  .page-fishing-games__game-list-section,
  .page-fishing-games__guide-section,
  .page-fishing-games__promo-section,
  .page-fishing-games__faq-section,
  .page-fishing-games__cta-section {
    padding: 40px 0;
  }

  .page-fishing-games__container {
    padding: 0 15px;
  }

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

  .page-fishing-games__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-fishing-games__feature-grid,
  .page-fishing-games__game-grid,
  .page-fishing-games__guide-steps,
  .page-fishing-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games__icon-box-media {
    width: 180px; /* Maintain aspect ratio */
    height: 180px; /* Maintain aspect ratio */
    margin-bottom: 15px;
  }

  .page-fishing-games__feature-title,
  .page-fishing-games__game-card-title,
  .page-fishing-games__guide-title,
  .page-fishing-games__promo-card-title {
    font-size: 1.3em;
  }

  .page-fishing-games__game-card img,
  .page-fishing-games__promo-card img {
     /* Adjust image height for mobile cards */
  }

  /* FAQ Section */
  .page-fishing-games__faq-list {
    padding: 0 15px;
  }

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

  .page-fishing-games__faq-answer {
    padding: 10px 20px 20px;
    font-size: 0.95em;
  }

  /* Buttons & Button Containers */
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary,
  .page-fishing-games a[class*="button"],
  .page-fishing-games 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 !important;
    padding-right: 15px !important;
  }

  .page-fishing-games__hero-cta-buttons,
  .page-fishing-games__button-group,
  .page-fishing-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }

  .page-fishing-games__btn-large {
    font-size: 1.1em;
    padding: 15px 25px;
  }

  /* General content images and containers */
  .page-fishing-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games__section,
  .page-fishing-games__card,
  .page-fishing-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}