/* style/sports.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần lặp lại */

.page-sports {
  background-color: #08160F; /* Nền tối theo tùy chỉnh */
  color: #F2FFF6; /* Văn bản chính màu sáng */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-sports__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px 20px; /* Nhẹ nhàng padding-top */
  box-sizing: border-box;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-sports__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-sports__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F2C14E; /* Màu vàng Gold cho tiêu đề chính */
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.page-sports__hero-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Màu Text Secondary */
  margin-bottom: 30px;
}

.page-sports__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Vẫn giữ padding nhỏ cho video section */
  box-sizing: border-box;
}

.page-sports__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 8px;
  background-color: #11271B; /* Card BG */
}

.page-sports__video-link {
  display: block;
  width: 100%;
  height: auto;
  cursor: pointer;
}

.page-sports__video {
  width: 100%;
  height: auto;
  display: block;
}

.page-sports__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  background-color: #11271B; /* Card BG cho các khu vực nội dung */
  border-radius: 8px;
  margin-bottom: 30px;
}

.page-sports__section-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-sports__section-title {
  font-size: 2.5em;
  color: #22C768; /* Màu xanh lá cây phụ */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-sports__text-block h3 {
  font-size: 1.8em;
  color: #F2FFF6; /* Text Main */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-sports__text-block p {
  margin-bottom: 1em;
  color: #F2FFF6; /* Text Main */
}

.page-sports__text-block ul,
.page-sports__text-block ol {
  margin-bottom: 1em;
  padding-left: 25px;
  color: #F2FFF6; /* Text Main */
}

.page-sports__text-block li {
  margin-bottom: 0.5em;
  color: #F2FFF6; /* Text Main */
}

.page-sports__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-sports__btn-primary,
.page-sports__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Nút chính */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-sports__btn-primary:hover,
.page-sports__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-sports__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background-color: #11271B; /* Card BG */
  color: #2AD16F; /* Màu xanh lá cây từ nút chính */
  text-decoration: none;
  border: 2px solid #2E7A4E; /* Màu viền */
  border-radius: 30px;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-sports__btn-secondary:hover {
  background-color: #2E7A4E; /* Màu viền */
  color: #F2FFF6; /* Text Main */
  transform: translateY(-2px);
}

.page-sports__guide-list li {
  background-color: #0A4B2C; /* Deep Green */
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-sports__guide-list li h3 {
  color: #F2C14E; /* Gold */
  margin-top: 0;
  margin-bottom: 10px;
}

.page-sports__guide-list li p {
  color: #F2FFF6; /* Text Main */
}

.page-sports__faq-list {
  margin-top: 30px;
}

.page-sports__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #1E3A2A; /* Divider */
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  font-size: 1.1em;
}

.page-sports__faq-question::-webkit-details-marker, /* Hide default marker for Chrome */
.page-sports__faq-question::marker { /* Hide default marker for Firefox */
  display: none;
}

.page-sports__faq-item[open] .page-sports__faq-question {
  background-color: #2E7A4E; /* Border color */
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-sports__faq-answer {
  padding: 15px 25px 20px 25px;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.5;
}

.page-sports__faq-answer a {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-sports__faq-answer a:hover {
  color: #F2C14E; /* Gold */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__main-title {
    font-size: 2.8em;
  }

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

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

  .page-sports__hero-section {
    padding: 10px 15px 40px 15px;
  }

  .page-sports__main-title {
    font-size: 2em; /* Giảm kích thước H1 cho di động */
    line-height: 1.3;
  }

  .page-sports__hero-description {
    font-size: 1em;
  }

  .page-sports__section-title {
    font-size: 1.8em;
  }

  .page-sports__text-block h3 {
    font-size: 1.5em;
  }

  .page-sports__content-area,
  .page-sports__video-section {
    padding: 20px 15px;
    margin-bottom: 20px;
  }

  /* Tất cả hình ảnh phải thích ứng với chiều rộng màn hình */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Tất cả container chứa hình ảnh/video/button */
  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__hero-image-wrapper,
  .page-sports__video-container,
  .page-sports__video-wrapper,
  .page-sports__cta-buttons,
  .page-sports__button-group,
  .page-sports__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Video thích ứng */
  .page-sports video,
  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video section padding-top */
  .page-sports__video-section {
    padding-top: 10px !important;
  }

  /* Nút thích ứng */
  .page-sports__cta-button,
  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports a[class*="button"],
  .page-sports 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;
    text-align: center;
    margin-bottom: 10px; /* Thêm khoảng cách giữa các nút */
  }

  .page-sports__cta-buttons,
  .page-sports__button-group,
  .page-sports__btn-container {
    display: flex;
    flex-direction: column; /* Nút xếp chồng lên nhau trên di động */
    gap: 10px;
  }

  .page-sports__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-sports__faq-answer {
    padding: 10px 20px 15px 20px;
  }
}