/* style/news.css */

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #000080; /* Dark Blue */
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f5f5f5;
    --background-dark: #1a1a1a;
    --border-color: #e0e0e0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.3);
}

.page-news {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

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

.page-news section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-news section:nth-of-type(even) {
    background-color: #ffffff; /* Alternate background for readability */
}

.page-news .section-title {
    font-size: 36px;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.page-news .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-news p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
}

.page-news a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* CTA Button Styles */
.page-news .cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: var(--secondary-color); /* Gold button, dark blue text for contrast */
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    font-size: 18px;
}

.page-news .cta-button:hover {
    background-color: var(--secondary-color); /* Dark blue on hover */
    color: var(--primary-color); /* Gold text on hover */
    transform: translateY(-3px);
    box-shadow: 0 8px 15px var(--shadow-dark);
    border-color: var(--secondary-color);
}

.page-news .cta-button.secondary {
    background-color: #e0e0e0;
    color: var(--text-dark);
    border-color: #e0e0e0;
    margin-left: 20px;
}

.page-news .cta-button.secondary:hover {
    background-color: #cccccc;
    color: var(--text-dark);
    border-color: #cccccc;
}

/* Hero Banner */
.page-news .hero-banner {
    position: relative;
    width: 100%;
    height: 450px; /* Fixed height for banner */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 0;
    margin-bottom: 0;
}

.page-news .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-news .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 128, 0.7); /* Dark blue overlay for text readability */
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}