/* style/resources-h5-fishing-beginner-guide.css */
.page-resources-h5-fishing-beginner-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.page-resources-h5-fishing-beginner-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-h5-fishing-beginner-guide__dark-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-resources-h5-fishing-beginner-guide__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

.page-resources-h5-fishing-beginner-guide__medium-bg {
  background-color: #FFD700;
  color: #333333;
}

/* Hero Section */
.page-resources-h5-fishing-beginner-guide__hero-section {
  padding: 100px 0 60px; /* Adjusted padding-top for header offset */
  text-align: center;
  background-image: linear-gradient(rgba(26, 115, 232, 0.8), rgba(26, 115, 232, 0.8)), url('[GALLERY:bg:1920x1080:bắn cá h5 chơi ngay,hero background,đại dương,ánh sáng]');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  position: relative;
  padding-top: var(--header-offset, 120px);
}

.page-resources-h5-fishing-beginner-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-h5-fishing-beginner-guide__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #ffffff;
}

.page-resources-h5-fishing-beginner-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-resources-h5-fishing-beginner-guide__btn-primary,
.page-resources-h5-fishing-beginner-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-h5-fishing-beginner-guide__btn-primary {
  background-color: #FFD700;
  color: #1A73E8;
}

.page-resources-h5-fishing-beginner-guide__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources-h5-fishing-beginner-guide__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

.page-resources-h5-fishing-beginner-guide__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A73E8;
  transform: translateY(-2px);
}

.page-resources-h5-fishing-beginner-guide__btn-small {
  padding: 10px 20px;
  font-size: 1em;
}

.page-resources-h5-fishing-beginner-guide__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Video Section */
.page-resources-h5-fishing-beginner-guide__video-section {
  padding: 60px 0;
  text-align: center;
  color: #333333;
}

.page-resources-h5-fishing-beginner-guide__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-h5-fishing-beginner-guide__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.page-resources-h5-fishing-beginner-guide__video-caption {
  margin-top: 20px;
  font-style: italic;
  color: #555555;
}

/* Content Area */
.page-resources-h5-fishing-beginner-guide__content-area {
  padding: 80px 0;
  color: #ffffff; /* Text color for dark background */
}

.page-resources-h5-fishing-beginner-guide__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-h5-fishing-beginner-guide__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-resources-h5-fishing-beginner-guide__sub-title {
  font-size: 1.8em;
  color: #1A73E8;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-resources-h5-fishing-beginner-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-h5-fishing-beginner-guide__image-full {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-resources-h5-fishing-beginner-guide__image-content {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-resources-h5-fishing-beginner-guide__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-resources-h5-fishing-beginner-guide__list-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid #1A73E8;
  border-radius: 5px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-resources-h5-fishing-beginner-guide__list-item strong {
  color: #FFD700;
}

/* Features Grid */
.page-resources-h5-fishing-beginner-guide__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-h5-fishing-beginner-guide__feature-card {
  background-color: #2a2a2a;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-resources-h5-fishing-beginner-guide__feature-card:hover {
  transform: translateY(-5px);
}

.page-resources-h5-fishing-beginner-guide__feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-h5-fishing-beginner-guide__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources-h5-fishing-beginner-guide__feature-description {
  font-size: 1em;
  color: #e0e0e0;
}

/* FAQ Section */
.page-resources-h5-fishing-beginner-guide__faq-list {
  margin-top: 40px;
}

.page-resources-h5-fishing-beginner-guide__faq-item {
  background-color: #2a2a2a;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-resources-h5-fishing-beginner-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1A73E8;
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-h5-fishing-beginner-guide__faq-question h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.2em;
}

.page-resources-h5-fishing-beginner-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-h5-fishing-beginner-guide__faq-item.active .page-resources-h5-fishing-beginner-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-h5-fishing-beginner-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #333333;
  color: #e0e0e0;
  font-size: 1.1em;
}

.page-resources-h5-fishing-beginner-guide__faq-item.active .page-resources-h5-fishing-beginner-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

.page-resources-h5-fishing-beginner-guide__faq-answer p {
  margin: 0;
  color: #e0e0e0;
}

/* CTA Section */
.page-resources-h5-fishing-beginner-guide__cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #FFD700;
  color: #333333;
}

.page-resources-h5-fishing-beginner-guide__cta-title {
  font-size: 2.8em;
  color: #1A73E8;
  margin-bottom: 20px;
}

.page-resources-h5-fishing-beginner-guide__cta-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-h5-fishing-beginner-guide__hero-title {
    font-size: 3em;
  }

  .page-resources-h5-fishing-beginner-guide__hero-description {
    font-size: 1.2em;
  }

  .page-resources-h5-fishing-beginner-guide__section-title {
    font-size: 2em;
  }

  .page-resources-h5-fishing-beginner-guide__sub-title {
    font-size: 1.6em;
  }

  .page-resources-h5-fishing-beginner-guide__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-resources-h5-fishing-beginner-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-h5-fishing-beginner-guide__hero-section {
    padding: 80px 0 40px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-h5-fishing-beginner-guide__hero-title {
    font-size: 2.5em;
  }

  .page-resources-h5-fishing-beginner-guide__hero-description {
    font-size: 1em;
  }

  .page-resources-h5-fishing-beginner-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-h5-fishing-beginner-guide__btn-primary,
  .page-resources-h5-fishing-beginner-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-h5-fishing-beginner-guide__video-section {
    padding: 40px 0;
  }

  .page-resources-h5-fishing-beginner-guide__video-wrapper {
    margin: 20px auto;
  }

  .page-resources-h5-fishing-beginner-guide__video,
  .page-resources-h5-fishing-beginner-guide__image-full,
  .page-resources-h5-fishing-beginner-guide__image-content,
  .page-resources-h5-fishing-beginner-guide__feature-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-h5-fishing-beginner-guide__content-area,
  .page-resources-h5-fishing-beginner-guide__video-section,
  .page-resources-h5-fishing-beginner-guide__cta-section,
  .page-resources-h5-fishing-beginner-guide__faq-list,
  .page-resources-h5-fishing-beginner-guide__features-grid,
  .page-resources-h5-fishing-beginner-guide__feature-card,
  .page-resources-h5-fishing-beginner-guide__faq-item,
  .page-resources-h5-fishing-beginner-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-resources-h5-fishing-beginner-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-h5-fishing-beginner-guide__sub-title {
    font-size: 1.4em;
  }

  .page-resources-h5-fishing-beginner-guide__text-block {
    font-size: 1em;
  }

  .page-resources-h5-fishing-beginner-guide__feature-card {
    padding: 20px;
  }

  .page-resources-h5-fishing-beginner-guide__feature-title {
    font-size: 1.3em;
  }

  .page-resources-h5-fishing-beginner-guide__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-resources-h5-fishing-beginner-guide__faq-question h3 {
    font-size: 1.1em;
  }

  .page-resources-h5-fishing-beginner-guide__faq-answer {
    padding: 0 20px;
    font-size: 1em;
  }

  .page-resources-h5-fishing-beginner-guide__faq-item.active .page-resources-h5-fishing-beginner-guide__faq-answer {
    padding: 15px 20px;
  }

  .page-resources-h5-fishing-beginner-guide__cta-title {
    font-size: 2em;
  }

  .page-resources-h5-fishing-beginner-guide__cta-description {
    font-size: 1em;
  }
}