/* style/blog-popular-games-strategy.css */

/* Variables */
:root {
    --min88-primary-color: #26A9E0;
    --min88-secondary-color: #FFFFFF;
    --min88-text-dark: #333333;
    --min88-text-light: #ffffff;
    --min88-bg-dark: #121212; /* Body background from shared.css */
    --min88-login-button: #EA7C07;
}

.page-blog-popular-games-strategy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--min88-text-light); /* Light text on dark body background */
    background-color: var(--min88-bg-dark); /* Ensure consistency if any background is not covered */
}

/* Hero Section */
.page-blog-popular-games-strategy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    background-color: var(--min88-bg-dark);
}

.page-blog-popular-games-strategy__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.page-blog-popular-games-strategy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-blog-popular-games-strategy__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
    z-index: 1;
}

.page-blog-popular-games-strategy__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--min88-secondary-color); /* White text on dark background */
}

.page-blog-popular-games-strategy__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--min88-secondary-color);
}

/* CTA Buttons */
.page-blog-popular-games-strategy__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%; /* Ensure container width for responsiveness */
    max-width: 600px; /* Limit max width for desktop */
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

.page-blog-popular-games-strategy__btn-primary,
.page-blog-popular-games-strategy__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-blog-popular-games-strategy__btn-primary {
    background-color: var(--min88-primary-color);
    color: var(--min88-secondary-color);
    border: 2px solid var(--min88-primary-color);
}

.page-blog-popular-games-strategy__btn-primary:hover {
    background-color: #1f8bc2; /* Darker shade of primary */
    border-color: #1f8bc2;
}

.page-blog-popular-games-strategy__btn-secondary {
    background-color: var(--min88-login-button); /* Custom login color */
    color: var(--min88-secondary-color);
    border: 2px solid var(--min88-login-button);
}

.page-blog-popular-games-strategy__btn-secondary:hover {
    background-color: #c96806; /* Darker shade of login button */
    border-color: #c96806;
}

/* Content Sections */
.page-blog-popular-games-strategy__content-section,
.page-blog-popular-games-strategy__game-strategy-section,
.page-blog-popular-games-strategy__faq-section,
.page-blog-popular-games-strategy__cta-section {
    padding: 60px 0;
}

.page-blog-popular-games-strategy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-blog-popular-games-strategy__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    color: var(--min88-primary-color);
}

.page-blog-popular-games-strategy__content-section p,
.page-blog-popular-games-strategy__game-strategy-section p,
.page-blog-popular-games-strategy__faq-section p,
.page-blog-popular-games-strategy__cta-section p {
    margin-bottom: 1em;
    color: var(--min88-text-light);
}

/* Dark Background Sections */
.page-blog-popular-games-strategy__dark-bg {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background for contrast */
    color: var(--min88-text-light);
}

.page-blog-popular-games-strategy__dark-bg .page-blog-popular-games-strategy__section-title {
    color: var(--min88-secondary-color); /* White title on dark background */
}

/* Image Text Block */
.page-blog-popular-games-strategy__image-text-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-blog-popular-games-strategy__image-text-block--reverse {
    flex-direction: row-reverse;
}

.page-blog-popular-games-strategy__image-block {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-blog-popular-games-strategy__text-block {
    flex: 1;
    min-width: 300px;
}

/* FAQ Section */
.page-blog-popular-games-strategy__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-blog-popular-games-strategy__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--min88-text-light);
}

.page-blog-popular-games-strategy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--min88-secondary-color);
    background-color: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    list-style: none; /* For details/summary */
}
.page-blog-popular-games-strategy__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-blog-popular-games-strategy__faq-item summary::marker {
    display: none;
}


.page-blog-popular-games-strategy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-blog-popular-games-strategy__faq-item[open] .page-blog-popular-games-strategy__faq-toggle {
    transform: rotate(45deg); /* Rotate for minus sign */
}

.page-blog-popular-games-strategy__faq-answer {
    padding: 15px 25px 25px;
    font-size: 0.95em;
    color: var(--min88-text-light);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-blog-popular-games-strategy__hero-section {
        padding: 40px 15px;
    }

    .page-blog-popular-games-strategy__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }

    .page-blog-popular-games-strategy__hero-description {
        font-size: 1.1em;
    }

    .page-blog-popular-games-strategy__content-section,
    .page-blog-popular-games-strategy__game-strategy-section,
    .page-blog-popular-games-strategy__faq-section,
    .page-blog-popular-games-strategy__cta-section {
        padding: 40px 0;
    }

    .page-blog-popular-games-strategy__container {
        padding: 0 15px;
    }

    .page-blog-popular-games-strategy__section-title {
        font-size: clamp(1.6em, 4vw, 2.2em);
    }

    .page-blog-popular-games-strategy__image-text-block {
        flex-direction: column;
        gap: 30px;
    }
    .page-blog-popular-games-strategy__image-text-block--reverse {
        flex-direction: column; /* Ensure stacked order on smaller screens */
    }

    .page-blog-popular-games-strategy__image-block {
        width: 100%;
        max-width: 100%;
        min-width: unset;
    }
    .page-blog-popular-games-strategy__text-block {
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 768px) {
    /* Global image, video, button responsiveness */
    .page-blog-popular-games-strategy img {
        max-width: 100% !important;
        width: 100% !important; /* Ensure width is 100% on mobile */
        height: auto !important;
        display: block !important;
    }
    .page-blog-popular-games-strategy video,
    .page-blog-popular-games-strategy__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-blog-popular-games-strategy__video-section,
    .page-blog-popular-games-strategy__video-container,
    .page-blog-popular-games-strategy__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-popular-games-strategy__video-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
    }

    .page-blog-popular-games-strategy__section,
    .page-blog-popular-games-strategy__card,
    .page-blog-popular-games-strategy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-blog-popular-games-strategy__cta-button,
    .page-blog-popular-games-strategy__btn-primary,
    .page-blog-popular-games-strategy__btn-secondary,
    .page-blog-popular-games-strategy a[class*="button"],
    .page-blog-popular-games-strategy 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 themselves */
    }

    .page-blog-popular-games-strategy__cta-buttons,
    .page-blog-popular-games-strategy__button-group,
    .page-blog-popular-games-strategy__btn-container {
        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: 10px;
    }

    /* General mobile adjustments */
    .page-blog-popular-games-strategy__hero-section {
        padding: 30px 10px;
    }

    .page-blog-popular-games-strategy__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }

    .page-blog-popular-games-strategy__hero-description {
        font-size: 1em;
    }

    .page-blog-popular-games-strategy__section-title {
        font-size: clamp(1.4em, 5vw, 2em);
    }

    .page-blog-popular-games-strategy__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-blog-popular-games-strategy__faq-answer {
        padding: 10px 20px 20px;
    }
}