/* Ordinary extension of the approved Schwermetall article. */
.article-page .article-hero h1 { overflow-wrap:break-word; hyphens:auto; text-wrap:balance; }
.article-opening.no-image { display:block; max-width:1050px; }
.article-opening.no-image .article-intro { max-width:75ch; }
.article-opening .original-image img { aspect-ratio:auto; object-fit:contain; max-height:420px; width:auto; max-width:100%; margin:auto; }
.article-opening .original-image { align-self:center; }
.article-intro:empty { display:none; }
.source-block { font-size:17px; line-height:1.85; overflow-wrap:anywhere; }
.source-block ol { padding-left:26px; margin:20px 0; }
.source-block > h3:first-child { margin-top:0; }
.article-reading .article-sources { padding-top:5px; }
.article-review { margin-top:32px; padding-top:25px; border-top:1px solid #d6dfce; }
body[data-page="wissen"] .article-review h3 { font-size:23px; margin:0 0 20px; }
.article-review dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:0 0 22px; }
.article-review dt { font-weight:650; font-size:14px; color:#35432d; margin-bottom:8px; }
.article-review dd { margin:0; font-size:14px; line-height:1.7; color:#59634f; }
.original-figure { margin:30px 0; max-width:100%; }
.original-figure img { display:block; width:auto; max-width:100%; height:auto; max-height:600px; margin:0 auto; }
.original-figure figcaption,.original-image figcaption { margin-top:12px; font-size:12px; line-height:1.6; color:#59634f; }
.article-reading .original-figure a { text-decoration:none; }
.image-action { display:flex; justify-content:space-between; align-items:center; gap:18px; padding:14px 18px; font-size:14px; font-weight:600; color:#35432d; background:linear-gradient(110deg,#f7f9f1,#eef3e3 35%,#dce9c3 70%,#f4f8ea); background-size:240% 100%; border-radius:0 0 7px 7px; transition:background-position .35s ease; }
.original-figure a:hover .image-action,.original-figure a:focus-visible .image-action { background-position:100% 50%; }
.article-table-wrap { overflow-x:auto; margin:24px 0; border:1px solid #d6dfce; border-radius:8px; }
.article-table { width:100%; border-collapse:collapse; font-size:16px; line-height:1.65; }
.article-table th,.article-table td { padding:15px 18px; text-align:left; vertical-align:top; }
.article-table thead { background:#ecf2e2; color:#35432d; }
.article-table tbody th { font-weight:500; }
.article-table tr+tr>* { border-top:1px solid #dfe6d5; }
.article-table td { font-variant-numeric:tabular-nums; white-space:nowrap; text-align:right; }
.article-table tbody tr:nth-child(even) { background:#f8faf4; }
.resource-list { list-style:none; padding:0!important; margin:0!important; }
.resource-list>li { padding:22px 0; margin:0; border-bottom:1px solid #d6dfce; }
.resource-list>li:first-child { padding-top:0; }
.resource-list a { display:flex; gap:24px; justify-content:space-between; align-items:center; font-weight:600; }
.resource-list p { margin:9px 0 0; font-size:15px; }
.resource-kind { display:block; margin-top:6px; font-size:12px; color:#59634f; }
.media-resources { display:grid; grid-template-columns:1fr 1fr; gap:30px; }
.media-resources figure { margin:0; }
.media-resources img { width:100%; height:180px; object-fit:contain; background:#f7f9f2; border-radius:7px; }
.media-resources figcaption { padding-top:12px; font-size:16px; line-height:1.6; }
.media-resources .publication img { height:260px; }
.media-resources a { display:block; }
.media-resources .media-meta { display:block; font-size:12px; color:#59634f; margin-top:5px; }
.article-page ::selection { background:#dce9c3; color:#26391f; }
.article-page :is(a,button,summary):focus-visible { outline:3px solid #526b32; outline-offset:4px; }
.article-side { max-height:calc(100dvh - 150px); overflow-y:auto; scrollbar-width:thin; scrollbar-color:#bdcba9 #f8faf4; }
@media(max-width:850px) { .article-side { max-height:none; overflow:visible; } }
@media(max-width:650px) {
  .source-block { font-size:16px; line-height:1.8; }
  .article-review dl { grid-template-columns:1fr; gap:18px; }
  .article-table { font-size:14px; }.article-table th,.article-table td { padding:12px; }
  .media-resources { grid-template-columns:1fr; gap:30px; }
  .article-opening .original-image img { max-height:300px; }
}
@media(prefers-reduced-motion:reduce) { .image-action { transition:none; } }

/* Local thumbnails, external playback only: approved interview feed. */
:is(#interviews, #filme) .interview-notice { margin: -8px 0 28px; font-size: 14px; color: #59634f; }
:is(#interviews, #filme) .interview-feed { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px 24px; }
:is(#interviews, #filme) .interview-feed li { margin: 0; padding: 0; min-width: 0; display: flex; }
:is(#interviews, #filme) .interview-card { display: flex; flex-direction: column; width: 100%; color: #35432d; text-decoration: none; border-radius: 12px; }
:is(#interviews, #filme) .interview-thumbnail { position: relative; display: block; overflow: hidden; border-radius: 12px; background: #edf1e5; aspect-ratio: 16 / 9; }
:is(#interviews, #filme) .interview-thumbnail img { display: block; width: 100%; height: 100%; object-fit: contain; transition: filter .2s ease; }
:is(#interviews, #filme) .interview-duration { position: absolute; right: 8px; bottom: 8px; border-radius: 4px; padding: 2px 6px; color: white; background: #182016; font-size: 12px; line-height: 1.5; font-weight: 600; font-variant-numeric: tabular-nums; }
:is(#interviews, #filme) .interview-meta { display: flex; gap: 8px; margin: 16px 0 8px; font-size: 12px; font-weight: 500; color: #59634f; }
:is(#interviews, #filme) .interview-title { display: block; font-size: 18px; font-weight: 650; line-height: 1.5; margin-bottom: 20px; }
:is(#interviews, #filme) .interview-action { display: flex; align-items: center; gap: 9px; padding: 12px 14px; margin-top: auto; font-size: 12px; font-weight: 600; background: #f0f4e8; border-radius: 8px; transition: background-color .2s ease; }
:is(#interviews, #filme) .interview-action>svg:last-child { margin-left: auto; width: 18px; height: 18px; }
:is(#interviews, #filme) svg.youtube-logo { width: 24px; height: 18px; flex: none; stroke: none; }
:is(#interviews, #filme) .youtube-logo path { stroke: none; }
:is(#interviews, #filme) .interview-card:hover .interview-action, :is(#interviews, #filme) .interview-card:focus-visible .interview-action { background: #e1ebd2; }
:is(#interviews, #filme) .interview-card:hover .interview-thumbnail img { filter: brightness(1.04); }
:is(#interviews, #filme) .interview-card:focus-visible { outline: 3px solid #526b32; outline-offset: 5px; }
@media(max-width:650px) { :is(#interviews, #filme) .interview-feed { grid-template-columns: 1fr; gap: 32px; } }
@media(prefers-reduced-motion:reduce) { :is(#interviews, #filme) .interview-thumbnail img, :is(#interviews, #filme) .interview-action { transition: none; } }

/* Growing patient-link directory: compact entries, progressive disclosure. */
#patienten-links [hidden] { display: none !important; }
#patienten-links .directory-intro { color: #59634f; font-size: 16px; margin: -4px 0 24px; }
#patienten-links .directory-controls { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; padding: 24px; border-radius: 12px; background: radial-gradient(ellipse at 0 0,#fafcf5 0,transparent 68%),linear-gradient(120deg,#eef4e2,#e1ebce 64%,#d2e0b9); }
#patienten-links label { display: block; font-size: 13px; font-weight: 650; color: #35432d; margin-bottom: 8px; }
#patienten-links input, #patienten-links select { min-width: 0; width: 100%; height: 48px; border: 1px solid #aab89b; border-radius: 7px; background: #fff; color: #35432d; font: 400 14px/1.5 Inter, sans-serif; }
#patienten-links input { padding: 10px 32px 10px 40px; }
#patienten-links select { padding: 10px 28px 10px 12px; text-overflow: ellipsis; }
#patienten-links .directory-input { position: relative; }
#patienten-links .directory-input svg { position: absolute; width: 19px; height: 19px; left: 13px; top: 14px; pointer-events: none; stroke: #59634f; stroke-width: 1.6; fill: none; }
#patienten-links .directory-status { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
#patienten-links .directory-status p { font-size: 13px; margin: 0; color: #59634f; }
#patienten-links .directory-status button { border: 0; background: transparent; padding: 10px 0; min-height: 44px; font: 600 12px/1.5 Inter,sans-serif; color: #465238; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
#patienten-links .patient-links { list-style: none; margin: 0; padding: 0; }
#patienten-links .patient-links>li { position: relative; padding: 20px 0; margin: 0; border-top: 1px solid #d6dfce; }
#patienten-links .patient-link-topic { font-size: 11px; line-height: 1.5; color: #59634f; display: block; margin-bottom: 4px; }
#patienten-links .patient-link-title { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; color: #35432d; text-decoration: none; font-size: 17px; line-height: 1.5; font-weight: 650; }
#patienten-links .patient-link-title:hover { text-decoration: underline; text-underline-offset: 4px; }
#patienten-links .patient-link-title svg { width: 20px; height: 20px; flex: none; stroke: currentColor; stroke-width: 1.6; fill: none; }
#patienten-links .patient-link-meta { display: block; font-size: 12px; color: #59634f; line-height: 1.6; margin-top: 6px; overflow-wrap: anywhere; }
#patienten-links .patient-link-meta>span { padding: 0 4px; }
#patienten-links .patient-link-details { border: 0; padding: 0; margin: 0; }
#patienten-links .patient-link-main { padding-right: 124px; }
#patienten-links .patient-link-details summary { position: absolute; right: 0; top: 30px; display: flex; gap: 10px; align-items: center; justify-content: center; width: 96px; min-height: 44px; margin: 0; padding: 8px; border-radius: 4px; background: transparent; font: 400 12px/1.5 Inter,sans-serif; color: #59634f; list-style: none; cursor: pointer; border-left: 1px solid #d6dfce; }
#patienten-links .patient-link-details summary::-webkit-details-marker { display: none; }
#patienten-links .patient-link-details summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
#patienten-links .patient-link-details[open] summary { color: #35432d; }
#patienten-links .patient-link-details summary:hover { background: #f2f5eb; color: #35432d; }
#patienten-links .patient-link-details[open] { margin-top: 14px; }
#patienten-links .patient-link-details[open] summary svg { transform: rotate(180deg); }
#patienten-links .patient-link-details p { margin: 0; background: #f5f7ef; border-radius: 8px; padding: 16px 20px; font-size: 15px; line-height: 1.75; }
#patienten-links .directory-more { display: block; width: 100%; min-height: 52px; margin-top: 16px; padding: 14px 20px; border: 1px solid #b6c5a5; border-radius: 9px; background: linear-gradient(110deg,#f6f9ed,#e2eccf 45%,#c9dba8 75%,#e8f0da); background-size: 180% 100%; color: #35432d; font: 650 14px/1.5 Inter,sans-serif; cursor: pointer; transition: background-position .25s ease; }
#patienten-links .directory-more:hover,#patienten-links .directory-more:focus-visible { background-position: 100% 50%; }
#patienten-links .directory-empty { padding: 28px 24px; background: #f5f7ef; border-radius: 8px; font-size: 16px; }
#patienten-links .directory-external-note { font-size: 12px; color: #59634f; margin: 16px 0 0; }
#patienten-links :is(input,select,summary,button,a):focus-visible { outline: 3px solid #526b32; outline-offset: 4px; }
.directory-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(max-width:650px) { #patienten-links .directory-controls { grid-template-columns: 1fr; padding: 20px; gap: 16px; } #patienten-links .patient-link-title { font-size: 16px; } }
@media(max-width:650px) {
  #patienten-links .patient-link-main { padding-right: 0; }
  #patienten-links .patient-link-details summary { position: static; width: fit-content; min-height: 32px; margin: 6px 0 0; padding: 5px 8px 5px 0; border-left: 0; justify-content: flex-start; }
  #patienten-links .patient-link-details[open] { margin-top: 0; }
  #patienten-links .patient-link-details[open] summary { margin-bottom: 8px; }
}
/* Custom theme chooser, scoped to the directory. */
#patienten-links .topic-picker { position: relative; }
#patienten-links .topic-trigger { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; padding: 10px 14px; border: 1px solid #aab89b; border-radius: 7px; background: #fff; color: #35432d; font: 500 14px/1.5 Inter,sans-serif; cursor: pointer; }
#patienten-links .topic-trigger svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .18s ease; }
#patienten-links .topic-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
#patienten-links .topic-options { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; width: max(100%,360px); max-width: calc(100vw - 72px); padding: 8px; border-radius: 12px; background: #fff; box-shadow: 0 12px 36px #26391f26; max-height: min(420px,60dvh); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #b6c5a5 #fff; }
#patienten-links .topic-options button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; border: 0; border-radius: 7px; padding: 13px 14px; min-height: 48px; font: 500 14px/1.5 Inter,sans-serif; text-align: left; color: #35432d; background: #fff; cursor: pointer; }
#patienten-links .topic-options button[aria-selected="true"] { background: #e7eedb; font-weight: 650; }
#patienten-links .topic-options button:hover { background: #f0f4e9; }
#patienten-links .topic-options button:focus-visible { outline: 2px solid #526b32; outline-offset: -2px; background: #f0f4e9; }
#patienten-links .topic-amount { font-size: 12px; min-width: 28px; text-align: center; padding: 2px 6px; border-radius: 5px; background: #f2f5ec; color: #465238; font-variant-numeric: tabular-nums; }
@media(prefers-reduced-motion:reduce) { #patienten-links .topic-trigger svg { transition: none; } }
#patienten-links .topic-picker.opens-above .topic-options { top: auto; bottom: calc(100% + 8px); }

/* Documentaries form compact rows; interviews keep their existing feed. */
#filme .film-notice { margin: -8px 0 28px; font-size: 14px; color: #59634f; }
#filme .film-list { margin: 0; padding: 0; list-style: none; }
#filme .film-list li { margin: 0; padding: 0; border-top: 1px solid #d6dfce; }
#filme .film-list li:last-child { border-bottom: 1px solid #d6dfce; }
#filme .film-row { display: grid; grid-template-columns: 168px minmax(0,1fr); gap: 24px; align-items: center; padding: 20px 0; text-decoration: none; color: #35432d; }
#filme .film-thumbnail { display: block; aspect-ratio: 16/9; overflow: hidden; border-radius: 8px; background: #f2f5ec; }
#filme .film-thumbnail img { display: block; width: 100%; height: 100%; object-fit: contain; }
#filme .film-copy { display: flex; flex-direction: column; gap: 14px; }
#filme .film-title { font-size: 18px; font-weight: 650; line-height: 1.5; }
#filme .film-action { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; line-height: 1.5; }
#filme .film-action .youtube-logo { width: 23px; height: 17px; flex: none; stroke: none; }
#filme .film-action>svg:last-child { width: 18px; height: 18px; margin-left: auto; }
#filme .film-row:hover .film-title { text-decoration: underline; text-underline-offset: 4px; }
#filme .film-row:hover .film-action { color: #536d32; }
#filme .film-row:focus-visible { outline: 3px solid #526b32; outline-offset: 4px; border-radius: 8px; }
@media(max-width:650px) { #filme .film-row { grid-template-columns: 100px minmax(0,1fr); gap: 16px; padding: 20px 0; } #filme .film-title { font-size: 16px; } #filme .film-copy { gap: 10px; } #filme .film-action { font-size: 12px; flex-wrap: wrap; } #filme .film-action>svg:last-child { display: none; } }
@media(prefers-reduced-motion:reduce) { #patienten-links .directory-more { transition: none; } }

/* Match the last three originals to the thumbnail window without stretching. */
#filme .film-thumbnail[data-film="doku-health"] img { object-fit: cover; transform: scale(1.32); }
#filme .film-thumbnail[data-film="doku-mittelmeer"] img,
#filme .film-thumbnail[data-film="doku-lachs"] img { object-fit: cover; }

/* Existing publication images become covers; the linked files remain PDFs. */
#veroeffentlichungen .media-resources { gap: 36px; }
#veroeffentlichungen .publication a { text-decoration: none; color: #35432d; }
#veroeffentlichungen .book-scene { display: flex; align-items: center; justify-content: center; min-height: 320px; padding: 28px 28px 34px; perspective: 900px; background: linear-gradient(160deg,#fafbf7,#eef2e7); border-radius: 12px; }
#veroeffentlichungen .book-volume { position: relative; display: block; width: 176px; transform: rotateY(-16deg) rotateZ(-2deg); transform-style: preserve-3d; box-shadow: 9px 18px 22px -12px #27392166; transition: transform .3s ease; }
#veroeffentlichungen .publication:nth-child(2) .book-volume { transform: rotateY(-16deg) rotateZ(2deg); }
#veroeffentlichungen .book-volume::before { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: 2px; background: linear-gradient(90deg,#26331e40,transparent 4%,#fff6 5%,#26331e26 7%,transparent 11%); pointer-events: none; }
#veroeffentlichungen .book-volume::after { content: ''; position: absolute; width: 10px; top: 2px; bottom: 1px; right: -9px; background: repeating-linear-gradient(90deg,#f6f4e9 0 2px,#d5d6ca 2px 3px); border-radius: 0 3px 3px 0; transform: skewY(-12deg); transform-origin: left top; box-shadow: inset -2px 0 2px #9ca58c66; }
#veroeffentlichungen .book-volume img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; border-radius: 2px; background: white; }
#veroeffentlichungen .publication figcaption { padding: 22px 0 0; font-size: 18px; font-weight: 650; line-height: 1.5; }
#veroeffentlichungen .publication .media-meta { font-size: 13px; font-weight: 500; padding-top: 3px; }
#veroeffentlichungen .publication a:hover .book-volume,
#veroeffentlichungen .publication a:focus-visible .book-volume { transform: translateY(-4px) rotateY(-8deg); }
#veroeffentlichungen .publication a:focus-visible { outline: 3px solid #526b32; outline-offset: 5px; border-radius: 12px; }
@media(max-width:650px) { #veroeffentlichungen .media-resources { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; } #veroeffentlichungen .book-scene { min-height: 210px; padding: 22px 16px; } #veroeffentlichungen .book-volume { width: 100%; max-width: 140px; } #veroeffentlichungen .publication figcaption { font-size: 16px; } }
@media(max-width:360px) { #veroeffentlichungen .media-resources { grid-template-columns: 1fr; } }
@media(prefers-reduced-motion:reduce) { #veroeffentlichungen .book-volume { transition: none; } }
