/*---------------------------------------------------------------------------------

  Theme Name: FDP 2024
  Text Domain: fdp2024
  Version: 1.0.0
  Description: Theme für FDP-Gliederungen im Design der Kommunalwahl 2024
  Tags: 
  Author: Visualtech
  Author URI: https://visualtech.de
  License: 
  License URI: 
  Theme URI: 

---------------------------------------------------------------------------------*/



/* FONTS */

@font-face {
  font-family: "Futura Bold Oblique";
  src: url("assets/fonts/FuturaBoldOblique.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Futura Medium";
  src: url("assets/fonts/FuturaMedium.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Futura Book";
  src: url("assets/fonts/FuturaBook.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Helvetica Bold";
  src: url("assets/fonts/HelveticaNeueLTPro-Bd.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Helvetica Regular";
  src: url("assets/fonts/HelveticaNeueLT55Roman.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}



/* VARIABLES */

:root {
/* colors */
  --yellow-hex: #ffed00;
  --yellow-rgb: 255,237,0;
  --magenta-hex: #e5007d;
  --magenta-rgb: 229,0,125;
  --cyan-hex: #009ee3;
  --cyan-rgb: 0,158,227;
  --turquoise-hex: #00abae;
  --turquoise-rgb: 0,171,174;
  --violet-hex: #a5027d;
  --violet-rgb: 165,2,125;
  --gray-light-hex: #e6e6e6;
  --gray-light-rgb: 230,230,230;
  --gray-medium-hex: #a9a9a9;
  --gray-medium-rgb: 169,169,169;

/* browser appearance */
  --scrollbar-width: 8px;
  --scrollbar-track-background-color: var(--gray-light-hex);
  --scrollbar-thumb-background-color: var(--magenta-hex);

/* font */
  --futura-bold-oblique: "Futura Bold Oblique", sans-serif;
  --futura-medium: "Futura Medium", sans-serif;
  --futura-book: "Futura Book", sans-serif;
  --helvetica-bold: "Helvetica Bold", sans-serif;
  --helvetica-regular: "Helvetica Regular", sans-serif;

  --font-family: var(--futura-book);
  --line-height: 1.2;
  --color: #000;

  --h1-font-family: var(--futura-bold-oblique);
  --h1-font-weight: 700;
  --h1-font-size: 2.5rem;
  --h2-6-font-family: var(--h1-font-family);
  --h2-font-size: 2rem;
  --h3-font-size: 1.5rem;
  --h4-font-size: 1.25rem;

/* buttons */
  --button-padding: .575em 1.25em .5em;
  --button-border-radius: 3px;
  --button-font-family: var(--futura-bold-oblique);
  --button-font-weight: 700;
  --button-font-size: 1.125rem;
  --button-text-transform: uppercase;
  --button-color: var(--magenta-hex);
  --button-background-color: var(--yellow-hex);

/* body */
  --body-background-color: #fff;

/* header */
  --header-height: 100px;
  --header-padding-right-left: 75px;

  --header-background-color: var(--yellow-hex);
  --header-shadow: -5px 5px 10px rgba(0,0,0,.25);

  --header-logo-container-width: 430px;
  --header-logo-container-height: var(--header-height);
  --header-logo-width: 145px;
  --header-logo-height: calc(var(--header-height) * .85);

  --main-menu-height: var(--header-height);
  --main-menu-hover-background-color: var(--yellow-hex);
  --main-menu-color: var(--magenta-hex);
  --main-menu-font-family: var(--futura-bold-oblique);
  --main-menu-font-weight: 700;
  --main-menu-font-size: 1.125rem;
  --main-menu-toggle-width: 2rem;
  --main-menu-toggle-font-size: 2.5rem;
  --main-menu-sub-background-color: var(--yellow-hex);
  --main-menu-sub-item-separator-background-color: #fff;
  --main-menu-sub-hover-background-color: var(--yellow-hex);
  --main-menu-sub-font-family: var(--futura-medium);
  --main-menu-sub-font-weight: 400;
  --main-menu-sub-font-size: 1.125rem;

/* archive */
  --archive-post-font-size: 1.125rem;

/* main */
  --main-min-height: calc(100vh - var(--main-menu-height) - var(--footer-height));
  --main-font-size: 1.125rem;

  --content-width: 1080px;

  --section-padding-top-bottom: 60px;
  --section-padding-right-left: max(calc((100vw - var(--content-width)) / 2), 150px);
  --section-padding-right-left: 150px;

  --section-atf-height: calc(100vh - var(--main-menu-height) - 16vh);

  --section-home-padding-right-left: 150px;

  --slide-margin-bottom: 10px;
  --slider-shadow: none;
  --slider-arrow-width: 20px;
  --slider-arrow-height: var(--slider-arrow-width);
  --slider-arrow-background-width: calc(var(--slider-arrow-width) * 2);
  --slider-arrow-background-height: var(--slider-arrow-background-width);
  --slider-arrow-color: var(--magenta-hex);
  --slider-dots-width: 15px;
  --slider-dots-height: var(--slider-dots-width);
  --slider-dots-gap: var(--slider-dots-width);
  --slider-dots-background-color: var(--magenta-hex);
  --slider-dots-active-background-color: var(--yellow-hex);

  --post-preview-gap: 75px;
  --post-preview-width: min(calc((100vw - var(--section-home-padding-right-left) * 2 - var(--post-preview-gap) * 2) / 3), 400px);
  --post-preview-height: calc(var(--post-preview-width) / 2 * 3);

  --appointment-preview-gap: 75px;
  --appointment-preview-width: min(calc((100vw - var(--section-home-padding-right-left) * 2 - var(--appointment-preview-gap) * 2) / 3), 400px);
  --appointment-preview-height: calc(var(--appointment-preview-width) / 3 * 4);

  --person-preview-gap: 75px;
  --person-preview-width: min(calc((100vw - var(--section-home-padding-right-left) * 2 - var(--person-preview-gap) * 2) / 3), 400px);
  --person-preview-height: calc(var(--person-preview-width) * 2);

  --topic-preview-gap: 75px;
  --topic-preview-width: min(calc((100vw - var(--section-home-padding-right-left) * 2 - var(--topic-preview-gap) * 2) / 3), 400px);
  --topic-preview-height: calc(var(--topic-preview-width) / 4 * 3);

  --page-header-max-height: 300px;
  --page-featured-image-width: min(calc(100vw - var(--section-padding-right-left) * 2), var(--content-width));
  --page-featured-image-height: calc(var(--page-featured-image-width) / 2);

  --single-header-max-height: 300px;
  --single-featured-image-width: min(calc(100vw - var(--section-padding-right-left) * 2), 450px);
/* 	--single-featured-image-height: calc(var(--single-featured-image-width) / 3 * 2); */

  --single-person-gap: 2em;
/* 	--single-person-text-width-factor: .6; */
  --single-person-ifcs-width-factor: .35;
  --single-person-ifcs-solo-width-factor: .5;
  --single-person-image-width-factor: 1;
  --single-person-image-width: calc(var(--content-width) * var(--single-person-ifcs-width-factor) * var(--single-person-image-width-factor));
  --single-person-image-height: var(--single-person-image-width);
  --single-person-image-solo-width: calc(var(--content-width) * var(--single-person-ifcs-solo-width-factor) * var(--single-person-image-width-factor));
  --single-person-image-solo-height: var(--single-person-image-solo-width);

/* shortcode - person */
  --scp-image-width: 225px;
  --scp-image-height: calc(var(--scp-image-width) / 3 * 4);
  --scp-general-font-size: calc(var(--scp-image-height) * .055);

/* footer */
  --footer-padding-top-bottom: var(--section-padding-top-bottom);
  --footer-padding-right-left: 75px;

  --footer-row-width: min(calc(100vw - var(--footer-padding-right-left) * 2), var(--content-width));

  --footer-background-color: #fff;

  --footer-font-family: var(--futura-book);
  --footer-font-size: 1.1rem;
  --footer-font-weight: 300;
  --footer-color: var(--gray-medium-hex);
  --footer-social-media-border-color: var(--footer-color);
  --footer-social-media-color: var(--footer-color);

  --footer-logos-gap: 50px;
  --footer-logo-width: 125px;
  --footer-logo-height: 75px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: var(--line-height);
/* 	text-align: justify; */
  letter-spacing: -.02em;
  color: var(--color);
}



/* GENERAL SETTINGS & STYLES */

* {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb-background-color) var(--scrollbar-track-background-color);
}

*::-webkit-scrollbar {
  width: var(--scrollbar-width);
}

*::-webkit-scrollbar-track {
  background: var(--scrollbar-track-background-color);
}

*::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb-background-color);
}

body {
  width: 100vW;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0;
  overflow-x: hidden;
  background: var(--body-background-color);
  font-family: var(--font-family);
}

body *,
body *::before,
body *::after {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  margin: 1.25em 0 .75em;
  font-family: var(--h2-6-font-family);
  text-transform: uppercase;
  overflow-wrap: break-word;
  color: var(--magenta-hex);
}

h1 {
  font-family: var(--h1-font-family);
  font-size: var(--h1-font-size);
  text-align: center;
}

h1:nth-of-type(1) {
  margin-top: 0;
}

h2 {
  font-size: var(--h2-font-size);
  text-align: center;
}

body:not(.home) h2 {
  text-align: left;
}

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

h4 {
  font-size: var(--h4-font-size);
}

a {
  color: var(--magenta-hex);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  transform: all .3s ease-out;
}

*:is(h1,h2,h3,h4,h5,h6) > a:hover {
  text-decoration: none;
}

.button {
  display: flex;
  padding: var(--button-padding);
  border-radius: var(--button-border-radius);
  font-family: var(--button-font-family);
  font-weight: var(--button-font-weight);
  font-size: var(--button-font-size);
  text-transform: var(--button-text-transform);
  color: var(--button-color);
  text-align: center;
  cursor: pointer;
}

.button:hover {
  text-decoration: none;
}

.button-fill {
  background: var(--button-background-color);
  border-color: var(--button-background-color);
}



/* HEADER */

header {
  width: 100%;
  height: var(--header-height);
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto;
  position: fixed;
  top: 0;
/* 	padding: 0 var(--header-padding-right-left); */
  background: var(--header-background-color);
  -webkit-box-shadow: var(--header-shadow);
  -moz-box-shadow: var(--header-shadow);
  box-shadow: var(--header-shadow);
  z-index: 9999;
}

body.admin-bar header {
  margin-top: 32px;
}

header a {
  text-decoration: none;
  color: var(--color);
}

header a:hover {
  text-decoration: none;
}



/* MAIN */

main {
  grid-row: 2 / 3;
  width: 100%;
  min-height: var(--main-min-height);
  margin-top: var(--header-height);
  overflow: hidden;
  font-size: var(--main-font-size);
}

main ul:not(.slick-dots, .files) {
  padding-left: 1.125em;
}

main ul:not(.slick-dots,.files) li {
  position: relative;
  margin: .25em 0 0 .5em;
  list-style: none;
  break-inside: avoid;
}

main ul:not(.slick-dots) li:nth-of-type(1) {
  margin-top: 0;
}

main ul:not(.slick-dots,.files) li::before {
  content: '•';
  width: 1em;
  height: 1.25em;
  display: inline-block;
  position: absolute;
  left: -1em;
  color: var(--magenta-hex);
}

main ol li {
  margin: .25em 0;
}

main ol li::marker {
  color: var(--magenta-hex);
}

section {
  width: 100%;
/* 	min-height: 100%; */
  display: flex;
  flex-direction: column;
  padding: var(--section-padding-top-bottom) var(--section-padding-right-left);
  padding: var(--section-padding-top-bottom) max(calc((100vw - var(--content-width)) / 2), var(--section-padding-right-left));
}


/* front page */

body.home main ul:not(.slick-dots) {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  column-gap: 1.75em;
  padding: 0;
}

body.home section {
  --content-width: 1350px;
  justify-content: center;
  align-items: center;
  padding: var(--section-padding-top-bottom) var(--section-home-padding-right-left);
}

body.home section:not(#above-the-fold) > * {
  width: 100%;
  max-width: var(--content-width);
}

body.home section:not(#above-the-fold) *:is(h2,h3,h4,h5,h6) {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 0 1.5em;
}

body.home section:not(#above-the-fold) h2 {
  font-size: 2.5rem;
}

section#above-the-fold {
  height: var(--section-atf-height);
  position: relative;
  padding: 0;
}

section#above-the-fold .slick-arrow {
  color: rgba(255,255,255,.75);
}

section#above-the-fold .slick-dots li button {
  background: rgba(255,255,255,.75);
}

