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

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

.page-game-strategy-guides {
    background-color: var(--page-game-strategy-guides-background);
    color: var(--page-game-strategy-guides-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-game-strategy-guides__dark-bg {
    background-color: var(--page-game-strategy-guides-background);
    color: var(--page-game-strategy-guides-text-main);
}

.page-game-strategy-guides__light-bg {
    background-color: #f8f9fa; /* Slightly off-white for contrast */
    color: #333333; /* Dark text for light background */
}

.page-game-strategy-guides__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-game-strategy-guides__content-area--centered {
    text-align: center;
}

.page-game-strategy-guides__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0;
    overflow: hidden;
}

.page-game-strategy-guides__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-game-strategy-guides__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability */
}

.page-game-strategy-guides__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 20px;
    box-sizing: border-box;
}

.page-game-strategy-guides__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--page-game-strategy-guides-text-main);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-game-strategy-guides__hero-description {
    font-size: 1.2rem;
    color: var(--page-game-strategy-guides-text-secondary);
    margin-bottom: 30px;
}

.page-game-strategy-guides__section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--page-game-strategy-guides-gold);
    font-weight: bold;
}

.page-game-strategy-guides__section-description {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--page-game-strategy-guides-text-secondary);
}

.page-game-strategy-guides__subsection-title {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 25px;
    color: var(--page-game-strategy-guides-primary-color);
    font-weight: bold;
}

.page-game-strategy-guides__text-block {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.page-game-strategy-guides__text-block--centered {
    text-align: center;
}

.page-game-strategy-guides__btn-primary,
.page-game-strategy-guides__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-game-strategy-guides__btn-primary {
    background: var(--page-game-strategy-guides-button-gradient);
    color: var(--page-game-strategy-guides-text-main);
    border: 2px solid transparent;
    margin-right: 15px;
}

.page-game-strategy-guides__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-game-strategy-guides__btn-secondary {
    background: transparent;
    color: var(--page-game-strategy-guides-primary-color);
    border: 2px solid var(--page-game-strategy-guides-primary-color);
}

.page-game-strategy-guides__btn-secondary:hover {
    background: var(--page-game-strategy-guides-primary-color);
    color: var(--page-game-strategy-guides-text-main);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-game-strategy-guides__button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.page-game-strategy-guides__strategy-grid,
.page-game-strategy-guides__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-game-strategy-guides__card {
    background-color: var(--page-game-strategy-guides-card-bg);
    border: 1px solid var(--page-game-strategy-guides-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-game-strategy-guides-text-main);
}

.page-game-strategy-guides__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-game-strategy-guides__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-game-strategy-guides__card-title {
    font-size: 1.5rem;
    color: var(--page-game-strategy-guides-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-game-strategy-guides__card-text {
    font-size: 1rem;
    color: var(--page-game-strategy-guides-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-game-strategy-guides__btn-text {
    color: var(--page-game-strategy-guides-primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-game-strategy-guides__btn-text:hover {
    color: var(--page-game-strategy-guides-gold);
}

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

.page-game-strategy-guides__list-item {
    background-color: var(--page-game-strategy-guides-card-bg);
    border-left: 5px solid var(--page-game-strategy-guides-primary-color);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    color: var(--page-game-strategy-guides-text-main);
    font-size: 1.05rem;
}

.page-game-strategy-guides__list-item strong {
    color: var(--page-game-strategy-guides-gold);
}

.page-game-strategy-guides__faq-list {
    margin-top: 30px;
}

.page-game-strategy-guides__faq-item {
    background-color: var(--page-game-strategy-guides-card-bg);
    border: 1px solid var(--page-game-strategy-guides-border);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-game-strategy-guides-text-main);
}

.page-game-strategy-guides__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--page-game-strategy-guides-gold);
}

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

.page-game-strategy-guides__faq-qtext {
    flex-grow: 1;
}

.page-game-strategy-guides__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    width: 30px;
    text-align: center;
    color: var(--page-game-strategy-guides-primary-color);
}

.page-game-strategy-guides__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1rem;
    color: var(--page-game-strategy-guides-text-secondary);
}

.page-game-strategy-guides__faq-answer p {
    margin-top: 0;
}

.page-game-strategy-guides__cta-bottom-section {
    padding: 80px 20px;
}

/* Image responsive styles */
.page-game-strategy-guides img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .page-game-strategy-guides {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-game-strategy-guides__hero-section {
        padding: 10px 0 40px 0;
    }

    .page-game-strategy-guides__hero-title {
        font-size: 2rem;
    }

    .page-game-strategy-guides__hero-description {
        font-size: 1rem;
    }

    .page-game-strategy-guides__content-area {
        padding: 20px 15px;
    }

    .page-game-strategy-guides__section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .page-game-strategy-guides__subsection-title {
        font-size: 1.5rem;
        margin-top: 30px;
        margin-bottom: 20px;
    }

    .page-game-strategy-guides__strategy-grid,
    .page-game-strategy-guides__info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-game-strategy-guides__card {
        padding: 20px;
    }

    .page-game-strategy-guides__card-image {
        height: 200px;
    }

    .page-game-strategy-guides__card-title {
        font-size: 1.3rem;
    }

    .page-game-strategy-guides__btn-primary,
    .page-game-strategy-guides__btn-secondary {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-game-strategy-guides__button-group {
        flex-direction: column;
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Ensure all images are responsive */
    .page-game-strategy-guides img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Ensure all containers with images are responsive */
    .page-game-strategy-guides__section,
    .page-game-strategy-guides__card,
    .page-game-strategy-guides__container,
    .page-game-strategy-guides__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Specific override for hero image wrapper padding if needed */
    .page-game-strategy-guides__hero-image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .page-game-strategy-guides__hero-content {
        padding: 15px;
    }

    .page-game-strategy-guides__faq-item summary {
        font-size: 1rem;
        padding: 15px;
    }

    .page-game-strategy-guides__faq-answer {
        padding: 0 15px 15px 15px;
    }
}