/* =========================
   FAQs Widget - Desktop
========================= */

.fq > .container {
    position:relative;
    z-index:1;
}

.fq-head {
    max-width:920px;
    margin-bottom:66px;
}

.fq .betit-w {
    color: var(--uicolor);
    font-size: 30px;
    font-weight: 700;
}

.fq-l {
    display:flex;
    align-items:flex-start;
    flex-wrap:wrap;
    gap:22px;
}

.fq-l:empty {
    display:none;
}

.fq-col {
    flex:1;
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:22px;
}

.fq-col .fq-it {
    width:100%;
    flex:none;
    min-width:0;
}

.fq-it {
    flex:1;
    min-width:calc(50% - 12px);
    overflow:hidden;
    border-radius:var(--largeradius);
    background: var(--diver2);
    background: #fff;
    transition:var(--transition);
}

.fq-q {
    width:100%;
    min-height:76px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:20px 22px;
    color:var(--primary-text);
    font-size:22px;
    font-weight: 700;
    line-height:1.45;
    text-align:start;
}

.fq-q > span {
    flex:1;
    min-width:0;
}

.fq-q i {
    flex:0 0 auto;
    color:var(--uicolor);
    font-size:21px;
    font-weight:700;
    transition:var(--transition);
}

.fq-it.active .fq-q i {
    transform:rotate(45deg);
}

.fq-q:focus-visible {
    outline:3px solid color-mix(in srgb,var(--uicolor) 30%,transparent);
    outline-offset:-3px;
}

.fq-a {
    height:0;
    overflow:hidden;
    transition:height var(--transition);
}

.fq-it.active .fq-a {
    height:var(--pin-height,auto);
}

.fq-v {
    padding:0 25px 24px;
    color:var(--secondarytext);
    font-size:17px;
    line-height:1.75;
    text-align:start;
}

.fq-v p {
    margin:0;
}

.fq-v > * + * {
    margin-top:12px;
}

.fq-v ul,
.fq-v ol {
    padding-inline-start:22px;
}

.fq-v ul {
    list-style:disc;
}

.fq-v ol {
    list-style:decimal;
}

.fq-v a {
    color:var(--uicolor);
    text-decoration:underline;
    text-underline-offset:3px;
    overflow-wrap:anywhere;
}

.bg-shape-faq {
    position:absolute;
    z-index:0;
    top:0;
    width:100%;
    height:100%;
    background-image:var(--tree);
    background-position:bottom center;
    background-repeat:no-repeat;
    background-size:cover;
    pointer-events:none;
}

.bg-shape-faq::after {
    content:"";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    background: linear-gradient(180deg, var(--diver2), transparent);
}

.-ycw-section.-ycwt-faqs {
    position:relative;
    padding-bottom: 120px;
}

/* =========================
   English / LTR Support
========================= */

html[dir="ltr"] .fq {
    direction:ltr;
    font-family:var(--f-number);
}

html[dir="ltr"] .fq-head .tit-wdt {
    line-height:1.18;
    letter-spacing:-1px;
}

html[dir="ltr"] .fq-actions,
html[dir="ltr"] .-ycwt-faqs .yc-widget-loadmore-wrap {
    justify-content:flex-start;
}

/* =========================
   Tablet Responsive
========================= */

@media only screen and (max-width:1199px) {
    .fq-head {
        margin-bottom:50px;
    }

    .fq-q {
        font-size:19px;
    }

    .fq-v {
        font-size:15.5px;
    }

    .-ycw-section.-ycwt-faqs {
        padding-bottom:220px;
    }
}

@media only screen and (max-width:980px) {
    .fq-l {
        flex-direction:column;
        gap:14px;
    }

    .fq-col {
        width:100%;
        flex:none;
        gap:14px;
    }

    .fq-it {
        min-width:100%;
        border:1px solid var(--diver);
        background:var(--background2);
        box-shadow:0 10px 26px -24px color-mix(in srgb,var(--primary-text) 32%,transparent);
    }

    .fq-a {
        height:auto;
        display:grid;
        grid-template-rows:0fr;
        transition:grid-template-rows var(--transition);
    }

    .fq-it.active .fq-a {
        height:auto;
        grid-template-rows:1fr;
    }

    .fq-v {
        min-height:0;
        padding-block:0;
        overflow:hidden;
        opacity:0;
        visibility:hidden;
        transition:padding var(--transition),opacity var(--transition),visibility var(--transition);
    }

    .fq-it.active .fq-v {
        padding-block-end:24px;
        opacity:1;
        visibility:visible;
    }

    .-ycw-section.-ycwt-faqs {
        padding-bottom:150px;
    }
}

