/*
Theme Name: LCM Naturheilpraxis
Theme URI: https://life-change-management.de/
Author: Life Change Management
Description: Eigenständiges Block-Theme für den Design-Freeze der Naturheilpraxis, Phase 4.1.
Version: 0.3.3
Requires at least: 7.0
Requires PHP: 8.1
Text Domain: lcm-naturheilpraxis
License: GNU General Public License v2 or later
*/

:root {
	--lcm-radius: 4px;
	--lcm-pill: 999px;
	--lcm-focus: 0 0 0 3px #faf7f2, 0 0 0 6px #15779b;
}

html {
	scroll-behavior: smooth;
}

body {
	text-wrap: pretty;
}

.wp-site-blocks {
	overflow: clip;
}

a {
	text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.wp-element-button:focus-visible {
	outline: 0;
	box-shadow: var(--lcm-focus);
}

.lcm-topbar {
	min-height: 36px;
}

.lcm-site-header {
	position: relative;
	z-index: 20;
	border-bottom: 1px solid var(--wp--preset--color--ice);
}

.lcm-site-title a,
.lcm-site-title a:hover {
	text-decoration: none;
}

.lcm-site-tagline {
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.lcm-navigation .wp-block-navigation-item__content {
	padding-block: 0.4rem;
	border-bottom: 2px solid transparent;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lcm-navigation .wp-block-navigation-item__content:hover,
.lcm-navigation .current-menu-item > .wp-block-navigation-item__content {
	border-bottom-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--petrol);
	text-decoration: none;
}

.lcm-kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	line-height: 1.35;
	text-transform: uppercase;
}

.lcm-kicker::before {
	width: 30px;
	height: 1px;
	background: currentColor;
	content: "";
}

.lcm-hero {
	min-height: min(720px, 78vh);
}

.lcm-hero-visual {
	min-height: 460px;
	border: 1px solid var(--wp--preset--color--ice);
	border-radius: var(--lcm-radius);
	background:
		radial-gradient(circle at 28% 28%, rgb(255 255 255 / 88%) 0 8%, transparent 9%),
		linear-gradient(145deg, #ddeef5 0%, #f0f7fa 43%, #c9d9e0 100%);
}

.lcm-card {
	height: 100%;
	border: 1px solid var(--wp--preset--color--ice);
	border-radius: var(--lcm-radius);
	background: var(--wp--preset--color--white);
}

.lcm-card--soft {
	background: var(--wp--preset--color--soft-blue);
}

.lcm-card--warm {
	background: var(--wp--preset--color--warm-white);
}

.lcm-number {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 2rem;
	line-height: 1;
	color: var(--wp--preset--color--primary);
}

.lcm-pill .wp-element-button,
.lcm-pill.wp-element-button {
	min-height: 48px;
	border-radius: var(--lcm-pill);
}

.lcm-button-outline .wp-element-button {
	border: 1px solid var(--wp--preset--color--primary);
	background: transparent;
	color: var(--wp--preset--color--petrol);
}

.lcm-button-outline .wp-element-button:hover {
	background: var(--wp--preset--color--soft-blue);
}

.lcm-narrow {
	max-width: 68ch;
}

.lcm-content-page .wp-block-post-content > .wp-block-heading {
	margin-top: clamp(2.5rem, 6vw, 5rem);
}

.lcm-content-page .wp-block-post-content > h3.wp-block-heading {
	margin-top: clamp(1.75rem, 4vw, 3rem);
}

.lcm-content-page .wp-block-post-content > .wp-block-buttons {
	margin-top: var(--wp--preset--spacing--l);
	margin-bottom: var(--wp--preset--spacing--l);
}

.lcm-content-page .wp-block-post-content > .lcm-trust {
	padding-top: var(--wp--preset--spacing--xs);
	color: var(--wp--preset--color--petrol);
}

.lcm-media-portrait img {
	width: min(220px, 60vw) !important;
}

.lcm-article-layer {
	font-family: inherit;
}

.lcm-source a {
	overflow-wrap: anywhere;
}

.lcm-faq-row + .lcm-faq-row {
	border-top: 1px solid var(--wp--preset--color--ice);
}

.lcm-footer {
	border-top: 1px solid var(--wp--preset--color--ice);
}

.lcm-disclaimer {
	border-top: 1px solid var(--wp--preset--color--border);
}

@media (max-width: 900px) {
	.lcm-topbar {
		display: none;
	}

	.lcm-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}

	.lcm-navigation .wp-block-navigation__responsive-container-open {
		display: flex !important;
	}

	.lcm-site-header .wp-block-site-tagline {
		display: none;
	}

	.lcm-site-header > .wp-block-group {
		gap: 0.75rem;
	}

	.lcm-site-title {
		flex: 1 1 auto;
		min-width: 0;
		font-size: 1.125rem !important;
		line-height: 1.25;
	}

	.lcm-site-header .lcm-navigation,
	.lcm-site-header .wp-block-buttons {
		flex: 0 0 auto;
	}

	.lcm-site-header .lcm-pill .wp-element-button {
		min-height: 42px;
		padding: 0.65rem 0.9rem;
		white-space: nowrap;
	}

	.lcm-hero {
		min-height: 0;
	}

	.lcm-hero-visual {
		min-height: 320px;
	}

	.lcm-navigation .wp-block-navigation__responsive-container.is-menu-open {
		display: flex !important;
		padding: 1.5rem;
		background: var(--wp--preset--color--white);
		color: var(--wp--preset--color--text);
	}

	.lcm-navigation .wp-block-navigation-item__content {
		min-height: 48px;
		display: flex;
		align-items: center;
	}
}

@media (max-width: 480px) {
	.lcm-site-header {
		padding-inline: 0.75rem;
	}

	.lcm-site-header > .wp-block-group {
		gap: 0.5rem;
	}

	.lcm-site-title {
		max-width: 11rem;
		font-size: 1rem !important;
	}

	.lcm-media-portrait img {
		width: min(180px, 52vw) !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
