.elementor-9 .elementor-element.elementor-element-c2771b2{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-b86e2ca */<style>
#ipm-wohnungen.ipm-wohnungen-grid {
  display: block; 
  margin-top: 32px;
}

/* Karte */
.ipm-wohnung-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  margin-bottom: 40px;   /* >>> Abstand nach unten zwischen den Einträgen <<< */
}

/* Letzte Karte ohne extra Abstand */
#ipm-wohnungen .ipm-wohnung-card:last-child {
  margin-bottom: 0;
}


/* =========================
   BILD-BEREICH LINKS
   ========================= */
.ipm-wohnung-image {
  position: relative;
  flex: 0 0 330px;     /* feste Breite */
  max-width: 330px;
  min-width: 280px;
  height: 220px;       /* feste Höhe -> Cropping für alle Formate */
  overflow: hidden;
}

/* Link füllt den Container */
.ipm-wohnung-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

/* Bild IMMER auf Containergröße, egal welche Kamera / Auflösung */
.ipm-wohnung-thumb-link img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center;
  display: block;
}

/* Badge im Bild */
.ipm-wohnung-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #e0e0e0;
  color: #333;
}

/* Badge-Farben */
.status-verfuegbar .ipm-wohnung-badge {
  background: #e4f7ea;
  color: #248c4b;
}
.status-vermietet .ipm-wohnung-badge {
  background: #fde4e4;
  color: #c0392b;
}
.status-reserviert .ipm-wohnung-badge {
  background: #fff6dd;
  color: #b88700;
}

/* =========================
   TEXT-BEREICH RECHTS
   ========================= */
.ipm-wohnung-content {
  flex: 1;
  padding: 18px 24px 18px 24px;
  display: flex;
  flex-direction: column;
}

.ipm-wohnung-content h3 {
  font-size: 18px;
  margin: 0 0 4px;
  color: #013863;
  font-weight: 700;
}

.ipm-wohnung-content h3 a {
  color: inherit;
  text-decoration: none;
}

.ipm-wohnung-content h3 a:hover {
  text-decoration: underline;
}

.ipm-wohnung-meta {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 10px;
}

.ipm-wohnung-text {
  font-size: 14px;
  color: #444;
  margin: 0 0 12px;
}

/* Footer (Preis + Buttons) */
.ipm-wohnung-footer {
  margin-top: auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}

.ipm-wohnung-price {
  font-size: 20px;
  font-weight: 800;
  color: #014489;
  margin-right: 12px;
}

/* Buttons */
.ipm-wohnung-btn {
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #014489;
  background: #ffffff;
  color: #014489;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.ipm-wohnung-btn:hover {
  background: #014489;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(1,68,137,0.25);
}

/* zweite Button-Variante leicht heller Rahmen (optional) */
.ipm-wohnung-btn-mail {
  border-color: #014489;
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 768px) {
  .ipm-wohnung-card {
    flex-direction: column;
  }

  .ipm-wohnung-image {
    width: 100%;
    max-width: 100%;
    height: 220px;
  }

  .ipm-wohnung-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

</style>/* End custom CSS */