/* ---------- Betűk (saját tárhelyről, Archivo, SIL OFL) ---------- */
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Archivo";
	font-style: italic;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("../fonts/archivo-latin-ext-wdth-italic.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Archivo";
	font-style: italic;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("../fonts/archivo-latin-wdth-italic.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokenek ---------- */
:root {
	--piros: #E83A1A;
	--melypiros: #C02C0F;
	--grafit: #262A29;
	--beton: #E8E9E4;
	--beton-sotet: #D3D5CE;
	--acel: #5C6360;
	--feher: #FFFFFF;

	--betu: "Archivo", "Arial Narrow", Arial, sans-serif;
	--keskeny: 62%;
	--felkeskeny: 78%;

	--meret-kicsi: 0.875rem;  /* 14 */
	--meret-alap: 1.0625rem;  /* 17 */
	--meret-h3: 1.3125rem;    /* 21 */
	--meret-h2: 1.75rem;      /* 28 */
	--meret-h1: clamp(2.125rem, 1.5rem + 2.4vw, 3.25rem); /* 34–52 */

	--szel: 1240px;
	--aside: 300px;
	--res: clamp(1rem, 0.5rem + 2vw, 2.5rem);
}

/* ---------- Alap ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--feher);
	color: var(--grafit);
	font-family: var(--betu);
	font-size: var(--meret-alap);
	line-height: 1.6;
	font-stretch: 100%;
	font-weight: 400;
	text-rendering: optimizeLegibility;
}

img, video, iframe { max-width: 100%; }
img { height: auto; border: 0; }

a { color: var(--melypiros); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--grafit); }

:focus-visible { outline: 3px solid var(--piros); outline-offset: 2px; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--betu);
	font-stretch: var(--keskeny);
	font-weight: 760;
	line-height: 1.08;
	letter-spacing: 0;
	color: var(--grafit);
	margin: 1.6em 0 0.5em;
}
h1 { font-size: var(--meret-h1); }
h2 { font-size: var(--meret-h2); }
h3 { font-size: var(--meret-h3); }
h4, h5, h6 { font-size: var(--meret-alap); }

p { margin: 0 0 1em; }

strong, b { font-weight: 650; }

hr { border: 0; border-top: 1px solid var(--beton-sotet); margin: 2rem 0; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 1rem; top: -4rem;
	z-index: 1000;
	background: var(--grafit);
	color: var(--feher);
	padding: 0.6rem 1rem;
	text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--feher); }

/* ---------- Fejléc ---------- */
.site-header {
	background: var(--feher);
	border-bottom: 6px solid var(--piros);
	position: relative;
	z-index: 50;
}
.site-header__inner {
	max-width: var(--szel);
	margin: 0 auto;
	padding: 0.75rem var(--res);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.site-logo { display: block; flex: none; line-height: 0; }
.site-logo__img { width: auto; height: 100px; }

.site-nav__list,
.site-nav > div > ul,
.site-nav .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.25rem 1.75rem;
}
.site-nav a {
	display: block;
	padding: 0.5rem 0 0.4rem;
	color: var(--grafit);
	text-decoration: none;
	font-stretch: var(--felkeskeny);
	font-weight: 600;
	font-size: 1.0625rem;
	border-bottom: 3px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--beton-sotet); color: var(--grafit); }
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a,
.site-nav .current-menu-ancestor > a,
.site-nav .current_page_ancestor > a,
.site-nav .current_page_parent > a {
	border-bottom-color: var(--piros);
}

.nav-toggle { display: none; }

/* ---------- Slider / térkép / kép sáv ---------- */
.slider-band { background: var(--grafit); }
.slider-band__inner { max-width: var(--szel); margin: 0 auto; }
.slider-band sr7-module,
.slider-band rs-module-wrap { margin: 0 auto; }

.map-band { background: var(--beton); line-height: 0; }
.map-band iframe { display: block; width: 100%; height: 400px; }

.img-band { background: var(--grafit); text-align: center; line-height: 0; }
.img-band img { max-height: 420px; width: auto; }

/* ---------- Tartalom és oldalsáv ---------- */
.site-body {
	max-width: var(--szel);
	margin: 0 auto;
	padding: clamp(1.5rem, 1rem + 2vw, 3rem) var(--res) 4rem;
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--aside);
	gap: clamp(2rem, 1rem + 3vw, 4rem);
	align-items: start;
}
.site-main { min-width: 0; }

