/* style/resources-vietnam-online-betting-market-analysis.css */

:root {
  --primary-color: #0A2239;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-light: #f4f7f6;
  --background-dark: #071a2a;
  --border-color: #e0e0e0;
}

.page-resources-vietnam-online-betting-market-analysis {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--background-light);
}

.page-resources-vietnam-online-betting-market-analysis h1,
.page-resources-vietnam-online-betting-market-analysis h2,
.page-resources-vietnam-online-betting-market-analysis h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-resources-vietnam-online-betting-market-analysis h1 {
  font-size: 2.8em;
  text-align: center;
  color: var(--text-light);
}

.page-resources-vietnam-online-betting-market-analysis h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  padding-bottom: 10px;
  position: relative;
}

.page-resources-vietnam-online-betting-market-analysis h2::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-resources-vietnam-online-betting-market-analysis h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-vietnam-online-betting-market-analysis p {
  margin-bottom: 15px;
}

.page-resources-vietnam-online-betting-market-analysis a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-vietnam-online-betting-market-analysis a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-resources-vietnam-online-betting-market-analysis ul,
.page-resources-vietnam-online-betting-market-analysis ol {
  margin-bottom: 20px;
  padding-left: 25px;
}

.page-resources-vietnam-online-betting-market-analysis li {
  margin-bottom: 10px;
}

/* Hero Section */
.page-resources-vietnam-online-betting-market-analysis__hero {
  background: linear-gradient(135deg, var(--primary-color), #2a4c6a);
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
}

.page-resources-vietnam-online-betting-market-analysis__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
}

.page-resources-vietnam-online-betting-market-analysis__hero-content p {
  font-size: 1.2em;
  margin-top: 20px;
  color: #e0e0e0;
}

.page-resources-vietnam-online-betting-market-analysis__hero-content a {
  color: var(--secondary-color);
}

.page-resources-vietnam-online-betting-market-analysis__hero-content a:hover {
  color: #fff;
}

.page-resources-vietnam-online-betting-market-analysis__hero-image {
  width: 100%;
  max-width: 800px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-vietnam-online-betting-market-analysis__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* General Section Styling */
.page-resources-vietnam-online-betting-market-analysis__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--background-light);
  border-bottom: 1px solid var(--border-color);
}

.page-resources-vietnam-online-betting-market-analysis__section:last-of-type {
  border-bottom: none;
}

.page-resources-vietnam-online-betting-market-analysis__content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-resources-vietnam-online-betting-market-analysis__content-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

/* Call to Action Button */
.page-resources-vietnam-online-betting-market-analysis__cta-button {
  display: inline-block;
  padding: 15px 30px;
  margin-top: 30px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-size: 1.1em;
}

.page-resources-vietnam-online-betting-market-analysis__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  color: var(--primary-color); /* Ensure text color remains high contrast */
  text-decoration: none;
}

/* Specific section adjustments */
.page-resources-vietnam-online-betting-market-analysis__jb88-intro .page-resources-vietnam-online-betting-market-analysis__content-wrapper ul,
.page-resources-vietnam-online-betting-market-analysis__jb88-intro .page-resources-vietnam-online-betting-market-analysis__content-wrapper ol {
  list-style-type: disc;
  margin-left: 20px;
}

/* FAQ Section */
.page-resources-vietnam-online-betting-market-analysis__faq-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 15px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
}

.faq-question h3 a {
  color: var(--primary-color); /* Ensure link in h3 has good contrast */
  text-decoration: none;
}

.faq-question h3 a:hover {
  text-decoration: underline;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 20px;
  background: #f9f9f9;
  color: var(--text-dark);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px 20px;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  margin-bottom: 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-vietnam-online-betting-market-analysis h1 {
    font-size: 2.4em;
  }
  .page-resources-vietnam-online-betting-market-analysis h2 {
    font-size: 2em;
  }
  .page-resources-vietnam-online-betting-market-analysis h3 {
    font-size: 1.6em;
  }
  .page-resources-vietnam-online-betting-market-analysis__hero {
    padding: 60px 15px;
  }
  .page-resources-vietnam-online-betting-market-analysis__section {
    padding: 40px 15px;
  }
}

@media (max-width: 768px) {
  .page-resources-vietnam-online-betting-market-analysis h1 {
    font-size: 2em;
  }
  .page-resources-vietnam-online-betting-market-analysis h2 {
    font-size: 1.8em;
  }
  .page-resources-vietnam-online-betting-market-analysis h3 {
    font-size: 1.4em;
  }
  .page-resources-vietnam-online-betting-market-analysis__hero-content p {
    font-size: 1em;
  }
  .page-resources-vietnam-online-betting-market-analysis__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .faq-question {
    padding: 15px 18px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 18px;
  }
  .faq-item.active .faq-answer {
    padding: 12px 18px;
  }
}

@media (max-width: 480px) {
  .page-resources-vietnam-online-betting-market-analysis h1 {
    font-size: 1.8em;
  }
  .page-resources-vietnam-online-betting-market-analysis h2 {
    font-size: 1.6em;
  }
  .page-resources-vietnam-online-betting-market-analysis h3 {
    font-size: 1.2em;
  }
  .page-resources-vietnam-online-betting-market-analysis__hero {
    padding: 40px 10px;
  }
  .page-resources-vietnam-online-betting-market-analysis__section {
    padding: 30px 10px;
  }
  .page-resources-vietnam-online-betting-market-analysis__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 18px;
  }
}