/* style/news.css */

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

/* Header offset to prevent content being hidden by fixed header */
.page-news__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply header offset */
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #017439, #FFFFFF 80%); /* Gradient with brand colors */
    text-align: center;
    padding-bottom: 60px;
}

.page-news__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-news__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-news__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-news__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: #ffffff; /* White text on dark green gradient */
}

.page-news__hero-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-news__hero-description {
    font-size: 1.2em;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #f0f0f0;
}

.page-news__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #C30808; /* Custom color for register/login */
    color: #FFFF00; /* Custom font color for register/login */
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
}