/* css/40-media-images-slider.css */
/* ------------------------------ */
/* Nur Content/Slider – KEINE Sidebar-Overrides! */

/* Slider-Pfeile (Content-Slider) – feste Bildhöhe */
.avia-content-slider{ position: relative; }
.avia-content-slider .avia-slideshow-arrows a{
  top: var(--arrow-top-desktop) !important;
  transform: translateY(-50%) !important;
  bottom: auto !important;
  z-index: 5 !important;
}

/* Slideshow Startseite */
.avia-slideshow{
  max-height: 400px;
  display: flex; justify-content: center; align-items: center;
}

/* Bilder – Zentrierung, Größen, Schatten */
.aligncenter,
img.aligncenter,
.wp-caption.aligncenter,
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Bilder im Beitrag und Content */
.entry-content img,
.post-entry .avia-content-slider .slide-image img,
.post-entry .avia_image img,
.post-entry .big-preview img,
.post-entry .big-preview.single-big img {
  display: block;
  margin: 5% auto;
  width: 90%;
  -webkit-box-shadow: var(--shadow-soft-webkit);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-small);
  padding: 0;
}

/* Bildgrößen definierte Typen */
.attachment-medium,
.attachment-portfolio,
.sbi_photo_wrap,
.avia_image img,
.wpmi-item,
a.small-preview {
  object-fit: cover;
  object-position: center;
  max-height: 300px;
}
.attachment-portfolio_small,
.avia_image.small-preview img,
.slide-image {
  object-fit: cover;
  object-position: center;
  max-height: 400px;
}
.html_elegant-blog .entry-content-wrapper .big-preview.single-big {
  margin-top: 0;
}

/* Kein Schatten für Ausnahmen */
#noshaddow,
#noshaddow img,
.related_image_wrap {
  box-shadow: none !important;
  border-radius: 0;
  border: 2px;
}

/* Header-Bild im Beitrag */
.big-preview.single-big {
  pointer-events: none;
  display: flex;
  justify-content: center;
}

/* Instagram Feeds Container */
#sbi_images {
  width: 90%;
  margin: 5%;
  display: block;
  -webkit-box-shadow: var(--shadow-soft-webkit);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-small);
}

/* Teaser-Bilder Blog, Kategorie, Archiv */
.post-entry .slide-image { overflow: visible; }
.post-entry .slide-image {
  display: block;
  width: auto;
  margin: 0;
  overflow: visible;
  position: relative;
  box-shadow: none;
  border-radius: 0;
}
.post-entry .slide-image > img,
.post-entry .slide-image picture > img,
.post-entry .slide-image > img.wp-post-image {
  display: block;
  width: 90%;
  height: auto;
  margin: 12px auto 28px;
  transform: translateY(4px);
  border-radius: var(--radius-small);
  -webkit-box-shadow: var(--shadow-soft-webkit);
  box-shadow: var(--shadow-soft);
}
.post-entry .slide-image .image-overlay,
.post-entry .slide-image .image-overlay-inside {
  border-radius: var(--radius-small);
  pointer-events: none;
}

/* Startseite – Blog-Teaser */
.home .template-blog .post-entry .slide-image,
.home .slide-entry .slide-image {
  display: block;
  width: 95% !important;
  max-width: 95% !important;
  height: 300px !important;
  margin: 24px auto 32px !important;
  line-height: 0;
  overflow: hidden;
  border-radius: var(--radius-small);
  position: relative;
  -webkit-box-shadow: var(--shadow-soft-webkit) !important;
  box-shadow: var(--shadow-soft) !important;
}
.home .template-blog .post-entry .slide-image > img,
.home .slide-entry .slide-image > img,
.home .template-blog .post-entry .slide-image picture > img,
.home .slide-entry .slide-image picture > img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center center;
  margin: 0 !important;
  transform: none !important;
  border-radius: inherit;
  box-shadow: none !important;
}
.home .slide-image .image-overlay,
.home .slide-image .image-overlay-inside {
  border-radius: inherit;
  pointer-events: none;
}

/* Logo */
#header_main .logo,
#header .logo,
.logo,
.logo_img {
  align-self: flex-start;
}
#top .logo_img,
.entry-content .logo_img,
.post-entry .logo_img {
  display: block !important;
  float: left !important;
  margin: 0 !important;
  max-width: none !important;
}
#top .logo_img img,
.entry-content .logo_img img,
.post-entry .logo_img img,
.logo_img img {
  float: left !important;
  display: inline-block !important;
  width: 80px !important;
  margin: 15px 15px 10px 0 !important;
  border-radius: 90px !important;
  box-shadow: none !important;
  max-width: none !important;
}
#top .logo_img img.aligncenter,
.entry-content .logo_img img.aligncenter,
.logo_img img.center {
  margin-left: 0 !important;
  margin-right: 15px !important;
}
.logo_img::after {
  content: "";
  display: table;
  clear: both;
}

/* Startseite: eingebundene Inhalte wieder Standard-Schatten */
.home .entry-content img,
.home .avia_image img {
  -webkit-box-shadow: var(--shadow-soft-webkit) !important;
  box-shadow: var(--shadow-soft) !important;
  border-radius: var(--radius-small);
}