/* LuH Go Team – custom styles. Colours come from theme.json presets. */

:root {
	--luhgo-ink: var(--wp--preset--color--ink);
	--luhgo-paper: var(--wp--preset--color--paper);
	--luhgo-kaya: var(--wp--preset--color--kaya);
	--luhgo-kaya-dark: var(--wp--preset--color--kaya-dark);
	--luhgo-line: var(--wp--preset--color--line);
	--luhgo-muted: var(--wp--preset--color--muted);
	--luhgo-radius: 18px;
	/* Faint Go grid used as background texture. */
	--luhgo-grid: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 48px 48px,
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 48px 48px;
}

body { -webkit-font-smoothing: antialiased; }

/* Kill the default gap between template parts / sections. */
.wp-site-blocks > * + *,
main.wp-block-group > * + * { margin-block-start: 0; }

/* ---------- Header ---------- */
.luhgo-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--luhgo-ink) 92%, transparent);
	backdrop-filter: blur(8px);
	color: var(--luhgo-paper);
	padding-block: .8rem;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.admin-bar .luhgo-header { top: var(--wp-admin--admin-bar--height, 32px); }

.luhgo-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.luhgo-brand {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
	color: inherit;
	text-decoration: none;
}
.luhgo-brand__mark { width: 58px; height: auto; flex: none; }
/* Own logo picture (LuH Go → Startseite → Logo): fixed height, width follows the picture. */
.luhgo-brand__mark.luhgo-brand__mark--img { width: auto; height: 36px; max-width: 180px; object-fit: contain; }
.luhgo-footer__brand .luhgo-brand__mark.luhgo-brand__mark--img { width: auto; height: 20px; }
.luhgo-brand__text {
	display: flex;
	flex-direction: column;
	line-height: .95;
	font-weight: 800;
	letter-spacing: .02em;
}
/* Line 1 keeps its exact spelling ("LuH") – never transform it. */
.luhgo-brand__line1 { font-size: 1.5rem; }
.luhgo-brand__line2 { font-size: .9rem; text-transform: uppercase; opacity: .85; }

.luhgo-nav {
	display: flex;
	align-items: center;
	gap: clamp(.75rem, 2.5vw, 1.75rem);
	margin-inline-start: auto;
}
.luhgo-nav > a,
.luhgo-nav__toggle {
	color: inherit;
	text-decoration: none;
	font: inherit;
	font-weight: 600;
	font-size: .95rem;
	opacity: .8;
	border: 0;
	border-bottom: 2px solid transparent;
	padding: .2rem 0;
	background: none;
	cursor: pointer;
}
.luhgo-nav > a:hover,
.luhgo-nav__toggle:hover,
.luhgo-nav__toggle[aria-expanded="true"] { opacity: 1; border-bottom-color: var(--luhgo-kaya); }
.luhgo-nav__toggle:focus-visible,
.luhgo-nav a:focus-visible { outline: 3px solid var(--luhgo-kaya); outline-offset: 3px; }
.luhgo-nav__caret { display: inline-block; font-size: .75em; transition: transform .2s; }
.luhgo-nav__toggle[aria-expanded="true"] .luhgo-nav__caret { transform: rotate(180deg); }

/* Dropdown panel (white card, like GoMagic). */
.luhgo-nav__item { position: relative; }
.luhgo-nav__panel {
	position: absolute;
	top: calc(100% + .75rem);
	left: 50%;
	z-index: 60;
	display: grid;
	min-width: 15rem;
	padding: .5rem;
	transform: translateX(-50%);
	background: var(--wp--preset--color--white);
	color: var(--luhgo-ink);
	border-radius: 14px;
	box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45);
}
.luhgo-nav__panel a {
	padding: .65rem .9rem;
	border-radius: 8px;
	color: inherit;
	text-decoration: none;
	font-weight: 500;
	white-space: nowrap;
}
.luhgo-nav__panel a:hover { background: var(--wp--preset--color--paper-2); }
.luhgo-nav__panel[hidden] { display: none; }
.luhgo-section[id] { scroll-margin-top: 80px; }

