/* Base styles for the Thể Thao page */
.page-the-thao {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Default text color, will be #F3F8FF */
    background-color: var(--deep-navy); /* From shared.css, body background */
}

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

.page-the-thao__section {
    padding: 60px 0;
    text-align: center;
}

.page-the-thao__dark-section {
    background-color: var(--deep-navy); /* #08162B */
    color: var(--text-main); /* #F3F8FF */
}

.page-the-thao__section-title {
    font-size: 2.8em;
    color: var(--gold); /* #F2C14E */
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.05em;
}

.page-the-thao__sub-title {
    font-size: 1.8em;
    color: var(--text-main);
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-the-thao__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-secondary); /* #AFC4E8 */
}

.page-the-thao__text-block a {
    color: var(--glow); /* #4FA8FF */
    text-decoration: underline;
}

.page-the-thao__cta-text {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 30px;
}

/* Buttons */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-the-thao__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-the-thao__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.4);
}

.page-the-thao__btn-secondary {
    background: #ffffff;
    color: var(--main-color); /* #113B7A */
    border: 2px solid var(--main-color); /* #113B7A */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-the-thao__btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
}

.page-the-thao__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Images */
.page-the-thao img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

/* Hero Section */
.page-the-thao__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--deep-navy); /* Ensure dark background */
    overflow: hidden;
}

.page-the-thao__hero-image-container {
    width: 100%;
}

.page-the-thao__hero-image-container img {
    width: 100%;
    height: auto;
    border-radius: 0; /* Hero image usually full width, no rounded corners */
}

.page-the-thao__hero-content {
    padding: 40px 20px 80px;
    text-align: center;
    position: relative;
    z-index: 1;
    color: var(--text-main);
}

.page-the-thao__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Using clamp for H1 font size */
    color: var(--gold); /* #F2C14E */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.page-the-thao__description {
    font-size: 1.2em;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--text-secondary);
}

/* Intro Section */
.page-the-thao__intro-section {
    padding: 80px 0;
}

/* Betting Types Section */
.page-the-thao__betting-types-section {
    padding: 80px 0;
    background-color: var(--card-bg); /* #10233F */
}

.page-the-thao__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-the-thao__card {
    background: var(--card-bg); /* #10233F */
    border: 1px solid var(--border-color); /* #244D84 */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.page-the-thao__card:hover {
    transform: translateY(-5px);
}

.page-the-thao__card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3; /* Maintain aspect ratio for content images */
    margin-bottom: 15px;
    border-radius: 8px;
}

.page-the-thao__card-title {
    font-size: 1.5em;
    color: var(--text-main); /* #F3F8FF */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-the-thao__card-description {
    font-size: 1em;
    line-height: 1.6;
}

/* Guide Section (5 vertical team cards) */
.page-the-thao__guide-section {
    padding: 80px 0;
}

.page-the-thao__guide-box {
    padding: 30px;
    background: var(--card-bg); /* #10233F */
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
    margin-top: 40px;
    border: 2px solid var(--border-color);
}

.page-the-thao__guide-grid {
    display: flex; /* Using flex for desktop layout */
    justify-content: center;
    align-items: flex-start; /* Align items to the top to allow padding-top offsets */
    gap: 20px;
    flex-wrap: wrap;
}

.page-the-thao__guide-card {
    flex: 0 0 calc(20% - 16px); /* 5 cards, accounting for gap */
    max-width: calc(20% - 16px);
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.page-the-thao__guide-card:hover {
    transform: translateY(-5px);
}

.page-the-thao__guide-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 250 / 350; /* Fixed aspect ratio for vertical team cards */
    object-fit: contain; /* Use contain to ensure full image visibility if needed, or cover */
    border-radius: 0;
}