/**
 * Wood by anyweb – widget CSS
 *
 * Itt CSAK elrendezés és design-alapvonal van; a tipográfia és a szín
 * felülbírálható az Elementor Stílus füléről (Group_Control_Typography + COLOR).
 */

/* ---- Statisztikák (WV Statisztikák widget) ---- */

.wv-stats {
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px 40px;
}

.wv-stats--cols-2 { grid-template-columns: repeat(2, 1fr); }
.wv-stats--cols-3 { grid-template-columns: repeat(3, 1fr); }
.wv-stats--cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Érték felül, címke alul – mint az eredeti tervezetben. */
.wv-stat {
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
	gap: 6px;
}

.wv-stat-label {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
}

.wv-stat-value {
	margin: 0;
	font-size: 48px;
	font-weight: 900;
	line-height: 1.1;
}

.wv-stat-value--nowrap {
	white-space: nowrap;
}

/* A mértékegység az érték méretéhez arányosan igazodik (em). */
.wv-stat-unit {
	font-size: 0.4em;
	font-weight: 700;
	margin-left: 0.15em;
}

/* Reszponzív: tableten 2 oszlop, mobilon 1 oszlop. */
@media (max-width: 1024px) {
	.wv-stats,
	.wv-stats--cols-2,
	.wv-stats--cols-3,
	.wv-stats--cols-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Mobil (a terv „Számok két oszlopban" blokkja): 2 oszlop, 32px-es szám. */
@media (max-width: 600px) {
	.wv-stats,
	.wv-stats--cols-2,
	.wv-stats--cols-3,
	.wv-stats--cols-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 16px;
	}

	.wv-stats .wv-stat {
		gap: 4px;
	}

	.wv-stats .wv-stat-value {
		font-size: 32px;
		line-height: 1.15;
	}

	.wv-stats .wv-stat-label {
		font-size: 13px;
		line-height: 1.4;
	}
}

/* ---- Szolgáltatások szekciófej + kártyák ([wv_szolgaltatasok] shortcode) ---- */

/* Szekciófej: nagy cím balra, vezető szöveg jobbra (a statikus terv alapján).
   A szürke háttér és a függőleges térköz a befogadó Elementor-konténeren él. */
.wv-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 48px;
	margin-bottom: 48px;
}

.wv-h2 {
	margin: 0;
	font-size: 44px;
	line-height: 1.15;
	font-weight: 900;
	text-transform: uppercase;
}

.wv-section-lead {
	margin: 0;
	max-width: 460px;
}

@media (max-width: 600px) {
	.wv-h2 {
		font-size: 32px;
	}
}

.wv-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.wv-card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	box-shadow: 0 6px 30px #00000006;
}

.wv-card-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 740 / 400;
	object-fit: contain;
}

.wv-card-body {
	flex: 1;
	padding: 8px 24px 24px;
}

.wv-card-title {
	margin: 0 0 8px;
	font-size: 24px;
	line-height: 1.25;
	font-weight: 900;
}

.wv-card-lead {
	margin: 0 0 16px;
	font-size: 16px;
	line-height: 1.6;
}

.wv-card-list {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 15px;
	line-height: 1.45;
}

.wv-card-list li {
	padding-block: 10px;
	border-top: 1px solid #e5e6e1;
}

/* a.wv-card-link: magasabb specificitás (0,1,1), hogy a sablon általános
   `a` / `a:hover` szabályai biztosan NE írják felül – pl. hover-szín, aláhúzás. */
a.wv-card-link {
	display: flex;
	justify-content: space-between;
	padding: 16px 24px;
	border-top: 1px solid #e5e6e1;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	text-decoration: none;
	    color: #41433e;
}

a.wv-card-link:hover,
a.wv-card-link:focus {
	background: #a5b629;
	color: #222b03;
	text-decoration: none;
}

