:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --bg-light: #F8F8F8;
    --bg-dark: #222222;
    --border-color: #E0E0E0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
}

.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: 0 20px;
}

/* News Hero Section */
.page-news .news-hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
}

.page-news .hero-container {
    position: relative;
    width: 100%;
    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: 450px; /* Adjust as needed */
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px var(--shadow-medium);
    margin-bottom: 30px;
}

.page-news .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay for readability */
    padding: 30px;
    border-radius: 10px;
}

.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.6);
    font-weight: bold;
}

.page-news .hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-news .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.page-news .cta-button:hover {
    background: var(--text-light);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

/* Section Titles & Subtitles */
.page-news .section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 15px;
    margin-top: 60px;
    font-weight: bold;
}

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

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

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

.page-news .news-card {
    background: var(--text-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news .news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px var(--shadow-medium);
}

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

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

.page-news .news-card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: bold;
    min-height: 72px; /* Ensure consistent height for titles */
}

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

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

.page-news .news-card-excerpt {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
    min-height: 70px; /* Ensure consistent height for excerpts */
}

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

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

.page-news .view-all-button-wrapper {
    text-align: center;
    margin-top: 50px;
}

/* Featured Articles Section */
.page-news .featured-articles-section {
    padding: 60px 0;
    background-color: var(--text-light);
}

.page-news .article-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.page-news .article-item {
    display: flex;
    align-items: flex-start;
    background: var(--bg-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-light);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news .article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow-medium);
}

.page-news .article-image {
    width: 35%; /* Adjust width for image */
    height: 250px;
    object-fit: cover;
    flex-shrink: 0;
}

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

.page-news .article-title {
    font-size: 1.8em;
    margin-bottom: 10px;
    font-weight: bold;
}

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

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

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

.page-news .article-excerpt {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
}

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

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

.page-news .category-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow-light);
}

.page-news .category-card:hover {
    background: var(--primary-color);
    color: var(--text-dark);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px var(--shadow-medium);
}

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

.page-news .cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-news .cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-news .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-news .cta-buttons .cta-button.primary {
    background: var(--primary-color);
    color: var(--text-dark);
}

.page-news .cta-buttons .cta-button.primary:hover {
    background: var(--text-light);
    color: var(--secondary-color);
}

.page-news .cta-buttons .cta-button.secondary {
    background: var(--text-light);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-news .cta-buttons .cta-button.secondary:hover {
    background: var(--primary-color);
    color: var(--text-dark);
    border-color: var(--text-light);
}

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

.page-news .faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-light);
    overflow: hidden;
}

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

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

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

.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);
    color: var(--secondary-color);
}

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

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 15px 25px 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 .article-item {
        flex-direction: column;
    }
    .page-news .article-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-news .hero-section {
        padding: 60px 15px;
    }
    .page-news .hero-image {
        max-height: 300px;
        margin-bottom: 20px;
    }
    .page-news .hero-content {
        padding: 20px;
    }
    .page-news .hero-title {
        font-size: 2.2em;
    }
    .page-news .hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-news .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-news .section-title {
        font-size: 2em;
        margin-top: 40px;
    }
    .page-news .section-subtitle {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-news .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-news .news-card-title {
        font-size: 1.3em;
        min-height: auto;
    }
    .page-news .news-card-excerpt {
        min-height: auto;
    }
    .page-news .article-item {
        border-radius: 8px;
    }
    .page-news .article-image {
        height: 180px;
    }
    .page-news .article-content {
        padding: 20px;
    }
    .page-news .article-title {
        font-size: 1.5em;
    }
    .page-news .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 15px;
    }
    .page-news .category-card {
        padding: 18px;
        font-size: 1em;
    }
    .page-news .cta-bottom-section {
        padding: 50px 15px;
    }
    .page-news .cta-title {
        font-size: 2.2em;
    }
    .page-news .cta-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-news .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-news .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1em;
    }
    .faq-toggle {
        font-size: 1.5em;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 12px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-news .hero-title {
        font-size: 1.8em;
    }
    .page-news .hero-image {
        max-height: 250px;
    }
    .page-news .cta-title {
        font-size: 1.8em;
    }
    .page-news .cta-button {
        width: 100%;
    }
    .page-news .news-card-title {
        font-size: 1.2em;
    }
    .page-news .article-title {
        font-size: 1.3em;
    }
}