:root {
  /* @link https://utopia.fyi/type/calculator?c=360,20,1.2,1240,24,1.25,5,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */
  /* @link https://utopia.fyi/space/calculator?c=360,20,1.2,1240,24,1.25,5,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */

  /* --step--2: clamp(0.8681rem, 0.8304rem + 0.1672vw, 0.96rem);
  --step--1: clamp(1.0417rem, 0.9769rem + 0.2879vw, 1.2rem);
  --step-0: clamp(1.25rem, 1.1477rem + 0.4545vw, 1.5rem);
  --step-1: clamp(1.5rem, 1.3466rem + 0.6818vw, 1.875rem);
  --step-2: clamp(1.8rem, 1.5776rem + 0.9886vw, 2.3438rem);
  --step-3: clamp(2.16rem, 1.8451rem + 1.3994vw, 2.9297rem);
  --step-4: clamp(2.592rem, 2.1542rem + 1.9457vw, 3.6621rem);
  --step-5: clamp(3.1104rem, 2.5102rem + 2.6677vw, 4.5776rem);

  --space-3xs: clamp(0.3125rem, 0.2869rem + 0.1136vw, 0.375rem);
  --space-2xs: clamp(0.625rem, 0.5739rem + 0.2273vw, 0.75rem);
  --space-xs: clamp(0.9375rem, 0.8608rem + 0.3409vw, 1.125rem);
  --space-s: clamp(1.25rem, 1.1477rem + 0.4545vw, 1.5rem);
  --space-m: clamp(1.875rem, 1.7216rem + 0.6818vw, 2.25rem);
  --space-l: clamp(2.5rem, 2.2955rem + 0.9091vw, 3rem);
  --space-xl: clamp(3.75rem, 3.4432rem + 1.3636vw, 4.5rem);
  --space-2xl: clamp(5rem, 4.5909rem + 1.8182vw, 6rem);
  --space-3xl: clamp(7.5rem, 6.8864rem + 2.7273vw, 9rem); */

  /* @link https://utopia.fyi/type/calculator?c=360,14,1.2,1240,16,1.25,5,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */

  --step--2: clamp(0.6944rem, 0.6513rem + 0.1919vw, 0.8rem);
  --step--1: clamp(0.8333rem, 0.7652rem + 0.303vw, 1rem);
  --step-0: clamp(1rem, 0.8977rem + 0.4545vw, 1.25rem);
  --step-1: clamp(1.2rem, 1.0517rem + 0.6591vw, 1.5625rem);
  --step-2: clamp(1.44rem, 1.2301rem + 0.933vw, 1.9531rem);
  --step-3: clamp(1.728rem, 1.4362rem + 1.2971vw, 2.4414rem);
  --step-4: clamp(2.0736rem, 1.6734rem + 1.7785vw, 3.0518rem);
  --step-5: clamp(2.4883rem, 1.9457rem + 2.4116vw, 3.8147rem);

  --space-3xs: clamp(0.25rem, 0.2244rem + 0.1136vw, 0.3125rem);
  --space-2xs: clamp(0.5rem, 0.4489rem + 0.2273vw, 0.625rem);
  --space-xs: clamp(0.75rem, 0.6733rem + 0.3409vw, 0.9375rem);
  --space-s: clamp(1rem, 0.8977rem + 0.4545vw, 1.25rem);
  --space-m: clamp(1.5rem, 1.3466rem + 0.6818vw, 1.875rem);
  --space-l: clamp(2rem, 1.7955rem + 0.9091vw, 2.5rem);
  --space-xl: clamp(3rem, 2.6932rem + 1.3636vw, 3.75rem);
  --space-2xl: clamp(4rem, 3.5909rem + 1.8182vw, 5rem);
  --space-3xl: clamp(6rem, 5.3864rem + 2.7273vw, 7.5rem);

  --color-internal: #d3e8ee;
  --color-a11y: #e8dff1;
  --color-artists: #ebe5b2;

  --font-serif: "Adobe Caslon Pro", Georgia, serif;
  --font-sans: "Apercu Pro", Arial, sans-serif;
}

