/* ============================================================
   FRYMO-LISTING (GRID) – gleiche Card-Höhen erzwingen
   ------------------------------------------------------------
   Problem: Frymos Inserate-Widget rendert ein CSS-Grid
   (.frymo-listing) mit Elementor-Loop-Items als Zellen. Die
   Zwischenebene .e-loop-item ist display:block und streckt sich
   NICHT auf die Grid-Zeilenhöhe → die Card (height:100%) erbt keine
   Höhe → Cards ungleich hoch, push-bottom/col-fill wirkungslos.
 
   Im Karussell ist das gelöst (carousel-nav-top streckt die Slides).
   Hier dieselbe Streck-Logik fürs Grid: Grid-Zelle → listing-item →
   loop-item → Card alle auf volle Höhe / stretch.
 
   Einbau: ans Ende des Core-Snippets (Prio 30).
   ============================================================ */

/* Grid-Zellen auf gleiche Höhe strecken (CSS-Grid: stretch) */
.frymo-listing.frymo-listing-loop-item-skin {
  align-items: stretch !important;
}
 
/* Frymos Item-Wrapper: volle Zellenhöhe, als Flex-Spalte durchreichen */
.frymo-listing .frymo-listing-item {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}
 
/* Elementor-Loop-Item (die block-Zwischenebene): strecken + durchreichen */
.frymo-listing .frymo-listing-item > .e-loop-item {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  height: 100% !important;
  width: 100% !important;
}
 
/* Card selbst füllt den Loop-Item vollständig
   (card hat bereits height:100%, hier zur Sicherheit im Grid-Kontext) */
.frymo-listing .e-loop-item > .card {
  height: 100% !important;
}
 
/* Der innere Inhalts-Container der Card (bei dir „gap-1") muss die
   Card-Höhe füllen, damit push-bottom (margin-top:auto) auf der
   Meta-Gruppe Raum zum Schieben hat. col-fill leistet das bereits –
   diese Regel ist die Absicherung, falls col-fill am Container fehlt.
   Greift auf den direkten Body-Kind-Container. */
.frymo-listing .card .card-media-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}
.frymo-listing .card .card-media-body > .e-con {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

/* --- Grid-Items duerfen unter ihren min-content schrumpfen ---------
   Elementors e-loop-item meldet als e-parent-Container einen
   viewport-breiten min-content. Bei "1fr" (= minmax(auto,1fr))
   blaeht das die Spalten auf. min-width:0 hebt das Auto-Minimum auf. */
.frymo-listing > .frymo-listing-item {
  min-width: 0;
}

/* Sicherheitsnetz fuer die inneren Layer */
.frymo-listing-item > .e-loop-item,
.frymo-listing-item .e-con.e-parent {
  min-width: 0;
}