:root {
    --gem88-primary: #11A84E;
    --gem88-secondary: #22C768;
    --gem88-card-bg: #11271B;
    --gem88-background: #08160F;
    --gem88-text-main: #F2FFF6;
    --gem88-text-secondary: #A7D9B8;
    --gem88-border: #2E7A4E;
    --gem88-glow: #57E38D;
    --gem88-gold: #F2C14E;
    --gem88-deep-green: #0A4B2C;
    --gem88-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-blog-latest-promotions-gem88 {
    background-color: var(--gem88-background);
    color: var(--gem88-text-main); /* Dark background, so light text */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* General section styling */
.page-blog-latest-promotions-gem88__section {
    padding: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden; /* For mobile overflow safety */
}

.page-blog-latest-promotions-gem88__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-blog-latest-promotions-gem88__section-title {
    font-size: 2.5em;
    color: var(--gem88-gold);
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-blog-latest-promotions-gem88__sub-title {
    font-size: 1.8em;
    color: var(--gem88-primary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-blog-latest-promotions-gem88 p {
    margin-bottom: 15px;
    color: var(--gem88-text-main);
}

.page-blog-latest-promotions-gem88 ul,
.page-blog-latest-promotions-gem88 ol {
    margin-bottom: 15px;
    padding-left: 20px;
    text-align: left;
    color: var(--gem88-text-main);
}

.page-blog-latest-promotions-gem88 li {
    margin-bottom: 8px;
    color: var(--gem88-text-secondary);
}

/* Hero Section */
.page-blog-latest-promotions-gem88__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
    text-align: center;
    overflow: hidden;
}

.page-blog-latest-promotions-gem88__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin-bottom: 20px; /* Space between image and text content */
}

.page-blog-latest-promotions-gem88__hero-content {
    position: relative; /* Not absolute, to flow below image */
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-blog-latest-promotions-gem88__main-title {
    color: var(--gem88-gold);
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--gem88-glow);
    text-transform: uppercase;
    font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size for H1 */
    line-height: 1.2;
}

.page-blog-latest-promotions-gem88__hero-description {
    font-size: 1.2em;
    color: var(--gem88-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button */
.page-blog-latest-promotions-gem88__cta-button {
    display: inline-block;
    background: var(--gem88-button-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
    border: none;
    cursor: pointer;
}

.page-blog-latest-promotions-gem88__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
}

.page-blog-latest-promotions-gem88__cta-button--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

/* Promotions Detail Section */
.page-blog-latest-promotions-gem88__promotions-detail-section {
    background-color: var(--gem88-card-bg);
}

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

.page-blog-latest-promotions-gem88__card {
    background-color: var(--gem88-deep-green);
    border: 1px solid var(--gem88-border);
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards have equal height */
}

.page-blog-latest-promotions-gem88__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-blog-latest-promotions-gem88__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-blog-latest-promotions-gem88__card-title {
    font-size: 1.5em;
    color: var(--gem88-primary);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-blog-latest-promotions-gem88__card-button {
    margin-top: auto; /* Push button to bottom */
    align-self: flex-start; /* Align button to left */
    background: var(--gem88-button-gradient);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(34, 199, 104, 0.3);
    border: none;
    cursor: pointer;
}

.page-blog-latest-promotions-gem88__card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(34, 199, 104, 0.5);
}

/* Participation Guide Section */
.page-blog-latest-promotions-gem88__participation-guide-section {
    background-color: var(--gem88-background);
}

.page-blog-latest-promotions-gem88__ordered-list {
    list-style-type: decimal;
    padding-left: 25px;
    text-align: left;
    color: var(--gem88-text-main);
}

.page-blog-latest-promotions-gem88__ordered-list li {
    margin-bottom: 10px;
    color: var(--gem88-text-secondary);
}

/* Why Choose Section */
.page-blog-latest-promotions-gem88__why-choose-section {
    background-color: var(--gem88-card-bg);
}

/* FAQ Section */
.page-blog-latest-promotions-gem88__faq-section {
    background-color: var(--gem88-background);
}

.page-blog-latest-promotions-gem88__faq-list {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-latest-promotions-gem88__faq-item {
    background-color: var(--gem88-deep-green);
    border: 1px solid var(--gem88-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.page-blog-latest-promotions-gem88__faq-item summary {
    list-style: none; /* Remove default marker */
    padding: 18px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--gem88-primary);
    background-color: var(--gem88-card-bg);
    transition: background-color 0.3s ease;
}

.page-blog-latest-promotions-gem88__faq-item summary:hover {
    background-color: rgba(34, 199, 104, 0.1); /* Slight hover effect */
}

.page-blog-latest-promotions-gem88__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for Webkit browsers */
}

.page-blog-latest-promotions-gem88__faq-qtext {
    flex-grow: 1;
    color: var(--gem88-text-main);
}

.page-blog-latest-promotions-gem88__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--gem88-gold);
}

.page-blog-latest-promotions-gem88__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1em;
    color: var(--gem88-text-secondary);
    background-color: var(--gem88-deep-green);
}

/* Conclusion Section */
.page-blog-latest-promotions-gem88__conclusion-section {
    padding-bottom: 60px;
    background-color: var(--gem88-card-bg);
}

.page-blog-latest-promotions-gem88__conclusion-section .page-blog-latest-promotions-gem88__cta-button {
    margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-blog-latest-promotions-gem88__section-title {
        font-size: 2em;
    }
    .page-blog-latest-promotions-gem88__sub-title {
        font-size: 1.5em;
    }
    .page-blog-latest-promotions-gem88__hero-description {
        font-size: 1.1em;
    }
    .page-blog-latest-promotions-gem88__grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-blog-latest-promotions-gem88__hero-section {
        padding-bottom: 40px;
    }
    .page-blog-latest-promotions-gem88__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }
    .page-blog-latest-promotions-gem88__section {
        padding: 30px 0;
    }
    .page-blog-latest-promotions-gem88__container {
        padding: 0 15px;
    }
    .page-blog-latest-promotions-gem88__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-blog-latest-promotions-gem88__sub-title {
        font-size: 1.3em;
    }
    .page-blog-latest-promotions-gem88__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-blog-latest-promotions-gem88__cta-button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-blog-latest-promotions-gem88__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-blog-latest-promotions-gem88__card {
        padding: 20px;
    }
    .page-blog-latest-promotions-gem88__card-image {
        height: 180px;
    }
    .page-blog-latest-promotions-gem88__card-title {
        font-size: 1.3em;
    }
    .page-blog-latest-promotions-gem88__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-blog-latest-promotions-gem88__faq-answer {
        padding: 10px 20px 15px 20px;
    }

    /* Mobile image responsiveness */
    .page-blog-latest-promotions-gem88 img {
      max-width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-blog-latest-promotions-gem88__hero-image {
      width: 100% !important; /* Ensure hero image scales correctly */
    }

    /* Mobile video responsiveness (if any video is added later) */
    .page-blog-latest-promotions-gem88 video,
    .page-blog-latest-promotions-gem88__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-blog-latest-promotions-gem88__video-section,
    .page-blog-latest-promotions-gem88__video-container,
    .page-blog-latest-promotions-gem88__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-blog-latest-promotions-gem88__video-section {
      padding-top: 10px !important;
    }
    .page-blog-latest-promotions-gem88__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }

    /* Mobile button responsiveness */
    .page-blog-latest-promotions-gem88__cta-button,
    .page-blog-latest-promotions-gem88__btn-primary,
    .page-blog-latest-promotions-gem88__btn-secondary,
    .page-blog-latest-promotions-gem88 a[class*="button"],
    .page-blog-latest-promotions-gem88 a[class*="btn"] {
      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; /* Add padding to buttons for better touch targets */
    }
    .page-blog-latest-promotions-gem88__cta-buttons,
    .page-blog-latest-promotions-gem88__button-group,
    .page-blog-latest-promotions-gem88__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important;
      gap: 10px; /* Space between buttons if they wrap */
      display: flex; /* Ensure flex context for wrap */
      flex-direction: column; /* Stack buttons vertically on small screens */
    }
}

/* Image size limits check */
.page-blog-latest-promotions-gem88 img {
    min-width: 200px;
    min-height: 200px;
}
.page-blog-latest-promotions-gem88__card-image {
    min-width: 200px;
    min-height: 200px;
    height: 200px; /* Fixed height, will be scaled by object-fit */
}
/* Ensure content area images are not too small */
.page-blog-latest-promotions-gem88__text-block img {
    min-width: 200px;
    min-height: 200px;
}
/* No filter on images */
.page-blog-latest-promotions-gem88 img {
    filter: none;
}