/* style/blog-online-fishing-game-beginner-guide.css */

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-btn-color: #C30808;
  --login-btn-color: #C30808;
  --reg-log-font-color: #FFFF00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --border-color: #e0e0e0;
  --bg-light: #f9f9f9;
}

/* Utility to darken color - for hover states (simulated for pure CSS) */
/* For production, a CSS preprocessor or JS could handle this dynamically */
/* For this exercise, we'll use a hardcoded darker value */

.page-blog-online-fishing-game-beginner-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Body background is white, so dark text */
  background-color: var(--secondary-color); /* Matches body background */
}

/* Hero Section */
.page-blog-online-fishing-game-beginner-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, header offset handled by body */
  background-color: var(--bg-light);
}

.page-blog-online-fishing-game-beginner-guide__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure it takes full width within max-width */
}

.page-blog-online-fishing-game-beginner-guide__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-blog-online-fishing-game-beginner-guide__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-blog-online-fishing-game-beginner-guide__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-blog-online-fishing-game-beginner-guide__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.page-blog-online-fishing-game-beginner-guide__intro-text {
  font-size: clamp(1.1em, 2vw, 1.3em);
  color: var(--text-dark);
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-blog-online-fishing-game-beginner-guide__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--register-btn-color); /* Custom register color */
  color: var(--reg-log-font-color); /* Custom register font color */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-online-fishing-game-beginner-guide__cta-button:hover {
  background: #a90707; /* Darken of #C30808 */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Content Area */
.page-blog-online-fishing-game-beginner-guide__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--secondary-color); /* Light background for content */
  color: var(--text-dark);
}

.page-blog-online-fishing-game-beginner-guide__article {
  padding: 20px;
  background: var(--secondary-color);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-blog-online-fishing-game-beginner-guide__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
}

.page-blog-online-fishing-game-beginner-guide__sub-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog-online-fishing-game-beginner-guide p {
  margin-bottom: 1em;
  font-size: 1.1em;
}

.page-blog-online-fishing-game-beginner-guide .highlight {
  color: var(--primary-color);
  font-weight: bold;
}

.page-blog-online-fishing-game-beginner-guide__article-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

/* Buttons */
.page-blog-online-fishing-game-beginner-guide__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-online-fishing-game-beginner-guide__btn-primary:hover {
  background: #005a2e; /* Darken of #017439 */
  transform: translateY(-2px);
}

.page-blog-online-fishing-game-beginner-guide__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid var(--primary-color);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-blog-online-fishing-game-beginner-guide__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* CTA Section */
.page-blog-online-fishing-game-beginner-guide__cta-section {
  background: var(--primary-color); /* Dark background */
  color: var(--text-light); /* Light text */
  text-align: center;
  padding: 60px 20px;
  margin-top: 40px;
}

.page-blog-online-fishing-game-beginner-guide__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-blog-online-fishing-game-beginner-guide__cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 30px;
}

.page-blog-online-fishing-game-beginner-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0 15px; /* Add padding to prevent overflow */
}

/* FAQ Section */
.page-blog-online-fishing-game-beginner-guide__faq-list {
  margin-top: 40px;
}

details.page-blog-online-fishing-game-beginner-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--secondary-color);
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}
details.page-blog-online-fishing-game-beginner-guide__faq-item summary.page-blog-online-fishing-game-beginner-guide__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;
  color: var(--text-dark);
  font-weight: 600;
}
details.page-blog-online-fishing-game-beginner-guide__faq-item summary.page-blog-online-fishing-game-beginner-guide__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-online-fishing-game-beginner-guide__faq-item summary.page-blog-online-fishing-game-beginner-guide__faq-question:hover {
  background: var(--bg-light);
}
.page-blog-online-fishing-game-beginner-guide__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  line-height: 1.5;
  text-align: left;
}
.page-blog-online-fishing-game-beginner-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color); /* Use primary color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-blog-online-fishing-game-beginner-guide__faq-item .page-blog-online-fishing-game-beginner-guide__faq-answer {
  padding: 0 20px 20px;
  background: var(--bg-light);
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}
details.page-blog-online-fishing-game-beginner-guide__faq-item .page-blog-online-fishing-game-beginner-guide__faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-blog-online-fishing-game-beginner-guide__main-title {
    font-size: clamp(1.8em, 4.5vw, 3em);
  }
  .page-blog-online-fishing-game-beginner-guide__section-title {
    font-size: 2em;
  }
  .page-blog-online-fishing-game-beginner-guide__sub-title {
    font-size: 1.4em;
  }
  .page-blog-online-fishing-game-beginner-guide__intro-text,
  .page-blog-online-fishing-game-beginner-guide p {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-blog-online-fishing-game-beginner-guide__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-blog-online-fishing-game-beginner-guide__hero-image img {
    border-radius: 4px;
  }

  .page-blog-online-fishing-game-beginner-guide__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-online-fishing-game-beginner-guide__content-area,
  .page-blog-online-fishing-game-beginner-guide__cta-section {
    padding: 30px 15px;
  }

  .page-blog-online-fishing-game-beginner-guide__section-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-blog-online-fishing-game-beginner-guide__sub-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  
  .page-blog-online-fishing-game-beginner-guide p {
    font-size: 0.95em;
  }

  .page-blog-online-fishing-game-beginner-guide__article-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all images and containers are responsive */
  .page-blog-online-fishing-game-beginner-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-blog-online-fishing-game-beginner-guide__section,
  .page-blog-online-fishing-game-beginner-guide__card,
  .page-blog-online-fishing-game-beginner-guide__container,
  .page-blog-online-fishing-game-beginner-guide__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-blog-online-fishing-game-beginner-guide__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
  }

  .page-blog-online-fishing-game-beginner-guide__btn-primary,
  .page-blog-online-fishing-game-beginner-guide__btn-secondary,
  .page-blog-online-fishing-game-beginner-guide a[class*="button"],
  .page-blog-online-fishing-game-beginner-guide 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;
    padding-right: 15px;
  }

  details.page-blog-online-fishing-game-beginner-guide__faq-item summary.page-blog-online-fishing-game-beginner-guide__faq-question { padding: 15px; }
  .page-blog-online-fishing-game-beginner-guide__faq-qtext { font-size: 15px; }
  .page-blog-online-fishing-game-beginner-guide__faq-toggle {
    font-size: 20px;
    width: 24px;
  }
  details.page-blog-online-fishing-game-beginner-guide__faq-item .page-blog-online-fishing-game-beginner-guide__faq-answer {
    padding: 0 15px 15px;
  }
}

/* Contrast Fixes (as per requirements) */
.page-blog-online-fishing-game-beginner-guide__dark-bg {
  background: var(--primary-color);
  color: var(--text-light); /* Forced white text */
}
.page-blog-online-fishing-game-beginner-guide__dark-bg .highlight {
  color: var(--reg-log-font-color); /* Yellow highlight on dark background */
}

/* General text color for readability on light backgrounds */
.page-blog-online-fishing-game-beginner-guide__light-bg {
  background: var(--secondary-color);
  color: var(--text-dark);
}

/* Ensure link colors have good contrast */
.page-blog-online-fishing-game-beginner-guide a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-blog-online-fishing-game-beginner-guide a:hover {
  color: #005a2e; /* Darken of #017439 */
}