/* =========================================================
   TBS AI Video Production Page — FAQ Section Styles (Redesigned)
   Prefix: tbs_avp_
   ========================================================= */

.tbs_avp_wrap.tbs_avp_wrap .tbs_avp_faq_section {
    padding: 110px 0;
    background-color: var(--tbs_avp_bg_light);
    border-top: 1px solid rgba(23, 176, 181, 0.12);
    border-bottom: 1px solid rgba(23, 176, 181, 0.12);
    position: relative;
}

.tbs_avp_wrap.tbs_avp_wrap .tbs_avp_faq_grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: start;
}

.tbs_avp_wrap.tbs_avp_wrap .tbs_avp_faq_sidebar {
    position: sticky;
    top: 40px;
}

.tbs_avp_wrap.tbs_avp_wrap .tbs_avp_faq_title {
    font-size: clamp(30px, 3.8vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--tbs_avp_ink);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.tbs_avp_wrap.tbs_avp_wrap .tbs_avp_faq_subtitle {
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--tbs_avp_muted);
    margin-bottom: 32px;
}

.tbs_avp_wrap.tbs_avp_wrap .tbs_avp_faq_help_box {
    background: #ffffff;
    border: 1px solid rgba(23, 176, 181, 0.25);
    border-radius: var(--tbs_avp_radius_lg);
    padding: 28px;
    box-shadow: 0 10px 30px rgba(10, 28, 34, 0.05);
}

.tbs_avp_wrap.tbs_avp_wrap .tbs_avp_faq_help_title {
    font-size: 17px;
    font-weight: 800;
    color: var(--tbs_avp_ink);
    margin-bottom: 8px;
}

.tbs_avp_wrap.tbs_avp_wrap .tbs_avp_faq_help_text {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--tbs_avp_text_body);
    margin-bottom: 20px;
}

/* ── ACCORDION ITEMS ────────────────────────────────────── */
.tbs_avp_wrap.tbs_avp_wrap .tbs_avp_faq_list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tbs_avp_wrap.tbs_avp_wrap .tbs_avp_faq_item {
    background: #ffffff;
    border: 1px solid rgba(23, 176, 181, 0.2);
    border-radius: var(--tbs_avp_radius_md);
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(10, 28, 34, 0.03);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.tbs_avp_wrap.tbs_avp_wrap .tbs_avp_faq_item[open] {
    border-color: rgba(23, 176, 181, 0.55);
    box-shadow: 0 12px 32px rgba(23, 112, 149, 0.10);
}

.tbs_avp_wrap.tbs_avp_wrap .tbs_avp_faq_toggle {
    padding: 24px 26px;
    font-size: 17.5px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--tbs_avp_ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    cursor: pointer;
    user-select: none;
    list-style: none;
}

.tbs_avp_wrap.tbs_avp_wrap .tbs_avp_faq_toggle::-webkit-details-marker {
    display: none;
}

.tbs_avp_wrap.tbs_avp_wrap .tbs_avp_faq_icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(23, 176, 181, 0.12);
    color: var(--tbs_avp_c2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.tbs_avp_wrap.tbs_avp_wrap .tbs_avp_faq_icon svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transition: transform 0.3s ease;
}

.tbs_avp_wrap.tbs_avp_wrap .tbs_avp_faq_item[open] .tbs_avp_faq_icon {
    background: linear-gradient(135deg, #17B0B5 0%, #197095 100%);
    color: #ffffff;
    transform: rotate(45deg);
}

.tbs_avp_wrap.tbs_avp_wrap .tbs_avp_faq_body {
    padding: 0 26px 26px;
    font-size: 15.5px;
    line-height: 1.8;
    color: var(--tbs_avp_text_body);
}

.tbs_avp_wrap.tbs_avp_wrap .tbs_avp_faq_body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .tbs_avp_wrap.tbs_avp_wrap .tbs_avp_faq_grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .tbs_avp_wrap.tbs_avp_wrap .tbs_avp_faq_sidebar {
        position: static;
    }
}

@media (max-width: 767px) {
    .tbs_avp_wrap.tbs_avp_wrap .tbs_avp_faq_section {
        padding: 65px 0;
    }

    .tbs_avp_wrap.tbs_avp_wrap .tbs_avp_faq_toggle {
        padding: 20px;
        font-size: 16px;
    }

    .tbs_avp_wrap.tbs_avp_wrap .tbs_avp_faq_body {
        padding: 0 20px 20px;
    }
}
