/*
Theme Name: Értékre tervezve
Author: Kreatívoldal
Description: Saját téma az ertekretervezve.hu oldalhoz (Mustár kanapé arculat).
Version: 1.0.0
Requires PHP: 8.1
Text Domain: ertekretervezve
*/

:root {
	--krem: #F4EEE0;
	--homok: #EDE5D2;
	--olaj: #3F4A2C;
	--olaj-sotet: #2f3820;
	--mustar: #C9962B;
	--terra: #A34C30; /* AA kontraszt krémen és homokon is (a terv #B5573A-ja 4,1:1 volt) */
	--mustar-szoveg: #9A6F14; /* mustár szövegként világos háttéren (a #C9962B csak díszítésre) */
	--mustar-vilagos: #E0B85A; /* mustár szövegként az olajzöld sávon */
	--bordo: #6E2A2A;
	--tinta: #2A2A1F;
	--halvany: #5e5a48;
	--vonal: #cdbf9f;
	--vonal-2: #d8ccb2;
	--feher: #fff;
	--arnyek: 0 1px 2px rgba(42, 42, 31, .05), 0 10px 28px rgba(42, 42, 31, .08);
	--arnyek-hover: 0 2px 4px rgba(42, 42, 31, .06), 0 18px 40px rgba(42, 42, 31, .13);
	--serif: 'Fraunces', Georgia, serif;
	--sans: 'Work Sans', system-ui, sans-serif;
	--kezi: 'Caveat', 'Segoe Script', cursive; /* a logó „értékre” feliratához legközelebbi kézírás */
	--szel: 1280px;
	--perem: clamp(16px, 4vw, 48px);
	--sav: clamp(64px, 8vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--krem); color: var(--tinta); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--terra); text-decoration: none; }
a:hover { color: var(--olaj); }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--olaj); line-height: 1.15; margin: 0; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--mustar-szoveg); }
p { margin: 0; text-wrap: pretty; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; background: var(--feher); padding: 10px 16px; }

/* --- Elrendezés --- */
.kontener { max-width: var(--szel); margin: 0 auto; padding-left: var(--perem); padding-right: var(--perem); }
.szakasz { padding-top: var(--sav); padding-bottom: 0; }
.szakasz--homok { background: var(--homok); padding-bottom: var(--sav); }
.szakasz--utolso { padding-bottom: var(--sav); }
.felcim { display: block; font-size: 13px; font-weight: 600; color: var(--terra); margin-bottom: 12px; }
.cim-2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; }
.fej { margin-bottom: 40px; }
.racs { display: grid; gap: clamp(16px, 2vw, 28px); }
.racs--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.racs--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }

