/* ===== Kimsa88 Thể Thao Page - Black Gold Theme ===== */
/* Flatsome Inspired: Hero Banner -> Logo Grid -> Guide */

.page-the-thao { background-color: #0A0A0A; color: #FFF6D6; line-height: 1.6; }

/* ===== HERO SECTION (Compact Banner) ===== */
.page-the-thao__hero-section {
    padding-top: 10px; /* Small offset, body padding handled by shared */
    padding-bottom: 12px;
    margin: 0 auto;
    max-width: 1000px;
}

.page-the-thao__hero-image-wrap { margin-bottom: 16px; }

.page-the-thao__hero-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 17/5; /* Desktop: ~1020x300 */
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #3A2A12;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.page-the-thao__hero-content {
    text-align: center;
    padding: 0 16px;
}

.page-the-thao__hero-title {
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.3;
    letter-spacing: 0.5px;
    color: #FFF6D6;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(255, 211, 107, 0.3);
}

.page-the-thao__hero-text {
    color: #D0DDE7;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 16px;
    padding: 0 8px;
}

.page-the-thao__hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-the-thao__cta-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.page-the-thao__cta-btn--primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #0A0A0A;
    box-shadow: 0 4px 12px rgba(255, 211, 107, 0.2);
}

.page-the-thao__cta-btn--secondary {
    background: transparent;
    color: #F2C14E;
    border: 2px solid #F2C14E;
}

.page-the-thao__cta-btn--primary:hover, .page-the-thao__cta-btn--secondary:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* ===== FEATURES SECTION ===== */
.page-the-thao__features-section {
    padding: 24px 16px;
    margin: 0 auto;
    max-width: 1000px;
}

.page-the-thao__section-title-wrap {
    text-align: center;
    margin-bottom: 24px;
}