section#above-the-fold .slick-dots li.slick-active button {
  background: rgba(255,255,255,1);
}

.slider {
  width: 100%;
  height: 100%;
}

.slide {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide-image-source-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-source,
.image-source {
  position: absolute;
  color: #fff;
}

.slide-source {
  right: 15px;
  bottom: 2px;
  font-size: .75em;
  text-shadow: 0 0 5px #000;
}

.image-source {
  right: 0;
  bottom: 7px;
}

.slide-source a,
.image-source a {
  color: #fff;
}

.slide-text {
  width: fit-content;
  max-width: 80%;
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 20%;
  left: 10%;
  padding: .75em 1em;
  background: #fff;
  color: var(--magenta-hex);
}

.slide-text a:hover {
  text-decoration-thickness: .25rem;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
}

.slide-text h1.slide-heading {
/* 	margin-top: .15em; */
  margin-bottom: 0;
  text-align: left;
  font-size: var(--h1-font-size);
}

.slide-text h2.slide-subheading {
  margin: 0;
  font-family: var(--futura-medium);
  font-weight: 400;
  font-size: calc(var(--h2-font-size) * .75);
  text-transform: none;
  text-align: left;
}

.slide-text h1 + h2 {
  margin-top: .2em;
}

.slide-text .slide-link-container  {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 1.25em;
}

#sortable-sections {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 100%;
  grid-auto-rows: min-content;
}

#sortable-sections section.front-page.sortable-section-1 {
  grid-row: 1;
}

#sortable-sections section.front-page.sortable-section-2 {
  grid-row: 2;
}

#sortable-sections section.front-page.sortable-section-3 {
  grid-row: 3;
}

#sortable-sections section.front-page.sortable-section-4 {
  grid-row: 4;
}

#sortable-sections section.front-page.sortable-section-5 {
  grid-row: 5;
}

#sortable-sections section.front-page.sortable-section-6 {
  grid-row: 6;
}

#sortable-sections section.front-page.sortable-section-7 {
  grid-row: 7;
}

#sortable-sections section.front-page.sortable-section-8 {
  grid-row: 8;
}

body.home section.special {
  --content-width: 675px;
}

section#special-1 {
  background: var(--magenta-hex);
}

section#special-1 h2.special-heading {
  color: var(--yellow-hex);
}

section#special-1 .special-content {
  color: #fff;
}

.special-image {
  float: right;
  max-width: 50%;
  margin: .25em 0 .5em .5em;
}

.special-content {
  line-height: 1.5;
}

.special-content > p:nth-of-type(1) {
  margin-top: 0;
}

.special-content > p:last-of-type {
  margin-bottom: 0;
}

.view-all-container {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 3.75rem;
}

body.home section#appointments > .slick-slider {
  max-width: calc(var(--content-width) + var(--appointment-preview-gap));
}

body.home section#news > .slick-slider {
  max-width: calc(var(--content-width) + var(--post-preview-gap));
}

body.home section#board > .slick-slider {
  max-width: calc(var(--content-width) + var(--person-preview-gap));
}

section#appointments .slick-slide {
  margin: 0 calc(var(--appointment-preview-gap) * .5);
}

section#news .slick-slide {
  margin: 0 calc(var(--post-preview-gap) * .5);
}

section#board .slick-slide {
  margin: 0 calc(var(--person-preview-gap) * .5);
}

section#appointments .slick-prev,
section#news .slick-prev,
section#board .slick-prev {
  left: calc(var(--slider-arrow-width) * -1);
}

section#appointments .slick-next,
section#news .slick-next,
section#board .slick-next {
  right: calc(var(--slider-arrow-width) * -1);
}

section#news .slick-dots li.slick-active button {
  background: #fff;
}

section#news {
  padding: var(--section-padding-top-bottom) calc(var(--section-home-padding-right-left) - var(--post-preview-gap) * .5);
  background: var(--yellow-hex);
}

section#news .button {
  background: var(--magenta-hex);
  color: #fff;
}

.news-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--post-preview-gap);
}

.post-preview {
  width: var(--post-preview-width);
  height: var(--post-preview-height);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background: #fff;
  overflow: hidden;
  transition: all .3s ease-out;
}

.post-preview a:hover {
  text-decoration: none;
  transition: all .3s ease-out;
}

.post-image-container {
  width: 100%;
  height: 44.5%;
}

img.post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.post-body {
  width: 100%;
  height: 55.5%;
  display: flex;
  flex-direction: column;
  gap: calc(var(--post-preview-height) * .02);
  position: relative;
  padding: 6.5% 8.5%;
  padding: calc(var(--post-preview-width) * .06) calc(var(--post-preview-width) * .075);
  overflow: hidden;
  font-size: calc(var(--post-preview-height) * .03);
}

.post-date {
  font-size: calc(var(--post-preview-width) * .045);
}

body.home section#news h3.post-heading {
  margin: 0;
  font-size: calc(var(--post-preview-height) * .0333);
  text-align: left;
}

section#news h3.post-heading a {
/* 	color: var(--gray-dark-hex); */
}

.post-excerpt {
  max-height: calc(1.2em * 6);
  overflow: hidden;
}

.post-excerpt p {
  margin: 0;
}

