/* style/tin-tuc.css */
:root {
    --primary-color: #1A237E; /* Deep Blue */
    --secondary-color: #FFD700; /* Gold */
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --text-gray: #666666;
    --bg-light: #F8F9FA;
    --bg-dark-accent: #2C387E; /* Slightly lighter primary for contrast */
    --border-color: #E0E0E0;
}

/* Base styles for the page content */
.page-tin-tuc {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.page-tin-tuc .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-tin-tuc section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-tin-tuc .section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-tin-tuc .section-description {
    font-size: 1.1em;
    color: var(--text-gray);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Banner Section */
.page-tin-tuc .banner-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 0; /* Image will handle padding visually */
    background-color: var(--primary-color); /* Fallback */
}

.page-tin-tuc .banner-image {
    width: 100%;
    height: 500px; /* Fixed height for visual impact */
    object-fit: cover;
    filter: brightness(0.7); /* Darken image for text readability, not color change */
    display: block;
}

.page-tin-tuc .banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: var(--text-light);
    max-width: 900px;
    padding: 20px;
}

.page-tin-tuc .banner-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    color: var(--secondary-color);
    line-height: 1.2;
    font-weight: bold;
}

.page-tin-tuc .banner-description {
    font-size: 1.2em;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Featured News Section */
.page-tin-tuc .featured-news {
    background-color: var(--bg-light);
}

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

.page-tin-tuc .news-card {
    background-color: var(--text-light);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-tin-tuc .news-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-tin-tuc .news-card-content {
    padding: 25px;
}

.page-tin-tuc .news-card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-tin-tuc .news-card-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tin-tuc .news-card-title a:hover {
    color: var(--secondary-color);
}

.page-tin-tuc .news-card-date {
    font-size: 0.9em;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.page-tin-tuc .news-card-excerpt {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.page-tin-tuc .btn-read-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-tin-tuc .btn-read-more:hover {
    background-color: #E6C200; /* Slightly darker gold */
    transform: translateY(-2px);
}

/* Categories Section */
.page-tin-tuc .categories-section {
    background-color: var(--bg-dark-accent);
    color: var(--text-light);
}

.page-tin-tuc .categories-section .section-title {
    color: var(--secondary-color);
}

.page-tin-tuc .categories-section .section-description {
    color: var(--text-light);
}

.page-tin-tuc .category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.page-tin-tuc .category-item {
    display: block;
    padding: 12px 25px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-tin-tuc .category-item:hover {
    background-color: #E6C200; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Latest Articles Section */
.page-tin-tuc .latest-articles {
    background-color: var(--bg-light);
}

.page-tin-tuc .article-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
}

.page-tin-tuc .article-list li {
    background-color: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.page-tin-tuc .article-list li:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.page-tin-tuc .article-link {
    display: flex;
    flex-direction: column;
    padding: 20px;
    text-decoration: none;
    color: inherit;
}

.page-tin-tuc .article-date {
    font-size: 0.9em;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.page-tin-tuc .article-title {
    font-size: 1.3em;
    color: var(--primary-color);
    margin: 0;
    transition: color 0.3s ease;
}

.page-tin-tuc .article-link:hover .article-title {
    color: var(--secondary-color);
}

.page-tin-tuc .pagination {
    text-align: center;
    margin-top: 40px;
}

.page-tin-tuc .pagination-link {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background-color: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-tin-tuc .pagination-link:hover,
.page-tin-tuc .pagination-link.active {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Special Reports Section */
.page-tin-tuc .special-reports {
    background-color: var(--bg-dark-accent);
    color: var(--text-light);
}

.page-tin-tuc .special-reports .section-title {
    color: var(--secondary-color);
}

.page-tin-tuc .special-reports .section-description {
    color: var(--text-light);
}

.page-tin-tuc .report-item {
    display: flex;
    background-color: var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tin-tuc .report-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.page-tin-tuc .report-image {
    width: 40%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-tin-tuc .report-content {
    width: 60%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-tin-tuc .report-title {
    font-size: 1.8em;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-tin-tuc .report-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tin-tuc .report-title a:hover {
    color: var(--text-light);
}

.page-tin-tuc .report-date {
    font-size: 0.9em;
    color: var(--text-light);
    opacity: 0.8;
    margin-bottom: 15px;
}

.page-tin-tuc .report-excerpt {
    font-size: 1.1em;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* CTA Section */
.page-tin-tuc .cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--bg-dark-accent));
    color: var(--text-light);
    text-align: center;
}

.page-tin-tuc .cta-section .section-title {
    color: var(--secondary-color);
    font-size: 2.8em;
}

.page-tin-tuc .cta-section .section-description {
    color: var(--text-light);
    max-width: 900px;
    margin-bottom: 40px;
}

.page-tin-tuc .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 10px 20px 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.page-tin-tuc .cta-button:hover {
    background-color: #E6C200; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-tin-tuc .cta-button.secondary {
    background-color: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.page-tin-tuc .cta-button.secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section - Reusing provided styles but with prefix */
.page-tin-tuc .faq-section {
    background-color: var(--bg-light);
}

.page-tin-tuc .faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-tin-tuc .faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-tin-tuc .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-tin-tuc .faq-question:hover {
    background: #f5f5f5;
}

.page-tin-tuc .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.page-tin-tuc .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    line-height: 1; /* Ensure +/- are vertically centered */
}

/* FAQ default state - answer hidden */
.page-tin-tuc .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
    background-color: var(--bg-light);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px;
}

.page-tin-tuc .faq-answer p {
    margin: 0;
    padding-bottom: 20px;
    color: var(--text-dark);
}

/* FAQ expanded state */
.page-tin-tuc .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 15px 25px 0 25px;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
}

.page-tin-tuc .faq-item.active .faq-toggle {
    transform: rotate(45deg); /* Plus sign rotates to form an X */
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-tin-tuc .banner-title {
        font-size: 2.8em;
    }
    .page-tin-tuc .banner-description {
        font-size: 1.1em;
    }
    .page-tin-tuc .report-item {
        flex-direction: column;
    }
    .page-tin-tuc .report-image,
    .page-tin-tuc .report-content {
        width: 100%;
    }
    .page-tin-tuc .report-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .page-tin-tuc section {
        padding: 40px 0;
    }
    .page-tin-tuc .section-title {
        font-size: 2em;
    }
    .page-tin-tuc .section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    /* Banner */
    .page-tin-tuc .banner-image {
        height: 350px;
    }
    .page-tin-tuc .banner-title {
        font-size: 2em;
    }
    .page-tin-tuc .banner-description {
        font-size: 0.95em;
    }

    /* News Grid */
    .page-tin-tuc .news-card-image {
        height: 180px;
    }
    .page-tin-tuc .news-card-title {
        font-size: 1.3em;
    }

    /* Categories */
    .page-tin-tuc .category-item {
        padding: 10px 20px;
        font-size: 1em;
    }

    /* Latest Articles */
    .page-tin-tuc .article-title {
        font-size: 1.1em;
    }
    .page-tin-tuc .article-link {
        padding: 15px;
    }

    /* Special Reports */
    .page-tin-tuc .report-title {
        font-size: 1.5em;
    }
    .page-tin-tuc .report-content {
        padding: 20px;
    }

    /* CTA */
    .page-tin-tuc .cta-section .section-title {
        font-size: 2.2em;
    }
    .page-tin-tuc .cta-button {
        padding: 12px 30px;
        font-size: 1.1em;
        margin: 0 5px 15px 5px;
    }

    /* FAQ */
    .page-tin-tuc .faq-question {
        padding: 15px 20px;
    }
    .page-tin-tuc .faq-question h3 {
        font-size: 1.1em;
    }
    .page-tin-tuc .faq-toggle {
        font-size: 20px;
    }
    .page-tin-tuc .faq-answer {
        padding: 0 20px;
    }
    .page-tin-tuc .faq-item.active .faq-answer {
        padding: 15px 20px 0 20px;
    }
}

@media (max-width: 480px) {
    .page-tin-tuc .banner-image {
        height: 250px;
    }
    .page-tin-tuc .banner-title {
        font-size: 1.5em;
    }
    .page-tin-tuc .banner-description {
        font-size: 0.85em;
    }
    .page-tin-tuc .news-card-content {
        padding: 15px;
    }
    .page-tin-tuc .news-card-title {
        font-size: 1.2em;
    }
    .page-tin-tuc .btn-read-more {
        padding: 8px 15px;
        font-size: 0.9em;
    }
    .page-tin-tuc .category-list {
        flex-direction: column;
        align-items: center;
    }
    .page-tin-tuc .report-item {
        flex-direction: column;
    }
    .page-tin-tuc .report-image {
        height: 200px;
    }
    .page-tin-tuc .report-content {
        padding: 15px;
    }
    .page-tin-tuc .report-title {
        font-size: 1.3em;
    }
    .page-tin-tuc .cta-button {
        display: block;
        width: calc(100% - 20px);
        margin: 0 auto 15px auto;
    }
    .page-tin-tuc .faq-question h3 {
        font-size: 1em;
    }
}