/* style/the-thao.css */
.page-the-thao {
  font-family: Arial, sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

.page-the-thao__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-the-thao__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #2AD16F; /* Lighter green for sub-titles */
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: left;
}

.page-the-thao__section-text,
.page-the-thao p,
.page-the-thao li {
  font-size: 1.1em;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-the-thao__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-the-thao__list li {
  margin-bottom: 8px;
}

/* Buttons */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-tertiary,
.page-the-thao__btn-read-more {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-the-thao__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
  background: #11271B; /* Card BG */
  color: #2AD16F; /* Lighter green for contrast */
  border: 2px solid #2AD16F;
}

.page-the-thao__btn-secondary:hover {
  background: #2AD16F;
  color: #11271B;
}

.page-the-thao__btn-tertiary {
  background: transparent;
  color: #A7D9B8; /* Text Secondary */
  border: 1px solid #2E7A4E; /* Border */
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-the-thao__btn-tertiary:hover {
  background: #2E7A4E;
  color: #F2FFF6;
}

.page-the-thao__btn-read-more {
  background: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
}

.page-the-thao__btn-read-more:hover {
  background: #13994A;
}

.page-the-thao__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-the-thao__cta-buttons--center {
  justify-content: center;
}

/* Hero Carousel Section */
.page-the-thao__hero-carousel-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
  margin-bottom: 40px;
}

.page-the-thao__hero-slider {
  position: relative;
  width: 100%;
  height: 600px; /* Fixed height for desktop carousel */
}

.page-the-thao__hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.page-the-thao__hero-slide.is-active {
  opacity: 1;
}

.page-the-thao__hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-the-thao__hero-slider-prev,
.page-the-thao__hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 15px;
  cursor: pointer;
  z-index: 10;
  font-size: 1.5em;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-the-thao__hero-slider-prev {
  left: 20px;
}

.page-the-thao__hero-slider-next {
  right: 20px;
}

.page-the-thao__hero-slider-prev::before {
  content: '‹';
}

.page-the-thao__hero-slider-next::before {
  content: '›';
}

.page-the-thao__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #F2FFF6;
  z-index: 5;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.page-the-thao__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-the-thao__hero-description {
  font-size: 1.2em;
  margin-bottom: 25px;
  color: #A7D9B8; /* Text Secondary */
}

/* Introduction Section */
.page-the-thao__introduction-section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-the-thao__image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-the-thao__image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Sports Betting Types Section (Long Content Box) */
.page-the-thao__sports-betting-types-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-the-thao__long-content-box {
  background-color: #11271B; /* Card BG */
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
  height: 700px; /* Fixed height for desktop */
  overflow-y: auto; /* Scrollable on desktop */
  border: 2px solid #2E7A4E; /* Border */
}

.page-the-thao__long-content-inner {
  padding-right: 15px; /* Space for scrollbar */
}

/* Custom scrollbar for long content box */
.page-the-thao__long-content-box::-webkit-scrollbar {
  width: 8px;
}

.page-the-thao__long-content-box::-webkit-scrollbar-track {
  background: #0A4B2C;
  border-radius: 10px;
}

.page-the-thao__long-content-box::-webkit-scrollbar-thumb {
  background: #2AD16F;
  border-radius: 10px;
}

.page-the-thao__long-content-box::-webkit-scrollbar-thumb:hover {
  background: #13994A;
}

/* Betting Guide Section */
.page-the-thao__betting-guide-section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-the-thao__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__guide-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-the-thao__guide-icon {
  margin-bottom: 20px;
}

.page-the-thao__guide-icon img {
  
  
  object-fit: contain;
  filter: drop-shadow(0 0 8px #57E38D); /* Glow */
}

.page-the-thao__card-title {
  font-size: 1.4em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-the-thao__card-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Why Choose Section (5 Guide Cards) */
.page-the-thao__why-choose-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-the-thao__guide-box {
  background: transparent;
  border-radius: 4px;
  padding: 20px 0;
}

.page-the-thao__guide-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-the-thao__guide-grid .page-the-thao__guide-card {
  flex: 0 0 calc(20% - 12px); /* 5 cards per row, accounting for gap */
  max-width: calc(20% - 12px);
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.page-the-thao__guide-grid .page-the-thao__guide-card img {
  aspect-ratio: 250 / 350; /* Fixed aspect ratio for vertical cards */
  object-fit: contain;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.page-the-thao__guide-grid .page-the-thao__guide-card img:hover {
  transform: translateY(-5px);
}

.page-the-thao__guide-card--pos-1,
.page-the-thao__guide-card--pos-5 {
  padding-top: 50px;
}

.page-the-thao__guide-card--pos-2,
.page-the-thao__guide-card--pos-4 {
  padding-top: 25px;
}

/* Promotions Section */
.page-the-thao__promotions-section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-the-thao__promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__promotion-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid #2E7A4E; /* Border */
  text-align: center;
  display: flex;
  flex-direction: column;
}

.page-the-thao__promotion-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* News Section (Blog Grid) */
.page-the-thao__news-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-the-thao__blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__blog-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
}

.page-the-thao__blog-card img {
  width: 100%;
  height: 200px; /* Fixed height for blog card images */
  object-fit: cover;
}

.page-the-thao__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-the-thao__blog-card .page-the-thao__card-title {
  font-size: 1.2em;
  margin-bottom: 10px;
  text-align: left;
}

.page-the-thao__blog-card .page-the-thao__card-title a {
  color: #F2C14E; /* Gold */
  text-decoration: none;
}

.page-the-thao__blog-card .page-the-thao__card-title a:hover {
  text-decoration: underline;
}

.page-the-thao__card-date {
  font-size: 0.9em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 10px;
}

.page-the-thao__blog-card .page-the-thao__card-description {
  font-size: 0.95em;
  color: #A7D9B8;
  margin-bottom: 15px;
  flex-grow: 1;
}

/* FAQ Section */
.page-the-thao__faq-section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-the-thao__faq-list {
  margin-top: 40px;
}

.page-the-thao__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  position: relative;
  list-style: none;
}

.page-the-thao__faq-question::-webkit-details-marker {
  display: none;
}

.page-the-thao__faq-question .page-the-thao__faq-toggle {
  font-size: 1.5em;
  transition: transform 0.3s ease;
  color: #2AD16F;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  transform: rotate(45deg);
}

.page-the-thao__faq-answer {
  padding: 0 25px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1.05em;
}

/* CTA Final Section */
.page-the-thao__cta-final-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
  text-align: center;
}

/* General Image Styles */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-the-thao__container {
    padding: 15px;
  }

  .page-the-thao__hero-slider {
    height: 500px;
  }

  .page-the-thao__hero-content {
    max-width: 90%;
    padding: 15px;
  }

  .page-the-thao__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }

  .page-the-thao__hero-description {
    font-size: 1.1em;
  }

  .page-the-thao__section-title {
    font-size: 2em;
  }

  .page-the-thao__sub-title {
    font-size: 1.6em;
  }

  .page-the-thao__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-the-thao__guide-grid .page-the-thao__guide-card {
    flex: 0 0 calc(33.333% - 10px); /* 3 cards per row */
    max-width: calc(33.333% - 10px);
  }
  
  .page-the-thao__guide-card--pos-1,
  .page-the-thao__guide-card--pos-5,
  .page-the-thao__guide-card--pos-2,
  .page-the-thao__guide-card--pos-4 {
    padding-top: 0; /* Reset for tablet layout */
  }

  .page-the-thao__promotion-grid,
  .page-the-thao__blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-the-thao {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-the-thao__container,
  .page-the-thao__hero-carousel-section,
  .page-the-thao__introduction-section,
  .page-the-thao__sports-betting-types-section,
  .page-the-thao__betting-guide-section,
  .page-the-thao__why-choose-section,
  .page-the-thao__promotions-section,
  .page-the-thao__news-section,
  .page-the-thao__faq-section,
  .page-the-thao__cta-final-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Hero Carousel Section */
  .page-the-thao__hero-carousel-section {
    padding-top: 10px !important;
    margin-bottom: 20px;
  }
  .page-the-thao__hero-slider {
    height: 300px !important; /* Smaller height for mobile */
  }

  .page-the-thao__hero-slider-prev,
  .page-the-thao__hero-slider-next {
    padding: 10px;
    font-size: 1.2em;
    width: 40px;
    height: 40px;
  }
  .page-the-thao__hero-slider-prev { left: 10px; }
  .page-the-thao__hero-slider-next { right: 10px; }

  .page-the-thao__hero-content {
    position: static;
    transform: none;
    background: none;
    padding: 10px 0;
    max-width: 100%;
  }

  .page-the-thao__main-title {
    font-size: 1.8em !important;
    margin-bottom: 10px;
    text-shadow: none;
  }

  .page-the-thao__hero-description {
    font-size: 1em;
    margin-bottom: 15px;
    color: #F2FFF6;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-tertiary,
  .page-the-thao__btn-read-more,
  .page-the-thao a[class*="button"],
  .page-the-thao 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;
  }

  /* Section Titles */
  .page-the-thao__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-the-thao__sub-title {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  /* Long Content Box */
  .page-the-thao__long-content-box {
    height: auto !important;
    overflow-y: visible !important;
    padding: 20px;
  }

  .page-the-thao__long-content-inner {
    padding-right: 0;
  }

  /* Betting Guide Steps */
  .page-the-thao__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Why Choose Section (5 Guide Cards) - Upper two, lower three layout */
  .page-the-thao__guide-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }

  .page-the-thao__guide-grid .page-the-thao__guide-card {
    flex: none;
    max-width: none;
    padding-top: 0 !important; /* Reset padding-top for mobile */
  }

  .page-the-thao__guide-card--pos-1,
  .page-the-thao__guide-card--pos-2 {
    grid-column: span 3;
  }
  .page-the-thao__guide-card--pos-3,
  .page-the-thao__guide-card--pos-4,
  .page-the-thao__guide-card--pos-5 {
    grid-column: span 2;
  }

  /* Promotions & News Grid */
  .page-the-thao__promotion-grid,
  .page-the-thao__blog-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .page-the-thao__blog-card img {
     /* Adjust height for mobile */
  }

  /* FAQ */
  .page-the-thao__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-the-thao__faq-answer {
    padding: 0 20px 15px;
    font-size: 1em;
  }

  /* General Image Responsiveness */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__image-wrapper img {
    box-shadow: none;
  }

  .page-the-thao__guide-icon img {
    
    
  }
}