/* style/blog-w88club-latest-promotions.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --card-bg-color: #11271B;
    --background-color: #08160F;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-blog-w88club-latest-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color); /* Default text color for dark background */
    background-color: var(--background-color); /* Overall page background */
}

.page-blog-w88club-latest-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--background-color);
    color: var(--text-main-color);
    overflow: hidden;
}

.page-blog-w88club-latest-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-blog-w88club-latest-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-blog-w88club-latest-promotions__hero-content {
    max-width: 900px;
    text-align: center;
    margin-top: 40px;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-blog-w88club-latest-promotions__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--gold-color);
    margin-bottom: 20px;
    max-width: 100%; /* Ensure H1 doesn't overflow */
    box-sizing: border-box;
    /* No fixed font-size for H1, relying on responsive scaling */
}

.page-blog-w88club-latest-promotions__description {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
}

.page-blog-w88club-latest-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-blog-w88club-latest-promotions__btn-primary,
.page-blog-w88club-latest-promotions__btn-secondary {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-blog-w88club-latest-promotions__btn-primary {
    background: var(--button-gradient);
    color: #ffffff; /* White text for contrast */
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-blog-w88club-latest-promotions__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-blog-w88club-latest-promotions__btn-secondary {
    background: transparent;
    color: var(--glow-color);
    border: 2px solid var(--glow-color);
}

.page-blog-w88club-latest-promotions__btn-secondary:hover {
    background: var(--glow-color);
    color: var(--background-color); /* Dark text on light background */
    transform: translateY(-2px);
}

.page-blog-w88club-latest-promotions__content-section {
    padding: 60px 20px;
    background-color: var(--background-color);
    color: var(--text-main-color);
    border-top: 1px solid var(--divider-color);
}

.page-blog-w88club-latest-promotions__content-section.page-blog-w88club-latest-promotions__light-bg {
    background-color: #ffffff; /* Explicit light background for contrast */
    color: #333333; /* Dark text for contrast */
}

.page-blog-w88club-latest-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-blog-w88club-latest-promotions__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-blog-w88club-latest-promotions__content-section.page-blog-w88club-latest-promotions__light-bg .page-blog-w88club-latest-promotions__section-title {
    color: var(--deep-green-color); /* Darker title for light background */
    text-shadow: none;
}

.page-blog-w88club-latest-promotions__sub-title {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--glow-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-blog-w88club-latest-promotions__content-section.page-blog-w88club-latest-promotions__light-bg .page-blog-w88club-latest-promotions__sub-title {
    color: var(--primary-color);
}

.page-blog-w88club-latest-promotions__text-block {
    font-size: 1em;
    margin-bottom: 20px;
    color: var(--text-secondary-color);
}

.page-blog-w88club-latest-promotions__content-section.page-blog-w88club-latest-promotions__light-bg .page-blog-w88club-latest-promotions__text-block {
    color: #333333;
}

.page-blog-w88club-latest-promotions__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary-color);
}

.page-blog-w88club-latest-promotions__list-item {
    margin-bottom: 10px;
}

.page-blog-w88club-latest-promotions__content-section.page-blog-w88club-latest-promotions__light-bg .page-blog-w88club-latest-promotions__list,
.page-blog-w88club-latest-promotions__content-section.page-blog-w88club-latest-promotions__light-bg .page-blog-w88club-latest-promotions__list-item {
    color: #333333;
}

.page-blog-w88club-latest-promotions__ordered-list {
    list-style: decimal inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary-color);
}

.page-blog-w88club-latest-promotions__content-section.page-blog-w88club-latest-promotions__light-bg .page-blog-w88club-latest-promotions__ordered-list,
.page-blog-w88club-latest-promotions__content-section.page-blog-w88club-latest-promotions__light-bg .page-blog-w88club-latest-promotions__ordered-list-item {
    color: #333333;
}

.page-blog-w88club-latest-promotions__image-in-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    object-fit: cover;
}

.page-blog-w88club-latest-promotions__faq-section {
    padding: 60px 20px;
    background-color: var(--background-color);
    color: var(--text-main-color);
    border-top: 1px solid var(--divider-color);
}

.page-blog-w88club-latest-promotions__faq-section.page-blog-w88club-latest-promotions__light-bg {
    background-color: #f8f8f8; /* Lighter background for FAQ section */
    color: #333333;
}

.page-blog-w88club-latest-promotions__faq-list {
    margin-top: 30px;
}

.page-blog-w88club-latest-promotions__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-blog-w88club-latest-promotions__faq-section.page-blog-w88club-latest-promotions__light-bg .page-blog-w88club-latest-promotions__faq-item {
    background-color: #ffffff;
    border-color: #e0e0e0;
}