.page-the-thao__section-title {
    color: #F2C14E;
    font-size: clamp(1.5rem, 2.5vw, 1.8rem);
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.page-the-thao__section-subtitle {
    color: #A0B0C2;
    font-size: 0.95rem;
}

.page-the-thao__features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.page-the-thao__feature-card {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
}

.page-the-thao__feature-card:hover {
    border-color: #F2C14E;
    box-shadow: 0 4px 20px rgba(255, 211, 107, 0.1);
}

.page-the-thao__feature-card-img {
    width: 100%;
    height: auto;
    aspect-ratio: 2/1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.page-the-thao__feature-card-title {
    color: #FFD36B;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.page-the-thao__feature-card-text {
    color: #D0DDE7;
    font-size: 0.9rem;
}

/* ===== GUIDE SECTION ===== */
.page-the-thao__guide-section {
    background-color: #111111;
    border-top: 1px solid #3A2A12;
    border-bottom: 1px solid #3A2A12;
    padding: 24px 16px;
}

.page-the-thao__guide-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.page-the-thao__guide-title {
    color: #F2C14E;
    font-size: clamp(1.5rem, 2.5vw, 1.8rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
}

.page-the-thao__guide-intro {
    color: #A0B0C2;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 24px;
}

.page-the-thao__guide-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-the-thao__guide-item {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
    background-color: #0A0A0A;
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 16px;
}

.page-the-thao__guide-item-img {
    width: 40%;
    height: auto;
    aspect-ratio: 2/1;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.page-the-thao__guide-item-content { flex: 1; }

.page-the-thao__guide-item-title {
    color: #FFD36B;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.page-the-thao__guide-item-text {
    color: #D0DDE7;
    font-size: 0.9rem;
}

/* ===== SPORTS SECTION ===== */
.page-the-thao__sports-section {
    padding: 24px 16px;
    margin: 0 auto;
    max-width: 1000px;
}

.page-the-thao__sports-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.page-the-thao__sport-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 12px;
    padding: 12px;
}

.page-the-thao__sport-item-img {
    width: 100%;
    height: auto;
    aspect-ratio: 2/1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.page-the-thao__sport-item-title {
    color: #FFD36B;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.page-the-thao__sport-item-text {
    color: #D0DDE7;
    font-size: 0.9rem;
}

/* ===== PROMO SECTION ===== */
.page-the-thao__promo-section {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1000px;
    margin: 24px auto;
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 16px;
    padding: 20px;
}

.page-the-thao__promo-content { flex: 1; }

.page-the-thao__promo-title {
    color: #F2C14E;
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 800;
    margin-bottom: 8px;
}

.page-the-thao__promo-text {
    color: #D0DDE7;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.page-the-thao__promo-actions {
    display: flex;
    gap: 12px;
}

.page-the-thao__promo-btn {
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-the-thao__promo-btn--light {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #0A0A0A;
}

.page-the-thao__promo-btn--outline {
    border: 1px solid #F2C14E;
    color: #F2C14E;
}

.page-the-thao__promo-image {
    width: 40%;
    height: auto;
    aspect-ratio: 2/1;
    object-fit: cover;
    border-radius: 12px;
}

/* ===== FAQ SECTION ===== */
.page-the-thao__faq-section {
    max-width: 1000px;
    margin: 24px auto;
    padding: 0 16px;
}

.page-the-thao__faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.page-the-thao__faq-item {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 10px;
    padding: 12px 16px;
}

.page-the-thao__faq-question {
    color: #FFD36B;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-the-thao__faq-question::after {
    content: '+'; /* JS will change to '-' when open */
    font-size: 1.5rem;
    color: #F2C14E;
    margin-left: 8px;
}

.page-the-thao__faq-item[open] .page-the-thao__faq-question::after { content: '-'; }

.page-the-thao__faq-answer {
    color: #D0DDE7;
    font-size: 0.9rem;
    margin-top: 8px;
}

/* ===== FINAL CTA SECTION ===== */
.page-the-thao__guide-cta-section {
    padding: 24px 16px 40px;
    text-align: center;
}

.page-the-thao__guide-cta-inner {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(145deg, #111111 0%, #1a1812 100%);
    border: 1px solid #3A2A12;
    border-radius: 16px;
    padding: 32px 24px;
}

.page-the-thao__guide-cta-title {
    color: #F2C14E;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 800;
    margin-bottom: 8px;
}

.page-the-thao__guide-cta-text {
    color: #D0DDE7;
    margin-bottom: 20px;
}

.page-the-thao__guide-cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-the-thao__final-cta-btn {
    display: inline-block;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #0A0A0A;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(255, 211, 107, 0.3);
    transition: all 0.3s ease;
}

.page-the-thao__final-cta-link {
    color: #F2C14E;
    font-weight: 600;
    padding: 12px 20px;
    text-decoration: none;
    border: 1px solid #F2C14E;
    border-radius: 999px;
    display: inline-block;
}

/* ===== DESKTOP-ONLY / MOBILE (MAX-WIDTH: 768px) ===== */
@media (max-width: 768px) {
  .page-the-thao { overflow-x: hidden; max-width: 100%; }

  .page-the-thao__hero-image { aspect-ratio: 2/1; } /* Mobile Proportions */

  .page-the-thao__features-grid { grid-template-columns: 1fr; }

  .page-the-thao__guide-item { flex-direction: column; }
  .page-the-thao__guide-item-img { width: 100%; }

  .page-the-thao__sports-list { grid-template-columns: 1fr; }

  .page-the-thao__promo-section { flex-direction: column; }
  .page-the-thao__promo-image { width: 100%; }

  .page-the-thao__hero-actions,
  .page-the-thao__guide-cta-actions,
  .page-the-thao__promo-actions { flex-direction: column; gap: 8px; }

  .page-the-thao__cta-btn,
  .page-the-thao__promo-btn,
  .page-the-thao__final-cta-btn,
  .page-the-thao__final-cta-link { box-sizing: border-box; max-width: 100% !important; white-space: normal; word-break: break-word; width: 100%; text-align: center; margin: 0; }

  /* Universal image + button guard for mobile */
  .page-the-thao img { max-width: 100% !important; height: auto !important; }
}

/* ===== 1024px Grid Adjustments ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  .page-the-thao__features-grid,
  .page-the-thao__sports-list { grid-template-columns: repeat(2, 1fr); }

  .page-the-thao__guide-item { flex-direction: column; }
  .page-the-thao__guide-item-img { width: 100%; }
}