/* style/latest-news.css */
.page-latest-news {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

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

/* Hero Section */
.page-latest-news-hero {
    background: linear-gradient(135deg, #003366, #1a4d80); /* Deep blue gradient */
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-latest-news-hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 0;
}

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

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

.page-latest-news-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    font-weight: bold;
}

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

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

.page-latest-news-button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-2px);
}

/* General Sections */
.page-latest-news-introduction,
.page-latest-news-categories,
.page-latest-news-value-proposition,
.page-latest-news-responsible-gaming,
.page-latest-news-cta-final {
    padding: 60px 0;
}

.page-latest-news-introduction {
    background-color: #fff;
}

.page-latest-news-section-title {
    font-size: 2.5em;
    color: #003366;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-latest-news-introduction p,
.page-latest-news-responsible-gaming p,
.page-latest-news-cta-final p {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #333;
}

/* Categories Grid */
.page-latest-news-categories {
    background-color: #f0f4f7;
}

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

.page-latest-news-category-item {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-latest-news-category-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-latest-news-category-image {
    width: 100%;
    max-width: 200px;
    height: 150px; /* Fixed height for consistency */
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-latest-news-category-heading {
    font-size: 1.8em;
    color: #003366;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-latest-news-category-description {
    font-size: 1em;
    color: #555;
    margin-bottom: 25px;
    flex-grow: 1;
    text-align: left;
}

.page-latest-news-category-item .page-latest-news-button {
    background-color: #003366; /* Dark blue button for internal links */
    color: #FFD700; /* Gold text */
    padding: 10px 20px;
    font-size: 1em;
}

.page-latest-news-category-item .page-latest-news-button:hover {
    background-color: #002244;
}

/* Value Proposition */
.page-latest-news-value-proposition {
    background-color: #003366; /* Dark blue background */
    color: #fff;
}

.page-latest-news-value-proposition .page-latest-news-section-title {
    color: #FFD700; /* Gold title on dark blue */
}

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

.page-latest-news-value-item {
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white background */
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.page-latest-news-value-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-latest-news-value-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: brightness(1.5); /* Make icons brighter on dark background */
}

.page-latest-news-value-heading {
    font-size: 1.6em;
    color: #FFD700; /* Gold heading */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-latest-news-value-item p {
    font-size: 1em;
    color: #e0e0e0;
}

/* Responsible Gaming */
.page-latest-news-responsible-gaming {
    background-color: #fff;
    text-align: center;
}

.page-latest-news-cta-small {
    margin-top: 30px;
}

.page-latest-news-cta-medium {
    margin-top: 30px;
    background-color: #CC0000; /* Red accent button */
    color: #fff;
}

.page-latest-news-cta-medium:hover {
    background-color: #a30000;
}

/* Final CTA */
.page-latest-news-cta-final {
    background: linear-gradient(135deg, #003366, #FFD700); /* Gradient background */
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.page-latest-news-cta-final .page-latest-news-section-title {
    color: #fff;
    margin-bottom: 20px;
}

.page-latest-news-cta-final p {
    color: #eee;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-latest-news-cta-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-latest-news-button-secondary {
    background-color: transparent;
    border: 2px solid #FFD700;
    color: #FFD700;
}

.page-latest-news-button-secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    color: #FFD700;
    transform: translateY(-2px);
}

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

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

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

    .page-latest-news-category-grid,
    .page-latest-news-value-grid {
        grid-template-columns: 1fr;
    }

    .page-latest-news-buttons-group {
        flex-direction: column;
    }

    .page-latest-news-cta-large {
        width: 100%;
        max-width: 300px;
    }
}

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

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

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