/* Builder: FAQ — grupy pytań; nagłówek grupy przyklejony po lewej, pytania (details/summary) po prawej */
.faq{interpolate-size:allow-keywords}
.faq__head{max-width:760px;margin-bottom:30px}
.faq__head .eyebrow{margin-bottom:8px}
.faq__intro{margin:16px 0 0;color:var(--ink-2);font-size:17px;line-height:1.6}

.faq__group{display:grid;grid-template-columns:minmax(220px,1fr) 2fr;gap:56px;padding:44px 0;border-top:1px solid var(--line)}
.faq__group:last-child{padding-bottom:0}
.faq__aside{position:sticky;top:102px;align-self:start}
.admin-bar .faq__aside{top:134px}
.faq__group-title{position:relative;margin:0;padding-top:18px;font-family:var(--display);font-weight:700;text-transform:uppercase;letter-spacing:.5px;font-size:clamp(24px,2.4vw,32px);line-height:1.02;color:var(--ink)}
.faq__group-title::before{content:"";position:absolute;left:0;top:0;width:34px;height:3px;background:var(--brand)}
.faq__group-text{margin:12px 0 0;color:var(--muted);font-size:15px;line-height:1.6}

.faq__item{border-bottom:1px solid var(--line)}
.faq__item:first-child{border-top:1px solid var(--line)}
.faq__q{list-style:none;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:20px 0;cursor:pointer;font-weight:600;font-size:17px;line-height:1.45;color:var(--ink);transition:color .15s}
.faq__q::-webkit-details-marker{display:none}
.faq__q::after{
  content:"";flex:0 0 18px;height:18px;margin-top:3px;
  background:linear-gradient(var(--brand),var(--brand)) center/18px 2px no-repeat,
             linear-gradient(var(--brand),var(--brand)) center/2px 18px no-repeat;
  transition:background-size .25s ease;
}
.faq__item[open] > .faq__q::after{background-size:18px 2px,2px 0}
.faq__q:hover{color:var(--brand)}
.faq__q:focus-visible{outline:2px solid var(--brand);outline-offset:4px;border-radius:var(--radius)}

.faq__item::details-content{block-size:0;overflow:hidden;transition:block-size .3s ease,content-visibility .3s allow-discrete}
.faq__item[open]::details-content{block-size:auto}

.faq__a{padding:0 42px 22px 0;color:var(--ink-2);font-size:15.5px;line-height:1.7}
.faq__a p{margin:0 0 10px}
.faq__a > :last-child{margin-bottom:0}
.faq__a ul,.faq__a ol{margin:0 0 10px;padding-left:20px}
.faq__a li{margin-bottom:4px}
.faq__a a{color:var(--brand);text-decoration:underline;text-underline-offset:2px;word-break:break-word}
.faq__a a:hover{color:var(--brand-600)}

@media(max-width:900px){
  .faq__group{grid-template-columns:1fr;gap:18px;padding:34px 0}
  .faq__aside{position:static}
  .faq__a{padding-right:0}
}
@media(prefers-reduced-motion:reduce){
  .faq__item::details-content,.faq__q::after{transition:none}
}
