/* style/news.css */

/* Variables for consistency */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f8f9fa;
    --background-dark: #1a1a1a;
    --border-color: #e0e0e0;
    --button-hover-bg: #1e87b9; /* A slightly darker shade of primary for hover */
}

/* Base page styles */
.page-news {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light background */
    background-color: var(--background-light); /* Default light background */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-news__section-title {
    font-size: 36px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-news__section-description {
    font-size: 18px;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Banner Section */
.page-news__hero-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color), #4fbceb); /* Blend primary with a lighter shade */
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.page-news__hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 30px;
}

.page-news__main-title {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
    font-weight: bold;
}

.page-news__intro-description {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.5;
    color: var(--text-light);
    opacity: 0.9;
}

.page-news__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}