/* SKS - FAQ (modul faq, VER 1.1.0, 2026-10-16)
   Akordeon pytan z panelu (SKS - Centrum > FAQ - pytania). Jeden wyglad na calej stronie: SZKLO (wybor Tomka z mockupu
   uploads/sks-mockupy/faq, wariant 2) - przydymiona przezroczysta karta z rozmyciem, goly plus / minus bez kolka.
   Tlo i nakladke tla ustawia sekcja Elementora wokol widgetu (moze byc rozne w roznych miejscach) - karta jest przezroczysta.
   Kolory i kroje z globali Elementora. */

.sks-faqw {
	--fq-ak: var(--e-global-color-accent);
	--fq-gl: var(--e-global-color-primary);
	--fq-dr: var(--e-global-color-secondary);
	--fq-cz: var(--e-global-color-056c26f);
	--fq-e: cubic-bezier(.4, 0, .2, 1);
	width: 100%;
}
.sks-faqw *, .sks-faqw *::before, .sks-faqw *::after { box-sizing: border-box; }
.sks-faqw__grupa {
	margin: 44px 0 16px; font-family: var(--e-global-typography-accent-font-family), sans-serif; font-size: var(--e-global-typography-accent-font-size);
	font-weight: var(--e-global-typography-accent-font-weight); line-height: var(--e-global-typography-accent-line-height);
	letter-spacing: var(--e-global-typography-accent-letter-spacing); text-transform: uppercase; color: var(--fq-gl);
}
.sks-faqw__grupa:first-child { margin-top: 0; }
.sks-faqw__lista { display: flex; flex-direction: column; gap: 8px; }

/* karta: szklo */
.sks-faqw__item {
	position: relative; padding: 0 24px; border: 1px solid color-mix(in srgb, var(--fq-gl) 9%, transparent); border-radius: var(--sks-r-karta-s, 16px);
	background: color-mix(in srgb, var(--fq-cz) 38%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
	transition: border-color .3s, background-color .3s, box-shadow .35s;
}
.sks-faqw__item:hover { border-color: color-mix(in srgb, var(--fq-ak) 70%, transparent); background: color-mix(in srgb, var(--fq-cz) 25%, transparent); }
.sks-faqw__item.is-open { border-color: var(--fq-ak); box-shadow: 0 0 40px -12px var(--fq-ak);
	background: linear-gradient(90deg, color-mix(in srgb, var(--fq-ak) 16%, transparent) 0, transparent 62%), color-mix(in srgb, var(--fq-cz) 38%, transparent); }
.sks-faqw__h { margin: 0 !important; padding: 0 !important; font: inherit !important; }

/* pytanie = przycisk (reset stylow przyciskow motywu) */
.sks-faqw .sks-faqw__q {
	position: relative; display: flex; align-items: center; gap: 18px; width: 100%; margin: 0; padding: 26px 52px 26px 0 !important;
	border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; text-align: left; cursor: pointer;
	-webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none;
	font-family: var(--e-global-typography-c78933e5-font-family), sans-serif !important; font-size: var(--e-global-typography-c78933e5-font-size) !important;
	font-weight: var(--e-global-typography-c78933e5-font-weight) !important; line-height: var(--e-global-typography-c78933e5-line-height) !important;
	letter-spacing: normal !important; text-transform: none !important; color: var(--fq-gl) !important; white-space: normal;
}
.sks-faqw .sks-faqw__q:hover, .sks-faqw .sks-faqw__q:focus { background: none !important; color: var(--fq-gl) !important; outline: none; }
.sks-faqw .sks-faqw__q:focus-visible { outline: 1px solid var(--fq-ak); outline-offset: 4px; }
.sks-faqw__qt { flex: 1 1 auto; min-width: 0; }
.sks-faqw__nr { display: none; }

/* goly plus / minus (bez kolka) */
.sks-faqw__ik { position: absolute; right: 6px; top: 50%; width: 32px; height: 32px; margin-top: -16px; }
.sks-faqw__ik::before, .sks-faqw__ik::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 2px; background: var(--fq-gl); transition: transform .35s var(--fq-e); }
.sks-faqw__ik::before { width: 2px; height: 16px; transform: translate(-50%, -50%); }
.sks-faqw__ik::after { width: 16px; height: 2px; transform: translate(-50%, -50%); }
.sks-faqw__item.is-open .sks-faqw__ik::before { transform: translate(-50%, -50%) scaleY(0); }

/* odpowiedz - plynne rozwijanie bez znajomosci wysokosci */
.sks-faqw__a { display: grid; grid-template-rows: minmax(0, 0fr); transition: grid-template-rows .45s var(--fq-e); }
.sks-faqw__item.is-open .sks-faqw__a { grid-template-rows: minmax(0, 1fr); }
.sks-faqw__a-in { overflow: hidden; min-height: 0; }
.sks-faqw__tresc {
	padding: 0 52px 30px 0; font-family: var(--e-global-typography-text-font-family), sans-serif; font-size: var(--e-global-typography-text-font-size);
	font-weight: var(--e-global-typography-text-font-weight); line-height: var(--e-global-typography-text-line-height); color: var(--fq-dr);
}
.sks-faqw__tresc > :first-child { margin-top: 0; }
.sks-faqw__tresc > :last-child { margin-bottom: 0; }
.sks-faqw__tresc p { margin: 0 0 .8em; }
.sks-faqw__tresc a { color: var(--fq-gl); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 767px) {
	.sks-faqw__item { padding: 0 20px; }
	.sks-faqw .sks-faqw__q { gap: 12px; padding: 20px 40px 20px 0 !important; }
	.sks-faqw__ik { right: 1px; width: 28px; height: 28px; margin-top: -14px; }
	.sks-faqw__ik::before { height: 14px; }
	.sks-faqw__ik::after { width: 14px; }
	.sks-faqw__tresc { padding: 0 8px 24px 0; }
}
@media (prefers-reduced-motion: reduce) {
	.sks-faqw__a, .sks-faqw__item, .sks-faqw__ik::before, .sks-faqw__ik::after { transition: none; }
}

.sks-faqw-pusto { padding: 16px; border: 1px dashed currentColor; opacity: .7; }