@font-face {
  font-family: "Adobe Caslon Pro";
  src: url("/assets/fonts/AdobeCaslonPro/AdobeCaslonProSemibold/font.woff2")
    format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Adobe Caslon Pro";
  src: url("/assets/fonts/AdobeCaslonPro/AdobeCaslonProItalic/font.woff2")
    format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Apercu Pro";
  src: url("/assets/fonts/apercu-medium-pro.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Apercu Pro";
  src: url("/assets/fonts/apercu-bold-pro.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--step-0);
  margin: 0;
  padding: 0;
  background-color: #f0f0f0;
  /*  max-width: 1840px;
  margin: 0 auto;*/
}

p {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

@media screen and (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

header,
main,
footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-m);
}

header {
  margin-bottom: var(--space-l);
}

.languages {
  display: inline;
}

.background-yellow {
  background-color: #fae6a7;
}

.background-green {
  background-color: #d3e7cb;
}

.languages a.active {
  display: none;
}

a {
  color: black;
  text-decoration: none;
}

.indented-text a {
  background-color: #d3e8ee;
}

.logoWrapper {
  width: 100%;
  padding: var(--space-s) 0 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

a.logo {
  font-family: var(--font-serif);
  font-size: var(--step-2);
  text-align: center;
  display: block;
  text-decoration: none;
  line-height: 0.9;
  width: 100%;
  font-weight: 600;
}

a.logo em {
  font-size: inherit;
  font-weight: 400;
  font-style: italic;
}

hr {
  border: 0;
  height: 14px;
  background-image: radial-gradient(circle, black 3px, transparent 3px);
  background-size: 20px 10px;
  background-repeat: repeat-x;
  background-position: left center;
  margin-top: var(--space-l);
  margin-bottom: var(--space-m);
}

header hr {
  height: 0;
  background: none;
  border-bottom: 10px solid black;
}

main hr {
  margin: 0;
}

p {
  font-size: var(--step-0);
  line-height: 1.1;
}

h3 {
  font-size: var(--step-1);
}

h3,
h4,
h5,
h6 {
  text-align: center;
}

sup {
  vertical-align: top;
  font-size: var(--step--2);
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-s);
  margin-bottom: var(--space-xl);
}

nav a {
  --nav-link-background: var(--color-internal);
  font-family: var(--font-sans);
  font-weight: 700;

  background-color: var(--nav-link-background);
  color: black;
  text-decoration: none;
}

/* per-page menu item background colors — fill in your values */
nav a[href*="barrierefreie-inhalte"],
nav a[href*="erklarung-zur-barrierefreiheit"] {
  --nav-link-background: var(--color-a11y);
  background-color: var(--nav-link-background); /* replace with desired color */
}

body.barrierefreie-inhalte a[href^="#"] {
  background-color: var(--color-a11y);
}

a[href*="/einblicke/"] {
  --nav-link-background: var(--color-artists);
  background-color: var(--nav-link-background);
}

h1 {
  font-family: var(--font-serif);
  font-size: var(--step-3);
  text-align: center;
  width: 100%;
  font-weight: 600;
  margin-bottom: var(--space-xl);
}

h2 {
  font-family: var(--font-serif);
  font-size: var(--step-2);
  text-align: center;
  font-weight: 600;
}

main ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

main .indented-text ul {
  list-style: disc;
  padding: 0 var(--space-xs);
  margin: 0;
}

.artists-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
  justify-content: center;
  list-style: none !important;
  padding: 0;
}

.artists-list h2 {
  margin-top: var(--space-l);
  margin-bottom: var(--space-3xs);
}

a.artist-link {
  background-color: var(--color-artists);
  font-weight: bold;
  text-decoration: none;
}

a.artist-back-link {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: var(--space-xl) auto 0;
  background-color: var(--color-internal);
  font-weight: 700;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  background-color: #fae6a7;
  font-weight: bold;
  display: inline-block;
  padding: 0px;
  margin: 0px;
  color: black;
}

.list-item-meta {
  background-color: white;
  border-left: 5px solid white;
}

.list-item-meta a {
  background-color: #d3e7cb;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

main h2 {
  text-transform: capitalize;
}

.column > .block + .block {
  margin-top: var(--space-m);
}

.block-heading :is(h1, h2, h3, h4, h5, h6) {
  margin: 0;
}

.artist-header,
.secondary-header {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-s);
}

.artist-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.artist-header > h1,
.secondary-header > h1 {
  margin-top: 0;
  flex: 0 0 auto;
  width: auto;
}

.artist-header > .back-button,
.secondary-header > .back-button {
  flex: 1;
  text-align: left;
}

.artist-header > .artist-controls,
.secondary-header > .artist-controls {
  flex: 1;
  text-align: right;
}

@media screen and (max-width: 767px) {
  .artist-header,
  .secondary-header {
    display: block;
  }
  /* .artist-header *,
    .secondary-header * {
      width:100%;
      text-align: center;
    } */
}
@media screen and (max-width: 768px) {
  .artist-header > * {
    margin-bottom: 7px !important;
  }
}

/* .artist-header > * {
  margin-bottom:7px;
} */
.artist-header a,
.secondary-header a {
  font-size: 85%;
  background-color: #d3e7cb;
  text-decoration: none;
}

.list-item-meta a,
.artwork-controls a {
  font-size: 85%;
}

.artist-header h1,
.secondary-header h1 {
}
.artist-header h1 a,
.secondary-header h1 a {
  background-color: transparent;
}
.artist-header > a,
.secondary-header > a {
  width: 150px;
}

/* .artist-header > div,
.secondary-header > div {
  min-width: 250px;
} */

.artist-header .artist-controls {
  text-align: right;
}

.artist-header .back-button,
.artist-header .artist-controls {
  min-width: 180px;
}

.artist-page .grid {
  flex-direction: column;
  max-width: max(70%, 680px);
  margin: 0 auto;
}

.artist-page .block-image {
  max-width: 440px;
  margin: 0 auto;
}

.artwork-controls {
  float: right;
}

@media screen and (max-width: 500px) {
  .artwork-controls {
    float: none;
    margin-bottom: 7px;
    text-align: right;
  }
}

.artwork-controls a {
  background-color: #d3e7cb;
  text-decoration: none;
}

.secondary-controls {
  text-align: right;
  float: right;
}

.secondary-controls a {
  background-color: #d3e7cb;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .artist-header h1 {
    margin-bottom: 9px !important;
  }
}

