/* style/the-thao.css */

/* General styles for the page */
.page-the-thao {
  font-family: Arial, sans-serif;
  color: #FFF3E6; /* Text Main */
  background: #0D0E12; /* Background */
  line-height: 1.6;
}

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

.page-the-thao__section-title {
  font-size: 2.5em;
  color: #FF8C1A; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-the-thao__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF3E6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 40px;
  background: #17191F; /* Card BG */
  position: relative;
  overflow: hidden;
}

.page-the-thao__hero-carousel-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.page-the-thao__hero-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  position: relative;
  width: 100%;
  height: 351px; /* Fixed height for desktop */
}

.page-the-thao__hero-slide {
  min-width: 100%;
  flex-shrink: 0;
  display: none;
}

.page-the-thao__hero-slide.is-active {
  display: block;
}

.page-the-thao__hero-slide img {
  width: 100%;
  height: 351px; /* Match slider height */
  object-fit: cover;
  display: block;
  min-height: 200px; /* Min size */
}

.page-the-thao__hero-slider-prev,
.page-the-thao__hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #FFF3E6;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 1.5em;
  z-index: 10;
  border-radius: 5px;
}

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

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

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

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

.page-the-thao__hero-content {
  text-align: center;
  padding: 40px 15px;
  max-width: 900px;
  margin: 0 auto;
}

.page-the-thao__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em); /* Clamp for responsive H1 */
  color: #FF8C1A;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-the-thao__subtitle {
  font-size: 1.2em;
  color: #FFF3E6;
  margin-bottom: 30px;
}

.page-the-thao__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: none;
}

.page-the-thao__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 140, 26, 0.4);
}

.page-the-thao__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FF8C1A; /* Main color */
  border: 2px solid #A84F0C; /* Border color */
}

.page-the-thao__btn-secondary:hover {
  background: #FF8C1A;
  color: #FFF3E6;
  border-color: #FF8C1A;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 140, 26, 0.4);
}

/* Guide Section (5 vertical team cards) */
.page-the-thao__guide-section {
  margin-bottom: 60px;
  background: #0D0E12; /* Background */
  padding: 60px 0;
}

.page-the-thao__guide-box {
  background: #17191F; /* Card BG */
  border-radius: 15px;
  padding: 40px 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.page-the-thao__guide-grid {
  display: flex;
  justify-content: space-around;
  align-items: flex-start; /* Align items to start for staggered effect */
  gap: 20px;
  flex-wrap: wrap;
}

.page-the-thao__guide-card {
  flex: 0 0 calc(20% - 16px); /* 5 items per row with gap */
  max-width: calc(20% - 16px);
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
}

.page-the-thao__guide-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(255, 140, 26, 0.3);
}

.page-the-thao__guide-card img {
  width: 100%;
  height: 350px; /* Fixed height for vertical cards */
  object-fit: cover; /* Cover to fill space */
  border-radius: 10px;
  display: block;
  min-height: 200px; /* Min size */
}

/* Staggered effect for desktop */
.page-the-thao__guide-card--pos-1 { padding-top: 50px; }
.page-the-thao__guide-card--pos-2 { padding-top: 25px; }
.page-the-thao__guide-card--pos-4 { padding-top: 25px; }
.page-the-thao__guide-card--pos-5 { padding-top: 50px; }


/* About Sports Section (Home Content Box adapted) */
.page-the-thao__about-sports-section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: #0D0E12; /* Background */
}

.page-the-thao__home-content-box {
  max-width: 91%;
  margin: 0 auto;
  padding: 10px 16px;
  border: 5px solid #A84F0C; /* Border color */
  border-radius: 15px;
  box-shadow: 0 0 20px #FFB04D; /* Glow */
  height: 700px; /* Fixed height for desktop */
  background: #17191F; /* Card BG */
  box-sizing: border-box;
}

.page-the-thao__home-content-inner {
  height: 100%;
  overflow-y: auto;
  padding-right: 15px; /* For scrollbar space */
  box-sizing: border-box;
}

.page-the-thao__home-content-inner p {
  margin-bottom: 1em;
  color: #FFF3E6;
}