/* style/news.css */

/* Base styles for the news page */
.page-news {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text on light background (body background is #FFFFFF) */
    background-color: #ffffff; /* Explicitly set for main content area */
}

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

.page-news__section-title {
    font-size: clamp(2em, 4vw, 2.8em); /* H1 font-size rule applied */
    font-weight: bold;
    color: #017439; /* Brand color for titles */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.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 {
    padding-top: 10px; /* Rely on body padding for header offset, then add small top padding */
    padding-bottom: 40px;
    background-color: #f8f8f8;
    text-align: center;
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    max-height: 600px; /* Limit height for desktop */
    object-fit: cover; /* Default for desktop, but will be 'contain' on mobile */
    border-radius: 8px;
    margin-bottom: 30px;
}

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

.page-news__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* H1 font-size rule applied */
    font-weight: 700;
    color: #017439;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-news__description {
    font-size: 1.2em;
    color: #444444;
    margin-bottom: 30px;
}

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

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