/* =====================================================
   PRO-F — FAQ PAGE  (loads AFTER app.css)
   Hero banner + breadcrumb come from app.css (shared hero).
   Accordion (+/− icon), headings, buttons, sections and
   tokens all come from app.css.
   ===================================================== */

/* ---------- LAYOUT ---------- */
.faq-layout { --bs-gutter-x: clamp(30px, 5vw, 64px); --bs-gutter-y: 36px; }
@media (min-width: 992px) {
    .faq-side { position: sticky; top: calc(var(--header-height) + 24px); }
}

/* ---------- SEARCH + CATEGORIES ---------- */
.faq-filter { padding: 24px; background: var(--paper); border: 1px solid var(--line); }
.faq-search { position: relative; display: block; margin: 0 0 18px; }
.faq-search svg {
    position: absolute; left: 16px; top: 50%; width: 19px; height: 19px; margin-top: -9.5px;
    fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; pointer-events: none;
}
.faq-search input {
    display: block; width: 100%; min-height: 52px; padding: 12px 16px 12px 46px;
    border: 1px solid #d6dfe4; border-radius: 0; background: #fff;
    color: var(--ink); font: 400 15px/1.5 var(--font-body);
    transition: border-color .2s, box-shadow .2s;
}
.faq-search input::placeholder { color: #97a3ab; }
.faq-search input:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px #35a66f26; }

.faq-cats { display: flex; flex-direction: column; }
.faq-cat {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 14px 14px 16px; border: 0; border-top: 1px solid var(--line);
    border-left: 3px solid transparent; background: transparent;
    color: #3c4b58; font-size: 15px; font-weight: 700; text-align: left; cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}
.faq-cat b {
    min-width: 26px; padding: 2px 8px; border-radius: 20px; background: #e6edf1;
    color: var(--navy-mid); font-size: 12px; font-weight: 700; text-align: center;
}
.faq-cat:hover { color: var(--emerald-dark); }
.faq-cat.is-active { border-left-color: var(--emerald); background: var(--mint); color: var(--navy-deep); }
.faq-cat.is-active b { background: var(--navy); color: #fff; }

@media (max-width: 991.98px) {
    .faq-filter { padding: 18px; }
    .faq-cats { flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .faq-cat { border: 1px solid var(--line); border-left-width: 1px; background: #fff; padding: 9px 12px; font-size: 14px; }
    .faq-cat.is-active { border-color: var(--emerald); }
}

/* ---------- HELP CARD (dark, same family as contact panel) ---------- */
.faq-help {
    position: relative; overflow: hidden; margin-top: 22px; padding: 34px 30px;
    background: var(--navy-deep); color: #fff;
}
.faq-help::after {
    content: ""; position: absolute; right: -70px; top: -80px; width: 190px; height: 190px;
    border: 1px solid #ffffff1b; border-radius: 50%;
    box-shadow: 0 0 0 24px #ffffff08, 0 0 0 50px #ffffff06; pointer-events: none;
}
.faq-help > * { position: relative; z-index: 1; }
.faq-help-label { display: block; color: #8de0ae; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.faq-help h3 { margin: 12px 0 10px; color: #fff; font: 500 28px/1.2 var(--font-display); }
.faq-help p { margin: 0 0 24px; color: #c3d2dc; line-height: 1.75; }
.faq-help .btn { min-width: 180px; }
.faq-help-mail { display: block; margin-top: 18px; color: #c3d2dc; font-size: 14px; }
.faq-help-mail:hover { color: #9be0b5; }

/* ---------- ACCORDION GROUPS ---------- */
.faq-group + .faq-group { margin-top: 44px; }
.faq-group[hidden] { display: none; }
.faq-group-title { display: flex; align-items: center; gap: 16px; margin-bottom: 4px; }
.faq-group-title .card-label { text-transform: uppercase; }
.faq-group-title i { flex: 1; height: 1px; }
.faq-list .accordion { border-top: 1px solid #dce5ec; }
.faq-list .accordion-item { border-width: 0 0 1px; }
.faq-list .accordion-item[hidden] { display: none; }
.faq-list .accordion-button { font-size: 17px; }
.faq-list .accordion-button:hover { color: var(--emerald-dark); }
.faq-list .accordion-body { max-width: 680px; font-size: 15.5px; }
.faq-list .accordion-body a { color: var(--navy); font-weight: 700; border-bottom: 1px solid var(--emerald); }
.faq-list .accordion-body a:hover { color: var(--emerald-dark); }

/* ---------- EMPTY STATE ---------- */
.faq-empty { padding: 50px 30px; text-align: center; background: var(--paper); border: 1px dashed #c8d3da; }
.faq-empty[hidden] { display: none; }
.faq-empty h3 { margin: 0 0 8px; color: var(--navy-deep); font: 500 28px/1.25 var(--font-display); }
.faq-empty p { margin: 0 0 18px; color: var(--muted); }
.faq-reset { padding: 0; border: 0; border-bottom: 1px solid var(--emerald); background: none; color: var(--navy); font: inherit; font-weight: 700; cursor: pointer; }
.faq-reset:hover { color: var(--emerald-dark); }


.p-4 {
    padding: 10px !important;
}
.btn{
    min-height: 5px;
}


/* 2 Columns thevun gap fix karnyasathi Multi-column layout */
#faqGridContainer {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

#faqGridContainer > .faq-item-col {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

#faqGridContainer > .faq-item-col > .card {
    height: 100%;
}
.g-4, .gy-4 {
    --bs-gutter-y: 0px;
}

/* Mobile screen sathi (768px peksha kami aslyas) ektach column disel */
@media (max-width: 768px) {
    #faqGridContainer {
        column-count: 1;
    }
}