/**
 * WPEasyBoard — Frontend Styles
 * Wird automatisch vom Plugin geladen.
 * Alle WP-Frontend-Anpassungen hier sammeln.
 */

/* === Blog-Modul: Featured Images — Mobile (volle Breite, natürliche Höhe) === */
.et_pb_blog .entry-featured-image-url img,
.et_pb_blog_grid .entry-featured-image-url img,
.et_pb_blog .et_pb_image_container img,
.et_pb_blog_grid .et_pb_image_container img {
  width: 100% !important;
  height: auto !important;
}

/* === Blog-Modul: Ab Tablet — Hochformat-Container === */
@media (min-width: 768px) {
  .et_pb_blog_grid .et_pb_image_container,
  .et_pb_blog .et_pb_image_container,
  .et_pb_blog .entry-featured-image-url,
  .et_pb_blog_grid .entry-featured-image-url {
    aspect-ratio: 3 / 4;
    display: block;
    position: relative;
  }

  .et_pb_blog_grid .et_pb_image_container img,
  .et_pb_blog .et_pb_image_container img,
  .et_pb_blog .entry-featured-image-url img,
  .et_pb_blog_grid .entry-featured-image-url img {
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
  }

  /* Hover-Overlay korrekt positionieren */
  .et_pb_blog .et_overlay,
  .et_pb_blog_grid .et_overlay {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
}

/* === Kategorie-Überschriften === */
.wpeb-category-heading {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0 0 10px 0;
  padding: 0;
}

/* === Services Liste === */
.wpeb-services {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wpeb-service-item {
  display: inline-flex;
  align-items: center;
  background: rgba(158, 20, 95, 1);
  color: #fff;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  list-style: none !important;
}

.wpeb-service-item::before {
  content: "✓";
  color: #fff;
  font-weight: 700;
  margin-right: 8px;
  font-size: 20px;
}
