.page-resources-game-strategies {
    color: #f0f0f0; /* Light text for readability on dark body background #121212 */
    background-color: transparent; /* Inherit from body or set a default if body background is not global */
    padding-top: var(--header-offset, 120px); /* Apply header offset to main content */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-resources-game-strategies__hero-section {
    position: relative;
    padding: 80px 0;
    background-color: #017439; /* Brand color as background */
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

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

.page-resources-game-strategies__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
}

.page-resources-game-strategies__hero-section .page-resources-game-strategies__container {
    position: relative;
    z-index: 1;
}

.page-resources-game-strategies__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-resources-game-strategies__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-game-strategies__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-resources-game-strategies__btn-primary,
.page-resources-game-strategies__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-game-strategies__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-resources-game-strategies__btn-primary:hover {
    background-color: #E01010;
    border-color: #E01010;
}

.page-resources-game-strategies__btn-secondary {
    background-color: #017439; /* Main brand color */
    color: #ffffff;
    border: 2px solid #017439;
}

.page-resources-game-strategies__btn-secondary:hover {
    background-color: #005f2e;
    border-color: #005f2e;
}

/* Content Area */
.page-resources-game-strategies__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #1a1a1a; /* Dark background for content, contrasting with body but still dark */
    color: #f0f0f0; /* Light text for readability */
}

.page-resources-game-strategies__section-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-resources-game-strategies__section-title {
    font-size: 2.5em;
    color: #ffffff;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.page-resources-game-strategies__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #017439;
    border-radius: 2px;
}

.page-resources-game-strategies__text-block {
    background-color: #2a2a2a; /* Slightly lighter dark background for text blocks */
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.page-resources-game-strategies__text-block p {
    margin-bottom: 1em;
    color: #f0f0f0; /* Light text for readability on dark background */
}

.page-resources-game-strategies__text-block h3 {
    color: #017439;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.page-resources-game-strategies__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Game Strategy Grid */
.page-resources-game-strategies__game-strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.page-resources-game-strategies__card {
    background-color: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #f0f0f0;
}

.page-resources-game-strategies__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.page-resources-game-strategies__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
}

.page-resources-game-strategies__card-title {
    font-size: 1.5em;
    margin: 20px 20px 10px 20px;
    color: #017439; /* Brand color for card titles */
}

.page-resources-game-strategies__card-title a {
    color: #017439;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-game-strategies__card-title a:hover {
    color: #58d68d; /* Lighter green on hover */
}

.page-resources-game-strategies__card p {
    padding: 0 20px 20px 20px;
    flex-grow: 1; /* Make paragraphs take up available space */
}

/* List styles */
.page-resources-game-strategies__list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-resources-game-strategies__list li {
    background-color: #3a3a3a;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    color: #f0f0f0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.page-resources-game-strategies__list li::before {
    content: '✅'; /* Checkmark icon */
    margin-right: 15px;
    font-size: 1.2em;
}

/* FAQ Section */
.page-resources-game-strategies__faq-section {
    background-color: #2a2a2a;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.page-resources-game-strategies__faq-item {
    border-bottom: 1px solid #444444;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.page-resources-game-strategies__faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-resources-game-strategies__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
}

.page-resources-game-strategies__faq-question h3 {
    margin: 0;
    font-size: 1.3em;
    color: #017439; /* Brand color for FAQ questions */
}

.page-resources-game-strategies__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.page-resources-game-strategies__faq-item.active .page-resources-game-strategies__faq-toggle {
    transform: rotate(45deg); /* Rotate for minus sign effect */
}

.page-resources-game-strategies__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px; /* Initial padding 0 */
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-resources-game-strategies__faq-item.active .page-resources-game-strategies__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to reveal content */
    padding: 15px !important; /* Expanded padding */
}

.page-resources-game-strategies__faq-answer p {
    margin: 0;
}

/* Call to Action at bottom */
.page-resources-game-strategies__cta-buttons--bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #444444;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-resources-game-strategies__hero-title {
        font-size: 2.8em;
    }
    .page-resources-game-strategies__section-title {
        font-size: 2em;
    }
    .page-resources-game-strategies__card-title {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-resources-game-strategies {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset is applied on mobile */
    }

    .page-resources-game-strategies__hero-section {
        padding: 60px 0;
        min-height: 400px;
    }

    .page-resources-game-strategies__hero-title {
        font-size: 2.2em;
    }

    .page-resources-game-strategies__hero-description {
        font-size: 1em;
    }

    .page-resources-game-strategies__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-game-strategies__btn-primary,
    .page-resources-game-strategies__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-resources-game-strategies__content-area {
        padding: 40px 15px;
    }

    .page-resources-game-strategies__section-title {
        font-size: 1.8em;
    }

    .page-resources-game-strategies__game-strategy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-resources-game-strategies__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-resources-game-strategies__card-image {
        height: 180px;
    }

    .page-resources-game-strategies__text-block,
    .page-resources-game-strategies__faq-section {
        padding: 20px;
    }

    .page-resources-game-strategies__list li {
        padding: 10px 15px;
    }

    .page-resources-game-strategies__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    /* Ensure all images and their containers are responsive on mobile */
    .page-resources-game-strategies img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    
    .page-resources-game-strategies__section,
    .page-resources-game-strategies__card,
    .page-resources-game-strategies__container,
    .page-resources-game-strategies__text-block,
    .page-resources-game-strategies__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll for containers */
    }

    /* Override specific padding for elements where it's needed */
    .page-resources-game-strategies__hero-section .page-resources-game-strategies__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-game-strategies__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        flex-wrap: wrap !important;
        gap: 10px;
    }
}