/* style/ban-ca.css */
.page-ban-ca {
    font-family: 'Arial', sans-serif;
    background-color: #0A0A0A;
    color: #FFF6D6; /* Text Main */
    line-height: 1.6;
}

.page-ban-ca__article-wrap {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-ban-ca__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding as body handles header offset */
    padding-bottom: 40px;
    overflow: hidden;
}

.page-ban-ca__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Adjust as needed */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-ban-ca__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-ban-ca__hero-content {
    padding: 20px;
    max-width: 900px;
    margin-top: 20px;
}

.page-ban-ca__main-title {
    font-size: 3.2em;
    font-weight: 700;
    color: #FFD36B; /* Glow */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
}

.page-ban-ca__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #FFF6D6;
}

.page-ban-ca__hero-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-ban-ca__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-ban-ca__btn--primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #111111; /* Dark text for bright button */
    border: none;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-ban-ca__btn--primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-ban-ca__btn--secondary {
    background: #111111; /* Card BG */
    color: #FFD36B; /* Glow */
    border: 2px solid #FFD36B;
    box-shadow: 0 2px 10px rgba(255, 211, 107, 0.3);
}

.page-ban-ca__btn--secondary:hover {
    background: #222222;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.5);
}

.page-ban-ca__section {
    padding: 60px 0;
    border-top: 1px solid #3A2A12; /* Border */
}

.page-ban-ca__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #F2C14E; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-ban-ca__subsection-title {
    font-size: 1.8em;
    font-weight: 600;
    color: #FFD36B; /* Glow */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-ban-ca p {
    font-size: 1.1em;
    margin-bottom: 1em;
    color: #FFF6D6;
}

.page-ban-ca a {
    color: #FFD36B;
    text-decoration: none;
}

.page-ban-ca a:hover {
    text-decoration: underline;
}

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

.page-ban-ca__list-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #FFF6D6;
    font-size: 1.05em;
}

.page-ban-ca__list-item::before {
    content: '★';
    color: #FFD36B;
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2em;
}

.page-ban-ca__list-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #F2C14E;
    margin-bottom: 5px;
}

.page-ban-ca__list-item p {
    margin-top: 5px;
    margin-bottom: 0;
    color: #FFF6D6;
}

.page-ban-ca__ordered-list {
    list-style: none;
    counter-reset: my-counter;
    padding: 0;
    margin-bottom: 20px;
}

.page-ban-ca__ordered-list .page-ban-ca__list-item {
    display: block;
    padding-left: 50px;
    position: relative;
}

.page-ban-ca__ordered-list .page-ban-ca__list-item::before {
    content: counter(my-counter);
    counter-increment: my-counter;
    position: absolute;
    left: 15px;
    top: 15px;
    background-color: #F2C14E;
    color: #111111;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
}

.page-ban-ca__figure {
    margin: 40px auto;
    max-width: 800px;
    text-align: center;
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12;
    border-radius: 8px;
    padding: 15px;
}

.page-ban-ca__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    margin-bottom: 10px;
}

.page-ban-ca__figcaption {
    font-size: 0.95em;
    color: #FFD36B;
    padding: 5px;
}

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

.page-ban-ca__card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: #FFF6D6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-ban-ca__card-title {
    font-size: 1.4em;
    color: #F2C14E; /* Main color */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-ban-ca__cta-box {
    text-align: center;
    padding: 40px;
    margin-top: 50px;
    background-color: #111111;
    border: 2px solid #F2C14E;
    border-radius: 12px;
}

.page-ban-ca__cta-title {
    font-size: 2em;
    color: #FFD36B;
    margin-bottom: 15px;
}

.page-ban-ca__promo-link {
    display: inline-block;
    margin-top: 15px;
    color: #FFD36B;
    text-decoration: none;
    font-weight: 600;
}

.page-ban-ca__promo-link:hover {
    text-decoration: underline;
}

.page-ban-ca__faq-section .page-ban-ca__card {
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-ban-ca__faq-section .page-ban-ca__card:hover {
    background-color: #1a1a1a;
}

.page-ban-ca__faq-question {
    font-size: 1.25em;
    color: #F2C14E;
    margin-bottom: 0;
    padding-right: 30px;
    position: relative;
}

.page-ban-ca__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #FFD36B;
    font-size: 1.5em;
    font-weight: bold;
}

.page-ban-ca__faq-item.active .page-ban-ca__faq-question::after {
    content: '-';
}

.page-ban-ca__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding-top: 0;
    padding-bottom: 0;
}

.page-ban-ca__faq-item.active .page-ban-ca__faq-answer {
    max-height: 500px; /* Arbitrary large value for expansion */
    padding-top: 15px;
    padding-bottom: 10px;
}

.page-ban-ca__faq-answer p {
    margin-bottom: 0;
    color: #FFF6D6;
}

.page-ban-ca__final-cta {
    text-align: center;
    margin-top: 40px;
}

/* --- Responsive Styles --- */

/* @media (max-width: 1024px) */
@media (max-width: 1024px) {
    .page-ban-ca__main-title {
        font-size: 2.8em;
    }

    .page-ban-ca__section-title {
        font-size: 2em;
    }

    .page-ban-ca__hero-description,
    .page-ban-ca p {
        font-size: 1em;
    }

    .page-ban-ca__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
}

/* @media (max-width: 768px) */
@media (max-width: 768px) {
    /* 1. Top section title + CTA */
    .page-ban-ca__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 30px;
    }
    .page-ban-ca__main-title {
        font-size: 2.2em;
        margin-bottom: 10px;
    }
    .page-ban-ca__hero-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    .page-ban-ca__hero-cta-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 300px; /* Constrain button group width */
        margin: 0 auto;
    }
    .page-ban-ca__btn {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* 2. Single column long text container */
    .page-ban-ca__article-wrap {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-ban-ca__section {
        padding: 40px 0;
    }
    .page-ban-ca__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-ban-ca__subsection-title {
        font-size: 1.5em;
        margin-top: 25px;
    }
    .page-ban-ca p,
    .page-ban-ca__list-item,
    .page-ban-ca__faq-answer p {
        font-size: 0.95em;
    }

    /* 3. General images and figure */
    .page-ban-ca img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-ban-ca__figure {
        margin: 30px auto;
        padding: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-ban-ca__figcaption {
        font-size: 0.85em;
    }

    /* 4. Buttons and button containers */
    .page-ban-ca__hero-cta-buttons,
    .page-ban-ca__cta-box .page-ban-ca__btn,
    .page-ban-ca__final-cta .page-ban-ca__btn {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-ban-ca__feature-grid, .page-ban-ca__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-ban-ca__card {
        padding: 20px;
    }
    .page-ban-ca__card-title {
        font-size: 1.2em;
    }
    .page-ban-ca__cta-box {
        padding: 30px 20px;
        margin-top: 40px;
    }
    .page-ban-ca__cta-title {
        font-size: 1.5em;
    }

    /* 5. FAQ blocks */
    .page-ban-ca__faq-question {
        font-size: 1.1em;
    }
    .page-ban-ca__faq-item.active .page-ban-ca__faq-answer {
        padding-top: 10px;
        padding-bottom: 5px;
    }

    /* General mobile adjustments */
    .page-ban-ca {
        font-size: 15px;
    }
}