/* Kártyák reszponzív: tableten 2 oszlop, mobilon 1 oszlop. */
@media (max-width: 1024px) {
	.wv-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

/*
 * Mobil (a terv Fooldal-mobil nézete): tömör, fekvő kártya – balra 92×92-es
 * jelvény, mellette cím + rövid leírás, alatta a „Tovább →" sor. A
 * felsorolás mobilon nem látszik (a részletek a szolgáltatás aloldalán).
 * A szabályok .wv-cards alá zárva (0,2,0), hogy az alapnál erősebbek legyenek.
 */
@media (max-width: 600px) {
	.wv-cards {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.wv-cards .wv-card {
		display: grid;
		grid-template-columns: 108px minmax(0, 1fr); /* 16px margó + 92px kép */
		align-items: center;
		column-gap: 14px;
	}

	.wv-cards .wv-card-img {
		width: 92px;
		height: 92px;
		margin: 16px 0 16px 16px;
		aspect-ratio: 1;
		object-fit: cover;
	}

	.wv-cards .wv-card-body {
		padding: 16px 16px 16px 0;
	}

	.wv-cards .wv-card-title {
		margin: 0 0 4px;
		font-size: 20px;
	}

	.wv-cards .wv-card-lead {
		margin: 0;
		font-size: 15px;
		line-height: 1.45;
	}

	.wv-cards .wv-card-list {
		display: none;
	}

	.wv-cards a.wv-card-link {
		grid-column: 1 / -1;
		align-items: center;
		min-height: 48px;
		padding: 0 16px;
	}

	/* Kép nélküli kártya: a szöveg a teljes szélességet kapja. */
	.wv-cards .wv-card:not(:has(> .wv-card-img)) {
		grid-template-columns: minmax(0, 1fr);
	}

	.wv-cards .wv-card:not(:has(> .wv-card-img)) .wv-card-body {
		padding-left: 16px;
	}
}

/* ---- Felsorolás (WV Felsorolás widget) ---- */

/* Alapstílus: a „További szolgáltatások" wv-more-kicker + wv-morelist mintája. */

.wv-list {
	min-width: 0;
}

.wv-list-title {
	margin: 0 0 16px;
	color: #c8d85d;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

.wv-list-items {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 21px;
	line-height: 1.35;
	font-weight: 700;
}

.wv-list-items li {
	padding-block: 16px;
	border-top: 1px solid #ffffff15;
}

.wv-list-items--closed li:last-child {
	border-bottom: 1px solid #ffffff15;
}

/* Mobilon kicsit szűkebb betűméret, hogy a hosszú sorok is elférjenek. */
@media (max-width: 600px) {
	.wv-list-items {
		font-size: 18px;
	}
}

/* ---- Gomb (WV Gomb widget + [wv_szolgaltatas_szekciok] CTA) ---- */

/* Alapstílus: a statikus sablon .wv-btn / .wv-btn-lg gombja. Csomagoló elem
   NEM szükséges hozzá (a szekció-renderelő is használja). A widget kontrolljai egy
   osztállyal mélyebb selectorral írnak felül ({{WRAPPER}} .wv-btn),
   így azok mindig győznek a presetek ellen. */

.wv-btn-wrap {
	text-align: left;
}

.wv-btn {
	display: inline-block;
	cursor: pointer;
	font-family: "Nunito", Arial, sans-serif;
	font-weight: 900;
	line-height: 1.7;
	text-align: center;
	text-decoration: none;
	border: 0;
	appearance: none;
	-webkit-appearance: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wv-btn:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

/* Preset: Lime – nagy CTA (wv-btn-lg a sablonban) */
.wv-btn--lg {
	padding: 17px 25px;
	background: #a5b629;
	color: #222b03;
	font-size: 13px;
	text-transform: uppercase;
}

.wv-btn--lg:hover,
.wv-btn--lg:focus {
	background: #b7c83b;
	color: #222b03;
}

/* Preset: Lime – kompakt (fejléc-telefonszám gomb) */
.wv-btn--compact {
	padding: 12px 20px;
	background: #a5b629;
	color: #222b03;
	font-size: 14px;
	white-space: nowrap;
}

.wv-btn--compact:hover,
.wv-btn--compact:focus {
	background: #b7c83b;
	color: #222b03;
}

/* Preset: Vázolt – kontúr a szekció színével, hoveren lime kitöltés */
.wv-btn--outline {
	padding: 17px 25px;
	background: transparent;
	color: inherit;
	border: 1px solid currentColor;
	font-size: 13px;
	text-transform: uppercase;
}

.wv-btn--outline:hover,
.wv-btn--outline:focus {
	background: #a5b629;
	border-color: #a5b629;
	color: #222b03;
}

/* ---- Szolgáltatás-szekciók ([wv_szolgaltatas_szekciok]) ---- */

/* Közös alapok (.wv-dark). A wv-service / wv-pagenav váz- és szekcióstílusai
   a wood-vill-szolgaltatas.css PÁNCÉLOZOTT fájljában élnek ([wv_szolgaltatas_szekciok]);
   itt csak a Gutenberg blokkstílusok maradtak az Elementorban épített blokkokhoz. */

.wv-dark {
	background: #363833;
	color: #ffffff;
}

.wv-dark a {
	color: inherit;
}




/* ---- Gutenberg tartalom a jobb oszlopban (blokkstílusok + patternek) ---- */

/* Alap térközök a tartalomblokkoknak; az utolsó blokk alsó margója nulla. */
/* Blokkstílus: WV bevezető (core/paragraph) */
p.is-style-wv-lead {
	margin: 0 0 32px;
	font-size: 21px;
	line-height: 1.5;
	font-weight: 700;
}

/* Blokkstílus: WV kicker (core/paragraph) — sötét szekcióban világos lime. */
p.is-style-wv-kicker {
	margin: 0 0 16px;
	color: #56620c;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

.wv-dark p.is-style-wv-kicker {
	color: #c8d85d;
}

/* Blokkstílus: WV alcím (core/heading) */
h2.is-style-wv-h3,
h3.is-style-wv-h3,
h4.is-style-wv-h3 {
	margin: 0 0 10px;
	font-size: 22px;
	line-height: 1.25;
	font-weight: 900;
}

/* Minta: Alcím + szöveg (wv-service-sub group) */
.wv-service-sub {
	border-top: 1px solid #e5e6e1;
	padding-top: 24px;
	margin: 0 0 32px;
}

.wv-service-sub > :last-child {
	margin-bottom: 0;
}

.wv-dark .wv-service-sub {
	border-top-color: #ffffff15;
}

/* Minta: Tényvonal (wv-factline group) */
.wv-factline {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 16px;
	background: #ffffff;
	padding: 16px 20px;
	margin: 0 0 32px;
}

.wv-factline p {
	margin: 0;
}

p.wv-factline-num {
	color: #56620c;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 900;
	white-space: nowrap;
}

p.wv-factline-text {
	font-size: 15px;
	line-height: 1.4;
}

/* Blokkstílus: WV ellenőrzőlista (core/list) */
ul.is-style-wv-checklist {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	column-gap: 30px;
	font-size: 15px;
	line-height: 1.5;
}

ul.is-style-wv-checklist li {
	padding-block: 14px;
	border-top: 1px solid #e5e6e1;
}

/* Blokkstílus: WV felsorolás (core/list) — elválasztóvonalas, vastag */
ul.is-style-wv-morelist {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 21px;
	line-height: 1.35;
	font-weight: 700;
}

ul.is-style-wv-morelist li {
	padding-block: 16px;
	border-top: 1px solid #ffffff15;
}

ul.is-style-wv-morelist li:last-child {
	border-bottom: 1px solid #ffffff15;
}

/* Világos háttérű szekcióban a morelist elválasztói sötétek. */
.wv-service:not(.wv-dark) ul.is-style-wv-morelist li,
.wv-service:not(.wv-dark) ul.is-style-wv-morelist li:last-child {
	border-color: #e5e6e1;
}

/* Reszponzív: szekciók és címek szűkítése mobilon. */
@media (max-width: 600px) {
	ul.is-style-wv-morelist {
		font-size: 18px;
	}
}

/* ---- Űrlap ([wv_urlap]) ---- */

/* A statikus sablon wv-form stílusai. */
.wv-form {
	box-sizing: border-box;
	background: #ffffff;
	padding: 40px;
	color: #41433e;
}

.wv-form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px 30px;
}

.wv-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* „100% – teljes sor" mező: két oszlopos rácsban átível. */
.wv-field--wide {
	grid-column: 1 / -1;
}

.wv-label {
	font-size: 14px;
	font-weight: 700;
}

.wv-req {
	color: #56620c;
}

.wv-input {
	box-sizing: border-box;
	width: 100%;
	height: 48px;
	padding: 12px;
	font: inherit;
	color: #41433e;
	background: #f3f3f3;
	border: 1px solid #73766f;
	border-radius: 0;
}

.wv-input:focus {
	outline: 3px solid #a5b629;
	outline-offset: 0;
	border-color: #56620c;
}

textarea.wv-textarea {
	height: auto;
	resize: vertical;
}

.wv-choice {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	line-height: 1.4;
	cursor: pointer;
}

.wv-choices {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-block: 8px;
}

.wv-form-note {
	margin: 20px 0 24px;
	font-size: 14px;
	line-height: 1.55;
}

.wv-form-note a {
	color: #56620c;
	text-decoration: underline;
}

/* Adatvédelmi pipálás (kötelező checkbox a beküldés előtt). */
.wv-consent {
	margin: 20px 0 24px;
}

.wv-consent__label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14px;
	line-height: 1.55;
	cursor: pointer;
}

.wv-consent__label input[type="checkbox"] {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	accent-color: #a5b629;
	cursor: pointer;
}

.wv-consent__label a {
	color: #56620c;
	text-decoration: underline;
}

/* Hiba- és sikér-üzenetek. */
.wv-form-errors {
	margin-bottom: 24px;
	padding: 14px 18px;
	border-left: 4px solid #b3261e;
	background: #fbeeec;
	font-size: 14px;
	line-height: 1.55;
}

.wv-form-errors ul {
	margin: 6px 0 0;
	padding-left: 20px;
}

.wv-form-ok {
	margin-bottom: 24px;
	padding: 16px 18px;
	border-left: 4px solid #a5b629;
	background: #f7f8f4;
	font-weight: 700;
}

.wv-input--error,
.wv-input--error:focus {
	border-color: #b3261e;
}

.wv-mezohiba {
	margin: 0;
	color: #b3261e;
	font-size: 13px;
	line-height: 1.4;
}

/* Honeypot: képernyőn kívül – csak botok töltik ki. */
.wv-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 600px) {
	.wv-form {
		padding: 24px;
	}

	/* Mobilon teljes szélességű küldés gomb (a terv mobilos gombjai szerint). */
	.wv-urlap .wv-form .wv-btn {
		display: block;
		width: 100%;
		text-align: center;
	}
}

/* ---- Elérhetőségek (WV Elérhetőség widget) ---- */

/* A statikus sablon wv-contact-card stílusa. */
.wv-contacts {
	display: flex;
	flex-direction: column;
	gap: 28px;
	min-width: 0;
}

.wv-contact-card {
	border-top: 2px solid #41433e;
	padding-top: 16px;
	max-width: 360px;
}

.wv-contact-label {
	margin: 0 0 8px;
	color: #56620c;
	font-size: 12px;
	line-height: 1.5;
	font-weight: 900;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

/* a.wv-contact-value: magasabb specificitás, hogy a sablon link-szabályai
   NE írják felül (hover-szín, aláhúzás) – a cards linknél bevált minta. */
a.wv-contact-value,
span.wv-contact-value,
p.wv-contact-value {
	font-size: 22px;
	line-height: 1.3;
	font-weight: 700;
}

/* Galéria megjelenés: fix 3 oszlopos kártyarács (a statikus sablon alapján). */
.wv-contacts.wv-contacts--galeria {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px 30px;
}

.wv-contacts.wv-contacts--galeria .wv-contact-card {
	max-width: none;
}

p.wv-contact-value {
	margin: 0 0 12px;
}

.wv-contact-link {
	margin: 0;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	text-underline-offset: 3px;
}

.wv-contact-link .wv-arrow {
	margin-left: 4px;
}

/* Mobilon a 3 oszlop egymás alá törik. */
@media (max-width: 767px) {
	.wv-contacts.wv-contacts--galeria {
		grid-template-columns: 1fr;
	}
}

a.wv-contact-value {
	text-decoration: none;
}

a.wv-contact-value:hover,
a.wv-contact-value:focus {
	color: #56620c;
}
