/* style/blog-exploring-may88family-diverse-game-selection.css */

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

.page-blog-exploring-may88family-diverse-game-selection {
    background-color: var(--may88family-background-color); /* Body background is dark */
    color: var(--may88family-text-main); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-blog-exploring-may88family-diverse-game-selection__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-blog-exploring-may88family-diverse-game-selection__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 700px; /* Limit hero image height */
}

.page-blog-exploring-may88family-diverse-game-selection__hero-content {
    position: relative; /* Changed from absolute to relative to be below image */
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
    background: var(--may88family-background-color); /* Ensure text block has distinct background */
    border-radius: 8px;
    margin-top: -80px; /* Overlap slightly with image for design, but text is below */
}

.page-blog-exploring-may88family-diverse-game-selection__main-title {
    font-size: clamp(2em, 4vw, 3em); /* Use clamp for H1 */
    color: var(--may88family-text-main);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-blog-exploring-may88family-diverse-game-selection__subtitle {
    font-size: 1.1em;
    color: var(--may88family-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-exploring-may88family-diverse-game-selection__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-blog-exploring-may88family-diverse-game-selection__btn-primary,
.page-blog-exploring-may88family-diverse-game-selection__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-blog-exploring-may88family-diverse-game-selection__btn-primary {
    background: var(--may88family-button-gradient);
    color: #ffffff; /* White text for primary button */
    border: 2px solid transparent;
}

.page-blog-exploring-may88family-diverse-game-selection__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-blog-exploring-may88family-diverse-game-selection__btn-secondary {
    background: var(--may88family-card-bg); /* Darker background for secondary button */
    color: var(--may88family-primary-color); /* Green text for secondary button */
    border: 2px solid var(--may88family-primary-color);
}

.page-blog-exploring-may88family-diverse-game-selection__btn-secondary:hover {
    background: var(--may88family-primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.page-blog-exploring-may88family-diverse-game-selection__section {
    padding: 60px 0;
    background-color: var(--may88family-background-color);
}

.page-blog-exploring-may88family-diverse-game-selection__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-blog-exploring-may88family-diverse-game-selection__section-title {
    font-size: 2.5em;
    color: var(--may88family-text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-blog-exploring-may88family-diverse-game-selection__sub-title {
    font-size: 1.6em;
    color: var(--may88family-primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-blog-exploring-may88family-diverse-game-selection__text-block {
    font-size: 1.05em;
    color: var(--may88family-text-secondary);
    margin-bottom: 20px;
}

.page-blog-exploring-may88family-diverse-game-selection__content-image-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.page-blog-exploring-may88family-diverse-game-selection__content-image-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-blog-exploring-may88family-diverse-game-selection__content-image {
    flex: 1;
    min-width: 400px; /* Minimum size for content images */
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: block;
}

.page-blog-exploring-may88family-diverse-game-selection__text-content {
    flex: 1;
}

.page-blog-exploring-may88family-diverse-game-selection__video-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background-color: var(--may88family-card-bg);
    box-sizing: border-box;
}

.page-blog-exploring-may88family-diverse-game-selection__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* FAQ Section */
.page-blog-exploring-may88family-diverse-game-selection__faq-list {
    margin-top: 40px;
}

.page-blog-exploring-may88family-diverse-game-selection__faq-item {
    background-color: var(--may88family-card-bg);
    border: 1px solid var(--may88family-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-blog-exploring-may88family-diverse-game-selection__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--may88family-text-main);
    cursor: pointer;
    background-color: var(--may88family-card-bg);
    border: none;
    width: 100%;
    text-align: left;
    outline: none;
    list-style: none; /* For details/summary */
}

.page-blog-exploring-may88family-diverse-game-selection__faq-question::-webkit-details-marker {
    display: none;
}

.page-blog-exploring-may88family-diverse-game-selection__faq-qtext {
    flex-grow: 1;
    pointer-events: none; /* Allow click on entire summary */
}

.page-blog-exploring-may88family-diverse-game-selection__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--may88family-primary-color);
    pointer-events: none; /* Allow click on entire summary */
}

.page-blog-exploring-may88family-diverse-game-selection__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.05em;
    color: var(--may88family-text-secondary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-blog-exploring-may88family-diverse-game-selection__faq-item[open] .page-blog-exploring-may88family-diverse-game-selection__faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding-top: 10px;
}

.page-blog-exploring-may88family-diverse-game-selection__faq-item[open] .page-blog-exploring-may88family-diverse-game-selection__faq-question {
    background-color: var(--may88family-deep-green);
}

.page-blog-exploring-may88family-diverse-game-selection__cta-buttons--bottom {
    margin-top: 50px;
}

.page-blog-exploring-may88family-diverse-game-selection__conclusion-section {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-blog-exploring-may88family-diverse-game-selection__hero-content {
        margin-top: -50px;
    }
    .page-blog-exploring-may88family-diverse-game-selection__section-title {
        font-size: 2em;
    }
    .page-blog-exploring-may88family-diverse-game-selection__sub-title {
        font-size: 1.4em;
    }
    .page-blog-exploring-may88family-diverse-game-selection__content-image-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .page-blog-exploring-may88family-diverse-game-selection__content-image-wrapper--reverse {
        flex-direction: column;
    }
    .page-blog-exploring-may88family-diverse-game-selection__content-image {
        min-width: unset;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-blog-exploring-may88family-diverse-game-selection {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-blog-exploring-may88family-diverse-game-selection__hero-content {
        margin-top: -30px;
        padding: 30px 15px;
    }
    .page-blog-exploring-may88family-diverse-game-selection__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-blog-exploring-may88family-diverse-game-selection__subtitle {
        font-size: 1em;
    }
    .page-blog-exploring-may88family-diverse-game-selection__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-blog-exploring-may88family-diverse-game-selection__btn-primary,
    .page-blog-exploring-may88family-diverse-game-selection__btn-secondary {
        width: 100% !important; /* Force full width for buttons */
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-blog-exploring-may88family-diverse-game-selection__section {
        padding: 40px 0;
    }
    .page-blog-exploring-may88family-diverse-game-selection__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-blog-exploring-may88family-diverse-game-selection__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-blog-exploring-may88family-diverse-game-selection__sub-title {
        font-size: 1.2em;
    }
    .page-blog-exploring-may88family-diverse-game-selection__content-image,
    .page-blog-exploring-may88family-diverse-game-selection__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-blog-exploring-may88family-diverse-game-selection__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
    }
    .page-blog-exploring-may88family-diverse-game-selection__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-blog-exploring-may88family-diverse-game-selection__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95em;
    }
    .page-blog-exploring-may88family-diverse-game-selection__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
}

@media (max-width: 480px) {
    .page-blog-exploring-may88family-diverse-game-selection__hero-content {
        padding: 20px 10px;
    }
    .page-blog-exploring-may88family-diverse-game-selection__main-title {
        font-size: clamp(1.5em, 7vw, 2em);
    }
    .page-blog-exploring-may88family-diverse-game-selection__section-title {
        font-size: 1.5em;
    }
    .page-blog-exploring-may88family-diverse-game-selection__sub-title {
        font-size: 1.1em;
    }
    .page-blog-exploring-may88family-diverse-game-selection__faq-question {
        font-size: 1em;
    }
}