.luhgo-lang {
	display: inline-flex;
	padding: 3px;
	border: 1.5px solid rgba(255, 255, 255, .25);
	border-radius: 999px;
}
.luhgo-lang a {
	padding: .3rem .8rem;
	border-radius: 999px;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .06em;
	color: inherit;
	text-decoration: none;
	opacity: .7;
	transition: opacity .15s, background-color .15s;
}
.luhgo-lang a:hover { opacity: 1; }
.luhgo-lang a[aria-current] {
	background: var(--luhgo-paper);
	color: var(--luhgo-ink);
	opacity: 1;
}

/* ---------- Next date bar ---------- */
.luhgo-datebar {
	background: var(--luhgo-kaya);
	color: var(--luhgo-ink);
}
.luhgo-datebar__link {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	column-gap: .45rem;
	row-gap: .1rem;
	padding-block: .65rem;
	color: inherit;
	text-decoration: none;
	font-size: .95rem;
	line-height: 1.35;
	text-align: center;
}
.luhgo-datebar__link strong { font-weight: 800; }
.luhgo-datebar__pin {
	width: .8rem;
	height: .8rem;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #666, #000 60%);
	flex: none;
}
.luhgo-datebar__arrow { transition: transform .2s ease; }
.luhgo-datebar__link:hover .luhgo-datebar__arrow { transform: translateX(4px); }
.luhgo-datebar__link:focus-visible { outline: 3px solid var(--luhgo-ink); outline-offset: -3px; }

/* ---------- Hero ---------- */
.luhgo-hero {
	background: var(--luhgo-grid), var(--luhgo-ink);
	color: var(--luhgo-paper);
	padding-block: clamp(3rem, 8vw, 6.5rem);
	overflow: hidden;
}
.luhgo-hero__cols { gap: clamp(2rem, 5vw, 4rem); }

.luhgo-eyebrow {
	margin: 0 0 1rem;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--luhgo-kaya);
}
/* Wider hero, bigger pictures: text 46 % / pictures 54 %. */
.luhgo-hero__cols > .wp-block-column:first-child { container-type: inline-size; }
@media (min-width: 782px) {
	.luhgo-hero__cols { max-width: min(1320px, 100%) !important; }
	.luhgo-hero__cols > .wp-block-column:first-child { flex-basis: 46% !important; }
	.luhgo-hero__cols > .wp-block-column:last-child { flex-basis: 54% !important; }
}

/* Every headline/lead sentence on its own line. The headline scales with its column
   (cqi = % of column width), so the longest German line always fits in one line. */
.luhgo-hero__title {
	margin: 0;
	font-size: min(4.4rem, 8.6cqi);
	line-height: 1.04;
}
.luhgo-hero__title .luhgo-line { display: block; white-space: nowrap; }
.luhgo-hero__lead {
	margin-top: 1.5rem;
	font-size: min(var(--wp--preset--font-size--large), 5.4cqi);
	line-height: 1.55;
	opacity: .8;
}
.luhgo-hero__lead .luhgo-line { display: block; }

.luhgo-hero__media { margin: 0; perspective: 1400px; }
.luhgo-hero__media > * {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--luhgo-radius);
}
.luhgo-board--hero {
	transform: rotateX(16deg) rotateZ(-5deg);
	filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55));
	transition: transform .6s ease;
}
.luhgo-hero__media:hover .luhgo-board--hero { transform: rotateX(8deg) rotateZ(-2deg); }

/* ---------- Sections ---------- */
.luhgo-section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.luhgo-section__head { margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.luhgo-section__head h2 { margin: 0; }
.luhgo-section__intro {
	margin-top: .6rem;
	max-width: 52ch;
	color: var(--luhgo-muted);
	font-size: var(--wp--preset--font-size--large);
}

/* Why Go – cards */
.luhgo-cards { gap: clamp(1rem, 3vw, 2rem); }
.luhgo-card {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--luhgo-line);
	border-radius: var(--luhgo-radius);
	padding: 1.25rem 1.25rem 1.5rem;
	transition: transform .2s ease, box-shadow .2s ease;
}
.luhgo-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px -18px rgba(20, 20, 20, .35);
}
.luhgo-card__media .luhgo-board,
.luhgo-card__media img {
	display: block;
	width: 100%;
	max-width: 200px;
	height: auto;
	margin: 0 auto .5rem;
}
.luhgo-card__media img {
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 12px;
}
/* Picture source on the card picture, bottom right – like on the article cards (LuH Go → Startseite). */
.luhgo-card__media.has-photo { position: relative; max-width: 200px; margin: 0 auto .5rem; }
.luhgo-card__media.has-photo img { margin: 0; }
.luhgo-card__credit {
	position: absolute;
	right: 0;
	bottom: 0;
	max-width: 100%;
	padding: .2rem .5rem;
	background: rgba(20, 20, 20, .6);
	color: #fff;
	font-size: .7rem;
	line-height: 1.3;
	text-align: right;
	border-top-left-radius: 6px;
	border-bottom-right-radius: 12px;
}
a.luhgo-card__credit { text-decoration: none; }
a.luhgo-card__credit:hover,
a.luhgo-card__credit:focus-visible { background: rgba(20, 20, 20, .85); color: #fff; text-decoration: underline; }
.luhgo-hero__media.has-photo img { aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .6); }

