/* style/news-platform-announcements.css */

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

/* Hero Section */
.page-news-platform-announcements__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background: linear-gradient(135deg, #e0ffe0, #ffffff); /* Light gradient to fit green theme, ensuring contrast */
    overflow: hidden; /* For image responsiveness */
}

.page-news-platform-announcements__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-news-platform-announcements__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-news-platform-announcements__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    /* No filter allowed */
}

.page-news-platform-announcements__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

.page-news-platform-announcements__main-title {
    font-size: 3.2em;
    color: var(--primary-color); /* Brand color for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.page-news-platform-announcements__intro-text {
    font-size: 1.2em;
    color: #555555;
    margin-bottom: 30px;
}

.page-news-platform-announcements__cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* For mobile responsiveness */
}

.page-news-platform-announcements__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Crucial for button responsiveness */
    max-width: 100%; /* Crucial for button responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-news-platform-announcements__btn-primary {
    background: #C30808; /* Custom color for register/login */
    color: #FFFF00; /* Custom font color for register/login */
    border: 2px solid #C30808;
}

.page-news-platform-announcements__btn-primary:hover {
    background: #e02a2a;
    border-color: #e02a2a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-news-platform-announcements__btn-secondary {
    background: var(--primary-color); /* Default primary color */
    color: #ffffff;
    border: 2px solid var(--primary-color);
}

.page-news-platform-announcements__btn-secondary:hover {
    background: #005a2e;
    border-color: #005a2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* General Section Styles */
.page-news-platform-announcements__section {
    padding: 60px 20px;
    background-color: var(--secondary-color); /* White background for most sections */
}