/* style/tin-tuc.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1A202C; /* Charcoal Black */
    --accent-color: #E53E3E; /* Red for emphasis */
    --text-light: #ffffff;
    --text-dark: #1A202C;
    --bg-light: #f8f8f8;
    --bg-dark: #1A202C;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
}

.page-tin-tuc {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Hero News Section */
.page-tin-tuc .hero-news-section {
    position: relative;
    width: 100%;
    padding: 60px 0;
    background: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

.page-tin-tuc .hero-news-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.page-tin-tuc .hero-news-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-tin-tuc .hero-news-content h1 {
    font-size: 2.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-tin-tuc .hero-news-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    opacity: 0.9;
}

.page-tin-tuc .cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-tin-tuc .cta-button:hover {
    background-color: #FFC400;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* News Grid Section */
.page-tin-tuc .news-grid-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.page-tin-tuc .news-grid-section h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.page-tin-tuc .news-grid-section .section-description {
    text-align: center;
    font-size: 1.1em;
    color: var(--text-dark);
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.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(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-tin-tuc .news-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-tin-tuc .news-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-tin-tuc .news-card-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1.3;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: bold;
}

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

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

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

.page-tin-tuc .read-more-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.page-tin-tuc .read-more-button:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

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

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

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

/* Promotion CTA Section */
.page-tin-tuc .promotion-cta-section {
    background: linear-gradient(90deg, var(--secondary-color) 0%, #3a475a 100%);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.page-tin-tuc .promotion-cta-content h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-tin-tuc .promotion-cta-content p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}

.page-tin-tuc .promotion-cta-content .primary-button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 15px 40px;
    font-size: 1.2em;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-tin-tuc .promotion-cta-content .primary-button:hover {
    background-color: #FFC400;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* FAQ Section */
.page-tin-tuc .faq-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.page-tin-tuc .faq-section h2 {
    text-align: center;
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 50px;
}

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

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

.page-tin-tuc .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--card-bg);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.page-tin-tuc .faq-question h3 {
    font-size: 1.25em;
    color: var(--secondary-color);
    margin: 0;
    flex-grow: 1;
}

.page-tin-tuc .faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-tin-tuc .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--accent-color);
}

.page-tin-tuc .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #fdfdfd;
    color: var(--text-dark);
}

.page-tin-tuc .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-tin-tuc .hero-news-content h1 {
        font-size: 2.2em;
    }
    .page-tin-tuc .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-tin-tuc .news-grid-section h2,
    .page-tin-tuc .promotion-cta-content h2,
    .page-tin-tuc .faq-section h2 {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-tin-tuc .hero-news-section {
        padding: 40px 0;
    }
    .page-tin-tuc .hero-news-image {
        margin-bottom: 20px;
    }
    .page-tin-tuc .hero-news-content h1 {
        font-size: 1.8em;
    }
    .page-tin-tuc .hero-news-content p,
    .page-tin-tuc .section-description,
    .page-tin-tuc .promotion-cta-content p {
        font-size: 1em;
    }
    .page-tin-tuc .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-tin-tuc .news-grid-section,
    .page-tin-tuc .promotion-cta-section,
    .page-tin-tuc .faq-section {
        padding: 50px 0;
    }
    .page-tin-tuc .news-card-title {
        font-size: 1.2em;
    }
    .page-tin-tuc .news-card-content {
        padding: 20px;
    }
    .page-tin-tuc .read-more-button {
        padding: 8px 15px;
        font-size: 0.9em;
    }
    .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: 1.5em;
    }
    .page-tin-tuc .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-tin-tuc .hero-news-content h1 {
        font-size: 1.5em;
    }
    .page-tin-tuc .news-grid {
        grid-template-columns: 1fr;
    }
    .page-tin-tuc .news-grid-section h2,
    .page-tin-tuc .promotion-cta-content h2,
    .page-tin-tuc .faq-section h2 {
        font-size: 1.8em;
    }
    .page-tin-tuc .pagination .page-link {
        padding: 8px 12px;
        margin: 0 3px;
    }
    .page-tin-tuc .promotion-cta-content .primary-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}