/* style/resources-how-to-choose-b52-games.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-dark: #26A9E0;
    --btn-login: #EA7C07;
    --black: #000000;
}

.page-resources-how-to-choose-b52-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Assuming body background is light */
    background-color: var(--bg-light);
}

.page-resources-how-to-choose-b52-games__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
}

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

.page-resources-how-to-choose-b52-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.page-resources-how-to-choose-b52-games__hero-content {
    position: relative;
    z-index: 1;
    color: var(--text-light);
    max-width: 900px;
    padding: 20px;
}

.page-resources-how-to-choose-b52-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-resources-how-to-choose-b52-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-resources-how-to-choose-b52-games__section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-resources-how-to-choose-b52-games__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.page-resources-how-to-choose-b52-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-resources-how-to-choose-b52-games__btn-primary,
.page-resources-how-to-choose-b52-games__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;
    margin: 10px;
    box-sizing: border-box;
}

.page-resources-how-to-choose-b52-games__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.page-resources-how-to-choose-b52-games__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

.page-resources-how-to-choose-b52-games__btn-secondary {
    background-color: var(--bg-light);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-how-to-choose-b52-games__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Features Section */
.page-resources-how-to-choose-b52-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-how-to-choose-b52-games__feature-card {
    background-color: var(--bg-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

.page-resources-how-to-choose-b52-games__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-how-to-choose-b52-games__feature-icon {
    width: 100%;
    height: auto;
    max-width: 250px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-resources-how-to-choose-b52-games__feature-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-resources-how-to-choose-b52-games__feature-description {
    font-size: 1em;
    color: var(--text-dark);
}

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

.page-resources-how-to-choose-b52-games__step-card {
    background-color: var(--bg-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    color: var(--text-dark);
}

.page-resources-how-to-choose-b52-games__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-resources-how-to-choose-b52-games__step-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-resources-how-to-choose-b52-games__step-description {
    font-size: 1em;
    color: var(--text-dark);
}

.page-resources-how-to-choose-b52-games__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 50px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

/* Mistakes Section */
.page-resources-how-to-choose-b52-games__dark-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-resources-how-to-choose-b52-games__dark-section .page-resources-how-to-choose-b52-games__section-title {
    color: var(--text-light);
}

.page-resources-how-to-choose-b52-games__dark-section .page-resources-how-to-choose-b52-games__text-block,
.page-resources-how-to-choose-b52-games__dark-section .page-resources-how-to-choose-b52-games__list-description {
    color: var(--text-light);
}

.page-resources-how-to-choose-b52-games__list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-resources-how-to-choose-b52-games__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-how-to-choose-b52-games__list-title {
    font-size: 1.3em;
    color: var(--text-light);
    margin-bottom: 10px;
}

/* Platform Advantages Section */
.page-resources-how-to-choose-b52-games__advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-how-to-choose-b52-games__advantage-card {
    background-color: var(--bg-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    color: var(--text-dark);
}

.page-resources-how-to-choose-b52-games__advantage-image {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
}

.page-resources-how-to-choose-b52-games__advantage-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-resources-how-to-choose-b52-games__advantage-description {
    font-size: 1em;
    color: var(--text-dark);
}

.page-resources-how-to-choose-b52-games__cta-buttons {
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* FAQ Section */
.page-resources-how-to-choose-b52-games__faq-list {
    margin-top: 40px;
}

.page-resources-how-to-choose-b52-games__faq-item {
    background-color: var(--bg-light);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-dark);
}

.page-resources-how-to-choose-b52-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #f9f9f9;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--primary-color);
}

.page-resources-how-to-choose-b52-games__faq-question:hover {
    background-color: #f0f0f0;
}

.page-resources-how-to-choose-b52-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-resources-how-to-choose-b52-games__faq-item.active .page-resources-how-to-choose-b52-games__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-how-to-choose-b52-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources-how-to-choose-b52-games__faq-item.active .page-resources-how-to-choose-b52-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 15px 20px 20px 20px;
}

.page-resources-how-to-choose-b52-games__faq-answer p {
    margin-bottom: 0;
    color: var(--text-dark);
}

/* Conclusion Section */
.page-resources-how-to-choose-b52-games__conclusion-section {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-how-to-choose-b52-games__hero-title {
        font-size: 2.8em;
    }
    .page-resources-how-to-choose-b52-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-how-to-choose-b52-games__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-resources-how-to-choose-b52-games__hero-title {
        font-size: 2.2em;
    }
    .page-resources-how-to-choose-b52-games__hero-description {
        font-size: 1em;
    }
    .page-resources-how-to-choose-b52-games__section {
        padding: 40px 15px;
    }
    .page-resources-how-to-choose-b52-games__section-title {
        font-size: 1.8em;
    }
    .page-resources-how-to-choose-b52-games__text-block {
        font-size: 0.95em;
    }
    .page-resources-how-to-choose-b52-games__features-grid,
    .page-resources-how-to-choose-b52-games__steps-grid,
    .page-resources-how-to-choose-b52-games__advantages-grid {
        grid-template-columns: 1fr;
    }

    /* Images responsive */
    .page-resources-how-to-choose-b52-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-how-to-choose-b52-games__hero-image {
        min-width: unset;
        min-height: unset;
    }
    .page-resources-how-to-choose-b52-games__feature-icon,
    .page-resources-how-to-choose-b52-games__image-full-width,
    .page-resources-how-to-choose-b52-games__advantage-image {
        min-width: 200px !important;
        min-height: 200px !important;
        width: 100% !important; /* Ensure they scale down but don't go below 200px if possible by content */
        max-width: 100% !important;
        height: auto !important;
    }

    /* Buttons responsive */
    .page-resources-how-to-choose-b52-games__btn-primary,
    .page-resources-how-to-choose-b52-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
    }
    .page-resources-how-to-choose-b52-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* General content containers for mobile overflow */
    .page-resources-how-to-choose-b52-games__section,
    .page-resources-how-to-choose-b52-games__card,
    .page-resources-how-to-choose-b52-games__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-resources-how-to-choose-b52-games__hero-title {
        font-size: 1.8em;
    }
    .page-resources-how-to-choose-b52-games__hero-description {
        font-size: 0.9em;
    }
    .page-resources-how-to-choose-b52-games__section-title {
        font-size: 1.5em;
    }
}