@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -5%, 0)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-5%, 0, 0)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translate3d(5%, 0, 0)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 5%, 0)
  }

  to {
    opacity: 1;
    transform: none
  }
}

html,
body {
  scroll-behavior: smooth;
}

ul:has(+ p),
ol:has(+ p) {
  padding-bottom: 15px;
}

.underline a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hover-underline a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.green-underline {
  color: #ADC992;
  text-decoration: underline;
}

.red {
  color: var(--e-global-color-primary);
}

.font-symbol {
  font-family: 'Sparkasse Symbol';
}

#hamb-search {
  cursor: pointer;
}

#hamb-search-bar {
  overflow: hidden;
  opacity: 0;
  transform: translateY(-12px);
  max-height: 0;
  pointer-events: none;
  transition:
    opacity 420ms ease,
    transform 420ms ease,
    max-height 420ms ease;
}

#hamb-search-bar.is-open {
  opacity: 1;
  transform: translateY(0);
  max-height: 140px;
  pointer-events: auto;
}

.search-navigation-icons .elementor-icon-list-items:first-child li svg,
.search-navigation-icons .elementor-icon-list-items:nth-child(2) li svg,
.search-navigation-icons .elementor-icon-list-items:nth-child(3) li svg,
.search-navigation-icons .elementor-icon-list-items:last-child li svg {
  max-height: 25px !important;
  width: 100% !important;
}

.popup-suche form.e-search-form {
  flex-wrap: wrap !important;
}

.popup-suche output {
  position: relative !important;
}

.popup-suche output .elementor-page-title {
  display: block !important;
}

.popup-suche label.e-search-label {
  order: 1 !important;
}

.popup-suche div.e-search-input-wrapper {
  order: 2 !important;
}

.popup-suche button.e-search-submit {
  order: 3 !important;
}

.popup-suche output {
  order: 4 !important;
}

.popup-suche .e-search-input-wrapper {
  position: relative;
  border-radius: 8px;
}

/*.popup-suche .e-search-input-wrapper.a11y-clear-focus {
  box-shadow: 0 0 0 2px #adc992;
  border-radius: 8px;
}*/

.popup-suche .e-search-input-wrapper.a11y-clear-focus>svg,
.popup-suche .e-search-input-wrapper.a11y-clear-focus>i {
  color: var(--e-global-color-primary);
  fill: var(--e-global-color-primary);
}

