/*!
 * Startbox GEO Tools: FAQ skins (frontend).
 * Colours come from CSS variables, so theme and builder settings can override them:
 * --sgt-faq-bg, --sgt-faq-text, --sgt-faq-accent, --sgt-faq-btn-text
 */
.sbx-faq-container { --sgt-faq-bg:#fdfdfd; --sgt-faq-text:#333; --sgt-faq-accent:#71775f; --sgt-faq-btn-text:#fff; display:block !important; width:100% !important; max-width:100% !important; box-sizing:border-box !important; margin:2rem 0; }
.sbx-faq-container *, .sbx-faq-container *::before, .sbx-faq-container *::after { box-sizing:border-box !important; }
.sbx-faq-container details { display:block !important; width:100% !important; max-width:100% !important; margin:0 0 1rem; }
.sbx-faq-container summary { display:flex !important; width:100% !important; min-height:44px; justify-content:space-between; align-items:center; gap:1.5rem; font:inherit; font-weight:600; font-size:1.1rem; cursor:pointer; padding:1.2rem; list-style:none; transition:background .3s ease; border:none; }
.sbx-faq-container summary::-webkit-details-marker { display:none !important; }
.sbx-faq-container summary:focus { outline:none; }
.sbx-faq-container summary:focus-visible { outline:2px solid var(--sgt-faq-accent) !important; outline-offset:2px; }
.sbx-faq-container .sbx-q-text { flex:1; text-align:left; }
.sbx-faq-container .sbx-faq-content { display:block !important; width:100% !important; padding:0 1.2rem 1.2rem; font-size:1rem; opacity:.9; }
.sbx-faq-container .sbx-faq-content, .sbx-faq-container .sbx-faq-content p, .sbx-faq-container .sbx-faq-content div, .sbx-faq-container .sbx-faq-content span { color:var(--sgt-faq-text) !important; line-height:1.6 !important; }
.sbx-faq-container .sbx-faq-content p:first-child { margin-top:0 !important; }
.sbx-faq-container .sbx-faq-content p:last-child { margin-bottom:0 !important; }
.sbx-faq-container .sbx-icon { flex-shrink:0; display:inline-flex; justify-content:center; align-items:center; width:24px; height:24px; }
.sbx-faq-container .sbx-icon::after { content:"+"; font-size:1.6rem; font-weight:300; line-height:1; transition:transform .35s ease; }
.sbx-faq-container details.sbx-is-open .sbx-icon::after { content:"\2212"; transform:rotate(180deg); }

/* Fade: content fades in addition to the height animation */
.sbx-faq-container[data-anim="fade"] .sbx-faq-wrap { overflow:hidden; }
.sbx-faq-container[data-anim="fade"] .sbx-faq-content { opacity:0; transform:translateY(-5px); transition:opacity .28s .06s ease, transform .28s .06s ease; }
.sbx-faq-container[data-anim="fade"] details.sbx-is-open > .sbx-faq-wrap > .sbx-faq-content { opacity:1; transform:none; }

/* Layout 1: Clean Accordion */
.sbx-faq-container.sbx-layout-1 details { background:var(--sgt-faq-bg) !important; border:1px solid rgba(0,0,0,.1) !important; border-radius:8px !important; transition:border-color .25s, box-shadow .25s !important; }
.sbx-faq-container.sbx-layout-1 details.sbx-is-open { border-color:var(--sgt-faq-accent) !important; box-shadow:0 4px 12px rgba(0,0,0,.06) !important; }
.sbx-faq-container.sbx-layout-1 summary .sbx-q-text { color:var(--sgt-faq-text) !important; }
.sbx-faq-container.sbx-layout-1 .sbx-icon { color:var(--sgt-faq-accent) !important; }

/* Layout 2: Floating Cards */
.sbx-faq-container.sbx-layout-2 details { background:var(--sgt-faq-bg) !important; border:none !important; border-radius:12px !important; box-shadow:0 6px 24px rgba(0,0,0,.06) !important; margin-bottom:1.5rem !important; }
.sbx-faq-container.sbx-layout-2 summary .sbx-q-text { color:var(--sgt-faq-accent) !important; }
.sbx-faq-container.sbx-layout-2 .sbx-icon { color:var(--sgt-faq-accent) !important; }

/* Layout 3: Minimalist */
.sbx-faq-container.sbx-layout-3 details { background:transparent !important; border:none !important; border-bottom:1px solid rgba(0,0,0,.1) !important; border-radius:0 !important; margin-bottom:0 !important; }
.sbx-faq-container.sbx-layout-3 summary .sbx-q-text { color:var(--sgt-faq-text) !important; transition:color .2s !important; }
.sbx-faq-container.sbx-layout-3 summary:hover .sbx-q-text { color:var(--sgt-faq-accent) !important; }
.sbx-faq-container.sbx-layout-3 .sbx-icon { color:var(--sgt-faq-text) !important; }

/* Layout 4: Corporate */
.sbx-faq-container.sbx-layout-4 details { background:var(--sgt-faq-bg) !important; border:none !important; border-left:4px solid var(--sgt-faq-accent) !important; border-radius:4px !important; box-shadow:0 2px 8px rgba(0,0,0,.04) !important; }
.sbx-faq-container.sbx-layout-4 summary .sbx-q-text { color:var(--sgt-faq-text) !important; }
.sbx-faq-container.sbx-layout-4 .sbx-icon { color:var(--sgt-faq-accent) !important; }

/* Layout 5: Solid Focus */
.sbx-faq-container.sbx-layout-5 details { background:var(--sgt-faq-accent) !important; border-radius:8px !important; border:none !important; }
.sbx-faq-container.sbx-layout-5 summary .sbx-q-text { color:#fff !important; }
.sbx-faq-container.sbx-layout-5 .sbx-faq-content { background:rgba(0,0,0,.12) !important; padding:1.2rem !important; border-radius:0 0 8px 8px !important; }
.sbx-faq-container.sbx-layout-5 .sbx-faq-content, .sbx-faq-container.sbx-layout-5 .sbx-faq-content p, .sbx-faq-container.sbx-layout-5 .sbx-faq-content div, .sbx-faq-container.sbx-layout-5 .sbx-faq-content span { color:#fff !important; }
.sbx-faq-container.sbx-layout-5 .sbx-icon::after { color:#fff !important; }
.sbx-faq-container.sbx-layout-5 summary:focus-visible { outline-color:#fff !important; outline-offset:-4px; }

/* Layout 6: Sleek Dark */
.sbx-faq-container.sbx-layout-6 details { background:#18181b !important; border:1px solid rgba(255,255,255,.07) !important; border-radius:10px !important; margin-bottom:.6rem !important; transition:border-color .25s, box-shadow .25s !important; }
.sbx-faq-container.sbx-layout-6 details.sbx-is-open { border-color:var(--sgt-faq-accent) !important; box-shadow:0 0 0 1px var(--sgt-faq-accent), 0 12px 40px rgba(0,0,0,.4) !important; }
.sbx-faq-container.sbx-layout-6 summary .sbx-q-text { color:#f4f4f5 !important; transition:color .2s !important; }
.sbx-faq-container.sbx-layout-6 details.sbx-is-open summary .sbx-q-text { color:var(--sgt-faq-accent) !important; }
.sbx-faq-container.sbx-layout-6 .sbx-icon { width:22px !important; height:22px !important; border:1.5px solid rgba(255,255,255,.18) !important; border-radius:50% !important; transition:border-color .2s !important; }
.sbx-faq-container.sbx-layout-6 .sbx-icon::after { font-size:1.3rem !important; color:rgba(255,255,255,.65) !important; }
.sbx-faq-container.sbx-layout-6 details.sbx-is-open .sbx-icon { border-color:var(--sgt-faq-accent) !important; }
.sbx-faq-container.sbx-layout-6 details.sbx-is-open .sbx-icon::after { color:var(--sgt-faq-accent) !important; }
.sbx-faq-container.sbx-layout-6 .sbx-faq-content, .sbx-faq-container.sbx-layout-6 .sbx-faq-content p, .sbx-faq-container.sbx-layout-6 .sbx-faq-content div, .sbx-faq-container.sbx-layout-6 .sbx-faq-content span { color:rgba(244,244,245,.72) !important; }

/* Layout 7: Bold Counter */
.sbx-faq-container.sbx-layout-7 { counter-reset:sgt-faq-counter; }
.sbx-faq-container.sbx-layout-7 details { counter-increment:sgt-faq-counter; background:transparent !important; border:none !important; border-bottom:1px solid rgba(0,0,0,.08) !important; border-radius:0 !important; margin-bottom:0 !important; padding-left:4rem !important; position:relative !important; }
.sbx-faq-container.sbx-layout-7 details::before { content:counter(sgt-faq-counter, decimal-leading-zero); position:absolute; left:0; top:1.15rem; font-size:1.6rem; font-weight:900; line-height:1; color:var(--sgt-faq-accent); letter-spacing:-.04em; pointer-events:none; }
.sbx-faq-container.sbx-layout-7 summary { padding:1.1rem .3rem 1.1rem 0 !important; }
.sbx-faq-container.sbx-layout-7 summary .sbx-q-text { color:var(--sgt-faq-text) !important; transition:color .2s !important; }
.sbx-faq-container.sbx-layout-7 details.sbx-is-open summary .sbx-q-text { color:var(--sgt-faq-accent) !important; }
.sbx-faq-container.sbx-layout-7 .sbx-icon { color:var(--sgt-faq-accent) !important; }
.sbx-faq-container.sbx-layout-7 .sbx-faq-content { padding:0 .5rem 1.2rem 1rem !important; border-left:3px solid var(--sgt-faq-accent) !important; }

/* Layout 8: Soft Bubble */
.sbx-faq-container.sbx-layout-8 details { background:transparent !important; border:none !important; border-radius:0 !important; margin-bottom:.5rem !important; }
.sbx-faq-container.sbx-layout-8 summary { background:var(--sgt-faq-bg) !important; border:2px solid rgba(0,0,0,.08) !important; border-radius:999px !important; padding:.85rem 1.3rem !important; transition:background .28s ease, border-color .28s ease, border-radius .28s ease !important; }
.sbx-faq-container.sbx-layout-8 details.sbx-is-open > summary { background:var(--sgt-faq-accent) !important; border-color:var(--sgt-faq-accent) !important; border-radius:16px 16px 0 0 !important; }
.sbx-faq-container.sbx-layout-8 summary .sbx-q-text { color:var(--sgt-faq-text) !important; transition:color .25s !important; }
.sbx-faq-container.sbx-layout-8 details.sbx-is-open summary .sbx-q-text { color:#fff !important; }
.sbx-faq-container.sbx-layout-8 .sbx-icon::after { content:"\203A" !important; font-size:1.5rem !important; font-weight:700 !important; transform:rotate(90deg) !important; display:inline-block !important; }
.sbx-faq-container.sbx-layout-8 details.sbx-is-open .sbx-icon::after { transform:rotate(270deg) !important; color:#fff !important; }
.sbx-faq-container.sbx-layout-8 .sbx-icon { color:var(--sgt-faq-accent) !important; }
.sbx-faq-container.sbx-layout-8 .sbx-faq-content { background:var(--sgt-faq-bg) !important; border:2px solid var(--sgt-faq-accent) !important; border-top:none !important; border-radius:0 0 16px 16px !important; padding-top:.8rem !important; }
.sbx-faq-container.sbx-layout-8 .sbx-faq-content, .sbx-faq-container.sbx-layout-8 .sbx-faq-content p, .sbx-faq-container.sbx-layout-8 .sbx-faq-content div, .sbx-faq-container.sbx-layout-8 .sbx-faq-content span { color:var(--sgt-faq-text) !important; }

/* "Show all" variant */
.sbx-faq-container .sbx-faq-item.sbx-hidden { display:none !important; }
/* All states are set explicitly: theme and Elementor kit styles for button:hover/:focus must not win. */
.sbx-faq-container .sbx-mehr-btn,
.sbx-faq-container .sbx-mehr-btn:hover,
.sbx-faq-container .sbx-mehr-btn:focus,
.sbx-faq-container .sbx-mehr-btn:active { display:block; width:auto; min-height:44px; margin:1.2rem auto 0; padding:.7rem 2rem; background:var(--sgt-faq-accent) !important; background-image:none !important; color:var(--sgt-faq-btn-text) !important; border:none !important; border-radius:6px !important; box-shadow:none !important; text-decoration:none !important; text-transform:none; font:inherit; font-size:1rem; font-weight:600; line-height:1.4; cursor:pointer; transition:filter .2s, opacity .2s; }
.sbx-faq-container .sbx-mehr-btn:hover, .sbx-faq-container .sbx-mehr-btn:focus-visible { filter:brightness(.9); }
.sbx-faq-container .sbx-mehr-btn:active { filter:brightness(.82); }
.sbx-faq-container .sbx-mehr-btn:focus { outline:none; }
.sbx-faq-container .sbx-mehr-btn:focus-visible { outline:2px solid var(--sgt-faq-accent) !important; outline-offset:3px; }

@media (prefers-reduced-motion: reduce) {
  .sbx-faq-container *, .sbx-faq-container *::before, .sbx-faq-container *::after { transition:none !important; }
}
