/* style/game-strategy-guides.css */

/* Base styles for the page content */
.page-game-strategy-guides {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main for dark background */
    background-color: #08160F; /* Background color */
    padding-bottom: 40px; /* Space above footer */
}

/* Hero Section */
.page-game-strategy-guides__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    text-align: center;
    background-color: #0A4B2C; /* Deep Green as a base */
    padding-top: 10px; /* Small padding at the top, body handles header offset */
}

.page-game-strategy-guides__hero-image {
    width: 100%;
    height: auto;
    max-height: 600px; /* Example max height for hero image */
    object-fit: cover;
    display: block;
}

.page-game-strategy-guides__hero-content {
    max-width: 900px;
    padding: 40px 20px;
    margin-top: -80px; /* Overlap slightly on desktop for visual effect, but not text on image */
    position: relative;
    z-index: 1;
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
}

.page-game-strategy-guides__main-title {
    color: #F2C14E; /* Gold */
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-game-strategy-guides__description {
    font-size: 1.15rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

/* General Section Styles */
.page-game-strategy-guides__section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
}

.page-game-strategy-guides__section:nth-of-type(even) {
    background-color: #11271B; /* Card BG for alternating sections */
}

.page-game-strategy-guides__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-game-strategy-guides__section-title {
    color: #F2C14E; /* Gold */
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-game-strategy-guides__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2AD16F, #13994A); /* Button gradient */
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-game-strategy-guides__text-block {
    font-size: 1.05rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    text-align: justify;
}

.page-game-strategy-guides__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-game-strategy-guides__list-item {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #F2FFF6; /* Text Main */
}

.page-game-strategy-guides__list-item::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: #2AD16F; /* Bright green */
}

/* Strategy Cards */
.page-game-strategy-guides__strategy-card {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-game-strategy-guides__strategy-card:hover {
    transform: translateY(-5px);
}

.page-game-strategy-guides__card-title {
    color: #F2C14E; /* Gold */
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: center;
}

.page-game-strategy-guides__card-text {
    color: #A7D9B8; /* Text Secondary */
    font-size: 1rem;
    margin-bottom: 15px;
    text-align: justify;
}

.page-game-strategy-guides__card-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure it behaves like a block element */
}

.page-game-strategy-guides__content-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px auto;
    display: block;
    max-width: 1000px; /* Example max width */
}

/* Game Strategy Cards */
.page-game-strategy-guides__game-strategy-card {
    background-color: #0A4B2C; /* Deep Green */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-game-strategy-guides__cta-link {
    display: inline-block;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #F2FFF6;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: opacity 0.3s ease;
}

.page-game-strategy-guides__cta-link:hover {
    opacity: 0.9;
}

/* CTA Buttons */
.page-game-strategy-guides__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #F2FFF6;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-game-strategy-guides__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-game-strategy-guides__cta-button--primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Primary button gradient */
}

.page-game-strategy-guides__cta-button--secondary {
    background: transparent;
    border: 2px solid #2AD16F;
    color: #2AD16F;
    margin-left: 20px;
}

.page-game-strategy-guides__cta-button--secondary:hover {
    background-color: rgba(42, 209, 111, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-game-strategy-guides__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}


/* FAQ Section */
.page-game-strategy-guides__faq-section {
    background-color: #11271B; /* Card BG */
    padding: 60px 0;
}

.page-game-strategy-guides__faq-item {
    background-color: #0A4B2C; /* Deep Green */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #F2FFF6; /* Text Main */
}

.page-game-strategy-guides__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    color: #F2C14E; /* Gold */
    list-style: none; /* Remove default marker for details summary */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

.page-game-strategy-guides__faq-question::-webkit-details-marker {
    display: none;
}

.page-game-strategy-guides__faq-question:hover {
    background-color: rgba(46, 122, 78, 0.2); /* Slightly lighter border color for hover */
}

.page-game-strategy-guides__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: #2AD16F; /* Bright green */
    transition: transform 0.3s ease;
}

.page-game-strategy-guides__faq-item[open] .page-game-strategy-guides__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to form an X */
}

.page-game-strategy-guides__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-game-strategy-guides__hero-content {
        margin-top: -60px;
        padding: 30px 15px;
    }
    .page-game-strategy-guides__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-game-strategy-guides__description {
        font-size: 1rem;
    }
    .page-game-strategy-guides__section-title {
        font-size: clamp(1.6rem, 4vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .page-game-strategy-guides {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-game-strategy-guides__hero-section {
        padding-top: 10px !important;
    }
    .page-game-strategy-guides__hero-content {
        margin-top: -40px;
        padding: 25px 15px;
        max-width: 100%;
        margin-left: 15px;
        margin-right: 15px;
    }
    .page-game-strategy-guides__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-game-strategy-guides__description {
        font-size: 0.95rem;
    }
    .page-game-strategy-guides__section,
    .page-game-strategy-guides__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-game-strategy-guides__section-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
        margin-bottom: 30px;
    }
    .page-game-strategy-guides__text-block,
    .page-game-strategy-guides__card-text,
    .page-game-strategy-guides__list-item {
        font-size: 0.95rem;
    }

    /* Images responsiveness */
    .page-game-strategy-guides img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-game-strategy-guides__hero-image,
    .page-game-strategy-guides__card-image,
    .page-game-strategy-guides__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover; /* Ensure images cover their area */
    }

    /* Containers for images/videos/buttons */
    .page-game-strategy-guides__section,
    .page-game-strategy-guides__card,
    .page-game-strategy-guides__container,
    .page-game-strategy-guides__strategy-card,
    .page-game-strategy-guides__game-strategy-card,
    .page-game-strategy-guides__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Buttons responsiveness */
    .page-game-strategy-guides__cta-button,
    .page-game-strategy-guides__cta-button--primary,
    .page-game-strategy-guides__cta-button--secondary,
    .page-game-strategy-guides a[class*="button"],
    .page-game-strategy-guides 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: 12px 15px;
        font-size: 1rem;
        margin-left: 0 !important; /* Remove margin between buttons */
        margin-bottom: 15px; /* Add vertical spacing */
    }
    .page-game-strategy-guides__cta-group {
        flex-direction: column; /* Stack buttons vertically */
        gap: 0; /* Remove gap if column */
        align-items: center;
    }
    .page-game-strategy-guides__cta-group .page-game-strategy-guides__cta-button:last-child {
        margin-bottom: 0;
    }
}