.popup-suche .a11y-clear-proxy {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.popup-suche .e-search-input:focus,
.popup-suche .e-search-submit:focus,
.popup-suche .e-search-results-container:focus {
  outline: 2px solid #adc992;
  outline-offset: -2px;
  border-radius: 4px;
}

.popup-suche .e-search-results .e-loop-item>a[href].is-keyboard-selected {
  background-color: #efefef;
}

.popup-suche-nav ul {
  display: flex;
  flex-wrap: wrap;
  margin-inline: calc(-15px);
  padding: 0;
  list-style-type: none;
  margin: 0;
}

.popup-suche-nav ul li {
  align-items: var(--icon-vertical-align, center);
  display: flex;
  font-size: inherit;
}

.popup-suche-nav ul li span.elementor-icon-list-icon {
  display: flex;
  inset-block-start: var(--icon-vertical-offset, initial);
  position: relative;
}

.popup-suche-nav ul li span.elementor-icon-list-text {
  font-family: var(--e-global-typography-133fe16-font-family), Sans-serif;
  font-size: var(--e-global-typography-133fe16-font-size);
  font-weight: var(--e-global-typography-133fe16-font-weight);
  line-height: var(--e-global-typography-133fe16-line-height);
  color: rgb(79, 79, 79);
  transition: color 0.3s;
  align-self: center;
  padding-inline-start: 5px;
  display: inline-block;
}

.popup-suche .e-loop-item a>.e-con-inner:last-child .elementor-widget-post-info ul {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -8px;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.popup-suche .e-loop-item a>.e-con-inner:last-child .elementor-widget-post-info ul li {
  margin-inline: 0;
}

.ratio img {
  aspect-ratio: 16 / 10;
}

.ratio-big img {
  aspect-ratio: 16 / 11;
}

/* STARTSEITE Post Layout Masonry-like */

.layout-post-start .ue_post_grid_item.ue-item:hover .uc_post_image img,
.nicht-verpassen .ue_post_grid_item.ue-item:hover .uc_post_image img,
.single-tribe_events .espbp-related-area .tribe-events-event-image img:hover {
  transform: scaleX(1.02) scaleY(1.02) !important;
}

.layout-post-start .uc_post_grid_style_one_wrap {
  display: grid !important;
  width: 100%;
  grid-template-areas:
    "eins zwei drei"
    "vier vier drei"
    "fuenf sechs sieben"
    "acht neun zehn"
    "acht elf elf"
    "zwoelf dreizehn vierzehn";
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 40px 30px !important;
  grid-auto-flow: row dense;
}

.layout-post-start .uc_post_grid_style_one_wrap>.ue_post_grid_item:nth-child(1) {
  grid-area: eins;
}

.layout-post-start .uc_post_grid_style_one_wrap>.ue_post_grid_item:nth-child(2) {
  grid-area: zwei;
}

.layout-post-start .uc_post_grid_style_one_wrap>.ue_post_grid_item:nth-child(3) {
  grid-area: drei;
}

.layout-post-start .uc_post_grid_style_one_wrap>.ue_post_grid_item:nth-child(4) {
  grid-area: vier;
}

.layout-post-start .uc_post_grid_style_one_wrap>.ue_post_grid_item:nth-child(5) {
  grid-area: fuenf;
}

.layout-post-start .uc_post_grid_style_one_wrap>.ue_post_grid_item:nth-child(6) {
  grid-area: sechs;
}

.layout-post-start .uc_post_grid_style_one_wrap>.ue_post_grid_item:nth-child(7) {
  grid-area: sieben;
}

.layout-post-start .uc_post_grid_style_one_wrap>.ue_post_grid_item:nth-child(8) {
  grid-area: acht;
}

.layout-post-start .uc_post_grid_style_one_wrap>.ue_post_grid_item:nth-child(9) {
  grid-area: neun;
}

.layout-post-start .uc_post_grid_style_one_wrap>.ue_post_grid_item:nth-child(10) {
  grid-area: zehn;
}

.layout-post-start .uc_post_grid_style_one_wrap>.ue_post_grid_item:nth-child(11) {
  grid-area: elf;
}

.layout-post-start .uc_post_grid_style_one_wrap>.ue_post_grid_item:nth-child(12) {
  grid-area: zwoelf;
}

.layout-post-start .uc_post_grid_style_one_wrap>.ue_post_grid_item:nth-child(13) {
  grid-area: dreizehn;
}

.layout-post-start .uc_post_grid_style_one_wrap>.ue_post_grid_item:nth-child(14) {
  grid-area: vierzehn;
}

/* Standard */
.layout-post-start .ue_post_grid_item .uc_post_grid_style_one_image {
  display: block;
}

.layout-post-start .ue_post_grid_item .uc_post_image {
  width: 100%;
  aspect-ratio: 16 / 9 !important;
}

.layout-post-start .ue_post_grid_item .uc_post_image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Vertikal grosse Karten */
.layout-post-start .ue_post_grid_item:nth-child(3),
.layout-post-start .ue_post_grid_item:nth-child(8) {
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
}

.layout-post-start .ue_post_grid_item:nth-child(3) .uc_post_grid_style_one_image,
.layout-post-start .ue_post_grid_item:nth-child(8) .uc_post_grid_style_one_image {
  flex: 1 1 auto;
  min-height: 250px;
  height: 100%;
}

.layout-post-start .ue_post_grid_item:nth-child(3) .uc_post_image,
.layout-post-start .ue_post_grid_item:nth-child(8) .uc_post_image {
  height: 100%;
}

.layout-post-start .ue_post_grid_item:nth-child(3) .uc_content,
.layout-post-start .ue_post_grid_item:nth-child(8) .uc_content {
  flex: 0 0 auto;
  max-height: 250px;
}

/* Horizontal breite Karten */
.layout-post-start .ue_post_grid_item:nth-child(4),
.layout-post-start .ue_post_grid_item:nth-child(11) {
  display: flex !important;
  flex-direction: row !important;
  gap: 30px;
  max-height: 250px;
  overflow: hidden !important;
  background-color: #f6f6f6;
  border-radius: 20px !important;
}

.layout-post-start .ue_post_grid_item:nth-child(4) .uc_content,
.layout-post-start .ue_post_grid_item:nth-child(11) .uc_content {
  padding-right: 20px;
}

.layout-post-start .ue_post_grid_item:nth-child(4) .uc_post_grid_style_one_image,
.layout-post-start .ue_post_grid_item:nth-child(11) .uc_post_grid_style_one_image,
.layout-post-start .ue_post_grid_item:nth-child(4) .uc_content,
.layout-post-start .ue_post_grid_item:nth-child(11) .uc_content {
  width: calc(50% - 15px);
}

.layout-post-start .ue_post_grid_item:nth-child(4) .uc_content,
.layout-post-start .ue_post_grid_item:nth-child(11) .uc_content {
  display: flex;
  align-items: center;
}

.layout-post-start .ue_post_grid_item:nth-child(4) .uc_content_inner,
.layout-post-start .ue_post_grid_item:nth-child(11) .uc_content_inner {
  justify-content: center;
}

.top-immo-img-container {
  aspect-ratio: 16 / 10 !important;
  justify-content: center;
}

/* TOP-IMMO BEITRAG */
.top-immo-hero .elementor-widget-button a .elementor-button-icon i {
  font-size: 14px;
}

.top-immo-content table th,
.top-immo-content table td {
  background-color: transparent !important;
  border: none !important;
}

.top-immo-content table th {
  padding: 5px 10px 5px 0 !important;
}

#top-immo-nav .elementor-icon-list-item a {
  transition: color 0.3s ease;
}

#top-immo-nav .elementor-icon-list-item a.is-active,
#top-immo-nav .elementor-icon-list-item a.is-active .elementor-icon-list-text,
#top-immo-nav .elementor-icon-list-item a.is-active .elementor-icon-list-icon svg {
  color: var(--e-global-color-primary);
  fill: var(--e-global-color-primary);
}

