/* =====================================================================
   C-E-S 2026 – A SABLON STÍLUSAI
   =====================================================================

   TARTALOM (keress rá a számra, pl. „/* 5.”)
     1.  Színek, méretek (változók) – ITT érdemes kezdeni minden színváltoztatást
     2.  Alapok: betűk, linkek, képek
     3.  Elrendezés: középre zárt sáv, dobozok, szürke háttér
     4.  Fejléc és főmenü (asztali + mobil)
     5.  Oldalfejléc (kék sáv az oldal címével)
     6.  Gombok
     7.  Címlap szakaszai (nyitó sáv, szürke/fehér szakaszok, CTA)
     8.  Szakterület-kártyák
     9.  Cikkkártyák és cikkrács
     10. Szakterület-címkék és kereső
     11. Cikk- és oldalszöveg
     12. Cikk alja: kapcsolódó cikkek, „Kérdése van?” sáv
     13. Kapcsolati űrlap
     14. Galéria és képnagyító
     15. Lábléc és „tetejére” gomb
     16. Régi tartalmak egységesítése
     17. Mobil és tablet
   ===================================================================== */


/* 1. SZÍNEK, MÉRETEK ================================================== */
:root {
	--kek: #3d77b1;            /* fő szín: fejléc, gombok, linkek */
	--sotetkek: #1f4f82;       /* színátmenetek sötét vége */
	--ejkek: #1f2d3d;          /* lábléc háttér, sötét szöveg */
	--cim-szin: #1f3b5c;       /* címsorok */
	--szoveg-szin: #4a5568;    /* folyószöveg */
	--halvany: #8a97a8;        /* dátumok, megjegyzések */
	--szurke: #f4f6f9;         /* szürke szakaszok háttere */
	--vonal: #e3e8ef;          /* vékony elválasztók, keretek */
	--feher: #ffffff;

	--betu: "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
	--szelesseg: 1180px;       /* a tartalom legnagyobb szélessége */
	--keskeny: 860px;          /* cikkek, sima oldalak szélessége (jól olvasható) */
	--kerekites: 10px;
	--arnyek: 0 6px 24px rgba(20, 50, 90, .08);
	--arnyek-eros: 0 14px 34px rgba(20, 50, 90, .14);
	--fejlec-magassag: 76px;
}


/* 2. ALAPOK =========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--betu);
	font-size: 16px;
	line-height: 1.7;
	color: var(--szoveg-szin);
	background: var(--feher);
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--cim-szin); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
a { color: var(--kek); text-decoration: none; transition: color .15s; }
a:hover { color: var(--sotetkek); text-decoration: underline; }
img { max-width: 100%; height: auto; }
.rejtett { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ugras { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--feher); padding: 8px 14px; border-radius: 6px; }
.ugras:focus { left: 8px; }


/* 3. ELRENDEZÉS ======================================================= */
.kozep { width: 100%; max-width: var(--szelesseg); margin: 0 auto; padding: 0 20px; }
.keskeny { max-width: var(--keskeny); }
.szurke-hatter { background: var(--szurke); padding: 46px 0 60px; }
.doboz {
	background: var(--feher);
	border-radius: var(--kerekites);
	box-shadow: var(--arnyek);
	padding: 40px 48px;
}


/* 4. FEJLÉC ÉS FŐMENÜ ================================================= */
.fejlec {
	position: sticky; top: 0; z-index: 100;
	background: var(--kek);
	box-shadow: 0 2px 12px rgba(0, 0, 0, .15);
}
.admin-bar .fejlec { top: 32px; }
.fejlec-belso { display: flex; align-items: center; gap: 20px; min-height: var(--fejlec-magassag); }
.logo { flex: none; display: block; line-height: 0; }
.logo img { height: 54px; width: auto; }

.fomenu { margin-left: auto; }
.fomenu .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.fomenu li { position: relative; }
.fomenu .menu > li > a {
	display: block; padding: 10px 12px;
	color: rgba(255, 255, 255, .92); font-size: 15px; font-weight: 600;
	text-decoration: none; border-radius: 6px;
}
.fomenu .menu > li > a:hover,
.fomenu .menu > li:focus-within > a { color: var(--feher); background: rgba(255, 255, 255, .12); }
.fomenu .menu > li.current-menu-item > a,
.fomenu .menu > li.current-menu-ancestor > a { color: var(--feher); box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .8); }
/* lenyíló jel az almenüs pontok mellett */
.fomenu .menu-item-has-children > a::after { content: "▾"; font-size: 11px; margin-left: 6px; opacity: .8; }

