/* style/resources-ev88-latest-news.css */

/* General Page Styling */
.page-resources-ev88-latest-news {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

.page-resources-ev88-latest-news-section {
    padding: 60px 0;
    text-align: center;
}

.page-resources-ev88-latest-news-heading {
    font-size: 2.5em;
    color: #007bff; /* Primary color */
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-ev88-latest-news-heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #ffc107; /* Auxiliary color */
    border-radius: 2px;
}

.page-resources-ev88-latest-news-intro {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-resources-ev88-latest-news-hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.page-resources-ev88-latest-news-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-ev88-latest-news-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.7), rgba(255, 193, 7, 0.7));
    z-index: 2;
}

.page-resources-ev88-latest-news-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
}

.page-resources-ev88-latest-news-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-ev88-latest-news-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #eee;
}

.page-resources-ev88-latest-news-button {
    display: inline-block;
    background-color: #ffc107; /* Auxiliary color */
    color: #0056b3; /* Darker shade of primary for contrast */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #ffc107;
}

.page-resources-ev88-latest-news-button:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
}

/* Updates Section */
.page-resources-ev88-latest-news-updates {
    background-color: #fff;
}

.page-resources-ev88-latest-news-article {
    display: flex;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.page-resources-ev88-latest-news-article:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-resources-ev88-latest-news-article-image {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 30px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-ev88-latest-news-article-content {
    flex-grow: 1;
}

.page-resources-ev88-latest-news-article-title {
    font-size: 1.8em;
    color: #007bff; /* Primary color */
    margin-top: 0;
    margin-bottom: 10px;
}

.page-resources-ev88-latest-news-article-date {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 15px;
}

.page-resources-ev88-latest-news-article-text {
    font-size: 1em;
    color: #444;
    margin-bottom: 20px;
}

.page-resources-ev88-latest-news-article-link {
    color: #ffc107; /* Auxiliary color */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-ev88-latest-news-article-link:hover {
    color: #e0a800;
    text-decoration: underline;
}

/* FAQ Section */
.page-resources-ev88-latest-news-faq {
    background-color: #f0f8ff; /* Lighter shade of primary */
}

.page-resources-ev88-latest-news-faq-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.page-resources-ev88-latest-news-faq-question {
    font-size: 1.4em;
    color: #007bff; /* Primary color */
    margin-top: 0;
    margin-bottom: 15px;
    cursor: pointer;
}

.page-resources-ev88-latest-news-faq-answer {
    font-size: 1em;
    color: #555;
    line-height: 1.8;
}

/* CTA Section */
.page-resources-ev88-latest-news-cta {
    background: linear-gradient(135deg, #0056b3, #007bff); /* Darker primary to primary */
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-resources-ev88-latest-news-cta-content {
    position: relative;
    z-index: 2;
}

.page-resources-ev88-latest-news-cta-title {
    color: #fff;
    font-size: 2.8em;
    margin-bottom: 20px;
}

.page-resources-ev88-latest-news-cta-title::after {
    background-color: #ffc107;
}

.page-resources-ev88-latest-news-cta-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #e0e0e0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-ev88-latest-news-cta-buttons .page-resources-ev88-latest-news-button {
    margin: 0 15px;
    min-width: 180px;
}

.page-resources-ev88-latest-news-button-primary {
    background-color: #ffc107;
    color: #0056b3;
    border-color: #ffc107;
}

.page-resources-ev88-latest-news-button-primary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
}

.page-resources-ev88-latest-news-button-secondary {
    background-color: transparent;
    color: #ffc107;
    border-color: #ffc107;
}

.page-resources-ev88-latest-news-button-secondary:hover {
    background-color: #ffc107;
    color: #0056b3;
}

.page-resources-ev88-latest-news-cta-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 350px;
    height: auto;
    opacity: 0.2;
    z-index: 1;
    transform: rotate(15deg);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-ev88-latest-news-article {
        flex-direction: column;
        align-items: center;
    }

    .page-resources-ev88-latest-news-article-image {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
        max-width: 400px;
    }

    .page-resources-ev88-latest-news-hero {
        height: 400px;
    }

    .page-resources-ev88-latest-news-title {
        font-size: 2.5em;
    }

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

    .page-resources-ev88-latest-news-heading {
        font-size: 2em;
    }

    .page-resources-ev88-latest-news-cta-image {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .page-resources-ev88-latest-news-hero {
        height: 350px;
    }

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

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

    .page-resources-ev88-latest-news-section {
        padding: 40px 0;
    }

    .page-resources-ev88-latest-news-heading {
        font-size: 1.8em;
    }

    .page-resources-ev88-latest-news-article-title {
        font-size: 1.5em;
    }

    .page-resources-ev88-latest-news-cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-ev88-latest-news-cta-buttons .page-resources-ev88-latest-news-button {
        margin: 0;
    }

    .page-resources-ev88-latest-news-cta-image {
        display: none;
    }
}

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

    .page-resources-ev88-latest-news-subtitle {
        font-size: 0.9em;
    }

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

    .page-resources-ev88-latest-news-heading {
        font-size: 1.5em;
    }

    .page-resources-ev88-latest-news-article-title {
        font-size: 1.3em;
    }

    .page-resources-ev88-latest-news-faq-question {
        font-size: 1.2em;
    }
}