#top-immo-nav .elementor-icon-list-item a.is-active .elementor-icon-list-text {
  color: var(--e-global-color-primary);
}

.status-immo {
  display: none;
}

/* KONTAKT */
.spk-kontaktformular .elementor-field-option label {
  vertical-align: text-bottom;
}

.spk-kontaktformular .elementor-field-option label a {
  color: var(--e-global-color-primary);
}

/* SUCHERGEBNISSE */
.elementor-location-archive article div.elementor-post__text {
  display: flex;
}

.elementor-location-archive article div.elementor-post__text h3 {
  order: 2;
}

/* VERANSTALTUNGEN */
.elementor-element-cd83138 .ewpe-list-wrapper>.ewpe-inner-wrapper:nth-child(8) {
  display: none !important;
}

.elementor-13220 .elementor-element.elementor-element-2b7174e {
  position: relative;
  overflow: hidden;
}

.elementor-13220 .elementor-element.elementor-element-2b7174e::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2.5px;
  background: var(--e-global-color-primary);
  /* Sparkasse-Rot, ggf. anpassen */
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s ease;
  z-index: 2;
}

.elementor-13220 .elementor-element.elementor-element-2b7174e:hover::after {
  transform: scaleX(1);
}

.events-liste-container .ewpe-filter-bar {
  margin-bottom: 40px;
  border-radius: 15px;
  border-color: var(--e-global-color-24f0dd6);
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
}

.events-liste-container .ewpe-filter-bar input,
.events-liste-container .ewpe-filter-bar select {
  font-size: 1.5rem;
}

.events-liste-container .ewpe-filter-group {
  border-radius: 15px;
  overflow: hidden;
}

.events-liste-container .ewpe-filter-group>i {
  display: none !important;
}

.events-liste-container .spk-custom-icon {
  z-index: 2;
  pointer-events: none;
  align-content: center;
}

.events-liste-container .search-icon,
.events-liste-container .venue-icon,
.events-liste-container .calendar-icon {
  font-family: 'events-spk' !important;
  font-size: 18px;
  line-height: 1;
  padding: 0 10px;
  border-right: 1px solid var(--e-global-color-24f0dd6);
}

