.page-ban-ca {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #FFFFFF;
}

.page-ban-ca__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    box-sizing: border-box;
}

.page-ban-ca__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding as shared.css handles body padding-top */
    padding-bottom: 40px;
    background-color: #26A9E0;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.page-ban-ca__hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin-bottom: 30px;
}

.page-ban-ca__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-ban-ca__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-ban-ca__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-ban-ca__btn-primary,
.page-ban-ca__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    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;
    text-align: center;
}

.page-ban-ca__btn-primary {
    background-color: #EA7C07; /* Using 'Login' color as primary CTA */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

.page-ban-ca__btn-primary:hover {
    background-color: #d16b06;
    border-color: #d16b06;
}

.page-ban-ca__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-ban-ca__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e87b7;
    border-color: #1e87b7;
}

.page-ban-ca__hero-image {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-ban-ca__hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    width: 100%;
    /* Ensure the image doesn't overlap text */
    margin-top: 30px;
}

.page-ban-ca__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #26A9E0;
}

.page-ban-ca__section-description {
    font-size: 1.1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #555555;
}

.page-ban-ca__intro-section,
.page-ban-ca__guide-section,
.page-ban-ca__promotions-section,
.page-ban-ca__conclusion-section {
    padding: 60px 0;
    background-color: #FFFFFF;
    color: #333333;
}

.page-ban-ca__dark-bg {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-ban-ca__dark-bg .page-ban-ca__section-title {
    color: #FFFFFF;
}

.page-ban-ca__dark-bg .page-ban-ca__section-description {
    color: #f0f0f0;
}

.page-ban-ca__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.page-ban-ca__text-block {
    flex: 1;
}

.page-ban-ca__image-block {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    box-sizing: border-box;
}

.page-ban-ca__image-block img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-ban-ca__sub-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-ban-ca__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    padding-left: 0;
}

.page-ban-ca__list li {
    margin-bottom: 10px;
    color: #333333;
}

.page-ban-ca__game-grid,
.page-ban-ca__strategy-grid,
.page-ban-ca__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-ban-ca__game-card,
.page-ban-ca__strategy-card,
.page-ban-ca__promo-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #333333;
}

.page-ban-ca__game-card:hover,
.page-ban-ca__strategy-card:hover,
.page-ban-ca__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-ban-ca__game-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-ban-ca__game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-ban-ca__game-card-title,
.page-ban-ca__strategy-card-title,
.page-ban-ca__promo-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-ban-ca__game-card-description,
.page-ban-ca__strategy-card-description,
.page-ban-ca__promo-card-description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-ban-ca__game-card-btn {
    margin-top: auto;
}

.page-ban-ca__other-games-text {
    text-align: center;
    font-size: 1.1rem;
    margin-top: 20px;
    color: #f0f0f0; /* For dark background */
}

.page-ban-ca__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-ban-ca__guide-step-item {
    background-color: #F8F8F8;
    border-left: 5px solid #26A9E0;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-ban-ca__guide-step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-ban-ca__guide-step-item p {
    font-size: 1rem;
    color: #555555;
}

.page-ban-ca__guide-image {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-ban-ca__guide-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-ban-ca__strategy-image {
    text-align: center;
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-ban-ca__strategy-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-ban-ca__cta-block {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: #F0F8FF;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    color: #333333;
}

.page-ban-ca__dark-bg .page-ban-ca__cta-block {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.page-ban-ca__cta-block p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.page-ban-ca__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-ban-ca__faq-item {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    color: #333333;
}

.page-ban-ca__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    background-color: #FFFFFF;
    border-bottom: 1px solid #e0e0e0;
    user-select: none;
    color: #26A9E0;
    list-style: none; /* Remove default marker */
}

.page-ban-ca__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-question {
    border-bottom: 1px solid #26A9E0;
}

.page-ban-ca__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-ban-ca__faq-item[open] .page-ban-ca__faq-toggle {
    transform: rotate(45deg);
}

.page-ban-ca__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
    background-color: #F8F8F8;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-ban-ca__container {
        padding: 15px;
    }

    .page-ban-ca__hero-section {
        padding-top: 10px; /* Keep small top padding */
        padding-bottom: 30px;
    }

    .page-ban-ca__main-title {
        font-size: 2rem;
    }

    .page-ban-ca__hero-description {
        font-size: 1rem;
    }

    .page-ban-ca__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }

    .page-ban-ca__btn-primary,
    .page-ban-ca__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 10px 15px !important;
        font-size: 0.95rem !important;
    }

    .page-ban-ca__hero-image img,
    .page-ban-ca__image-block img,
    .page-ban-ca__guide-image img,
    .page-ban-ca__strategy-image img,
    .page-ban-ca__game-card-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-ban-ca__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .page-ban-ca__image-block {
        max-width: 100%;
    }

    .page-ban-ca__section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .page-ban-ca__section-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .page-ban-ca__game-grid,
    .page-ban-ca__strategy-grid,
    .page-ban-ca__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-ban-ca__game-card,
    .page-ban-ca__strategy-card,
    .page-ban-ca__promo-card {
        padding: 20px;
    }

    .page-ban-ca__game-card-image {
        height: 180px;
    }

    .page-ban-ca__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-ban-ca__cta-block {
        padding: 25px;
    }

    .page-ban-ca__cta-block p {
        font-size: 1rem;
    }

    .page-ban-ca__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-ban-ca__faq-answer {
        padding: 15px 20px;
        font-size: 0.95rem;
    }

    .page-ban-ca__section,
    .page-ban-ca__card,
    .page-ban-ca__container,
    .page-ban-ca__hero-section,
    .page-ban-ca__intro-section,
    .page-ban-ca__game-types-section,
    .page-ban-ca__guide-section,
    .page-ban-ca__strategy-section,
    .page-ban-ca__promotions-section,
    .page-ban-ca__faq-section,
    .page-ban-ca__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}