/* Hero slideshow: slides stacked on top of each other, the active one fades in. */
.luhgo-slides {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: var(--luhgo-radius);
	box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .6);
}
.luhgo-slides > .luhgo-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s ease;
	border-radius: var(--luhgo-radius);
	overflow: hidden;
}
.luhgo-slides > .luhgo-slide.is-active { opacity: 1; }
.luhgo-slides .luhgo-slide img { width: 100%; height: 100%; object-fit: cover; box-shadow: none; border-radius: 0; }
.luhgo-card { text-align: center; }
.luhgo-card h3 { margin-top: .75rem; font-size: clamp(1.15rem, 1.6vw, 1.4rem); text-wrap: balance; }
.luhgo-card p { margin-top: .5rem; color: var(--wp--preset--color--ink-2); text-wrap: pretty; }
.luhgo-board__mark { stroke: var(--wp--preset--color--accent); }

/* Go evenings */
/* Section order: Go evenings (light) → Why Go (shaded) → Articles (light). */
.luhgo-why { background: var(--wp--preset--color--paper-2); }

/* The "ready to Go" pun. */
.luhgo-pun {
	font-size: 1.35em;
	font-weight: 900;
	letter-spacing: -.02em;
	color: var(--luhgo-ink);
}
.luhgo-evenings__cols { gap: clamp(1.5rem, 4vw, 3rem); }
.luhgo-evenings h3 { margin: 0 0 1rem; }

.luhgo-map {
	position: relative;
	aspect-ratio: 16 / 10;
	max-height: 300px;
	width: 100%;
	border-radius: var(--luhgo-radius);
	overflow: hidden;
	background:
		linear-gradient(rgba(58, 39, 16, .25) 1px, transparent 1px) 0 0 / 32px 32px,
		linear-gradient(90deg, rgba(58, 39, 16, .25) 1px, transparent 1px) 0 0 / 32px 32px,
		var(--luhgo-kaya);
	border: 1px solid var(--luhgo-line);
}
.luhgo-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.luhgo-map__consent {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 1rem;
	padding: 1.5rem;
	text-align: center;
}
.luhgo-map__consent p {
	max-width: 38ch;
	margin: 0;
	padding: .75rem 1rem;
	font-size: var(--wp--preset--font-size--small);
	background: rgba(246, 243, 236, .92);
	border-radius: 10px;
}
.luhgo-map__link { margin-top: .75rem; font-size: var(--wp--preset--font-size--small); }
.luhgo-map__missing { padding: .75rem 1rem; border: 2px dashed var(--luhgo-kaya); border-radius: var(--luhgo-radius); font-size: var(--wp--preset--font-size--small); }

.luhgo-button {
	appearance: none;
	border: 0;
	border-radius: 999px;
	padding: .75rem 1.5rem;
	background: var(--luhgo-ink);
	color: var(--luhgo-paper);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: transform .15s ease;
}
.luhgo-button:hover { transform: translateY(-2px); }
.luhgo-button:focus-visible,
.luhgo-lang a:focus-visible,
.luhgo-brand:focus-visible { outline: 3px solid var(--luhgo-kaya); outline-offset: 3px; }