/* Almenü (lenyíló) */
.fomenu .sub-menu {
	list-style: none; margin: 0; padding: 10px;
	position: absolute; top: 100%; left: 0; min-width: 260px;
	background: var(--feher); border-top: 3px solid var(--kek);
	border-radius: 0 0 var(--kerekites) var(--kerekites);
	box-shadow: 0 12px 30px rgba(20, 50, 90, .18);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .15s, transform .15s, visibility .15s;
}
.fomenu li:hover > .sub-menu,
.fomenu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.fomenu .sub-menu a { display: block; padding: 8px 12px; border-radius: 6px; color: var(--ejkek); font-size: 14px; text-decoration: none; }
.fomenu .sub-menu a:hover { background: var(--szurke); color: var(--kek); }

/* „Kapcsolat” gomb a menüben (menüpont CSS-osztálya: ces-menu-gomb) */
.fomenu .menu > li.ces-menu-gomb > a {
	background: var(--feher); color: var(--sotetkek);
	padding: 9px 18px; border-radius: 999px; margin-left: 8px; box-shadow: none;
}
.fomenu .menu > li.ces-menu-gomb > a:hover { background: var(--szurke); }

/* Mobil menügomb (három vonal) – csak kis képernyőn látszik, lásd 17. */
.menugomb { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.menugomb-vonalak, .menugomb-vonalak::before, .menugomb-vonalak::after {
	position: absolute; left: 10px; width: 24px; height: 2px; background: var(--feher); border-radius: 2px; content: "";
	transition: transform .2s, opacity .2s;
}
.menugomb-vonalak { top: 21px; }
.menugomb-vonalak::before { top: -7px; left: 0; }
.menugomb-vonalak::after { top: 7px; left: 0; }
.menu-nyitva .menugomb-vonalak { background: transparent; }
.menu-nyitva .menugomb-vonalak::before { transform: translateY(7px) rotate(45deg); }
.menu-nyitva .menugomb-vonalak::after { transform: translateY(-7px) rotate(-45deg); }


/* 5. OLDALFEJLÉC ====================================================== */
.oldalfejlec {
	position: relative; overflow: hidden;
	background: linear-gradient(135deg, var(--sotet, var(--sotetkek)), var(--szin, var(--kek)));
	color: var(--feher); padding: 56px 0 48px;
}
.oldalfejlec h1 { color: var(--feher); font-size: 38px; margin: 0; }
.oldalfejlec .felirat { color: rgba(255, 255, 255, .75); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 6px; }
.oldalfejlec .alcim { color: rgba(255, 255, 255, .9); font-size: 18px; max-width: 720px; margin: 10px 0 0; }
.oldalfejlec-ikon {
	position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
	width: 150px; height: 150px; color: rgba(255, 255, 255, .15); stroke-width: 1.5;
}


/* 6. GOMBOK =========================================================== */
.gomb,
.wp-block-button .wp-block-button__link {
	display: inline-block; padding: 12px 26px; border-radius: 999px;
	font-weight: 600; font-size: 16px; line-height: 1.3; text-decoration: none;
	border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s;
}
.gomb:hover, .wp-block-button .wp-block-button__link:hover { text-decoration: none; }
/* Kék gomb – alapértelmezett */
.gomb-kek, .wp-block-button .wp-block-button__link,
.wp-block-button.is-style-ces-kek .wp-block-button__link { background: var(--kek); color: var(--feher); border-color: var(--kek); }
.gomb-kek:hover, .wp-block-button .wp-block-button__link:hover { background: var(--sotetkek); border-color: var(--sotetkek); color: var(--feher); }
/* Fehér gomb – kék háttérre */
.gomb-feher, .wp-block-button.is-style-ces-feher .wp-block-button__link { background: var(--feher); color: var(--sotetkek); border-color: var(--feher); }
.gomb-feher:hover, .wp-block-button.is-style-ces-feher .wp-block-button__link:hover { background: var(--szurke); color: var(--sotetkek); border-color: var(--szurke); }
/* Keretes gomb – kék háttérre */
.wp-block-button.is-style-ces-keret .wp-block-button__link { background: transparent; color: var(--feher); border-color: rgba(255, 255, 255, .7); }
.wp-block-button.is-style-ces-keret .wp-block-button__link:hover { background: rgba(255, 255, 255, .12); color: var(--feher); }


/* 7. CÍMLAP SZAKASZAI =================================================
   A Kezdőlap oldal „Csoport” blokkjai; a CSS-osztályt a blokk
   Haladó → További CSS osztály mezőjében kell megadni. */
.cimlap > .wp-block-group { margin: 0; padding: 80px max(20px, calc((100% - var(--szelesseg)) / 2 + 20px)); }
.cimlap > .wp-block-group > * { max-width: none; }
.szakasz { background: var(--feher); }
.szakasz-szurke { background: var(--szurke); }
.szakasz-kek {
	position: relative; overflow: hidden;
	background: linear-gradient(135deg, #17375c 0%, var(--sotetkek) 45%, var(--kek) 100%);
	padding-top: 110px !important; padding-bottom: 100px !important;
}
.szakasz-kek::after { /* dekor kör a jobb felső sarokban */
	content: ""; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px;
	border-radius: 50%; background: rgba(255, 255, 255, .06); pointer-events: none;
}
.szakasz-kek h1 { color: var(--feher); font-size: 48px; line-height: 1.15; max-width: 760px; }
.szakasz-kek p { color: rgba(255, 255, 255, .88); font-size: 19px; max-width: 760px; }
.szakasz-kek .felirat { color: #cfe0f2; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
.szakasz-kek .wp-block-buttons { margin-top: 28px; gap: 12px; display: flex; flex-wrap: wrap; }

/* Szakaszcím: középre, kék aláhúzással (Csoport osztálya: szakasz-fej) */
.szakasz-fej { text-align: center; margin-bottom: 36px; }
.szakasz-fej h2 { font-size: 32px; margin-bottom: 8px; }
.szakasz-fej h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--kek); margin: 14px auto 0; }
.szakasz-fej p { font-size: 17px; margin: 0 auto; max-width: 720px; }
.balra h2::after { margin-left: 0; }

/* Pipás lista (Lista blokk osztálya: pipas) */
.pipas { list-style: none; padding: 0; margin: 0; }
.pipas li { position: relative; padding: 9px 0 9px 34px; border-bottom: 1px solid #eef1f5; }
.pipas li:last-child { border-bottom: 0; }
.pipas li::before {
	content: "✓"; position: absolute; left: 0; top: 10px; width: 22px; height: 22px; line-height: 22px;
	text-align: center; font-size: 13px; font-weight: 700; color: var(--feher); background: var(--kek); border-radius: 50%;
}
.feher-doboz { background: var(--feher); border-radius: var(--kerekites); box-shadow: var(--arnyek); padding: 30px 32px !important; }

/* „Kérdezze szakértőnket” sáv (Csoport osztálya: szakasz-cta) és a cikkek alján lévő .cta */
.szakasz-cta, .cta {
	display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
	background: linear-gradient(135deg, var(--sotetkek), var(--kek));
	border-radius: 16px; padding: 44px 50px !important; color: var(--feher);
}
.szakasz-cta h2, .cta h2, .szakasz-cta p, .cta p { color: var(--feher); margin: 0; }
.szakasz-cta h2, .cta h2 { font-size: 26px; margin-bottom: 6px; }
.cimlap > .szakasz-cta { margin: 70px max(20px, calc((100% - var(--szelesseg)) / 2 + 20px)); }

/* Partnerlogók (címlap alja) */
.partnerek { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 50px; text-align: center; }
.partnerek img { max-height: 180px; width: auto; }
.partnerek p { margin: 8px 0 0; font-size: 15px; }


/* 8. SZAKTERÜLET-KÁRTYÁK ==============================================
   Adatok (név, szöveg, szín, ikon, kép): inc/szakteruletek.php */
.kartyak { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.kartya {
	display: flex; flex-direction: column;
	background: var(--feher); border-radius: var(--kerekites); box-shadow: var(--arnyek);
	border-top: 4px solid var(--szin); overflow: hidden; color: var(--szoveg-szin);
	transition: transform .2s, box-shadow .2s;
}
.kartya:hover { transform: translateY(-4px); box-shadow: var(--arnyek-eros); text-decoration: none; color: var(--szoveg-szin); }
.kartya-kep { position: relative; display: block; height: 110px; background: var(--szin); }
.kartya-kep img { display: block; width: 100%; height: 110px; object-fit: cover; filter: saturate(.85); transition: filter .2s; }
.kartya:hover .kartya-kep img { filter: saturate(1.1); }
.kartya-ikon { /* színes ikonjelvény a kép alsó szélén */
	position: absolute; left: 20px; bottom: -25px;
	width: 50px; height: 50px; border-radius: 14px; background: var(--szin);
	display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}
.kartya-ikon .ikon { width: 26px; height: 26px; color: var(--feher); }
.kartya-szoveg { display: block; padding: 40px 22px 24px; font-size: 15px; line-height: 1.6; }
.kartya-szoveg strong { display: block; font-size: 19px; color: var(--cim-szin); margin-bottom: 8px; }
.kartya:hover .kartya-szoveg strong { color: var(--szin); }


/* 9. CIKKKÁRTYÁK ÉS CIKKRÁCS ========================================== */
.cikkracs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cikkkartya {
	background: var(--feher); border-radius: var(--kerekites); box-shadow: var(--arnyek);
	overflow: hidden; border-top: 4px solid var(--szin, var(--kek)); transition: transform .2s, box-shadow .2s;
}
.cikkkartya.van-kep { border-top: 0; }
.cikkkartya:hover { transform: translateY(-3px); box-shadow: var(--arnyek-eros); }
.cikkkartya-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.cikkkartya-link:hover { text-decoration: none; color: inherit; }
.cikkkartya-kep img { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.cikkkartya-test { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.cikkkartya-datum { font-size: 13px; color: var(--halvany); }
.cikkkartya-cim { font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--cim-szin); margin: 4px 0 10px; }
.cikkkartya-link:hover .cikkkartya-cim { color: var(--szin, var(--kek)); }
.cikkkartya-kivonat { font-size: 15px; line-height: 1.6; flex: 1; }
.cikkkartya-tovabb { margin-top: 14px; font-weight: 600; color: var(--szin, var(--kek)); font-size: 14px; }

/* Lapozó */
.pagination { margin-top: 40px; text-align: center; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers {
	display: inline-block; min-width: 42px; padding: 8px 14px; border-radius: 999px;
	background: var(--feher); box-shadow: var(--arnyek); font-weight: 600; color: var(--cim-szin);
}
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--kek); color: var(--feher); text-decoration: none; }


/* 10. SZAKTERÜLET-CÍMKÉK ÉS KERESŐ ==================================== */
.cimkesav { background: var(--feher); border-bottom: 1px solid var(--vonal); }
.cimkesav-belso { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.cimkek { display: flex; flex-wrap: wrap; gap: 8px; }
.cimke {
	display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px;
	font-size: 14px; font-weight: 600; color: var(--ejkek); background: var(--szurke); border: 1px solid var(--vonal);
}
.cimke::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--szin); }
.cimke:hover { border-color: var(--szin); color: var(--szin); text-decoration: none; }
.cimke.aktiv { background: var(--szin); border-color: var(--szin); color: var(--feher); }
.cimke.aktiv::before { background: var(--feher); }

.kereso { display: flex; }
.kereso input {
	border: 1px solid var(--vonal); border-right: 0; border-radius: 999px 0 0 999px;
	padding: 9px 16px; font: inherit; font-size: 14px; min-width: 220px;
}
.kereso button {
	border: 0; border-radius: 0 999px 999px 0; background: var(--kek); color: var(--feher);
	padding: 0 18px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}


/* 11. CIKK- ÉS OLDALSZÖVEG ============================================ */
.szoveg { font-size: 17px; line-height: 1.75; }
.szoveg::after { content: ""; display: table; clear: both; }
.szoveg h2 { margin-top: 1.4em; }
.szoveg ul, .szoveg ol { padding-left: 1.3em; }
.szoveg table { border-collapse: collapse; max-width: 100%; height: auto !important; }
.szoveg td, .szoveg th { padding: 6px 8px; border: 0; vertical-align: top; }
.alignleft { float: left; margin: 6px 24px 12px 0; }
.alignright { float: right; margin: 6px 0 12px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--halvany); }

.cikk-fej h1 { font-size: 32px; margin: 6px 0 20px; }
.cikk-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--halvany); margin: 0; }
.cikk-kat { padding: 3px 12px; border-radius: 999px; background: var(--szin); color: var(--feher); font-weight: 600; font-size: 13px; }
.cikk-kat:hover { color: var(--feher); text-decoration: none; opacity: .9; }
.cikk-kep { margin: 0 0 24px; }
.cikk-kep img { border-radius: 8px; width: 100%; }
.szeles { max-width: var(--szelesseg); }


