/* style/latest-news.css */
.page-latest-news {
    font-family: Arial, sans-serif;
    color: #0A2342; /* Main dark blue for text */
    line-height: 1.6;
    background-color: #f8f8f8; /* Light background for readability */
}

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

/* Hero Section */
.page-latest-news-hero {
    background: linear-gradient(135deg, #0A2342, #1a3a60); /* Dark blue gradient */
    color: #FFFFFF; /* White text on dark background */
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-latest-news-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:abstract,geometric,pattern]'); /* Subtle background pattern */
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.page-latest-news-hero > .page-latest-news-container {
    position: relative;
    z-index: 1;
}

.page-latest-news-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #F5B041; /* Gold for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-latest-news-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #E0E0E0; /* Light gray for subtitle */
}

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

.page-latest-news-button-primary {
    background-color: #F5B041; /* Gold button */
    color: #0A2342; /* Dark blue text on gold */
    border: 2px solid #F5B041;
}

.page-latest-news-button-primary:hover {
    background-color: #e09f3e;
    transform: translateY(-2px);
}

.page-latest-news-button-secondary {
    background-color: #0A2342; /* Dark blue button */
    color: #F5B041; /* Gold text on dark blue */
    border: 2px solid #F5B041;
}

.page-latest-news-button-secondary:hover {
    background-color: #1a3a60;
    transform: translateY(-2px);
}

.page-latest-news-button-center {
    display: block;
    margin: 40px auto 20px auto;
    width: fit-content;
}


/* General Section Styling */
.page-latest-news-section {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.page-latest-news-section:last-of-type {
    border-bottom: none;
}

.page-latest-news-section-title {
    font-size: 2.2em;
    color: #0A2342;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-latest-news-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #F5B041;
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.page-latest-news-sub-title {
    font-size: 1.6em;
    color: #0A2342;
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 5px solid #F5B041;
    padding-left: 15px;
}

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

.page-latest-news-card {
    background-color: #FFFFFF;
    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-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-latest-news-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

.page-latest-news-card-title {
    font-size: 1.4em;
    color: #0A2342;
    margin-bottom: 15px;
    min-height: 70px; /* Ensure consistent card height */
}

.page-latest-news-card-excerpt {
    font-size: 0.95em;
    color: #333;
    margin-bottom: 20px;
    min-height: 90px; /* Ensure consistent card height */
}

.page-latest-news-card-link {
    display: inline-block;
    color: #F5B041;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-latest-news-card-link:hover {
    color: #e09f3e;
    text-decoration: underline;
}

/* Image styles within content */
.page-latest-news-image-full {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-latest-news-image-center {
    display: block;
    margin: 30px auto;
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* App Promo Section */
.page-latest-news-app-promo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    background-color: #eef4f8; /* Lighter shade of main color for background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-latest-news-app-image {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-latest-news-app-details {
    flex: 2;
    min-width: 300px;
    color: #0A2342;
}

.page-latest-news-app-details ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-latest-news-app-details ul li {
    margin-bottom: 10px;
    font-size: 1.05em;
    display: flex;
    align-items: center;
}

.page-latest-news-icon-check {
    color: #F5B041;
    margin-right: 10px;
    font-size: 1.2em;
}
/* A simple check icon, could be a font icon or SVG in a real scenario */
.page-latest-news-icon-check::before {
    content: '✔';
}


/* Promotions Section */
.page-latest-news-promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-latest-news-promo-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-latest-news-promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-latest-news-promo-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-latest-news-promo-title {
    font-size: 1.5em;
    color: #0A2342;
    margin-bottom: 15px;
    padding: 0 20px;
}

.page-latest-news-promo-card p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 25px;
    padding: 0 20px;
}

.page-latest-news-promo-note {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-top: 40px;
    font-size: 0.9em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-latest-news-title {
        font-size: 2.2em;
    }

    .page-latest-news-subtitle {
        font-size: 1.1em;
    }

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

    .page-latest-news-app-promo {
        flex-direction: column;
        text-align: center;
    }

    .page-latest-news-app-image {
        max-width: 80%;
    }

    .page-latest-news-app-details {
        min-width: unset;
    }

    .page-latest-news-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}

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

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

    .page-latest-news-section-title {
        font-size: 1.5em;
    }

    .page-latest-news-card-title,
    .page-latest-news-promo-title {
        font-size: 1.2em;
    }

    .page-latest-news-card-excerpt,
    .page-latest-news-promo-card p {
        font-size: 0.85em;
    }

    .page-latest-news-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* Ensure text contrast for all elements */
.page-latest-news p,
.page-latest-news li,
.page-latest-news-card-excerpt,
.page-latest-news-promo-card p {
    color: #333333; /* Darker text for general paragraphs on light backgrounds */
}