:root {
    --primary-color: #FF0000; /* Đỏ */
    --secondary-color: #000080; /* Xanh đậm */
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --background-light: #f4f7fa;
    --background-dark: #1a1a2e;
    --border-color: #e0e0e0;
}

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

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

.page-news-section {
    padding: 60px 0;
    text-align: center;
}

.page-news-section:nth-of-type(even) {
    background-color: #ffffff;
}

.page-news-hero-banner {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.page-news-hero-image {
    width: 100%;
    height: auto;
    max-height: 400px; /* Adjust as needed */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-news-hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.page-news-hero-content h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--text-light);
    line-height: 1.2;
}

.page-news-hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-news-cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--primary-color);
}

.page-news-cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary-color);
}

.page-news-section h2 {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.page-news-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-news-section-description {
    font-size: 1.1em;
    color: var(--text-dark);
    max-width: 900px;
    margin: 0 auto 40px auto;
}

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

.page-news-article-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.page-news-article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

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

.page-news-article-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-news-article-title:hover {
    color: var(--primary-color);
}

.page-news-article-meta {
    font-size: 0.9em;
    color: #777777;
    margin-bottom: 15px;
}

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

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

.page-news-read-more:hover {
    background: var(--secondary-color);
}

.page-news-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-news-pagination-link {
    display: inline-block;
    padding: 12px 18px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    color: var(--primary-color);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: bold;
}

.page-news-pagination-link:hover,
.page-news-pagination-link.page-news-active {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-news-cta-bottom {
    background: linear-gradient(135deg, var(--secondary-color), #000050);
    color: var(--text-light);
    padding: 80px 0;
}

.page-news-cta-bottom h2 {
    color: var(--text-light);
}

.page-news-cta-bottom h2::after {
    background-color: var(--text-light);
}

.page-news-cta-bottom p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 20px auto 40px auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-news-secondary-button {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--text-light);
    margin-left: 20px;
}

.page-news-secondary-button:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-news-faq-area {
    background-color: var(--background-light);
}

.page-news-faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--secondary-color);
    font-weight: bold;
}

.faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 20px 25px;
}

.faq-answer p {
    margin: 0;
    font-size: 1em;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-news-hero-content h1 {
        font-size: 2.5em;
    }

    .page-news-hero-content p {
        font-size: 1.1em;
    }

    .page-news-section h2 {
        font-size: 2em;
    }

    .page-news-articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-news-article-title {
        font-size: 1.3em;
    }

    .page-news-cta-button, .page-news-secondary-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-news-hero-banner {
        padding: 40px 15px;
    }

    .page-news-hero-image {
        max-height: 250px;
    }

    .page-news-hero-content h1 {
        font-size: 2em;
    }

    .page-news-hero-content p {
        font-size: 1em;
    }

    .page-news-section {
        padding: 40px 0;
    }

    .page-news-section h2 {
        font-size: 1.8em;
    }

    .page-news-section-description {
        font-size: 0.95em;
    }

    .page-news-articles-grid {
        grid-template-columns: 1fr;
    }

    .page-news-article-image {
        height: 180px;
    }

    .page-news-article-content {
        padding: 20px;
    }

    .page-news-article-title {
        font-size: 1.2em;
    }

    .page-news-cta-bottom p {
        font-size: 1em;
    }

    .page-news-cta-button, .page-news-secondary-button {
        display: block;
        width: fit-content;
        margin: 15px auto;
    }

    .page-news-secondary-button {
        margin-left: auto;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-question h3 {
        font-size: 1.1em;
    }

    .faq-toggle {
        font-size: 1.5em;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-news-hero-content h1 {
        font-size: 1.6em;
    }

    .page-news-hero-content p {
        font-size: 0.9em;
    }

    .page-news-cta-button, .page-news-secondary-button {
        font-size: 1em;
        padding: 10px 25px;
    }

    .page-news-section h2 {
        font-size: 1.5em;
    }

    .page-news-article-title {
        font-size: 1.1em;
    }

    .page-news-read-more {
        padding: 8px 15px;
        font-size: 0.9em;
    }

    .page-news-pagination-link {
        padding: 8px 12px;
        font-size: 0.9em;
    }
}