:root {
  --wp--preset--color--base: var(--wp--preset--color--ground);
  --wp--preset--color--contrast: var(--wp--preset--color--ink);
  --wp--preset--color--secondary: var(--wp--preset--color--ink-soft);
  --wp--preset--color--tertiary: var(--wp--preset--color--line);
}

h1, h2, h3 {
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

:focus-visible {
  outline: 2px solid var(--wp--preset--color--ink);
  outline-offset: 3px;
}

.has-ground-alt-background-color a:where(:not(.wp-element-button)) {
  color: var(--wp--preset--color--ink);
  text-decoration: underline;
}
.has-ground-alt-background-color .wp-element-caption, .has-ground-alt-background-color figcaption {
  color: var(--wp--preset--color--ink);
}

html[data-theme=duinwarm] {
  --wp--preset--color--ground: #f2e7d2;
  --wp--preset--color--ground-alt: #bdb07c;
  --wp--preset--color--ink: #2b2318;
  --wp--preset--color--ink-soft: #5b4e3c;
  --wp--preset--color--accent: #b5532f;
  --wp--preset--color--on-accent: #fffaf0;
  --wp--preset--color--link: #8f3d1f;
  --wp--preset--color--line: #ddcdae;
  --wp--preset--color--sky: #c9dfe6;
  --wp--preset--color--sun: #eec057;
  --wp--preset--color--dune: #e9d09a;
}

.wp-site-blocks > header.wp-block-template-part {
  overflow: clip;
  margin-bottom: 60px;
}

.kdf-landscape {
  position: relative;
  z-index: -1;
  display: block;
  width: 100%;
  height: clamp(40px, 6.5vw, 95px);
  overflow: visible;
}
.kdf-landscape .sky {
  fill: var(--wp--preset--color--sky);
}
.kdf-landscape .sun {
  fill: var(--wp--preset--color--sun);
}
.kdf-landscape .rays {
  fill: none;
  stroke: var(--wp--preset--color--sun);
  stroke-width: 6;
  stroke-linecap: round;
}
.kdf-landscape .rays--long {
  stroke-width: 4;
}
.kdf-landscape .rays--short {
  fill: var(--wp--preset--color--sun);
  stroke: none;
}
.kdf-landscape .dune {
  fill: var(--wp--preset--color--dune);
}
.kdf-landscape .grass {
  fill: var(--wp--preset--color--ground-alt);
}

.wp-site-blocks > :has(+ footer.wp-block-template-part) {
  margin-bottom: 120px;
}

.wp-site-blocks > footer.wp-block-template-part::before {
  content: "";
  display: block;
  height: 24px;
  margin-bottom: -1px;
  background-color: var(--wp--preset--color--ground-alt);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 24'%3E%3Cpath d='M0 24 L0 16 C55 16 55 7 110 7 C185 7 185 15 260 15 C305 15 305 9 350 9 C435 9 435 17 520 17 C580 17 580 5 640 5 C715 5 715 14 790 14 C835 14 835 10 880 10 C955 10 955 18 1030 18 C1105 18 1105 6 1180 6 C1250 6 1250 15 1320 15 C1380 15 1380 16 1440 16 L1440 24 Z'/%3E%3C/svg%3E") center bottom/auto 100% repeat-x;
}

hr.wp-block-separator:not(.is-style-dots) {
  border: none;
  height: 13px;
  padding-inline: 2.5px;
  background-color: var(--wp--preset--color--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 45 13' preserveAspectRatio='none'%3E%3Cpath d='M0 6.5 Q 11.25 -0.5 22.5 6.5 T 45 6.5' stroke='black' stroke-width='5' fill='none' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") left center/auto 100% round no-repeat content-box content-box, radial-gradient(circle 2.5px at 2.5px 50%, #000 90%, transparent) border-box border-box, radial-gradient(circle 2.5px at calc(100% - 2.5px) 50%, #000 90%, transparent) border-box border-box;
}

hr.wp-block-separator.is-style-dots::before {
  content: "";
  display: block;
  width: 100px;
  margin-inline: auto;
  padding: 0;
  letter-spacing: normal;
  height: 13px;
  padding-inline: 2.5px;
  background-color: var(--wp--preset--color--accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 45 13' preserveAspectRatio='none'%3E%3Cpath d='M0 6.5 Q 11.25 -0.5 22.5 6.5 T 45 6.5' stroke='black' stroke-width='5' fill='none' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") left center/auto 100% round no-repeat content-box content-box, radial-gradient(circle 2.5px at 2.5px 50%, #000 90%, transparent) border-box border-box, radial-gradient(circle 2.5px at calc(100% - 2.5px) 50%, #000 90%, transparent) border-box border-box;
}

.wp-block-polylang-navigation-language-switcher {
  display: flex;
  align-items: center;
}
.wp-block-polylang-navigation-language-switcher .wp-block-navigation-item__content {
  padding-inline: 6px;
}
.wp-block-polylang-navigation-language-switcher img {
  display: block;
  border-radius: 2px;
}

.kdf-category-image {
  margin: 0;
}
.kdf-category-image img {
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 20px;
  width: 12em;
  transition: opacity 0.15s ease;
}
.kdf-category-image a:hover img {
  opacity: 0.85;
}

.wp-block-heading a {
  text-decoration: none;
}

.kdf-price-option {
  font-weight: normal;
}

img[src*="/uploads/2014/07/kaas."] {
  box-sizing: border-box;
  padding: max(0px, (100% - 183px) / 2) !important;
  object-fit: contain !important;
}
