/*
Theme Name: WpRentals Child (catering-suche.de)
Theme URI: https://catering-suche.de
Description: Child-Theme für WpRentals. Alle projektspezifischen Anpassungen liegen hier, damit sie Theme-Updates überleben.
Author: Merker Marketing
Template: wprentals-3
Version: 1.0.0
Text Domain: wprentals
*/

/* ==========================================================================
   Eigene CSS-Anpassungen ab hier.
   Das komplette Parent-CSS wird über functions.php geladen.
   ========================================================================== */

/* Dashboard: Anfragen-Widgets */
.catering_widget_summe {
	font-weight: 400;
	opacity: .6;
}

.catering_anfrage_neu {
	display: inline-block;
	margin-left: 4px;
	padding: 1px 7px;
	border-radius: 10px;
	background: #e74c3c;
	color: #fff;
	font-size: 11px;
	line-height: 16px;
	vertical-align: middle;
}

.catering_anfrage_betreff {
	opacity: .75;
}

/* Dashboard: Eintrag, Vollständigkeit, Paket */
.catering_dash_button {
	display: inline-block;
	margin: 8px 8px 0 0;
	padding: 7px 14px;
	border-radius: 4px;
	background: #2c3e50;
	color: #fff !important;
	font-size: 13px;
	text-decoration: none;
}

.catering_dash_button:hover {
	opacity: .9;
}

.catering_dash_link {
	display: inline-block;
	margin-top: 8px;
	font-size: 13px;
	text-decoration: underline;
}

.catering_status {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 8px;
	border-radius: 10px;
	font-size: 11px;
	line-height: 18px;
	vertical-align: middle;
}

