:root {
    --Deep-Navy-rgb: 8, 22, 43; /* #08162B */
    --Main-Color-rgb: 17, 59, 122; /* #113B7A */
    --Card-BG-rgb: 16, 35, 63; /* #10233F */
    --Main-Color: #113B7A;
    --Accent-Color: #1D5FD1;
    --Card-BG: #10233F;
    --Text-Main: #F3F8FF;
    --Text-Secondary: #AFC4E8;
    --Border: #244D84;
    --Glow: #4FA8FF;
    --Gold: #F2C14E;
    --Divider: #1B3357;
    --Deep-Navy: #08162B;
}

.page-tin-tuc {
    font-family: 'Arial', sans-serif;
    color: var(--Text-Main); /* #F3F8FF */
    background-color: transparent; /* Body handles deep-navy from shared.css */
}

/* Section Spacing */
.page-tin-tuc__section-padding {
    padding: 40px 0;
}

.page-tin-tuc__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-tin-tuc__section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--Text-Main); /* #F3F8FF */
    text-align: center;
    margin-bottom: 15px;
}

.page-tin-tuc__section-subtitle {
    font-size: 18px;
    color: var(--Text-Secondary); /* #AFC4E8 */
    text-align: center;
    margin-bottom: 30px;
}

/* Hero Section */
.page-tin-tuc__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    overflow: hidden;
}

.page-tin-tuc__hero-image {
    width: 100%;
    position: relative;
    z-index: 0;
}

.page-tin-tuc__hero-image img {
    width: 100%;
    height: 675px; /* Based on 1200x675 layout slot */
    object-fit: cover;
    display: block;
}

.page-tin-tuc__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-top: 30px;
    padding: 0 15px;
}