.entry-title { margin-top: 0; }
.site-main > .entry-title { margin-bottom: 1.25rem; }

.entry-content { max-width: 70ch; }
.entry-content:has(table),
.entry-content:has(.gallery) { max-width: none; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h3 { margin-top: 1.8em; }
.entry-content ul, .entry-content ol { padding-left: 1.25em; }
.entry-content li { margin-bottom: 0.3em; }

.entry-date,
.news-item__date {
	display: block;
	color: var(--acel);
	font-size: var(--meret-kicsi);
	margin: -0.25rem 0 1.25rem;
}

.back {
	display: inline-block;
	margin-bottom: 1.25rem;
	font-size: var(--meret-kicsi);
	font-weight: 600;
	color: var(--acel);
	text-decoration: none;
}
.back::before { content: "‹ "; }
.back:hover { color: var(--melypiros); text-decoration: underline; }

/* Oldalsáv (Hírek widget) */
.site-aside {
	background: var(--beton);
	padding: 1.5rem 1.5rem 1.75rem;
	border-top: 6px solid var(--grafit);
}
.site-aside ul { list-style: none; margin: 0; padding: 0; }
.widget-container + .widget-container { margin-top: 2rem; }
.widget-title {
	margin: 0 0 1rem;
	font-size: var(--meret-h2);
}
/* a régi logó-widget kimarad, a logó a fejlécben van */
.site-aside .widget_text:has(img[src*="/images/logo"]) { display: none; }
.site-aside .widget_text:has(img[src*="/images/logo"]) + .widget-container { margin-top: 0; }

.rpwe-block ul { margin: 0; padding: 0; }
.rpwe-block li {
	padding: 0 0 1.1rem;
	margin: 0 0 1.1rem;
	border-bottom: 1px solid var(--beton-sotet);
	list-style: none;
}
.rpwe-block li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.rpwe-block h3,
.rpwe-title {
	margin: 0 0 0.35rem;
	font-size: 1.1875rem;
	line-height: 1.15;
}
.rpwe-block h3 a, .rpwe-title a { color: var(--grafit); text-decoration: none; }
.rpwe-block h3 a:hover, .rpwe-title a:hover { color: var(--melypiros); text-decoration: underline; }
.rpwe-summary { font-size: 0.9375rem; line-height: 1.5; text-align: left !important; }
.rpwe-summary a, .rpwe-more-link { font-weight: 600; white-space: nowrap; }
.rpwe-thumb { float: none !important; margin: 0 0 0.5rem !important; }
.rpwe-time { display: block; font-size: var(--meret-kicsi); color: var(--acel); }

/* ---------- Építési tábla (referenciaoldalak) ---------- */
.site-board {
	--csavar: radial-gradient(circle, var(--acel) 0 2.5px, transparent 3px);
	position: relative;
	margin: 0 0 2.25rem;
	padding: 1.25rem 1.5rem;
	background:
		var(--csavar) top 10px left 10px / 8px 8px no-repeat,
		var(--csavar) top 10px right 10px / 8px 8px no-repeat,
		var(--csavar) bottom 10px left 10px / 8px 8px no-repeat,
		var(--csavar) bottom 10px right 10px / 8px 8px no-repeat,
		var(--feher);
	border: 3px solid var(--grafit);
	box-shadow: inset 0 0 0 6px var(--feher), inset 0 0 0 7px var(--beton-sotet);
	max-width: 46rem;
}
.site-board__row {
	display: grid;
	grid-template-columns: 11rem minmax(0, 1fr);
	gap: 1.25rem;
	padding: 0.7rem 0.5rem;
	border-bottom: 1px solid var(--beton-sotet);
}
.site-board__row:last-child { border-bottom: 0; }
.site-board dt {
	font-stretch: var(--felkeskeny);
	font-weight: 600;
	color: var(--acel);
	font-size: 0.9375rem;
	line-height: 1.4;
	padding-top: 0.12rem;
}
.site-board dd {
	margin: 0;
	font-weight: 560;
	line-height: 1.4;
}
.site-board__row:first-child dd {
	font-stretch: var(--keskeny);
	font-weight: 760;
	font-size: 1.5rem;
	line-height: 1.1;
}

/* ---------- Hírek lista ---------- */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-item {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	gap: 1.75rem;
	padding: 1.75rem 0;
	border-top: 1px solid var(--beton-sotet);
}
.news-item:first-child { border-top: 3px solid var(--grafit); }
.news-item:not(:has(.news-item__thumb)) { grid-template-columns: minmax(0, 1fr); }
.news-item__thumb img { display: block; width: 100%; height: 150px; object-fit: cover; }
.news-item__title { margin: 0 0 0.35rem; font-size: var(--meret-h2); }
.news-item__title a { color: var(--grafit); text-decoration: none; }
.news-item__title a:hover { color: var(--melypiros); text-decoration: underline; }
.news-item__date { margin: 0 0 0.75rem; }
.news-item__excerpt p { margin-bottom: 0.75rem; max-width: 62ch; }
.more { font-weight: 600; }

.navigation.pagination { margin-top: 2rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.nav-links .page-numbers {
	display: inline-block;
	min-width: 2.5rem;
	padding: 0.45rem 0.8rem;
	text-align: center;
	border: 1px solid var(--beton-sotet);
	text-decoration: none;
	color: var(--grafit);
}
.nav-links .page-numbers.current { background: var(--grafit); border-color: var(--grafit); color: var(--feher); }

/* ---------- Gombok (a régi tartalom .grey-button osztálya is) ---------- */
.grey-button,
.entry-content input[type="submit"],
.entry-content button,
.entry-content .btn,
.wpcf7-submit {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	min-height: 2.75rem;
	padding: 0.55rem 1.1rem !important;
	background: var(--melypiros);
	color: var(--feher) !important;
	border: 0;
	border-radius: 0;
	font-family: var(--betu);
	font-stretch: var(--felkeskeny);
	font-size: 1rem;
	font-weight: 650;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}
.grey-button:hover,
.entry-content input[type="submit"]:hover,
.entry-content button:hover,
.wpcf7-submit:hover { background: var(--grafit); color: var(--feher) !important; }

/* a régi, abszolút pozícionált gombokat visszatesszük a szöveg folyamába */
.entry-content .grey-button,
.entry-content a[style*="position"] {
	position: static !important;
	left: auto !important;
	right: auto !important;
	top: auto !important;
	width: auto !important;
	height: auto !important;
	margin: 0 0.5rem 0.5rem 0 !important;
	line-height: 1.2 !important;
}
.grey-button br { display: none; }
.entry-content p:has(> .grey-button) { margin-bottom: 0.75rem; text-align: left !important; padding-left: 0 !important; }
.entry-content p:has(> .grey-button) + p:has(> .grey-button) { margin-top: -0.25rem; }
.entry--home .entry-content p:empty { display: none; }

/* Főoldal: dokumentum-gombok egy sorban, alatta a hírek */
.site-body--home { grid-template-columns: minmax(0, 1fr); }
.doc-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 0.5rem; }
.doc-buttons p { margin: 0 !important; }
.doc-buttons .grey-button { margin: 0 !important; }

.home-news { margin-top: clamp(2rem, 1rem + 3vw, 3.5rem); }
.home-news__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	border-bottom: 3px solid var(--grafit);
	padding-bottom: 0.5rem;
	margin-bottom: 1.5rem;
}
.home-news__title { margin: 0; font-size: var(--meret-h1); }
.home-news__all { font-weight: 600; }
.home-news__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem;
}
.home-news__link { display: block; color: var(--grafit); text-decoration: none; }
.home-news__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	margin-bottom: 0.75rem;
	background: var(--beton);
}
.home-news__date { display: block; font-size: var(--meret-kicsi); color: var(--acel); margin-bottom: 0.2rem; }
.home-news__name {
	display: block;
	font-stretch: var(--keskeny);
	font-weight: 760;
	font-size: var(--meret-h3);
	line-height: 1.15;
}
.home-news__link:hover .home-news__name { color: var(--melypiros); text-decoration: underline; text-decoration-thickness: 2px; }

