:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg: #FFFFFF;
    --background-color: #F4F7FB; /* Assuming this is the body background from shared.css */
    --text-main: #1F2D3D;
    --text-dark: #000000; /* Custom Color_1776249996415 */
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
}

/* Base styles for the page content, assuming body has a light background from shared.css */
.page-tin-tuc {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Default text color for light background */
    background-color: var(--background-color); /* Page specific background, if different from body */
}

/* Hero Section */
.page-tin-tuc__hero-section {
    position: relative;
    padding-top: 10px; /* Rely on body padding-top for header offset, add a small top padding */
    padding-bottom: 40px;
    background-color: var(--primary-color); /* Dark background for hero */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-tin-tuc__hero-image-wrapper {
    width: 100%;
    max-height: 450px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
    z-index: 1; /* Ensure image is below text if text were to overlap */
}

.page-tin-tuc__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-tin-tuc__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-top: -100px; /* Overlap slightly with the image for visual effect, but not text on image */
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.95); /* Semi-transparent white background for text */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: var(--text-dark); /* Dark text for light background */
}

.page-tin-tuc__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color); /* Brand color for H1 */
    margin-bottom: 15px;
}

.page-tin-tuc__description {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 25px;
    color: var(--text-main);
}

/* General Container */
.page-tin-tuc__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Section Titles and Descriptions */
.page-tin-tuc__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    margin-top: 40px;
}

.page-tin-tuc__section-description {
    font-size: 1.1em;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-main);
}

/* Latest News Section */
.page-tin-tuc__latest-news {
    padding: 60px 0;
    background-color: var(--background-color); /* Light background for this section */
}

.page-tin-tuc__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-tin-tuc__news-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards stretch to fill grid row */
}

.page-tin-tuc__news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-tin-tuc__news-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-tin-tuc__news-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistent image size */
    object-fit: cover;
    display: block;
}

.page-tin-tuc__news-card-content {
    padding: 20px;
    flex-grow: 1; /* Allow content to grow and push read more to bottom */
    display: flex;
    flex-direction: column;
}

.page-tin-tuc__news-card-title {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-tin-tuc__news-card-meta {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

.page-tin-tuc__news-card-excerpt {
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 20px;
    flex-grow: 1; /* Allow excerpt to grow */
}

.page-tin-tuc__news-card-readmore {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    align-self: flex-start; /* Align to the start of the flex container */
}

.page-tin-tuc__view-all-button-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* Call to Action Section */
.page-tin-tuc__cta-section {
    padding: 80px 0;
    background-color: var(--background-color); /* Light background */
    text-align: center;
}

.page-tin-tuc__cta-section .page-tin-tuc__section-title {
    color: var(--primary-color);
}

.page-tin-tuc__cta-section .page-tin-tuc__section-description {
    color: var(--text-main);
}

.page-tin-tuc__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    margin-top: 30px;
}

/* FAQ Section */
.page-tin-tuc__faq-section {
    padding: 60px 0;
    background-color: var(--card-bg); /* White background */
}

.page-tin-tuc__faq-section .page-tin-tuc__section-title {
    color: var(--primary-color);
}

.page-tin-tuc__faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.page-tin-tuc__faq-item {
    background-color: #f9f9f9;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-tin-tuc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default marker for details summary */
}

.page-tin-tuc__faq-item[open] .page-tin-tuc__faq-question {
    background-color: var(--secondary-color);
    color: #ffffff;
}

.page-tin-tuc__faq-item[open] .page-tin-tuc__faq-toggle::before {
    content: '-';
}

.page-tin-tuc__faq-question::-webkit-details-marker {
    display: none;
}

.page-tin-tuc__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
}

.page-tin-tuc__faq-item[open] .page-tin-tuc__faq-toggle {
    color: #ffffff;
}

.page-tin-tuc__faq-toggle::before {
    content: '+';
}

.page-tin-tuc__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-main);
    background-color: #f9f9f9;
}

.page-tin-tuc__faq-answer p:last-child {
    margin-bottom: 0;
}

