/* style/blog-understanding-33win99-promotions.css */

/* Base styles for the page content, ensuring contrast with shared body background */
.page-blog-understanding-33win99-promotions {
    background-color: var(--background-color, #08160F); /* Fallback to custom background if shared not defined */
    color: var(--text-main-color, #F2FFF6); /* Main text color for dark background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Space for footer */
}

/* Hero Section */
.page-blog-understanding-33win99-promotions__hero-section {
    position: relative;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.page-blog-understanding-33win99-promotions__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 10px;
}

.page-blog-understanding-33win99-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.page-blog-understanding-33win99-promotions__hero-content {
    max-width: 900px;
    z-index: 1;
}

.page-blog-understanding-33win99-promotions__hero-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
    color: var(--gold-color, #F2C14E); /* Gold for main title */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-blog-understanding-33win99-promotions__hero-description {
    font-size: 1.1em;
    color: var(--text-main-color, #F2FFF6);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* General Section Styling */
.page-blog-understanding-33win99-promotions__section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: var(--card-bg-color, #11271B); /* Card BG for sections */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color, #2E7A4E);
}

.page-blog-understanding-33win99-promotions__section-title {
    font-size: 2.2em;
    color: var(--glow-color, #57E38D); /* Glow color for H2 */
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    border-bottom: 2px solid var(--divider-color, #1E3A2A);
    padding-bottom: 15px;
}

.page-blog-understanding-33win99-promotions__subsection-title {
    font-size: 1.6em;
    color: var(--text-main-color, #F2FFF6);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-blog-understanding-33win99-promotions p {
    margin-bottom: 15px;
    color: var(--text-secondary-color, #A7D9B8);
}

.page-blog-understanding-33win99-promotions ul {
    list-style: disc inside;
    margin-bottom: 15px;
    padding-left: 20px;
    color: var(--text-secondary-color, #A7D9B8);
}

.page-blog-understanding-33win99-promotions ol {
    list-style: decimal inside;
    margin-bottom: 15px;
    padding-left: 20px;
    color: var(--text-secondary-color, #A7D9B8);
}

.page-blog-understanding-33win99-promotions li {
    margin-bottom: 8px;
    color: var(--text-secondary-color, #A7D9B8);
}

/* Call to Action Buttons */
.page-blog-understanding-33win99-promotions__button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-blog-understanding-33win99-promotions__btn-primary,
.page-blog-understanding-33win99-promotions__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure buttons adapt to container width */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
}

.page-blog-understanding-33win99-promotions__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-blog-understanding-33win99-promotions__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
    transform: translateY(-2px);
}

.page-blog-understanding-33win99-promotions__btn-secondary {
    background: transparent;
    color: var(--glow-color, #57E38D);
    border: 2px solid var(--glow-color, #57E38D);
}

.page-blog-understanding-33win99-promotions__btn-secondary:hover {
    background-color: rgba(87, 227, 141, 0.1);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Image styling for content sections */
.page-blog-understanding-33win99-promotions__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
}

/* FAQ Section */
.page-blog-understanding-33win99-promotions__faq-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: var(--card-bg-color, #11271B);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color, #2E7A4E);
}

.page-blog-understanding-33win99-promotions__faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--divider-color, #1E3A2A);
    padding-bottom: 15px;
}

.page-blog-understanding-33win99-promotions__faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-blog-understanding-33win99-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-main-color, #F2FFF6);
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.page-blog-understanding-33win99-promotions__faq-question:hover {
    color: var(--glow-color, #57E38D);
}

.page-blog-understanding-33win99-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
    color: var(--glow-color, #57E38D);
}

.page-blog-understanding-33win99-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-left: 15px;
    color: var(--text-secondary-color, #A7D9B8);
}

.page-blog-understanding-33win99-promotions__faq-item.active .page-blog-understanding-33win99-promotions__faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    transition: max-height 0.5s ease-in;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* For <details> tag, native behavior */
.page-blog-understanding-33win99-promotions__faq-item details > summary {
    list-style: none;
}
.page-blog-understanding-33win99-promotions__faq-item details > summary::-webkit-details-marker {
    display: none;
}
.page-blog-understanding-33win99-promotions__faq-item[open] .page-blog-understanding-33win99-promotions__faq-answer {
    max-height: none; /* Let content dictate height */
    padding-top: 10px;
    padding-bottom: 10px;
}


/* Responsive styles */
@media (max-width: 1024px) {
    .page-blog-understanding-33win99-promotions__hero-title {
        font-size: clamp(1.8em, 5vw, 2.8em);
    }

    .page-blog-understanding-33win99-promotions__section {
        margin: 30px 15px;
        padding: 15px;
    }

    .page-blog-understanding-33win99-promotions__faq-section {
        margin: 30px 15px;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .page-blog-understanding-33win99-promotions__hero-section {
        padding: 10px 15px 40px;
    }

    .page-blog-understanding-33win99-promotions__hero-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }

    .page-blog-understanding-33win99-promotions__hero-description {
        font-size: 1em;
    }

    .page-blog-understanding-33win99-promotions__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-blog-understanding-33win99-promotions__subsection-title {
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-blog-understanding-33win99-promotions p,
    .page-blog-understanding-33win99-promotions li {
        font-size: 0.95em;
    }

    /* Mobile image responsiveness */
    .page-blog-understanding-33win99-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Mobile button responsiveness */
    .page-blog-understanding-33win99-promotions__btn-primary,
    .page-blog-understanding-33win99-promotions__btn-secondary,
    .page-blog-understanding-33win99-promotions a[class*="button"],
    .page-blog-understanding-33win99-promotions 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;
    }
    
    .page-blog-understanding-33win99-promotions__button-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
    }

    /* General containers for mobile to prevent overflow */
    .page-blog-understanding-33win99-promotions__section,
    .page-blog-understanding-33win99-promotions__faq-section,
    .page-blog-understanding-33win99-promotions__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}