/* style/blog-secure-fair-lottery-platform.css */
.page-blog-secure-fair-lottery-platform {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #f4f4f4; /* Body background color */
}

/* Hero Section */
.page-blog-secure-fair-lottery-platform__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: #08160F; /* Background color for hero section */
    color: #F2FFF6; /* Light text for dark background */
    overflow: hidden;
}

.page-blog-secure-fair-lottery-platform__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

.page-blog-secure-fair-lottery-platform__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0.7; /* Slightly darken image for text readability */
}

.page-blog-secure-fair-lottery-platform__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-blog-secure-fair-lottery-platform__main-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #F2FFF6;
}

.page-blog-secure-fair-lottery-platform__description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: #A7D9B8;
}

.page-blog-secure-fair-lottery-platform__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

/* General Section Styling */
.page-blog-secure-fair-lottery-platform__section {
    padding: 60px 0;
    background-color: #f4f4f4; /* Light background for default sections */
    color: #333333;
}

.page-blog-secure-fair-lottery-platform__dark-bg {
    background-color: #08160F; /* Dark background as per custom color */
    color: #F2FFF6; /* Light text for dark background */
}

.page-blog-secure-fair-lottery-platform__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-blog-secure-fair-lottery-platform__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #11A84E; /* Brand primary color for titles */
}
.page-blog-secure-fair-lottery-platform__dark-bg .page-blog-secure-fair-lottery-platform__section-title {
    color: #57E38D; /* Glow color for titles on dark background */
}

.page-blog-secure-fair-lottery-platform__sub-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #22C768; /* Brand secondary color for subtitles */
}
.page-blog-secure-fair-lottery-platform__dark-bg .page-blog-secure-fair-lottery-platform__sub-title {
    color: #A7D9B8; /* Secondary text color on dark background */
}

.page-blog-secure-fair-lottery-platform__paragraph {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.7;
}

.page-blog-secure-fair-lottery-platform__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-blog-secure-fair-lottery-platform__list-item {
    margin-bottom: 10px;
    font-size: 1rem;
}

/* Buttons */
.page-blog-secure-fair-lottery-platform__btn-primary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-secure-fair-lottery-platform__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-secure-fair-lottery-platform__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    background: transparent;
    border: 2px solid #2AD16F;
    color: #2AD16F;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.page-blog-secure-fair-lottery-platform__btn-secondary:hover {
    background: rgba(42, 209, 111, 0.1);
    color: #13994A;
    border-color: #13994A;
}

.page-blog-secure-fair-lottery-platform__btn-link {
    display: inline-block;
    color: #2AD16F;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.page-blog-secure-fair-lottery-platform__btn-link:hover {
    color: #13994A;
    text-decoration: underline;
}

/* Content Grids */
.page-blog-secure-fair-lottery-platform__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-blog-secure-fair-lottery-platform__content-grid--reverse {
    grid-template-columns: 1fr 1fr; /* Default order */
}

.page-blog-secure-fair-lottery-platform__content-grid .page-blog-secure-fair-lottery-platform__image-wrapper {
    text-align: center;
}

.page-blog-secure-fair-lottery-platform__content-grid .page-blog-secure-fair-lottery-platform__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Game Cards */
.page-blog-secure-fair-lottery-platform__game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-blog-secure-fair-lottery-platform__card {
    background-color: #11271B; /* Card background color */
    color: #F2FFF6; /* Text on card background */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-blog-secure-fair-lottery-platform__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.page-blog-secure-fair-lottery-platform__card-image {
    width: 100%;
    height: 180px; /* Fixed height for consistent card images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-blog-secure-fair-lottery-platform__card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #57E38D; /* Glow color for card titles */
}

.page-blog-secure-fair-lottery-platform__card-text {
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 20px;
    color: #A7D9B8;
}

/* Steps Grid */
.page-blog-secure-fair-lottery-platform__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-blog-secure-fair-lottery-platform__step-card {
    background-color: #ffffff;
    color: #333333;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-blog-secure-fair-lottery-platform__step-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-blog-secure-fair-lottery-platform__step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #11A84E;
}

.page-blog-secure-fair-lottery-platform__step-text {
    font-size: 0.95rem;
    flex-grow: 1;
    margin-bottom: 20px;
    color: #555555;
}

/* Promotions */
.page-blog-secure-fair-lottery-platform__promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Full width CTA */
.page-blog-secure-fair-lottery-platform__cta-full-width {
    text-align: center;
    margin-top: 50px;
}

/* FAQ Section */
.page-blog-secure-fair-lottery-platform__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-secure-fair-lottery-platform__faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}
.page-blog-secure-fair-lottery-platform__faq-item[open] {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-blog-secure-fair-lottery-platform__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #11A84E;
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-blog-secure-fair-lottery-platform__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for details/summary */
}

.page-blog-secure-fair-lottery-platform__faq-question:hover {
    background-color: #e8f5e9;
}

.page-blog-secure-fair-lottery-platform__faq-toggle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #22C768;
    margin-left: 15px;
}

.page-blog-secure-fair-lottery-platform__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    color: #555555;
    background-color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-blog-secure-fair-lottery-platform__content-grid {
        grid-template-columns: 1fr;
    }
    .page-blog-secure-fair-lottery-platform__content-grid--reverse {
        grid-template-columns: 1fr; /* No reverse order on mobile */
    }
    .page-blog-secure-fair-lottery-platform__content-grid .page-blog-secure-fair-lottery-platform__image-wrapper {
        order: -1; /* Image always on top for content grid on smaller screens */
        margin-bottom: 30px;
    }
    .page-blog-secure-fair-lottery-platform__hero-section {
        padding-bottom: 40px;
    }
    .page-blog-secure-fair-lottery-platform__section {
        padding: 40px 0;
    }
    .page-blog-secure-fair-lottery-platform__main-title {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }
    .page-blog-secure-fair-lottery-platform__description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .page-blog-secure-fair-lottery-platform__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-blog-secure-fair-lottery-platform__description {
        font-size: 0.95rem;
    }
    .page-blog-secure-fair-lottery-platform__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-blog-secure-fair-lottery-platform__btn-primary,
    .page-blog-secure-fair-lottery-platform__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;
    }

    /* Images responsiveness */
    .page-blog-secure-fair-lottery-platform img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-blog-secure-fair-lottery-platform__hero-image-wrapper,
    .page-blog-secure-fair-lottery-platform__image-wrapper,
    .page-blog-secure-fair-lottery-platform__card,
    .page-blog-secure-fair-lottery-platform__step-card,
    .page-blog-secure-fair-lottery-platform__container,
    .page-blog-secure-fair-lottery-platform__game-cards,
    .page-blog-secure-fair-lottery-platform__steps-grid,
    .page-blog-secure-fair-lottery-platform__promo-cards {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure content doesn't overflow */
    }
    .page-blog-secure-fair-lottery-platform__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles --header-offset */
    }

    .page-blog-secure-fair-lottery-platform__card-image,
    .page-blog-secure-fair-lottery-platform__step-image {
        height: auto; /* Allow height to adjust naturally on mobile */
        max-height: 150px; /* Cap max height for smaller screens */
    }
    .page-blog-secure-fair-lottery-platform__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-blog-secure-fair-lottery-platform__faq-answer {
        font-size: 0.9rem;
        padding: 10px 20px 15px;
    }
}

/* Contrast Fixes */
.page-blog-secure-fair-lottery-platform__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-blog-secure-fair-lottery-platform__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}