.page-news {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Hero Section */
.page-news__hero-section {
    position: relative;
    padding: 80px 20px;
    background-color: #017439; /* Primary brand color for hero background */
    color: #ffffff;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-news__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.2;
}

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

.page-news__hero-image {
    max-width: 100%;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: block; /* Ensure it behaves as a block element for margin auto */
    margin-left: auto;
    margin-right: auto;
}

/* General Section Styling */
.page-news__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff; /* Default for dark sections */
}

.page-news__section-subtitle {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: #f0f0f0; /* Slightly lighter for subtitle */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Dark and Light Background Sections for Contrast */
.page-news__dark-section {
    background-color: #0a0a0a; /* Match body background for consistency */
    padding: 60px 0;
    color: #ffffff;
}

.page-news__light-bg {
    background-color: #ffffff;
    padding: 60px 0;
    color: #333333; /* Dark text on light background */
}

.page-news__light-bg .page-news__section-title,
.page-news__light-bg .page-news__section-subtitle {
    color: #333333; /* Dark text for titles/subtitles on light background */
}

/* Buttons */
.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1.1em;
}

.page-news__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}