/* style/th-thao.css */
.page-th-thao {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

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

.page-th-thao__hero {
    background: linear-gradient(135deg, #003366 0%, #004d99 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-th-thao__hero-content {
    max-width: 900px;
    z-index: 1;
    position: relative;
}

.page-th-thao__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFCC00;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-th-thao__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    line-height: 1.8;
    color: #e0e0e0;
}

.page-th-thao__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-th-thao__btn {
    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: 2px solid transparent;
    text-align: center;
}

.page-th-thao__btn--primary {
    background-color: #FFCC00;
    color: #003366;
    border-color: #FFCC00;
}

.page-th-thao__btn--primary:hover {
    background-color: #e6b800;
    border-color: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-th-thao__btn--secondary {
    background-color: transparent;
    color: #FFCC00;
    border-color: #FFCC00;
}

.page-th-thao__btn--secondary:hover {
    background-color: #FFCC00;
    color: #003366;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-th-thao__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.page-th-thao__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: grayscale(100%); /* Maintain original image color, but apply grayscale for background effect */
}

.page-th-thao__section {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.page-th-thao__section:nth-child(even) {
    background-color: #f0f4f7;
}

.page-th-thao__section-title {
    font-size: 2.5em;
    color: #003366;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-th-thao__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFCC00;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-th-thao__text-content {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 20px;
    text-align: justify;
}

.page-th-thao__text-content .highlight {
    color: #003366;
    font-weight: bold;
}

.page-th-thao__text-link {
    color: #003366;
    text-decoration: none;
    font-weight: bold;
}

.page-th-thao__text-link:hover {
    text-decoration: underline;
    color: #FFCC00;
}

.page-th-thao__btn--outline {
    background-color: transparent;
    color: #003366;
    border-color: #003366;
}

.page-th-thao__btn--outline:hover {
    background-color: #003366;
    color: #FFCC00;
    border-color: #003366;
}

.page-th-thao__btn--centered {
    display: block;
    margin: 40px auto 0;
    max-width: 300px;
}

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

.page-th-thao__sport-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-th-thao__sport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-th-thao__sport-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-th-thao__sport-title {
    font-size: 1.6em;
    color: #003366;
    margin-bottom: 15px;
}

.page-th-thao__sport-description {
    font-size: 1em;
    color: #555;
    text-align: justify;
}

.page-th-thao__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-th-thao__list li {
    background-color: #f0f4f7;
    padding: 25px;
    margin-bottom: 15px;
    border-left: 5px solid #FFCC00;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-th-thao__list-title {
    font-size: 1.4em;
    color: #003366;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-th-thao__flex-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-th-thao__flex-content--reverse {
    flex-direction: row-reverse;
}

.page-th-thao__text-block {
    flex: 1;
}

.page-th-thao__image-block {
    flex: 1;
    text-align: center;
}

.page-th-thao__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-th-thao__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-th-thao__promo-card {
    background-color: #003366;
    color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-th-thao__promo-card:hover {
    transform: translateY(-5px);
    background-color: #004d99;
}

.page-th-thao__promo-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: invert(1) hue-rotate(180deg) saturate(2); /* This is for icons to match theme, not actual image content */
}

.page-th-thao__promo-title {
    font-size: 1.5em;
    color: #FFCC00;
    margin-bottom: 10px;
}

.page-th-thao__promo-description {
    font-size: 1em;
    color: #e0e0e0;
}

.page-th-thao__step-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    margin-top: 30px;
}

.page-th-thao__step-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: 80px; /* Space for step number */
}

.page-th-thao__step-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 20px;
    background-color: #FFCC00;
    color: #003366;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-th-thao__step-list li p {
    margin-bottom: 10px;
}

.page-th-thao__btn--link {
    background-color: transparent;
    color: #003366;
    border: none;
    padding: 0;
    font-size: 1em;
    font-weight: bold;
    text-decoration: underline;
    display: inline-block;
    margin-top: 10px;
}

.page-th-thao__btn--link:hover {
    color: #FFCC00;
    text-decoration: none;
}

.page-th-thao__btn--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-th-thao__hero-title {
        font-size: 2.8em;
    }
    .page-th-thao__hero-description {
        font-size: 1.1em;
    }
    .page-th-thao__section-title {
        font-size: 2em;
    }
    .page-th-thao__flex-content {
        flex-direction: column;
        gap: 30px;
    }
    .page-th-thao__flex-content--reverse {
        flex-direction: column;
    }
    .page-th-thao__promo-grid,
    .page-th-thao__sport-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-th-thao__hero {
        padding: 80px 0;
    }
    .page-th-thao__hero-title {
        font-size: 2.2em;
    }
    .page-th-thao__hero-description {
        font-size: 1em;
    }
    .page-th-thao__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-th-thao__btn {
        width: 80%;
        max-width: 280px;
        padding: 12px 25px;
    }
    .page-th-thao__section {
        padding: 40px 0;
    }
    .page-th-thao__section-title {
        font-size: 1.8em;
    }
    .page-th-thao__text-content {
        font-size: 0.95em;
    }
    .page-th-thao__sport-card, .page-th-thao__promo-card {
        padding: 20px;
    }
    .page-th-thao__list li,
    .page-th-thao__step-list li {
        padding: 20px 20px 20px 60px;
    }
    .page-th-thao__step-list li::before {
        width: 35px;
        height: 35px;
        font-size: 1.3em;
        left: 15px;
        top: 15px;
    }
}

@media (max-width: 480px) {
    .page-th-thao__hero-title {
        font-size: 1.8em;
    }
    .page-th-thao__hero-description {
        font-size: 0.9em;
    }
    .page-th-thao__btn {
        width: 90%;
    }
    .page-th-thao__section-title {
        font-size: 1.5em;
    }
    .page-th-thao__sport-grid,
    .page-th-thao__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-th-thao__sport-icon,
    .page-th-thao__promo-icon {
        width: 60px;
        height: 60px;
    }
}