.page-news {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF; /* Matches body background from shared.css */
}

/* Fixed Header Offset - Apply to the first main content section */
.page-news__hero-section {
    padding-top: var(--header-offset, 120px);
}

/* Container for consistent spacing */
.page-news__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Section Titles and Descriptions */
.page-news__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand color for titles */
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-news__section-description {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-news__hero-section {
    position: relative;
    text-align: center;
    padding-bottom: 60px;
    background-color: #FFFFFF; /* Light background for hero */
}

.page-news__main-title {
    font-size: 3em;
    color: #017439;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-news__intro-text {
    font-size: 1.2em;
    color: #333333;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

.page-news__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.page-news__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

/* Buttons */
.page-news__btn-primary,
.page-news__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

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

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

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

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

/* News Grid */
.page-news__latest-news {
    padding: 60px 0;
    background-color: #f9f9f9;
}

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

.page-news__news-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-news__news-card:hover {
    transform: translateY(-5px);
}

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

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

.page-news__card-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #017439;
    flex-grow: 1;
}

.page-news__card-title a {
    text-decoration: none;
    color: #017439;
    transition: color 0.3s ease;
}

.page-news__card-title a:hover {
    color: #005a2e;
}

.page-news__card-date {
    font-size: 0.9em;
    color: #777777;
    margin-bottom: 15px;
}

.page-news__card-excerpt {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

.page-news__read-more {
    display: inline-flex;
    align-items: center;
    color: #017439;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    margin-top: auto;
}

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

.page-news__arrow {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.page-news__read-more:hover .page-news__arrow {
    transform: translateX(5px);
}

.page-news__view-all-cta {
    text-align: center;
    margin-top: 40px;
}

/* Industry Insights Section */
.page-news__industry-insights {
    padding: 60px 0;
    background-color: #017439; /* Dark background */
    color: #ffffff; /* Light text */
}

.page-news__industry-insights .page-news__section-title,
.page-news__industry-insights .page-news__section-description {
    color: #ffffff;
}

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