/* style/resources-vn88-sports-betting-guide.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f9f9f9;
  --background-dark: #26A9E0;
  --border-color: #e0e0e0;
  --login-color: #EA7C07;
}

.page-resources-vn88-sports-betting-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light body background */
  background-color: var(--secondary-color); /* Default body background is white */
}

.page-resources-vn88-sports-betting-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-vn88-sports-betting-guide__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-resources-vn88-sports-betting-guide__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* HERO Section */
.page-resources-vn88-sports-betting-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, var(--primary-color) 0%, #a0d8f0 100%);
  color: var(--text-light);
}

.page-resources-vn88-sports-betting-guide__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-vn88-sports-betting-guide__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-resources-vn88-sports-betting-guide__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources-vn88-sports-betting-guide__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources-vn88-sports-betting-guide__hero-content h1 {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: 800;
  color: var(--text-light);
}

.page-resources-vn88-sports-betting-guide__hero-content p {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-resources-vn88-sports-betting-guide__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--login-color); /* Use login color for CTA button */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources-vn88-sports-betting-guide__cta-button:hover {
  background: #d66f06; /* Darken login color */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Introduction Section */
.page-resources-vn88-sports-betting-guide__introduction-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

.page-resources-vn88-sports-betting-guide__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-vn88-sports-betting-guide__feature-item {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-resources-vn88-sports-betting-guide__feature-item:hover {
  transform: translateY(-10px);
}

.page-resources-vn88-sports-betting-guide__feature-item img {
  width: 200px; /* Minimum 200px */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-resources-vn88-sports-betting-guide__feature-item h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-resources-vn88-sports-betting-guide__feature-item p {
  font-size: 1em;
  color: var(--text-dark);
}

/* How-To Section */
.page-resources-vn88-sports-betting-guide__how-to-section {
  padding: 80px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-resources-vn88-sports-betting-guide__how-to-section .page-resources-vn88-sports-betting-guide__section-title {
  color: var(--text-light);
}

.page-resources-vn88-sports-betting-guide__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-vn88-sports-betting-guide__step-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  transition: background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-resources-vn88-sports-betting-guide__step-item:hover {
  background: rgba(255, 255, 255, 0.25);
}

.page-resources-vn88-sports-betting-guide__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--login-color);
  color: var(--text-light);
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-vn88-sports-betting-guide__step-item h3 {
  font-size: 1.6em;
  color: var(--text-light);
  margin-bottom: 15px;
}

.page-resources-vn88-sports-betting-guide__step-item p {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 25px;
}

.page-resources-vn88-sports-betting-guide__btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.page-resources-vn88-sports-betting-guide__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

/* Betting Types Section */
.page-resources-vn88-sports-betting-guide__betting-types-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

.page-resources-vn88-sports-betting-guide__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-resources-vn88-sports-betting-guide__card {
  background: var(--background-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
}

.page-resources-vn88-sports-betting-guide__card:hover {
  transform: translateY(-5px);
}

.page-resources-vn88-sports-betting-guide__card-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-resources-vn88-sports-betting-guide__card p {
  font-size: 1em;
  color: var(--text-dark);
}

/* Strategy Section */
.page-resources-vn88-sports-betting-guide__strategy-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

.page-resources-vn88-sports-betting-guide__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.page-resources-vn88-sports-betting-guide__strategy-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  background: var(--secondary-color);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.page-resources-vn88-sports-betting-guide__strategy-list li img {
  width: 200px; /* Minimum 200px */
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 25px;
  flex-shrink: 0;
}

.page-resources-vn88-sports-betting-guide__strategy-list li div h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-resources-vn88-sports-betting-guide__strategy-list li div p {
  font-size: 1em;
  color: var(--text-dark);
}

/* Responsible Gaming Section */
.page-resources-vn88-sports-betting-guide__responsible-gaming-section {
  padding: 80px 0;
  background-color: #f0f8ff; /* A lighter shade of blue/white */
  text-align: center;
  color: var(--text-dark);
}

.page-resources-vn88-sports-betting-guide__responsible-gaming-section .page-resources-vn88-sports-betting-guide__section-title {
  color: var(--primary-color);
}

.page-resources-vn88-sports-betting-guide__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 30px;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources-vn88-sports-betting-guide__btn-primary:hover {
  background: #208cb3; /* Darken primary color */
}

/* FAQ Section */
.page-resources-vn88-sports-betting-guide__faq-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

.page-resources-vn88-sports-betting-guide__faq-list {
  margin-top: 50px;
}

.page-resources-vn88-sports-betting-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-vn88-sports-betting-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-resources-vn88-sports-betting-guide__faq-item.active .page-resources-vn88-sports-betting-guide__faq-answer {
  max-height: 2000px !important; /* 🚨 Using !important as per requirements */
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--background-light);
  border-radius: 0 0 5px 5px;
}

.page-resources-vn88-sports-betting-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-vn88-sports-betting-guide__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-vn88-sports-betting-guide__faq-question:active {
  background: #eeeeee;
}

.page-resources-vn88-sports-betting-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevents h3 from blocking click event */
  color: var(--text-dark);
}

.page-resources-vn88-sports-betting-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevents icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources-vn88-sports-betting-guide__faq-item.active .page-resources-vn88-sports-betting-guide__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

.page-resources-vn88-sports-betting-guide__faq-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  display: inline-block;
  transition: color 0.3s ease;
}

.page-resources-vn88-sports-betting-guide__faq-link:hover {
  text-decoration: underline;
  color: #208cb3; /* Darken primary color */
}

/* CTA Section */
.page-resources-vn88-sports-betting-guide__cta-section {
  padding: 80px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
  text-align: center;
}

.page-resources-vn88-sports-betting-guide__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-resources-vn88-sports-betting-guide__cta-section .page-resources-vn88-sports-betting-guide__section-title {
  color: var(--text-light);
  margin-bottom: 20px;
}

.page-resources-vn88-sports-betting-guide__cta-section p {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-vn88-sports-betting-guide__hero-content h1 {
    font-size: 2.5em;
  }
  .page-resources-vn88-sports-betting-guide__hero-content p {
    font-size: 1.1em;
  }
  .page-resources-vn88-sports-betting-guide__section-title {
    font-size: 2em;
  }
  .page-resources-vn88-sports-betting-guide__strategy-list li img {
    
    
  }
}

@media (max-width: 768px) {
  .page-resources-vn88-sports-betting-guide__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-resources-vn88-sports-betting-guide__hero-image img {
    border-radius: 4px;
  }
  
  .page-resources-vn88-sports-betting-guide__hero-content h1 {
    font-size: 2em;
  }
  .page-resources-vn88-sports-betting-guide__hero-content p {
    font-size: 1em;
  }
  .page-resources-vn88-sports-betting-guide__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-vn88-sports-betting-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  
  .page-resources-vn88-sports-betting-guide__text-block {
    font-size: 0.95em;
  }

  .page-resources-vn88-sports-betting-guide__introduction-section,
  .page-resources-vn88-sports-betting-guide__how-to-section,
  .page-resources-vn88-sports-betting-guide__betting-types-section,
  .page-resources-vn88-sports-betting-guide__strategy-section,
  .page-resources-vn88-sports-betting-guide__responsible-gaming-section,
  .page-resources-vn88-sports-betting-guide__faq-section,
  .page-resources-vn88-sports-betting-guide__cta-section {
    padding: 40px 0;
  }

  .page-resources-vn88-sports-betting-guide__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-vn88-sports-betting-guide__feature-item,
  .page-resources-vn88-sports-betting-guide__step-item,
  .page-resources-vn88-sports-betting-guide__card {
    padding: 20px;
  }
  
  .page-resources-vn88-sports-betting-guide__feature-item img {
    
    
  }
  
  .page-resources-vn88-sports-betting-guide__strategy-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .page-resources-vn88-sports-betting-guide__strategy-list li img {
    margin-right: 0;
    margin-bottom: 20px;
    width: 200px !important;
    height: 200px !important;
  }
  
  .page-resources-vn88-sports-betting-guide__btn-secondary,
  .page-resources-vn88-sports-betting-guide__btn-primary {
    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;
  }
  
  .page-resources-vn88-sports-betting-guide__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-resources-vn88-sports-betting-guide__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-resources-vn88-sports-betting-guide__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-resources-vn88-sports-betting-guide__faq-answer {
    padding: 0 15px;
  }
  
  .page-resources-vn88-sports-betting-guide__faq-item.active .page-resources-vn88-sports-betting-guide__faq-answer {
    padding: 15px !important;
  }

  /* Mobile image and container adaptation */
  .page-resources-vn88-sports-betting-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-vn88-sports-betting-guide__section,
  .page-resources-vn88-sports-betting-guide__card,
  .page-resources-vn88-sports-betting-guide__container,
  .page-resources-vn88-sports-betting-guide__cta-buttons,
  .page-resources-vn88-sports-betting-guide__button-group,
  .page-resources-vn88-sports-betting-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}