/* Common Button Styles */
.page-tin-tuc__cta-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.page-tin-tuc__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-tin-tuc__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-tin-tuc__btn-secondary {
    background-color: var(--card-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-tin-tuc__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.2);
}

/* Placeholder styles for modules not present on this page but required in CSS output */
/* Long Text Gold Frame Section */
.page-tin-tuc__home-content {
    border: 1px solid #FBB00D;
    border-radius: 10px;
    height: 650px;
    overflow-y: auto;
    padding: 30px;
    margin: 40px auto;
    max-width: 900px;
    background-color: var(--card-bg);
    color: var(--text-main);
}
.page-tin-tuc__home-content h2 {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.page-tin-tuc__home-content p {
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Game Slider Section */
.page-tin-tuc__row-games,
.page-tin-tuc__row-sport,
.page-tin-tuc__row-coop {
    background-color: #1A202C; /* Dark background */
    padding: 40px 20px;
    max-width: 1330px;
    margin: 0 auto;
    color: #fff;
}
.page-tin-tuc__games-title,
.page-tin-tuc__sport-title,
.page-tin-tuc__coop-title {
    color: #fff;
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
}
.page-tin-tuc__slider-wrapper {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}
.page-tin-tuc__slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    transition: transform 0.5s ease-in-out;
}
.page-tin-tuc__game-slide {
    flex: 0 0 200px;
    max-width: 200px;
    background-color: #333;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 10px;
}
.page-tin-tuc__game-slide img {
    width: 100%;
    
    object-fit: cover;
}
.page-tin-tuc__game-slide h3 {
    font-size: 1.1em;
    color: #fff;
    margin-top: 10px;
}
.page-tin-tuc__slider-prev,
.page-tin-tuc__slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}
.page-tin-tuc__slider-prev { left: 10px; }
.page-tin-tuc__slider-next { right: 10px; }

