/* style/the-thao.css */

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

.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.8em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #FFF3E6; /* Text Main */
    line-height: 1.2;
}

.page-the-thao__sub-title {
    font-size: 1.8em;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #FFA53A; /* Auxiliary color for sub-titles */
}

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

.page-the-thao__text-block {
    margin-bottom: 15px;
    color: #FFF3E6;
}

.page-the-thao__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-the-thao__list li {
    margin-bottom: 8px;
    color: #FFF3E6;
}

.page-the-thao__figure {
    margin: 20px 0;
    text-align: center;
}

.page-the-thao__figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-the-thao__figcaption {
    font-style: italic;
    font-size: 0.9em;
    color: #A84F0C; /* Border color for figcaption */
    margin-top: 10px;
}

/* Buttons */
.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao a[class*="button"],
.page-the-thao a[class*="btn"] {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-the-thao__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
    color: #ffffff;
    border: 2px solid #D96800;
}

.page-the-thao__btn-primary:hover {
    background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
    box-shadow: 0 0 10px #FFB04D; /* Glow */
}

.page-the-thao__btn-secondary {
    background: transparent;
    color: #FFA53A;
    border: 2px solid #FFA53A;
}

.page-the-thao__btn-secondary:hover {
    background: #FFA53A;
    color: #0D0E12; /* Text color on hover */
    box-shadow: 0 0 10px #FFB04D; /* Glow */
}

.page-the-thao__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Hero Carousel Section */
.page-the-thao__hero-carousel-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
    overflow: hidden;
    margin-bottom: 50px;
}

.page-the-thao__hero-slider {
    position: relative;
    max-width: 1020px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(255, 140, 26, 0.5); /* Primary color glow */
}

.page-the-thao__hero-slide {
    display: none;
    position: relative;
    width: 100%;
    aspect-ratio: 1020 / 351;
}

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

.page-the-thao__hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-the-thao__hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 40px;
    background: linear-gradient(to top, rgba(13, 14, 18, 0.9) 0%, rgba(13, 14, 18, 0.5) 50%, rgba(13, 14, 18, 0) 100%);
    color: #FFF3E6;
    text-align: center;
}

.page-the-thao__hero-title {
    font-size: clamp(2em, 3.5vw, 3em);
    font-weight: 800;
    margin-bottom: 10px;
    color: #FFF3E6;
    line-height: 1.1;
    text-shadow: 0 0 8px rgba(255, 140, 26, 0.7);
}

.page-the-thao__hero-description {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

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

.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: 2em;
    z-index: 10;
    border-radius: 5px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.page-the-thao__hero-slider-prev:hover,
.page-the-thao__hero-slider-next:hover {
    opacity: 1;
}

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

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

.page-the-thao__hero-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.page-the-thao__hero-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.page-the-thao__hero-dot.is-active {
    background: #FF8C1A;
}

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

.page-the-thao__guide-box {
    padding: 20px;
    background: #0D0E12; /* Darker background for the box */
    border-radius: 10px;
    border: 2px solid #A84F0C; /* Border */
    box-shadow: 0 0 15px rgba(168, 79, 12, 0.5);
    margin-top: 40px;
}

.page-the-thao__guide-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap;
}

.page-the-thao__guide-card {
    flex: 0 0 calc(20% - 12px);
    max-width: calc(20% - 12px);
    text-align: center;
    position: relative;
    padding-top: 0;
}

.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; }

.page-the-thao__guide-card a {
    display: block;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-the-thao__guide-card img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 250 / 350;
    object-fit: contain;
    background-color: #17191F; /* Card BG for placeholder */
    border-radius: 8px;
}

/* Home Content Box (for long text content) */
.page-the-thao__home-content-box {
    max-width: 91%;
    margin: 50px auto;
    padding: 30px;
    border: 5px solid #A84F0C;
    border-radius: 15px;
    box-shadow: 0 0 20px #FFB04D;
    height: 700px;
    background: #17191F; /* Card BG */
    box-sizing: border-box;
}

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

/* Custom scrollbar for webkit browsers */
.page-the-thao__home-content-inner::-webkit-scrollbar {
    width: 8px;
}

.page-the-thao__home-content-inner::-webkit-scrollbar-track {
    background: #0D0E12; /* Background */
    border-radius: 10px;
}

.page-the-thao__home-content-inner::-webkit-scrollbar-thumb {
    background: #FFA53A; /* Auxiliary color */
    border-radius: 10px;
}

.page-the-thao__home-content-inner::-webkit-scrollbar-thumb:hover {
    background: #FF8C1A; /* Primary color */
}

/* Blog Section */
.page-the-thao__blog-section {
    padding: 60px 0;
    background: #0D0E12; /* Background */
    margin-bottom: 50px;
}

.page-the-thao__blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-the-thao__blog-card {
    background: #17191F; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #A84F0C; /* Border */
}

.page-the-thao__blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(255, 140, 26, 0.6);
}

.page-the-thao__blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-the-thao__blog-content {
    padding: 20px;
}

.page-the-thao__blog-title {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-the-thao__blog-title a {
    color: #FFF3E6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-the-thao__blog-title a:hover {
    color: #FFA53A;
}

.page-the-thao__blog-meta {
    font-size: 0.9em;
    color: #A84F0C;
    margin-bottom: 15px;
}

.page-the-thao__blog-excerpt {
    font-size: 1em;
    color: #FFF3E6;
    margin-bottom: 20px;
}

.page-the-thao__blog-readmore {
    display: inline-block;
    color: #FFA53A;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-the-thao__blog-readmore:hover {
    color: #FF8C1A;
    text-decoration: underline;
}

.page-the-thao__view-all-button-container {
    text-align: center;
    margin-top: 40px;
}

/* CTA Bottom Section */
.page-the-thao__cta-bottom-section {
    padding: 80px 0;
    text-align: center;
    background: #FF8C1A; /* Primary color as background */
    color: #ffffff;
}

.page-the-thao__cta-bottom-section .page-the-thao__section-title {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.page-the-thao__cta-bottom-section .page-the-thao__section-description {
    color: #ffffff;
    opacity: 0.9;
}

.page-the-thao__cta-bottom-section .page-the-thao__btn-primary {
    background: #FFF3E6;
    color: #D96800;
    border-color: #FFF3E6;
}

.page-the-thao__cta-bottom-section .page-the-thao__btn-primary:hover {
    background: #ffffff;
    color: #D96800;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.page-the-thao__cta-bottom-section .page-the-thao__btn-secondary {
    background: transparent;
    color: #FFF3E6;
    border-color: #FFF3E6;
}

.page-the-thao__cta-bottom-section .page-the-thao__btn-secondary:hover {
    background: #FFF3E6;
    color: #D96800;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* General image and container responsiveness */
.page-the-thao img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Responsive Styles --- */

/* Tablet and Mobile adjustments */
@media (max-width: 1024px) {
    .page-the-thao__hero-content {
        padding: 15px 20px;
    }

    .page-the-thao__hero-title {
        font-size: clamp(1.8em, 4vw, 2.5em);
    }

    .page-the-thao__guide-card {
        flex: 0 0 calc(33.333% - 10px);
        max-width: calc(33.333% - 10px);
    }

    .page-the-thao__guide-card--pos-1,
    .page-the-thao__guide-card--pos-2,
    .page-the-thao__guide-card--pos-4,
    .page-the-thao__guide-card--pos-5 {
        padding-top: 0;
    }

    .page-the-thao__blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
    .page-the-thao {
        font-size: 15px;
    }

    .page-the-thao__container {
        padding: 15px;
    }
}