.post-read-more-container {
  display: flex;
  justify-content: flex-end;
  position: absolute;
  right: calc(var(--post-preview-width) * .075);
  bottom: calc(var(--post-preview-width) * .06);
}

a.post-read-more {
  font-family: var(--futura-medium);
  font-size: calc(var(--post-preview-height) * .04);
}

section#appointments {
  padding: var(--section-padding-top-bottom) calc(var(--section-home-padding-right-left) - var(--appointment-preview-gap) * .5);
  background: rgba(var(--gray-light-rgb),.5);
}

.appointments-container {
  display: flex;
  gap: var(--appointment-preview-gap);
}

.appointment.post-preview {
  width: var(--appointment-preview-width);
  height: var(--appointment-preview-height);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: #fff;
  font-size: var(--archive-post-font-size);
  color: var(--cyan-hex);
}

.appointment.post-image-container {
  width: 100%;
  height: 50%;
}

.appointment.post-body {
  height: 50%;
  gap: calc(var(--appointment-preview-width) / 2 * 3 * .02);
  padding: calc(var(--appointment-preview-width) * .06) calc(var(--appointment-preview-width) * .075);
}

h3.appointment.post-heading,
body.home section#appointments h3.appointment.post-heading {
  margin-top: 0;
  margin-bottom: .25em;
  font-size: calc(var(--appointment-preview-height) * .0375);
  text-align: left;
  color: var(--magenta-hex);
}

.appointment.post-info-container {
  display: flex;
  flex-direction: column;
  gap: .5em;
  margin-bottom: .5em;
  font-size: calc(var(--appointment-preview-height) / 2 * .075);
}

.appointment.post-info {
  display: flex;
}

.appointment.post-icon {
  padding-top: .75px;
  margin-top: -1px;
  margin-right: .5em;
}

.appointment.post-read-more-container {
  position: absolute;
  right: calc(var(--appointment-preview-width) * .075);
  bottom: calc(var(--appointment-preview-width) * .06);
}

.appointment.post-read-more {
  font-family: var(--futura-medium);
  font-size: calc(var(--appointment-preview-height) * .045);
  color: var(--magenta-hex);
}

section#board {
  padding: var(--section-padding-top-bottom) calc(var(--section-home-padding-right-left) - var(--person-preview-gap) * .5);
}

.board-container {
  display: flex;
  gap: var(--person-preview-gap);
}

.person.post-preview {
  width: var(--person-preview-width);
  height: var(--person-preview-height);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background: var(--yellow-hex);
  font-size: var(--archive-post-font-size);
  color: var(--magenta-hex);
}

.person.post-image-container {
  width: 100%;
  height: 50%;
}

.person.post-body {
  height: 50%;
  gap: calc(var(--person-preview-width) / 2 * 3 * .02);
  padding: calc(var(--person-preview-width) * .06) calc(var(--person-preview-width) * .075);
}

body.home section#board h3.person.post-heading {
  margin-bottom: 0;
  font-size: calc(var(--person-preview-height) * .035);
  text-transform: none;
}

body.home section#board h4.person.post-sub-heading {
  margin-bottom: .5em;
  font-family: var(--futura-medium);
  font-size: calc(var(--person-preview-height) * .025);
  font-weight: 400;
  text-transform: none;
}

.person.post-info-container {
  display: flex;
  flex-direction: column;
  gap: .5em;
  margin-bottom: .5em;
  font-size: calc(var(--person-preview-height) * .025);
}

.person.post-info {
  display: flex;
}

.person.post-icon {
  padding-top: .75px;
  margin-top: -1px;
  margin-right: .5em;
}

.person.post-info > a {
/* 	color: var(--cyan-hex); */
}

.person.social-media-container {
  display: flex;
  gap: 1.5em;
}

a.person.social-media-icon {
  font-size: calc(var(--person-preview-height) * .04);
  color: var(--magenta-hex);
}

a.person.post-read-more {
/* 	color: var(--cyan-hex); */
}

section#instagram {
/* 	--content-width: 1425px; */
  display: flex;
  justify-content: center;
  position: relative;
/* 	padding: var(--section-padding-top-bottom) calc(var(--section-home-padding-right-left) - var(--post-preview-gap) * .5); */
  background: rgba(var(--gray-light-rgb),.5);
  color: #fff;
  overflow: hidden;
}

section#instagram .FeedLayout__wrapper {
  background-color: transparent !important;
}

section#instagram .FeedHeader__root {
  background-color: transparent !important;
  padding: 0px;
}

section#instagram .FeedHeader__root {
  justify-content: center;
}

section#instagram .FeedHeader__left-container {
  flex: unset;
  width: fit-content;
  align-items: center;
  margin-bottom: calc(var(--post-preview-gap) / 2);
  padding: .5em;
  border-radius: 10em;
  background-color: #fff;
}

section#instagram .FeedLayout__root.sli__phone .FeedHeader__left-container {
  padding: .5em 2.25em;
}

section#instagram .FeedProfilePic__root {
  width: 60px !important;
  height: 60px !important;
  padding: 6px !important;
}

section#instagram .FeedHeader__info,
section#instagram .FeedHeader__info a {
  color: var(--magenta-hex) !important;
}

section#instagram .FeedGridLayout__grid {
  gap: var(--post-preview-gap) !important;
}

section#instagram .FeedLayout__col-footer {
  padding-top: 3.75rem;
}

section#instagram .FollowButton {
  display: flex;
  padding: var(--button-padding);
  border-radius: var(--button-border-radius);
  background-color: var(--yellow-hex) !important;
  font-family: var(--button-font-family);
  font-weight: var(--button-font-weight) !important;
  font-size: var(--button-font-size);
  text-transform: var(--button-text-transform);
  color: var(--magenta-hex) !important;
}

section#instagram .FeedLayout__root.sli__phone .FeedGridLayout__root {
  align-items: center;
}

section#instagram .FeedLayout__root.sli__phone .FeedGridLayout__grid {
  width: var(--post-preview-width);
}

/* SMASH BALLOON PLUGIN CURRENTLY NOT IN USE

#sb_instagram {
  padding-bottom: 0 !important;
}

#sb_instagram:nth-of-type(2),
#sb_instagram:nth-of-type(3) {
  display: none;
}

#sb_instagram #sbi_images {
  padding: 0;
}

.sbi_carousel > .sbi-owl-nav > div {
  width: var(--slider-arrow-background-width);
  height: var(--slider-arrow-background-height);
  display: flex;
  align-items: center;
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
}

section#instagram .sbi_carousel:hover .sbi-owl-nav > div {
  background: transparent;
  box-shadow: none;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

.sbi-owl-nav .sbi-owl-prev {
  justify-content: flex-start;
  margin-left: calc(var(--slider-arrow-width) * -1.5);
  padding: 0;
}

.sbi-owl-nav .sbi-owl-next {
  justify-content: flex-end;
  margin-right: calc(var(--slider-arrow-width) * -1.5);
  padding: 0;
}

.sbi_carousel .sbi-owl-nav > div::before {
  display: flex;
  font-family: 'remixicon' !important;
  font-size: calc(var(--slider-arrow-height) * 1.9);
  font-style: normal;
  color: var(--magenta-hex);
  text-shadow: var(--slider-shadow);
}

.sbi-owl-nav .sbi-owl-prev::before {
  content: "\ea64";
}

.sbi-owl-nav .sbi-owl-next::before {
  content: "\ea6e";
}

#sb_instagram .sbi_carousel .sbi-owl-nav .svg-inline--fa {
  display: none;
}

.sbi-owl-item {
  padding: 0 calc(var(--post-preview-gap) / 2);
}

#sb_instagram #sbi_load .sbi_follow_btn {
  margin-left: 0;
}

#sb_instagram #sbi_load .sbi_load_btn,
#sb_instagram .sbi_follow_btn a {
  display: flex;
  align-items: center;
  margin-top: 3.75rem;
  padding: var(--button-padding);
  border-radius: var(--button-border-radius);
  font-family: var(--button-font-family);
  font-weight: var(--button-font-weight);
  font-size: var(--button-font-size);
  text-transform: var(--button-text-transform);
  color: var(--button-color) !important;
}

#sb_instagram .sbi_follow_btn .fa,
#sb_instagram .sbi_follow_btn svg {
  margin-bottom: .05em;
  font-size: var(--button-font-size);
}

.sbi-owl-dots {
  height: calc(var(--slider-dots-height) * 2.5);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: var(--slider-dots-gap);
  margin-top: 0;
  padding: 0;
}

.sbi-owl-dot {
  width: var(--slider-dots-width);
  height: var(--slider-dots-height);
}

.sbi-owl-dots .sbi-owl-dot span {
  width: 100%;
  height: 100%;
  margin: 0;
  background: var(--magenta-hex);
  opacity: 1;
}

.sbi-owl-dots .sbi-owl-dot.active span {
  background: var(--yellow-hex);
  scale: 1.33;
  transition: all .3s ease-out;
}

.sbi-theme:not(.sbi-modern, .sbi-overlap) #sb_instagram .sbi_hover_bottom,
.sbi-theme:not(.sbi-modern, .sbi-overlap) #sb_instagram .sbi_hover_top,
.sbi-theme:not(.sbi-modern, .sbi-overlap)#sb_instagram .sbi_hover_bottom,
.sbi-theme:not(.sbi-modern, .sbi-overlap)#sb_instagram .sbi_hover_top {
  width: 100%;
  font-size: calc(var(--post-preview-width) * .045);
}

.sbi-theme:not(.sbi-modern, .sbi-overlap) #sb_instagram .sbi_hover_top,
.sbi-theme:not(.sbi-modern, .sbi-overlap)#sb_instagram .sbi_hover_top {
  padding: 0 1.25em !important;
  text-align: justify;
}

*/

