/* style/news.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1A1A1A; /* Dark Black */
    --accent-color: #CC0000; /* Red */
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --bg-light: #F8F8F8;
    --bg-dark: #222222;
    --card-bg: #FFFFFF;
    --border-color: #E0E0E0;
}

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

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

.page-news .highlight {
    color: var(--primary-color);
    font-weight: bold;
}

/* Hero Banner */
.page-news .hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
}

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

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

.page-news .hero-content {
    z-index: 1;
    padding: 0 20px;
}

.page-news .hero-title {
    font-size: 3.2em;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-news .hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #E0E0E0;
}

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

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

/* Section Titles and Descriptions */
.page-news .section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-top: 60px;
    margin-bottom: 20px;
    position: relative;
}

.page-news .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

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

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

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

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

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

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

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

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

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

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

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

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

.page-news .read-more-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-news .read-more-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Categories Section */
.page-news .categories-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0;
}

.page-news .categories-section .section-title {
    color: var(--primary-color);
}

.page-news .categories-section .section-description {
    color: #E0E0E0;
}

.page-news .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.page-news .category-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-news .category-card:hover {
    transform: translateY(-5px);
    background-color: #333333;
}

.page-news .category-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: brightness(1.2); /* Allowed for stylistic effect without changing original color */
}

.page-news .category-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-news .category-desc {
    font-size: 0.95em;
    color: #CCCCCC;
}

/* General News Section (List View) */
.page-news .general-news-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.page-news .news-list .list-item {
    display: flex;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-news .list-image {
    width: 300px;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
}

.page-news .list-content {
    padding: 25px;
    flex-grow: 1;
}

.page-news .list-title {
    font-size: 1.6em;
    margin-bottom: 10px;
}

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

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

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

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

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

.page-news .load-more-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-news .load-more-button:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

/* CTA Bottom Section */
.page-news .cta-bottom-section {
    background: linear-gradient(90deg, var(--secondary-color) 0%, #333333 100%);
    color: var(--text-light);
    padding: 70px 0;
    text-align: center;
}

.page-news .cta-bottom-section .section-title {
    color: var(--primary-color);
}

.page-news .cta-bottom-section .section-description {
    color: #E0E0E0;
    margin-bottom: 40px;
}

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

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

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

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

.page-news .faq-question:hover {
    background-color: #F5F5F5;
}

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

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

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

.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-color: #F9F9F9;
    color: var(--text-dark);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-news .hero-title {
        font-size: 2.8em;
    }
    .page-news .hero-description {
        font-size: 1.1em;
    }
    .page-news .list-image {
        width: 250px;
        height: 180px;
    }
    .page-news .list-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-news .hero-banner {
        padding: 40px 0;
    }
    .page-news .hero-title {
        font-size: 2.2em;
    }
    .page-news .hero-description {
        font-size: 1em;
    }
    .page-news .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-news .section-title {
        font-size: 2em;
        margin-top: 40px;
        margin-bottom: 15px;
    }
    .page-news .section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-news .latest-news-section, .page-news .categories-section, .page-news .general-news-section, .page-news .faq-section, .page-news .cta-bottom-section {
        padding: 50px 0;
    }
    .page-news .news-grid {
        grid-template-columns: 1fr;
    }
    .page-news .card-title {
        font-size: 1.3em;
    }
    .page-news .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .page-news .category-icon {
        width: 80px;
        height: 80px;
    }
    .page-news .category-title {
        font-size: 1.2em;
    }
    .page-news .news-list .list-item {
        flex-direction: column;
    }
    .page-news .list-image {
        width: 100%;
        height: 220px;
    }
    .page-news .list-content {
        padding: 20px;
    }
    .page-news .list-title {
        font-size: 1.3em;
    }
    .page-news .faq-question {
        padding: 15px 20px;
    }
    .page-news .faq-question h3 {
        font-size: 1.1em;
    }
    .page-news .faq-toggle {
        font-size: 1.5em;
    }
    .faq-item.active .page-news .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-news .hero-title {
        font-size: 1.8em;
    }
    .page-news .hero-description {
        font-size: 0.9em;
    }
    .page-news .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-news .section-title {
        font-size: 1.8em;
    }
    .page-news .card-title {
        font-size: 1.2em;
    }
    .page-news .list-title {
        font-size: 1.2em;
    }
    .page-news .category-grid {
        grid-template-columns: 1fr;
    }
}