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

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

.page-fishing-games__section {
  padding: 60px 0;
}

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

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

.page-fishing-games__section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
  color: #017439; /* Default for light backgrounds */
}

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

.page-fishing-games__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: -20px auto 40px auto;
  color: #ffffff;
}

.page-fishing-games__article-body {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
}

.page-fishing-games__article-body p {
  margin-bottom: 1em;
}

.page-fishing-games__article-body ul,
.page-fishing-games__article-body ol {
  margin-bottom: 1em;
  padding-left: 25px;
}

.page-fishing-games__article-body li {
  margin-bottom: 0.5em;
}

.page-fishing-games__article-figure {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Hero Section */
.page-fishing-games__hero-section {
  padding-top: 10px; /* Small top padding, assuming body handles header offset */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 500px;
}

.page-fishing-games__hero-image {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.page-fishing-games__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
}

.page-fishing-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 15px;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  border-radius: 10px;
  margin-top: -100px; /* Overlap slightly for visual effect */
  margin-bottom: 40px;
}

.page-fishing-games__main-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-fishing-games__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  color: #f0f0f0;
  margin-bottom: 30px;
}

.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-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-fishing-games__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
  transform: translateY(-2px);
}

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

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

/* Product Grid Section */
.page-fishing-games__products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-fishing-games__product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-fishing-games__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-fishing-games__card-description {
  font-size: 15px;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

.page-fishing-games__btn-primary--small,
.page-fishing-games__btn-secondary--small {
  padding: 10px 20px;
  font-size: 16px;
}

/* Benefit List */
.page-fishing-games__benefit-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__benefit-item {
  background-color: #f9f9f9;
  border-left: 5px solid #017439;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-fishing-games__benefit-heading {
  font-size: 20px;
  color: #017439;
  margin-bottom: 10px;
}

/* Guide List */
.page-fishing-games__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__guide-item {
  background-color: #005a2d;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  color: #ffffff;
}

.page-fishing-games__guide-heading {
  font-size: 20px;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.page-fishing-games__guide-item p {
  color: #e0e0e0;
}

/* Promotion List */
.page-fishing-games__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-fishing-games__promo-item {
  background-color: #f9f9f9;
  border-bottom: 1px dashed #e0e0e0;
  padding: 20px 0;
}

.page-fishing-games__promo-item:last-child {
  border-bottom: none;
}

.page-fishing-games__promo-heading {
  font-size: 20px;
  color: #017439;
  margin-bottom: 8px;
}

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

/* FAQ Section */
details.page-fishing-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #005a2d;
  overflow: hidden;
  background: #005a2d;
  color: #ffffff;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
  background: #004a25;
}
.page-fishing-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #ffffff;
}
.page-fishing-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
  padding: 0 20px 20px;
  background: #004a25;
  border-radius: 0 0 5px 5px;
  color: #e0e0e0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-fishing-games__hero-content {
    margin-top: -80px;
    padding: 30px 15px;
  }
  .page-fishing-games__main-title {
    font-size: clamp(32px, 4.5vw, 48px);
  }
  .page-fishing-games__hero-description {
    font-size: clamp(16px, 2.2vw, 20px);
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-fishing-games__products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-fishing-games__benefit-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-fishing-games__hero-section {
    padding-top: 10px; /* Consistent small top padding */
    min-height: 400px;
  }
  .page-fishing-games__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    height: auto !important;
    width: 100% !important;
  }
  .page-fishing-games__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-fishing-games__main-title {
    font-size: clamp(28px, 8vw, 36px);
    margin-bottom: 15px;
  }
  .page-fishing-games__hero-description {
    font-size: clamp(15px, 4vw, 18px);
    margin-bottom: 20px;
  }
  .page-fishing-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-fishing-games__btn-primary,
  .page-fishing-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    font-size: 16px;
  }

  .page-fishing-games__section {
    padding: 40px 0;
  }
  .page-fishing-games__section-title {
    font-size: clamp(24px, 7vw, 30px);
    margin-bottom: 30px;
  }
  .page-fishing-games__section-description {
    font-size: 16px;
    margin: -15px auto 30px auto;
  }
  .page-fishing-games__article-body {
    font-size: 16px;
    padding: 0 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-fishing-games__article-body p,
  .page-fishing-games__article-body ul,
  .page-fishing-games__article-body ol {
    padding: 0 5px;
  }
  .page-fishing-games__article-figure {
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Product Grid */
  .page-fishing-games__products-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    gap: 20px;
    overflow-x: hidden !important;
    padding: 0 10px;
  }
  .page-fishing-games__product-card {
    padding-bottom: 15px;
  }
  .page-fishing-games__product-card img {
    
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-fishing-games__card-title {
    font-size: 18px;
  }
  .page-fishing-games__card-description {
    font-size: 14px;
  }

  /* Benefit List */
  .page-fishing-games__benefit-list {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 10px;
  }
  .page-fishing-games__benefit-item {
    padding: 20px;
  }
  .page-fishing-games__benefit-heading {
    font-size: 18px;
  }

  /* Guide List & Promo List */
  .page-fishing-games__guide-item,
  .page-fishing-games__promo-item {
    padding: 15px;
    font-size: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-fishing-games__guide-heading,
  .page-fishing-games__promo-heading {
    font-size: 18px;
  }
  .page-fishing-games__guide-list, .page-fishing-games__promo-list {
    padding: 0 10px;
  }

  /* FAQ */
  details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
    padding: 15px;
  }
  .page-fishing-games__faq-qtext {
    font-size: 16px;
  }
  .page-fishing-games__faq-toggle {
    font-size: 20px;
  }
  details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 15px 15px;
  }
  .page-fishing-games__faq-list {
    padding: 0 10px;
  }

  /* General Image & Container rules for mobile */
  .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,
  .page-fishing-games__cta-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}