section#topics {
  display: flex;
  flex-direction: column;
  background: #fff;
}

.topics-intro-text {
  --content-width: 850px;
  margin-bottom: 2.5em;
}

.topic-boxes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--topic-preview-gap);
}

.topic-box {
  width: var(--topic-preview-width);
  height: var(--topic-preview-height);
  position: relative;
  background: #fff;
}

.topic.post-image {
  width: 100%;
  height: 100%;
}

.topic-image-filter {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,.5);
}

body.home section#topics h3.topic-title {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0 0 .5em .5em;
  font-size: calc(var(--h3-font-size) * 1.1);
  color: #fff;
}

.kpa-read-more-container {
  display: flex;
  justify-content: center;
  padding-top: 3.75rem;
}

section#newsletter {
  background: var(--yellow-hex);
  color: var(--magenta-hex);
}

.newsletter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--post-preview-gap);
}

.newsletter-container > *:not(style) {
  width: 50%;
  max-width: 700px;
  height: 100%;
}

.newsletter-container form.wpcf7-form {
  padding: 1.75em 1.25em;
  background-color: #fff;
}

.newsletter-container form.wpcf7-form > p {
  flex-direction: row;
  justify-content: center;
  gap: 1em;
}

.newsletter-container form.wpcf7-form > p > label {
  flex-shrink: 0;
  width: 6.8em;
  display: flex;
  justify-content: center;
}

.newsletter-container form.wpcf7-form > p > br {
  display: none;
}

.newsletter-container form.wpcf7-form > p > .wpcf7-form-control-wrap {
  width: calc(100% - 6.8em);
}

.newsletter-container form.wpcf7-form > p > span.wpcf7-form-control-wrap > input.wpcf7-text {
  height: 2.25em;
  padding:  .125em .75em;
  background-color:  rgba(var(--gray-light-rgb),.5);
  font-size: .9em;
}

.newsletter-container form.wpcf7-form > p > input.wpcf7-submit {
  background-color: var(--yellow-hex);
  color: var(--magenta-hex);
}

form.sib_signup_form {
  padding: 1.75em 1.25em;
  background: #fff;
  color: #000;
}

.sib_signup_box_inside_1 {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-column-gap: 1em;
  grid-row-gap: 1em;
}

.sib_msg_disp {
  display: none;
  grid-column: 1/3;
}

form.sib_signup_form p.sib-alert-message {
  text-align: left;
}

.newsletter-mandatory-note {
  font-size: .75em;
}

.newsletter-button-container {
  grid-column: 1/3;
  display: flex;
  justify-content: center;
}

.sib_signup_box_inside_1 > label {
  display: flex;
  align-items: center;
}

.sib_signup_box_inside_1 > input {
  height: 2.25em;
  padding: .125em .75em;
  background: rgba(var(--gray-light-rgb),.5);
  border: 0;
  font-family: var(--font-family);
  font-size: .9em;
}

input#newsletter-button {
  margin-top: .5em;
  border: 0;
  background: var(--yellow-hex);
}


/* MAIN - PAGE */

section.page.header {
  width: 100vw;
  max-height: var(--page-header-max-height);
  padding: 0;
}

section.page.header picture {
  max-height: var(--page-header-max-height);
}

section.page.header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

section.page.main {
  min-height: var(--main-min-height);
}

.page.image-container {
  width: 250px;
  height: 100%;
  display: flex;
}

.page.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0 15%;
}

.page.featured-image-container {
  width: var(--page-featured-image-width);
  height: var(--page-featured-image-height);
/* 	height: 100%; */
  position: relative;
  float: right;
  margin: .2em 0 1.5em 1.5em;
}

img.page.featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page.content > p:first-of-type {
  margin-top: 0;
}

.page.content > *:last-child {
  margin-bottom: 0;
}


/* appointments slider */

body.page-termine-praevention section.page.main {
  padding: var(--section-padding-top-bottom) 0;
}

body.page-termine-praevention .page.content {
/* 	--content-width: 1080px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 calc(var(--section-home-padding-right-left) - var(--appointment-preview-gap) * .5);
}

body.page-termine-praevention .page.content > * {
  max-width: var(--content-width);
}

body.page-termine-praevention .page.content > .appointments-container {
  --content-width: 1350px;
  width: 100%;
  max-width: calc(var(--content-width) + var(--appointment-preview-gap));
  margin-bottom: 2em;
}

body.page-termine-praevention .appointments-container .slick-slide {
  margin: 0 calc(var(--appointment-preview-gap) * .5);
}

body.page-termine-praevention .slick-prev {
  left: calc(var(--slider-arrow-width) * -1);
}

body.page-termine-praevention .slick-next {
  right: calc(var(--slider-arrow-width) * -1);
}


/* 404 page */
.viernullvier-image {
  float: left;
  max-width: 90%;
  max-height: 250px;
}


/* gutenberg */

.has-yellow-color { color: var(--yellow-hex); }
.has-yellow-background-color { background-color: var(--yellow-hex); }

.has-magenta-color { color: var(--magenta-hex); }
.has-magenta-background-color { background-color: var(--magenta-hex); }

.has-cyan-color { color: var(--cyan-hex); }
.has-cyan-background-color { background-color: var(--cyan-hex); }

.has-turquise-color { color: var(--turquise-hex); }
.has-turquise-background-color { background-color: var(--turquise-hex); }

.has-violet-color { color: var(--violet-hex); }
.has-violet-background-color { background-color: var(--violet-hex); }

.has-gray-light-color { color: var(--gray-light-hex); }
.has-gray-light-background-color { background-color: var(--gray-light-hex); }

.has-gray-medium-color { color: var(--gray-medium-hex); }
.has-gray-medium-background-color { background-color: var(--gray-medium-hex); }

.has-black-color { color: #000000; }
.has-black-background-color { background-color: #000000; }

.has-white-color { color: #ffffff; }
.has-white-background-color { background-color: #ffffff; }

p.has-background {
    padding: 1.25em 1.75em;
}

.wp-block-columns:last-child {
  margin-bottom: 0;
}

section.page.main .wp-block-columns p:only-child {
  margin: 0;
}

section.page.main .wp-block-column ul {
  margin: 0;
}

.wp-block-column > *:is(h2,h3,h4,h5,h6,p):first-child {
  margin-top: 0;
}

.wp-block-file {
  display: flex;
  align-items: center;
  gap: 1em;
}

.wp-block-file:last-of-type {
  margin-bottom: 0;
}

.wp-block-file > a {
  width: calc(50% - .5em);
  min-height: 90px;
  display: flex;
  align-items: center;
  position: relative;
  padding: .75em calc(60px + .75em * 2) .75em calc(80px + .75em);
  background: rgba(var(--gray-light-rgb),.2);
  font-family: var(--futura-medium);
  font-size: var(--main-font-size);
  font-weight: 300;
  text-align: left;
}

.wp-block-file > a:hover {
  opacity: 1;
  text-decoration: none;
}

.wp-block-file > a:not(.wp-element-button)::before {
  content: '';
  width: 80px;
  height: 100%;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px;
  background-color: var(--magenta-hex);
  background-size: calc(100% - 10px);
  background-repeat: no-repeat;
  background-position: center;
}

.wp-block-file > a[href*=".ai"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/ai-icon-w.svg);
}

.wp-block-file > a[href*=".avi"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/avi-icon-w.svg);
}

.wp-block-file > a[href*=".doc"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/doc-icon-w.svg);
}

.wp-block-file > a[href*=".docx"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/docx-icon-w.svg);
}

.wp-block-file > a[href*=".eps"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/eps-icon-w.svg);
}

.wp-block-file > a[href*=".exe"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/exe-icon-w.svg);
}

.wp-block-file > a[href*=".gif"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/gif-icon-w.svg);
}

.wp-block-file > a[href*=".indd"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/indd-icon-w.svg);
}

.wp-block-file > a[href*=".jpeg"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/jpeg-icon-w.svg);
}

.wp-block-file > a[href*=".jpg"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/jpg-icon-w.svg);
}

.wp-block-file > a[href*=".mov"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/mov-icon-w.svg);
}

.wp-block-file > a[href*=".mp3"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/mp3-icon-w.svg);
}

