/* style/index-latest-news.css */

/* Base styles for the latest news page */
.page-index-latest-news {
    font-family: 'Arial', sans-serif;
    color: #f8f8f8; /* Light text for dark background */
    background-color: #1A2B47; /* Main dark blue background */
}

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

/* Hero Section */
.page-index-latest-news__hero {
    background: linear-gradient(135deg, #1A2B47, #2D4068); /* Dark blue gradient */
    padding: 100px 0;
    text-align: center;
    color: #FFD700; /* Gold for emphasis */
}

.page-index-latest-news__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    line-height: 1.2;
    font-weight: bold;
}

.page-index-latest-news__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #e0e0e0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-index-latest-news__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    font-size: 1.1em;
}

.page-index-latest-news__btn--primary {
    background-color: #FFD700; /* Gold accent */
    color: #1A2B47; /* Dark blue text */
    border: 2px solid #FFD700;
}

.page-index-latest-news__btn--primary:hover {
    background-color: #e0b800;
    transform: translateY(-2px);
}

.page-index-latest-news__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-index-latest-news__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A2B47;
    transform: translateY(-2px);
}

.page-index-latest-news__btn--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

/* Section Titles */
.page-index-latest-news__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for section titles */
    text-align: center;
    margin-bottom: 60px;
    padding-top: 60px;
    position: relative;
}

.page-index-latest-news__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

/* News Grid Section */
.page-index-latest-news__news-grid {
    padding: 80px 0;
    background-color: #1A2B47;
}

.page-index-latest-news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-latest-news__news-card {
    background-color: #2D4068; /* Slightly lighter dark blue */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-index-latest-news__news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-index-latest-news__card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-index-latest-news__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-index-latest-news__card-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-index-latest-news__card-date {
    font-size: 0.9em;
    color: #b0b0b0;
    margin-bottom: 15px;
}

.page-index-latest-news__card-excerpt {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

/* Updates Section */
.page-index-latest-news__updates-section {
    padding: 80px 0;
    background-color: #1A2B47;
}

.page-index-latest-news__update-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    background-color: #2D4068;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.page-index-latest-news__update-item:last-child {
    margin-bottom: 0;
}

.page-index-latest-news__update-image {
    width: 40%;
    height: 300px;
    object-fit: cover;
    flex-shrink: 0;
}

.page-index-latest-news__update-content {
    padding: 30px;
    flex-grow: 1;
}

.page-index-latest-news__update-title {
    font-size: 2em;
    color: #FFD700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.page-index-latest-news__update-date {
    font-size: 0.95em;
    color: #b0b0b0;
    margin-bottom: 20px;
}

.page-index-latest-news__update-text {
    font-size: 1.05em;
    color: #e0e0e0;
    line-height: 1.7;
    margin-bottom: 15px;
}

.page-index-latest-news__update-text:last-of-type {
    margin-bottom: 0;
}

/* Call to Action Section */
.page-index-latest-news__cta {
    background-color: #2D4068;
    padding: 80px 0;
    text-align: center;
}

.page-index-latest-news__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-index-latest-news__cta-text {
    font-size: 1.2em;
    color: #e0e0e0;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-latest-news__newsletter-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.page-index-latest-news__form-input {
    padding: 12px 20px;
    border: 2px solid #FFD700;
    border-radius: 8px;
    background-color: #1A2B47;
    color: #f8f8f8;
    font-size: 1em;
    width: 300px;
    max-width: 100%;
}

.page-index-latest-news__form-input::placeholder {
    color: #b0b0b0;
}

.page-index-latest-news__form-input:focus {
    outline: none;
    border-color: #e0b800;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.page-index-latest-news__cta-small-text {
    font-size: 1em;
    color: #b0b0b0;
    margin-top: 15px;
    margin-bottom: 30px;
}

/* More News Section */
.page-index-latest-news__more-news {
    padding: 80px 0;
    background-color: #1A2B47;
}

.page-index-latest-news__article-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}

.page-index-latest-news__article-list li {
    margin-bottom: 15px;
    background-color: #2D4068;
    border-radius: 8px;
    padding: 15px 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.page-index-latest-news__article-list li:hover {
    background-color: #3f5480;
}

.page-index-latest-news__article-link {
    color: #FFD700;
    text-decoration: none;
    font-size: 1.15em;
    font-weight: 500;
    display: block;
    transition: color 0.3s ease;
}

.page-index-latest-news__article-link:hover {
    color: #e0b800;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-latest-news__hero-title {
        font-size: 2.5em;
    }
    .page-index-latest-news__section-title {
        font-size: 2em;
    }
    .page-index-latest-news__update-item {
        flex-direction: column;
    }
    .page-index-latest-news__update-image {
        width: 100%;
        height: 250px;
    }
    .page-index-latest-news__update-content {
        padding: 20px;
    }
    .page-index-latest-news__update-title {
        font-size: 1.8em;
    }
    .page-index-latest-news__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-index-latest-news__hero {
        padding: 80px 0;
    }
    .page-index-latest-news__hero-title {
        font-size: 2em;
    }
    .page-index-latest-news__hero-subtitle {
        font-size: 1.1em;
    }
    .page-index-latest-news__news-grid, .page-index-latest-news__updates-section, .page-index-latest-news__cta, .page-index-latest-news__more-news {
        padding: 60px 0;
    }
    .page-index-latest-news__section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }
    .page-index-latest-news__grid {
        grid-template-columns: 1fr;
    }
    .page-index-latest-news__news-card {
        margin-bottom: 20px;
    }
    .page-index-latest-news__newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    .page-index-latest-news__form-input {
        width: 100%;
        margin-bottom: 15px;
    }
    .page-index-latest-news__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-index-latest-news__hero-title {
        font-size: 1.8em;
    }
    .page-index-latest-news__hero-subtitle {
        font-size: 1em;
    }
    .page-index-latest-news__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-index-latest-news__section-title {
        font-size: 1.5em;
    }
    .page-index-latest-news__card-title {
        font-size: 1.4em;
    }
    .page-index-latest-news__update-title {
        font-size: 1.6em;
    }
    .page-index-latest-news__cta-title {
        font-size: 1.8em;
    }
    .page-index-latest-news__cta-text {
        font-size: 1em;
    }
    .page-index-latest-news__form-input {
        padding: 10px 15px;
    }
}