:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-login-bg: #C30808;
  --register-login-text: #FFFF00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --border-light: #e0e0e0;
  --background-light: #f9f9f9;
}

.page-lich-thi-dau-ty-le-keo {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

.page-lich-thi-dau-ty-le-keo__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-lich-thi-dau-ty-le-keo__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  background-color: var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-lich-thi-dau-ty-le-keo__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-lich-thi-dau-ty-le-keo__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-lich-thi-dau-ty-le-keo__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: var(--text-light);
  padding: 0 20px;
}

.page-lich-thi-dau-ty-le-keo__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--register-login-text);
}

.page-lich-thi-dau-ty-le-keo__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.page-lich-thi-dau-ty-le-keo__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.page-lich-thi-dau-ty-le-keo__btn-primary,
.page-lich-thi-dau-ty-le-keo__btn-secondary,
.page-lich-thi-dau-ty-le-keo__btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-lich-thi-dau-ty-le-keo__btn-primary {
  background-color: var(--register-login-bg);
  color: var(--register-login-text);
  border: 2px solid var(--register-login-bg);
}

.page-lich-thi-dau-ty-le-keo__btn-primary:hover {
  background-color: #A30606;
  border-color: #A30606;
}

.page-lich-thi-dau-ty-le-keo__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-lich-thi-dau-ty-le-keo__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-lich-thi-dau-ty-le-keo__btn-small {
  padding: 8px 15px;
  font-size: 0.9rem;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 1px solid var(--primary-color);
  border-radius: 5px;
}

.page-lich-thi-dau-ty-le-keo__btn-small:hover {
  background-color: #005F2E;
  border-color: #005F2E;
}

/* General Section Styles */
.page-lich-thi-dau-ty-le-keo__intro-section,
.page-lich-thi-dau-ty-le-keo__matches-section,
.page-lich-thi-dau-ty-le-keo__live-odds-section,
.page-lich-thi-dau-ty-le-keo__analysis-section,
.page-lich-thi-dau-ty-le-keo__faq-section,
.page-lich-thi-dau-ty-le-keo__cta-banner {
  padding: 60px 0;
}

.page-lich-thi-dau-ty-le-keo__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-lich-thi-dau-ty-le-keo__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-lich-thi-dau-ty-le-keo__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.page-lich-thi-dau-ty-le-keo__section-title--white {
  color: var(--secondary-color);
}

.page-lich-thi-dau-ty-le-keo__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
  color: var(--primary-color);
}

.page-lich-thi-dau-ty-le-keo__sub-title--white {
  color: var(--secondary-color);
}

.page-lich-thi-dau-ty-le-keo__text-block {
  font-size: 1.05rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-lich-thi-dau-ty-le-keo__text-block--white {
  color: var(--secondary-color);
}

.page-lich-thi-dau-ty-le-keo__text-block a {
  color: var(--register-login-text);
  text-decoration: underline;
}

.page-lich-thi-dau-ty-le-keo__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Match List & Cards */
.page-lich-thi-dau-ty-le-keo__sport-category {
  margin-bottom: 50px;
}

.page-lich-thi-dau-ty-le-keo__match-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-lich-thi-dau-ty-le-keo__match-card {
  background-color: var(--secondary-color);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.page-lich-thi-dau-ty-le-keo__match-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-lich-thi-dau-ty-le-keo__match-info,
.page-lich-thi-dau-ty-le-keo__match-odds {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.page-lich-thi-dau-ty-le-keo__match-card .page-lich-thi-dau-ty-le-keo__btn-small {
  margin-top: 20px;
  align-self: center;
}


/* Live Odds Table */
.page-lich-thi-dau-ty-le-keo__odds-table-wrapper {
  overflow-x: auto;
  margin-top: 40px;
}

.page-lich-thi-dau-ty-le-keo__odds-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  min-width: 600px;
}

.page-lich-thi-dau-ty-le-keo__odds-table th,
.page-lich-thi-dau-ty-le-keo__odds-table td {
  padding: 15px;
  text-align: center;
  border: 1px solid var(--border-light);
}

.page-lich-thi-dau-ty-le-keo__odds-table thead th {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 1.1rem;
}

.page-lich-thi-dau-ty-le-keo__odds-table tbody tr:nth-child(even) {
  background-color: var(--background-light);
}

.page-lich-thi-dau-ty-le-keo__odds-table tbody tr:hover {
  background-color: #e6ffe6;
}

/* Analysis Grid */
.page-lich-thi-dau-ty-le-keo__analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-lich-thi-dau-ty-le-keo__analysis-card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-lich-thi-dau-ty-le-keo__analysis-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.page-lich-thi-dau-ty-le-keo__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-lich-thi-dau-ty-le-keo__analysis-card .page-lich-thi-dau-ty-le-keo__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 20px 20px 10px;
  color: var(--primary-color);
}

.page-lich-thi-dau-ty-le-keo__analysis-card .page-lich-thi-dau-ty-le-keo__card-text {
  font-size: 1rem;
  margin: 0 20px 20px;
  flex-grow: 1;
}

/* FAQ Section */
.page-lich-thi-dau-ty-le-keo__faq-list {
  margin-top: 40px;
}

details.page-lich-thi-dau-ty-le-keo__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  background: var(--secondary-color);
}
details.page-lich-thi-dau-ty-le-keo__faq-item summary.page-lich-thi-dau-ty-le-keo__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--primary-color);
}
details.page-lich-thi-dau-ty-le-keo__faq-item summary.page-lich-thi-dau-ty-le-keo__faq-question::-webkit-details-marker {
  display: none;
}
details.page-lich-thi-dau-ty-le-keo__faq-item summary.page-lich-thi-dau-ty-le-keo__faq-question:hover {
  background: var(--background-light);
}
.page-lich-thi-dau-ty-le-keo__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-lich-thi-dau-ty-le-keo__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-lich-thi-dau-ty-le-keo__faq-item .page-lich-thi-dau-ty-le-keo__faq-answer {
  padding: 0 20px 20px;
  background: var(--background-light);
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}
.page-lich-thi-dau-ty-le-keo__faq-answer p {
  margin: 0;
  font-size: 1rem;
}
.page-lich-thi-dau-ty-le-keo__faq-answer a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* CTA Banner */
.page-lich-thi-dau-ty-le-keo__cta-banner {
  text-align: center;
  padding: 80px 0;
}
.page-lich-thi-dau-ty-le-keo__cta-banner .page-lich-thi-dau-ty-le-keo__cta-buttons {
  margin-top: 40px;
}


