/* Shared site furniture and the editorial layouts that sit beside the archive. */
:root {
  --paper:#fbfaf6; --surface:#fffefa; --ink:#252720; --muted:#575d51;
  --terra:#923b29; --green:#284c40; --rule:#cfcec2;
  --serif:Baskervville,Georgia,serif; --sans:'DM Sans',Arial,sans-serif;
}
html {scrollbar-gutter:stable}
.ak-header,.ak-footer {color:var(--ink);background:var(--paper);font:1rem/1.4 var(--sans)}
.ak-header {border-top:4px solid var(--ink);border-bottom:1px solid var(--rule);position:relative;z-index:5}
.ak-head-inner,.ak-footer>div {max-width:1260px;width:91%;margin:auto;display:flex;align-items:center;gap:clamp(.8rem,2.7vw,2.6rem)}
.ak-head-inner {min-height:86px}
.ak-logo {margin-right:auto}
.ak-logo img {width:clamp(155px,16vw,222px);height:auto;mix-blend-mode:multiply;display:block}
.ak-menu,.ak-tools-nav,.ak-languages,.ak-footer nav {display:flex;align-items:center;gap:clamp(.7rem,1.6vw,1.45rem)}
.ak-menu a,.ak-menu summary,.ak-languages a,.ak-header button,.ak-footer nav a {font:600 .91rem/1.4 var(--sans);text-decoration:none;color:var(--ink)}
.ak-menu> a,.ak-menu summary {padding:.85rem 0}
.ak-menu a:hover,.ak-menu summary:hover,.ak-footer a:hover {text-decoration:underline;text-underline-offset:.3em;color:var(--terra)}
.ak-menu a[aria-current="page"] {color:var(--terra);text-decoration:underline;text-underline-offset:.36em}
.ak-group {position:relative;margin:0;padding:0}
.ak-group summary,.ak-filters summary {cursor:pointer;list-style:none}
.ak-group summary::-webkit-details-marker,.ak-filters summary::-webkit-details-marker {display:none}
.ak-group summary:after,.ak-filters summary:after {content:"";display:inline-block;width:.41em;height:.41em;border:solid currentColor;border-width:0 1.4px 1.4px 0;transform:translateY(-.18em) rotate(45deg);margin-left:.52em}
.ak-group[open] summary:after,.ak-filters[open] summary:after {transform:rotate(225deg)}
.ak-flyout {position:absolute;top:100%;left:-1rem;min-width:14rem;padding:.55rem;background:var(--surface);border:1px solid var(--rule);box-shadow:0 .6rem 1.1rem #29271818}
.ak-flyout a {display:block;padding:.58rem .68rem}
.ak-flyout a:hover {background:#f1f0e7}
.ak-tools-nav {gap:.85rem}
.ak-languages {gap:0}
.ak-languages a {padding:.45rem .36rem;font-size:.84rem;font-weight:500}
.ak-languages a[aria-current] {color:var(--terra);font-weight:750;text-decoration:underline;text-underline-offset:.34em}
.ak-header [data-site-review],.ak-mobile-toggle {padding:.42rem .7rem;border:1px solid #adada2;background:transparent;border-radius:.22rem}
.ak-header [data-site-review]:hover {background:#eeede4}
.ak-mobile-toggle {display:none}
.ak-footer {border-top:1px solid var(--rule);margin-top:clamp(3rem,7vw,6rem);padding:1.8rem 0 2.3rem}
.ak-footer>div {justify-content:space-between;flex-wrap:wrap}
.ak-footer strong {font:500 1.3rem var(--serif)}
.ak-footer nav {flex-wrap:wrap}
.ak-footer nav a {font-weight:500}
.ak-header :focus-visible,.ak-footer :focus-visible,.ak-filters summary:focus-visible {outline:3px solid #28758a;outline-offset:3px}
.ak-edition {display:grid;grid-template-columns:1.1fr 1fr;align-items:end;gap:clamp(1rem,5vw,6rem);padding-bottom:clamp(1.55rem,3vw,2.5rem);border-bottom:2px solid var(--ink)}
.ak-edition h1 {line-height:1;margin:.38rem 0 0;font-size:clamp(3.5rem,7vw,6rem)}
.ak-edition>p {font:400 clamp(1.12rem,1.8vw,1.5rem)/1.4 var(--serif);max-width:40ch;margin:0}
.ak-edition+.filters {position:relative;background:transparent;border:0;padding:1rem 0 .25rem;align-items:flex-end}
.ak-edition+.filters .q {max-width:36rem}
.ak-edition+.filters input,.ak-edition+.filters select,.ak-edition+.filters .btn {min-height:40px}
.ak-edition+.filters .q,.ak-filters summary,.ak-filters label {font-size:.88rem}
.filter-icon{width:1.22em;height:1.22em;flex:none;vertical-align:middle}
#filters>.primary,.filter-label,.ak-filters>summary strong,.filter-hints,.filter-hints span{display:flex;align-items:center;gap:.45rem}
.ak-filters{flex:1 0 100%;min-width:0;margin:.4rem 0 0;color:var(--green)}
.ak-filters>summary{display:flex;align-items:center;gap:1.3rem;padding:.85rem 1rem;background:#e5ede5;border:1px solid #a0b6a6;border-left:4px solid var(--green);border-radius:4px;color:var(--green)}
.ak-filters>summary:hover,.ak-filters[open]>summary{background:#d9e6dc;border-color:var(--green)}
.ak-filters>summary strong{font-size:1.05rem}
.ak-filters>summary:after{margin-left:auto;margin-right:.3rem;width:.57rem;height:.57rem;border-width:0 2px 2px 0;flex:none}
.filter-hints{flex-wrap:wrap;gap:.35rem 1.25rem;font-size:.94rem;border-left:1px solid #99aa9f;padding-left:1.3rem}
.filter-label{color:var(--green);min-height:1.6rem}
.ak-filters>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:.85rem 1rem;padding:1rem 0}
.ak-filters>div>label{min-width:0}
.name-filter>.textlink{display:inline-block;margin-top:.4rem}
.name-panel input{width:100%}
@media(max-width:900px){.ak-filters>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){
 .ak-filters>summary{display:grid;grid-template-columns:1fr auto;gap:.55rem;padding:.75rem}
 .ak-filters>summary:after{grid-column:2;grid-row:1}
 .filter-hints{grid-column:1/-1;border:0;padding:0;font-size:.84rem;column-gap:.85rem}
}
@media(max-width:540px){
 .ak-filters>div{grid-template-columns:1fr}
 #filters .q{flex:1;min-width:0}
 #filters input,#filters select{font-size:1rem}
}
.ak-edition~.refine {margin-block:.5rem;max-width:max-content}
.result.is-featured .mark strong {display:inline-block;color:var(--terra);border-bottom:2px solid var(--terra);font-size:.85rem;line-height:1.5}
.result.is-featured .chips {margin-top:.75rem}
.result.is-featured .chip {font-size:.82rem;background:transparent}
.result .by,.result .mark,.result .mark span {font-size:.84rem}
.result p {font-size:.98rem;max-width:80ch}
.result {grid-template-columns:clamp(115px,13vw,170px) minmax(0,1fr) minmax(105px,18%)}
.result .mark {grid-column:1;grid-row:1}
.result .mark+div {grid-column:2;grid-row:1}
.result .image img {height:auto;max-height:9rem;object-fit:cover}
.ak-edition~.result.is-featured:first-of-type:has(.image) .image img {max-height:14rem}
.ak-edition~.result.is-featured:first-of-type h3 {font-size:clamp(1.75rem,3.15vw,2.9rem)}
.article-grid aside ul {padding:0;list-style:none;margin:.4rem 0}
.article-grid aside li+li {margin-top:.65rem}
.article-grid aside figcaption,.prose figcaption {font:.86rem/1.45 var(--sans);color:var(--muted);margin-top:.45rem}
.ak-info {max-width:52rem;margin:auto}
.ak-info>h2,.ak-info>section>h2 {font-size:clamp(1.65rem,3vw,2.3rem);margin:1.6em 0 .5em}
.ak-info>h2:first-of-type {margin-top:1em}
.ak-info p,.ak-info li {line-height:1.65}
.ak-info p+p,.ak-info p+img,.ak-info p+a {margin-top:.85em}
.ak-intro {font:400 clamp(1.22rem,2vw,1.6rem)/1.5 var(--serif)}
.ak-book {display:grid;align-items:start;grid-template-columns:minmax(100px,155px) 1fr;gap:clamp(1rem,4vw,2.9rem);padding:2rem 0;border-top:1px solid var(--rule);margin-top:1rem}
.ak-book img {max-height:13rem;object-fit:contain}
.ak-book h2 {font-size:clamp(1.65rem,3vw,2.2rem);margin:0 0 .65rem}
.prose figure img {max-width:100%;height:auto}
.blog-links {margin-top:.9rem}
.blog-links summary {cursor:pointer;color:var(--green);font-size:.94rem}
.blog-links p {font-size:.92rem;margin:.5rem 0}
@media(min-width:951px) and (max-width:1100px){
 .ak-head-inner {gap:1rem}
 .ak-menu {gap:.8rem;white-space:nowrap}
 .ak-flyout {white-space:normal}
 .ak-tools-nav {gap:.45rem}
}
@media(max-width:950px){
 .ak-head-inner {gap:.75rem;min-height:68px}
 .ak-mobile-toggle {display:block}
 .ak-menu {position:absolute;top:100%;right:4.5%;left:4.5%;display:none;align-items:stretch;flex-direction:column;gap:0;background:var(--surface);border:1px solid var(--rule);padding:.6rem 1rem;box-shadow:0 .5rem 1.2rem #29271818;max-height:72vh;overflow:auto}
 .ak-mobile-toggle[aria-expanded="true"]+.ak-menu {display:flex}
 .ak-menu>a,.ak-menu summary {padding:.65rem 0}
 .ak-flyout {position:static;min-width:0;border:0;border-left:2px solid var(--rule);padding:0 .45rem;box-shadow:none}
}
@media(max-width:620px){
 .ak-head-inner,.ak-footer>div {width:calc(100% - 28px);gap:.45rem}
 .ak-logo img {width:clamp(93px,27vw,150px)}
 .ak-header button,.ak-header [data-site-review] {font-size:.81rem;padding:.42rem .48rem}
 .ak-tools-nav {gap:.3rem}
 .ak-languages a {font-size:.79rem;padding:.5rem .26rem}
 .ak-edition {grid-template-columns:1fr;gap:.75rem}
 .ak-edition>p {max-width:48ch}
 /* Keep the title and date aligned even when either illustration is absent. */
 .result {grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.5rem 1rem}
 .result .mark {display:contents}
 .result .stamp {grid-column:1/-1;grid-row:1;display:flex;flex-wrap:wrap;align-items:baseline;gap:.45rem}
 .result .mark span {display:inline;font-size:.81rem}
 .result .mark span:before {content:none}
 .result .mark+div {grid-column:1/-1;grid-row:2}
 .result .mark .article-map {grid-column:1;grid-row:3;margin:.5rem 0 0;align-self:start}
 .result .image {grid-column:2;grid-row:3;margin-top:.5rem;align-self:start}
 .result p {font-size:.94rem}
 .ak-footer nav {gap:.65rem 1rem}
 .ak-book {grid-template-columns:85px 1fr}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:0s!important}}
@media print{.ak-header nav,.ak-header button,.ak-footer,.site-review-picker,.site-review-dialog{display:none!important}}

@media(max-width:950px){
 html:not(.has-site-js) .ak-head-inner {flex-wrap:wrap}
 html:not(.has-site-js) .ak-mobile-toggle {display:none}
 html:not(.has-site-js) .ak-menu {position:static;display:flex;order:3;width:100%;box-shadow:none;max-height:none}
}

/* The masthead takes over the logo on the article index. */
body:has(.ak-edition,.landing-logo) .ak-header:not(.has-small-logo) .ak-logo {visibility:hidden}
@media screen {
 html {scroll-padding-top:100px}
 .ak-header {
   --header-space:86px;
   --header-reduction:34px;
   --shrink:0;
   position:sticky;top:0;
   /* Return the saved height to the page so the text stays put while scrolling. */
   margin-bottom:calc(var(--header-reduction) * var(--shrink));
 }
 .ak-head-inner {min-height:calc(var(--header-space) - var(--header-reduction) * var(--shrink))}
 .ak-logo img {transform-origin:left center}
 .ak-header.has-small-logo ~ main :is(.ak-edition h1,.landing-logo) img {opacity:0}
 .ak-header.has-small-logo .ak-logo:focus-visible img {outline:3px solid #28758a}
 .ak-header.has-small-logo .ak-logo {z-index:0}
 .skip:focus {position:fixed;top:.5rem;z-index:10}
 .ak-header .ak-menu,.ak-header .ak-tools-nav,.ak-header .ak-mobile-toggle {z-index:1}
}
@media screen and (min-width:951px) {
 .ak-flyout {max-height:calc(100dvh - 100px);overflow:auto}
}
@media screen and (max-width:950px) {
 html {scroll-padding-top:84px}
 .ak-header {--header-space:68px;--header-reduction:20px}
 /* The travelling logo may visually extend beyond its flex slot. Keep its
    transformed artwork out of hit testing; the home link itself stays clickable. */
 .ak-header .ak-logo {position:relative;z-index:0;min-width:0}
 .ak-header .ak-logo img {pointer-events:none;max-width:100%}
 .ak-header .ak-mobile-toggle,.ak-header .ak-tools-nav {position:relative;z-index:2;flex-shrink:0}
 .ak-header .ak-mobile-toggle {min-width:44px;min-height:44px;touch-action:manipulation}
 .ak-header .ak-menu {z-index:3;max-height:calc(100dvh - 86px)}
}
@media screen and (max-width:360px) {
 .ak-head-inner {gap:.25rem}
 .ak-tools-nav {gap:.1rem}
 .ak-languages a {padding-inline:.18rem}
 .ak-header [data-site-review] {white-space:nowrap;padding-inline:.3rem}
}
@media print {
 .ak-logo img {transform:none!important}
 body:has(.ak-edition,.landing-logo) .ak-logo {display:none}
}
.landing-logo {max-width:36rem}
.landing-logo img,.ak-edition h1 img {display:block;width:100%;height:auto;mix-blend-mode:multiply}

.active-filters,.match-labels {display:flex;flex-wrap:wrap;gap:.4rem;margin:.7rem 0}
.match-labels {margin:0 0 .55rem}
.active-filters a.chip,.match-labels strong,.result a.chosen,.result .ak-card-tag.chosen {
  background:#164c39;color:white;border:2px solid #164c39;border-radius:.3rem;
  padding:.23rem .55rem;font:700 .9rem/1.4 var(--sans);overflow-wrap:anywhere
}
.active-filters a.chip:hover,.result a.chosen:hover {background:#783720;border-color:#783720}
#filters .chosen,.map-filters select:has(option:checked:not([value=""]):not([value="alle"])) {
  background:#e4f2e6;border:2px solid #164c39;color:#153c30;font-weight:700
}
.by img.author-photo,.map-hits img.author-photo {
  width:2.25rem;height:2.25rem;object-fit:cover;object-position:50% 32%;
  display:inline-block;border-radius:50%;vertical-align:middle;margin-right:.45rem
}
.article-map {display:block;width:min(100%,19rem);margin:.9rem 0;color:#194b3b;font:650 .82rem/1.6 var(--sans)}
.article-map canvas {display:block;width:100%;height:auto;background:#dceae8;border:1px solid #98afa6;border-radius:.25rem}
.article-map:hover canvas,.article-map:focus-visible canvas {outline:3px solid #245740}
#place-names {margin-top:2.5rem;border-top:2px solid var(--ink);padding-top:1.5rem}
#place-names>p {max-width:65ch}
#place-names details {margin-top:1rem}
.names-jump {border:0;background:none;padding:0;margin-bottom:.8rem;text-decoration:underline}

[data-detail-map]:empty {display:none}
[data-detail-map] .article-map:first-child {margin-top:0}
.article-previews {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem;margin:0 0 .65rem}
.article-previews button {
  width:100%;min-width:0;aspect-ratio:4/3;padding:3px;
  border:1px solid var(--rule);border-radius:.25rem;background:var(--surface);
  cursor:zoom-in;overflow:hidden
}
.article-previews button:hover,.article-previews button:focus-visible {
  border-color:var(--green);outline:2px solid var(--green);outline-offset:1px
}
.article-previews button img {display:block;width:100%;height:100%;object-fit:contain}
@media print {.article-previews {display:none}}

/* Name filters share the same ranking and a separate count column. */
.name-filter {position:relative;min-width:0;font-size:.88rem;color:var(--muted);font-weight:650}
.name-filter details {position:relative;margin:3px 0 0}
.ak-filters .name-filter summary {
  display:flex;align-items:center;justify-content:space-between;gap:.4rem;
  min-height:40px;padding:.4rem .65rem;border:1px solid #b6beac;
  background:var(--surface);border-radius:2px;font-weight:400
}
.name-filter summary span {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.name-filter summary:after {flex:none}
.ak-filters[open] .name-filter details:not([open]) summary:after {transform:translateY(-.18em) rotate(45deg)}
.name-panel {
  position:absolute;z-index:3;left:0;top:100%;width:min(21rem,86vw);
  background:var(--surface);border:1px solid #97a698;box-shadow:0 .5rem 1rem #22332320;
  padding:.55rem;border-radius:.2rem
}
.name-panel.align-right {left:auto;right:0}
.name-options {max-height:min(21rem,42vh);overflow:auto;overscroll-behavior:contain;margin-top:.35rem}
.name-options button {
  display:flex;align-items:baseline;justify-content:space-between;gap:.75rem;
  width:100%;padding:.48rem .55rem;text-align:left;border:0;background:none;
  color:var(--ink);font:400 .93rem/1.4 var(--sans)
}
.name-options button:hover,.name-options button:focus-visible {background:#e9efe6}
.name-options button[aria-pressed=true] {font-weight:750;background:#e0eee5}
.name-count {color:#60665f;font-size:.86rem;font-variant-numeric:tabular-nums}
.name-group+.name-group {border-top:1px solid #899487;margin-top:.4rem;padding-top:.4rem}
@media(max-width:850px){
 .name-filter .name-panel,.name-panel.align-right {position:static;width:100%}
 .name-options button {padding:.5rem .15rem;gap:.35rem;overflow-wrap:anywhere}
}
.editor-cards {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,21rem),1fr));gap:0 1.5rem;margin:1.5rem 0}
.editor-cards a {display:flex;align-items:center;gap:1rem;padding:1rem 0;border-top:1px solid var(--rule);text-decoration:none}
.editor-cards a:hover strong,.editor-cards a:focus-visible strong {text-decoration:underline}
.editor-cards img,.editor-cards span {
  flex:none;width:4.25rem;height:4.25rem;object-fit:cover;object-position:50% 32%;
  border-radius:50%;display:grid;place-items:center;background:#e2ece3;font:600 1.3rem var(--sans)
}
.profile-articles {display:inline-block;margin-top:.75rem;font-weight:600}

/* Also cover older static pages before scripts load or when scripting is disabled. */
.ak-footer a[data-site-dest="imprint"],.ak-menu a[data-site-dest="projects"]{display:none}
.ak-history{margin:1.6rem 0 2rem;padding:1rem 0;border-block:1px solid var(--rule)}
.ak-history ol{margin:0;padding-left:1.7rem}
.ak-history li{padding:.15rem 0}
.ak-info h2[id]{scroll-margin-top:6rem;overflow-wrap:anywhere;hyphens:auto}
.ak-history-photo{max-width:42rem;margin:1.5rem 0}
.ak-history-photo img{width:100%;height:auto}
.ak-history-photo figcaption{margin-top:.5rem;font-size:.9rem;line-height:1.45}

/* Shared by the listening catalogue and the reading view. */
.record-facts { margin:.45rem 0; font-size:.84rem; line-height:1.5; overflow-wrap:anywhere }
.record-facts details { margin:.18rem 0; font-size:.78rem }
.record-facts summary { cursor:pointer; text-decoration:underline; text-underline-offset:.16em }
.listen-row { display:flex; flex-wrap:wrap; gap:4px; margin:.25rem 0 }
.listen-row a.listen { display:inline-flex; align-items:center; justify-content:center; position:relative; width:38px; height:38px; padding:0; border:0; border-radius:6px; background:#fff; color:#147043; text-decoration:none }
.listen-row a.lookup { color:#62686c }
.listen-row svg { width:23px; height:23px; fill:currentColor }
.listen-row a.lookup::before,.listen-row a.lookup::after { content:""; position:absolute }
.listen-row a.lookup::before { right:5px; bottom:6px; width:6px; height:6px; border:2px solid currentColor; border-radius:50%; background:white; box-shadow:0 0 0 2px white; box-sizing:content-box }
.listen-row a.lookup::after { right:2px; bottom:5px; width:6px; height:2px; transform:rotate(45deg); background:currentColor }
.listen-row a.listen:hover,.listen-row a.listen:focus-visible { outline:2px solid currentColor; outline-offset:1px }
@media print { .listen-row { display:none } }
