.page-fishing-games {
  padding-top: 10px; /* Small top padding to avoid header overlap, body handles --header-offset */
  background-color: #F4F7FB;
  color: #1F2D3D;
}

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

.page-fishing-games__hero-section {
  display: flex;
  flex-direction: column; /* Enforce image on top, content below */
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
  color: #FFFFFF;
  border-radius: 10px;
  margin-bottom: 40px;
}

.page-fishing-games__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 20px;
}

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

.page-fishing-games__hero-content {
  width: 100%;
  max-width: 900px;
}

.page-fishing-games__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 15px;
  /* No fixed font-size, rely on responsive scaling */
}

.page-fishing-games__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-fishing-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Ensure button is not too small */
  text-align: center;
}

.page-fishing-games__cta-button:hover {
  background: linear-gradient(180deg, #6FA3FF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
}

.page-fishing-games__overview-section,
.page-fishing-games__features-section,
.page-fishing-games__game-types-section,
.page-fishing-games__cta-section {
  padding: 40px 0;
  margin-bottom: 20px;
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-fishing-games__section-description {
  font-size: 1.05em;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #1F2D3D;
}

.page-fishing-games__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-fishing-games__feature-item {
  background-color: #F4F7FB;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 400px; /* Ensure sufficient height for content */
}

.page-fishing-games__feature-image {
  width: 100%;
  max-width: 400px; /* Adjust based on display width */
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px;
}

.page-fishing-games__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #000000;
  margin-bottom: 10px;
}

.page-fishing-games__feature-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #1F2D3D;
}

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

.page-fishing-games__game-card {
  background-color: #F4F7FB;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 350px; /* Ensure sufficient height */
}

.page-fishing-games__game-card-image {
  width: 100%;
  max-width: 300px; /* Adjust based on display width */
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px;
}

.page-fishing-games__game-card-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #000000;
  margin-bottom: 10px;
}

.page-fishing-games__game-link {
  color: #000000; /* Use black for link text within card title */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-fishing-games__game-link:hover {
  color: #2F6BFF;
}

.page-fishing-games__game-card-description {
  font-size: 0.9em;
  line-height: 1.5;
  color: #1F2D3D;
  flex-grow: 1;
  margin-bottom: 15px;
}

.page-fishing-games__game-card-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__game-card-button:hover {
  background: linear-gradient(180deg, #6FA3FF 0%, #4A8BFF 100%);
  transform: translateY(-1px);
}

.page-fishing-games__cta-button--large {
  padding: 18px 35px;
  font-size: 1.1em;
  margin-top: 20px;
}

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

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding: 30px 15px;
  }
  .page-fishing-games__main-title {
    font-size: 2em; /* Smaller on mobile, but not fixed */
  }
  .page-fishing-games__hero-description {
    font-size: 1em;
  }
  .page-fishing-games__section-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-description {
    font-size: 0.95em;
  }
  .page-fishing-games__cta-button {
    width: 100%;
    max-width: 300px;
  }
  .page-fishing-games__feature-list,
  .page-fishing-games__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-fishing-games__feature-item,
  .page-fishing-games__game-card {
    padding: 20px;
  }
  .page-fishing-games__hero-image,
  .page-fishing-games__feature-image,
  .page-fishing-games__game-card-image {
    max-width: 100%;
    height: auto; /* Crucial for preventing overflow */
  }
  .page-fishing-games__hero-image-wrapper {
    margin-bottom: 15px;
  }
  .page-fishing-games__overview-section,
  .page-fishing-games__features-section,
  .page-fishing-games__game-types-section,
  .page-fishing-games__cta-section {
    padding: 30px 0;
  }
}

@media (max-width: 480px) {
  .page-fishing-games__main-title {
    font-size: 1.8em;
  }
  .page-fishing-games__section-title {
    font-size: 1.6em;
  }
  .page-fishing-games__feature-item {
    min-height: 350px;
  }
  .page-fishing-games__game-card {
    min-height: 300px;
  }
}

/* Ensure content images are not too small */
.page-fishing-games img:not(.page-fishing-games__hero-image) {
  min-width: 200px;
  min-height: 200px;
}