/* --- Responsive Styles --- */

/* Tablet and smaller desktops */
@media (max-width: 1024px) {
  .page-lich-thi-dau-ty-le-keo__container {
    padding: 0 15px;
  }

  .page-lich-thi-dau-ty-le-keo__hero-section {
    padding-bottom: 30px;
  }

  .page-lich-thi-dau-ty-le-keo__hero-image-wrapper {
    max-height: 500px;
  }

  .page-lich-thi-dau-ty-le-keo__main-title {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
  }

  .page-lich-thi-dau-ty-le-keo__hero-description {
    font-size: 1rem;
  }

  .page-lich-thi-dau-ty-le-keo__btn-primary,
  .page-lich-thi-dau-ty-le-keo__btn-secondary {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .page-lich-thi-dau-ty-le-keo__intro-section,
  .page-lich-thi-dau-ty-le-keo__matches-section,
  .page-lich-thi-dau-ty-le-keo__live-odds-section,
  .page-lich-thi-dau-ty-le-keo__analysis-section,
  .page-lich-thi-dau-ty-le-keo__faq-section,
  .page-lich-thi-dau-ty-le-keo__cta-banner {
    padding: 40px 0;
  }

  .page-lich-thi-dau-ty-le-keo__section-title {
    font-size: clamp(1.6rem, 3.8vw, 2.2rem);
    margin-bottom: 25px;
  }

  .page-lich-thi-dau-ty-le-keo__sub-title {
    font-size: clamp(1.4rem, 3.2vw, 1.8rem);
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-lich-thi-dau-ty-le-keo__text-block {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-lich-thi-dau-ty-le-keo__match-list {
    gap: 20px;
  }

  .page-lich-thi-dau-ty-le-keo__match-title {
    font-size: 1.15rem;
  }

  .page-lich-thi-dau-ty-le-keo__match-info,
  .page-lich-thi-dau-ty-le-keo__match-odds {
    font-size: 0.9rem;
  }

  .page-lich-thi-dau-ty-le-keo__odds-table th,
  .page-lich-thi-dau-ty-le-keo__odds-table td {
    padding: 12px;
    font-size: 0.9rem;
  }

  .page-lich-thi-dau-ty-le-keo__analysis-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }

  .page-lich-thi-dau-ty-le-keo__card-image {
    height: 200px;
  }

  .page-lich-thi-dau-ty-le-keo__analysis-card .page-lich-thi-dau-ty-le-keo__card-title {
    font-size: 1.15rem;
    margin: 15px 15px 8px;
  }

  .page-lich-thi-dau-ty-le-keo__analysis-card .page-lich-thi-dau-ty-le-keo__card-text {
    font-size: 0.95rem;
    margin: 0 15px 15px;
  }

  details.page-lich-thi-dau-ty-le-keo__faq-item summary.page-lich-thi-dau-ty-le-keo__faq-question {
    padding: 15px 18px;
  }

  .page-lich-thi-dau-ty-le-keo__faq-qtext {
    font-size: 1rem;
  }

  .page-lich-thi-dau-ty-le-keo__faq-toggle {
    font-size: 20px;
    width: 24px;
  }

  details.page-lich-thi-dau-ty-le-keo__faq-item .page-lich-thi-dau-ty-le-keo__faq-answer {
    padding: 0 18px 18px;
  }

  .page-lich-thi-dau-ty-le-keo__faq-answer p {
    font-size: 0.95rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .page-lich-thi-dau-ty-le-keo {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-lich-thi-dau-ty-le-keo__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  /* HERO 主图区域 */
  .page-lich-thi-dau-ty-le-keo__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px;
  }
  .page-lich-thi-dau-ty-le-keo__hero-image-wrapper {
    max-height: 300px;
    margin-bottom: 20px;
  }
  .page-lich-thi-dau-ty-le-keo__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-lich-thi-dau-ty-le-keo__hero-content {
    padding: 0 15px;
  }
  .page-lich-thi-dau-ty-le-keo__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-lich-thi-dau-ty-le-keo__hero-description {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  /* 按钮与按钮容器 */
  .page-lich-thi-dau-ty-le-keo__cta-buttons {
    flex-direction: column !important;
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-lich-thi-dau-ty-le-keo__btn-primary,
  .page-lich-thi-dau-ty-le-keo__btn-secondary,
  .page-lich-thi-dau-ty-le-keo__btn-small,
  .page-lich-thi-dau-ty-le-keo a[class*="button"],
  .page-lich-thi-dau-ty-le-keo 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;
  }
  .page-lich-thi-dau-ty-le-keo__cta-banner .page-lich-thi-dau-ty-le-keo__cta-buttons {
    padding-left: 0;
    padding-right: 0;
  }

  /* 通用图片与容器 */
  .page-lich-thi-dau-ty-le-keo img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-lich-thi-dau-ty-le-keo__intro-section,
  .page-lich-thi-dau-ty-le-keo__matches-section,
  .page-lich-thi-dau-ty-le-keo__live-odds-section,
  .page-lich-thi-dau-ty-le-keo__analysis-section,
  .page-lich-thi-dau-ty-le-keo__faq-section,
  .page-lich-thi-dau-ty-le-keo__cta-banner {
    padding: 30px 0;
  }

  .page-lich-thi-dau-ty-le-keo__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 20px;
  }

  .page-lich-thi-dau-ty-le-keo__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-lich-thi-dau-ty-le-keo__text-block {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }

  .page-lich-thi-dau-ty-le-keo__match-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-lich-thi-dau-ty-le-keo__match-card {
    padding: 20px;
  }

  .page-lich-thi-dau-ty-le-keo__match-title {
    font-size: 1.1rem;
  }

  .page-lich-thi-dau-ty-le-keo__match-info,
  .page-lich-thi-dau-ty-le-keo__match-odds {
    font-size: 0.85rem;
  }

  .page-lich-thi-dau-ty-le-keo__odds-table-wrapper {
    margin-top: 20px;
  }
  .page-lich-thi-dau-ty-le-keo__odds-table {
    min-width: 500px;
  }
  .page-lich-thi-dau-ty-le-keo__odds-table th,
  .page-lich-thi-dau-ty-le-keo__odds-table td {
    padding: 10px;
    font-size: 0.8rem;
  }

  .page-lich-thi-dau-ty-le-keo__analysis-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-lich-thi-dau-ty-le-keo__card-image {
    height: 180px;
  }

  .page-lich-thi-dau-ty-le-keo__analysis-card .page-lich-thi-dau-ty-le-keo__card-title {
    font-size: 1.1rem;
    margin: 15px;
  }

  .page-lich-thi-dau-ty-le-keo__analysis-card .page-lich-thi-dau-ty-le-keo__card-text {
    font-size: 0.9rem;
    margin: 0 15px 15px;
  }

  details.page-lich-thi-dau-ty-le-keo__faq-item summary.page-lich-thi-dau-ty-le-keo__faq-question {
    padding: 15px;
  }

  .page-lich-thi-dau-ty-le-keo__faq-qtext {
    font-size: 0.95rem;
  }

  .page-lich-thi-dau-ty-le-keo__faq-toggle {
    font-size: 18px;
    width: 20px;
  }

  details.page-lich-thi-dau-ty-le-keo__faq-item .page-lich-thi-dau-ty-le-keo__faq-answer {
    padding: 0 15px 15px;
 }}