.wp-block-file > a[href*=".mp4"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/mp4-icon-w.svg);
}

.wp-block-file > a[href*=".pdf"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/pdf-icon-w.svg);
}

.wp-block-file > a[href*=".png"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/png-icon-w.svg);
}

.wp-block-file > a[href*=".ppt"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/ppt-icon-w.svg);
}

.wp-block-file > a[href*=".pptx"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/pptx-icon-w.svg);
}

.wp-block-file > a[href*=".psd"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/psd-icon-w.svg);
}

.wp-block-file > a[href*=".svg"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/svg-icon-w.svg);
}

.wp-block-file > a[href*=".txt"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/txt-icon-w.svg);
}

.wp-block-file > a[href*=".xls"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/xls-icon-w.svg);
}

.wp-block-file > a[href*=".xlsx"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/xlsx-icon-w.svg);
}

.wp-block-file > a[href*=".zip"]:not(.wp-element-button)::before {
  background-image: url(assets/images/file-icons/zip-icon-w.svg);
}

.wp-block-file > a:not(.wp-element-button)::after {
  content: '\ec53';
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: calc(var(--main-font-size) * .75);
  background: #fff;
  border-radius: 100%;
  font-family: 'remixicon' !important;
  font-size: calc(var(--main-font-size) * 1.5);
  font-style: normal;
}

.wp-block-buttons a.wp-block-button__link,
.wp-block-file a.wp-block-file__button,
.wp-block-file a.wp-block-file__button:active,
.wp-block-file a.wp-block-file__button:focus,
.wp-block-file a.wp-block-file__button:hover,
.wp-block-file a.wp-block-file__button:visited {
  width: fit-content;
  min-height: unset;
  height: fit-content;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: var(--button-padding);
  border: 0;
  border-radius: var(--button-border-radius);
  background: var(--button-background-color);
  font-family: var(--button-font-family);
  font-weight: var(--button-font-weight);
  font-size: var(--button-font-size);
  text-transform: var(--button-text-transform);
  color: var(--button-color);
  text-decoration: none;
}

.wp-block-column .wp-block-buttons {
  margin-top: .75em;
}

.wp-block-buttons .wp-block-button {
  margin-bottom: 0;
}

.wp-block-media-text {
  grid-template-columns: 30% 1fr;
}

.wp-block-media-text .wp-block-media-text__media {
  height: 200px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 5px 5px 10px rgba(0,0,0,.25);
}

.wp-block-media-text .wp-block-media-text__media img {
  max-height: 100%;
  object-fit: contain;
}

.wp-block-columns .wp-block-image {
  margin-bottom: 2em;
}

.wp-block-columns .is-vertically-aligned-center > .wp-block-image {
  margin-bottom: 0;
}

hr.wp-block-separator {
  margin: 50px 0;
  border-bottom: 0;
  border-color: rgba(0,0,0,.25);
}

figure.wp-block-embed.is-type-video iframe {
  border-radius: 12px;
  box-shadow: 5px 5px 10px rgba(0,0,0,.25);
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  padding: .25em;
  background: rgba(var(--gray-dark-rgb),.5);
  font-size: calc(var(--main-font-size) * .9);
}



/* MAIN - SINGLE */

section.single.header {
  width: 100vw;
  max-height: var(--single-header-max-height);
  padding: 0;
}

section.single.header picture {
  max-height: var(--single-header-max-height);
}

section.single.header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

section.single.main :is(h2,h3,h4,h5,h6) {
  text-align: left;
}

.single.post-info-container {
  display: flex;
  margin-bottom: 1.5em;
  font-size: var(--main-font-size);
  text-align: left;
}

.single.post-info {
  display: flex;
}

.single.post-icon {
  color: var(--magenta-hex);
  padding-top: .75px;
  margin-top: -1px;
  margin-right: .5em;
}

.single.post-date {
  font-size: inherit;
  color: var(--color);
}

.single.post-category a {
  color: var(--color);
  text-decoration: none;
}

.single.post-category a:hover {
  text-decoration: underline;
}

.single.post-date {
  margin-right: 1.5em;
}

.single.featured-image-container {
  width: var(--single-featured-image-width);
/* 	height: var(--single-featured-image-height); */
  height: 100%;
  position: relative;
  float: right;
  margin: .2em 0 1.5em 1.5em;
}

img.single.featured-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.single.content > h2:first-of-type,
.single.content > p:first-of-type {
  margin-top: 0;
}


/* MAIN - SINGLE-APPOINTMENT */

.single.appointment.date,
.single.appointment.location {
  margin-right: 1.5em;
}

a.single.appointment {
  text-decoration: none;
}

.appointment.former-appointments {
  display: none; /* Vorrübergehend keine zurückliegenden Veranstaltungen ausgeben */
}

h2.contact-heading,
h2.sign-in-heading {
  clear: both;
}

.single.appointment.content .contact-person {
  display: flex;
  gap: var(--single-person-gap);
}


/* MAIN - SINGLE-PERSON */

h1.single.person.headline {
  margin-bottom: .25em;
}

.single.person.functions {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5em;
  font-family: var(--futura-medium);
  font-size: calc(var(--h1-font-size) * .65);
  color: var(--magenta-hex);
}

.single.person.featured-image-contacts-container {
  width: var(--single-featured-image-width);
  height: 100%;
  position: relative;
  float: right;
  margin: .2em 0 1.5em 1.5em;
}

.single.person.contacts {
  display: flex;
  flex-direction: column;
  gap: .25em;
  margin-top: -4px;
  padding: 1.75em;
  background-color: var(--yellow-hex);
}

.single.person.contact {
  display: flex;
  gap: .5em;
}

.single.person.contact-icon {
  font-size: 1.1em;
  color: var(--magenta-hex);
}

.single.person.content > p:first-child {
  margin-top: 0;
}

.single.person.contact-item {
  display: flex;
  margin: 15px 0;
}

.single.person.contact-text {
  text-decoration: none;
}

.single.person.social {
  display: flex;
  flex-wrap: wrap;
  margin-top: 25px;
}

.single.person.social-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(var(--content-width) * var(--single-person-ifcs-width-factor) * var(--single-person-image-width-factor) * 1/5);
  height: calc(var(--content-width) * var(--single-person-ifcs-width-factor) * var(--single-person-image-width-factor) * 1/5);
  background-color: var(--yellow-hex);
  font-size: calc(var(--content-width) * var(--single-person-ifcs-width-factor) * var(--single-person-image-width-factor) * 1/5 * .5);
  color: var(--magenta-hex);
  text-decoration: none;
}

.single.person.press-image {
  display: flex;
  margin-top: 25px;
}

.single.person.image-functions-contact-social:only-child .single.person.social-item {
  width: calc(var(--content-width) * var(--single-person-ifcs-solo-width-factor) * var(--single-person-image-width-factor) * 1/5);
  height: calc(var(--content-width) * var(--single-person-ifcs-solo-width-factor) * var(--single-person-image-width-factor) * 1/5);
  font-size: calc(var(--content-width) * var(--single-person-ifcs-solo-width-factor) * var(--single-person-image-width-factor) * 1/5 * .5);
}

.single.person.social-item:nth-of-type(even) {
  background-color: var(--magenta-hex);
  color: #fff;
}

.single.person.social-item:hover {
  color: var(--tertiary-color);
  transition: all .3s ease-out;
}


/* MAIN - SHORTCODES */

/* person */

.persons-category-shortcode {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
}

.person-shortcode {
  width: min(700px,100%);
  display: flex;
  align-items: center;
  text-align: left;
  color: var(--magenta-hex);
}

.persons-category-shortcode .person-shortcode {
  width: calc(100% / 2 - 1em);
}

:not(.contact-person,.persons-category-shortcode) > .person-shortcode + .person-shortcode {
  margin: 2em 0;
}

h2 + .person-shortcode,
h3 + .person-shortcode,
h4 + .person-shortcode,
h5 + .person-shortcode,
h6 + .person-shortcode {
  margin-top: .5em;
}

section.page.main .person-shortcode + h2 {
  margin-top: 2.5em;
}

.person-shortcode a {
  display: flex;
  color: inherit;
  text-decoration: none;
  transition: all .3s ease-out;
}

.person-shortcode a:hover {
  color: var(--magenta-hex);
  text-decoration: none;
  transition: all .3s ease-out;
}

.person-shortcode picture {
  flex-shrink: 0;
  width: var(--scp-image-width);
  height: var(--scp-image-height);
}

img.person-shortcode-image {
  flex-shrink: 0;
  width: var(--scp-image-width);
  height: var(--scp-image-height);
  object-fit: cover;
}