.events-liste-container .ewpe-filterbar-filters {
  width: 66% !important;
  justify-content: space-between;
}

.events-liste-container .ewpe-filterbar-filters .ewpe-filter-group {
  width: 49% !important;
}

.events-liste-container .ewpe-filterbar-main {
  width: 33% !important;
}

.events-liste-container .ewpe-filterbar-filters .ewpe-filter-group:last-child {
  order: 1;
}

.events-liste-container .ewpe-filterbar-filters .ewpe-filter-group:first-child {
  order: 2;
}

/* EINZELVERANSTALTUNG */
.single-tribe_events .espbp-evt-time:not(.is-allday)::after {
  content: ' Uhr';
}

.event-externer-link:not(:has(a)) {
  display: none;
}

.event-externer-link a::after {
    content: ' F';
    font-family: 'Sparkasse Symbol';
}

.single-tribe_events .elementor-widget-the-event-google-cal-export .espbp-events-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.single-tribe_events .elementor-widget-the-event-google-cal-export .espbp-events-links a {
  font-family: var(--e-global-typography-133fe16-font-family);
  font-weight: var(--e-global-typography-133fe16-font-weight);
  font-size: var(--e-global-typography-133fe16-font-size);
}

.single-tribe_events .elementor-widget-the-event-google-cal-export .espbp-events-links span {
  width: auto;
}

.single-tribe_events .espbp-related-area .espbp-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: auto !important;
}

.single-tribe_events .espbp-related-area .espbp-row:first-child {
  width: 100%;
}

.single-tribe_events .espbp-related-area {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.elementor-widget-the-event-event-image {
  width: 100%;
}

.single-tribe_events .espbp-related-events:has(.tribe-events-event-image) {
  margin-bottom: 5px;
}

.single-tribe_events .espbp-related-area .tribe-events-event-image {
  overflow: hidden;
  border-radius: 20px;
  max-height: fit-content;
}

.single-tribe_events .espbp-related-area .tribe-events-event-image img,
.events-liste-container .ewpe-featured-img img {
  aspect-ratio: 2 / 1.1;
  height: auto;
}

.single-tribe_events .espbp-related-events:has(.espbp-related-event-date) {
  text-align: center;
}

.single-tribe_events .espbp-related-events .espbp-related-event-date {
  align-content: center;
}

.single-tribe_events .espbp-related-events:has(.espbp-related-event-title) {
  align-self: center;
}

.single-tribe_events .espbp-related-events h4.espbp-related-event-title {
  line-height: 1.4rem !important;
}

.single-tribe_events .espbp-related-events .espbp-related-event-title a {
  line-height: 1.3em !important;
}

.single-tribe_events .espbp-related-events .tribe-event-time {
  display: none;
}

.single-tribe_events .espbp-related-events .custom-related-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0px;
}

.single-tribe_events .espbp-related-events .custom-related-date {
  font-size: 23px;
  letter-spacing: -0.5px;
}

.single-tribe_events .espbp-related-events .custom-related-weekday {
  color: var(--e-global-color-text);
  font-size: 14px;
  font-family: 'Sparkasse';
  letter-spacing: -0.5px;
  line-height: 1rem;
}

/* BEITRAGS-TEMPLATE */
.post-template-default.single.single-post .elementor-widget-theme-post-content h2 {
  font-size: 2.5rem;
  padding-bottom: 10px;
}

.post-template-default.single.single-post .elementor-widget-theme-post-content h2:not(:first-child),
.post-template-default.single.single-post .elementor-widget-theme-post-content h3:not(:first-child),
.post-template-default.single.single-post .elementor-widget-theme-post-content hr:not(:first-child) {
  margin-top: 50px;
}

.post-template-default.single.single-post .category-top-immo h2,
.post-template-default.single.single-post .category-top-immo h3 {
  margin-top: 0;
}

.post-template-default.single.single-post h4 {
  margin-top: 40px;
  font-size: 1.2rem;
}

.post-template-default.single.single-post h6, .post-template-default.single.single-post h5 {
  margin-top: 40px;
  font-size: 1.8rem !important;
  line-height: 1.5em !important;
}

.post-template-default.single.single-post .elementor-widget-theme-post-content figure.wp-block-image {
  padding: 20px 0 30px;
}