/* Map + info: two equal-height boxes, tops aligned. */
.luhgo-evenings__cols { align-items: stretch; }
.luhgo-box {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--luhgo-line);
	border-radius: var(--luhgo-radius);
	padding: clamp(1.25rem, 3vw, 2rem);
}
.luhgo-evenings__map { display: flex; flex-direction: column; }
.luhgo-evenings__map > * { margin-block: 0; }
.luhgo-evenings__map h3 { margin-bottom: 1rem; }
.luhgo-evenings__map .luhgo-map__link { margin-top: .75rem; }
.luhgo-evenings__map .luhgo-map { flex: 1; min-height: 220px; max-height: none; aspect-ratio: auto; }
/* Static map picture: fills the box, the red dot stays in view; OSM credit bottom right. */.luhgo-details { margin: 0; display: grid; gap: 1.1rem; }
.luhgo-details__row { display: grid; gap: .15rem; }
.luhgo-details dt {
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--luhgo-kaya-dark);
}
.luhgo-details dd { margin: 0; font-size: 1.1rem; font-weight: 600; }
.luhgo-next-date { font-size: 1.35rem; font-weight: 800; }

.luhgo-dates { margin-top: .6rem; font-weight: 500; }
.luhgo-dates summary {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .4rem .9rem;
	border: 1.5px solid var(--luhgo-ink);
	border-radius: 999px;
	font-size: .9rem;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}
.luhgo-dates summary::-webkit-details-marker { display: none; }
.luhgo-dates summary::after { content: "▾"; transition: transform .2s; }
.luhgo-dates[open] summary::after { transform: rotate(180deg); }
.luhgo-dates summary:hover { background: var(--luhgo-ink); color: var(--luhgo-paper); }
.luhgo-dates ul { margin: .75rem 0 0; padding: 0; list-style: none; }
.luhgo-dates li { padding: .45rem 0; border-bottom: 1px solid var(--luhgo-line); }
.luhgo-dates li:last-child { border-bottom: 0; }
.luhgo-dates__note {
	margin: .5rem 0 0;
	font-size: .78rem;
	font-weight: 400;
	color: var(--luhgo-muted);
}

.luhgo-edit-link {
	display: inline-block;
	margin-top: .6rem;
	font-size: .8rem;
	font-weight: 500;
	color: var(--luhgo-muted);
}

/* ---------- Articles slider ---------- */
.luhgo-slider { --luhgo-gap: 1.25rem; --luhgo-per-view: 3; }
.luhgo-slider__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: clamp(1.25rem, 3vw, 2rem);
}
.luhgo-slider__head .luhgo-section__head { margin: 0; }
.luhgo-slider__nav { display: flex; gap: .5rem; flex: none; }
.luhgo-slider__btn {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	border: 1.5px solid var(--luhgo-ink);
	background: transparent;
	color: var(--luhgo-ink);
	font-size: 1.1rem;
	cursor: pointer;
	transition: background-color .15s, color .15s, opacity .15s;
}
.luhgo-slider__btn:hover:not(:disabled) { background: var(--luhgo-ink); color: var(--luhgo-paper); }
.luhgo-slider__btn:disabled { opacity: .25; cursor: default; }
.luhgo-slider__btn:focus-visible { outline: 3px solid var(--luhgo-kaya); outline-offset: 2px; }
.luhgo-slider.is-static .luhgo-slider__nav { visibility: hidden; }

.luhgo-slider__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--luhgo-per-view) - 1) * var(--luhgo-gap)) / var(--luhgo-per-view));
	gap: var(--luhgo-gap);
	margin: 0;
	padding: 0 0 1rem;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	scrollbar-width: thin;
	scrollbar-color: var(--luhgo-line) transparent;
}
.luhgo-article { scroll-snap-align: start; display: flex; }
.luhgo-article__link {
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--luhgo-line);
	border-radius: var(--luhgo-radius);
	color: inherit;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}
