.page-news {
    font-family: Arial, sans-serif;
    color: #333333; /* Default text color for light body background */
    line-height: 1.6;
}

/* Hero Section */
.page-news__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding */
    background-color: #f0f0f0;
}

.page-news__hero-image {
    width: 100%;
    max-height: 675px;
    object-fit: cover;
    display: block;
}

.page-news__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-50px);
    position: relative;
    z-index: 1;
}

.page-news__main-title {
    font-size: 2.8em;
    font-weight: 700;
    color: #017439;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-news__hero-description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 30px;
}

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

.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-news__btn-primary {
    background-color: #C30808;
    color: #FFFF00;
    border: 2px solid #C30808;
}

.page-news__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
}

.page-news__btn-secondary {
    background-color: #ffffff;
    color: #C30808;
    border: 2px solid #C30808;
}

.page-news__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #a30606;
    border-color: #a30606;
}

/* General Section Styling */
.page-news__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-news__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #017439;
    text-align: center;
    margin: 60px 0 40px;
}

.page-news__light-bg {
    background-color: #ffffff;
    padding: 40px 0;
}

.page-news__dark-section {
    background-color: #017439;
    color: #ffffff;
    padding: 60px 0;
}

/* Latest News Section */
.page-news__news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.page-news__news-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    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 6px 20px rgba(0, 0, 0, 0.15);
}

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

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

.page-news__news-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-news__news-card-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #017439;
    margin-bottom: 10px;
    line-height: 1.4;
}

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

.page-news__news-card-summary {
    font-size: 1em;
    color: #555555;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-news__read-more {
    display: inline-block;
    color: #C30808;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news__read-more:hover {
    color: #a30606;
}

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

/* Featured Article Section */
.page-news__featured-card {
    display: flex;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 1000px;
    margin: 0 auto;
}

.page-news__featured-image {
    width: 50%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-news__featured-content {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-news__featured-title {
    font-size: 1.8em;
    font-weight: 700;
    color: #017439;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-news__featured-meta {
    font-size: 0.9em;
    color: #777777;
    margin-bottom: 20px;
}

.page-news__featured-summary {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 30px;
}

/* FAQ Section */
.page-news__faq-section {
    padding-bottom: 60px;
}

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

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
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;
}
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: #333333;
}
.page-news__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-news__main-title {
        font-size: 2.5em;
    }
    .page-news__hero-content {
        padding: 30px 20px;
    }
    .page-news__news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-news__featured-card {
        flex-direction: column;
        max-width: 800px;
    }
    .page-news__featured-image,
    .page-news__featured-content {
        width: 100%;
    }
    .page-news__featured-content {
        padding: 30px;
    }
    .page-news__featured-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    /* General mobile adjustments */
    .page-news__container {
        padding: 0 15px;
    }

    /* Hero Section */
    .page-news__hero-section {
        padding-top: 10px;
    }
    .page-news__hero-image {
        max-height: 400px;
        object-fit: cover;
    }
    .page-news__hero-content {
        padding: 25px 15px;
        transform: translateY(-30px);
    }
    .page-news__main-title {
        font-size: 1.8em; /* H1 font size for mobile */
        margin-bottom: 10px;
    }
    .page-news__hero-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    .page-news__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-news__btn-primary,
    .page-news__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Section Titles */
    .page-news__section-title {
        font-size: 1.8em;
        margin: 40px 0 30px;
    }

    /* Latest News Section */
    .page-news__news-grid {
        grid-template-columns: 1fr; /* Single column for news cards */
        gap: 20px;
    }
    .page-news__news-card-image {
        height: 180px; /* Adjust card image height */
    }
    .page-news__news-card-title {
        font-size: 1.1em;
    }
    .page-news__news-card-summary {
        font-size: 0.95em;
    }

    /* Featured Article Section */
    .page-news__featured-card {
        flex-direction: column;
    }
    .page-news__featured-image {
        width: 100%;
        height: auto;
    }
    .page-news__featured-content {
        width: 100%;
        padding: 25px 15px;
    }
    .page-news__featured-title {
        font-size: 1.4em;
    }
    .page-news__featured-summary {
        font-size: 1em;
    }

    /* FAQ Section */
    details.page-news__faq-item summary.page-news__faq-question { padding: 15px; }
    .page-news__faq-qtext { font-size: 15px; }
    .page-news__faq-toggle { font-size: 20px; width: 24px; height: 24px; margin-left: 10px; }
    details.page-news__faq-item .page-news__faq-answer { padding: 0 15px 15px; }

    /* All images responsive */
    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-news__section,
    .page-news__card,
    .page-news__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}