/* --- Gombok --- */
.gomb { display: inline-block; background: var(--olaj); color: var(--krem); padding: 16px 26px; font-size: 15px; font-weight: 600; line-height: 1.3; border: 0; cursor: pointer; font-family: var(--sans); }
.gomb:hover { background: var(--olaj-sotet); color: var(--krem); }
.gomb--mustar { background: var(--mustar); color: var(--tinta); }
.gomb--mustar:hover { background: #b5861f; color: var(--tinta); }
.alahuzott { display: inline-block; color: var(--tinta); font-size: 15px; font-weight: 500; padding: 4px 0; border-bottom: 2px solid var(--mustar); }
.alahuzott:hover { color: var(--olaj); border-bottom-color: var(--olaj); }

/* --- Kártya (fehér, enyhe árnyék) --- */
.kartya { background: var(--feher); box-shadow: var(--arnyek); }
a.kartya { color: var(--tinta); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
a.kartya:hover { color: var(--tinta); transform: translateY(-4px); box-shadow: var(--arnyek-hover); }
.kartya__kep { position: relative; overflow: hidden; }
.kartya__kep img { width: 100%; height: 100%; object-fit: cover; }
.kartya__test { padding: 22px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.kartya__test h2, .kartya__test h3 { font-size: 23px; line-height: 1.2; }
.kartya__test p { font-size: 15px; line-height: 1.6; }
.kartya__tovabb { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 600; color: var(--terra); }

/* --- Fejléc --- */
.fejlec { position: sticky; top: var(--keret); z-index: 20; } /* Detti 10-29: a menü mindig elérhető */
.fejlec__belso { max-width: var(--szel); margin: 0 auto; padding: 14px var(--perem); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.fejlec__logo img { width: auto; height: 46px; }
.fomenu { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 26px); }
.fomenu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 1.8vw, 26px); }
.fomenu a:not(.gomb) { color: var(--tinta); font-size: 14px; font-weight: 500; }
.fomenu a:not(.gomb):hover, .fomenu a[aria-current] { color: var(--terra); }
.fomenu .gomb { padding: 12px 22px; font-size: 14px; white-space: nowrap; }
.menugomb { display: none; width: 44px; height: 44px; border: 1px solid var(--olaj); background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menugomb span { width: 18px; height: 1.5px; background: var(--olaj); }
@media (max-width: 1099px) {
	.menugomb { display: flex; }
	.fomenu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--krem); border-top: 1px solid var(--vonal-2); border-bottom: 1px solid var(--vonal-2); padding: 8px 20px 24px; max-height: calc(100vh - 100px); overflow-y: auto; flex-direction: column; align-items: stretch; box-shadow: 0 12px 24px rgba(42, 42, 31, .08); }
	.fejlec.nyitva .fomenu { display: flex; }
	.fomenu ul { flex-direction: column; gap: 0; }
	.fomenu li a:not(.gomb) { display: block; padding: 14px 0; border-bottom: 1px solid #e4dac4; font-size: 16px; }
	.fomenu .gomb { margin-top: 12px; text-align: center; padding: 15px 22px; }
	.fejlec__logo img { height: 40px; }
}

/* --- Nyitókép: az előtte-fotó átúszik az utána-fotóba. Detti 10-29: a szöveg nem a képen van, a kép mindenhol fekvő, a csillár kivágva --- */
.nyito { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; padding-top: clamp(28px, 4vw, 64px); padding-bottom: clamp(28px, 4vw, 56px); }
@media (min-width: 900px) { .nyito { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.nyito__kepek { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--homok); box-shadow: var(--arnyek); }
.nyito__kepek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.nyito__kepek .cimke { z-index: 1; top: auto; bottom: 16px; left: auto; right: 16px; }
.nyito .cimke--utana { animation: atuszas 6s ease-in-out infinite; }
.nyito__utana { animation: atuszas 6s ease-in-out infinite, vilagosodas 6s ease-in-out infinite; }
.nyito .cimke--elotte { animation: atuszas-ki 6s ease-in-out infinite; }
@keyframes atuszas { 0%, 12% { opacity: 0; } 30%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes atuszas-ki { 0%, 12% { opacity: 1; } 30%, 90% { opacity: 0; } 100% { opacity: 1; } }
@keyframes vilagosodas { 0%, 30% { filter: none; } 60%, 100% { filter: brightness(1.2) saturate(1.06); } }
@media (prefers-reduced-motion: reduce) { .nyito__utana, .nyito .cimke { animation: none; } .nyito .cimke--elotte { opacity: 0; } }
.nyito__szoveg { display: flex; flex-direction: column; gap: 22px; }
.nyito h1 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.015em; }
.nyito p { font-size: clamp(17px, 1.5vw, 20px); max-width: 520px; }
.hero__gombok { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }

/* --- Négy választható irány a nyitókép alatt --- */
.opciok { display: grid; grid-template-columns: 1fr; gap: clamp(14px, 1.6vw, 22px); padding-top: clamp(20px, 2vw, 28px); padding-bottom: var(--sav); }
.opcio .kartya__kep { aspect-ratio: 4 / 3; }
@media (min-width: 560px) { .opciok { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .opciok { grid-template-columns: repeat(4, 1fr); } }
.opcio__sav { display: block; padding: 14px 20px; font-size: 12px; font-weight: 600; letter-spacing: .12em; line-height: 1.4; background: var(--terra); color: var(--feher); }
/* a csík mindig egy sor: a betű a kártya szélességéhez igazodik (a 4. felirat hosszú) */
@supports (width: 1cqi) {
	.opcio { container-type: inline-size; }
	.opcio__sav { white-space: nowrap; padding-inline: 16px; letter-spacing: .06em; font-size: min(12px, calc((100cqi - 32px) / 20.5)); }
}
.opcio:nth-child(2) .opcio__sav { background: var(--olaj); }
.opcio:nth-child(3) .opcio__sav { background: #D2BFA3; color: var(--tinta); }
.opcio:nth-child(4) .opcio__sav { background: var(--mustar); color: var(--tinta); }
.opcio .kartya__test h2 { font-size: 21px; }
.opcio__ar { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--terra); }

.tag { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--terra); }


/* --- Szolgáltatások --- */
.szolg .kartya__kep { aspect-ratio: 16 / 9; }
.szolg .kartya__test { flex-direction: row; gap: 20px; padding-left: 0; }
.szolg .csik { width: 4px; flex-shrink: 0; background: var(--terra); }
.szolg .kartya__test > div { display: flex; flex-direction: column; gap: 8px; }

/* --- Miért én --- */
.miert { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(40px, 6vw, 96px); align-items: center; }
.miert__szoveg { display: flex; flex-direction: column; gap: 20px; max-width: 520px; }
.miert__szoveg p { font-size: 17px; line-height: 1.7; }
.miert__szoveg .alahuzott { align-self: flex-start; }
.ikonok { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ikonok .kartya { padding: clamp(24px, 3vw, 36px) 20px; display: flex; flex-direction: column; gap: 16px; }
.ikonok span { font-size: 15px; font-weight: 600; line-height: 1.4; }

/* --- Előtte–utána csúszka --- */
.ossze { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--homok); --pos: 50%; }
.ossze img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ossze .ossze__elotte { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ossze__vonal { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--krem); pointer-events: none; }
.ossze__vonal::after { content: '‹ ›'; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--krem); display: flex; align-items: center; justify-content: center; color: var(--olaj); font-size: 15px; box-shadow: 0 2px 10px rgba(42, 42, 31, .25); }
.ossze input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ossze input:focus-visible + .ossze__vonal::after { outline: 2px solid var(--terra); outline-offset: 2px; }
.cimke { position: absolute; top: 16px; font-size: 11px; letter-spacing: .1em; padding: 6px 10px; font-weight: 600; pointer-events: none; }
.cimke--elotte { left: 16px; background: var(--krem); color: var(--tinta); }
.cimke--utana { right: 16px; background: var(--olaj); color: var(--krem); }

.ref-fo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(28px, 4vw, 56px); align-items: center; }
.ref-fo__szoveg { display: flex; flex-direction: column; gap: 20px; }
.ref-fo__szoveg h3 { font-size: clamp(26px, 2.6vw, 34px); }
.ref-fo__szoveg .datum { font-size: 14px; color: var(--halvany); }
.adatok { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.adatok div { background: var(--feher); box-shadow: var(--arnyek); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.adatok span { font-size: 13px; color: var(--halvany); }
.adatok b { font-family: var(--serif); font-weight: 600; font-size: 22px; white-space: nowrap; }
.adatok .profit { background: var(--homok); box-shadow: none; }
.adatok .profit span, .adatok .profit b { color: var(--bordo); font-weight: 600; }

.ref-kis { margin-top: 48px; }
.ref-kartya { display: flex; flex-direction: column; }
.ref-kartya h3 a { color: inherit; }

/* --- Most készül --- */
.folyamat { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 32px; }
.jelveny { background: var(--mustar); color: var(--tinta); font-size: 12px; padding: 6px 12px; font-weight: 600; border-radius: 999px; }
.lepeskepek { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-bottom: 32px; }
.lepeskepek figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.lepeskepek figure > div { aspect-ratio: 4 / 3; overflow: hidden; background: var(--feher); }
.lepeskepek img { width: 100%; height: 100%; object-fit: cover; }
.lepeskepek figcaption { font-size: 14px; font-weight: 500; display: flex; gap: 10px; }
.lepeskepek figcaption b, .lepes__szam { font-family: var(--serif); color: var(--mustar-szoveg); font-weight: 600; }

/* --- Így dolgozom --- */
.lepesek .kartya { padding: 28px 26px 32px; display: flex; flex-direction: column; gap: 14px; }
.lepes__szam { font-size: 48px; line-height: 1; }
.lepesek h3 { font-size: 22px; line-height: 1.3; }
.lepesek p { font-size: 15px; line-height: 1.7; }

/* --- Árlista (szinkronizált minta: táblázat) --- */
.arlista-doboz, .entry .arlista { padding: 8px clamp(20px, 3vw, 36px); }
.arlista table, .entry .arlista table { width: 100%; border-collapse: collapse; }
.wp-block-table.arlista table { border: 0; }
.wp-block-table.arlista tbody td { padding: 22px 0; border: 0; border-bottom: 1px solid var(--vonal-2); vertical-align: baseline; font-size: 15px; line-height: 1.6; }
.wp-block-table.arlista tr:last-child td { border-bottom: 0; }
.arlista td strong { display: block; font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--olaj); margin-bottom: 4px; }
.wp-block-table.arlista tbody td:last-child { text-align: right; white-space: nowrap; padding-left: 24px; font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--terra); }
.arlista figure { margin: 0; }
@media (max-width: 599px) {
	.arlista tr { display: block; padding: 18px 0; border-bottom: 1px solid var(--vonal-2); }
	.arlista tr:last-child { border-bottom: 0; }
	.wp-block-table.arlista tbody td { display: block; padding: 0; border: 0; }
	.wp-block-table.arlista tbody td:last-child { text-align: left; padding: 6px 0 0; }
}

