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

/* General styles for the page content */
.page-fishing-games-popular-titles {
  font-family: Arial, sans-serif;
  color: #FFF1E8; /* Main text color for dark background */
  background-color: #140C0C; /* Page background color */
  line-height: 1.6;
}

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

.page-fishing-games-popular-titles__section-title {
  font-size: 32px;
  color: #F3C54D; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 10px;
}

.page-fishing-games-popular-titles__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #E53030; /* Auxiliary color for underline */
  border-radius: 2px;
}

.page-fishing-games-popular-titles__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-fishing-games-popular-titles__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding for the first section */
  background-color: #0d0d0d; /* Slightly darker background for hero */
}

.page-fishing-games-popular-titles__hero-image-wrapper {
  width: 100%;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
}

.page-fishing-games-popular-titles__hero-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-fishing-games-popular-titles__hero-content {
  padding: 60px 20px;
  text-align: center;
  background-color: #140C0C; /* Dark background for content below image */
  border-bottom: 3px solid #E53030;
}

.page-fishing-games-popular-titles__main-title {
  color: #F3C54D; /* Gold color for H1 */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  /* H1 font size controlled by clamp for responsiveness */
  font-size: clamp(28px, 4vw, 48px);
}

.page-fishing-games-popular-titles__hero-description {
  font-size: 18px;
  color: #FFF1E8;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games-popular-titles__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #FFF1E8; /* Text Main for button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
  max-width: 100%; /* Ensure button adapts to width */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games-popular-titles__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 176, 74, 0.6);
}

/* Intro Section */
.page-fishing-games-popular-titles__intro-section {
  padding: 60px 0;
  background-color: #140C0C;
  border-bottom: 1px solid #6A1E1E; /* Border color */
}

/* Games Showcase Section */
.page-fishing-games-popular-titles__games-showcase {
  padding: 60px 0;
  background-color: #140C0C;
  border-bottom: 1px solid #6A1E1E;
}

.page-fishing-games-popular-titles__game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
}

.page-fishing-games-popular-titles__game-card {
  background-color: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border color */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF1E8; /* Text Main for card content */
}

.page-fishing-games-popular-titles__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-fishing-games-popular-titles__game-card img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #6A1E1E;
}

.page-fishing-games-popular-titles__game-title {
  font-size: 22px;
  color: #F3C54D; /* Gold color for game titles */
  margin: 20px 15px 10px;
  font-weight: bold;
}

.page-fishing-games-popular-titles__game-description {
  font-size: 15px;
  color: #FFF1E8;
  margin: 0 15px 20px;
}

.page-fishing-games-popular-titles__game-button {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #FFF1E8;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games-popular-titles__game-button:hover {
  background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
}

/* Features Section */
.page-fishing-games-popular-titles__features-section {
  padding: 60px 0;
  background-color: #140C0C;
  border-bottom: 1px solid #6A1E1E;
}

.page-fishing-games-popular-titles__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-fishing-games-popular-titles__feature-item {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  color: #FFF1E8;
}

