/* style/latest-news.css */
.page-latest-news {
    font-family: 'Arial', sans-serif;
    color: #000080; /* Dark Blue for general text on light backgrounds */
    line-height: 1.6;
    background-color: #f8f8f8;
}

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

.page-latest-news .highlight {
    color: #FFD700;
    font-weight: bold;
}

.page-latest-news__hero {
    background: linear-gradient(135deg, #000080 0%, #330066 100%); /* Dark Blue to slightly darker purple for depth */
    color: #FFD700;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-latest-news__hero-content {
    max-width: 600px;
    z-index: 1;
}

.page-latest-news__title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-latest-news__subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-latest-news__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold */
    color: #000080; /* Dark Blue */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid #FFD700;
}

.page-latest-news__cta-button:hover {
    background-color: #000080; /* Dark Blue */
    color: #FFD700; /* Gold */
    border-color: #FFD700;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-latest-news__hero-image {
    width: 40%;
    max-width: 500px;
    z-index: 1;
}

.page-latest-news__hero-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-latest-news__intro {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.page-latest-news__intro p {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #333;
}

.page-latest-news__articles {
    padding: 60px 0;
    background-color: #f0f0f5;
}

.page-latest-news__section-title {
    font-size: 2.5em;
    color: #000080;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

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

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

.page-latest-news__article-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-latest-news__article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-latest-news__article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-latest-news__article-content {
    padding: 25px;
}

.page-latest-news__article-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #000080;
}

.page-latest-news__article-title a {
    color: #000080;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-latest-news__article-title a:hover {
    color: #FFD700;
}

.page-latest-news__article-description {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 20px;
}

.page-latest-news__read-more-btn {
    display: inline-block;
    background-color: #000080; /* Dark Blue */
    color: #FFD700; /* Gold */
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: all 0.3s ease;
    border: 1px solid #000080;
}

.page-latest-news__read-more-btn:hover {
    background-color: #FFD700; /* Gold */
    color: #000080; /* Dark Blue */
    border-color: #FFD700;
}

.page-latest-news__why-choose {
    padding: 80px 0;
    background-color: #000080;
    color: #fff;
    text-align: center;
}

.page-latest-news__why-choose .page-latest-news__section-title {
    color: #FFD700;
}

.page-latest-news__why-choose .page-latest-news__section-title::after {
    background-color: #FFD700;
}

.page-latest-news__why-choose p {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
}

.page-latest-news__features-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px auto;
    max-width: 800px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-latest-news__features-list li {
    background-color: rgba(255, 215, 0, 0.1);
    border: 1px solid #FFD700;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 1em;
    color: #FFD700;
    flex: 1 1 calc(33% - 40px);
    min-width: 280px;
    text-align: left;
    transition: background-color 0.3s ease;
}

.page-latest-news__features-list li:hover {
    background-color: rgba(255, 215, 0, 0.2);
}

.page-latest-news__text-link {
    color: #FFD700;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-latest-news__text-link:hover {
    color: #fff;
}

.page-latest-news__cta-button--secondary {
    background-color: transparent;
    border-color: #FFD700;
    color: #FFD700;
    margin-top: 20px;
}

.page-latest-news__cta-button--secondary:hover {
    background-color: #FFD700;
    color: #000080;
}

.page-latest-news__cta-banner {
    background-color: #FFD700; /* Gold */
    color: #000080; /* Dark Blue */
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-latest-news__banner-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #000080;
}

.page-latest-news__banner-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #333;
}

.page-latest-news__cta-banner .page-latest-news__cta-button {
    background-color: #000080; /* Dark Blue */
    color: #FFD700; /* Gold */
    border-color: #000080;
}

.page-latest-news__cta-banner .page-latest-news__cta-button:hover {
    background-color: #FFD700; /* Gold */
    color: #000080; /* Dark Blue */
    border-color: #000080;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Floating CTA */
.page-latest-news__floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #000080; /* Dark Blue */
    color: #FFD700; /* Gold */
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    transform: translateX(120%);
    transition: transform 0.5s ease-out;
}

.page-latest-news__floating-cta.show {
    transform: translateX(0);
}

.page-latest-news__floating-text {
    margin: 0;
    font-size: 1em;
    color: #e0e0e0;
}

.page-latest-news__floating-button {
    background-color: #FFD700; /* Gold */
    color: #000080; /* Dark Blue */
    padding: 8px 15px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-latest-news__floating-button:hover {
    background-color: #fff;
    color: #000080;
}

.page-latest-news__floating-close-btn {
    background: none;
    border: none;
    color: #FFD700;
    font-size: 1.5em;
    cursor: pointer;
    margin-left: 10px;
    line-height: 1;
    transition: color 0.3s ease;
}

.page-latest-news__floating-close-btn:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-latest-news__hero {
        flex-direction: column;
        padding: 60px 20px;
        gap: 30px;
    }

    .page-latest-news__hero-image {
        width: 60%;
    }

    .page-latest-news__title {
        font-size: 2.8em;
    }

    .page-latest-news__subtitle {
        font-size: 1.2em;
    }

    .page-latest-news__section-title {
        font-size: 2em;
    }

    .page-latest-news__article-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-latest-news__features-list li {
        flex: 1 1 calc(50% - 40px);
    }

    .page-latest-news__banner-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-latest-news__hero-image {
        width: 80%;
    }

    .page-latest-news__title {
        font-size: 2.2em;
    }

    .page-latest-news__subtitle {
        font-size: 1em;
    }

    .page-latest-news__intro p, .page-latest-news__why-choose p, .page-latest-news__banner-text {
        font-size: 0.95em;
    }

    .page-latest-news__articles, .page-latest-news__why-choose, .page-latest-news__cta-banner {
        padding: 40px 0;
    }

    .page-latest-news__floating-cta {
        flex-direction: column;
        align-items: flex-end;
        bottom: 15px;
        right: 15px;
        padding: 10px;
        gap: 10px;
    }

    .page-latest-news__floating-text {
        text-align: center;
        width: 100%;
        margin-bottom: 5px;
    }

    .page-latest-news__floating-button {
        width: 100%;
        text-align: center;
    }

    .page-latest-news__floating-close-btn {
        position: absolute;
        top: 5px;
        right: 5px;
        margin-left: 0;
    }

    .page-latest-news__features-list li {
        flex: 1 1 100%;
    }
}

@media (max-width: 480px) {
    .page-latest-news__title {
        font-size: 1.8em;
    }

    .page-latest-news__section-title {
        font-size: 1.8em;
    }

    .page-latest-news__banner-title {
        font-size: 2em;
    }
    
    .page-latest-news__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-latest-news__read-more-btn {
        padding: 8px 15px;
        font-size: 0.85em;
    }
}