/* Cooperative Brands Grid */
.page-tin-tuc__banners-top-wrapper {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 0;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.page-tin-tuc__banner-item {
    display: flex;
    justify-content: center;
    align-items: center;
}
.page-tin-tuc__banner-item img {
    
    
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

/* Blog Slider (if used, here just for mobile consistency) */
.page-tin-tuc__blog-slider {
    overflow: hidden;
    padding: 20px 0;
}
.page-tin-tuc__blog-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}
.page-tin-tuc__blog-slide {
    flex: 0 0 calc(33.333% - 14px); /* For 3 items on desktop */
    max-width: calc(33.333% - 14px);
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.page-tin-tuc__blog-slide img {
    width: 100%;
    
    object-fit: cover;
}
.page-tin-tuc__blog-slide-content {
    padding: 15px;
}
.page-tin-tuc__blog-slide-title {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.page-tin-tuc__blog-slide-excerpt {
    font-size: 0.95em;
    color: var(--text-main);
    line-height: 1.5;
}
.page-tin-tuc__blog-slider-prev,
.page-tin-tuc__blog-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}
.page-tin-tuc__blog-slider-prev { left: 10px; }
.page-tin-tuc__blog-slider-next { right: 10px; }

/* News masonry (used in HTML) */
.page-tin-tuc__blog-masonry {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* Desktop default for 3 columns */
    gap: 20px;
    align-items: stretch; /* Ensure cards in the same row have equal height */
}

/* Generic image and container styles for mobile */
.page-tin-tuc img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-tin-tuc__container {
        padding: 15px;
    }
    .page-tin-tuc__hero-content {
        margin-top: -80px;
        padding: 25px;
    }
    .page-tin-tuc__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em);
    }
    .page-tin-tuc__news-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    .page-tin-tuc__news-card-image {
        height: 180px;
    }
    .page-tin-tuc__blog-slide {
        flex: 0 0 calc(50% - 10px); /* For 2 items on tablet */
        max-width: calc(50% - 10px);
    }
    .page-tin-tuc__blog-masonry {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .page-tin-tuc__banners-top-wrapper {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    /* 1. HERO 主图区域 */
    .page-tin-tuc__hero-section {
        padding-top: 10px; /* Specific top padding for mobile */
        padding-bottom: 20px;
    }
    .page-tin-tuc__hero-image-wrapper {
        max-height: 250px;
    }
    .page-tin-tuc__hero-content {
        margin-top: -50px;
        padding: 20px;
        border-radius: 10px;
    }
    .page-tin-tuc__main-title {
        font-size: clamp(1.5em, 6vw, 2em); /* Mobile H1 size */
        margin-bottom: 10px;
    }
    .page-tin-tuc__description {
        font-size: 1em;
        margin-bottom: 15px;
    }

    /* 2. 长文金框区 */
    .page-tin-tuc__home-content {
        height: auto; /* Auto height on mobile */
        max-height: 400px; /* Optional: limit for long text */
        overflow-y: auto;
        padding: 20px;
        margin: 20px auto;
        border-radius: 8px;
    }
    .page-tin-tuc__home-content h2 {
        font-size: 1.5em;
        margin-bottom: 15px;
    }
    .page-tin-tuc__home-content p {
        font-size: 0.95em;
    }

    /* 3. 游戏轮播 */
    .page-tin-tuc__row-games,
    .page-tin-tuc__row-sport,
    .page-tin-tuc__row-coop {
        padding: 20px 10px;
    }
    .page-tin-tuc__games-title,
    .page-tin-tuc__sport-title,
    .page-tin-tuc__coop-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-tin-tuc__slider-track {
        gap: 10px;
    }
    .page-tin-tuc__game-slide {
        flex: 0 0 160px; /* Mobile game slide width */
        max-width: 160px;
    }
    .page-tin-tuc__game-slide img {
        
    }
    .page-tin-tuc__slider-prev,
    .page-tin-tuc__slider-next {
        padding: 8px 12px;
        font-size: 1.2em;
    }

    /* 4. 合作品牌六宫格 */
    .page-tin-tuc__banners-top-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr)); /* Mobile 3 columns */
        gap: 8px;
        padding: 20px 0;
    }
    .page-tin-tuc__banner-item img {
         /* Smaller logos on mobile */
        
    }

    /* 5. 博客卡片区 */
    .page-tin-tuc__news-grid {
        grid-template-columns: 1fr; /* Single column for news cards on mobile */
        gap: 20px;
    }
    .page-tin-tuc__news-card-image {
        height: 150px;
    }
    .page-tin-tuc__news-card-title {
        font-size: 1.2em;
    }
    .page-tin-tuc__news-card-excerpt {
        font-size: 0.9em;
    }
    .page-tin-tuc__blog-masonry {
        grid-template-columns: 1fr; /* Single column for blog masonry */
    }
    .page-tin-tuc__blog-slide {
        flex: 0 0 100%; /* Full width for blog slider on mobile */
        max-width: 100%;
    }
    .page-tin-tuc__blog-slide img {
        
    }
    .page-tin-tuc__blog-slide-title {
        font-size: 1.1em;
    }
    .page-tin-tuc__blog-slide-excerpt {
        font-size: 0.85em;
    }

    /* 6. 通用图片与容器 */
    .page-tin-tuc img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-tin-tuc__section,
    .page-tin-tuc__card,
    .page-tin-tuc__container,
    .page-tin-tuc__hero-section,
    .page-tin-tuc__latest-news,
    .page-tin-tuc__cta-section,
    .page-tin-tuc__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 7. 按钮与按钮容器 */
    .page-tin-tuc__cta-button,
    .page-tin-tuc__btn-primary,
    .page-tin-tuc__btn-secondary,
    .page-tin-tuc a[class*="button"],
    .page-tin-tuc 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;
        margin-bottom: 10px; /* Add some space between stacked buttons */
    }
    .page-tin-tuc__button-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0; /* Already handled by container padding */
        padding-right: 0; /* Already handled by container padding */
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 10px;
    }
    .page-tin-tuc__button-group .page-tin-tuc__cta-button {
        margin: 0; /* Reset margin for stacked buttons */
    }

    /* FAQ mobile adjustments */
    .page-tin-tuc__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-tin-tuc__faq-answer {
        padding: 10px 20px 15px 20px;
        font-size: 0.95em;
    }
}