/* style/blog-m788-game-selection-guide.css */

/* Custom Colors */
:root {
    --page-bg-color: #08160F; /* Background */
    --card-bg-color: #11271B; /* Card BG */
    --text-main-color: #F2FFF6; /* Text Main */
    --text-secondary-color: #A7D9B8; /* Text Secondary */
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    --border-color: #2E7A4E; /* Border */
    --glow-color: #57E38D; /* Glow */
    --gold-color: #F2C14E; /* Gold */
    --divider-color: #1E3A2A; /* Divider */
    --deep-green-color: #0A4B2C; /* Deep Green */
    --primary-color: #11A84E; /* Main color */
    --secondary-color: #22C768; /* Auxiliary color */
}

/* Base styles for the page content, ensuring contrast with body background */
.page-blog-m788-game-selection-guide {
    background-color: var(--page-bg-color); /* Matches custom background color */
    color: var(--text-main-color); /* Ensures light text on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-blog-m788-game-selection-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-blog-m788-game-selection-guide__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above, text below */
    align-items: center;
    padding: 10px 0 40px 0; /* Small top padding, more bottom padding */
    overflow: hidden;
    background-color: var(--deep-green-color); /* A slightly different dark background for hero */
}

.page-blog-m788-game-selection-guide__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure it takes full width */
    overflow: hidden;
    box-sizing: border-box;
}

.page-blog-m788-game-selection-guide__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly dim the image to make text below stand out */
}

.page-blog-m788-game-selection-guide__hero-content {
    text-align: center;
    padding: 30px 20px;
    max-width: 900px;
    margin-top: -80px; /* Pull content up slightly over the image for visual flow, but not covering text */
    position: relative;
    z-index: 1;
    background-color: var(--card-bg-color); /* Dark background for content block */
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
    border: 1px solid var(--border-color);
}

.page-blog-m788-game-selection-guide__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* H1 font size with clamp */
    color: var(--text-main-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-blog-m788-game-selection-guide__lead-text {
    font-size: 1.2rem;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button */
.page-blog-m788-game-selection-guide__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box; /* Ensure padding is included in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-blog-m788-game-selection-guide__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color);
    border: none;
}

.page-blog-m788-game-selection-guide__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    opacity: 0.9;
}

.page-blog-m788-game-selection-guide__btn-secondary {
    background: var(--card-bg-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-blog-m788-game-selection-guide__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    background: var(--primary-color);
    color: var(--text-main-color);
}

/* Content Area */
.page-blog-m788-game-selection-guide__content-area {
    padding: 60px 0;
    background-color: var(--page-bg-color);
    color: var(--text-main-color);
}

.page-blog-m788-game-selection-guide__section-title {
    font-size: 2.5rem;
    color: var(--gold-color); /* Use gold for main section titles */
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.page-blog-m788-game-selection-guide__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--button-gradient);
    border-radius: 2px;
}

.page-blog-m788-game-selection-guide__sub-section-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-blog-m788-game-selection-guide__paragraph {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-secondary-color);
}

.page-blog-m788-game-selection-guide__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-blog-m788-game-selection-guide__list-item {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-secondary-color);
}

.page-blog-m788-game-selection-guide__list-item::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: var(--glow-color); /* Use glow color for checkmark */
}

.page-blog-m788-game-selection-guide__nested-list {
    list-style: none;
    padding-left: 20px;
    margin-top: 10px;
}

.page-blog-m788-game-selection-guide__nested-list-item {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    color: var(--text-secondary-color);
}

.page-blog-m788-game-selection-guide__nested-list-item::before {
    content: '➡️'; /* Arrow icon */
    position: absolute;
    left: 0;
    color: var(--glow-color);
    font-size: 0.9em;
}

.page-blog-m788-game-selection-guide__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    object-fit: cover;
}

/* Conclusion Section */
.page-blog-m788-game-selection-guide__conclusion-section {
    background-color: var(--deep-green-color); /* Dark green background */
    padding: 60px 0;
    text-align: center;
    color: var(--text-main-color);
}

.page-blog-m788-game-selection-guide__cta-wrapper {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap */
    justify-content: center;
    gap: 20px;
}

