/* dgm_section_list layout "voices" (Akademie brief 08 task A, 2026-11-14): testimonials by training. A featured band,
   chips that filter by training (assets/voices.js), quote cards of three weights in a balanced three-column flow (two from
   700 px, one on phones), the organisations named in the quotes as one quiet line. Hairline cards on white, the short
   ones on pale cyan; the featured ones white with a cyan top rule and one large opening mark. Without script: every voice under its training. */
#crm__widgets .frame-type-dgm_section_list:has(> .dsl-vo) { padding-left: 0; padding-right: 0; }
#crm__widgets .dsl-vo { --vo-navy: #003e52; --vo-accent: #00abe3; --vo-text: #2f4a56; --vo-muted: #4d6670; --vo-line: rgb(0 62 82 / .14); --vo-sky: #eaf6fb;
  --vo-ease: cubic-bezier(.16, 1, .3, 1); width: 100%; text-align: left; }

/* chips: "Alle" and one per training, the number as the menus' small badge */
#crm__widgets .dsl-vo__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 36px; }
#crm__widgets .dsl-vo__chips[hidden] { display: none; }
#crm__widgets .dsl-vo__chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 8px 0 16px; border: 1px solid var(--vo-line); border-radius: 999px;
  background: #fff; color: var(--vo-navy); font: 600 14.5px/1.2 Theme-Font, Inter, sans-serif; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
#crm__widgets .dsl-vo__chip:hover { border-color: rgb(0 171 227 / .55); }
#crm__widgets .dsl-vo__chip:focus-visible { outline: 2px solid var(--vo-navy); outline-offset: 2px; }
#crm__widgets .dsl-vo__chip[aria-pressed="true"] { border-color: var(--vo-accent); background: var(--vo-accent); color: #fff; }
#crm__widgets .dsl-vo__n { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: rgb(0 62 82 / .07);
  color: var(--vo-navy); font: 700 12px/1 Theme-Font, Inter, sans-serif; font-variant-numeric: tabular-nums; }
#crm__widgets .dsl-vo__chip[aria-pressed="true"] .dsl-vo__n { background: rgb(255 255 255 / .25); color: #fff; }

/* the featured band: two or three voices large, side by side */
#crm__widgets .dsl-vo__feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin: 0 0 48px; padding: 0; list-style: none; }
#crm__widgets .dsl-vo__f { margin: 0; }
#crm__widgets .dsl-vo__f[hidden] { display: none; }
#crm__widgets .dsl-vo__ffig { display: flex; flex-direction: column; justify-content: space-between; height: 100%; margin: 0; padding: 32px 30px 26px; border-radius: 20px;
  border: 1px solid var(--vo-line); border-top: 3px solid var(--vo-accent); background: #fff; color: var(--vo-navy); box-shadow: 0 24px 48px -36px rgb(0 33 44 / .35); }
#crm__widgets .dsl-vo__ft { position: relative; margin: 0 0 28px; padding: 44px 0 0; border: 0; color: var(--vo-navy); font: 400 18.5px/1.6 Theme-Font, Inter, sans-serif; text-wrap: pretty; }
/* one large opening mark as an ornament above the text (the high form in both languages: it sits in its own space) */
#crm__widgets .dsl-vo__ft::before { content: "\201C" / ""; position: absolute; top: -6px; left: -3px; height: 44px; overflow: hidden; color: var(--vo-accent); font: 800 76px/1 Heading-Font, "Inter Tight", Inter, sans-serif; }
#crm__widgets .dsl-vo__ft p { margin: 0 0 .6em; }
#crm__widgets .dsl-vo__ft p:last-child { margin-bottom: 0; }
#crm__widgets .dsl-vo__f .dsl-vo__pic { width: 56px; height: 56px; }

