.page-the-thao-cac-loai-keo {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg: #111111;
  --background-dark: #0A0A0A;
  --text-main: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);

  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for dark body background */
  background-color: var(--background-dark); /* Assume body background is dark from shared.css */
}

.page-the-thao-cac-loai-keo__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-the-thao-cac-loai-keo__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-the-thao-cac-loai-keo__hero-image-wrapper {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  position: relative;
  overflow: hidden;
  margin-bottom: 20px; /* Space between image and content */
}

.page-the-thao-cac-loai-keo__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-the-thao-cac-loai-keo__hero-content {
  position: relative; /* Ensure content is above other elements if any */
  z-index: 2;
  padding: 20px;
  max-width: 900px;
  margin-top: -80px; /* Pull content up slightly over image if desired, but not directly on it */
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent background for readability */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.3);
  border: 1px solid var(--primary-color);
}

.page-the-thao-cac-loai-keo__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: var(--secondary-color);
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.5);
}

.page-the-thao-cac-loai-keo__hero-description {
  font-size: 1.1em;
  color: var(--text-main);
  margin-bottom: 30px;
}

.page-the-thao-cac-loai-keo__btn-primary,
.page-the-thao-cac-loai-keo__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao-cac-loai-keo__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-the-thao-cac-loai-keo__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-the-thao-cac-loai-keo__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  margin-left: 15px;
}

.page-the-thao-cac-loai-keo__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--background-dark);
  transform: translateY(-2px);
}

.page-the-thao-cac-loai-keo__content-section {
  padding: 50px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-the-thao-cac-loai-keo__dark-bg {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-the-thao-cac-loai-keo__card-bg {
  background-color: #1a1a1a;
  color: var(--text-main);
}

.page-the-thao-cac-loai-keo__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(242, 193, 78, 0.3);
}

.page-the-thao-cac-loai-keo__sub-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-the-thao-cac-loai-keo__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-the-thao-cac-loai-keo__image-text-block {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.page-the-thao-cac-loai-keo__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-the-thao-cac-loai-keo__image-inline {
  flex: 0 0 45%;
  max-width: 45%;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: block;
  height: auto;
}

.page-the-thao-cac-loai-keo__text-content {
  flex: 1;
}

.page-the-thao-cac-loai-keo__list,
.page-the-thao-cac-loai-keo__ordered-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-the-thao-cac-loai-keo__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  color: var(--text-main);
}

.page-the-thao-cac-loai-keo__list-item::before {
  content: '⚡'; /* Unicode lightning bolt */
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-size: 1.2em;
  top: -2px;
}

.page-the-thao-cac-loai-keo__ordered-list .page-the-thao-cac-loai-keo__list-item {
  list-style: decimal;
  margin-left: 25px;
  padding-left: 5px;
}

.page-the-thao-cac-loai-keo__ordered-list .page-the-thao-cac-loai-keo__list-item::before {
  content: none;
}

.page-the-thao-cac-loai-keo__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-the-thao-cac-loai-keo__container {
    padding: 15px;
  }
  .page-the-thao-cac-loai-keo__section-title {
    font-size: 2em;
  }
  .page-the-thao-cac-loai-keo__sub-title {
    font-size: 1.5em;
  }
  .page-the-thao-cac-loai-keo__text-block {
    font-size: 1em;
  }
  .page-the-thao-cac-loai-keo__image-text-block {
    flex-direction: column;
    gap: 20px;
  }
  .page-the-thao-cac-loai-keo__image-text-block--reverse {
    flex-direction: column;
  }
  .page-the-thao-cac-loai-keo__image-inline {
    max-width: 100%;
    flex: none;
  }
  .page-the-thao-cac-loai-keo__hero-content {
    margin-top: -60px;
    padding: 15px;
  }
  .page-the-thao-cac-loai-keo__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-the-thao-cac-loai-keo__hero-section {
    padding-top: 10px;
  }
  .page-the-thao-cac-loai-keo__hero-content {
    margin-top: -40px;
    padding: 10px;
    width: calc(100% - 30px); /* Adjust for padding */
    box-sizing: border-box;
  }
  .page-the-thao-cac-loai-keo__main-title {
    font-size: 2em !important;
    margin-bottom: 10px;
  }
  .page-the-thao-cac-loai-keo__hero-description {
    font-size: 0.9em;
    margin-bottom: 20px;
  }

  /* 长文金框区 (Content sections) */
  .page-the-thao-cac-loai-keo__content-section {
    padding: 30px 0;
  }
  .page-the-thao-cac-loai-keo__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-the-thao-cac-loai-keo__sub-title {
    font-size: 1.3em;
  }
  .page-the-thao-cac-loai-keo__text-block,
  .page-the-thao-cac-loai-keo__list-item {
    font-size: 1em;
  }

  /* 通用图片与容器 */
  .page-the-thao-cac-loai-keo img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-the-thao-cac-loai-keo__container,
  .page-the-thao-cac-loai-keo__content-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-the-thao-cac-loai-keo__image-inline {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* 按钮与按钮容器 */
  .page-the-thao-cac-loai-keo__btn-primary,
  .page-the-thao-cac-loai-keo__btn-secondary,
  .page-the-thao-cac-loai-keo a[class*="button"],
  .page-the-thao-cac-loai-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;
    margin-left: 0 !important; /* Remove margin for secondary button */
  }
  .page-the-thao-cac-loai-keo__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
  }

  /* Blog cards (if any, adapting to general content cards) */
  .page-the-thao-cac-loai-keo__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  /* No specific game/gameshow/blog-masonry/blog-slider-track rules as this is not a homepage */
}