/*
Theme Name: Viktoria Ihl
Theme URI: https://viktoria-ihl.de/
Description: Child theme for Twenty Twenty-Five.
Author: Viktoria Ihl
Template: twentytwentyfive
Requires at least: 6.7
Requires PHP: 7.2
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: viktoria-ihl
*/

/*
 * Add frontend-only style overrides below. For global styles, typography,
 * colors, and layout defaults, prefer theme.json.
 */

/* Homepage greeting hero. The artwork is a template background, not page content. */
.wp-block-group.greeting-hero {
	min-height: 100vh !important;
	min-height: 100svh !important;
	display: grid;
	align-content: start;
	justify-items: center;
	padding: clamp(4rem, 9vh, 7rem) var(--wp--preset--spacing--50);
	background-color: var(--wp--preset--color--custom-color-1);
	background-image:
		linear-gradient(
			to bottom,
			rgb(10 4 35 / 35%) 0%,
			rgb(10 4 35 / 15%) 52%,
			var(--wp--preset--color--custom-color-1) 100%
		),
		url("http://rpi.fox-monitor.ts.net:8082/wp-content/uploads/2026/09/watermark-skaliert-Ameisenbaer-1.jpg");
	background-position: center, center 56%;
	background-repeat: no-repeat;
	background-size: cover;
}

.wp-block-group.greeting-hero :is(h1, p) {
	max-width: 42rem;
	text-shadow: 0 2px 18px rgb(0 0 0 / 70%);
}

/* Shop cards overlap the hero, then subsequent sections return to the opaque page. */
.shop-carousel {
	position: relative;
	z-index: 2;
	margin-top: clamp(-22rem, -24vh, -13rem) !important;
	padding-top: clamp(2rem, 5vw, 4rem) !important;
	padding-bottom: clamp(3rem, 6vw, 5rem) !important;
	background: transparent !important;
}

.shop-carousel > .wp-block-heading {
	margin-bottom: clamp(1.25rem, 3vw, 2.5rem);
	color: var(--wp--preset--color--base);
	text-shadow: 0 2px 18px rgb(0 0 0 / 70%);
}

.shop-carousel > .wp-block-heading br {
	display: none;
}

.shop-carousel .wp-block-columns {
	flex-wrap: nowrap !important;
	gap: clamp(1rem, 2vw, 2rem);
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-padding-inline: var(--wp--preset--spacing--50);
	scroll-snap-type: inline mandatory;
	padding: 0 var(--wp--preset--spacing--50) 1.5rem;
}

.shop-carousel .wp-block-column {
	flex: 0 0 clamp(17rem, 24vw, 22rem) !important;
	scroll-snap-align: start;
	padding: clamp(1rem, 2vw, 1.5rem);
	border: 1px solid rgb(255 255 255 / 16%);
	border-radius: 1.25rem;
	background: rgba(10, 4, 35, 0.236);
	backdrop-filter: blur(8px);
}

.shop-carousel .wp-block-image {
	aspect-ratio: 4 / 3;
	margin: 0 0 1.25rem !important;
	overflow: hidden;
	border-radius: 0.85rem;
}

.shop-carousel .wp-block-image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: auto !important;
	object-fit: cover !important;
	transition: transform 250ms ease;
}

.shop-carousel .wp-block-column:hover .wp-block-image img {
	transform: scale(1.04);
}

.shop-carousel .wp-block-column > p:empty {
	display: none;
}

.front-page-content .entry-content > .shop-carousel ~ .wp-block-group {
	position: relative;
	z-index: 3;
	background-color: var(--wp--preset--color--custom-color-1);
}

/* Keep the header controls together and give the long site title room to wrap cleanly. */
.site-header {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0;
	right: 0;
	z-index: 10;
	width: auto;
	background: rgb(10 4 35 / 62%);
	border-bottom: 1px solid rgb(255 255 255 / 10%);
	backdrop-filter: blur(18px) saturate(130%);
	-webkit-backdrop-filter: blur(18px) saturate(130%);
}

/* The landing page intentionally begins behind the glass header; other pages do not. */
body:not(.home) .wp-site-blocks {
	padding-top: 5.75rem;
}

body.home .greeting-hero {
	padding-top: clamp(7.5rem, 15vh, 12rem);
}

.site-header-primary {
	align-items: center;
	gap: var(--wp--preset--spacing--40);
}

.site-header-controls {
	margin-inline-start: auto;
}

.site-header-brand {
	flex: 0 0 auto;
	line-height: 1.1;
}

.site-header-brand :is(.site-header-brand__name, .site-header-brand__discipline) {
	margin: 0;
}

.site-header-brand__name {
	font-size: clamp(1rem, 1.4vw, 1.2rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	text-transform: uppercase;
}

.site-header-brand__name a {
	color: inherit;
	text-decoration: none;
}

.site-header-brand__discipline {
	margin-top: 0.3rem !important;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	opacity: 0.72;
	text-transform: uppercase;
}

.site-header-controls .wp-block-navigation-item__label {
	font-size: 0.88rem;
}

.site-header-controls .wp-block-search.site-header-search {
	flex: 0 1 370px;
}

.site-header-controls .wp-block-search.site-header-search .wp-block-search__inside-wrapper {
	min-height: 2.35rem;
	padding: 0.2rem;
	border: 1px solid rgb(255 255 255 / 20%);
	border-radius: 999px;
	background: rgb(255 255 255 / 8%);
	box-shadow: inset 0 1px rgb(255 255 255 / 8%);
}

.site-header-controls .wp-block-search.site-header-search .wp-block-search__input {
	min-width: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--wp--preset--color--base);
	font-size: 0.82rem;
	padding-inline: 0.85rem;
}

.site-header-controls .wp-block-search.site-header-search .wp-block-search__input::placeholder {
	color: rgb(255 255 255 / 65%);
	opacity: 1;
}

.site-header-controls .wp-block-search.site-header-search .wp-block-search__button {
	margin: 0;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--accent-5);
	color: var(--wp--preset--color--custom-color-1);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
	padding: 0.65rem 0.9rem;
	text-transform: uppercase;
	transition: background-color 180ms ease, transform 180ms ease;
}

.site-header-controls .wp-block-search.site-header-search .wp-block-search__button:hover {
	background: var(--wp--preset--color--base);
	transform: translateY(-1px);
}

@media (max-width: 1100px) {
	body:not(.home) .wp-site-blocks {
		padding-top: 9.25rem;
	}

	.site-header-primary {
		flex-wrap: wrap !important;
	}

	.site-header-primary > .site-header-brand,
	.site-header-controls {
		flex-basis: 100%;
	}

	.site-header-controls {
		justify-content: flex-end;
	}
}

@media (max-width: 768px) {
	.site-header-controls {
		flex-wrap: wrap !important;
	}

	.site-header-controls .wp-block-search.site-header-search {
		flex-basis: min(100%, 370px);
		margin-inline-start: auto;
	}
}

@media (max-width: 480px) {
	.site-header-controls .wp-block-search.site-header-search {
		width: 100% !important;
	}
}

 .grwid-modal {
    color: #000;
 }