.catering_status_publish { background: #e3f5e8; color: #1e7a3c; }
.catering_status_pending { background: #fdf3d8; color: #8a6100; }
.catering_status_draft   { background: #eceff1; color: #546e7a; }

.catering_eintrag_zeile { margin-bottom: 10px; }
.catering_eintrag_aktionen { display: block; }

.catering_fortschritt {
	height: 8px;
	margin: 4px 0 6px;
	border-radius: 4px;
	background: #eceff1;
	overflow: hidden;
}

.catering_fortschritt_balken {
	height: 100%;
	background: #1e7a3c;
}

.catering_fortschritt_text {
	margin-bottom: 10px;
	font-size: 13px;
	opacity: .75;
}

.catering_checkliste {
	margin: 0;
	padding: 0;
	list-style: none;
}

.catering_checkliste li {
	padding: 3px 0;
	font-size: 13px;
}

.catering_check_ok    { color: #1e7a3c; }
.catering_check_offen { opacity: .6; }
.catering_check_titel { margin-top: 10px; font-weight: 600; }

/* Paket-Kacheln */
.pack-beschreibung {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(0, 0, 0, .08);
	font-size: 14px;
}

.pack-beschreibung ul {
	margin: 0;
	padding-left: 18px;
}

.pack-beschreibung li {
	margin-bottom: 4px;
}

/* ==========================================================================
   Anfrageformular auf der Inseratsseite

   Im Zusatz-CSS des Customizers stehen zwei Regeln, die Felder des
   Buchungsformulars ausblenden und dabei auch unsere Anfragefelder treffen:
     .has_calendar.calendar_icon { display: none !important; }
     #booking_guest_no           { display: none !important; }

   Beim Datumsfeld weichen wir über eine eigene Klasse aus. Bei der Personenzahl
   geht das nicht, weil js/property.js die ID #booking_guest_no ausliest – dort
   gewinnen wir über die höhere Spezifität (Klasse + ID schlägt ID).
   ========================================================================== */
.catering_datum_wrapper,
.catering_personenzahl {
	margin-bottom: 10px;
}

.catering_datum_wrapper .ui-datepicker-trigger {
	display: none;
}

/* ==========================================================================
   Suchleiste auf der Startseite

   Ziel: Was suchen Sie? | Kategorie | Cateringart | SUCHE

   Im Zusatz-CSS des Customizers blenden zwei Regeln das zweite Dropdown aus,
   weil es früher die doppelte Kategorie-Taxonomie enthielt:
     .dropdown.custom_icon_class.form-control:has(#property_action_category_toogle)
     .col-md-2:has(#property_action_category_toogle)
   Inzwischen steckt dort die Cateringart, also holen wir es über höhere
   Spezifität zurück (zusätzlicher Vorfahren-Selektor).
   ========================================================================== */
/* Das Zahnrad für die erweiterte Suche entfällt – der Submit-Button liegt im
   selben Wrapper und muss sichtbar bleiben, deshalb nur das Icon ausblenden. */
.advanced_search_form_wrapper .adv_handler {
	display: none !important;
}

.advanced_search_form_wrapper .catering_kapazitaet_feld select {
	padding-left: 34px;
}

/* ==========================================================================
   Inseratsformular

   Das Zusatz-CSS des Customizers blendet die Kapazitäts-Spalte aus – die Regel
   stammt aus der Zeit, als das Feld noch „Nachbarschaft / Umgebung“ hieß:
     .col-md-3:has(#property_area_front) { display: none !important; }
   Wir holen sie über die höhere Spezifität des Formular-Vorfahren zurück.
   ========================================================================== */
.catering_mehrfach {
	height: auto;
	min-height: 96px;
	padding: 6px;
}

.catering_mehrfach_hinweis {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	opacity: .7;
}

/* Hinweis unter dem Ab-Preis-Feld */
.catering_preis_hinweis {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.5;
	opacity: .8;
}

/* ==========================================================================
   Preisanzeige wieder einblenden

   Im Zusatz-CSS des Customizers stehen zwei Regeln, die alle Preise verstecken –
   sinnvoll, solange es Übernachtungspreise waren:
     span[itemprop="price"]                        { display: none !important; }
     .listing_main_image_price[itemprop="price"]   { display: none !important; }
   Jetzt zeigt das Feld „ab X €“ bzw. „Preis auf Anfrage“ und soll sichtbar sein.
   ========================================================================== */

/* Hinweis auf der Paketseite, wenn noch kein Paket gewählt wurde */
.catering_paket_hinweis {
	margin: 0 0 20px;
	padding: 14px 18px;
	border-left: 4px solid #1d293e;
	border-radius: 4px;
	background: #f4f6f9;
	font-size: 14px;
	line-height: 1.6;
}

/* ==========================================================================
   Paketseite

   Die Regeln für die Anordnung der Paket-Kacheln stehen in
   css/dashboard-catering.css – die wird nach dashboard-style.css des Parents
   geladen und gewinnt dadurch ohne !important.
   ========================================================================== */

/* Aktivierung kostenloser Pakete */
.catering_paket_gratis {
	display: inline-block;
	padding: 12px 22px;
	border-radius: 4px;
	background: #1e7a3c;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.catering_paket_gratis:hover { opacity: .9; }
.catering_paket_gratis.catering_laeuft { opacity: .6; cursor: default; }

.catering_paket_meldung { margin-top: 10px; font-size: 14px; }
.catering_paket_meldung.catering_erfolg { color: #1e7a3c; }
.catering_paket_meldung.catering_fehler { color: #c0392b; }

/* ==========================================================================
   Suchleiste auf der Startseite – Feldbreiten

   Vorher: Suchbegriff 299px, dann viermal 150px. Die Personenzahl war damit zu
   schmal (das Symbol lag über dem Platzhaltertext), während in der Spalte des
   SUCHE-Buttons rund 60px ungenutzt blieben. Die Summe bleibt 100%.
   ========================================================================== */
.advanced_search_form_wrapper .col-md-6:has(#keyword_search) { width: 30%; }
.advanced_search_form_wrapper .col-md-2:has(#property_category_toogle) { width: 17%; }
.advanced_search_form_wrapper .col-md-2:has(#property_action_category_toogle) { width: 17%; }
.advanced_search_form_wrapper .catering_kapazitaet_feld { width: 23%; }
.advanced_search_form_wrapper .adv_handler_wrapper { width: 13%; }

/* Der SUCHE-Button füllt seine Spalte jetzt aus, statt links zu kleben. */
.advanced_search_form_wrapper .adv_handler_wrapper #advanced_submit_4 {
	width: 100%;
}

/* Die Personenzahl ist das einzige echte <select> in der Leiste und sah dadurch
   anders aus als die beiden Klapplisten daneben. Eigene Pfeilgrafik statt der
   Browser-Variante, damit alle vier Felder gleich wirken. */
.advanced_search_form_wrapper .catering_kapazitaet_feld select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding-left: 42px;
	padding-right: 28px;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23777' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	text-overflow: ellipsis;
}

@media (max-width: 991px) {
	.advanced_search_form_wrapper .col-md-6:has(#keyword_search),
	.advanced_search_form_wrapper .col-md-2:has(#property_category_toogle),
	.advanced_search_form_wrapper .col-md-2:has(#property_action_category_toogle),
	.advanced_search_form_wrapper .catering_kapazitaet_feld,
	.advanced_search_form_wrapper .adv_handler_wrapper {
		width: 100%;
	}
}

/* ==========================================================================
   Suchergebnis-Seite: Filterleiste

   Die vier Klapplisten (Kategorie, Cateringart, Einzugsgebiet, Personenzahl)
   und die Sortierung stehen als lose col-md-2-Spalten nebeneinander. Hier
   werden sie zu einer zusammenhängenden Leiste zusammengefasst.
   ========================================================================== */
.main_taxonomy_filter,
.action_taxonomy_filter,
.city_taxonmy_filter,
.area_taxonomy_filter,
.order_taxonomy_filter {
	padding-left: 6px;
	padding-right: 6px;
	margin-bottom: 10px;
}

.listing_filter_select {
	height: 46px;
	border: 1px solid #d6dae1;
	border-radius: 8px;
	background: #fff;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.listing_filter_select:hover {
	border-color: #b6bdc8;
}

.listing_filter_select .filter_menu_trigger {
	height: 44px;
	padding: 0 34px 0 14px;
	color: #344054;
	font-size: 14px;
	line-height: 44px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Aktiver Filter wird sichtbar hervorgehoben, damit man erkennt, wonach
   gerade gefiltert wird. */
.listing_filter_select:has(.filter_menu_trigger[data-value]:not([data-value=""]):not([data-value="all"])) {
	border-color: #1d293e;
	box-shadow: 0 0 0 3px rgba(29, 41, 62, .08);
}

.listing_filter_select .dropdown-menu {
	border: 1px solid #e4e7ec;
	border-radius: 8px;
	box-shadow: 0 12px 28px rgba(16, 24, 40, .14);
	padding: 6px;
}

.listing_filter_select .dropdown-menu li {
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 14px;
	cursor: pointer;
}

.listing_filter_select .dropdown-menu li:hover {
	background: #f2f4f7;
}

/* --- Ergebnisraster --- */
.property_list_wrapper .listing_wrapper,
.listing_wrapper {
	margin-bottom: 26px;
}

@media (min-width: 992px) {
	/* Gleich hohe Karten pro Zeile */
	.property_list_wrapper,
	.similar_listings_wrapper_flex {
		display: flex;
		flex-wrap: wrap;
	}
}

/* ==========================================================================
   Inseratsseite: Beschreibung

   Das Theme gibt die Beschreibung ZWEIMAL aus – einmal im Kopfbereich
   (.property_header_wrapper) und einmal weiter unten als eigenes Panel
   (.listing_description_wrapper). Beide tragen dieselbe ID #listing_description.
   Wir behalten die obere und blenden die untere aus.

   Ausserdem kuerzt das Theme den Text auf 129px und blendet „Mehr anzeigen“ ein
   (js/property.js:665). Fuer ein Catering-Profil soll der Text vollstaendig
   sichtbar sein – Deckelung raus, Umschalter raus.
   ========================================================================== */
.listing_description_wrapper.panel-wrapper {
	display: none;
}

#view_more_desc {
	display: none !important;
}

#listing_description .panel-body {
	max-height: none !important;
	overflow: visible !important;
}

/* ==========================================================================
   Inseratsseite: Kopfbereich
   ========================================================================== */

/* „Caterer kontaktieren“ steht bereits als Formular in der Seitenleiste –
   der zusätzliche Knopf in der Kopfzeile ist doppelt. */
.property_header_wrapper .check_avalability {
	display: none !important;
}

/* Preis auf dem Titelbild: dunkelblau auf dem Foto war kaum lesbar. */
.listing_main_image .listing_main_image_price {
	color: #e6e8ec;
	text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
	font-weight: 600;
}

/* ==========================================================================
   Inseratsformular: Felder, die das Theme fest einbaut

   Diese Felder sind NICHT über wp_estate_submission_page_fields steuerbar,
   sie stehen unbedingt im Template. Deshalb hier ausgeblendet.
   ========================================================================== */

/* ==========================================================================
   Mein Profil: auf echte Profildaten reduzieren

   Das Theme fragt hier Ferienwohnungs- und Social-Media-Felder ab, die für
   einen Caterer nichts zur Sache tun.
   ========================================================================== */
.user_profile_wrapper p:has(#userfacebook),
.user_profile_wrapper p:has(#usertwitter),
.user_profile_wrapper p:has(#userlinkedin),
.user_profile_wrapper p:has(#userpinterest),
.user_profile_wrapper p:has(#userinstagram),
.user_profile_wrapper p:has(#useryoutube),
.user_profile_wrapper p:has(#userskype),
.user_profile_wrapper p:has(#i_speak),
.user_profile_wrapper p:has(#payment_info),
.user_profile_wrapper p:has(#paypal_payments_to),
p:has(> #userfacebook),
p:has(> #usertwitter),
p:has(> #userlinkedin),
p:has(> #userpinterest),
p:has(> #userinstagram),
p:has(> #useryoutube),
p:has(> #userskype),
p:has(> #i_speak),
p:has(> #payment_info),
p:has(> #paypal_payments_to) {
	display: none !important;
}

/* Der Id-Scan-Upload gehört nicht in ein Anbieterprofil. */
.user_profile_wrapper #upload_id_scan,
#upload_id_scan {
	display: none !important;
}

/* Das Panel „Preisinfo“ zeigte nur Übernachtungspreise, Reinigungsgebühr und Kaution –
   alles abgeschaltet, deshalb blieb es leer. Der Preis steht im Titelbild und auf der Karte. */
#listing_price {
	display: none !important;
}

/* ==========================================================================
   Inseratsformular: Pflichtfeld-Hinweis

   Der rote Balken stand dauerhaft ueber jedem Schritt, obwohl gar kein Fehler
   vorlag. Fehlermeldungen beim Absenden kommen aus einem eigenen Element und
   bleiben davon unberuehrt.
   ========================================================================== */
.submit_mandatory {
	display: none !important;
}

/* Logo-Bereich im Schritt „Bilder“ */
.catering_logo_block {
	margin: 0 0 26px;
	padding: 18px 20px;
	border: 1px solid #e4e7ec;
	border-radius: 10px;
	background: #fafbfc;
}

.catering_logo_block h4 { margin: 0 0 14px; font-size: 16px; font-weight: 700; }
.catering_logo_inhalt { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

.catering_logo_vorschau {
	width: 86px;
	height: 86px;
	flex: 0 0 86px;
	border: 1px solid #e4e7ec;
	border-radius: 10px;
	background: #fff center/cover no-repeat;
}

.catering_logo_vorschau[data-leer] {
	background-image: url("https://catering-suche.de/wp-content/uploads/2026/08/Platzhalter-scaled.jpeg");
	opacity: .45;
}

.catering_logo_text p { margin: 0 0 10px; font-size: 14px; }
.catering_logo_text small { display: block; margin-top: 8px; font-size: 12px; opacity: .7; }



/* ==========================================================================
   Catering-Kacheln – NUR in den beiden grossen Rastern

   WICHTIG: `.property_listing` und `.listing_wrapper` werden im Theme an sehr
   unterschiedlichen Stellen verwendet – in den grossen Rastern, in den
   Seitenleisten-Widgets, im Footer, bei „Ähnliche Inserate“ UND als
   Container der kompletten Inseratsseite (`.content_wrapper.ccc.listing_wrapper`).

   Eine ungescopte Regel wie `.listing_wrapper { display:flex }` hat deshalb die
   ganze Inseratsseite in eine Flex-Zeile verwandelt: Titelbild auf 0 Pixel Breite,
   „Ähnliche Inserate“ neben statt unter dem Inhalt.

   Deshalb gilt alles hier ausschliesslich innerhalb von:
     #listing_ajax_container   – Suchergebnisse
     .items_shortcode_wrapper  – Raster auf der Startseite
   Alle Widgets und Nebenbereiche behalten die Darstellung des Themes.
   ========================================================================== */

#listing_ajax_container .property_listing,
.items_shortcode_wrapper .property_listing {
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 6px 16px rgba(16, 24, 40, .08);
	transition: transform .22s ease, box-shadow .22s ease;
}

#listing_ajax_container .property_listing:hover,
.items_shortcode_wrapper .property_listing:hover {
	transform: translateY(-3px);
	box-shadow: 0 2px 4px rgba(16, 24, 40, .08), 0 14px 32px rgba(16, 24, 40, .16);
}

/* --- Feste Bildhoehe --- */
#listing_ajax_container .property_listing .listing-unit-img-wrapper,
#listing_ajax_container .property_listing .property_unit_carousel,
#listing_ajax_container .property_listing .carousel-inner,
#listing_ajax_container .property_listing .carousel-inner .item,
#listing_ajax_container .property_listing .carousel-inner .item a,
#listing_ajax_container .property_listing img,
.items_shortcode_wrapper .property_listing .listing-unit-img-wrapper,
.items_shortcode_wrapper .property_listing .property_unit_carousel,
.items_shortcode_wrapper .property_listing .carousel-inner,
.items_shortcode_wrapper .property_listing .carousel-inner .item,
.items_shortcode_wrapper .property_listing .carousel-inner .item a,
.items_shortcode_wrapper .property_listing img {
	height: 230px;
	max-height: 230px;
}

#listing_ajax_container .property_listing img,
.items_shortcode_wrapper .property_listing img {
	width: 100%;
	object-fit: cover;
	object-position: center;
}

/* --- Textblock als Overlay --- */
#listing_ajax_container .property_listing .title-container,
.items_shortcode_wrapper .property_listing .title-container {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	padding: 62px 20px 16px;
	background: linear-gradient(to top,
		rgba(11, 17, 30, .93) 18%,
		rgba(11, 17, 30, .68) 52%,
		rgba(11, 17, 30, 0) 100%);
}

#listing_ajax_container .property_listing .title-container,
#listing_ajax_container .property_listing .title-container a,
#listing_ajax_container .property_listing .listing_title_unit,
#listing_ajax_container .property_listing .catering_zeile,
.items_shortcode_wrapper .property_listing .title-container,
.items_shortcode_wrapper .property_listing .title-container a,
.items_shortcode_wrapper .property_listing .listing_title_unit,
.items_shortcode_wrapper .property_listing .catering_zeile {
	color: #fff;
}

#listing_ajax_container .property_listing .listing_title_unit,
.items_shortcode_wrapper .property_listing .listing_title_unit {
	display: block;
	margin-bottom: 5px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
}

#listing_ajax_container .property_listing .catering_zeile,
.items_shortcode_wrapper .property_listing .catering_zeile {
	font-size: 13px;
	line-height: 1.6;
	opacity: .88;
}

#listing_ajax_container .property_listing .catering_kapazitaet_zeile::before,
.items_shortcode_wrapper .property_listing .catering_kapazitaet_zeile::before {
	content: "\f0c0";
	display: inline-block;
	width: 18px;
	margin-right: 2px;
	font-family: "Font Awesome 5 Free", "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 12px;
	opacity: .8;
}

/* --- Preis-Chip oben links --- */
#listing_ajax_container .property_listing .price_unit,
.items_shortcode_wrapper .property_listing .price_unit {
	top: 14px;
	left: 14px;
	right: auto;
	bottom: auto;
	z-index: 101;
	padding: 6px 13px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .95);
	color: #1d293e;
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(16, 24, 40, .18);
}

#listing_ajax_container .property_listing .catering_preis_zeile,
#listing_ajax_container .property_listing .pernight,
#listing_ajax_container .property_listing .owner_thumb,
#listing_ajax_container .property_listing .property_unit_action,
.items_shortcode_wrapper .property_listing .catering_preis_zeile,
.items_shortcode_wrapper .property_listing .pernight,
.items_shortcode_wrapper .property_listing .owner_thumb,
.items_shortcode_wrapper .property_listing .property_unit_action {
	display: none !important;
}

/* --- „Beliebt“ oben rechts --- */
#listing_ajax_container .property_listing .featured_div,
.items_shortcode_wrapper .property_listing .featured_div {
	left: auto;
	right: -29px;
	transform: rotate(45deg);
	font-size: 11px;
	letter-spacing: .05em;
	text-transform: uppercase;
}

/* --- Bildergalerie durchklickbar ---
   Die Pfeile liegen im Theme bei z-index auto, der Overlay bei 100 – dadurch
   fing der Overlay alle Klicks ab. */
#listing_ajax_container .property_listing .carousel-control,
.items_shortcode_wrapper .property_listing .carousel-control {
	z-index: 105;
	top: 70px;
	bottom: auto;
	width: 40px;
	height: 56px;
	opacity: 0;
	background: rgba(0, 0, 0, .4);
	border-radius: 4px;
	transition: opacity .2s ease;
}

#listing_ajax_container .property_listing:hover .carousel-control,
.items_shortcode_wrapper .property_listing:hover .carousel-control {
	opacity: 1;
}

@media (max-width: 767px) {
	#listing_ajax_container .property_listing .listing-unit-img-wrapper,
	#listing_ajax_container .property_listing .property_unit_carousel,
	#listing_ajax_container .property_listing .carousel-inner,
	#listing_ajax_container .property_listing .carousel-inner .item,
	#listing_ajax_container .property_listing img,
	.items_shortcode_wrapper .property_listing .listing-unit-img-wrapper,
	.items_shortcode_wrapper .property_listing .property_unit_carousel,
	.items_shortcode_wrapper .property_listing .carousel-inner,
	.items_shortcode_wrapper .property_listing .carousel-inner .item,
	.items_shortcode_wrapper .property_listing img {
		height: 200px;
		max-height: 200px;
	}
}

/* ==========================================================================
   Widgets „Beliebte Caterer“ (Footer) und „Neuste Caterer“ (Seitenleiste)

   Beide sind Instanzen von wpestate_footer_latest_widget und verwenden dasselbe
   Karten-Markup, stehen aber in schmalen Spalten. Statt grosser Kacheln hier eine
   kompakte Zeile: quadratisches Vorschaubild links, Text rechts.
   Farben bleiben unangetastet – im Footer hell, in der Seitenleiste dunkel.
   ========================================================================== */
[id*="wpestate_footer_latest_widget"] .property_listing {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	box-shadow: none;
	border-radius: 0;
}

[id*="wpestate_footer_latest_widget"] .property_listing .listing-unit-img-wrapper,
[id*="wpestate_footer_latest_widget"] .property_listing .property_unit_carousel,
[id*="wpestate_footer_latest_widget"] .property_listing .carousel-inner,
[id*="wpestate_footer_latest_widget"] .property_listing .carousel-inner .item,
[id*="wpestate_footer_latest_widget"] .property_listing .carousel-inner .item a,
[id*="wpestate_footer_latest_widget"] .property_listing img {
	width: 72px !important;
	height: 72px !important;
	max-height: 72px !important;
	min-height: 0 !important;
	flex: 0 0 72px;
	border-radius: 6px;
	overflow: hidden;
	object-fit: cover;
}

[id*="wpestate_footer_latest_widget"] .property_listing .title-container {
	position: static;
	flex: 1 1 auto;
	padding: 0;
	background: none;
	min-width: 0;
}

[id*="wpestate_footer_latest_widget"] .property_listing .listing_title_unit {
	display: block;
	margin-bottom: 2px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

[id*="wpestate_footer_latest_widget"] .property_listing .catering_zeile {
	font-size: 12px;
	line-height: 1.4;
	opacity: .8;
}

/* In der kompakten Zeile stoeren Preis-Chip, Fähnchen, Logo, Herz und Pfeile. */
[id*="wpestate_footer_latest_widget"] .property_listing .price_unit,
[id*="wpestate_footer_latest_widget"] .property_listing .price_unit_wrapper,
[id*="wpestate_footer_latest_widget"] .property_listing .featured_div,
[id*="wpestate_footer_latest_widget"] .property_listing .owner_thumb,
[id*="wpestate_footer_latest_widget"] .property_listing .property_unit_action,
[id*="wpestate_footer_latest_widget"] .property_listing .carousel-control,
[id*="wpestate_footer_latest_widget"] .property_listing .rating_placeholder {
	display: none !important;
}

/* --- Galerie-Pfeile klickbar machen ---
   Der Bild-Wrapper hat im Theme z-index 98 und bildet damit einen eigenen
   Stapelkontext: Die Pfeile darin koennen NIE ueber den Text-Overlay (z-index 100)
   steigen, egal welchen z-index man ihnen gibt. Der Overlay lag deshalb ueber den
   Pfeilen und fing jeden Klick ab.

   Loesung: Der Overlay ist reine Dekoration – Klicks gehen hindurch. Nur seine
   Links bleiben anklickbar. */
#listing_ajax_container .property_listing .title-container,
.items_shortcode_wrapper .property_listing .title-container {
	pointer-events: none;
}

#listing_ajax_container .property_listing .title-container a,
.items_shortcode_wrapper .property_listing .title-container a {
	pointer-events: auto;
}

/* --- Kacheln: Titel-Hover und Pfeilposition --- */

/* Das Theme faerbt den Titel beim Ueberfahren dunkelblau – auf dem dunklen
   Overlay praktisch unlesbar. Stattdessen ein helles Grau. */
#listing_ajax_container .property_listing .listing_title_unit:hover,
#listing_ajax_container .property_listing .listing_title_unit:focus,
#listing_ajax_container .property_listing a:hover .listing_title_unit,
.items_shortcode_wrapper .property_listing .listing_title_unit:hover,
.items_shortcode_wrapper .property_listing .listing_title_unit:focus,
.items_shortcode_wrapper .property_listing a:hover .listing_title_unit {
	color: #c8cdd6 !important;
}

/* Galerie-Pfeile etwas tiefer setzen. */
#listing_ajax_container .property_listing .carousel-control,
.items_shortcode_wrapper .property_listing .carousel-control {
	top: 88px;
}