.person-shortcode-body {
  width: 100%;
  height: var(--scp-image-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .5em;
  padding: 1.5em;
  background:  var(--yellow-hex);
  font-size: var(--scp-general-font-size);
}

.person-shortcode-name {
  font-family: var(--futura-bold-oblique);
  font-size: calc(var(--scp-general-font-size) * 1.35);
  font-weight: 700;
}

.person-shortcode-functions {
  font-family: var(--futura-medium);
  font-size: calc(var(--scp-general-font-size) * 1.125);
}

.person-shortcode-contacts {
  margin-bottom: .25em;
}

.person-shortcode-contact {
  display: flex;
  gap: .5em;
  margin-top: .25em;
}

.person-shortcode-contact-icon {
  font-size: calc(var(--scp-general-font-size) * 1.125);
}

.person-shortcode-contact-text {
  display: flex;
  align-items: center;
}

.person-shortcode-social-media-icons {
  display: flex;
  gap: 1.5em;
}

.person-shortcode-social-media-icon {
  font-size: calc(var(--scp-general-font-size) * 1.4);
}

.person-shortcode-social .person-shortcode-social-icon:nth-of-type(even) {
  background-color: var(--magenta-hex);
  color: var(--yellow-hex);
}

.person-shortcode-social-icon:hover {
  color: var(--tertiary-color);
  transition: all .3s ease-out;
}

/* appointment */

.shortcode.appointments-container {
  --appointment-preview-width: min(calc(100vw - var(--section-padding-right-left) * 2), var(--content-width));
  --appointment-preview-height: calc(var(--appointment-preview-width) / 6 * 2);
}

.shortcode.appointment.post-preview {
  flex-direction: row;
}

.shortcode.appointment.post-image-container {
  width: 50%;
  height: 100%;
}

.shortcode.appointment.post-body {
  width: 50%;
  height: 100%;
  gap: calc(var(--appointment-preview-width) / 4 * 3 * .02);
  padding: calc(var(--appointment-preview-width) / 2 * .065) calc(var(--appointment-preview-width) / 2 * .085);
}

h3.shortcode.appointment.post-heading,
.shortcode.appointment.post-read-more {
  font-size: calc(var(--appointment-preview-height) * .1);
}

.shortcode.appointment.post-info-container {
  font-size: calc(var(--appointment-preview-height) * .075);
}


/* MAIN - ARCHIVE */

/* post */

section.archive {
  --content-width: 1350px;
/* 	--section-padding-right-left: max(calc((100vw - var(--content-width)) / 2), 150px); */
  min-height: var(--main-min-height);
}

body:not(.home) .archive :is(h2,h3,h4,h5,h6) {
  width: 100%;
  text-align: left;
}

.archive.categories-container a,
.archive.posts-container a {
  text-decoration: none;
}

h2.archive.categories-heading {
  margin-top: 0;
}

.archive.categories {
  display: flex;
  gap: .25em;
  flex-wrap: wrap;
  margin-bottom: var(--post-preview-gap);
}

.archive.category-button {
  padding: var(--button-padding);
  background: var(--gray-light-hex);
  font-family: var(--futura-medium);
  font-weight: 300;
  font-size: 1.25rem;
  color: #fff;
}

.archive.category-button.active,
.archive.category-button:hover {
  background: var(--gray-dark-hex);
  transition: all .3s ease-out;
}

.archive.post.posts-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--post-preview-gap);
  flex-wrap: wrap;
}

.archive.post.post-preview {
  box-shadow: var(--header-shadow);
}

h2.archive.post.post-heading {
  margin: 0;
  font-size: calc(var(--post-preview-height) * .0333);
  text-align: left;
}

h2.archive.post.post-heading a {
  color: var(--magenta-hex);
}

.archive.post span.isc-source-text {
  font-size: .6em !important;
  top: unset !important;
  left: 8px !important;
  bottom: 8px;
  /* Keine Quellen auf Titelbild-Vorschau ausgeben */
  display: none !important;
}

/* appointment */

.archive.appointment.categories {
  margin-bottom: var(--appointment-preview-gap);
}

.archive.appointment.category-button.active,
.archive.appointment.category-button:hover {
  background: var(--magenta-hex);
}

.archive.appointment.posts-container {
  display: flex;
  justify-content: center;
  gap: var(--appointment-preview-gap);
  flex-wrap: wrap;
}

.archive.appointment.post-preview {
  width: var(--appointment-preview-width);
  height: var(--appointment-preview-height);
  box-shadow: var(--header-shadow);
}

h2.archive.appointment.post-heading {
  margin-top: 0;
  margin-bottom: .25em;
  font-size: calc(var(--appointment-preview-height) * .0375);
  text-align: left;
}

/* search */

section.search.header {
  width: 100vw;
  max-height: var(--single-header-max-height);
  padding: 0;
}

section.search.header picture {
  max-height: var(--single-header-max-height);
}

section.search.header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}

.search.posts-container {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.search.post {
  display: flex;
  flex-direction: column;
  gap: .75em;
  padding: 1.5em;
  background-color: rgba(var(--gray-light-rgb),.2);
}

.search.post-heading {
  margin: 0;
}

.search-term.heading {
  padding: .25em .2em .15em .1em;
  background-color: var(--magenta-hex);
  color: var(--yellow-hex);
}

.search.post-info {
  display: flex;
  gap: .25em;
  font-family: var(--futura-medium);
  font-size: calc(var(--main-font-size) * 1.125);
  font-weight: 300;
  color: var(--magenta-hex);
}

.search-term.excerpt {
  font-weight: 700;
  color: var(--magenta-hex);
}

.search.read-more {
  width: fit-content;
  align-self: flex-end;
}

/* pagination */

.pagination {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: var(--appointment-preview-gap);
  font-family: var(--futura-medium);
  font-weight: 300;
  font-size: 1.25rem;
}

.posts-container + .pagination {
  margin-top: var(--appointment-preview-gap);
  margin-bottom: 0;
}

.pagination > * {
  display: flex;
  text-decoration: none;
}

.pagination a:hover {
  text-decoration: none;
}

.page-numbers:not(.prev, .next) {
  width: 1.4em;
  height: 1.4em;
  justify-content: center;
  align-items: center;
  margin: 0 .125em;
  background-color: var(--gray-light-hex);
  color: var(--magenta-hex);
}

.page-numbers.prev,
.page-numbers.next {
  margin: 0 10px;
  padding-top: 2px;
  color: inherit;
}

.post.pagination :is(.page-numbers.prev,.page-numbers.next) {
/* 	color: var(--color); */
}

.appointment.pagination :is(.page-numbers.prev,.page-numbers.next),
.search.pagination :is(.page-numbers.prev,.page-numbers.next) {
/* 	color: var(--color); */
}

.post.pagination .page-numbers.current,
.post.pagination .page-numbers:not(.prev, .next):hover {
  background-color: var(--yellow-hex);
  transition: all .3s ease-out;
}

.appointment.pagination .page-numbers.current,
.search.pagination .page-numbers.current,
.appointment.pagination .page-numbers:not(.prev, .next):hover,
.search.pagination .page-numbers:not(.prev, .next):hover {
  background-color: var(--yellow-hex);
  transition: all .3s ease-out;
}

.page-numbers.prev:hover,
.page-numbers.next:hover {
  color: var(--magenta-hex);
  transition: all .3s ease-out;
}


/* FOOTER */

footer {
  --content-width: 1350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--footer-padding-right-left);
  background: var(--footer-background-color);
  border-top: 1px solid var(--gray-light-hex);
  font-family: var(--footer-font-family);
  font-size: var(--footer-font-size);
  font-weight: var(--footer-font-weight);
  color: var(--footer-color);
}

.footer-row {
  width: var(--footer-row-width);
  display: flex;
  justify-content: center;
}

.footer-row.top {
/* 	--content-width: 1770px; */
  align-items: center;
  padding: var(--footer-padding-top-bottom) 0;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: var(--footer-logos-gap);
  flex-wrap: wrap;
}

.footer-logo {
  width: var(--footer-logo-width);
  height: var(--footer-logo-height);
/* 	background-size: contain;
  background-repeat: no-repeat; */
}

.footer-logo a,
.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

footer .footer-row a {
  color: inherit;
  text-decoration: none;
}

footer .footer-row a:hover {
  text-decoration: none;
}

.footer-row .social-media-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 45px;
}

.footer-row .social-media {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--footer-social-media-border-color);
  border-radius: 100%;
  font-size: 30px;
  color: var(--footer-social-media-color);
}

.footer-row.bottom {
  padding: var(--footer-padding-top-bottom) 0;
}

nav#footer-menu ul {
  display: flex;
  gap: 3em;
}

nav#footer-menu ul > li {
  display: flex;
  align-items: center;
  position: relative;
}

nav#footer-menu ul > li:not(:nth-of-type(1))::before {
  content: '|';
  width: 3em;
  height: .9em;
  position: absolute;
  top: -.15em;
  left: -1.75em;
}

nav#footer-menu ul > li > ul.sub-menu {
  display: flex;
  flex-direction: column;
  gap: .75em;
}

.copyright {
  padding-top: var(--footer-padding-top-bottom);
  font-size: .85em;
}


/* PLUGINS */

/* Contact Form 7 */