/* 12. CIKK ALJA ======================================================= */
.cikkvege { margin-top: 40px; }
.cikkvege-cim { font-size: 22px; }
.cikkracs.harom { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cikkvege .cikkkartya-kivonat { display: none; } /* a kapcsolódó cikkeknél csak cím és dátum */
.cikkvege .cta { margin-top: 34px; padding: 30px 34px !important; }


/* 13. KAPCSOLATI ŰRLAP ================================================ */
.urlap { background: var(--feher); border-radius: var(--kerekites); box-shadow: var(--arnyek); padding: 32px; }
.urlap label { display: block; font-weight: 600; font-size: 14px; color: var(--cim-szin); margin-bottom: 4px; }
.urlap input[type="text"], .urlap input[type="email"], .urlap input[type="number"], .urlap textarea {
	width: 100%; padding: 11px 14px; font: inherit; font-size: 16px; color: var(--ejkek);
	border: 1px solid var(--vonal); border-radius: 8px; background: var(--feher);
}
.urlap input:focus, .urlap textarea:focus { outline: 2px solid var(--kek); outline-offset: 1px; border-color: var(--kek); }
.urlap-sor.ketto { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.urlap-pipa label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--szoveg-szin); }
.urlap-pipa input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.urlap-also { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.urlap-ell { display: flex; align-items: center; gap: 8px; margin: 0; }
.urlap-ell label { margin: 0; white-space: nowrap; }
.urlap-ell input { width: 76px !important; }
.urlap .kotelezo { color: #c53030; }
.urlap .csapda { position: absolute; left: -9999px; } /* robotcsapda – embernek láthatatlan */
.urlap-uzenet { padding: 12px 16px; border-radius: 8px; font-weight: 600; }
.urlap-uzenet.siker { background: #e6f6ec; color: #1d6b3a; }
.urlap-uzenet.hiba { background: #fdecec; color: #9b1c1c; }
.urlap-megjegyzes { font-size: 14px; color: var(--halvany); margin: 16px 0 0; }

/* Elérhetőség dobozok a Kapcsolat oldalon (Csoport osztálya: info-doboz) */
.info-doboz { background: var(--feher); border-radius: var(--kerekites); box-shadow: var(--arnyek); padding: 22px 24px !important; margin-bottom: 18px; }
.info-doboz h3 { font-size: 17px; margin-bottom: 4px; }
.info-doboz p { margin: 0; font-size: 15px; }


/* 14. GALÉRIA ÉS KÉPNAGYÍTÓ =========================================== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0 !important; }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery br { display: none; }
.gallery-item { margin: 0 !important; width: auto !important; background: var(--feher); border-radius: 8px; overflow: hidden; box-shadow: var(--arnyek); }
.gallery-icon { overflow: hidden; }
.gallery-item img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border: 0 !important; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption { padding: 8px 10px 10px; font-size: 13px; line-height: 1.35; color: var(--ejkek); text-align: left; }
.allo .gallery-item img { aspect-ratio: 3 / 4; } /* álló képekhez: a rövidkód köré csoport „allo” osztállyal */

.nagyito {
	position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center;
	background: rgba(15, 23, 35, .92); padding: 40px 70px;
}
.nagyito.nyitva { display: flex; }
.nagyito figure { margin: 0; text-align: center; }
.nagyito img { max-width: 100%; max-height: 82vh; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.nagyito figcaption { color: #e2e8f0; margin-top: 12px; }
.nagyito button { position: absolute; background: rgba(255, 255, 255, .12); color: var(--feher); border: 0; cursor: pointer; font-size: 34px; line-height: 1; width: 52px; height: 52px; border-radius: 50%; }
.nagyito button:hover { background: rgba(255, 255, 255, .25); }
.nagyito-zar { top: 18px; right: 18px; }
.nagyito-elozo { left: 14px; top: 50%; transform: translateY(-50%); }
.nagyito-kov { right: 14px; top: 50%; transform: translateY(-50%); }


/* 15. LÁBLÉC ÉS „TETEJÉRE” GOMB ======================================= */
.lablec { background: var(--ejkek); color: #cbd5e0; font-size: 15px; }
.lablec-oszlopok { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 60px; padding-bottom: 36px; }
.lablec-cim { color: var(--feher); font-size: 17px; margin-bottom: 14px; }
.lablec a { color: #e2e8f0; }
.lablec a:hover { color: var(--feher); }
.lablec ul { list-style: none; margin: 0; padding: 0; }
.lablec li { padding: 3px 0 3px 14px; position: relative; }
.lablec li::before { content: ""; position: absolute; left: 0; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: #7fa7d1; }
.lablec .ces-lablec-gomb { display: inline-block; background: var(--kek); color: var(--feher); padding: 9px 20px; border-radius: 999px; font-weight: 600; }
.lablec .ces-lablec-gomb:hover { background: var(--sotetkek); text-decoration: none; }
.lablec-also { background: #172331; color: #a0aec0; font-size: 13px; text-align: center; padding: 16px 0; }
.lablec-also a { color: #cbd5e0; text-decoration: underline; }

.tetejere {
	position: fixed; right: 18px; bottom: 22px; z-index: 90;
	width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--kek); color: var(--feher); box-shadow: 0 6px 18px rgba(20, 50, 90, .3);
	display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s, background .15s;
}
.tetejere.lathato { opacity: 1; visibility: visible; }
.tetejere:hover { background: var(--sotetkek); }
.tetejere .ikon { width: 24px; height: 24px; }


/* 16. RÉGI TARTALMAK EGYSÉGESÍTÉSE ====================================
   A régi cikkekbe beégetett betűtípusok, méretek és sorkizárás felülírása. */
.szoveg [style*="font-family"] { font-family: inherit !important; }
.szoveg span[style*="font-size"] { font-size: inherit !important; }
.szoveg [style*="justify"] { text-align: left !important; }


/* 17. MOBIL ÉS TABLET ================================================= */
@media (max-width: 1100px) {
	.kartyak { grid-template-columns: repeat(2, 1fr); }
	.cikkracs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
	/* menü: menügomb + lenyíló panel */
	.menugomb { display: block; }
	.fomenu {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--feher); box-shadow: 0 12px 30px rgba(20, 50, 90, .2);
		max-height: calc(100vh - var(--fejlec-magassag)); overflow-y: auto; padding: 10px 20px 20px;
	}
	.fomenu.nyitva { display: block; }
	.fomenu .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.fomenu .menu > li > a { color: var(--ejkek); padding: 12px 6px; border-bottom: 1px solid var(--vonal); border-radius: 0; }
	.fomenu .menu > li > a:hover { background: none; color: var(--kek); }
	.fomenu .menu > li.current-menu-item > a { box-shadow: none; color: var(--kek); }
	.fomenu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 14px; min-width: 0; }
	.fomenu .menu > li.ces-menu-gomb > a { margin: 14px 0 0; text-align: center; background: var(--kek); color: var(--feher); border: 0; }
	.fomenu .menu-item-has-children > a::after { display: none; }

	.doboz { padding: 26px 22px; }
	.oldalfejlec h1, .szakasz-kek h1 { font-size: 30px; }
	.oldalfejlec-ikon { width: 90px; height: 90px; right: 4%; }
	.cimlap > .wp-block-group { padding-top: 56px; padding-bottom: 56px; }
	.szakasz-kek { padding-top: 70px !important; padding-bottom: 64px !important; }
	.lablec-oszlopok { grid-template-columns: 1fr; gap: 26px; }
	.gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 782px) {
	.admin-bar .fejlec { top: 46px; }
}
@media (max-width: 680px) {
	h2, .szakasz-fej h2 { font-size: 26px; }
	.logo img { height: 44px; }
	.kartyak, .cikkracs, .cikkracs.harom { grid-template-columns: 1fr; }
	.szakasz-kek p { font-size: 17px; }
	.szakasz-cta, .cta { padding: 28px 24px !important; }
	.urlap { padding: 22px 18px; }
	.urlap-sor.ketto { grid-template-columns: 1fr; gap: 0; }
	.urlap-also { justify-content: space-between; }
	.kereso { width: 100%; }
	.kereso input { min-width: 0; flex: 1; }
	.gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.nagyito { padding: 20px 10px; }
	.nagyito-elozo, .nagyito-kov { top: auto; bottom: 14px; transform: none; }
	.alignleft, .alignright { float: none; margin: 0 0 16px; }
}
