/*
 *
 */

:root {
  --body-color: #ffffff;
  --primary-background: #ded1d1;
  --secondary-background: #383838;
  --highlight-background: #947d87;
  --muted-background: #f7f7f7;
  --muted-color: #666666;
  --text-color: #555555;
}

#tm-main .uk-section-muted:has(.uk-breadcrumb) {
  margin-bottom: 0;
}

#tm-main .uk-section-muted:has(.uk-breadcrumb) + .uk-section-default {
  padding-top: 20px;
}

#tm-main .tpl-header-image {
  padding-top: 0!important;
}

/* Homepage slideshow only. Keep the builder's images, copy and animations. */
body.home #tm-main .uk-slideshow[uk-slideshow] .uk-slideshow-items {
  /* Override the exported 31.25vw rule, which clips the quotes on phones. */
  height: clamp(360px, 31.25vw, 480px) !important;
  min-height: 360px !important;
}

body.home #tm-main .uk-slideshow[uk-slideshow] .uk-slideshow-items > .el-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(28, 19, 30, 0.78) 0%, rgba(28, 19, 30, 0.74) 60%, rgba(28, 19, 30, 0.08) 100%);
}

body.home #tm-main .uk-slideshow[uk-slideshow] .el-item > .uk-position-cover.uk-container {
  z-index: 2;
  padding-top: 44px;
  padding-bottom: 44px;
  align-items: flex-start;
  justify-content: flex-start;
}

body.home #tm-main .uk-slideshow[uk-slideshow] .el-overlay {
  box-sizing: border-box;
  max-width: min(100%, 42rem);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #fff;
  text-align: left;
}

body.home #tm-main .uk-slideshow[uk-slideshow] .el-content {
  margin: 0;
  color: #fff;
  font-family: Scada, Arial, sans-serif;
  font-size: clamp(20px, 1.4vw, 27px);
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: normal;
  white-space: normal;
  overflow-wrap: break-word;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

body.home #tm-main .uk-slideshow[uk-slideshow] .el-content :is(p, h1, h2, h3) {
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

body.home #tm-main .uk-slideshow[uk-slideshow] .el-item:nth-child(2)::after {
  background: linear-gradient(270deg, rgba(28, 19, 30, 0.78) 0%, rgba(28, 19, 30, 0.74) 60%, rgba(28, 19, 30, 0.08) 100%);
}

body.home #tm-main .uk-slideshow[uk-slideshow] .el-item:nth-child(2) > .uk-position-cover.uk-container {
  justify-content: flex-end;
}

/* Slide 2 has the longest fixed quote lines; expand only its text box to the
   existing container's 900px inner width. Never widen the page/slideshow box. */
body.home #tm-main .uk-slideshow[uk-slideshow] .el-item:nth-child(2) .el-overlay {
  max-width: min(100%, 60rem);
  text-align: right;
}

body.home #tm-main .uk-slideshow[uk-slideshow] .el-item:nth-child(2) .el-content {
  text-align: right;
}

body.home #tm-main .uk-slideshow[uk-slideshow] .el-item:nth-child(3)::after {
  background: linear-gradient(0deg, rgba(28, 19, 30, 0.82) 0%, rgba(28, 19, 30, 0.74) 45%, rgba(28, 19, 30, 0.08) 100%);
}

body.home #tm-main .uk-slideshow[uk-slideshow] .el-item:nth-child(3) > .uk-position-cover.uk-container {
  justify-content: flex-end;
  align-items: flex-end;
}

body.home #tm-main .uk-slideshow[uk-slideshow] .el-item:nth-child(3) .el-content {
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.3;
}

@media (max-width: 959px) {
  body.home #tm-main .uk-slideshow[uk-slideshow] .uk-slideshow-items > .el-item::after {
    /* Center crops lose the desktop's dark image regions; protect all text. */
    background: linear-gradient(0deg, rgba(28, 19, 30, 0.88), rgba(28, 19, 30, 0.74));
  }

  body.home #tm-main .uk-slideshow[uk-slideshow] .el-item > .uk-position-cover.uk-container {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 28px 24px 40px;
    align-items: flex-end;
    justify-content: flex-start;
  }

  body.home #tm-main .uk-slideshow[uk-slideshow] .el-content {
    font-size: 20px;
    line-height: 1.5;
  }

  body.home #tm-main .uk-slideshow[uk-slideshow] .el-overlay {
    width: 100%;
    max-width: 100%;
  }

  body.home #tm-main .uk-slideshow[uk-slideshow] :is(.el-item:nth-child(2), .el-item:nth-child(3)) > .uk-position-cover.uk-container {
    justify-content: flex-start;
    align-items: flex-end;
  }
}

/**/
.page-id-1345 .trauer-callout {
  display: none;
}