ul#artworks {
}
ul#artworks li {
  position: relative;
  margin: var(--space-m) 0;
  background: white;
}
ul#artworks li:after {
  overflow: hidden;
  content: " . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . "
    ". . . . . . . . . . . . . . . . . . . . . . . ";
  display: block;
  position: absolute;
  top: -30px;
  width: 100%;
  height: 15px;
  z-index: -1;
}

ul#artworks li figure {
  margin: 0;
  width: 100%;
  max-width: 300px;
  margin-right: var(--space-s);
  display: block;
  line-height: 0;
}

@media screen and (min-width: 700px) {
  ul#artworks li figure {
    float: left;
    width: 300px;
  }
}

ul#artworks li img {
  position: relative;
  max-height: 300px;
  width: auto;
  line-height: 0;
  max-width: 300px;
}

br.clear_both {
  clear: both;
}

.meta-information {
  text-align: center;
}

footer {
  margin-top: calc(2 * var(--space-xl));
  margin-bottom: var(--space-s);
}

footer nav {
  margin-bottom: var(--space-s);
}
.message h1 {
  color: #fff;
}

footer .stadt-frankfurt-logo {
  display: block;
  max-width: 280px;
  margin: 0 auto var(--space-s);
}

footer nav a {
  background-color: transparent;
}

footer nav a > span {
  background-color: var(--nav-link-background);
}

.block-text p + p {
  margin-top: var(--space-s);
}

.block-text .text--center p {
  text-align: center;
}

.block-text .text--right p {
  text-align: right;
}

/* Block images are capped as a block, including figcaption */
.block-image {
  max-width: 300px;
}

.block-image img {
  width: 100%;
  height: auto;
  display: block;
  margin-inline: auto;
}

