/* style/index-latest-news.css */
.page-index-latest-news {
    font-family: 'Arial', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

.page-index-latest-news__hero {
    background: linear-gradient(135deg, #007BFF, #4da3ff); /* Adjusted for contrast */
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-latest-news__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-latest-news__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: #e0e0e0;
}

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

.page-index-latest-news__btn--primary {
    background-color: #FFD700; /* Golden Yellow */
    color: #333333;
}

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

.page-index-latest-news__btn--secondary {
    background-color: #007BFF; /* Deep Blue */
    color: #ffffff;
    border: 2px solid #007BFF;
}

.page-index-latest-news__btn--secondary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.page-index-latest-news__section {
    padding: 60px 0;
    border-bottom: 1px solid #e9ecef;
}

.page-index-latest-news__section:last-of-type {
    border-bottom: none;
}

.page-index-latest-news__section-title {
    font-size: 2.5em;
    color: #007BFF;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-index-latest-news__sub-title {
    font-size: 1.8em;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-index-latest-news__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555555;
}

.page-index-latest-news__text-link {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.page-index-latest-news__text-link:hover {
    text-decoration: underline;
}

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

.page-index-latest-news__card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-latest-news__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index-latest-news__card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index-latest-news__card-title {
    font-size: 1.5em;
    color: #007BFF;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-latest-news__card-text {
    font-size: 1em;
    color: #666666;
    margin-bottom: 25px;
}

.page-index-latest-news__cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    background-color: #007BFF;
    color: #ffffff;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
}

.page-index-latest-news__cta-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-latest-news__cta-text .page-index-latest-news__section-title {
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 2.2em;
}

.page-index-latest-news__cta-text .page-index-latest-news__text-block {
    color: #e0e0e0;
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-index-latest-news__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (min-width: 768px) {
    .page-index-latest-news__cta-content {
        flex-direction: row;
        text-align: left;
    }
    .page-index-latest-news__cta-image {
        flex-shrink: 0;
    }
    .page-index-latest-news__cta-text {
        flex-grow: 1;
        padding-left: 40px;
    }
    .page-index-latest-news__cta-text .page-index-latest-news__section-title {
        text-align: left;
    }
    .page-index-latest-news__cta-buttons {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .page-index-latest-news__hero-title {
        font-size: 2.5em;
    }
    .page-index-latest-news__hero-subtitle {
        font-size: 1.2em;
    }
    .page-index-latest-news__section-title {
        font-size: 2em;
    }
    .page-index-latest-news__sub-title {
        font-size: 1.5em;
    }
    .page-index-latest-news__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-index-latest-news__grid {
        grid-template-columns: 1fr;
    }
    .page-index-latest-news__cta-content {
        padding: 30px;
    }
    .page-index-latest-news__cta-text .page-index-latest-news__section-title {
        font-size: 1.8em;
    }
}