/* Local text-language control on all Priatel reading cards. */
.dn-lesung .dn-lesung__languages{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.dn-lesung .dn-lesung__languages>span{font-size:12px;color:#655e58;margin-right:2px}
.dn-lesung .dn-lesung__languages>button{appearance:none;min-height:44px;padding:7px 13px;border:1px solid #dcd3c7;border-radius:999px;background:#f3efe7;color:#302e2b;font:inherit;font-size:13px;font-weight:600;line-height:1.2;cursor:pointer}
.dn-lesung .dn-lesung__languages>button[aria-pressed="true"]{background:#8f2439;border-color:#8f2439;color:#fffdfa}
.dn-lesung .dn-lesung__languages>button:hover{border-color:#8f2439}
.dn-lesung .dn-lesung__languages>button:focus-visible{outline:3px solid #b49640;outline-offset:3px}
@media(max-width:420px){.dn-lesung .dn-lesung__languages{justify-content:flex-start;gap:7px}.dn-lesung .dn-lesung__languages>span{flex-basis:100%}}

/* Place the portrait credit across the full header width, below photo and title. */
.dn-lesung .eh-lesung__header{display:grid;grid-template-columns:84px minmax(0,1fr);column-gap:clamp(16px,2vw,24px);row-gap:8px;align-items:center}
.dn-lesung .eh-lesung__portrait{display:contents}
.dn-lesung .eh-lesung__portrait img{grid-column:1;grid-row:1}
.dn-lesung .eh-lesung__header>div{grid-column:2;grid-row:1;min-width:0}
.dn-lesung .eh-lesung__portrait figcaption{grid-column:1/-1;grid-row:2;margin:0;padding:0;text-align:left;white-space:normal}
@media(max-width:700px){.dn-lesung .eh-lesung__header{grid-template-columns:68px minmax(0,1fr)}}
@media(max-width:480px){.dn-lesung .eh-lesung__header{grid-template-columns:60px minmax(0,1fr)}}
.dn-lesung--story .eh-lesung__header{grid-template-columns:60px minmax(0,1fr)}

/* Compact selection for the existing full reading and five sections. */
.dn-lesung .dn-lesung__choices{display:none}
@media(max-width:700px){
  .dn-lesung--mobile-picker [data-dn-picker],.dn-lesung--mobile-picker>.eh-lesung__label,.dn-lesung--mobile-picker [data-dn-selected]{display:none}
  .dn-lesung.dn-lesung--mobile-picker .dn-lesung__choices{display:block;margin:0 0 18px;border:1px solid var(--eh-line,#ded3c4);border-radius:12px;background:var(--eh-cream,#f4f0e7);overflow:hidden}
  .dn-lesung .dn-lesung__choice-summary{position:relative;display:block;min-height:76px;margin:0;padding:12px 42px 12px 14px;list-style:none;cursor:pointer;color:var(--eh-ink,#29272c);text-align:left}
  .dn-lesung .dn-lesung__choice-summary::-webkit-details-marker{display:none}
  .dn-lesung .dn-lesung__choice-label{display:block;margin:0 0 5px;font-size:12px;line-height:1.4;font-weight:500;color:var(--eh-muted,#66616a)}
  .dn-lesung .dn-lesung__choice-current{display:block;font-size:15px;line-height:1.4;font-weight:600;overflow-wrap:break-word}
  .dn-lesung .dn-lesung__choice-meta{display:block;margin-top:5px;font-size:12px;line-height:1.4;font-weight:400;font-variant-numeric:tabular-nums;color:var(--eh-muted,#66616a)}
  .dn-lesung .dn-lesung__choice-chevron{position:absolute;right:18px;top:calc(50% - 5px);width:8px;height:8px;border-right:1.5px solid #8f2439;border-bottom:1.5px solid #8f2439;transform:rotate(45deg)}
  .dn-lesung .dn-lesung__choices[open] .dn-lesung__choice-chevron{top:50%;transform:rotate(225deg)}
  .dn-lesung .dn-lesung__choice-options{min-width:0;margin:0;padding:5px;border:0;border-top:1px solid var(--eh-line,#ded3c4);background:var(--eh-paper,#fffdfa)}
  .dn-lesung .dn-lesung__choice-legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .dn-lesung .dn-lesung__choice-option{position:relative;display:block;margin:0;cursor:pointer}
  .dn-lesung .dn-lesung__choice-radio{position:absolute;width:1px;height:1px;opacity:0;clip-path:inset(50%)}
  .dn-lesung .dn-lesung__choice-content{display:grid;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:52px;padding:10px 9px;border-radius:8px;color:var(--eh-ink,#29272c)}
  .dn-lesung .dn-lesung__choice-option+.dn-lesung__choice-option{border-top:1px solid #eee7dc}
  .dn-lesung .dn-lesung__choice-option--full{padding-bottom:5px;margin-bottom:3px}
  .dn-lesung .dn-lesung__choice-option--full+.dn-lesung__choice-option{border-top-color:#ded3c4}
  .dn-lesung .dn-lesung__choice-option--full .dn-lesung__choice-name{font-weight:600}
  .dn-lesung .dn-lesung__choice-number{display:flex;align-items:center;justify-content:center;width:25px;height:25px;border:1px solid var(--eh-line,#ded3c4);border-radius:50%;font-size:12px;line-height:1;font-weight:500;color:var(--eh-muted,#66616a)}
  .dn-lesung .dn-lesung__choice-name{font-size:15px;line-height:1.4;font-weight:400;overflow-wrap:break-word}
  .dn-lesung .dn-lesung__choice-duration{font-size:12px;line-height:1.4;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--eh-muted,#66616a)}
  .dn-lesung .dn-lesung__choice-radio:checked+.dn-lesung__choice-content{background:#f5e9e9}
  .dn-lesung .dn-lesung__choice-radio:checked+.dn-lesung__choice-content .dn-lesung__choice-number{border-color:#8f2439;background:#8f2439;color:#fffdfa}
  .dn-lesung .dn-lesung__choice-radio:checked+.dn-lesung__choice-content .dn-lesung__choice-name{font-weight:600}
  .dn-lesung .dn-lesung__choice-radio:focus-visible+.dn-lesung__choice-content,.dn-lesung .dn-lesung__choice-summary:focus-visible{outline:2px solid #b68e32;outline-offset:-3px}
  .dn-lesung .dn-lesung__choice-content:hover{background:#f4f0e7}
}

/* Series eyebrow above the story title, scoped to the existing reading card. */
.dn-lesung > .dn-lesung__series{margin:0 0 .35rem;color:#8f2439;font-family:inherit;font-size:.8125rem;font-weight:700;line-height:1.45;letter-spacing:.1em;text-transform:uppercase;overflow-wrap:break-word}
.dn-lesung > .dn-lesung__series + .eh-lesung__book{margin-top:0}
