/*
   ELEMENTOR PAGES
   Custom CSS formerly stored in the Elementor documents (PRO Elements "Custom CSS"), scoped to the
   pages that used it: Startseite (.home), Rezensionen (.page-id-12468), Bayreuther KI-"Ring"
   (.page-id-13734) and the archive/search template "ArchivBeiträge" (.archive, .search; its editor
   preview: .single-elementor_library).
   ------------------------------------------------------------------------------------------------ */


/* ---------------------------------------------------------------------------------------------
   UPK GRIDS (all pages with Ultimate Post Kit grids)
   --------------------------------------------------------------------------------------------- */

:is(.home, .page-id-12468, .page-id-13734, .archive, .search, .single-elementor_library) .upk-title,
:is(.home, .page-id-12468, .page-id-13734, .archive, .search, .single-elementor_library) .upk-text p {
	text-align: center;
}

:is(.home, .page-id-12468, .page-id-13734, .archive, .search, .single-elementor_library) .body-inner {
	background: white !important;
}

:is(.home, .page-id-12468, .page-id-13734, .archive, .search, .single-elementor_library) .upk-meta {
	margin-top: 10px;
}

:is(.home, .page-id-12468, .page-id-13734, .archive, .search, .single-elementor_library) .location {
	color: #e0dcde;
}


/* ---------------------------------------------------------------------------------------------
   STARTSEITE
   --------------------------------------------------------------------------------------------- */

body.home {
	background-color: white !important;
	color: white !important;
	background: white !important;
}

.home .body-inner {
	background-color: white !important;
}

/* Dropdown must always overlay Elementor blocks: put the entire header in the topmost stacking layer */
.home #masthead,
.home .site-header,
.home header.site-header {
	position: relative !important;
	z-index: 2147483647 !important;
	isolation: isolate !important; /* stable stacking context */
}

/* Prevent any ancestor clipping the submenu */
.home #masthead,
.home #masthead *,
.home .site-header,
.home .site-header * {
	overflow: visible !important;
}

/* Neutralize stacking-context triggers that may be toggled after first hover */
.home #masthead,
.home .site-header,
.home #masthead .main-navigation,
.home .site-header .main-navigation,
.home #masthead nav,
.home .site-header nav {
	transform: none !important;
	filter: none !important;
	opacity: 1 !important;
}

/* Ensure parent <li> is positioned (anchor for absolute submenu) */
.home #masthead li.menu-item-has-children,
.home .site-header li.menu-item-has-children {
	position: relative !important;
	z-index: 2147483647 !important;
}

.home #masthead ul.sub-menu,
.home .site-header ul.sub-menu {
	position: absolute !important;
	z-index: 2147483647 !important;
}

/* UPK Alter Grid: hide excerpt text nodes, keep only .location */
.home .upk-alter-grid .upk-text p {
	font-size: 0 !important;
	line-height: 0 !important;
	margin: 0 !important;
}

.home .upk-alter-grid .upk-text p .location {
	font-size: 12px !important;
	margin-top: 5%;
	color: #888789;
	line-height: 1.3 !important;
	display: inline-block !important;
}

.home .upk-alter-grid .upk-text p br {
	display: none !important;
}

.home p {
	line-height: 1.3 !important;
}

.home .elementor-element.elementor-element-556c91a1 {
	--content-width: 1300px !important;
}

/* Camux slider */
.home .upk-camux-slider-wrap .upk-text {
	display: none;
}

.home .upk-camux-slider .upk-pretitle-location {
	display: block;
	margin: 0 0 .5em 0;
	color: white;
	font-size: 0.9em;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: #C0533DFA;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

/* Archives widget: hide the widget title */
@media (min-width: 600px) {
	.home .entry-content h5 {
		display: none;
	}
}


/* ---------------------------------------------------------------------------------------------
   REVIEW SEARCH ([sullivan_review_search], replaces the Pro "Search" widget)
   --------------------------------------------------------------------------------------------- */

.review-search-form {
	margin: 0;
}

.review-search-form .review-search-field {
	width: 100%;
	height: 56px;
	margin: 0;
	padding: 16px;
	border: 0;
	border-bottom: 1px solid #cdcdcd;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	color: #7a7a7a;
	font-family: inherit;
	font-size: 15px;
	font-weight: 400;
	line-height: normal;
}

.review-search-form .review-search-field:focus {
	border-bottom-color: #C0533DFA;
	outline: none;
}

.review-search-form .review-search-field::placeholder {
	color: #515962;
	opacity: 1;
}
