/* FAQ page (templates/faq.php) */
.bp-faq { padding: 4px 0 40px; }
.bp-faq-tools { display: grid; gap: 14px; margin: 0 0 22px; }
.bp-faq-search { position: relative; display: block; max-width: 720px; margin: 0; }
.bp-faq-search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--bh-muted); pointer-events: none; }
.bp-faq-search input { width: 100%; box-sizing: border-box !important; height: 52px; padding: 0 16px 0 48px !important; border: 1px solid #cbd5e1 !important; border-radius: 10px !important; background: #fff !important; font-size: 15.5px; color: var(--bh-ink); box-shadow: 0 2px 6px rgba(15, 23, 42, .04) !important; margin: 0 !important; }
.bp-faq-search input:focus { border-color: var(--bh-blue) !important; box-shadow: 0 0 0 3px rgba(0, 119, 255, .12) !important; outline: none; }
.bp-faq-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-faq-chips button { padding: 8px 14px !important; min-height: 0 !important; border: 1px solid var(--bh-line) !important; border-radius: 999px !important; background: #fff !important; color: var(--bh-ink) !important; font-size: 13.5px !important; font-weight: 600 !important; line-height: 1.2 !important; text-transform: none !important; cursor: pointer; box-shadow: none !important; }
.bp-faq-chips button:hover { border-color: var(--bh-blue) !important; color: var(--bh-blue) !important; }
.bp-faq-chips button.is-on { background: var(--bh-blue) !important; border-color: var(--bh-blue) !important; color: #fff !important; }

.bp-faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.bp-faq-topic { margin: 0 0 22px; }
.bp-faq-topic[hidden] { display: none; }
.bp-faq-topic h2 { margin: 0 0 10px; font-size: 19px; }
.bp-faq-item { margin: 0 0 8px; background: #fff; border: 1px solid var(--bh-line); border-radius: 10px; transition: border-color .15s, box-shadow .15s; }
.bp-faq-item[hidden] { display: none; }
.bp-faq-item[open] { border-color: #bfd7f7; box-shadow: 0 4px 14px rgba(15, 23, 42, .05); }
.bp-faq-item summary { position: relative; list-style: none; cursor: pointer; padding: 14px 46px 14px 18px; font-size: 15px; font-weight: 600; color: var(--bh-ink); }
.bp-faq-item summary::-webkit-details-marker { display: none; }
.bp-faq-item summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--bh-muted); border-bottom: 2px solid var(--bh-muted); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.bp-faq-item[open] summary { color: var(--bh-blue); }
.bp-faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); border-color: var(--bh-blue); }
.bp-faq-a { padding: 0 18px 16px; }
.bp-faq-a p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.6; color: var(--bh-text, #334155); }
.bp-faq-bn { padding-top: 8px; border-top: 1px dashed var(--bh-line); font-family: "Noto Sans Bengali", "Hind Siliguri", var(--wd-text-font, inherit); color: var(--bh-muted) !important; }
.bp-faq-none { padding: 18px; background: #fff; border: 1px dashed var(--bh-line); border-radius: 10px; color: var(--bh-muted); }

.bp-faq-side { display: grid; gap: 16px; position: sticky; top: 120px; }
.bp-faq-ask, .bp-faq-more { padding: 20px 22px; }
.bp-faq-side h3 { margin: 0 0 6px; font-size: 17px; }
.bp-faq-ask p { margin: 0 0 14px; font-size: 14px; color: var(--bh-muted); }
.bp-faq-ask .bh-btn { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; height: 46px; margin: 0 0 8px; border-radius: 8px; font-size: 15px; text-decoration: none !important; }
.bp-faq-wa { background: #25d366; color: #fff !important; }
.bp-faq-wa:hover { background: #1faa55; }
.bp-faq-wa svg { width: 18px; height: 18px; fill: currentColor; }
.bp-faq-call { background: #fff; color: var(--bh-ink) !important; border: 1px solid #cbd5e1 !important; }
.bp-faq-call:hover { border-color: var(--bh-ink) !important; }
.bp-faq-link { display: block; margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--bh-blue); text-decoration: none; }
/* Owner 2026-11-17 ("broken"): the theme's button margins pushed the two buttons together and the link's arrow wrapped. */
.bp-faq-side .bp-faq-ask { display: flex; flex-direction: column; gap: 10px; }
.bp-faq-side .bp-faq-ask > * { margin: 0 !important; }
.bp-faq-side .bp-faq-ask h3 { margin-bottom: -2px !important; }
.bp-faq-side .bp-faq-ask p { margin-bottom: 4px !important; }
.bp-faq-side .bp-faq-ask .bh-btn { margin: 0 !important; box-sizing: border-box; }
.bp-faq-side .bp-faq-link { margin-top: 2px !important; line-height: 1.4; }
.bp-faq-link .bp-arrow { white-space: nowrap; }
.bp-faq-more ul { list-style: none; margin: 8px 0 0; padding: 0; }
.bp-faq-more li { border-top: 1px solid var(--bh-line); }
.bp-faq-more li:first-child { border-top: 0; }
.bp-faq-more a { display: block; padding: 9px 0; font-size: 14px; font-weight: 600; color: var(--bh-ink); text-decoration: none; }
.bp-faq-more a:hover { color: var(--bh-blue); }

@media (max-width: 1024px) {
	.bp-faq-grid { grid-template-columns: 1fr; }
	.bp-faq-side { position: static; }
}