/* ---------- Régi lapozó (.paginate) ---------- */
.entry-content .paginate,
.paginate {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0 0 1.5rem !important;
	padding: 0 !important;
}
.paginate li { margin: 0; }
.paginate a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.6rem;
	border: 1px solid var(--beton-sotet);
	color: var(--grafit);
	text-decoration: none;
	line-height: 1 !important;
	font-weight: 600;
}
.paginate a:hover { border-color: var(--grafit); }
.paginate a.current { background: var(--grafit); border-color: var(--grafit); color: var(--feher); }
.paginate img { display: none; }
.paginate a:has(img)::after { content: "›"; font-size: 1.4rem; line-height: 1; }

/* ---------- Táblázatok (referencialista, sajtó, partnerek) ---------- */
.entry-content table {
	width: 100% !important;
	height: auto !important;
	border-collapse: collapse;
	margin: 0 0 2rem;
	font-size: 0.9375rem;
	line-height: 1.45;
}
.entry-content tr,
.entry-content td,
.entry-content th { height: auto !important; }
.entry-content th {
	background: var(--grafit);
	color: var(--feher);
	font-stretch: var(--felkeskeny);
	font-weight: 600;
	text-align: left;
	padding: 0.6rem 0.75rem;
	vertical-align: bottom;
}
.entry-content td {
	padding: 0.75rem;
	border-bottom: 1px solid var(--beton-sotet);
	vertical-align: middle;
	text-align: left !important;
}
.entry-content tbody tr:nth-child(even) td { background: #F4F4F1; }
.entry-content td img { display: block; margin: 0; max-width: 100%; }
.entry-content td.image img { max-width: 120px; }
.entry-content td a { font-weight: 600; color: var(--grafit); text-decoration: none; }
.entry-content td a:hover { color: var(--melypiros); text-decoration: underline; }

/* elrendezésre használt táblák: nincs keret, csík, a beállított igazítás marad */
.entry-content table.is-layout { font-size: inherit; line-height: inherit; }
.entry-content table.is-layout td {
	border: 0;
	background: none !important;
	vertical-align: top;
	text-align: inherit !important;
	padding: 0 1.5rem 0 0;
}
.entry-content table.is-layout td[style*="center"] { text-align: center !important; }
.entry-content table.is-layout td img { float: none; margin: 0; }
.entry-content table.is-layout td p { margin-bottom: 0.4em; }

.entry-content .is-blank { display: none; }

/* ---------- Galériák, képek, videók ---------- */
.entry-content .gallery {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 0.75rem;
	margin: 1.5rem 0 2rem !important;
}
.entry-content .gallery br { display: none; }
.entry-content .gallery-item {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}
.entry-content .gallery-icon a { display: block; }
.entry-content .gallery img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border: 0 !important;
}
.entry-content .gallery-caption {
	font-size: 0.75rem;
	color: var(--acel);
	margin-top: 0.3rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.alignleft { float: left; margin: 0.3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.3rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1rem auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: var(--meret-kicsi); color: var(--acel); }

.wp-video { max-width: 100% !important; margin-bottom: 1.5rem; }
.entry-content iframe { display: block; border: 0; margin-bottom: 1.5rem; }

/* ---------- Űrlapok (Elérhetőség) ---------- */
.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content input[type="tel"],
.entry-content input[type="url"],
.entry-content input[type="number"],
.entry-content textarea,
.entry-content select {
	width: 100%;
	max-width: 34rem;
	padding: 0.65rem 0.75rem;
	font: inherit;
	color: var(--grafit);
	background: var(--feher);
	border: 1px solid var(--acel);
	border-radius: 0;
}
.entry-content textarea { min-height: 9rem; }
.entry-content input:focus,
.entry-content textarea:focus,
.entry-content select:focus { outline: 3px solid var(--piros); outline-offset: 0; border-color: var(--grafit); }
.entry-content label,
.entry-content .control-label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.entry-content .form-group { margin-bottom: 1rem; }
.wpcf7-not-valid-tip { color: var(--melypiros); font-size: var(--meret-kicsi); }
.wpcf7-response-output { border-color: var(--acel) !important; margin: 1rem 0 0 !important; padding: 0.75rem 1rem !important; }

/* ---------- Régi referencia-sablon blokkja ---------- */
.info-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding: 1.25rem 0;
	margin-bottom: 1.5rem;
	border-top: 3px solid var(--grafit);
	border-bottom: 1px solid var(--beton-sotet);
}
.info-text h2 { margin: 0 0 0.3rem; }
.info-inline { margin: 0; color: var(--acel); }
.control { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; align-content: flex-start; }

