/*
 * Farm pages (Hofgenuss, Weihnachtsmarkt): layout of the Elementor containers and widgets that carry a wa-* class,
 * so the page stays editable in Elementor. Elementor containers read their layout from custom properties
 * (--flex-direction, --gap, --padding-*), which these rules set.
 */
.e-con.wa-sec {
	--wa-gold: #c6a65c;
	--wa-cream: #efe7d8;
	--wa-smoke: #a39a8c;
	--wa-wide: 1180px;
	--wa-side: max(20px, calc((100% - var(--wa-wide)) / 2));
	--padding-top: 88px !important;
	--padding-bottom: 88px !important;
	--padding-left: var(--wa-side) !important;
	--padding-right: var(--wa-side) !important;
	--gap: 20px !important;
	--row-gap: 20px !important;
	--column-gap: 20px !important;
	--flex-wrap: nowrap !important;
	--align-content: flex-start !important;
	position: relative;
	background-color: #000;
	color: var(--wa-cream);
	font-family: Philosopher, Georgia, serif;
}

.e-con.wa-sec,
.wa-sec .e-con.e-con {
	padding: var(--padding-top) var(--padding-right) var(--padding-bottom) var(--padding-left) !important;
}

.e-con.wa-sec--warm {
	background-color: #17140f;
}

.wa-sec .elementor-heading-title {
	margin: 0;
	font-family: Philosopher, Georgia, serif !important;
	font-weight: 700 !important;
	line-height: 1.08 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: var(--wa-cream) !important;
	text-wrap: balance;
}

.wa-sec h1.elementor-heading-title {
	font-size: clamp(38px, 9.5vw, 96px) !important;
}

.wa-sec h2.elementor-heading-title {
	font-size: clamp(32px, 5vw, 54px) !important;
}

.wa-sec h3.elementor-heading-title {
	font-size: clamp(22px, 2.4vw, 28px) !important;
}

.wa-sec .elementor-widget-text-editor,
.wa-sec .elementor-widget-text-editor :is(p, li) {
	font-family: Philosopher, Georgia, serif !important;
	font-size: 19px;
	line-height: 1.6;
	color: var(--wa-cream) !important;
}

.wa-sec .elementor-widget-text-editor p {
	margin: 0 0 0.7em;
}

.wa-sec .elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

.wa-sec .elementor-widget-text-editor a {
	color: var(--wa-gold) !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.wa-sec .wa-kicker,
.wa-sec .wa-kicker p {
	font-size: 18px !important;
	color: var(--wa-gold) !important;
}

.wa-sec .wa-lead,
.wa-sec .wa-lead p {
	max-width: 34em;
	font-size: clamp(19px, 2vw, 23px) !important;
	line-height: 1.45 !important;
}

.wa-sec .wa-meta,
.wa-sec .wa-meta p {
	font-size: clamp(19px, 2vw, 22px) !important;
	font-weight: 700;
	color: var(--wa-cream) !important;
}

.wa-sec .wa-note,
.wa-sec .wa-note p {
	font-size: 16px !important;
	color: var(--wa-smoke) !important;
}

.wa-sec .wa-badge {
	width: auto;
}

.wa-sec .wa-badge p {
	display: inline-block;
	margin: 0;
	padding: 6px 14px;
	border: 1px solid var(--wa-gold);
	border-radius: 2px;
	font-size: 17px !important;
	font-weight: 700;
	color: var(--wa-gold) !important;
}

/* Buttons */
.e-con.wa-actions {
	--flex-direction: row !important;
	--flex-wrap: wrap !important;
	--align-items: center !important;
	--gap: 12px !important;
	--row-gap: 12px !important;
	--column-gap: 12px !important;
	--padding-top: 8px !important;
	--padding-bottom: 0px !important;
	--padding-left: 0px !important;
	--padding-right: 0px !important;
	--width: 100% !important;
}

.wa-actions > .elementor-widget-button {
	width: auto;
}

.wa-sec .wa-btn .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 26px !important;
	border: 1px solid var(--wa-gold) !important;
	border-radius: 2px !important;
	background: var(--wa-gold) !important;
	font-family: Philosopher, Georgia, serif !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	line-height: 1.1 !important;
	color: #000 !important;
	fill: #000 !important;
}

