:root {
    --primary-color: #004080;
    --secondary-color: #FFD700;
    --text-color-dark-bg: #ffffff;
    --text-color-light-bg: #333333;
    --card-bg-dark-mode: rgba(255, 255, 255, 0.1);
    --card-bg-light-mode: #ffffff;
    --border-color: #e0e0e0;
}

.page-resources-latest-go88-updates {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark-bg); /* Default text color for dark body background */
    background-color: #121212; /* Inherited from body, but explicitly set for clarity */
}

.page-resources-latest-go88-updates__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-color-dark-bg);
}

.page-resources-latest-go88-updates__light-bg {
    background-color: var(--text-color-dark-bg);
    color: var(--text-color-light-bg);
}

.page-resources-latest-go88-updates__hero-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    padding-top: var(--header-offset, 120px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-resources-latest-go88-updates__hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.page-resources-latest-go88-updates__hero-content {
    flex: 1;
    text-align: left;
}

.page-resources-latest-go88-updates__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.page-resources-latest-go88-updates__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-color-dark-bg);
}

.page-resources-latest-go88-updates__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-resources-latest-go88-updates__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-resources-latest-go88-updates__cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.page-resources-latest-go88-updates__btn-primary,
.page-resources-latest-go88-updates__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-latest-go88-updates__btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.page-resources-latest-go88-updates__btn-primary:hover {
    background-color: darken(var(--secondary-color), 10%);
    border-color: darken(var(--secondary-color), 10%);
}

.page-resources-latest-go88-updates__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-resources-latest-go88-updates__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-resources-latest-go88-updates__content-area,
.page-resources-latest-go88-updates__cta-section,
.page-resources-latest-go88-updates__faq-section {
    padding: 60px 20px;
}

.page-resources-latest-go88-updates__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-resources-latest-go88-updates__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-resources-latest-go88-updates__text-block {
    max-width: 900px;
    margin: 0 auto 50px auto;
    text-align: center;
    font-size: 1.1em;
    color: var(--text-color-light-bg);
}

.page-resources-latest-go88-updates__update-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-resources-latest-go88-updates__update-card {
    background-color: var(--card-bg-light-mode);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--text-color-light-bg);
}

.page-resources-latest-go88-updates__update-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.page-resources-latest-go88-updates__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-resources-latest-go88-updates__card-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin: 25px 15px 15px 15px;
}

.page-resources-latest-go88-updates__card-description {
    font-size: 1em;
    padding: 0 20px 20px 20px;
    flex-grow: 1;
}

.page-resources-latest-go88-updates__card-link {
    display: inline-block;
    margin-top: auto; /* Push to bottom */
    margin-bottom: 20px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--text-color-dark-bg);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.page-resources-latest-go88-updates__card-link:hover {
    background-color: darken(var(--primary-color), 10%);
}

.page-resources-latest-go88-updates__cta-section {
    background-color: var(--primary-color);
    color: var(--text-color-dark-bg);
    text-align: center;
    padding: 80px 20px;
}

.page-resources-latest-go88-updates__cta-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-latest-go88-updates__cta-title {
    font-size: 2.8em;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.page-resources-latest-go88-updates__cta-description {
    font-size: 1.1em;
    margin-bottom: 40px;
}

.page-resources-latest-go88-updates__cta-buttons {
    justify-content: center;
}

.page-resources-latest-go88-updates__faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-latest-go88-updates__faq-list {
    margin-top: 30px;
}

.page-resources-latest-go88-updates__faq-item {
    background-color: var(--card-bg-light-mode);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-color-light-bg);
}

.page-resources-latest-go88-updates__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

.page-resources-latest-go88-updates__faq-question:hover {
    background-color: #f0f0f0;
}

.page-resources-latest-go88-updates__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-latest-go88-updates__faq-item.active .page-resources-latest-go88-updates__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-latest-go88-updates__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    font-size: 1em;
}

.page-resources-latest-go88-updates__faq-item.active .page-resources-latest-go88-updates__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-resources-latest-go88-updates__faq-answer p {
    margin-bottom: 1em;
    color: var(--text-color-light-bg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-latest-go88-updates__hero-container {
        flex-direction: column;
        text-align: center;
    }

    .page-resources-latest-go88-updates__hero-content {
        text-align: center;
    }

    .page-resources-latest-go88-updates__cta-buttons {
        justify-content: center;
    }

    .page-resources-latest-go88-updates__hero-title {
        font-size: 2.8em;
    }
}

@media (max-width: 768px) {
    .page-resources-latest-go88-updates {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-resources-latest-go88-updates__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-resources-latest-go88-updates__hero-title {
        font-size: 2.2em;
    }

    .page-resources-latest-go88-updates__hero-description {
        font-size: 1em;
    }

    .page-resources-latest-go88-updates__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-latest-go88-updates__btn-primary,
    .page-resources-latest-go88-updates__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-latest-go88-updates__content-area,
    .page-resources-latest-go88-updates__cta-section,
    .page-resources-latest-go88-updates__faq-section {
        padding: 40px 15px;
    }

    .page-resources-latest-go88-updates__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-resources-latest-go88-updates__text-block {
        font-size: 1em;
        margin-bottom: 40px;
    }

    .page-resources-latest-go88-updates__update-grid {
        grid-template-columns: 1fr;
    }

    .page-resources-latest-go88-updates__card-image {
        height: 200px;
    }

    .page-resources-latest-go88-updates__card-title {
        font-size: 1.4em;
    }

    .page-resources-latest-go88-updates__cta-title {
        font-size: 2.2em;
    }

    .page-resources-latest-go88-updates__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    /* Mobile image responsiveness */
    .page-resources-latest-go88-updates img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-resources-latest-go88-updates__section,
    .page-resources-latest-go88-updates__card,
    .page-resources-latest-go88-updates__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-resources-latest-go88-updates__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Consistent with common */
    }

    /* Mobile video responsiveness */
    .page-resources-latest-go88-updates video,
    .page-resources-latest-go88-updates__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-resources-latest-go88-updates__video-section,
    .page-resources-latest-go88-updates__video-container,
    .page-resources-latest-go88-updates__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

/* Ensure images are not filtered */
.page-resources-latest-go88-updates img {
    filter: none;
}