.ahse-kb-faq {
  --ahse-kb-accent: var(--accent, #d49e5c);
  color: var(--fg, #f5f6f7);
  background: var(--bg, #13264c);
  width: 100%; min-width: 0;
  overflow-wrap: anywhere;
}
.ahse-kb-heading { margin: 0 0 2rem; }
.ahse-kb-list { min-width: 0; border-block-start: 1px solid var(--line-dark, #52617d); }
.ahse-kb-item { box-sizing: border-box; border-block-end: 1px solid var(--line-dark, #52617d); padding: 0; margin: 0; }
.ahse-kb-faq summary { position: relative; list-style: none; cursor: pointer; font-family: var(--font-display,inherit); font-size: 1rem; line-height: 1.6; font-weight: 600; padding: 1.4rem 2.5rem 1.4rem 0; }
.ahse-kb-faq summary::-webkit-details-marker { display: none; }
.ahse-kb-faq summary::marker { content: ''; }
.ahse-kb-faq summary::after { content: ''; position: absolute; inset-inline-end: 3px; top: 1.75rem; width: 16px; height: 16px; background: linear-gradient(var(--ahse-kb-accent),var(--ahse-kb-accent)),linear-gradient(var(--ahse-kb-accent),var(--ahse-kb-accent)); background-size: 100% 2px,2px 100%; background-position: center; background-repeat: no-repeat; transition: background-size 300ms ease; }
.ahse-kb-item[open] > summary::after { background-size: 100% 2px,2px 0; }
.ahse-kb-faq summary:hover { color: var(--ahse-kb-accent); }
.ahse-kb-faq summary:focus-visible,
.ahse-kb-answer a:focus-visible { outline: 2px solid var(--ahse-kb-accent); outline-offset: 4px; }
.ahse-kb-answer { padding: 0 2.5rem 1.5rem 0; line-height: 1.8; color: var(--muted-dark, #d1d5de); }
.ahse-kb-answer > :first-child { margin-block-start: 0; }
.ahse-kb-answer > :last-child { margin-block-end: 0; }
.ahse-kb-answer a { text-decoration: underline; color: inherit; }
@media (max-width: 600px) {
  .ahse-kb-faq summary { font-size: .95rem; padding-block: 1.2rem; }
  .ahse-kb-faq summary::after { top: 1.55rem; }
  .ahse-kb-heading { font-size: clamp(1.4rem, 6vw, 2rem); }
  .ahse-kb-answer { padding-inline-end: .5rem; }
}
@media (prefers-reduced-motion: reduce) { .ahse-kb-faq summary::after { transition: none; } }

/* Herkunft einer Frage, die in einem Fachbeitrag gepflegt wird */
.ahse-kb-origin { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 16px 0 0; font-size: .85rem; line-height: 1.5; opacity: .82; }
.ahse-kb-origin__label { flex: none; font-family: var(--font-display, inherit); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.ahse-kb-origin a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ahse-kb-accent); overflow-wrap: anywhere; }
.ahse-kb-origin a:hover { color: var(--ahse-kb-accent); }

/* Editor des Blocks „AHSE FAQ“ */
.ahse-kb-block-editor { padding: 16px; border: 1px solid #d5d8de; border-radius: 6px; background: #fff; color: #13264c; }
.ahse-kb-block-items { margin-top: 12px; display: grid; gap: 12px; }
.ahse-kb-block-item { padding: 12px 14px; border: 1px solid #e3e5ea; border-left: 3px solid #d49e5c; border-radius: 4px; background: #fbfbfc; }
.ahse-kb-block-item__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ahse-kb-block-item__number { font-weight: 700; font-size: 12px; letter-spacing: .08em; color: #6b7280; }
.ahse-kb-block-item__tools { display: flex; gap: 2px; }
.ahse-kb-block-question { margin: 6px 0 0; font-weight: 600; font-size: 15px; line-height: 1.4; color: #13264c; }
.ahse-kb-block-answer { margin: 6px 0 0; font-size: 14px; line-height: 1.7; color: #4b5563; }
.ahse-kb-block-hint { margin: 10px 0 0; font-size: 12px; color: #6b7280; }
.ahse-kb-block-add { margin-top: 12px !important; }
.ahse-kb-editor-hint { margin: 0; padding: 12px 14px; border: 1px dashed #d49e5c; border-radius: 4px; background: #fdf8f1; color: #13264c; font-size: 13px; }