/* --- Bútorbérlés sáv --- */
.berles { background: var(--homok); }
.berles__belso { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.berles__kep { min-height: 340px; position: relative; }
.berles__kep img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.berles__szoveg { padding: clamp(40px, 5vw, 72px) 0 clamp(40px, 5vw, 72px) clamp(24px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.berles__szoveg p { font-family: var(--serif); font-size: clamp(20px, 1.9vw, 26px); line-height: 1.5; color: var(--olaj); }
.berles__szoveg .alahuzott { align-self: flex-start; }

/* --- Rólam --- */
.rolam { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(32px, 6vw, 96px); align-items: center; }
.rolam .foto-hely { max-width: 440px; width: 100%; justify-self: end; }
.rolam__kep img { width: 100%; height: 100%; object-fit: cover; }
.rolam__szoveg { display: flex; flex-direction: column; gap: 22px; max-width: 560px; }
.rolam__szoveg h2 { font-size: clamp(34px, 3.8vw, 52px); }
.rolam__szoveg p { font-size: 17px; line-height: 1.75; }
.rolam__szoveg .motto, .motto { font-family: var(--kezi); font-weight: 600; font-size: clamp(30px, 3vw, 40px); line-height: 1.2; color: var(--terra); transform: rotate(-1.5deg); transform-origin: left; }
.kezi { margin: 0 .1em; font-family: var(--kezi); font-weight: 600; font-style: normal; color: var(--terra); font-size: 1.3em; line-height: .8; display: inline-block; transform: rotate(-4deg) translateY(.04em); }

/* --- Ajánlatkérés sáv + űrlap --- */
.ajanlat { background: var(--olaj); color: var(--krem); position: relative; overflow: hidden; }
.ajanlat__belso { position: relative; z-index: 1; max-width: var(--szel); margin: 0 auto; padding: clamp(64px, 7vw, 104px) var(--perem); display: flex; flex-direction: column; gap: 40px; }
.ajanlat .felcim, .ajanlat h2 em { color: var(--mustar-vilagos); }
.ajanlat h2 { color: var(--krem); font-size: clamp(32px, 3.6vw, 50px); max-width: 680px; }
.ajanlat__bevezeto { max-width: 640px; font-size: 17px; }
.urlap .wpcf7-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px 28px; }
.urlap p { margin: 0; }
.urlap label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.urlap .teljes { grid-column: 1 / -1; }
.urlap input[type=text], .urlap input[type=tel], .urlap input[type=email], .urlap input[type=number], .urlap select, .urlap textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(244, 238, 224, .55); color: inherit; font: inherit; font-size: 16px; padding: 10px 0; border-radius: 0; }
.urlap select option { background: var(--krem); color: var(--tinta); } /* a lenyíló lista ne a sötét sáv színét örökölje */
.urlap textarea { min-height: 100px; resize: vertical; }
.urlap input:not([type=checkbox]):not([type=file]):focus-visible, .urlap select:focus-visible, .urlap textarea:focus-visible { outline: none; border-bottom: 2px solid var(--mustar); margin-bottom: -1px; }
.urlap .feltoltes { border: 1px dashed rgba(244, 238, 224, .55); padding: 22px 24px; }
.urlap .feltoltes small { font-weight: 400; opacity: .85; display: block; }
.urlap .feltoltes__cim { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.urlap .feltoltes label { font-weight: 400; }
.urlap input[type=checkbox]:focus-visible, .urlap input[type=file]:focus-visible { outline: 2px solid var(--mustar-vilagos); outline-offset: 3px; }
.urlap input[type=file] { font: inherit; font-size: 14px; color: inherit; }
.urlap .wpcf7-acceptance label, .urlap .wpcf7-list-item label { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
.urlap .wpcf7-list-item { margin: 0; }
.urlap a { color: var(--mustar-vilagos); text-decoration: underline; }
.urlap .wpcf7-submit { background: var(--mustar); color: var(--tinta); border: 0; padding: 17px 28px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.urlap .wpcf7-submit:hover { background: #b5861f; }
.urlap .wpcf7-not-valid-tip { color: #f3c58a; font-size: 13px; margin-top: 4px; }
.urlap .wpcf7-response-output { grid-column: 1 / -1; margin: 0 !important; padding: 12px 16px !important; border-color: var(--mustar) !important; }
.urlap .wpcf7-spinner { background-color: var(--mustar); }
.urlap .gombsor { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* --- Aloldal --- */
.oldalfej { background: var(--homok); position: relative; overflow: hidden; }
.oldalfej__belso { position: relative; z-index: 1; max-width: var(--szel); margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--perem); display: flex; flex-direction: column; gap: 16px; }
.oldalfej h1 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.08; max-width: 860px; }
.oldalfej p { font-size: clamp(17px, 1.4vw, 19px); max-width: 680px; }
.morzsa { font-size: 13px; font-weight: 600; color: var(--terra); }
.morzsa a { color: var(--terra); }

.entry { min-width: 0; font-size: 17px; line-height: 1.75; }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-size: clamp(26px, 2.8vw, 36px); margin-top: 1.8em; }
.entry h3 { font-size: clamp(21px, 2vw, 26px); margin-top: 1.6em; }
.entry h2 + *, .entry h3 + * { margin-top: .6em; }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry li + li { margin-top: .4em; }
.entry li::marker { color: var(--mustar); }
.entry a:not(.wp-block-button__link) { text-decoration: underline; text-underline-offset: 3px; }
.entry blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--mustar); font-family: var(--serif); font-size: 21px; color: var(--olaj); }
.entry figure { margin-left: 0; margin-right: 0; }
.entry .alignwide { margin-left: 0; margin-right: 0; }
.entry .wp-block-image img, .entry .wp-block-gallery img { width: 100%; }
.entry .wp-block-gallery { gap: 8px; }
.entry figcaption { font-size: 14px; color: var(--halvany); }
.entry .wp-block-button__link { background: var(--olaj); color: var(--krem); border-radius: 0; padding: 16px 26px; font-size: 15px; font-weight: 600; text-decoration: none; }
.entry .wp-block-button__link:hover { background: var(--olaj-sotet); color: var(--krem); }
.entry .is-style-outline .wp-block-button__link { background: transparent; color: var(--olaj); border: 2px solid var(--olaj); }
.entry .doboz, .entry .wp-block-group.is-style-doboz { background: var(--feher); box-shadow: var(--arnyek); padding: clamp(20px, 3vw, 32px); }
.entry .wp-block-table table { border-collapse: collapse; width: 100%; }
.entry .wp-block-table td, .entry .wp-block-table th { border: 0; border-bottom: 1px solid var(--vonal-2); padding: 12px 8px 12px 0; text-align: left; }
.entry .wp-block-table thead { border-bottom: 0; }
.entry .wp-block-table th { font-size: 13px; color: var(--halvany); font-weight: 600; }
.entry .arlista { background: var(--feher); box-shadow: var(--arnyek); }

.ref-lista { max-width: var(--szel); margin: 0 auto; padding: 0 var(--perem) var(--sav); }
.ref-lista .kartya__kep { aspect-ratio: 4 / 3; }

/* --- Sötétzöld-arany keret az oldal körül --- */
body { --keret: clamp(6px, 1vw, 14px); padding: var(--keret); background: var(--olaj-sotet); }
body::after { content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; border: var(--keret) solid var(--olaj-sotet); box-shadow: inset 0 0 0 1px var(--mustar); }
main, .fejlec { background: var(--krem); }

/* --- Lábléc --- */
footer { background: var(--olaj-sotet); color: var(--krem); border-top: 1px solid var(--mustar); }
footer a, .lablec__menu a, .lablec__also a { color: var(--krem); }
footer a:hover { color: var(--mustar-vilagos); }
.lablec__also { color: #cfc8b4; }
.lablec { max-width: var(--szel); margin: 0 auto; padding: 56px var(--perem) 40px; display: flex; flex-direction: column; gap: 40px; }
.lablec__fo { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.lablec__marka { display: flex; flex-direction: column; gap: 14px; max-width: 340px; }
.lablec__marka img { width: 220px; height: auto; }
.lablec__menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 12px 40px; font-size: 14px; font-weight: 500; align-content: start; }
.lablec__also { border-top: 1px solid rgba(201, 150, 43, .45); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.lablec__also nav { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.lablec__suti { background: none; border: 0; padding: 0; font: inherit; color: var(--krem); cursor: pointer; }
.lablec__suti:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) { a.kartya { transition: none; } a.kartya:hover { transform: none; } }
.urlap .hidden-fields-container { display: none; }
.urlap .wpcf7-form > p { display: contents; } /* a CF7 autop egy <p>-be teszi a mezőket – így mind rácselem lesz */
.urlap .wpcf7-form > p > br { display: none; }

/* --- Vissza a tetejére --- */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.fel { border: 0; cursor: pointer; padding: 0; position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 48px; height: 48px; border-radius: 50%; background: var(--olaj); color: var(--krem); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(42, 42, 31, .22); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s, background .2s; }
.fel.lathato { opacity: 1; visibility: visible; transform: none; }
.fel:hover { background: var(--olaj-sotet); color: var(--krem); }
.fel:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

/* --- Feltöltő kártyák (a natív fájlmező rejtve, a label a kattintható felület) --- */
.urlap .feltoltesek { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.urlap .feltoltesek .feltoltes { border: 0; padding: 0; }
.urlap .fajlok { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.urlap .fajlok > p, .urlap .feltoltes > p:not(.feltoltes__cim), .urlap .feltoltesek > p { display: contents; } /* CF7 autop */
.urlap .fajlok br, .urlap .feltoltesek > br { display: none; }
.urlap label.fajl { position: relative; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 128px; padding: 18px 12px; text-align: center; border: 1px dashed rgba(244, 238, 224, .5); cursor: pointer; transition: border-color .2s, background .2s; font-size: 13px; font-weight: 500; }
.urlap label.fajl:hover { border-color: var(--mustar-vilagos); background: rgba(244, 238, 224, .05); }
.urlap label.fajl:focus-within { outline: 2px solid var(--mustar-vilagos); outline-offset: 3px; }
.urlap .fajl input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.urlap .fajl__nev { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 100%; overflow-wrap: anywhere; font-weight: 400; opacity: .9; }
.urlap .fajl__nev::before { content: '+'; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--mustar-vilagos); color: var(--mustar-vilagos); display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; }
.urlap .fajl.van { border-style: solid; border-color: var(--mustar-vilagos); background: rgba(244, 238, 224, .08); }
.urlap .fajl.van .fajl__nev::before { content: '✓'; background: var(--mustar-vilagos); color: var(--olaj); font-size: 16px; }
.urlap .fajl .wpcf7-not-valid-tip { position: static; }
@media (max-width: 760px) {
	.urlap .feltoltesek { grid-template-columns: 1fr; }
	.urlap .fajlok { grid-template-columns: 1fr 1fr; }
}

/* --- Śrī vízjel (a logó jele, maszkként – a színe a background-color) --- */
.oldalfej::after, .ajanlat::after, .aside-kartya::after, .szamblokk tr:last-child::after, .foto-hely::after {
	content: ''; position: absolute; pointer-events: none; aspect-ratio: 1127 / 906;
	-webkit-mask: url(img/jel.svg) center / contain no-repeat; mask: url(img/jel.svg) center / contain no-repeat;
}
.oldalfej::after { right: max(var(--perem), calc((100vw - var(--szel)) / 2 + 48px)); top: 50%; height: 150%; transform: translateY(-46%); background: var(--olaj); opacity: .07; }
.ajanlat::after { right: max(var(--perem), calc((100vw - var(--szel)) / 2 + 48px)); top: clamp(40px, 6vw, 90px); height: clamp(160px, 22vw, 300px); background: var(--krem); opacity: .045; }
@media (max-width: 760px) { .oldalfej::after { height: 90%; right: -20%; } .ajanlat::after { height: 150px; top: 32px; } }

/* --- Aloldal: szöveg a logó vonalában, jobbra kártya a gomb széléig --- */
.oldal-racs { max-width: var(--szel); margin: 0 auto; padding: var(--sav) var(--perem); display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.oldal-racs--egy { grid-template-columns: minmax(0, 860px); }
.oldal-aside { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; }
.aside-kartya { position: relative; overflow: hidden; padding: 30px 28px 32px; display: flex; flex-direction: column; gap: 14px; }
.aside-kartya::after { right: -36px; bottom: -28px; height: 150px; background: var(--mustar); opacity: .13; }
.aside-kartya .tag { position: relative; }
.aside-kartya h2 { font-size: 24px; line-height: 1.2; position: relative; }
.aside-kartya p { font-size: 15px; line-height: 1.6; position: relative; }
.aside-kartya .gomb { align-self: flex-start; position: relative; }
.aside-kartya small { font-size: 13px; color: var(--halvany); position: relative; }
.foto-hely { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--homok); }
.foto-hely img { width: 100%; height: 100%; object-fit: cover; }
.foto-hely:empty::after { inset: 18%; background: var(--olaj); opacity: .12; }
@media (max-width: 960px) { .oldal-racs { grid-template-columns: minmax(0, 1fr); } .oldal-aside { position: static; } .foto-hely { max-width: 420px; } }

/* --- Teljes szélességű rész a „Tovább” (more) blokk után: csomagok, galéria --- */
.oldal-szeles { max-width: var(--szel); margin: 0 auto; padding: 0 var(--perem) var(--sav); }
.oldal-racs:has(+ .oldal-szeles) { padding-bottom: clamp(32px, 4vw, 56px); }
.oldal-szeles h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 20px; }
.oldal-szeles > * + h2 { margin-top: var(--sav); }
.csomagok { background: var(--feher); box-shadow: var(--arnyek); padding: clamp(20px, 3vw, 40px); }
.csomagok h3 { font-size: 22px; line-height: 1.25; }
.csomagok .wp-block-columns { display: grid; gap: clamp(20px, 3vw, 40px); margin: 0; }
@media (min-width: 782px) { .csomagok .wp-block-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.csomagok .wp-block-column { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.6; }
.csomagok .wp-block-column + .wp-block-column { border-left: 1px solid var(--vonal-2); padding-left: clamp(20px, 3vw, 40px); }
@media (max-width: 781px) { .csomagok .wp-block-column + .wp-block-column { border-left: 0; padding-left: 0; border-top: 1px solid var(--vonal-2); padding-top: 24px; } }
.csomagok ul { margin: 0; padding-left: 1.1em; }
.csomagok li::marker { color: var(--mustar); }
.csomagok ul.plusz { list-style: none; padding-left: 0; }
.csomagok p, .csomagok ul { margin: 0; }
.csomag__ar { margin-top: auto !important; padding-top: 12px; font-family: var(--serif); font-weight: 600; font-size: 24px; color: var(--terra); }
.csomag-felmeres { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: end; padding-bottom: clamp(20px, 3vw, 32px); margin-bottom: clamp(20px, 3vw, 32px) !important; border-bottom: 1px solid var(--vonal-2); }
.csomag-felmeres > * { margin: 0; }
.csomag-felmeres .csomag__ar { grid-row: 1 / span 2; grid-column: 2; padding: 0; }
@media (max-width: 600px) { .csomag-felmeres { grid-template-columns: 1fr; } .csomag-felmeres .csomag__ar { grid-row: auto; grid-column: auto; } }
.oldal-szeles .wp-block-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 10px; }
@media (min-width: 900px) { .oldal-szeles .wp-block-gallery.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .oldal-szeles .wp-block-gallery.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.oldal-szeles .wp-block-gallery figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.oldal-szeles .wp-block-gallery a { display: block; height: 100%; }
.oldal-szeles .wp-block-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.oldal-szeles .wp-block-gallery a:hover img { transform: scale(1.03); }
.wp-block-gallery a { cursor: zoom-in; }
.nagyito { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; cursor: zoom-out; }
.nagyito::backdrop { background: rgba(31, 37, 21, .9); }
.nagyito img { max-width: 94vw; max-height: 92vh; width: auto; height: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.nagyito button { position: absolute; top: -44px; right: 0; width: 40px; height: 40px; border: 0; background: none; color: var(--krem); font-size: 34px; line-height: 1; cursor: pointer; }

/* --- Nagy kezdőbetű az első bekezdésen --- */
.entry > p:first-of-type::first-letter, .nagykezdo::first-letter {
	float: left; font-family: var(--serif); font-weight: 600; font-size: 4.1em; line-height: .82; padding: .06em .12em 0 0; color: var(--terra);
}

/* --- Referencia-számblokkok (a szerkesztőben sima táblázat: címke | érték; az utolsó sor a kiemelt eredmény) --- */
.entry .wp-block-table.szamblokk { margin-top: 1.4em; }
.entry .szamblokk table { display: block; border: 0; }
.entry .szamblokk tbody { display: flex; flex-wrap: wrap; gap: 14px; }
.entry .szamblokk tr { flex: 1 1 200px; position: relative; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; background: var(--feher); box-shadow: var(--arnyek); padding: 24px 24px 22px; border-top: 3px solid var(--mustar); overflow: hidden; }
.entry .wp-block-table.szamblokk td { border: 0; padding: 0; font-size: 13px; line-height: 1.45; color: var(--halvany); font-weight: 500; letter-spacing: .02em; }
.entry .wp-block-table.szamblokk td:last-child { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.05; letter-spacing: -.01em; color: var(--olaj); }
.entry .szamblokk td strong { font-weight: inherit; }
.entry .szamblokk tr:last-child { flex-basis: 100%; background: var(--olaj); border-top-color: var(--mustar-vilagos); padding: 30px 32px 30px; }
.entry .wp-block-table.szamblokk tr:last-child td { color: var(--krem); font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }
.entry .wp-block-table.szamblokk tr:last-child td:last-child { color: var(--mustar-vilagos); font-size: clamp(40px, 5vw, 64px); text-transform: none; letter-spacing: -.015em; }
.entry .szamblokk tr:last-child::after { right: 24px; top: 50%; height: 120%; transform: translateY(-50%); background: var(--krem); opacity: .07; }
.entry .szamblokk figcaption, .entry .szamblokk .wp-element-caption { margin-top: 14px; font-size: 14px; color: var(--halvany); }
@media (max-width: 800px) { .rolam .foto-hely { justify-self: start; } }
.urlap fieldset.feltoltes { margin: 0; min-width: 0; display: flex; flex-direction: column; }
.urlap fieldset.feltoltes .fajlok { margin-top: auto; } /* a fotók és az alaprajz kártyái egy vonalban, eltérő hosszú leírás mellett is */
.urlap legend.feltoltes__cim { padding: 0; float: left; width: 100%; }
.urlap legend.feltoltes__cim + * { clear: both; }
.urlap .fajl__valasztott { display: block; max-width: 100%; overflow-wrap: anywhere; font-size: 12px; font-weight: 400; opacity: .9; }
.urlap .fajl.van .fajl__nev::before { content: '✓'; background: var(--mustar-vilagos); color: var(--olaj); font-size: 16px; }
.urlap input[type=text], .urlap input[type=tel], .urlap input[type=email], .urlap input[type=number], .urlap select { height: 47px; } /* a select line-height nélkül alacsonyabb lenne, és elcsúszna a vonal */

/* --- Detti 10-29 --- */
[id] { scroll-margin-top: 96px; } /* a ragadós fejléc ne takarja a horgonyt */
.lepes-kartyak { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2vw, 28px); margin-bottom: 32px; }
.entry .lepes-kartyak .kartya { margin: 0; padding: 28px 26px 32px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.7; }
.entry .lepes-kartyak .kartya > * { margin: 0; }
.entry .lepes-kartyak h3 { font-size: 22px; line-height: 1.3; }
.lepes-kartyak .lepes__szam { font-size: 48px; line-height: 1; }
.adatok:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* 4 kocka: 2×2, ne lógjon egy */
/* Lali 10-29: a hosszú bemutatkozás mellett a fotó nagyobb, és görgetéskor velünk jön */
@media (min-width: 900px) {
	.rolam { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
	.rolam .foto-hely { position: sticky; top: 110px; max-width: 580px; }
}
.oldal-racs:has(+ .ref-lista) { padding-bottom: clamp(28px, 3vw, 44px); } /* Lali 10-29: a bevezető és a lista közt ne legyen nagy rés */
/* Lali 10-29: lapozás a nagyítóban */
.nagyito .nagyito__elozo, .nagyito .nagyito__kov { position: fixed; top: 50%; right: auto; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; background: rgba(244, 238, 224, .14); font-size: 34px; line-height: 1; padding-bottom: 4px; }
.nagyito .nagyito__elozo { left: max(8px, 2vw); }
.nagyito .nagyito__kov { right: max(8px, 2vw); left: auto; }
.nagyito .nagyito__elozo:hover, .nagyito .nagyito__kov:hover { background: rgba(244, 238, 224, .28); }
.nagyito.egy .nagyito__elozo, .nagyito.egy .nagyito__kov { display: none; }
/* Lali 10-29: a 3 lépés egy fehér panelen, soronként (a kártyákban a rövid szöveg alatt nagy üres fehér maradt) */
.lepes-kartyak { display: block; background: var(--feher); box-shadow: var(--arnyek); padding: 0 clamp(20px, 3vw, 40px); }
.entry .lepes-kartyak .kartya { background: none; box-shadow: none; padding: clamp(22px, 3vw, 32px) 0; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 24px; align-items: baseline; }
.entry .lepes-kartyak .kartya > p + p { margin-top: 10px; } /* sorköz nem a rácsban: a span-9 üres sorai is megkapnák */
@media (max-width: 899px) { .entry .lepes-kartyak .kartya > h3 + p { margin-top: 8px; } }
.entry .lepes-kartyak .kartya + .kartya { border-top: 1px solid var(--vonal-2); }
.entry .lepes-kartyak .lepes__szam { grid-row: 1 / span 9; font-size: 44px; }
@media (min-width: 900px) {
	.entry .lepes-kartyak .kartya { grid-template-columns: 72px minmax(0, 300px) minmax(0, 1fr); }
	.entry .lepes-kartyak h3 { grid-row: 1 / span 9; }
}
.berles + .ajanlat { margin-top: var(--sav); } /* Lali 10-29: két színes sáv ne érjen össze; minden más blokk alatt eleve ennyi a térköz */
/* Lali 10-29: a csomagok soronként (név | tartalom | ár), mint a felmérés sora – 3 oszlopban a hosszú 3. csomag miatt nagy üres fehér maradt */
@media (min-width: 782px) {
	.csomagok .wp-block-columns { display: block; }
	.csomagok .csomag-felmeres, .csomagok .wp-block-column { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr) minmax(150px, auto); column-gap: clamp(24px, 3vw, 48px); row-gap: 0; align-items: start; }
	.csomagok .wp-block-column { padding: clamp(22px, 3vw, 32px) 0; }
	.csomagok .wp-block-column:last-child { padding-bottom: 0; }
	.csomagok .wp-block-column + .wp-block-column { border-left: 0; padding-left: 0; border-top: 1px solid var(--vonal-2); }
	.csomagok .csomag-felmeres > *, .csomagok .wp-block-column > * { grid-column: 2; }
	.csomagok .csomag-felmeres > h3, .csomagok .wp-block-column > h3 { grid-column: 1; grid-row: 1 / span 20; } /* a span 20 miatt nincs sorköz: a bekezdések margóval tagolnak */
	.csomagok .csomag-felmeres > .csomag__ar, .csomagok .wp-block-column > .csomag__ar { grid-column: 3; grid-row: 1 / span 20; margin-top: 0 !important; padding-top: 0; text-align: right; font-size: 22px; line-height: 1.3; }
	.csomagok .wp-block-column > :not(h3):not(.csomag__ar) ~ :not(.csomag__ar) { margin-top: 10px; }
	.csomagok .csomag-felmeres > h3, .csomagok .wp-block-column > h3 { margin: 0 !important; }
	.csomagok .csomag-felmeres { font-size: 15px; line-height: 1.6; }
}

/* --- Detti 11-03 --- */
/* Nyitókép: nagyobb, és nincs levágva a teteje (a fotó maga 4:3, a lámpa a képről lekerült). Mobilon kifut a széléig. */
@media (min-width: 900px) { .nyito { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.nyito__kepek { aspect-ratio: 4 / 3; }
.nyito__kepek img { object-position: center; }
@media (max-width: 899px) { .nyito__kepek { margin-inline: calc(-1 * var(--perem)); box-shadow: none; } }
/* „Bernadett” szabályos dőlt betűvel, pirossal */
.kezi { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1em; line-height: inherit; margin: 0; transform: none; display: inline; }
/* Ajánlatkérés cím aranyban */
.ajanlat h2 { color: var(--mustar-vilagos); }
/* Számkockák: félkövér címkék (Detti 11-04: a haszon maradjon homok alapon, bordó betűvel) */
.adatok span { font-weight: 600; color: var(--tinta); }
.ref-kartya .adatok { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.ref-kartya .adatok div { padding: 12px 10px; }
.ref-kartya .adatok span { font-size: 12px; line-height: 1.3; }
.ref-kartya .adatok b { font-size: 18px; white-space: normal; }
/* Csúszka: a képre kattintva a referenciára visz, húzni a középső fogantyúval lehet */
.ossze__link { position: absolute; inset: 0; cursor: pointer; }
.ossze input { pointer-events: none; -webkit-appearance: none; appearance: none; background: transparent; }
.ossze input::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.ossze input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 56px; height: 100%; min-height: 200px; cursor: ew-resize; background: transparent; border: 0; }
.ossze input::-moz-range-track { height: 100%; background: transparent; }
.ossze input::-moz-range-thumb { pointer-events: auto; width: 56px; height: 100%; cursor: ew-resize; background: transparent; border: 0; }
/* Felkészítés oldal: az első mondat nagy, színes kiemelés */
.oldalfej .oldalfej__kiemelt { font-family: var(--serif); font-weight: 600; color: var(--olaj); font-size: clamp(26px, 3vw, 40px); line-height: 1.15; max-width: 860px; text-wrap: balance; }
.oldalfej__kiemelt em { font-style: italic; color: var(--mustar-szoveg); }
/* Mobilon kép a hosszú szöveg előtt */
.mobil-kep { padding-top: clamp(24px, 5vw, 40px); }
.mobil-kep > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 961px) { .mobil-kep { display: none; } }
@media (max-width: 960px) { .mobil-kep + .oldal-racs { padding-top: clamp(28px, 6vw, 48px); } }

/* --- Detti 11-04 --- */
body { --keret: clamp(5px, .7vw, 10px); } /* vékonyabb külső keret */
.oldalfej__szoveg { display: flex; flex-direction: column; gap: 16px; }
/* Nyitókép: nagyobb ELŐTTE/UTÁNA címke; asztalin akkora, hogy alatta látsszon a 4 lehetőség csíkja */
.nyito__kepek .cimke { font-size: 13px; padding: 8px 14px; }
.nyito__gomb { display: none; }
.nyito { padding-bottom: clamp(20px, 2vw, 28px); }
.opciok { padding-top: 0; padding-bottom: 0; } /* a referenciákig fele akkora a szünet */
@media (min-width: 900px) {
	.nyito { grid-template-columns: minmax(0, 1fr) min(60%, calc((100svh - 230px) * 4 / 3)); padding-top: clamp(20px, 2.5vw, 36px); }
	.nyito h1 { font-size: clamp(38px, 4vw, 56px); }
}
/* Mobil: a kép keretben, akkora, mint az alatta lévő kártyák; a gomb a képen */
@media (max-width: 899px) {
	.nyito { gap: 20px; }
	.nyito__kepek { margin-inline: 0; box-shadow: var(--arnyek); }
	.nyito .hero__gombok { display: none; }
	.nyito__kepek .cimke { bottom: auto; top: 12px; right: 12px; }
	.nyito__gomb { display: block; position: absolute; z-index: 2; left: 12px; bottom: 12px; padding: 12px 16px; font-size: 14px; }
}
.felcim--nagy { font-size: 17px; }
@media (min-width: 900px) { .rolam .foto-hely { max-width: 460px; } }
.ref-kartya .adatok:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lablec__eler { display: flex; flex-wrap: wrap; gap: 4px 18px; }
/* Aloldal: asztalin is kép a fejlécben, ne csak szöveg fogadjon */
.asztali-kep { display: none; }
@media (min-width: 961px) {
	.oldalfej__belso--kep { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 4vw, 64px); align-items: center; }
	.asztali-kep { display: block; box-shadow: var(--arnyek); }
	.asztali-kep > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
}

/* --- Detti 11-04 este --- */
/* Főoldal asztalin: a nyitókép közvetlenül a menü alatt, kicsit kisebb, így a 4 lehetőség képeiből is több látszik */
@media (min-width: 900px) {
	.nyito { grid-template-columns: minmax(0, 1fr) min(60%, calc((100svh - 300px) * 4 / 3)); padding-top: 12px; }
}
/* Főoldal, Miért én: a „Bővebben rólam” kattintásra nyitja a zárómondatot */
.bovebben summary { cursor: pointer; list-style: none; }
.bovebben summary::-webkit-details-marker { display: none; }
.bovebben[open] summary { display: none; }
.bovebben > * + * { margin-top: 22px; }
/* Rólam, Referenciák (mobilon is): fele akkora szünet a szöveg fölött */
.page-id-44 .oldal-racs, .page-id-38 .oldal-racs { padding-top: calc(var(--sav) / 2); }
/* Lakberendezés, Felkészítés asztalin: fele akkora sávok a fejléckép körül és a szöveg fölött */
@media (min-width: 961px) {
	.page-id-35 .oldalfej__belso { padding-block: clamp(24px, 3vw, 44px); }
	.page-id-35 .oldal-racs, .page-id-34 .oldal-racs { padding-top: calc(var(--sav) / 2); }
}
/* Felkészítés: a „Most készül” fölött fele akkora az üres sáv (előtte már ott a galéria alsó térköze) */
.szakasz:has(#most-keszul) { padding-top: 0; }
/* Detti 11-06: a tartalom első címsora ne kapjon felső margót (Rólam: „Üdvözöllek” egy vonalban a fotóval) */
.entry > h2:first-child { margin-top: 0; }

/* --- 11-06: szerkeszthető szakaszok (blokkok a téma osztályaival; a régi span/div helyén bekezdés és ábra) --- */
section.wp-block-group figure { margin: 0; }
.link-alahuzott a, .bovebben > summary { display: inline-block; color: var(--tinta); font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1.65; padding: 4px 0; border-bottom: 2px solid var(--mustar); }
.link-alahuzott a:hover, .bovebben > summary:hover { color: var(--olaj); border-bottom-color: var(--olaj); }
.osszes-ref { margin-top: 32px; }
/* kattintható kártya: a „Megnézem →” link az egész kártyát lefedi */
.kartya--link { position: relative; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.kartya--link:hover { transform: translateY(-4px); box-shadow: var(--arnyek-hover); }
.kartya--link .kartya__tovabb a { color: inherit; }
.kartya--link .kartya__tovabb a::after { content: ""; position: absolute; inset: 0; }
@media (prefers-reduced-motion: reduce) { .kartya--link { transition: none; } .kartya--link:hover { transform: none; } }
p.felcim { font-family: var(--sans); font-size: 13px; line-height: 1.65; color: var(--terra); }
p.felcim.felcim--nagy { font-size: 17px; }
p.lepes__szam { font-size: 48px; line-height: 1; }
.nyito__kepek figure { position: absolute; inset: 0; }
.lepeskepek figure img { aspect-ratio: 4 / 3; height: auto; }
.lepeskepek figcaption { margin: 0; }
.lepeskepek figcaption strong { font-family: var(--serif); color: var(--mustar-szoveg); font-weight: 600; }
.racs--fent { align-items: start; }
.folyamat__szoveg { font-size: 16px; line-height: 1.7; }
.adatok div > p:first-child { font-size: 13px; font-weight: 600; color: var(--tinta); }
.adatok strong { font-family: var(--serif); font-weight: 600; font-size: 22px; white-space: nowrap; }
.adatok .profit p { color: var(--bordo); font-weight: 600; }
.aside-kartya p.tag { font-size: 12px; line-height: 1.65; }
.aside-kartya p.aside-kis { font-size: 13px; line-height: 1.65; color: var(--halvany); }
/* a WP galéria-stílusa (#id-s szabály) a téma rácsában ne szabja meg a kép szélességét */
.oldal-szeles .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: auto; margin: 0; }
.aside-kartya .aside-gombok { position: relative; align-self: flex-start; }