.post-template-default.single.single-post .elementor-widget-theme-post-content figure.wp-block-image:has(> figcaption) {
  padding: 10px 0;
}

.post-template-default.single.single-post .elementor-widget-theme-post-content figure.wp-block-image figcaption {
  margin-bottom: .5em;
}

.post-template-default.single.single-post hr {
  color: var(--e-global-color-24f0dd6);
  border-width: 1px;
}

.post-template-default.single.single-post .swiper-container-outer img {
  object-fit: contain;
}

.post-template-default.single.single-post .wp-block-gutsliders-photo-carousel .swiper-container-outer {
  background-color: #f2f2f2 !important;
}

.post-template-default.single.single-post .elementor-widget-theme-post-content ol, .post-template-default.single.single-post .elementor-widget-theme-post-content ul {
  padding-left: 20px;
}

.post-template-default.single.single-post .elementor-widget-theme-post-content ol li, .post-template-default.single.single-post .elementor-widget-theme-post-content ul li {
  padding-bottom: 15px;
  padding-left: 10px;
}

.post-template-default.single.single-post .elementor-widget-theme-post-content ol li:not(:last-child), .post-template-default.single.single-post .elementor-widget-theme-post-content ul li:not(:last-child) {
  padding-bottom: 15px;
}


/* KONTAKT */
.spk-kontaktformular .elementor-field-option label {
  vertical-align: text-bottom;
}

/* BEITRÄGE + EINZELVERANSTALTUNG */
.werbebanner-spk img,
.single-tribe_events .espbp-featured-img img {
  border-radius: 20px;
}

.werbebanner-spk-container {
  position: sticky;
  top: 40px;
  align-self: flex-start;
  height: fit-content;
}

/* BORLABS */
[data-borlabs-cookie-content-blocker-id="youtube-content-blocker"] {
	height: auto !important;
}

/**/
.spk-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* RESPONSIVE */
@media (min-width: 1800px) {
  .ratio img {
    aspect-ratio: 16 / 11;
  }

  .ratio-big img {
    aspect-ratio: 16 / 11.5;
  }

  .elementor-element-cd83138 .ewpe-list-wrapper>.ewpe-inner-wrapper:nth-child(8) {
    display: block !important;
  }

  .top-immo-img-container {
    aspect-ratio: 16 / 8 !important;
    width: 100%;
  }
}

@media (max-width: 1300px) {
  .elementor-element-cd83138 .ewpe-list-wrapper>.ewpe-inner-wrapper:nth-child(n+7) {
    display: none !important;
  }
}

