/* style/resources-b52-game-strategy.css */

.page-resources-b52-game-strategy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #FFFFFF;
}

/* Hero Section */
.page-resources-b52-game-strategy__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
    color: #ffffff;
}

.page-resources-b52-game-strategy__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-b52-game-strategy__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-resources-b52-game-strategy__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-resources-b52-game-strategy__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-b52-game-strategy__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #FFFFFF;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-resources-b52-game-strategy__hero-buttons,
.page-resources-b52-game-strategy__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-resources-b52-game-strategy__btn-primary,
.page-resources-b52-game-strategy__btn-secondary,
.page-resources-b52-game-strategy a[class*="button"],
.page-resources-b52-game-strategy a[class*="btn"] {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-b52-game-strategy__btn-primary {
    background-color: #017439;
    color: #FFFFFF;
    border: 2px solid #017439;
}

.page-resources-b52-game-strategy__btn-primary:hover {
    background-color: #005f2e;
    border-color: #005f2e;
}

.page-resources-b52-game-strategy__btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-resources-b52-game-strategy__btn-secondary:hover {
    background-color: #FFFFFF;
    color: #017439;
}

/* General Section Styling */
.page-resources-b52-game-strategy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-resources-b52-game-strategy__section-title {
    font-size: 2.5em;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-resources-b52-game-strategy__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #017439;
    margin: 10px auto 0;
}

.page-resources-b52-game-strategy__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #333333;
}

.page-resources-b52-game-strategy__highlight {
    color: #017439;
    font-weight: bold;
}

/* Background Colors */
.page-resources-b52-game-strategy__dark-bg {
    background-color: #017439;
    color: #FFFFFF;
}

.page-resources-b52-game-strategy__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-resources-b52-game-strategy__dark-bg .page-resources-b52-game-strategy__section-title,
.page-resources-b52-game-strategy__dark-bg .page-resources-b52-game-strategy__section-title::after,
.page-resources-b52-game-strategy__dark-bg .page-resources-b52-game-strategy__highlight {
    color: #FFFFFF;
    background-color: transparent;
}

.page-resources-b52-game-strategy__introduction-section,
.page-resources-b52-game-strategy__core-elements-section,
.page-resources-b52-game-strategy__tips-section,
.page-resources-b52-game-strategy__faq-section {
    padding: 80px 0;
}

.page-resources-b52-game-strategy__game-strategies-section,
.page-resources-b52-game-strategy__responsible-gaming-section,
.page-resources-b52-game-strategy__cta-section {
    padding: 80px 0;
    color: #FFFFFF;
}

/* Grid Layout */
.page-resources-b52-game-strategy__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-b52-game-strategy__card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    color: #333333;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.page-resources-b52-game-strategy__card:hover {
    transform: translateY(-10px);
}

.page-resources-b52-game-strategy__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-resources-b52-game-strategy__card-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
}

.page-resources-b52-game-strategy__card-description {
    font-size: 1em;
    color: #555555;
}

/* Accordion (FAQ & Game Strategies) */
.page-resources-b52-game-strategy__accordion {
    margin-top: 40px;
}

.page-resources-b52-game-strategy__faq-item {
    background-color: #FFFFFF;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-resources-b52-game-strategy__game-strategies-section .page-resources-b52-game-strategy__faq-item {
    background-color: #f0f0f0;
}

.page-resources-b52-game-strategy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    font-size: 1.2em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.page-resources-b52-game-strategy__faq-question:hover {
    background-color: #f5f5f5;
}

.page-resources-b52-game-strategy__game-strategies-section .page-resources-b52-game-strategy__faq-question {
    color: #017439;
}

.page-resources-b52-game-strategy__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: inherit; /* Inherit color from parent */
}

.page-resources-b52-game-strategy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #017439;
}

.page-resources-b52-game-strategy__faq-item.active .page-resources-b52-game-strategy__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-b52-game-strategy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}

.page-resources-b52-game-strategy__faq-item.active .page-resources-b52-game-strategy__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 20px 30px;
}

.page-resources-b52-game-strategy__faq-answer p,
.page-resources-b52-game-strategy__faq-answer ul {
    margin-bottom: 15px;
}

.page-resources-b52-game-strategy__faq-answer ul {
    list-style-type: disc;
    padding-left: 25px;
}

.page-resources-b52-game-strategy__faq-answer li {
    margin-bottom: 8px;
}