form.wpcf7-form {
  width: 100%;
  max-width: 700px;  
  padding: 2em;
  background: var(--yellow-hex);
  color: var(--magenta-hex);
}

form.wpcf7-form > p,
form.wpcf7-form > p > label {
  display: flex;
  flex-direction: column;
  gap: .1em;
  text-align: initial;
}

form.wpcf7-form > p:nth-of-type(1) {
  margin-top: 0;
}

form.wpcf7-form > p:last-of-type {
  position: relative;
  margin-bottom: 0;
}

form.wpcf7-form :is(input,textarea,select).wpcf7-form-control {
  width: 100%;
  height: 2.5em;
  padding: .5em;
  border: 0;
  background: #fff;
  font-family: var(--font-family);
  font-size: 1.125rem;
  color: var(--magenta-hex);
}

form.wpcf7-form textarea.wpcf7-form-control {
  height: 7.5em;
}

form.wpcf7-form option {
  font-family: var(--font-family);
}

span.wpcf7-radio,
span.wpcf7-checkbox {
  display: flex;
  flex-direction: column;
  gap: .1em;
  margin-top: .25em;
}

span.wpcf7-radio span.wpcf7-list-item,
span.wpcf7-checkbox span.wpcf7-list-item {
  display: flex;
  margin: 0;
}

span.wpcf7-radio label,
span.wpcf7-checkbox label {
  display: flex;
  gap: .3em;
}

form.wpcf7-form input[type=radio] {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  place-content: center;
  margin: .1em 0 0;
  font: inherit;
  color: currentColor;
  border: .15em solid #fff;
  border-radius: 45%;
  cursor: pointer;
  transition: .15s all ease-out;
}

form.wpcf7-form input[type=checkbox] {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  display: grid;
  place-content: center;
  margin: .1em 0 0;
  font: inherit;
  color: currentColor;
  border: .15em solid #fff;
  border-radius: 6%;
  cursor: pointer;
  transition: .15s all ease-out;
}

form.wpcf7-form input[type=checkbox]:checked,
form.wpcf7-form input[type=radio]:checked {
  background-color: var(--magenta-hex);
  border-color: var(--magenta-hex);
}

form.wpcf7-form input[type=checkbox]::before {
  content: '';
  width: .6em;
  height: .6em;
  transform: scale(0);
  transform-origin: bottom left;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  box-shadow: inset 1em 1em #fff;
  transition: .15s transform ease-out;
}

form.wpcf7-form input[type=checkbox]:checked::before {
  transform: scale(1);
}

span.wpcf7-acceptance span.wpcf7-list-item {
  margin: 0;
  font-size: .75em;
}

span.wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
}

span.wpcf7-acceptance span.wpcf7-list-item-label {
  margin-left: .5em;
}

.wpcf7-mandatory-note {
  font-size: .75em;
}

form.wpcf7-form input[type=submit] {
  height: unset;
  padding: var(--button-padding);
  border: 0;
  border-radius: var(--button-border-radius);
  background: var(--magenta-hex);
  font-family: var(--button-font-family) !important;
  font-weight: var(--button-font-weight);
  font-size: var(--button-font-size);
  text-transform: var(--button-text-transform);
  color: #fff;
  cursor: pointer;
  transition: .3s opacity ease-out;
}

form.wpcf7-form input[type=submit]:disabled {
  opacity: .5;
}

.wpcf7-spinner {
  display: flex;
  background-color: var(--magenta-hex);
  opacity: 1;
  position: absolute;
  top: calc(50% - 12px);
}

.wpcf7-spinner::before {
  background-color: #fff;
}

form.wpcf7-form .wpcf7-response-output {
  margin: 1em 0;
  padding: .5em 1em;
}

form.wpcf7-form .wpcf7-response-output:first-of-type {
  margin-top: 1.5em;
}

form.wpcf7-form .wpcf7-response-output:last-of-type {
  margin-bottom: 0;
}

/* RRZE Download */

ul.files {
  list-style: none;
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  padding: 0;
}

ul.files + ul.files {
  margin-top: 3em;
}

ul.files li {
  width: calc(50% - .5em);
}

ul.files a {
  min-height: 90px;
  display: flex;
  align-items: center;
  position: relative;
  padding: .75em calc(60px + .75em * 2) .75em calc(80px + .75em);
  background: rgba(var(--gray-light-rgb),.2);
  font-family: var(--futura-medium);
  font-weight: 300;
  text-align: left;
}

ul.files a:hover {
  text-decoration: none;
}

ul.files a::after {
  content: '\ec53';
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: calc(var(--main-font-size) * .75);
  background: #fff;
  border-radius: 100%;
  font-family: 'remixicon' !important;
  font-size: calc(var(--main-font-size) * 1.5);
  font-style: normal;
}

ul.files object {
  width: 80px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px;
  background: var(--magenta-hex);
  pointer-events: none;
}

ul.files object svg {
  width: 45px;
  height: 45px;
}


/* OTHER */

#overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.5);
  visibility: hidden;
  opacity: 0;
  transition: all .3s ease-out;
}

#overlay.open {
  visibility: visible;
  opacity: 1;
}

#fixed-buttons {
  display: flex;
  gap: 10px;
  position: fixed;
/*   top: 10%; */
  right: 0;
  bottom: calc(100% - var(--header-height) - 10px);
  z-index: 999;
  transform: rotate(-90deg);
  transform-origin: right bottom;
}

body.admin-bar #fixed-buttons {
  bottom: calc(100% - 32px - var(--header-height) - 10px);
}

.fixed-button {
  align-items: center;
  padding: .85em 1.25em .75em;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  box-shadow: 0 0 10px rgba(0,0,0,.25);
}

.fixed-button.magenta {
  background-color: var(--magenta-hex);
  color: #fff;
}

.fixed-button.white {
  background-color: #fff;
}



/* MEDIA QUERIES */

/* interaction */

@media (hover: none) {

}

/* screen width */

@media screen and (max-width: 1740px) {
  #prevention-container {
    right: -125px;
    transition: all .3s ease-out;
  }
  #prevention-container:hover {
    right: 0;
    transition: all .3s ease-out;
  }
  .prevention-icon {
    display: flex;
  }
}

@media screen and (max-width: 1440px) {
  :root {
    --main-menu-font-size: 1rem;
    --section-padding-right-left: 75px;
    --section-home-padding-right-left: 75px;
    --post-preview-gap: 50px;
    --appointment-preview-gap: 50px;
    --person-preview-gap: 50px;
    --topic-preview-gap: 50px;
  }
  nav#header-main-menu > #home-icon > img {
    scale: .8;
  }
  #post {
    font-size: 1.2rem;
  }
  #post-excerpt {
    font-size: 1.5rem;
  }
  #post-thumbnail {
    height: 50vh;
  }
  #post-body > * {
    margin-left: 15px;
    margin-right: 15px;
  }
  #post-body > figure.wp-block-image {
    width: 100%;
    max-height: 100vh;
    overflow: hidden;
  }
}

@media screen and (max-width: 1240px) {
  :root {
    --header-padding-right-left: 25px;
    --header-logo-container-width: 320px;
    --scp-image-width: 300px;
    --scp-image-height: var(--scp-image-width);
  }
  header {
    max-height: var(--mobile-vh);
  }
  .wp-block-columns > .wp-block-column > .wp-block-columns {
    flex-direction: column;
  }
  .wp-block-columns > .wp-block-column > .wp-block-columns:empty {
    display: none;
  }
  section.page.main .wp-block-columns.is-layout-flex,
  .contact-person {
    flex-direction: column;
  }
  .persons-category-shortcode .person-shortcode {
    width: min(700px,100%);
  }
}

@media screen and (max-width: 1140px) {
}

@media screen and (max-width: 1040px) {
  :root {
    --h1-font-size: 2rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --h4-font-size: 1.125rem;
    --post-preview-width: min(calc((100vw - var(--section-home-padding-right-left) * 2 - var(--post-preview-gap)) / 2), 400px);
    --appointment-preview-width: min(calc((100vw - var(--section-home-padding-right-left) * 2 - var(--post-preview-gap)) / 2), 400px);
    --person-preview-width: min(calc((100vw - var(--section-home-padding-right-left) * 2 - var(--post-preview-gap)) / 2), 400px);
    --topic-preview-width: min(calc((100vw - var(--section-home-padding-right-left) * 2 - var(--post-preview-gap)) / 2), 400px);
  }
  body.home section#news > .slick-slider {
    max-width: calc(var(--post-preview-width) * 2 + var(--post-preview-gap) * 2);
  }
  body.home section#appointments > .slick-slider,
  body.page-termine-praevention .page.content > .appointments-container {
    max-width: calc(var(--appointment-preview-width) * 2 + var(--appointment-preview-gap) * 2);
  }
  body.home section#board > .slick-slider {
    max-width: calc(var(--appointment-preview-width) * 2 + var(--appointment-preview-gap) * 2);
  }
  #sb_instagram:nth-of-type(1) {
    display: none;
  }
  #sb_instagram:nth-of-type(2) {
    display: block;
  }
  .kpa-boxes {
    justify-content: center;
    flex-wrap: wrap;
  }
  .newsletter-container {
    flex-direction: column;
  }
  .newsletter-container > *:not(style) {
    width: 100%;
  }
  .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: unset;
  }
  section.page.main .wp-block-columns.is-layout-flex {
    flex-direction: column;
  }  
}