@media (max-width: 1100px) {
  .elementor-element-cd83138 .ewpe-list-wrapper>.ewpe-inner-wrapper:nth-child(n+6) {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .layout-post-start .uc_post_grid_style_one_wrap {
    grid-template-areas: none;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .layout-post-start .ue_post_grid_item:nth-child(4),
  .layout-post-start .ue_post_grid_item:nth-child(11) {
    flex-direction: column !important;
    max-height: auto;
  }

  .layout-post-start .ue_post_grid_item {
    grid-area: auto !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    max-height: none !important;
    gap: 0px !important;
  }

  .layout-post-start .ue_post_grid_item .uc_post_grid_style_one_image,
  .layout-post-start .ue_post_grid_item .uc_content {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: auto !important;
    flex: none !important;
  }

  .layout-post-start .ue_post_grid_item:nth-child(3) .uc_post_image,
  .layout-post-start .ue_post_grid_item:nth-child(8) .uc_post_image {
    height: 250px !important;
    aspect-ratio: 16 / 9 !important;
  }

  .layout-post-start .ue_post_grid_item .uc_post_image {
    aspect-ratio: 16 / 9 !important;
  }

  .layout-post-start .ue_post_grid_item:nth-child(n+9) {
    display: none !important;
  }

  .ratio-big img {
    aspect-ratio: 16 / 11;
  }

  .events-liste-container .ewpe-outer-wrapper {
    padding: 0;
  }

  .events-liste-container .ewpe-filter-bar {
    flex-direction: column;
    margin-bottom: 25px;
  }

  .events-liste-container .ewpe-filterbar-main,
  .events-liste-container .ewpe-filterbar-filters,
  .events-liste-container .ewpe-filterbar-filters .ewpe-filter-group {
    width: 100% !important;
  }

  .events-liste-container .ewpe-main-wrapper.ewpe-list-wrapper .ewpe-inner-wrapper {
    margin-bottom: 45px;
  }


  .events-liste-container .ewpe-featured-img img {
    aspect-ratio: auto;
  }

  .footer-logo {
    order: 1;
  }

  .footer-social {
    order: 2;
  }

  .footer-links {
    order: 3;
  }

  .single-tribe_events .espbp-related-area {
    gap: 20px;
  }

  .single-tribe_events .espbp-related-events:has(.espbp-related-event-date) {
    width: 30% !important;
  }

  .single-tribe_events .espbp-related-events:has(.espbp-related-event-title) {
    width: 70% !important;
  }

  .layout-post-start .ue_post_grid_item:nth-child(4),
  .layout-post-start .ue_post_grid_item:nth-child(11) {
    overflow: auto !important;
    background-color: transparent;
    border-radius: 0 !important;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {

  .bild-immo-start,
  .bild-immo-start a {
    height: 100% !important;
  }

  .bild-immo-start {
    aspect-ratio: auto !important;
  }
}

@media (max-width: 768px) {
  .mobile-hidden {
    display: none !important;
  }

  .layout-post-start .uc_post_grid_style_one_wrap {
    grid-template-columns: 1fr !important;
  }

  .layout-post-start .ue_post_grid_item:nth-child(n+6) {
    display: none !important;
  }

  footer ul.elementor-nav-menu {
    flex-direction: row !important;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
  }

  footer ul.elementor-nav-menu a {
    margin: 0 !important;
  }

  .single-tribe_events .espbp-related-area {
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .single-tribe_events .espbp-related-area .espbp-row:last-child {
    display: none;
  }

  .elementor-element-cd83138 .ewpe-list-wrapper>.ewpe-inner-wrapper:nth-child(n+4) {
    display: none !important;
  }

  .layout-post-start .ue_post_grid_item .uc_post_image,
  .layout-post-start .ue_post_grid_item:nth-child(3) .uc_post_image,
  .layout-post-start .ue_post_grid_item:nth-child(8) .uc_post_image {
    height: auto !important;
  }

  .ratio.elementor-widget-theme-post-featured-image {
    max-height: 100% !important;
  }

  .top-immo-img-container,
  .bild-immo-start,
  .bild-immo-start a,
  .bild-immo-start a img,
  .events-list-loop-image {
    aspect-ratio: 16 / 9 !important;
  }

  /*.post-template-default.single.single-post .elementor-widget-theme-post-content p,
  .post-template-default.single.single-post .elementor-widget-theme-post-content a {
    font-size: 18px;
    line-height: 23px;
  }*/

  .post-template-default.single.single-post .elementor-widget-theme-post-content h2 {
    font-size: 24px;
    line-height: 30px;
  }

  .post-template-default.single.single-post .mPS2id-target h2 {
    font-size: 22px;
    line-height: 26px;
  }

  .single-tribe_events .espbp-featured-img img,
  .events-list-loop-image .elementor-widget-the-event-item-image-loop {
    height: 100% !important;
  }

  .single-tribe_events .espbp-evt-excerpt div div {
    padding-bottom: 10px;
  }

  .bild-immo-start,
  .bild-immo-start a {
    width: 100% !important;
  }

  .single-tribe_events .espbp-related-events:has(.espbp-related-event-date) {
    width: 25% !important;
  }

  .single-tribe_events .espbp-related-events:has(.espbp-related-event-title) {
    width: 75% !important;
  }

  .footer-logo {
    order: 1;
  }

  .footer-social {
    order: 3;
  }

  .footer-links {
    order: 2;
  }

  .werbebanner-spk-container {
    position: static;
    height: auto;
  }
}

@media (max-width: 768px) and (max-height: 615px) {
  .hamb-backgr {
    background: none !important;
  }
}

@media (max-width: 500px) {
  .single-tribe_events .espbp-related-area {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }

  .single-tribe_events .espbp-related-area .espbp-row:last-child {
    display: flex;
  }
}