/* =========================
   Mobile App Experience
========================= */

@media only screen and (max-width:767px) {
    .fq-head {
        margin-bottom:28px;
    }

    .fq .betit-w {
        margin-bottom:10px;
        font-size:16px;
    }

    .fq-head .tit-wdt,
    html[dir="ltr"] .fq-head .tit-wdt {
        max-width:100%;
        font-size:clamp(28px,7.4vw,33px);
        line-height:1.25;
        letter-spacing:-.35px;
    }

    .fq-head .con-wgt {
        max-width:620px;
        margin-top:12px;
        font-size:14px;
        line-height:1.7;
    }

    .fq-l,
    .fq-col {
        gap:11px;
    }

    .fq-it {
        border-color:color-mix(in srgb,var(--uicolor) 24%,var(--diver));
        border-radius:18px;
        background:color-mix(in srgb,var(--uicolor) 3%,var(--background-color));
        box-shadow:0 10px 26px -20px color-mix(in srgb,var(--primary-text) 26%,transparent);
    }

    .fq-it.active {
        border-color:color-mix(in srgb,var(--uicolor) 52%,var(--diver));
        border-inline-start-width:3px;
        background:var(--background-color);
        box-shadow:0 13px 30px -21px color-mix(in srgb,var(--uicolor) 42%,transparent);
    }

    .fq-q {
        min-height:64px;
        gap:12px;
        padding:14px 15px;
        font-size:16px;
        font-weight:700;
        line-height:1.55;
    }

    .fq-q i {
        position:relative;
        flex-basis:36px;
        width:36px;
        height:36px;
        display:flex;
        align-items:center;
        justify-content:center;
        border-radius:50%;
        background:color-mix(in srgb,var(--uicolor) 10%,transparent);
        font-size:0;
    }

    .fq-q i::before,
    .fq-q i::after {
        content:"";
        position:absolute;
        width:14px;
        height:2px;
        border-radius:999px;
        background:currentColor;
    }

    .fq-q i::after {
        transform:rotate(90deg);
    }

    .fq-it.active .fq-q i {
        background:var(--uicolor);
        color:var(--surface-color,#fff);
    }

    .fq-v {
        margin-inline:15px;
        padding:0;
        font-size:14px;
        line-height:1.75;
    }

    .fq-it.active .fq-v {
        padding:14px 0 17px;
        border-top:1px solid color-mix(in srgb,var(--uicolor) 10%,var(--diver));
    }

    .fq-actions,
    .-ycwt-faqs .yc-widget-loadmore-wrap {
        width:100%;
        align-items:stretch;
        margin-top:24px;
    }

    .fq-actions .yc-widget-btn,
    .fq-actions .yc-widget-btn > a,
    .-ycwt-faqs .yc-widget-loadmore {
        min-width:0;
        min-height:52px;
    }

    .fq-actions .yc-widget-btn {
        flex:1 1 180px;
    }

    .fq-actions .yc-widget-btn > a,
    .-ycwt-faqs .yc-widget-loadmore {
        width:100%;
    }

    .bg-shape-faq {
        background-size: 100% auto;
    }

    .-ycw-section.-ycwt-faqs {
        padding-bottom:72px;
    }
}

/* =========================
   Small Mobile Adjustments
========================= */

@media only screen and (max-width:480px) {
  

    .fq-actions .yc-widget-btn {
        flex: 1;
    }
}

@media only screen and (max-width:390px) {
    .fq-head {
        margin-bottom:24px;
    }

    .fq-it {
        border-radius:16px;
    }

    .fq-q {
        min-height:60px;
        gap:10px;
        padding:12px 13px;
        font-size:15px;
    }

    .fq-q i {
        flex-basis:34px;
        width:34px;
        height:34px;
    }

    .fq-q i::before,
    .fq-q i::after {
        width:13px;
    }

    .fq-v {
        margin-inline:13px;
        font-size:13.5px;
        line-height:1.7;
    }

    .fq-it.active .fq-v {
        padding:12px 0 15px;
    }
 
}

@media (prefers-reduced-motion:reduce) {
    .fq-it,
    .fq-q i,
    .fq-a,
    .fq-v {
        transition:none;
    }
}
