/* Culoca search: layout + Hub tokens (--dh-*), theme-universal (no Divi). */
.dirschl-lp-culoca-search {
	margin: 0 0 1.25rem;
	width: 100%;
	max-width: min(100%, 36rem);
}

.dirschl-lp-culoca-search__label {
	display: block;
	margin-bottom: 0.5rem;
}

.dirschl-lp-culoca-search__row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: stretch;
}

.dirschl-lp-culoca-search__input,
.dirschl-lp-culoca-search .dirschl-hub-css-preview-input {
	flex: 1 1 12rem;
	min-width: 0;
	max-width: 100%;
	scroll-margin-top: 1.25rem;
}

.dirschl-lp-culoca-search__input,
.dirschl-lp-culoca-search input[type="search"],
.dirschl-lp-culoca-search .dirschl-hub-css-preview-input {
	box-sizing: border-box;
	min-height: 2.85rem;
	padding: 0.7rem 0.9rem;
	font-size: 1rem;
	line-height: 1.35;
	background: var(--dh-input, var(--dh-surface));
	color: var(--dh-text);
	border: 1px solid var(--dh-border);
	border-radius: 8px;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
}

.dirschl-lp-culoca-search__input:focus,
.dirschl-lp-culoca-search input[type="search"]:focus {
	outline: 2px solid color-mix(in srgb, var(--dh-accent, #2271b1) 45%, transparent);
	outline-offset: 1px;
}

.dirschl-lp-culoca-search__submit {
	flex: 0 0 auto;
	box-sizing: border-box;
	min-height: 2.85rem;
	padding: 0.7rem 1.15rem;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
	cursor: pointer;
	border-radius: 8px;
	border: 1px solid color-mix(in srgb, var(--dh-accent, #2271b1) 84%, #000 16%);
	background: var(--dh-accent, #2271b1);
	color: var(--dh-text, #fff);
	box-shadow: none;
	text-shadow: none;
	background-image: none;
	appearance: none;
	-webkit-appearance: none;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.dirschl-lp-culoca-search__submit:hover,
.dirschl-lp-culoca-search__submit:focus {
	background: color-mix(in srgb, var(--dh-accent, #2271b1) 88%, #000 12%);
	border-color: color-mix(in srgb, var(--dh-accent, #2271b1) 72%, #000 28%);
	box-shadow: none;
	outline: none;
}

/* Optional Hub / WP button classes without 3D chrome */
.dirschl-lp-culoca-search .button.button-primary {
	border-radius: 8px;
	box-shadow: none;
	text-shadow: none;
	background-image: none;
	min-height: 2.85rem;
}

/* Carousel: Culoca portrait thumbs in slider track */
.dirschl-lp-unified-carousel.dirschl-lp-culoca-gallery .dlp-item .dlp-image {
	max-height: min(65vh, 420px);
}

/* Culoca embed gallery: natural aspect ratio (portrait + landscape). */
.dirschl-lp-culoca-gallery .dlp-item > a {
	display: block;
	position: relative;
	overflow: hidden;
	background: var(--lp-surface, #f4f4f4);
}

.dirschl-lp-culoca-gallery .dlp-item > a::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: var(--culoca-thumb-bg);
	background-size: cover;
	background-position: center;
	transform: scale(1.08);
	filter: blur(14px) saturate(0.9);
	opacity: 0.5;
	pointer-events: none;
}

.dirschl-lp-culoca-gallery .dlp-item .dlp-image,
.dirschl-lp-culoca-gallery .dlp-item .dlp-img-container .dlp-image {
	position: relative;
	z-index: 1;
	width: 100%;
	height: auto;
	max-height: min(70vh, 520px);
	aspect-ratio: auto;
	object-fit: contain;
	background: transparent;
}
