/* style/blog-good88-latest-promotions.css */

/* General page styling */
.page-blog-good88-latest-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

/* Hero Section */
.page-blog-good88-latest-promotions__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    background-color: #08160F;
    overflow: hidden;
}

.page-blog-good88-latest-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for hero image */
    margin-bottom: 30px; /* Space between image and content */
}

.page-blog-good88-latest-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-blog-good88-latest-promotions__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-blog-good88-latest-promotions__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-blog-good88-latest-promotions__description {
    font-size: 1.1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

.page-blog-good88-latest-promotions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width for wrapping */
}

.page-blog-good88-latest-promotions__cta-buttons--centered {
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-blog-good88-latest-promotions__btn-primary,
.page-blog-good88-latest-promotions__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    max-width: 100%; /* Ensure button doesn't overflow */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    text-align: center;
    display: inline-block; /* For proper padding and alignment */
}

.page-blog-good88-latest-promotions__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    border: 2px solid transparent;
}

.page-blog-good88-latest-promotions__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 15px #57E38D; /* Glow */
}

.page-blog-good88-latest-promotions__btn-secondary {
    background: transparent;
    color: #2AD16F; /* Button color for text */
    border: 2px solid #2AD16F; /* Button color for border */
}

.page-blog-good88-latest-promotions__btn-secondary:hover {
    background: #2AD16F;
    color: #08160F; /* Background */
}

/* Content Area */
.page-blog-good88-latest-promotions__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
}

.page-blog-good88-latest-promotions__section-title {
    font-size: 2.2rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.page-blog-good88-latest-promotions__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #A7D9B8; /* Text Secondary */
    text-align: justify;
}

.page-blog-good88-latest-promotions__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
}

.page-blog-good88-latest-promotions__promo-list,
.page-blog-good88-latest-promotions__steps-list,
.page-blog-good88-latest-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-blog-good88-latest-promotions__list-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    color: #F2FFF6; /* Text Main */
    font-size: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.page-blog-good88-latest-promotions__list-item::before {
    content: '✅'; /* Checkmark for list items */
    color: #2AD16F;
    font-size: 1.2em;
    line-height: 1;
    margin-top: 2px;
}

.page-blog-good88-latest-promotions__steps-list {
    counter-reset: step-counter;
}

.page-blog-good88-latest-promotions__steps-list .page-blog-good88-latest-promotions__list-item::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    background-color: #2AD16F;
    color: #08160F;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 0;
}

/* FAQ Section */
.page-blog-good88-latest-promotions__faq-list {
    margin-top: 30px;
}

.page-blog-good88-latest-promotions__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-blog-good88-latest-promotions__faq-item summary {
    list-style: none; /* Hide default marker */
}
.page-blog-good88-latest-promotions__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-blog-good88-latest-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.page-blog-good88-latest-promotions__faq-question:hover {
    background-color: #0A4B2C; /* Deep Green */
}

.page-blog-good88-latest-promotions__faq-toggle {
    font-size: 1.5rem;
    color: #2AD16F;
    margin-left: 15px;
    flex-shrink: 0;
}

.page-blog-good88-latest-promotions__faq-answer {
    padding: 0 25px 18px 25px;
    color: #A7D9B8; /* Text Secondary */
    font-size: 1rem;
    text-align: justify;
}

/* Related Articles Section */
.page-blog-good88-latest-promotions__related-articles {
    padding-bottom: 80px;
}

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

.page-blog-good88-latest-promotions__article-card {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-good88-latest-promotions__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-blog-good88-latest-promotions__article-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-blog-good88-latest-promotions__article-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.page-blog-good88-latest-promotions__article-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    line-height: 1.4;
    flex-grow: 1;
}

.page-blog-good88-latest-promotions__article-title a {
    color: #F2FFF6; /* Text Main */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-blog-good88-latest-promotions__article-title a:hover {
    color: #2AD16F;
}

.page-blog-good88-latest-promotions__article-excerpt {
    font-size: 0.95rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 15px;
    text-align: justify;
}

.page-blog-good88-latest-promotions__read-more-btn {
    display: inline-block;
    padding: 10px 15px;
    background-color: #13994A; /* Deep Green from button gradient */
    color: #F2FFF6; /* Text Main */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    align-self: flex-start;
    transition: background-color 0.3s ease;
}

.page-blog-good88-latest-promotions__read-more-btn:hover {
    background-color: #2AD16F;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-blog-good88-latest-promotions__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-blog-good88-latest-promotions__section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    /* Mobile specific image adaptation */
    .page-blog-good88-latest-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All containing elements for images */
    .page-blog-good88-latest-promotions__hero-image-wrapper,
    .page-blog-good88-latest-promotions__content-area,
    .page-blog-good88-latest-promotions__article-card,
    .page-blog-good88-latest-promotions__article-grid,
    .page-blog-good88-latest-promotions__intro-section,
    .page-blog-good88-latest-promotions__promotions-overview,
    .page-blog-good88-latest-promotions__how-to-claim,
    .page-blog-good88-latest-promotions__terms-conditions,
    .page-blog-good88-latest-promotions__faq-section,
    .page-blog-good88-latest-promotions__related-articles,
    .page-blog-good88-latest-promotions__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Specific padding for hero section */
    .page-blog-good88-latest-promotions__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 40px !important;
    }

    /* Buttons responsive */
    .page-blog-good88-latest-promotions__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }

    .page-blog-good88-latest-promotions__btn-primary,
    .page-blog-good88-latest-promotions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-blog-good88-latest-promotions__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-blog-good88-latest-promotions__section-title {
        font-size: 1.8rem;
    }

    .page-blog-good88-latest-promotions__description,
    .page-blog-good88-latest-promotions__text-block,
    .page-blog-good88-latest-promotions__list-item,
    .page-blog-good88-latest-promotions__faq-question,
    .page-blog-good88-latest-promotions__faq-answer p,
    .page-blog-good88-latest-promotions__article-excerpt {
        font-size: 1rem;
    }

    .page-blog-good88-latest-promotions__article-image {
        height: 180px; /* Adjust height for mobile */
    }

    .page-blog-good88-latest-promotions__article-title {
        font-size: 1.2rem;
    }
}