/* FAQ Section */
.page-blog-m788-game-selection-guide__faq-list {
    margin-top: 40px;
}

.page-blog-m788-game-selection-guide__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-blog-m788-game-selection-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-main-color);
    cursor: pointer;
    background-color: var(--card-bg-color);
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default marker for details summary */
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

/* Hide default details marker */
.page-blog-m788-game-selection-guide__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-blog-m788-game-selection-guide__faq-item summary::marker {
    display: none;
}

.page-blog-m788-game-selection-guide__faq-question:hover {
    background-color: var(--deep-green-color); /* Slightly darker on hover */
}

.page-blog-m788-game-selection-guide__faq-qtext {
    flex-grow: 1;
    padding-right: 15px;
}

.page-blog-m788-game-selection-guide__faq-toggle {
    font-size: 1.5rem;
    color: var(--glow-color);
    min-width: 20px; /* Ensure +/- has space */
    text-align: center;
}

.page-blog-m788-game-selection-guide__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1.05rem;
    color: var(--text-secondary-color);
    max-height: 0; /* Hidden by default for JS fallback */
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-blog-m788-game-selection-guide__faq-item[open] .page-blog-m788-game-selection-guide__faq-answer {
    max-height: 500px; /* Arbitrary large value for open state */
    padding: 0 20px 20px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-blog-m788-game-selection-guide__hero-content {
        margin-top: -60px;
    }
    .page-blog-m788-game-selection-guide__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-blog-m788-game-selection-guide__section-title {
        font-size: 2.2rem;
    }
    .page-blog-m788-game-selection-guide__sub-section-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .page-blog-m788-game-selection-guide {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-blog-m788-game-selection-guide__hero-section {
        padding: 10px 0 30px 0;
    }
    .page-blog-m788-game-selection-guide__hero-content {
        margin-top: -40px;
        padding: 20px 15px;
    }
    .page-blog-m788-game-selection-guide__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-blog-m788-game-selection-guide__lead-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-blog-m788-game-selection-guide__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
    }
    .page-blog-m788-game-selection-guide__cta-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .page-blog-m788-game-selection-guide__content-area,
    .page-blog-m788-game-selection-guide__conclusion-section {
        padding: 40px 0;
    }
    .page-blog-m788-game-selection-guide__container {
        padding: 0 15px;
    }
    .page-blog-m788-game-selection-guide__section-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    .page-blog-m788-game-selection-guide__sub-section-title {
        font-size: 1.4rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    .page-blog-m788-game-selection-guide__paragraph,
    .page-blog-m788-game-selection-guide__list-item,
    .page-blog-m788-game-selection-guide__nested-list-item {
        font-size: 1rem;
    }

    /* Images responsiveness */
    .page-blog-m788-game-selection-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-blog-m788-game-selection-guide__section,
    .page-blog-m788-game-selection-guide__card,
    .page-blog-m788-game-selection-guide__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-blog-m788-game-selection-guide__hero-image-wrapper,
    .page-blog-m788-game-selection-guide__video-section,
    .page-blog-m788-game-selection-guide__video-container,
    .page-blog-m788-game-selection-guide__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-blog-m788-game-selection-guide__video-section {
        padding-top: 10px !important;
    }

    /* FAQ responsiveness */
    .page-blog-m788-game-selection-guide__faq-question {
        font-size: 1.1rem;
        padding: 15px;
    }
    .page-blog-m788-game-selection-guide__faq-answer {
        font-size: 1rem;
        padding: 0 15px 15px 15px;
    }
    .page-blog-m788-game-selection-guide__faq-item[open] .page-blog-m788-game-selection-guide__faq-answer {
        padding: 0 15px 15px 15px;
    }
}

/* Color contrast enforcement (already handled by var usage, but explicit classes for safety) */
.page-blog-m788-game-selection-guide__dark-bg {
  color: var(--text-main-color); /* Deep green background, light text */
  background: var(--page-bg-color);
}
.page-blog-m788-game-selection-guide__card {
  background: var(--card-bg-color); /* Card background, light text */
  color: var(--text-main-color);
  border: 1px solid var(--border-color);
}