/*
Theme Name: Eva Knoche
Description: Handgefertigtes Theme für WordPress
Author: plue
Author URI: https://plue.es
Version: 1.1.9
Text Domain: theme
*/

:root {
  --theme-color-primary: rgb(130,38,110);
  --theme-color-accent: #000;
  --theme-color-dark: #333;
  --theme-color-light: #fff;
  --theme-color-grey: rgb(150,140,120);

  --theme-font-family: "Brandon", Verdana, sans-serif;
  --theme-font-family-special: "Noto", Verdana, sans-serif;
  --theme-line-height: 1.53;
  --theme-font-weight: normal;
  /*--theme-font-size: 19px;*/
  --theme-font-size: 20px;
  /*--theme-font-size-small: 17px;*/
  --theme-font-size-small: 18px;
  --theme-letter-spacing: 0.03em;

  /*--theme-menu-font-size: 15px;*/
  --theme-menu-font-size: 16px;
  --theme-menu-line-height: 1.8;
  --theme-menu-letter-spacing: 0.15em;

  --theme-headings-font-family: "Christmas", Verdana, sans-serif;
  --theme-headings-line-height: 1.33;
  --theme-headings-font-weight: normal;
  --theme-headings-font-size: 75px;

  /*--theme-button-font-size: 23px;*/
  --theme-button-font-size: 24px;
  --theme-button-padding: 0.45em 0.9em 0.4em;
  --theme-button-border-width: 1px;
  --theme-button-border-radius: 0;

  --theme-layout-spacer: var(--theme-font-size);
  --theme-layout-spacer-large: calc(var(--theme-font-size) * 2);
  --theme-layout-offset: 100px;
  --theme-layout-offset-small: 75px;
  --theme-layout-offset-mobile: 100px;
  /*--theme-layout-width: 1280px;*/
  --theme-layout-width: 1320px;
  --theme-layout-width-wide: 1420px; /*dependent to stylebase container!*/

  --theme-animation-time: 1s;
  --theme-transition-time: 200ms;
}

@media (max-width: 999px) {
  :root {
    --theme-layout-offset: 75px;
    --theme-layout-offset-mobile: 25px;
    --theme-menu-line-height: 1.6;
    --theme-headings-font-size: 60px;

  }
}

@media (max-width: 599px) {
  :root {
    --theme-button-font-size: 20px;
    --theme-headings-font-size: 45px;
  }
}

@media (max-width: 399px) {
  :root {
    --theme-button-font-size: 18px;
    --theme-button-padding: 0.45em 0.3em 0.4em;
  }
}

.type-post--single .type-post__nav {
	display: flex;
	justify-content: flex-end;
	text-align: left;
	gap: 2em;
}

.wp-block-video figcaption,
figure.video-preview figcaption {
	font-size: 0.74em;
    margin: 0;
}

figure.video-preview {
	margin-top: 0 !important;
	margin-bottom: calc(1.5*var(--theme-layout-spacer)) !important;
	position: relative;
}

figure.video-preview img {
  object-fit: cover;
  aspect-ratio: 5/3;
  object-position: top;
}

figure.video-preview::after {
  content: '▶';
  font-size: 3rem;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding-left: 0.3rem;
  padding-bottom: 0.2rem;
  box-sizing: border-box;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 250ms ease-in-out;
}

figure.video-preview:hover::after {
  opacity: 1;
}

.wp-block-cover img.wp-block-cover__image-background {
	object-fit: contain;
}

body .type-page__action .theme-button {
  text-transform: none;
}

[id^="paypal-container-"] {
	position: relative;
	z-index: 1;
}