/* Tips Section */
.page-resources-b52-game-strategy__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-b52-game-strategy__tip-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-resources-b52-game-strategy__tip-item:hover {
    transform: translateY(-5px);
}

.page-resources-b52-game-strategy__tip-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-resources-b52-game-strategy__tip-title {
    font-size: 1.3em;
    color: #017439;
    margin-bottom: 10px;
}

.page-resources-b52-game-strategy__tip-description {
    font-size: 0.95em;
    color: #555555;
}

/* Responsible Gaming */
.page-resources-b52-game-strategy__responsible-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    color: #FFFFFF;
    font-size: 1.1em;
}

.page-resources-b52-game-strategy__responsible-list li {
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    padding: 15px 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-resources-b52-game-strategy__responsible-list li::before {
    content: '✓';
    font-weight: bold;
    color: #FFFF00; /* Custom color for checkmark */
    font-size: 1.2em;
}

/* CTA Section */
.page-resources-b52-game-strategy__cta-section {
    text-align: center;
    padding: 80px 0;
}

.page-resources-b52-game-strategy__cta-section .page-resources-b52-game-strategy__section-title {
    color: #FFFFFF;
}

.page-resources-b52-game-strategy__cta-section .page-resources-b52-game-strategy__section-title::after {
    background-color: #FFFFFF;
}

.page-resources-b52-game-strategy__cta-section .page-resources-b52-game-strategy__paragraph {
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto 40px auto;
}


/* Responsive Design */
@media (max-width: 1200px) {
    .page-resources-b52-game-strategy__hero-title {
        font-size: 3em;
    }
    .page-resources-b52-game-strategy__hero-description {
        font-size: 1.2em;
    }
}

@media (max-width: 992px) {
    .page-resources-b52-game-strategy__hero-title {
        font-size: 2.5em;
    }
    .page-resources-b52-game-strategy__hero-description {
        font-size: 1.1em;
    }
    .page-resources-b52-game-strategy__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-b52-game-strategy {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-resources-b52-game-strategy__hero-section {
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-resources-b52-game-strategy__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-resources-b52-game-strategy__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-resources-b52-game-strategy__hero-buttons,
    .page-resources-b52-game-strategy__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px; /* Constrain button group width */
        margin: 0 auto;
    }

    .page-resources-b52-game-strategy__btn-primary,
    .page-resources-b52-game-strategy__btn-secondary,
    .page-resources-b52-game-strategy a[class*="button"],
    .page-resources-b52-game-strategy a[class*="btn"] {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-b52-game-strategy__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-resources-b52-game-strategy__introduction-section,
    .page-resources-b52-game-strategy__core-elements-section,
    .page-resources-b52-game-strategy__tips-section,
    .page-resources-b52-game-strategy__faq-section,
    .page-resources-b52-game-strategy__game-strategies-section,
    .page-resources-b52-game-strategy__responsible-gaming-section,
    .page-resources-b52-game-strategy__cta-section {
        padding: 60px 0;
    }

    .page-resources-b52-game-strategy__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-b52-game-strategy__grid,
    .page-resources-b52-game-strategy__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-resources-b52-game-strategy__card,
    .page-resources-b52-game-strategy__tip-item {
        padding: 20px;
    }

    .page-resources-b52-game-strategy__card-image,
    .page-resources-b52-game-strategy__tip-image {
        height: 200px;
    }

    .page-resources-b52-game-strategy__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-resources-b52-game-strategy__faq-question h3 {
        font-size: 1.1em;
    }

    .page-resources-b52-game-strategy__faq-answer {
        padding: 0 20px;
    }

    .page-resources-b52-game-strategy__faq-item.active .page-resources-b52-game-strategy__faq-answer {
        padding: 15px 20px;
    }

    .page-resources-b52-game-strategy img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

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

    .page-resources-b52-game-strategy__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure consistent header offset */
    }
}

@media (max-width: 480px) {
    .page-resources-b52-game-strategy__hero-title {
        font-size: 1.8em;
    }
    .page-resources-b52-game-strategy__hero-description {
        font-size: 0.9em;
    }
    .page-resources-b52-game-strategy__section-title {
        font-size: 1.5em;
    }
}

/* Image color filter restriction */
.page-resources-b52-game-strategy img {
    filter: none; /* Ensure no CSS filter is applied to change image color */
}