.page-tin-tuc__main-title {
    font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
    font-weight: 800;
    color: var(--Text-Main); /* #F3F8FF */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-tin-tuc__description {
    font-size: 18px;
    color: var(--Text-Secondary); /* #AFC4E8 */
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-tin-tuc__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-tin-tuc__btn-primary,
.page-tin-tuc__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word;
}

.page-tin-tuc__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-tin-tuc__btn-primary:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-tin-tuc__btn-secondary {
    background: transparent;
    color: var(--Text-Main); /* #F3F8FF */
    border: 2px solid var(--Border); /* #244D84 */
}

.page-tin-tuc__btn-secondary:hover {
    background: rgba(var(--Deep-Navy-rgb), 0.5); 
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Latest News Section */
.page-tin-tuc__latest-news-section {
    background-color: var(--Deep-Navy); /* #08162B */
}

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

.page-tin-tuc__news-card {
    background-color: var(--Card-BG); /* #10233F */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-tin-tuc__news-card img {
    width: 100%;
    height: 225px; /* Based on 400x225 layout slot */
    object-fit: cover;
    display: block;
}

.page-tin-tuc__card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-tin-tuc__card-date {
    font-size: 14px;
    color: var(--Text-Secondary); /* #AFC4E8 */
    margin-bottom: 10px;
    display: block;
}

.page-tin-tuc__card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    flex-grow: 1;
}

.page-tin-tuc__card-title a {
    color: var(--Text-Main); /* #F3F8FF */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tin-tuc__card-title a:hover {
    color: var(--Glow); /* #4FA8FF */
}

.page-tin-tuc__card-description {
    font-size: 15px;
    color: var(--Text-Secondary); /* #AFC4E8 */
    margin-bottom: 15px;
    line-height: 1.6;
}

.page-tin-tuc__read-more {
    display: inline-block;
    color: var(--Glow); /* #4FA8FF */
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}

.page-tin-tuc__read-more:hover {
    color: var(--Gold); /* #F2C14E */
}

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

/* Featured Section */
.page-tin-tuc__featured-section {
    background-color: var(--Deep-Navy); /* Ensure dark background for light text */
}

.page-tin-tuc__dark-section {
    background-color: var(--Main-Color); /* #113B7A */
    color: #ffffff; /* Ensure light text for dark background */
}

.page-tin-tuc__section-title--light,
.page-tin-tuc__section-subtitle--light {
    color: #ffffff;
}

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

.page-tin-tuc__featured-card {
    background-color: var(--Card-BG); /* #10233F */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tin-tuc__featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-tin-tuc__featured-card img {
    width: 100%;
    height: 338px; /* Based on 600x338 layout slot */
    object-fit: cover;
    display: block;
}

.page-tin-tuc__card-date--light,
.page-tin-tuc__card-title--light a,
.page-tin-tuc__card-description--light {
    color: #ffffff;
}
.page-tin-tuc__card-title--light a:hover {
    color: var(--Glow);
}
.page-tin-tuc__read-more--light {
    color: var(--Glow);
}
.page-tin-tuc__read-more--light:hover {
    color: var(--Gold);
}

/* Categories Section */
.page-tin-tuc__categories-section {
    background-color: var(--Deep-Navy); /* #08162B */
}

.page-tin-tuc__categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    justify-content: center;
}

.page-tin-tuc__category-card {
    background-color: var(--Card-BG); /* #10233F */
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--Text-Main); /* #F3F8FF */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.page-tin-tuc__category-card:hover {
    transform: translateY(-5px);
    background-color: rgba(var(--Main-Color-rgb), 0.5); /* Use Main Color from custom colors */
}

.page-tin-tuc__category-icon {
    font-size: 36px;
    margin-bottom: 10px;
    line-height: 1;
}

.page-tin-tuc__category-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--Text-Main); /* #F3F8FF */
    margin: 0;
}

/* Philosophy & Why Choose Sections (Article Body) */
.page-tin-tuc__content-area {
    background-color: var(--Deep-Navy); /* #08162B */
}

.page-tin-tuc__article-body {
    max-width: 900px;
    margin: 0 auto;
    color: var(--Text-Secondary); /* #AFC4E8 */
    line-height: 1.8;
    font-size: 16px;
}

.page-tin-tuc__article-body h2 {
    color: var(--Text-Main); /* #F3F8FF */
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

.page-tin-tuc__article-body h3 {
    color: var(--Text-Main); /* #F3F8FF */
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-tin-tuc__article-body p {
    margin-bottom: 15px;
    color: var(--Text-Secondary); /* #AFC4E8 */
}

.page-tin-tuc__reason-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-tin-tuc__reason-list li {
    background-color: var(--Card-BG); /* #10233F */
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: var(--Text-Secondary); /* #AFC4E8 */
    transition: background-color 0.3s ease;
}

.page-tin-tuc__reason-list li:hover {
    background-color: rgba(var(--Main-Color-rgb), 0.3); /* Lighter hover */
}

.page-tin-tuc__reason-list li strong {
    color: var(--Text-Main); /* #F3F8FF */
}

/* FAQ Section */
.page-tin-tuc__faq-section {
    background-color: var(--Deep-Navy); /* #08162B */
}

details.page-tin-tuc__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--Border); /* #244D84 */
    overflow: hidden;
    background: var(--Card-BG); /* #10233F */
    color: var(--Text-Main); /* #F3F8FF */
}
details.page-tin-tuc__faq-item summary.page-tin-tuc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}
details.page-tin-tuc__faq-item summary.page-tin-tuc__faq-question::-webkit-details-marker {
    display: none;
}
details.page-tin-tuc__faq-item summary.page-tin-tuc__faq-question:hover {
    background: rgba(var(--Main-Color-rgb), 0.3); /* Hover effect for FAQ */
}
.page-tin-tuc__faq-qtext {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--Text-Main); /* #F3F8FF */
}
.page-tin-tuc__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--Glow); /* #4FA8FF */
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-tin-tuc__faq-item .page-tin-tuc__faq-answer {
    padding: 0 20px 20px;
    background: rgba(var(--Card-BG-rgb), 0.5); /* Slightly lighter background for answer */
    border-radius: 0 0 5px 5px;
    color: var(--Text-Secondary); /* #AFC4E8 */
}
.page-tin-tuc__faq-answer p {
    margin-bottom: 0;
}

/* CTA Section */
.page-tin-tuc__cta-section {
    background-color: var(--Main-Color); /* #113B7A */
    text-align: center;
}
.page-tin-tuc__cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}
.page-tin-tuc__description--light {
    color: #ffffff;
}

/* Global Image & Button Responsive */
.page-tin-tuc img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .page-tin-tuc__news-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-tin-tuc__featured-grid {
        grid-template-columns: 1fr;
    }
    .page-tin-tuc__categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-tin-tuc__section-padding {
        padding: 30px 0;
    }

    .page-tin-tuc__section-title {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .page-tin-tuc__section-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }

    /* HERO 主图区域 */
    .page-tin-tuc__hero-section {
        padding-top: 10px; /* Force small top padding */
        padding-bottom: 30px;
    }
    .page-tin-tuc__hero-image img {
        object-fit: contain !important; /* Must be contain */
        aspect-ratio: unset !important; /* Must be unset */
        height: 250px; /* Smaller fixed height for mobile */
    }
    .page-tin-tuc__hero-content {
        margin-top: 20px;
    }
    .page-tin-tuc__main-title {
        font-size: clamp(24px, 7vw, 36px);
        margin-bottom: 15px;
    }
    .page-tin-tuc__description {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .page-tin-tuc__cta-buttons {
        flex-direction: column; /* Vertical stack for buttons */
        gap: 15px;
        width: 100%;
        max-width: 300px; /* Constrain max width for stacked buttons */
        margin: 0 auto;
    }

    /* 按钮与按钮容器 */
    .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: 12px 20px;
        font-size: 15px;
    }
}