/* style/resources-vietnam-betting-trends.css */

/* Base styles for the page content, assuming a dark background from shared.css */
.page-resources-vietnam-betting-trends {
  color: #f0f0f0; /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Add padding at the bottom for spacing */
  /* Ensure content is readable on dark background */
  background-color: var(--dark-bg-1, #0d0d0d); /* Fallback to a dark color */
}

/* Fixed header offset */
.page-resources-vietnam-betting-trends__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is below the fixed header */
  position: relative;
  overflow: hidden; /* Prevent content from spilling out */
}

.page-resources-vietnam-betting-trends__section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-resources-vietnam-betting-trends__section-title {
  font-size: 36px;
  color: #FFD700; /* Primary brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-vietnam-betting-trends__sub-title {
  font-size: 28px;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-vietnam-betting-trends p {
  margin-bottom: 15px;
  color: #e0e0e0; /* Slightly lighter than f0f0f0 for subtle contrast */
}

/* Hero Section */
.page-resources-vietnam-betting-trends__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.8) 0%, rgba(255, 215, 0, 0.3) 100%);
  position: relative;
  padding: 60px 20px;
}

.page-resources-vietnam-betting-trends__hero-content {
  z-index: 2;
  position: relative;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-resources-vietnam-betting-trends__main-title {
  font-size: 48px;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 900;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-resources-vietnam-betting-trends__description {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-resources-vietnam-betting-trends__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Primary brand color */
  color: #8B0000; /* Auxiliary brand color for text */
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  margin: 10px;
}

.page-resources-vietnam-betting-trends__cta-button:hover {
  background: #e6b800; /* Slightly darker gold on hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-resources-vietnam-betting-trends__cta-button--secondary {
  background: #8B0000; /* Auxiliary brand color */
  color: #FFD700; /* Primary brand color for text */
}

.page-resources-vietnam-betting-trends__cta-button--secondary:hover {
  background: #6a0000; /* Slightly darker red on hover */
}

.page-resources-vietnam-betting-trends__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-resources-vietnam-betting-trends__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
}

/* Content Blocks and Grid Layout */
.page-resources-vietnam-betting-trends__content-block {
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for content blocks */
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-resources-vietnam-betting-trends__card {
  background: rgba(255, 255, 255, 0.08); /* Slightly more transparent for cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources-vietnam-betting-trends__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-resources-vietnam-betting-trends__card-image {
  width: 100%;
  height: 250px; /* Fixed height for card images */
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.page-resources-vietnam-betting-trends__card-title {
  font-size: 22px;
  color: #FFD700;
  padding: 20px 20px 10px;
  font-weight: bold;
}

.page-resources-vietnam-betting-trends__card p {
  color: #e0e0e0;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-resources-vietnam-betting-trends__content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* CTA Section specific styling */
.page-resources-vietnam-betting-trends__cta-section {
  text-align: center;
  background: linear-gradient(90deg, #8B0000, #FFD700);
  padding: 60px 20px;
  border-radius: 10px;
  margin-top: 40px;
  margin-bottom: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-resources-vietnam-betting-trends__cta-section .page-resources-vietnam-betting-trends__section-title {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-vietnam-betting-trends__cta-section .page-resources-vietnam-betting-trends__description {
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.page-resources-vietnam-betting-trends__cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  gap: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-vietnam-betting-trends__main-title {
    font-size: 42px;
  }
  .page-resources-vietnam-betting-trends__section-title {
    font-size: 32px;
  }
  .page-resources-vietnam-betting-trends__sub-title {
    font-size: 24px;
  }
  .page-resources-vietnam-betting-trends__cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-resources-vietnam-betting-trends {
    font-size: 16px;
    line-height: 1.65;
  }
  .page-resources-vietnam-betting-trends__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    min-height: 450px;
    padding: 40px 15px;
  }
  .page-resources-vietnam-betting-trends__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-resources-vietnam-betting-trends__description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-resources-vietnam-betting-trends__section {
    padding: 30px 15px;
  }
  .page-resources-vietnam-betting-trends__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-resources-vietnam-betting-trends__sub-title {
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 15px;
  }
  .page-resources-vietnam-betting-trends__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-vietnam-betting-trends__card-image {
    height: 200px; /* Adjust height for mobile */
  }
  .page-resources-vietnam-betting-trends__card-title {
    font-size: 20px;
  }
  .page-resources-vietnam-betting-trends__content-block {
    padding: 20px;
  }
  .page-resources-vietnam-betting-trends__cta-section {
    padding: 40px 15px;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .page-resources-vietnam-betting-trends__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
  }
  .page-resources-vietnam-betting-trends__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 18px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0; /* Remove horizontal margin */
  }

  /* Image responsive adaptations */
  .page-resources-vietnam-betting-trends img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-vietnam-betting-trends__hero-image-wrapper,
  .page-resources-vietnam-betting-trends__hero-image,
  .page-resources-vietnam-betting-trends__section,
  .page-resources-vietnam-betting-trends__content-block,
  .page-resources-vietnam-betting-trends__grid,
  .page-resources-vietnam-betting-trends__card,
  .page-resources-vietnam-betting-trends__cta-section,
  .page-resources-vietnam-betting-trends__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-resources-vietnam-betting-trends__section,
  .page-resources-vietnam-betting-trends__content-block,
  .page-resources-vietnam-betting-trends__cta-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-resources-vietnam-betting-trends__card p {
    padding: 0 15px 15px;
  }
  .page-resources-vietnam-betting-trends__card-title {
    padding: 15px 15px 8px;
  }
}

/* Ensure minimum image size and no filter */
.page-resources-vietnam-betting-trends img {
  min-width: 200px;
  min-height: 200px;
  filter: none; /* No CSS filter allowed */
}

/* Specific content area images to ensure min size */
.page-resources-vietnam-betting-trends__content-image {
  min-width: 200px;
  min-height: 200px;
}
.page-resources-vietnam-betting-trends__card-image {
  min-width: 200px;
  min-height: 200px;
}

/* Color contrast enforcement for text on various backgrounds */
.page-resources-vietnam-betting-trends h1,
.page-resources-vietnam-betting-trends h2,
.page-resources-vietnam-betting-trends h3 {
  color: #FFD700; /* Primary color for titles */
}

.page-resources-vietnam-betting-trends p,
.page-resources-vietnam-betting-trends li,
.page-resources-vietnam-betting-trends a {
  color: #f0f0f0; /* Light text for general content */
}

.page-resources-vietnam-betting-trends__card {
  background-color: rgba(255, 215, 0, 0.1); /* Light transparent gold for card background */
  color: #f0f0f0; /* Light text on card */
}

/* Specific button contrast */
.page-resources-vietnam-betting-trends__cta-button {
  background-color: #FFD700; /* Gold background */
  color: #8B0000; /* Dark red text */
}

.page-resources-vietnam-betting-trends__cta-button--secondary {
  background-color: #8B0000; /* Dark red background */
  color: #FFD700; /* Gold text */
}