/* ---------- Lábléc ---------- */
.site-footer { background: var(--grafit); color: #C9CCC6; }
.site-footer__inner {
	max-width: var(--szel);
	margin: 0 auto;
	padding: 2.25rem var(--res) 2.5rem;
	display: grid;
	grid-template-columns: auto 1fr auto auto;
	gap: 0.5rem 2.5rem;
	align-items: baseline;
	font-size: 0.9375rem;
}
.site-footer p { margin: 0; }
.site-footer__company {
	color: var(--feher);
	font-stretch: var(--keskeny);
	font-weight: 760;
	font-size: 1.375rem;
}
.site-footer__contact { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-footer a { color: var(--feher); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.35); }
.site-footer a:hover { border-bottom-color: var(--piros); }
.site-footer__copy { color: #9EA39C; }

/* ---------- Tördelés: tablet és mobil ---------- */
@media (max-width: 1080px) {
	.site-header__inner { gap: 1rem; }
	.site-nav__list,
	.site-nav > div > ul,
	.site-nav .menu { gap: 0.15rem 1.1rem; }
	.site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.site-body { grid-template-columns: minmax(0, 1fr); }
	.site-aside { order: 2; }

	.site-logo__img { height: 64px; }
	.nav-toggle {
		display: inline-flex;
		align-items: center;
		gap: 0.6rem;
		min-height: 2.75rem;
		padding: 0.5rem 1rem;
		background: var(--grafit);
		color: var(--feher);
		border: 0;
		font: 600 1rem/1 var(--betu);
		font-stretch: var(--felkeskeny);
		cursor: pointer;
	}
	.nav-toggle::before {
		content: "";
		width: 18px; height: 12px;
		background: linear-gradient(currentColor 0 0) top / 100% 2px no-repeat,
			linear-gradient(currentColor 0 0) center / 100% 2px no-repeat,
			linear-gradient(currentColor 0 0) bottom / 100% 2px no-repeat;
	}
	.nav-open .nav-toggle { background: var(--melypiros); }

	.site-nav {
		display: none;
		position: absolute;
		left: 0; right: 0; top: 100%;
		background: var(--feher);
		border-bottom: 6px solid var(--piros);
		padding: 0.5rem var(--res) 1rem;
		box-shadow: 0 12px 24px rgba(38, 42, 41, 0.18);
	}
	.nav-open .site-nav { display: block; }
	.site-nav__list,
	.site-nav > div > ul,
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav li { border-bottom: 1px solid var(--beton); }
	.site-nav li:last-child { border-bottom: 0; }
	.site-nav a { padding: 0.85rem 0; font-size: 1.1875rem; border-bottom: 0; }
	.site-nav .current-menu-item > a,
	.site-nav .current_page_item > a,
	.site-nav .current-menu-ancestor > a,
	.site-nav .current_page_ancestor > a,
	.site-nav .current_page_parent > a { color: var(--melypiros); }

	.map-band iframe { height: 300px; }
}

@media (max-width: 640px) {
	.site-logo__img { height: 54px; }

	.site-board { padding: 1rem; }
	.site-board__row { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; padding: 0.6rem 0.25rem; }

	.news-item { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
	.home-news__list { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
	.entry-content table.is-layout,
	.entry-content table.is-layout tbody,
	.entry-content table.is-layout tr,
	.entry-content table.is-layout td { display: block; width: 100% !important; padding: 0 0 1rem; }
	.news-item__thumb img { height: 190px; }

	.entry-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.entry-content table:not(.is-layout) td img { max-width: 110px; }

	.site-footer__inner { grid-template-columns: 1fr; gap: 0.6rem; }

	.alignleft, .alignright { float: none; margin: 1rem 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media print {
	.site-header, .slider-band, .map-band, .site-aside, .nav-toggle, .site-footer__contact { display: none; }
	.site-body { display: block; }
}