/* cards in a balanced flow */
#crm__widgets .dsl-vo__grp { margin: 0 0 32px; }
#crm__widgets .dsl-vo__gh { margin: 0 0 16px; color: var(--vo-navy); font: 700 20px/1.3 Heading-Font, "Inter Tight", Inter, sans-serif; }
#crm__widgets .dsl-vo__grid { columns: 3 300px; column-gap: 24px; margin: 0; padding: 0; list-style: none; }
#crm__widgets .dsl-vo__c { break-inside: avoid; margin: 0 0 24px; }
#crm__widgets .dsl-vo__c[hidden] { display: none; }
#crm__widgets .dsl-vo__fig { display: flex; flex-direction: column; margin: 0; padding: 24px 24px 20px; border: 1px solid var(--vo-line); border-radius: 16px; background: #fff; }
#crm__widgets .dsl-vo__t { margin: 0; padding: 0; border: 0; color: var(--vo-text); font: 400 16px/1.65 Theme-Font, Inter, sans-serif; text-wrap: pretty; overflow-wrap: break-word; }
#crm__widgets .dsl-vo__t p { margin: 0 0 .6em; }
#crm__widgets .dsl-vo__t p:last-child { margin-bottom: 0; }
#crm__widgets .dsl-vo__c--mid .dsl-vo__t { color: var(--vo-navy); font-size: 17px; }
#crm__widgets .dsl-vo__c--short .dsl-vo__fig { border-color: transparent; background: var(--vo-sky); }
#crm__widgets .dsl-vo__c--short .dsl-vo__t { color: var(--vo-navy); font: 600 clamp(21px, 1.1rem + .5vw, 25px)/1.32 Heading-Font, "Inter Tight", Inter, sans-serif; letter-spacing: -.015em; }
/* a long quote shows about six lines and opens in place (only with the script: without it, the whole text shows) */
#crm__widgets .dsl-vo.is-js .dsl-vo__c--long:not(.is-open) .dsl-vo__t { max-height: calc(1.65em * 6); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
#crm__widgets .dsl-vo__more { align-self: flex-start; margin: 10px 0 0; padding: 4px 0; border: 0; background: none; color: var(--vo-accent); font: 600 15px/1.4 Theme-Font, Inter, sans-serif; cursor: pointer; }
#crm__widgets .dsl-vo__more[hidden] { display: none; }
#crm__widgets .dsl-vo__more:hover { text-decoration: underline; text-underline-offset: 3px; }
#crm__widgets .dsl-vo__more:focus-visible { outline: 2px solid var(--vo-navy); outline-offset: 2px; border-radius: 3px; }

/* the person */
#crm__widgets .dsl-vo__by { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--vo-line); }
#crm__widgets .dsl-vo__f .dsl-vo__by { margin-top: 0; }
#crm__widgets .dsl-vo__pic { display: grid; place-items: center; width: 44px; height: 44px; overflow: hidden; border-radius: 50%; background: #dff2fa; }
#crm__widgets .dsl-vo__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
#crm__widgets .dsl-vo__ini { color: var(--vo-navy); font: 700 15px/1 Heading-Font, "Inter Tight", Inter, sans-serif; }
#crm__widgets .dsl-vo__who { display: grid; gap: 1px; min-width: 0; }
#crm__widgets .dsl-vo__name { color: var(--vo-navy); font: 600 15px/1.35 Theme-Font, Inter, sans-serif; }
#crm__widgets .dsl-vo__org { color: var(--vo-muted); font: 400 14px/1.4 Theme-Font, Inter, sans-serif; overflow-wrap: anywhere; }
#crm__widgets .dsl-vo__course { margin-top: 3px; color: var(--vo-accent) !important; font: 500 13.5px/1.4 Theme-Font, Inter, sans-serif; text-decoration: none; }
#crm__widgets a.dsl-vo__course:hover { text-decoration: underline; text-underline-offset: 3px; }
#crm__widgets a.dsl-vo__course:focus-visible { outline: 2px solid var(--vo-navy); outline-offset: 2px; border-radius: 3px; }

/* with the script the groups become one flow: no headings */
#crm__widgets .dsl-vo.is-js .dsl-vo__gh { display: none; }
#crm__widgets .dsl-vo__orgs { max-width: 980px; margin: 16px 0 0; color: var(--vo-muted); font: 400 15px/1.75 Theme-Font, Inter, sans-serif; text-wrap: pretty; }
#crm__widgets .dsl-vo__ol { color: var(--vo-text); font-weight: 600; }
/* the motion's copies of leaving cards */
#crm__widgets .dsl-vo__ghost { position: absolute; z-index: 1; margin: 0; pointer-events: none; }

@media (max-width: 699.98px) {
  #crm__widgets .dsl-vo__chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 0 28px; padding: 2px 0 6px; scroll-snap-type: x proximity; scrollbar-width: none; }
  #crm__widgets .dsl-vo__chips::-webkit-scrollbar { display: none; }
  #crm__widgets .dsl-vo__chip { flex: none; scroll-snap-align: start; }
  #crm__widgets .dsl-vo__feat { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 32px; }
  #crm__widgets .dsl-vo__ffig { padding: 26px 22px 22px; }
  #crm__widgets .dsl-vo__ft { font-size: 17px; }
  #crm__widgets .dsl-vo__c { margin-bottom: 16px; }
  #crm__widgets .dsl-vo__fig { padding: 20px 20px 18px; }
}
@media (prefers-reduced-motion: reduce) { #crm__widgets .dsl-vo__chip { transition: none; } }
/* the copies of leaving cards stay inside the list (no sideways scroll while they fade) */
#crm__widgets .dsl-vo__groups { position: relative; }
#crm__widgets .dsl-vo.is-js .dsl-vo__groups { overflow-x: clip; }