.block-image figure {
  margin: 0;
}

.block-image figure[data-crop][data-ratio] img {
  aspect-ratio: var(--ratio);
  object-fit: cover;
}

.block-image figcaption {
  font-size: var(--step--2);
  margin-top: var(--space-3xs);
  text-align: center;
}

@media screen and (max-width: 768px) {
  .block-image {
    margin-inline: 0;
  }
}

@media screen and (max-width: 768px) {
  .block-image {
    max-width: 100%;
    padding-inline: 20vw;
  }
}

.block-video figure {
  margin: 0;
}

.block-video video {
  width: 100%;
  height: auto;
  display: block;
}

.block-video figcaption {
  font-size: var(--step--1);
  margin-top: var(--space-3xs);
  text-align: center;
}

.block-quote blockquote {
  margin: 0;
  font-family: var(--font-serif);
}

blockquote p {
  font-size: var(--step-3);
  margin: 0;
}

blockquote footer {
  font-size: var(--step--2);
  font-family: var(--font-sans);
  font-weight: 700;
  margin: 0;
  padding: 0;
}

main
  a[href^="http://"]:not([href*="//kunstsammlung.test"]):not(
    [href*="//staedtis.cyon.link"]
  ),
main
  a[href^="https://"]:not([href*="//kunstsammlung.test"]):not(
    [href*="//staedtis.cyon.link"]
  ),
main a[href^="mailto:"],
main a[href^="tel:"] {
  font-weight: 600;
  text-decoration: underline;
  background: transparent;
}

main
  a[href^="http://"]:not([href*="//kunstsammlung.test"]):not(
    [href*="//staedtis.cyon.link"]
  ):hover,
main
  a[href^="https://"]:not([href*="//kunstsammlung.test"]):not(
    [href*="//staedtis.cyon.link"]
  ):hover,
main a[href^="mailto:"]:hover,
main a[href^="tel:"]:hover {
  cursor: pointer;
}

main a[href*="barrierefreie-inhalte"],
main a[href*="erklarung-zur-barrierefreiheit"] {
  background-color: var(--color-a11y);
}

strong,
b {
  font-weight: bold;
}

button#close-button {
  background-color: transparent;
}

button#close-button svg {
  display: none;
}

button#close-button:after {
  content: "X";
  font-family: var(--font-sans);
}

#baguetteBox-overlay .full-image {
  padding: var(--space-l);
  box-sizing: border-box;
}

/* Layout grid for content layouts */
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-l);
}

.grid + .grid {
  margin-top: var(--space-xl);
}

.column {
  flex: 0 0
    calc(var(--span) / 12 * 100% - var(--space-l) * (1 - var(--span) / 12));
  display: flex;
  flex-direction: column;
  justify-content: var(--column-align, flex-start);
  min-width: 0;
}

@media screen and (max-width: 768px) {
  .column {
    flex: 0 0 100%;
  }
}
a.back-to-top {
  background-color: transparent;
  width: 100%;
  text-align: center;
  display: block;
}

/* Slideshow block */
.slideshow {
  position: relative;
}

nav.slideshow-dots {
  margin-bottom: 0px;
}

.slideshow blossom-carousel {
  display: block;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: clip;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.slideshow blossom-carousel::-webkit-scrollbar {
  display: none;
}

.slideshow-slide {
  display: inline-block;
  white-space: initial;
  vertical-align: top;
  width: 100%;
  scroll-snap-align: start;
  margin: 0;
}

.slideshow-slide img {
  aspect-ratio: var(--slide-ratio);
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 768px) {
  .slideshow-slide img {
    aspect-ratio: var(--slide-mobile-ratio, var(--slide-ratio));
  }
}

.slideshow-slide figcaption {
  font-size: var(--step--2);
  margin-top: var(--space-3xs);
  text-align: center;
}

.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-3xs);
  margin-top: var(--space-xs);
}

.slideshow-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid black;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.2s;
}

.slideshow-dot.is-active {
  background: black;
}

.footnotes-list li {
  font-size: var(--step--1);
}

.footnotereverse {
  vertical-align: top;
  font-size: var(--step--2);
}