.luhgo-article__link:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -18px rgba(20, 20, 20, .35); }
.luhgo-article__link:focus-visible { outline: 3px solid var(--luhgo-kaya); outline-offset: 2px; }
.luhgo-article__media {
	aspect-ratio: 16 / 9;
	display: grid;
	place-items: center;
	background: var(--wp--preset--color--paper-2);
	overflow: hidden;
}
.luhgo-article__media img { width: 100%; height: 100%; object-fit: cover; }
.luhgo-article__media .luhgo-board { height: 80%; width: auto; }
.luhgo-article__body { display: flex; flex-direction: column; gap: .5rem; flex: 1; padding: 1.1rem 1.25rem 1.3rem; }
.luhgo-article__body h3 { margin: 0; font-size: 1.2rem; text-wrap: balance; }
.luhgo-article__body p { margin: 0; color: var(--luhgo-muted); font-size: .95rem; }
.luhgo-stamp { color: var(--luhgo-muted); font-size: .85rem; font-weight: 600; }
.luhgo-article__more { margin-top: auto; padding-top: .4rem; font-weight: 700; font-size: .9rem; }
.luhgo-article__media { position: relative; }
.luhgo-article__badge {
	position: absolute;
	top: .75rem;
	left: .75rem;
	padding: .3rem .65rem;
	border-radius: 999px;
	background: var(--luhgo-ink);
	color: var(--luhgo-paper);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .04em;
}
/* Picture credit on the card (from the picture's caption). */
.luhgo-article__credit {
	position: absolute;
	right: 0;
	bottom: 0;
	max-width: 100%;
	padding: .2rem .5rem;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	background: rgba(20, 20, 20, .6);
	color: #fff;
	font-size: .7rem;
	border-top-left-radius: 6px;
}
.luhgo-article--spotlight .luhgo-article__link { border-color: var(--luhgo-kaya); box-shadow: 0 0 0 2px var(--luhgo-kaya) inset; }