.wa-sec .wa-btn--ghost .elementor-button {
	border-color: rgba(239, 231, 216, 0.7) !important;
	background: rgba(0, 0, 0, 0.25) !important;
	color: var(--wa-cream) !important;
}

.wa-sec .wa-btn .elementor-button:is(:hover, :focus-visible) {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.wa-sec .wa-btn .elementor-button:focus-visible {
	outline: 2px solid var(--wa-cream);
	outline-offset: 2px;
}

/* Hero: full-bleed photo, text at the bottom over a dark gradient. */
.e-con.wa-hero {
	--min-height: min(90svh, 880px) !important;
	--justify-content: flex-end !important;
	--align-items: flex-start !important;
	--padding-top: 150px !important;
	--padding-bottom: 64px !important;
	--gap: 14px !important;
	--row-gap: 14px !important;
	overflow: hidden;
}

.e-con.wa-hero::before {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 22%, rgba(0, 0, 0, 0.62) 48%, rgba(0, 0, 0, 0.94) 100%);
	content: "";
	pointer-events: none;
}

.e-con.wa-hero > * {
	position: relative;
	z-index: 1;
	max-width: 820px;
}

/* Text beside photos */
.e-con.wa-split {
	--flex-direction: row !important;
	--flex-wrap: nowrap !important;
	--align-items: center !important;
	--gap: 64px !important;
	--column-gap: 64px !important;
}

.e-con.wa-split--reverse {
	--flex-direction: row-reverse !important;
}

.wa-split > .e-con {
	--width: 50% !important;
	--flex-wrap: nowrap !important;
	--justify-content: center !important;
	--padding-top: 0px !important;
	--padding-bottom: 0px !important;
	--padding-left: 0px !important;
	--padding-right: 0px !important;
	--gap: 18px !important;
	--row-gap: 18px !important;
}

.e-con.wa-media {
	display: grid !important;
	grid-template-columns: 1.6fr 1fr;
	align-items: end;
	gap: 12px;
}

.wa-media > .elementor-widget-image:only-child {
	grid-column: 1 / -1;
}

.wa-media .elementor-widget-image,
.wa-gallery .elementor-widget-image {
	width: 100%;
	margin: 0;
}

.wa-media .elementor-widget-image img,
.wa-gallery .elementor-widget-image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-height: none !important;
	border-radius: 2px;
	object-fit: cover;
}

.wa-media > .elementor-widget-image:first-child img {
	aspect-ratio: 4 / 5;
}

.wa-media > .elementor-widget-image:nth-child(2) img {
	aspect-ratio: 3 / 4;
}

.wa-media > .elementor-widget-image:only-child img {
	aspect-ratio: 4 / 3;
}