@media screen and (max-width: 940px) {
  :root {
    --header-height: 120px;
    --header-logo-container-width: 400px;
    --section-padding-right-left: 50px;
    --section-home-padding-right-left: 50px;
    --footer-padding-right-left: 50px;
  }
  #prevention-container {
    right: -135px;
  }
  .prevention-icon {
    left: 3%;
  }
  #prevention-container:hover .prevention-icon {
    left: 6%;
  }
  .slide-text h1 {
    font-size: 2.5rem;
  }
  .slide-text p {
    font-size: 1.25rem;
  }
  .slide-text p a {
    font-size: 1.25rem;
  }
  .news-container {
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer-row {
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 50px;
  }
  .footer-column.right-bottom {
    width: 100%;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  #fixed-buttons {
    width: 100%;
    justify-content: center;
    top: unset;
    right: unset;
    bottom: 0;
    padding: 0 10px;
    transform: unset;
  }
  .fixed-button {
    padding: var(--button-padding);
  }
}

@media screen and (max-width: 840px) {
  .wp-block-file,
  ul.files {
    flex-direction: column;
  }
  .wp-block-file > a,
  ul.files > li {
    width: 100%;
  }
}

@media screen and (max-width: 782px) {
  #wpadminbar + header {
    margin-top: 46px;
  }
  body.admin-bar #fixed-buttons {
    bottom: calc(100% - 46px - var(--header-height) - 10px);
  }
}

@media screen and (max-width: 768px) {
  :root {
    --post-preview-width: min(calc(100vw - var(--section-home-padding-right-left) * 2), 400px);
    --appointment-preview-width: min(calc(100vw - var(--section-home-padding-right-left) * 2), 400px);
    --person-preview-width: min(calc(100vw - var(--section-home-padding-right-left) * 2), 400px);
    --topic-preview-width: min(calc(100vw - var(--section-home-padding-right-left) * 2), 400px);
    --scp-image-width: min(calc(100vw - var(--section-padding-right-left) * 2), 400px);
    --scp-general-font-size: calc(var(--scp-image-height) * .04);
    --footer-sub-logos-gap: 20px;
    --footer-sub-logo-width: 40px;
  }
  body.home section:not(#above-the-fold) h2 {
    font-size: var(--h1-font-size);
  }
  section#news,
  section#appointments,
  section#board {
    padding: var(--section-padding-top-bottom) var(--section-home-padding-right-left);
  }
  body.page-termine-praevention .page.content {
    padding: 0 var(--section-home-padding-right-left);
  }
  section#news .slick-dots,
  section#appointments .slick-dots,
  body.page-termine-praevention .slick-dots,
  section#board .slick-dots {
    height: calc(var(--slider-dots-height) * 2.5);
    align-items: flex-end;
    position: static;
  }
  section#news .slick-dots li,
  section#appointments .slick-dots li,
  body.page-termine-praevention .slick-dots li,
  section#board .slick-dots li {
    height: var(--slider-dots-height);
    background: transparent;
  }
  section#news .slick-slide,
  section#appointments .slick-slide,
  body.page-termine-praevention .appointments-container .slick-slide,
  section#board .slick-slide {
    margin: 0 calc((100vw - var(--section-home-padding-right-left) * 2 - var(--post-preview-width)) * .5);
  }
  #sb_instagram:nth-of-type(2) {
    display: none;
  }
  #sb_instagram:nth-of-type(3) {
    display: block;
  }
  .sbi-owl-item {
    padding: 0 calc((100vw - var(--section-home-padding-right-left) * 2 - var(--post-preview-width)) * .5 + var(--post-preview-gap) * .5);
  }
  .single.featured-image-container {
    float: unset;
    margin: 0 0 1.5em;
  }
  .shortcode.appointments-container {
    --appointment-preview-width: min(calc(100vw - var(--section-padding-right-left) * 2), 400px);
    --appointment-preview-height: calc(var(--appointment-preview-width) / 3 * 4);
  }
  .shortcode.appointment.post-preview {
    flex-direction: column;
  }
  .shortcode.appointment.post-image-container {
    width: 100%;
    height: 50%;
  }
  .shortcode.appointment.post-body {
    width: 100%;
    height: 50%;
    gap: calc(var(--appointment-preview-width) / 2 * 3 * .02);
    padding: calc(var(--appointment-preview-width) * .065) calc(var(--appointment-preview-width) * .085);
  }
  h3.shortcode.appointment.post-heading,
  .shortcode.appointment.post-read-more {
    font-size: calc(var(--appointment-preview-height) / 2 * .1);
  }
  .shortcode.appointment.post-info-container {
    font-size: calc(var(--appointment-preview-height) / 2 * .075);
  }
  .person-shortcode {
    min-width: unset;
    flex-direction: column;
  }
  .person-shortcode-body {
    width: var(--scp-image-width);
    height: unset;
  }
}

@media screen and (max-width: 600px) {
  :root {
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1.125rem;
    --h4-font-size: 1rem;
    --header-height: 100px;
    --header-logo-container-width: 330px;
    --header-padding-right-left: 15px;
    --footer-font-size: 1rem;
  }
  #wpadminbar {
    position: fixed;
  }
  body.home main ul:not(.slick-dots) {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }
  body.home section h2 {
    font-size: 2rem;
  }
  .slide-source a {
    font-size: .875rem;
  }
  .archive.appointment.posts-container {
    justify-content: center;
  }
  .archive.post-info-container {
    flex-direction: column;
    gap: .5em;
  }
  .footer-column.right-bottom {
    justify-content: space-around;
    gap: 0;
  }
  form.wpcf7-form {
    padding: 1.5em;
  }
}

@media screen and (max-width: 540px) {
  :root {
    --section-padding-right-left: 25px;
    --section-home-padding-right-left: 40px;
    --scp-general-font-size: calc(var(--scp-image-height) * .045);
    --footer-padding-right-left: 25px;
  }
  .newsletter-container form.wpcf7-form > p {
    flex-direction: column;
    gap: .1em;
  }
  .newsletter-container form.wpcf7-form > p > .wpcf7-form-control-wrap {
    width: 100%;
  }
  .sib_signup_box_inside_1 > label,
  .sib_signup_box_inside_1 > input {
    grid-column: 1/3;
  }
  .sib_signup_box_inside_1 > input {
    margin-top: -.75em;
  }
  form.wpcf7-form {
    min-width: unset;
  }
  footer {
    background-size: 400%;
  }
  .footer-row {
    justify-content: center;
  }
  .organization-logos {
    flex-direction: column;
    gap: 40px;
  }
  .sub-organization-logos {
    padding-top: 0;
  }
  .footer-row .social-media-container {
    gap: 30px;
  }
  .footer-row .social-media {
    width: 45px;
    height: 45px;
    font-size: calc(45px * .5);
  }
    nav#footer-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 1em;
  }
  nav#footer-menu ul > li:not(:nth-of-type(1))::before {
    display: none;
  }
}

@media screen and (max-width: 440px) {
  :root {
    --main-font-size: 1rem;
    --section-home-padding-right-left: 25px;
    --button-font-size: 1rem;
    --scp-general-font-size: calc(var(--scp-image-height) * .05);
    --footer-font-size: .9rem;
  }
  .slide-text h1 {
    font-size: 1.75rem;
  }
  .slide-text p {
    font-size: 1.125rem;
  }
  .slide-text p a {
    font-size: 1.125rem;
  }
  .special-image {
    float: unset;
    max-width: 100%;
    margin: 0 0 .5em;
  }
  .wp-block-file > a,
  ul.files a {
    min-height: 80px;
    padding: .75em calc(45px + .75em * 2) .75em calc(70px + .75em);
  }
  .wp-block-file > a:not(.wp-element-button)::before,
  ul.files object {
    width: 70px;
/* 		height: 80px; */
  }
  ul.files a::after,
  .wp-block-file > a:not(.wp-element-button)::after {
    width: 45px;
    height: 45px;
  }
  .footer-row .social-media-container {
    gap: 21px;
  }
  .footer-row .social-media {
    width: 36px;
    height: 36px;
    font-size: calc(36px * .5);
  }
  ul#menu-fussmenue,
  .footer-column.right-bottom {
    justify-content: space-between;
  }
  .fixed-button {
    font-size: calc(var(--button-font-size) * .88);
  }
}

@media screen and (max-width: 380px) {
  :root {
/* 		--h1-font-size: 1.75rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --h4-font-size: 1.125rem; */
    --header-height: 90px;
    --header-logo-container-width: 300px;
  }
}




















