/* style/fishing-games-popular-strategy.css */

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

.page-fishing-games-popular-strategy {
  background-color: var(--r98-background);
  color: var(--r98-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-fishing-games-popular-strategy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* body handles --header-offset, this is for visual spacing */
  box-sizing: border-box;
  overflow: hidden;
}

.page-fishing-games-popular-strategy__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.page-fishing-games-popular-strategy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-fishing-games-popular-strategy__hero-content {
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
  padding: 20px;
  background: var(--r98-card-bg);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--r98-border);
}

.page-fishing-games-popular-strategy__main-title {
  color: var(--r98-gold);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 15px;
  max-width: 100%;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-fishing-games-popular-strategy__subtitle {
  color: var(--r98-text-secondary);
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-fishing-games-popular-strategy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-fishing-games-popular-strategy__btn-primary,
.page-fishing-games-popular-strategy__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

.page-fishing-games-popular-strategy__btn-primary {
  background: var(--r98-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-fishing-games-popular-strategy__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
}

.page-fishing-games-popular-strategy__btn-secondary {
  background: var(--r98-card-bg);
  color: var(--r98-primary-color);
  border: 2px solid var(--r98-primary-color);
}

.page-fishing-games-popular-strategy__btn-secondary:hover {
  background: var(--r98-primary-color);
  color: #ffffff;
  transform: translateY(-3px);
}

/* General Section Styling */
.page-fishing-games-popular-strategy__section {
  padding: 40px 20px;
  margin-bottom: 30px;
  box-sizing: border-box;
}

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

.page-fishing-games-popular-strategy__section-title {
  color: var(--r98-primary-color);
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(17, 168, 78, 0.3);
}

.page-fishing-games-popular-strategy__text-block {
  color: var(--r98-text-main);
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
}

/* Content Grid for Why r98 section */
.page-fishing-games-popular-strategy__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-fishing-games-popular-strategy__card {
  background: var(--r98-card-bg);
  border: 1px solid var(--r98-border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  color: var(--r98-text-main);
}

.page-fishing-games-popular-strategy__card:hover {
  transform: translateY(-5px);
}

.page-fishing-games-popular-strategy__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-fishing-games-popular-strategy__card-title {
  color: var(--r98-primary-color);
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games-popular-strategy__card-text {
  color: var(--r98-text-secondary);
  font-size: 0.95em;
}

/* Strategy Items */
.page-fishing-games-popular-strategy__strategy-item {
  background: var(--r98-card-bg);
  border: 1px solid var(--r98-border);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--r98-text-main);
}

.page-fishing-games-popular-strategy__strategy-title {
  color: var(--r98-gold);
  font-size: 1.6em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-fishing-games-popular-strategy__strategy-image {
  width: 100%;
  height: auto;
  max-height: 400px; /* Limit height for larger screens */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

/* Lists */
.page-fishing-games-popular-strategy__list {
  list-style-type: disc;
  padding-left: 30px;
  margin-bottom: 20px;
  color: var(--r98-text-main);
}

.page-fishing-games-popular-strategy__numbered-list {
  list-style-type: decimal;
  padding-left: 30px;
  margin-bottom: 20px;
  color: var(--r98-text-main);
}

.page-fishing-games-popular-strategy__list-item {
  margin-bottom: 10px;
  color: var(--r98-text-secondary);
}

.page-fishing-games-popular-strategy__list-item strong {
  color: var(--r98-primary-color);
}

/* Feature Grid */
.page-fishing-games-popular-strategy__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-fishing-games-popular-strategy__feature-item {
  background: var(--r98-deep-green);
  border: 1px solid var(--r98-border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--r98-text-main);
}

.page-fishing-games-popular-strategy__feature-icon {
  width: 100%;
  height: 200px; /* Enforce minimum size */
  object-fit: contain;
  margin-bottom: 15px;
  display: block;
}

.page-fishing-games-popular-strategy__feature-title {
  color: var(--r98-gold);
  font-size: 1.3em;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games-popular-strategy__feature-description {
  color: var(--r98-text-secondary);
  font-size: 0.95em;
}

/* CTA Center */
.page-fishing-games-popular-strategy__cta-center {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

/* FAQ Section */
.page-fishing-games-popular-strategy__faq-section {
  background-color: var(--r98-deep-green);
  padding: 60px 20px;
  border-top: 1px solid var(--r98-divider);
}

.page-fishing-games-popular-strategy__faq-list {
  margin-top: 30px;
}

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

.page-fishing-games-popular-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--r98-primary-color);
  background: var(--r98-card-bg);
  transition: background-color 0.3s ease;
}

.page-fishing-games-popular-strategy__faq-question:hover {
  background-color: var(--r98-deep-green);
}

.page-fishing-games-popular-strategy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--r98-gold);
}

/* For <details> tag, hide default marker */
.page-fishing-games-popular-strategy__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-fishing-games-popular-strategy__faq-item summary {
  list-style: none;
}

.page-fishing-games-popular-strategy__faq-answer {
  padding: 0 25px 20px;
  color: var(--r98-text-secondary);
  font-size: 1em;
  line-height: 1.7;
}

.page-fishing-games-popular-strategy__faq-answer .page-fishing-games-popular-strategy__text-block {
  margin-bottom: 10px;
}

.page-fishing-games-popular-strategy__faq-link {
  color: var(--r98-secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-fishing-games-popular-strategy__faq-link:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-fishing-games-popular-strategy__main-title {
    font-size: 2.5em;
  }

  .page-fishing-games-popular-strategy__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-fishing-games-popular-strategy__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-fishing-games-popular-strategy__hero-content {
    padding: 15px;
  }

  .page-fishing-games-popular-strategy__main-title {
    font-size: clamp(2em, 8vw, 2.5em); /* Responsive H1 font size */
    margin-bottom: 10px;
  }

  .page-fishing-games-popular-strategy__subtitle {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-fishing-games-popular-strategy__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-fishing-games-popular-strategy__btn-primary,
  .page-fishing-games-popular-strategy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-fishing-games-popular-strategy__section {
    padding: 30px 15px;
  }

  .page-fishing-games-popular-strategy__container {
    padding: 0;
  }

  .page-fishing-games-popular-strategy__section-title {
    font-size: 1.6em;
    margin-bottom: 20px;
  }

  .page-fishing-games-popular-strategy__text-block {
    font-size: 0.95em;
  }

  .page-fishing-games-popular-strategy__content-grid,
  .page-fishing-games-popular-strategy__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-fishing-games-popular-strategy__card,
  .page-fishing-games-popular-strategy__strategy-item,
  .page-fishing-games-popular-strategy__feature-item {
    padding: 20px;
  }

  .page-fishing-games-popular-strategy__card-image,
  .page-fishing-games-popular-strategy__strategy-image,
  .page-fishing-games-popular-strategy__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce min image size */
    min-height: 200px !important;
  }

  .page-fishing-games-popular-strategy__card-image {
    height: 200px !important;
  }

  .page-fishing-games-popular-strategy__feature-icon {
    height: 150px !important;
  }

  .page-fishing-games-popular-strategy__faq-section {
    padding: 40px 15px;
  }

  .page-fishing-games-popular-strategy__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-fishing-games-popular-strategy__faq-answer {
    padding: 0 20px 15px;
  }

  .page-fishing-games-popular-strategy__list,
  .page-fishing-games-popular-strategy__numbered-list {
    padding-left: 20px;
  }

  /* Ensure all containers are responsive */
  .page-fishing-games-popular-strategy__section,
  .page-fishing-games-popular-strategy__card,
  .page-fishing-games-popular-strategy__container,
  .page-fishing-games-popular-strategy__hero-section,
  .page-fishing-games-popular-strategy__hero-image-wrapper,
  .page-fishing-games-popular-strategy__hero-content,
  .page-fishing-games-popular-strategy__cta-buttons,
  .page-fishing-games-popular-strategy__content-grid,
  .page-fishing-games-popular-strategy__strategy-item,
  .page-fishing-games-popular-strategy__feature-grid,
  .page-fishing-games-popular-strategy__feature-item,
  .page-fishing-games-popular-strategy__faq-section,
  .page-fishing-games-popular-strategy__faq-list,
  .page-fishing-games-popular-strategy__faq-item,
  .page-fishing-games-popular-strategy__faq-answer {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-fishing-games-popular-strategy__container.page-fishing-games-popular-strategy__container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-fishing-games-popular-strategy__hero-image-wrapper,
  .page-fishing-games-popular-strategy__hero-content {
    padding-left: 0;
    padding-right: 0;
  }
}