/* Menu card (Elementor price list) and plain lists */
.wa-sec .elementor-price-list {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.wa-sec .elementor-price-list > li {
	margin: 0 !important;
	padding: 12px 0 !important;
	border-bottom: 1px solid rgba(198, 166, 92, 0.25);
}

.wa-sec .elementor-price-list-header {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin: 0 !important;
}

.wa-sec .elementor-price-list-title,
.wa-sec .elementor-price-list-price {
	font-family: Philosopher, Georgia, serif !important;
	font-size: 20px !important;
	line-height: 1.35 !important;
}

.wa-sec .elementor-price-list-title {
	font-weight: 400 !important;
	color: var(--wa-cream) !important;
}

.wa-sec .elementor-price-list-separator {
	flex: 1 1 auto;
	min-width: 16px;
	margin: 0 !important;
	border-bottom: 1px dotted rgba(239, 231, 216, 0.35) !important;
}

.wa-sec .elementor-price-list-price {
	font-weight: 700 !important;
	color: var(--wa-gold) !important;
	white-space: nowrap;
}

.wa-sec .elementor-price-list-description {
	margin: 4px 0 0 !important;
	font-family: Philosopher, Georgia, serif !important;
	font-size: 16px !important;
	color: var(--wa-smoke) !important;
}

.wa-sec .wa-list ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wa-sec .wa-list li {
	position: relative;
	padding: 11px 0 11px 26px;
	border-bottom: 1px solid rgba(198, 166, 92, 0.25);
}

.wa-sec .wa-list li::before {
	position: absolute;
	top: 1.15em;
	left: 3px;
	width: 8px;
	height: 8px;
	background: var(--wa-gold);
	content: "";
	transform: rotate(45deg);
}

/* Photo gallery */
.e-con.wa-gallery {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	--padding-top: 8px !important;
	--padding-bottom: 0px !important;
	--padding-left: 0px !important;
	--padding-right: 0px !important;
}

.wa-gallery > .elementor-widget-image img {
	aspect-ratio: 1;
}

.wa-gallery > .elementor-widget-image:first-child {
	grid-column: span 2;
	grid-row: span 2;
}

/* Photo band and closing section: photo with the text centred over a dark veil. */
.e-con.wa-band {
	--min-height: min(70svh, 640px) !important;
	--justify-content: center !important;
	--align-items: center !important;
	text-align: center;
	overflow: hidden;
}

.e-con.wa-band::before {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: rgba(0, 0, 0, 0.55);
	content: "";
	pointer-events: none;
}

.e-con.wa-band > * {
	position: relative;
	z-index: 1;
	max-width: 760px;
}

.e-con.wa-band .wa-actions {
	--justify-content: center !important;
}

/* Dates */
.e-con.wa-dates {
	scroll-margin-top: 110px;
}

.wagyu-site-events {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 10px;
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
	font-family: Philosopher, Georgia, serif;
}

.wagyu-site-events__item {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid rgba(198, 166, 92, 0.4);
	border-radius: 2px;
	background: rgba(0, 0, 0, 0.35);
}

.wagyu-site-events__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 78px;
	padding-right: 14px;
	border-right: 1px solid rgba(198, 166, 92, 0.4);
	color: #c6a65c;
}

.wagyu-site-events__day {
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
}

.wagyu-site-events__month {
	font-size: 14px;
	line-height: 1.4;
}

.wagyu-site-events__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.wagyu-site-events__weekday {
	font-size: 14px;
	color: #a39a8c;
}

.wagyu-site-events__title {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
	color: #efe7d8;
}

.wagyu-site-events__time {
	font-size: 16px;
	color: #c6a65c;
}

.wagyu-site-events__empty {
	color: #a39a8c;
}

@media (max-width: 1024px) {
	.e-con.wa-split {
		--gap: 36px !important;
		--column-gap: 36px !important;
	}
}

@media (max-width: 767px) {
	.e-con.wa-sec {
		--padding-top: 56px !important;
		--padding-bottom: 56px !important;
		--wa-side: 20px;
	}

	.e-con.wa-hero {
		--min-height: 88svh !important;
		--padding-top: 96px !important;
		--padding-bottom: 40px !important;
	}

	.e-con.wa-split,
	.e-con.wa-split--reverse {
		--flex-direction: column !important;
		--align-items: stretch !important;
		--gap: 26px !important;
		--row-gap: 26px !important;
	}

	.wa-split > .e-con {
		--width: 100% !important;
	}

	.wa-actions > .elementor-widget-button {
		flex: 1 1 100%;
	}

	.wa-actions .elementor-button {
		width: 100%;
	}

	.e-con.wa-gallery {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}

	.wa-sec .elementor-widget-text-editor,
	.wa-sec .elementor-widget-text-editor :is(p, li) {
		font-size: 18px;
	}

	.wa-sec .elementor-price-list-title,
	.wa-sec .elementor-price-list-price {
		font-size: 18px !important;
	}

	.wagyu-site-events {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.wa-sec .wa-btn .elementor-button {
		transition: background-color 0.15s ease, color 0.15s ease;
	}
}