.page-blog-w88club-latest-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--text-main-color);
    transition: background-color 0.3s ease;
}

.page-blog-w88club-latest-promotions__faq-section.page-blog-w88club-latest-promotions__light-bg .page-blog-w88club-latest-promotions__faq-question {
    color: var(--deep-green-color);
}

.page-blog-w88club-latest-promotions__faq-question:hover {
    background-color: rgba(var(--primary-color-rgb), 0.1);
}

.page-blog-w88club-latest-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--glow-color);
}

.page-blog-w88club-latest-promotions__faq-section.page-blog-w88club-latest-promotions__light-bg .page-blog-w88club-latest-promotions__faq-toggle {
    color: var(--primary-color);
}

.page-blog-w88club-latest-promotions__faq-answer {
    padding: 0 25px 15px;
    font-size: 0.95em;
    color: var(--text-secondary-color);
}

.page-blog-w88club-latest-promotions__faq-section.page-blog-w88club-latest-promotions__light-bg .page-blog-w88club-latest-promotions__faq-answer {
    color: #555555;
}

/* Details tag specific styles */
.page-blog-w88club-latest-promotions__faq-item[open] .page-blog-w88club-latest-promotions__faq-question {
    background-color: rgba(var(--primary-color-rgb), 0.05);
}

.page-blog-w88club-latest-promotions__faq-item summary {
    list-style: none;
}

.page-blog-w88club-latest-promotions__faq-item summary::-webkit-details-marker,
.page-blog-w88club-latest-promotions__faq-item summary::marker {
    display: none;
}

.page-blog-w88club-latest-promotions__conclusion-section {
    padding: 60px 20px;
    background-color: var(--deep-green-color);
    color: var(--text-main-color);
    text-align: center;
    border-top: 1px solid var(--divider-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-blog-w88club-latest-promotions__main-title {
        font-size: 2.8em;
    }
    .page-blog-w88club-latest-promotions__section-title {
        font-size: 2.2em;
    }
    .page-blog-w88club-latest-promotions__sub-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-blog-w88club-latest-promotions {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-blog-w88club-latest-promotions__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset, this is for section's top margin */
    }

    .page-blog-w88club-latest-promotions__main-title {
        font-size: 2.2em; /* Adjusted for mobile */
        margin-bottom: 15px;
    }

    .page-blog-w88club-latest-promotions__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-blog-w88club-latest-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-blog-w88club-latest-promotions__btn-primary,
    .page-blog-w88club-latest-promotions__btn-secondary {
        padding: 12px 20px;
        font-size: 0.95em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 0 auto;
    }

    .page-blog-w88club-latest-promotions__content-section,
    .page-blog-w88club-latest-promotions__faq-section,
    .page-blog-w88club-latest-promotions__conclusion-section {
        padding: 40px 15px;
    }

    .page-blog-w88club-latest-promotions__container {
        padding: 0 10px;
    }

    .page-blog-w88club-latest-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-blog-w88club-latest-promotions__sub-title {
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

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

    .page-blog-w88club-latest-promotions__hero-image-wrapper,
    .page-blog-w88club-latest-promotions__container,
    .page-blog-w88club-latest-promotions__cta-buttons,
    .page-blog-w88club-latest-promotions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 10px;
        padding-right: 10px;
    }

    .page-blog-w88club-latest-promotions__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-blog-w88club-latest-promotions__faq-answer {
        padding: 0 20px 10px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .page-blog-w88club-latest-promotions__main-title {
        font-size: 1.8em;
    }
    .page-blog-w88club-latest-promotions__section-title {
        font-size: 1.6em;
    }
    .page-blog-w88club-latest-promotions__sub-title {
        font-size: 1.2em;
    }
}

/* CSS for color contrast on specific elements */
.page-blog-w88club-latest-promotions__hero-section {
    background-color: var(--background-color);
    color: var(--text-main-color);
}

.page-blog-w88club-latest-promotions__dark-bg {
    background-color: var(--background-color);
    color: var(--text-main-color);
}

.page-blog-w88club-latest-promotions__light-bg {
    background-color: #ffffff; /* Explicit light background */
    color: #333333; /* Dark text for contrast */
}

.page-blog-w88club-latest-promotions__faq-item {
    background-color: var(--card-bg-color); /* Dark card background */
    color: var(--text-main-color); /* Light text */
}

.page-blog-w88club-latest-promotions__faq-section.page-blog-w88club-latest-promotions__light-bg .page-blog-w88club-latest-promotions__faq-item {
    background-color: #ffffff;
    color: #333333;
}

.page-blog-w88club-latest-promotions__conclusion-section {
    background-color: var(--deep-green-color);
    color: var(--text-main-color);
}

/* Ensure no filter is used on images */
.page-blog-w88club-latest-promotions img {
    filter: none;
}