/* style/news.css */
:root {
    --primary-color: #003366;
    --secondary-color: #FFCC00;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f4f7f6;
    --background-dark: #002244;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
}

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

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

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

.page-news .section-title {
    font-size: 3em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: uppercase;
}

.page-news .section-subtitle {
    font-size: 1.2em;
    color: var(--text-color-dark);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-news .hero-news-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004d99 100%);
    color: var(--text-color-light);
    text-align: center;
    padding: 100px 20px;
    border-bottom: 5px solid var(--secondary-color);
}

.page-news .hero-news-title {
    font-size: 4em;
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--secondary-color);
}

.page-news .hero-news-description {
    font-size: 1.5em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
}

.page-news .cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 18px 45px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3em;
    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);
}

.page-news .cta-button:hover {
    background-color: #e6b800; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Featured Articles */
.page-news .featured-articles {
    background-color: var(--card-background);
}

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

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

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

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

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

.page-news .article-title {
    font-size: 1.7em;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: bold;
}

.page-news .article-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news .article-link:hover {
    color: var(--secondary-color);
}

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

.page-news .read-more-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    border: 2px solid var(--secondary-color);
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    align-self: flex-start;
}

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

/* Latest Updates */
.page-news .latest-updates {
    background-color: var(--background-light);
}

.page-news .articles-list {
    display: grid;
    gap: 25px;
}

.page-news .list-item {
    background-color: var(--card-background);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news .list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.page-news .list-item-image {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 20px;
    flex-shrink: 0;
}

.page-news .list-item-content {
    flex-grow: 1;
}

.page-news .list-item-title {
    font-size: 1.5em;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: bold;
}

.page-news .list-item-meta {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.page-news .list-item-excerpt {
    font-size: 1em;
    color: var(--text-color-dark);
    margin-bottom: 15px;
}

.page-news .load-more-button-container {
    text-align: center;
    margin-top: 50px;
}

/* Insights Section */
.page-news .insights-section {
    background-color: var(--background-dark);
    color: var(--text-color-light);
}

.page-news .insights-section .section-title, .page-news .insights-section .section-subtitle {
    color: var(--secondary-color);
}

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

.page-news .insight-card {
    background-color: #002e5c; /* Darker blue for contrast */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 204, 0, 0.3);
}

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

.page-news .insight-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 204, 0, 0.2);
}

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

.page-news .insight-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: bold;
}

.page-news .insight-excerpt {
    font-size: 1em;
    color: #c0c0c0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news .insight-card .read-more-link {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

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

/* Call to Action Banner */
.page-news .call-to-action-banner {
    background: var(--secondary-color);
    color: var(--primary-color);
    text-align: center;
    padding: 80px 20px;
}

.page-news .banner-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--primary-color);
}

.page-news .banner-description {
    font-size: 1.4em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

.page-news .call-to-action-banner .cta-button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-news .call-to-action-banner .cta-button:hover {
    background-color: #004d99; /* Slightly lighter blue */
    color: var(--secondary-color);
}

/* FAQ Section */
.page-news .faq-section {
    background-color: var(--background-light);
    padding-bottom: 80px;
}

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

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

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

.page-news .faq-question:hover {
    background: #f0f0f0;
    border-color: var(--primary-color);
}

.page-news .faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--primary-color);
    font-weight: bold;
}

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

.page-news .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.page-news .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-color-dark);
    border-radius: 0 0 8px 8px;
    border: 1px solid var(--border-color);
    border-top: none;
}

.page-news .faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 20px 25px;
}

.page-news .faq-answer p {
    margin: 0;
    font-size: 1.05em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-news .hero-news-title {
        font-size: 3.5em;
    }
    .page-news .hero-news-description {
        font-size: 1.3em;
    }
    .page-news .section-title {
        font-size: 2.5em;
    }
    .page-news .section-subtitle {
        font-size: 1.1em;
    }
    .page-news .articles-grid, .page-news .insights-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-news .list-item-image {
        width: 120px;
        height: 80px;
    }
    .page-news .list-item-title {
        font-size: 1.3em;
    }
    .page-news .banner-title {
        font-size: 3em;
    }
    .page-news .banner-description {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .page-news section {
        padding: 40px 0;
    }
    .page-news .hero-news-title {
        font-size: 2.8em;
    }
    .page-news .hero-news-description {
        font-size: 1.1em;
    }
    .page-news .cta-button {
        padding: 15px 35px;
        font-size: 1.1em;
    }
    .page-news .section-title {
        font-size: 2em;
    }
    .page-news .section-subtitle {
        font-size: 1em;
    }
    .page-news .articles-grid, .page-news .insights-grid {
        grid-template-columns: 1fr;
    }
    .page-news .article-image, .page-news .insight-image {
        height: 200px;
    }
    .page-news .article-title, .page-news .insight-title {
        font-size: 1.4em;
    }
    .page-news .list-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    .page-news .list-item-image {
        width: 100%;
        height: 150px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    .page-news .list-item-title {
        font-size: 1.2em;
    }
    .page-news .banner-title {
        font-size: 2.5em;
    }
    .page-news .banner-description {
        font-size: 1em;
    }
    .page-news .faq-question h3 {
        font-size: 1.1em;
    }
    .page-news .faq-toggle {
        font-size: 1.8em;
    }
    .page-news .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-news .hero-news-title {
        font-size: 2.2em;
    }
    .page-news .hero-news-description {
        font-size: 0.9em;
    }
    .page-news .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-news .section-title {
        font-size: 1.8em;
    }
    .page-news .article-title, .page-news .insight-title {
        font-size: 1.2em;
    }
    .page-news .banner-title {
        font-size: 2em;
    }
    .page-news .banner-description {
        font-size: 0.9em;
    }
    .page-news .faq-question h3 {
        font-size: 1em;
    }
    .page-news .faq-toggle {
        font-size: 1.5em;
    }
}