.page-index-sa88-latest-news {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text on dark background */
    line-height: 1.6;
    background-color: #121212; /* Very dark background */
}

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

/* Hero Section */
.page-index-sa88-latest-news .hero-section {
    background: linear-gradient(135deg, #1A2E47, #334968); /* Primary dark blue gradient */
    padding: 100px 0;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.page-index-sa88-latest-news .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:hero:sa88,latest_news,promotions,dynamic,exclusive_offers]') no-repeat center center/cover;
    opacity: 0.15;
    z-index: 0;
}

.page-index-sa88-latest-news .hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Secondary gold for emphasis */
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-index-sa88-latest-news .hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* Buttons */
.page-index-sa88-latest-news .btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-sa88-latest-news .btn-primary {
    background-color: #FFD700; /* Gold */
    color: #1A2E47; /* Dark blue text on gold */
    border: 2px solid #FFD700;
}

.page-index-sa88-latest-news .btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
}

.page-index-sa88-latest-news .btn-secondary {
    background-color: #1A2E47; /* Dark blue */
    color: #FFD700; /* Gold text on dark blue */
    border: 2px solid #FFD700;
    margin-left: 15px;
}

.page-index-sa88-latest-news .btn-secondary:hover {
    background-color: #334968;
    border-color: #FFD700;
    transform: translateY(-2px);
}

.page-index-sa88-latest-news .btn-tertiary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    margin-left: 15px;
}

.page-index-sa88-latest-news .btn-tertiary:hover {
    background-color: #FFD700;
    color: #1A2E47;
    transform: translateY(-2px);
}

/* General Sections */
.page-index-sa88-latest-news .intro-section, 
.page-index-sa88-latest-news .news-grid-section, 
.page-index-sa88-latest-news .why-choose-sa88-section, 
.page-index-sa88-latest-news .cta-section, 
.page-index-sa88-latest-news .faq-section {
    padding: 60px 0;
    background-color: #1A2E47;
    margin-bottom: 20px;
}

.page-index-sa88-latest-news .section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.page-index-sa88-latest-news .section-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #E0E0E0;
    text-align: justify;
}

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

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

.page-index-sa88-latest-news .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

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

.page-index-sa88-latest-news .news-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #FFD700; /* Gold for titles */
}

.page-index-sa88-latest-news .news-title a {
    color: #FFD700;
    text-decoration: none;
}

.page-index-sa88-latest-news .news-title a:hover {
    text-decoration: underline;
}

.page-index-sa88-latest-news .news-meta {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 15px;
}

.page-index-sa88-latest-news .news-excerpt {
    font-size: 1em;
    color: #E0E0E0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-index-sa88-latest-news .news-card .btn-secondary {
    align-self: flex-start;
    margin-left: 0;
    margin-top: auto; /* Push button to bottom */
    padding: 10px 20px;
    font-size: 0.9em;
}

/* Why Choose SA88 Section */
.page-index-sa88-latest-news .why-choose-sa88-section {
    background-color: #0d1a2b; /* Darker background for contrast */
    color: #E0E0E0;
}

.page-index-sa88-latest-news .feature-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-index-sa88-latest-news .feature-list li {
    background-color: #1A2E47;
    margin-bottom: 15px;
    padding: 20px;
    border-left: 5px solid #FFD700;
    border-radius: 5px;
    font-size: 1.1em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.page-index-sa88-latest-news .feature-list li:hover {
    transform: translateX(5px);
}

.page-index-sa88-latest-news .list-strong {
    color: #FFD700;
}

/* CTA Section */
.page-index-sa88-latest-news .cta-section {
    text-align: center;
    background: linear-gradient(45deg, #1A2E47, #0d1a2b);
    padding: 80px 0;
}

.page-index-sa88-latest-news .cta-section .section-description {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.2em;
    color: #E0E0E0;
}

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

/* FAQ Section */
.page-index-sa88-latest-news .faq-section {
    background-color: #1A2E47;
    color: #E0E0E0;
}

.page-index-sa88-latest-news .faq-item {
    background-color: #0d1a2b;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-index-sa88-latest-news .faq-question {
    font-size: 1.3em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-index-sa88-latest-news .faq-answer {
    font-size: 1em;
    color: #E0E0E0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-sa88-latest-news .hero-title {
        font-size: 2.8em;
    }

    .page-index-sa88-latest-news .hero-description {
        font-size: 1.1em;
    }

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

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

@media (max-width: 768px) {
    .page-index-sa88-latest-news .hero-section {
        padding: 80px 0;
    }

    .page-index-sa88-latest-news .hero-title {
        font-size: 2.2em;
    }

    .page-index-sa88-latest-news .hero-description {
        font-size: 1em;
    }

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

    .page-index-sa88-latest-news .btn-secondary, .page-index-sa88-latest-news .btn-tertiary {
        margin-left: 0;
        margin-top: 15px;
    }

    .page-index-sa88-latest-news .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-index-sa88-latest-news .news-card .btn-secondary {
        align-self: stretch;
        text-align: center;
    }
}

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

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

    .page-index-sa88-latest-news .news-title {
        font-size: 1.2em;
    }
}