/* ---------- Mailing list form ---------- */
.luhgo-mlform { margin-top: 1.5rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--wp--preset--color--white); border: 1px solid var(--luhgo-line); border-radius: var(--luhgo-radius); }
.luhgo-mlform form > p, .luhgo-mlform__row > p { margin: 0 0 1rem; }
.luhgo-mlform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.luhgo-mlform label { display: block; font-weight: 600; }
.luhgo-mlform input[type="text"], .luhgo-mlform input[type="email"] {
	box-sizing: border-box; width: 100%; margin-top: .3rem; padding: .7rem .85rem;
	border: 1px solid var(--luhgo-line); border-radius: 10px; font: inherit; background: var(--luhgo-paper);
}
.luhgo-mlform input:focus-visible { outline: 3px solid var(--luhgo-kaya); outline-offset: 1px; }
.luhgo-mlform fieldset { margin: 0 0 1rem; padding: 0; border: 0; }
.luhgo-mlform legend { font-weight: 600; margin-bottom: .4rem; }
.luhgo-mlform fieldset label { display: flex; gap: .6rem; align-items: baseline; font-weight: 400; }
.luhgo-mlform fieldset p { margin: .35rem 0; }
.luhgo-mlform__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.luhgo-mlform__msg { padding: .8rem 1rem; border-radius: 10px; background: var(--wp--preset--color--paper-2); }
.luhgo-mlform__msg--ok { background: #e3f1e0; color: #1d4d1a; }
.luhgo-mlform__msg--error { background: #f8e1e1; color: #7a1c1c; }
@media (max-width: 640px) { .luhgo-mlform__row { grid-template-columns: 1fr; } }

/* ---------- News list (homepage): date + title, 3 / 2 / 1 columns ---------- */
.luhgo-news .luhgo-section__head { margin-bottom: 1.25rem; }
.luhgo-newslist {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
/* Plain golden text, no boxes. */
.luhgo-newslist { row-gap: .35rem; column-gap: 2rem; }
.luhgo-newslist__item {
	display: flex;
	align-items: baseline;
	gap: .75rem;
	padding: .35rem 0;
	color: var(--luhgo-kaya-dark);
	text-decoration: none;
}
.luhgo-newslist__item:hover .luhgo-newslist__title { text-decoration: underline; text-underline-offset: 3px; }
.luhgo-newslist__item:focus-visible { outline: 3px solid var(--luhgo-kaya); outline-offset: 2px; }
.luhgo-newslist__date { flex: none; font-weight: 600; white-space: nowrap; }
.luhgo-newslist__title { min-width: 0; font-weight: 600; }
.luhgo-newslist__arrow { flex: none; }
@media (max-width: 1024px) { .luhgo-newslist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .luhgo-newslist { grid-template-columns: 1fr; } }

/* ---------- Article grid (page "Go beyond the board") ---------- */
.luhgo-grid__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.luhgo-grid__list > .luhgo-article { display: flex; }
.luhgo-grid__list > .luhgo-article[hidden] { display: none; }
.luhgo-grid__more { margin-top: 2rem; text-align: center; }
.luhgo-grid__none { color: var(--luhgo-muted); }
@media (max-width: 1024px) { .luhgo-grid__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .luhgo-grid__list { grid-template-columns: 1fr; } }

/* Rules page: photo of the real board. */
.luhgo-rules-board { max-width: 420px; margin-inline: auto; }
.luhgo-rules-board img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .45); }

@media (max-width: 1024px) { .luhgo-slider { --luhgo-per-view: 2; } }
@media (max-width: 640px) {
	/* One card + a peek of the next one, so it's obvious you can swipe. */
	.luhgo-slider__track { grid-auto-columns: 85%; }
	.luhgo-slider__nav { display: none; }
}

/* ---------- Pages & posts ---------- */
.luhgo-page { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.luhgo-page__title { margin-bottom: 1.5rem; }
.luhgo-page__title:has(+ .luhgo-page__stamp) { margin-bottom: .4rem; }
.luhgo-page__stamp { margin: 0 0 1.5rem; }
.luhgo-page__image { margin-block: 1.5rem; border-radius: var(--luhgo-radius); overflow: hidden; }
.luhgo-page h2 { margin-top: 2.5rem; }
.luhgo-back { margin: 0 0 1rem; font-size: var(--wp--preset--font-size--small); }
.luhgo-back a { color: var(--luhgo-muted); }
.luhgo-diagram { margin: 1.5rem auto; max-width: 240px; }
.luhgo-diagram .luhgo-board { display: block; width: 100%; height: auto; }

/* ---------- Editor only: which language is a block? ---------- */
/* Every block set to "Nur Deutsch" / "Only English" gets a small DE / EN tag. */
.editor-styles-wrapper .lang-en,
.editor-styles-wrapper .lang-de {
	position: relative;
	outline: 1px dashed rgba(143, 94, 34, .45);
	outline-offset: 3px;
}
.editor-styles-wrapper .lang-en::after,
.editor-styles-wrapper .lang-de::after {
	position: absolute;
	top: -.55rem;
	right: -.3rem;
	z-index: 2;
	padding: .15rem .35rem;
	border-radius: 3px;
	font: 700 .6rem/1 ui-sans-serif, system-ui, sans-serif;
	letter-spacing: .08em;
	color: #fff;
	pointer-events: none;
}
.editor-styles-wrapper .lang-de::after { content: "DE"; background: #8f5e22; }
.editor-styles-wrapper .lang-en::after { content: "EN"; background: #2a5d8f; }
/* Whole-page language boxes (Regeln, Popkultur): a bigger frame. */
.editor-styles-wrapper .wp-block-group.lang-en,
.editor-styles-wrapper .wp-block-group.lang-de {
	padding: 1.5rem 1rem 1rem;
	border-radius: 10px;
	outline-width: 2px;
}

/* Map block in the editor. */
.luhgo-mapblock-editor {
	padding: 1.25rem;
	border: 2px dashed var(--luhgo-kaya);
	border-radius: var(--luhgo-radius);
	background: var(--wp--preset--color--paper-2);
	font-family: ui-sans-serif, system-ui, sans-serif;
}
.luhgo-mapblock-editor__title { margin: 0 0 .75rem; font-weight: 700; }
.luhgo-mapblock-editor__hint { margin: .75rem 0 0; font-size: .85rem; color: var(--luhgo-muted); }

/* ---------- Template pieces (site + editor) ---------- */
.luhgo-highlight {
	padding: clamp(1rem, 3vw, 1.75rem);
	border-left: 6px solid var(--luhgo-kaya);
	border-radius: var(--luhgo-radius);
	background: var(--wp--preset--color--paper-2);
}
.luhgo-highlight > * { margin-block: .35rem; }
.luhgo-mapblock { margin-block: 2rem; }
.luhgo-mapblock__address { margin: 0 0 .75rem; font-weight: 700; }
.luhgo-mapblock .luhgo-map { max-height: 360px; }
.luhgo-page .wp-block-image img,
.luhgo-page .wp-block-gallery img { border-radius: 12px; }
/* "Sie spielten Go" grid (Popkultur): picture + name + short description per person. */
.luhgo-people { margin-top: 1.5rem; gap: 1.25rem; }
.luhgo-person {
	padding: 1rem 1rem 1.25rem;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--luhgo-line);
	border-radius: var(--luhgo-radius);
	text-align: center;
}
.luhgo-person > * { margin-block: .4rem; }
.luhgo-person .wp-block-image img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.luhgo-person__name { margin-top: .75rem; font-size: 1.05rem; }
.luhgo-person p:not(.luhgo-person__name) { color: var(--luhgo-muted); font-size: .9rem; }

/* A picture next to text always fills its column (also placeholders without a fixed size). */
.wp-block-column > .wp-block-image img { width: 100%; height: auto; }

/* ---------- Footer ---------- */
.luhgo-footer {
	background: var(--luhgo-grid), var(--luhgo-ink);
	color: var(--luhgo-paper);
	padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem;
}
.luhgo-footer__inner { text-align: center; }
.luhgo-footer__cta h2 { margin: 0 auto; max-width: 22ch; font-size: var(--wp--preset--font-size--x-large); text-wrap: balance; }
/* Mailing list button: under the footer sentence, bigger than Impressum/Datenschutz. */
.luhgo-footer__mailing { margin: 1.75rem 0 0; }
.luhgo-footer__support { margin: 1.25rem 0 0; font-size: .95rem; opacity: .85; }
.luhgo-footer__support a { color: var(--luhgo-kaya); }
.luhgo-button--light {
	display: inline-block;
	background: var(--luhgo-kaya);
	color: var(--luhgo-ink);
	text-decoration: none;
	font-size: 1.05rem;
	padding: .85rem 1.6rem;
}
.luhgo-button--light:focus-visible { outline: 3px solid var(--luhgo-paper); outline-offset: 3px; }
.luhgo-footer__cta p { margin-top: .5rem; opacity: .85; }
.luhgo-footer__cta a { color: var(--luhgo-kaya); }
.luhgo-footer__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	gap: .75rem;
	margin-top: clamp(2rem, 5vw, 3.5rem);
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: var(--wp--preset--font-size--small);
	opacity: .8;
}
.luhgo-footer__brand { display: inline-flex; align-items: center; gap: .6rem; }
.luhgo-footer__brand .luhgo-brand__mark { width: 34px; }
.luhgo-footer__links { display: flex; gap: 1.25rem; }
.luhgo-footer__links a { color: inherit; }

/* ---------- Mobile ---------- */
@media (max-width: 781px) {
	.luhgo-header__inner { flex-wrap: wrap; }
	.luhgo-nav { order: 3; width: 100%; margin-inline-start: 0; padding-top: .4rem; border-top: 1px solid rgba(255, 255, 255, .1); }
	.luhgo-lang { margin-inline-start: auto; }
	/* Dropdown on phones: full-width panel under the header (not clipped by the scrolling menu row). */
	.luhgo-nav__item { position: static; }
	.luhgo-nav__panel {
		top: 100%;
		left: clamp(1rem, 4vw, 2rem);
		right: clamp(1rem, 4vw, 2rem);
		min-width: 0;
		transform: none;
	}
	.luhgo-nav__panel a { padding: .85rem 1rem; font-size: 1rem; }
	.luhgo-nav { overflow-x: auto; white-space: nowrap; scrollbar-width: none; gap: 1.1rem; }
	.luhgo-nav::-webkit-scrollbar { display: none; }
	.luhgo-brand__mark { width: 46px; }
	.luhgo-brand__line1 { font-size: 1.15rem; }
	.luhgo-brand__line2 { font-size: .8rem; }
	.luhgo-hero__media { max-width: 420px; margin-inline: auto; }
	.luhgo-board--hero { transform: rotateX(10deg) rotateZ(-3deg); }
	.luhgo-card { text-align: left; display: grid; grid-template-columns: 96px 1fr; column-gap: 1rem; align-items: start; }
	.luhgo-card__media { grid-row: span 2; }
	.luhgo-card__media .luhgo-board { margin: 0; }
	.luhgo-card__media.has-photo { margin: 0; }
	.luhgo-card__credit { padding: .15rem .35rem; font-size: .6rem; } /* 96px picture: may wrap to 2 lines */
	.luhgo-card h3 { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}
