:root {
    --primary-color: #E53935; /* Main Red */
    --secondary-color: #FF5A4F; /* Accent Red/Orange */
    --card-bg-color: #FFFFFF;
    --background-color: #F5F7FA;
    --text-main-color: #333333;
    --border-color: #E0E0E0;
    --button-gradient: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
}

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

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

/* Hero Banner Section (Not the main HERO, just a banner for news page) */
.page-news__hero-banner {
    background: var(--primary-color);
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    /* Small top padding, relying on body for header offset */
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-news__hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-news__main-title {
    font-size: clamp(28px, 4vw, 48px); /* Using clamp for responsive font-size */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-news__description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-news__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-news__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* News List Section */
.page-news__news-list-section {
    padding: 60px 0;
    background-color: var(--background-color);
}

.page-news__section-title {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

.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-color);
    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;
    display: flex;
    flex-direction: column;
}

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

.page-news__news-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-news__news-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-news__card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-news__card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-main-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-news__card-excerpt {
    font-size: 15px;
    color: #666666;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-news__news-date {
    font-size: 14px;
    color: #999999;
    display: block;
    text-align: right;
}

.page-news__view-all-button-container {
    text-align: center;
    margin-top: 50px;
}

.page-news__view-all-button {
    min-width: 200px;
    padding: 12px 30px;
    font-size: 16px;
}

/* FAQ Section */
.page-news__faq-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-news__faq-list {
    margin-top: 30px;
}

details.page-news__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg-color);
}
details.page-news__faq-item summary.page-news__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-main-color);
}
details.page-news__faq-item summary.page-news__faq-question::-webkit-details-marker {
    display: none;
}
details.page-news__faq-item summary.page-news__faq-question:hover {
    background: #f5f5f5;
}
.page-news__faq-qtext {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main-color);
}
.page-news__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-news__faq-item .page-news__faq-answer {
    padding: 0 20px 20px;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: #555555;
}
.page-news__faq-answer p {
    margin: 0;
    padding-top: 10px;
    color: #555555;
}


/* Call to Action Section */
.page-news__call-to-action {
    background: var(--button-gradient);
    padding: 80px 20px;
    text-align: center;
    color: #ffffff;
}

.page-news__call-to-action .page-news__section-title {
    color: #ffffff;
}

.page-news__call-to-action .page-news__section-title::after {
    background-color: #ffffff;
}

.page-news__call-to-action .page-news__description {
    color: #f0f0f0;
    margin-bottom: 40px;
}

.page-news__call-to-action .page-news__cta-button {
    background: #ffffff;
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news__call-to-action .page-news__cta-button:hover {
    background: #eee;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-news {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-news__container {
        padding: 0 15px;
    }

    .page-news__hero-banner {
        padding: 40px 15px;
        padding-top: 10px !important; /* Small top padding */
    }

    .page-news__main-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 15px;
    }

    .page-news__description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-news__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-news__news-list-section,
    .page-news__faq-section,
    .page-news__call-to-action {
        padding: 40px 0;
    }

    .page-news__section-title {
        font-size: clamp(22px, 5vw, 30px);
        margin-bottom: 30px;
    }

    .page-news__news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-news__news-image {
        height: 180px;
    }

    .page-news__card-title {
        font-size: 18px;
    }

    .page-news__card-excerpt {
        font-size: 14px;
    }

    details.page-news__faq-item summary.page-news__faq-question {
        padding: 15px;
    }
    .page-news__faq-qtext {
        font-size: 15px;
    }
    details.page-news__faq-item .page-news__faq-answer {
        padding: 0 15px 15px;
    }

    /* Image responsive rules */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-news__news-card,
    .page-news__hero-banner,
    .page-news__news-list-section,
    .page-news__faq-section,
    .page-news__call-to-action {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-news__news-card img {
        height: auto !important; /* Override fixed height for responsiveness */
    }
}