.page-fishing-games-popular-titles__feature-item img {
  min-width: 200px; /* Enforcing minimum size */
  min-height: 200px; /* Enforcing minimum size */
  width: 100%; /* Allow it to be responsive within its container if larger */
  height: auto; /* Maintain aspect ratio */
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-fishing-games-popular-titles__feature-title {
  font-size: 20px;
  color: #F3C54D;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-fishing-games-popular-titles__feature-item p {
  font-size: 15px;
  color: #FFF1E8;
}

/* FAQ Section */
.page-fishing-games-popular-titles__faq-section {
  padding: 60px 0;
  background-color: #140C0C;
  border-bottom: 1px solid #6A1E1E;
}

.page-fishing-games-popular-titles__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

details.page-fishing-games-popular-titles__faq-item {
  margin-bottom: 15px;
  border-radius: 10px; /* Slightly larger radius */
  border: 1px solid #6A1E1E; /* Border color */
  overflow: hidden;
  background: #2A1212; /* Card BG for FAQ item */
  color: #FFF1E8; /* Text Main for FAQ content */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
details.page-fishing-games-popular-titles__faq-item summary.page-fishing-games-popular-titles__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px; /* Increased padding */
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: 18px; /* Larger font for question */
  font-weight: bold;
  color: #F3C54D; /* Gold for question text */
}
details.page-fishing-games-popular-titles__faq-item summary.page-fishing-games-popular-titles__faq-question::-webkit-details-marker {
  display: none;
}
details.page-fishing-games-popular-titles__faq-item summary.page-fishing-games-popular-titles__faq-question:hover {
  filter: brightness(1.2); /* Slight brightness change for hover */
}
.page-fishing-games-popular-titles__faq-qtext {
  flex: 1;
  font-size: 18px; /* Matched with summary font size */
  font-weight: bold; /* Matched with summary font weight */
  line-height: 1.5;
  text-align: left;
  color: #F3C54D; /* Gold for question text */
}
.page-fishing-games-popular-titles__faq-toggle {
  font-size: 28px; /* Larger toggle icon */
  font-weight: bold;
  color: #E53030; /* Auxiliary color for toggle */
  flex-shrink: 0;
  margin-left: 20px; /* Increased margin */
  width: 32px; /* Larger toggle area */
  text-align: center;
}
details.page-fishing-games-popular-titles__faq-item .page-fishing-games-popular-titles__faq-answer {
  padding: 0 25px 25px; /* Increased padding */
  background: #1F0D0D; /* Slightly darker background for answer */
  border-radius: 0 0 10px 10px;
  font-size: 16px;
  color: #FFF1E8; /* Text Main for answer content */
}
.page-fishing-games-popular-titles__faq-answer p {
  margin-top: 10px;
  margin-bottom: 0;
  text-align: left;
}

/* CTA Bottom Section */
.page-fishing-games-popular-titles__cta-bottom-section {
  padding: 60px 0;
  background-color: #140C0C;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-fishing-games-popular-titles__cta-content {
  max-width: 900px;
  margin-bottom: 40px;
}

.page-fishing-games-popular-titles__cta-button--large {
  padding: 18px 40px;
  font-size: 20px;
}

.page-fishing-games-popular-titles__cta-image-wrapper {
  width: 100%;
  max-width: 1000px;
  margin-top: 30px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-fishing-games-popular-titles__cta-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- Responsive Styles --- */

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

/* Universal button responsive styles */
.page-fishing-games-popular-titles__cta-button,
.page-fishing-games-popular-titles__game-button,
.page-fishing-games-popular-titles a[class*="button"],
.page-fishing-games-popular-titles a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-fishing-games-popular-titles__cta-buttons, /* if any button group exists */
.page-fishing-games-popular-titles__button-group,
.page-fishing-games-popular-titles__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 768px) {
  .page-fishing-games-popular-titles__container {
    padding: 0 15px;
  }

  /* Hero Section */
  .page-fishing-games-popular-titles__hero-section {
    padding-top: 10px !important; /* Ensure minimal top padding */
  }

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

  .page-fishing-games-popular-titles__main-title {
    font-size: clamp(24px, 7vw, 36px); /* Adjust H1 size for smaller screens */
  }

  .page-fishing-games-popular-titles__hero-description {
    font-size: 16px;
  }

  .page-fishing-games-popular-titles__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    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;
  }

  /* Intro Section */
  .page-fishing-games-popular-titles__intro-section {
    padding: 40px 0;
  }

  .page-fishing-games-popular-titles__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-fishing-games-popular-titles__text-block {
    font-size: 15px;
    padding: 0 15px;
  }

  /* Games Showcase Section */
  .page-fishing-games-popular-titles__games-showcase {
    padding: 40px 0;
  }

  .page-fishing-games-popular-titles__game-list {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
  }

  .page-fishing-games-popular-titles__game-card {
    margin: 0 15px;
  }

  .page-fishing-games-popular-titles__game-card img {
    height: 200px; /* Adjust height for mobile */
  }

  .page-fishing-games-popular-titles__game-title {
    font-size: 20px;
  }

  .page-fishing-games-popular-titles__game-description {
    font-size: 14px;
  }

  .page-fishing-games-popular-titles__game-button {
    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;
  }

  /* Features Section */
  .page-fishing-games-popular-titles__features-section {
    padding: 40px 0;
  }

  .page-fishing-games-popular-titles__feature-list {
    grid-template-columns: 1fr; /* Single column for mobile */
    gap: 20px;
    margin-top: 30px;
  }

  .page-fishing-games-popular-titles__feature-item {
    padding: 25px 15px;
    margin: 0 15px;
  }

  .page-fishing-games-popular-titles__feature-item img {
    min-width: 200px !important; /* Enforcing minimum size */
    min-height: 200px !important; /* Enforcing minimum size */
    width: 100% !important; /* Ensure it doesn't overflow */
    height: auto !important;
    margin-bottom: 15px;
  }

  .page-fishing-games-popular-titles__feature-title {
    font-size: 18px;
  }

  /* FAQ Section */
  .page-fishing-games-popular-titles__faq-section {
    padding: 40px 0;
  }

  .page-fishing-games-popular-titles__faq-list {
    margin: 30px 15px 0;
  }

  details.page-fishing-games-popular-titles__faq-item summary.page-fishing-games-popular-titles__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-fishing-games-popular-titles__faq-qtext {
    font-size: 16px;
  }

  .page-fishing-games-popular-titles__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
    width: 28px;
  }

  details.page-fishing-games-popular-titles__faq-item .page-fishing-games-popular-titles__faq-answer {
    padding: 0 20px 20px;
    font-size: 15px;
  }

  /* CTA Bottom Section */
  .page-fishing-games-popular-titles__cta-bottom-section {
    padding: 40px 0;
  }

  .page-fishing-games-popular-titles__cta-content {
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-fishing-games-popular-titles__cta-button--large {
    padding: 15px 30px;
    font-size: 18px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-fishing-games-popular-titles__cta-image-wrapper {
    margin: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* General image and container rules for mobile */
  .page-fishing-games-popular-titles img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-fishing-games-popular-titles__section,
  .page-fishing-games-popular-titles__card,
  .page-fishing-games-popular-titles__container,
  .page-fishing-games-popular-titles__game-list,
  .page-fishing-games-popular-titles__feature-list,
  .page-fishing-games-popular-titles__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-fishing-games-popular-titles__cta-buttons,
  .page-fishing-games-popular-titles__button-group,
  .page-fishing-games-popular-titles__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;
  }
}

/* Ensure content area images are at least 200px */
.page-fishing-games-popular-titles__games-showcase img,
.page-fishing-games-popular-titles__features-section img {
    min-width: 200px;
    min-height: 200px;
}

@media (max-width: 768px) {
    .page-fishing-games-popular-titles__games-showcase img,
    .page-fishing-games-popular-titles__features-section img {
        min-width: 200px !important;
        min-height: 200px !important;
    }
}