/* ==========================================================================
   TERESKE KÖZSÉG ÖNKORMÁNYZATA
   main.css
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root {
	--tereske-green: #1f7542;
	--tereske-green-dark: #145530;
	--tereske-green-light: #eef6f0;

	--tereske-text: #16261d;
	--tereske-muted: #6f7b74;
	--tereske-border: #e5ebe7;

	--tereske-white: #ffffff;
	--tereske-background: #f7faf8;

	--tereske-wide: 1500px;
	--tereske-content: 860px;

	--tereske-radius-small: 7px;
	--tereske-radius: 14px;
	--tereske-radius-large: 22px;

	--tereske-shadow-small: 0 5px 20px rgba(16, 61, 34, 0.05);
	--tereske-shadow: 0 14px 34px rgba(16, 61, 34, 0.1);

	--tereske-transition: 0.2s ease;
}


/* ==========================================================================
   2. RESET / ALAPOK
   ========================================================================== */

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--tereske-white);
	color: var(--tereske-text);
	font-family:
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		Arial,
		sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body,
button,
input,
textarea,
select {
	font-family:
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		Arial,
		sans-serif;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

button,
input,
textarea,
select {
	font: inherit;
}

button {
	color: inherit;
}

svg {
	display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.15;
}

p {
	margin-top: 0;
}

:focus-visible {
	outline: 3px solid rgba(31, 117, 66, 0.45);
	outline-offset: 3px;
}


/* ==========================================================================
   3. ÁLTALÁNOS LAYOUT
   ========================================================================== */

.content-wide {
	width: min(calc(100% - 48px), var(--tereske-wide));
	margin-inline: auto;
}

.content-container {
	width: min(calc(100% - 48px), var(--tereske-content));
	margin: 60px auto;
}

.site-main {
	min-height: 40vh;
}


/* ==========================================================================
   4. SKIP LINK
   ========================================================================== */

.skip-link {
	position: fixed;
	top: -100px;
	left: 20px;
	z-index: 99999;
	padding: 12px 18px;
	border-radius: var(--tereske-radius-small);
	background: var(--tereske-white);
	color: #000;
	font-weight: 700;
	box-shadow: var(--tereske-shadow);
}

.skip-link:focus {
	top: 20px;
}


/* ==========================================================================
   5. FEJLÉC
   ========================================================================== */

.site-header {
	position: relative;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.98);
	border-bottom: 1px solid var(--tereske-border);
}

.site-header__inner {
	width: min(calc(100% - 48px), var(--tereske-wide));
	min-height: 104px;
	margin-inline: auto;
	display: flex;
	align-items: center;
	gap: 40px;
}


/* ==========================================================================
   6. BRAND / LOGÓ
   ========================================================================== */

.site-branding {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 0 0 auto;
}

.site-branding__logo {
	display: flex;
	align-items: center;
	justify-content: center;
}

.custom-logo-link {
	display: block;
}

.custom-logo {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: contain;
}

.site-branding__text {
	display: flex;
	flex-direction: column;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	line-height: 0.98;
}

.site-branding__title,
.site-branding__subtitle {
	font-size: 27px;
}

.site-branding:hover .site-branding__title,
.site-branding:hover .site-branding__subtitle {
	color: var(--tereske-green);
}


/* ==========================================================================
   7. FŐ NAVIGÁCIÓ
   ========================================================================== */

.main-navigation {
	margin-left: auto;
}

.main-navigation__menu {
	display: flex;
	align-items: center;
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-navigation__menu,
.main-navigation__menu ul {
	list-style: none;
}

/* Felső szint */

.main-navigation__menu > li {
	position: relative;
	margin: 0;
	padding: 0;
}

.main-navigation__menu > li > a {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 104px;
	padding: 0;
	color: var(--tereske-text);
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	transition: color var(--tereske-transition);
}

/* Zöld vonal hoverkor */

.main-navigation__menu > li > a::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 27px;
	left: 0;
	height: 2px;
	background: var(--tereske-green);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform var(--tereske-transition);
}

.main-navigation__menu > li:hover > a,
.main-navigation__menu > li:focus-within > a,
.main-navigation__menu > .current-menu-item > a,
.main-navigation__menu > .current-menu-ancestor > a {
	color: var(--tereske-green);
}

.main-navigation__menu > li:hover > a::after,
.main-navigation__menu > li:focus-within > a::after,
.main-navigation__menu > .current-menu-item > a::after,
.main-navigation__menu > .current-menu-ancestor > a::after {
	transform: scaleX(1);
}


/* ==========================================================================
   LENYÍLÓ ALMENÜ
   ========================================================================== */

.main-navigation__menu .sub-menu {
	position: absolute;
	top: calc(100% - 15px);
	left: -22px;
	z-index: 2000;

	min-width: 250px;
	margin: 0;
	padding: 10px;

	visibility: hidden;
	opacity: 0;

	background: var(--tereske-white);
	border: 1px solid var(--tereske-border);
	border-radius: 12px;

	box-shadow:
		0 18px 45px rgba(12, 41, 24, 0.12),
		0 4px 12px rgba(12, 41, 24, 0.06);

	transform: translateY(8px);

	transition:
		opacity var(--tereske-transition),
		transform var(--tereske-transition),
		visibility var(--tereske-transition);
}

/* Látható hover / billentyűzet esetén */

.main-navigation__menu li:hover > .sub-menu,
.main-navigation__menu li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
}


/* Almenü elemek */

.main-navigation__menu .sub-menu li {
	position: relative;
	margin: 0;
	padding: 0;
}

.main-navigation__menu .sub-menu a {
	display: block;
	padding: 12px 14px;

	border-radius: 8px;

	color: var(--tereske-text);

	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;

	white-space: nowrap;

	transition:
		background var(--tereske-transition),
		color var(--tereske-transition);
}

.main-navigation__menu .sub-menu a:hover,
.main-navigation__menu .sub-menu a:focus-visible,
.main-navigation__menu .sub-menu .current-menu-item > a {
	background: var(--tereske-green-light);
	color: var(--tereske-green);
}


/* Kis vizuális nyíl a dropdown tetején */

.main-navigation__menu .sub-menu::before {
	content: "";
	position: absolute;
	top: -6px;
	left: 30px;

	width: 12px;
	height: 12px;

	background: var(--tereske-white);

	border-top: 1px solid var(--tereske-border);
	border-left: 1px solid var(--tereske-border);

	transform: rotate(45deg);
}


/* ==========================================================================
   8. FEJLÉC GOMBOK
   ========================================================================== */

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.header-search-toggle,
.mobile-menu-toggle {
	border: 0;
	background: transparent;
	cursor: pointer;
}

.header-search-toggle {
	width: 44px;
	height: 44px;
	padding: 10px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	transition:
		background var(--tereske-transition),
		color var(--tereske-transition);
}

.header-search-toggle:hover,
.header-search-toggle:focus-visible {
	background: var(--tereske-green-light);
	color: var(--tereske-green);
}

.header-search-toggle svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.header-service-button {
	min-height: 50px;
	padding: 0 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--tereske-radius-small);
	background: var(--tereske-green);
	color: var(--tereske-white);
	font-weight: 700;
	box-shadow: 0 5px 14px rgba(31, 117, 66, 0.18);
	transition:
		background var(--tereske-transition),
		transform var(--tereske-transition),
		box-shadow var(--tereske-transition);
}

.header-service-button:hover,
.header-service-button:focus-visible {
	background: var(--tereske-green-dark);
	box-shadow: 0 8px 22px rgba(31, 117, 66, 0.23);
	transform: translateY(-1px);
}


/* ==========================================================================
   9. MOBIL MENÜ GOMB
   ========================================================================== */

.mobile-menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 8px;
	border-radius: var(--tereske-radius-small);
}

.mobile-menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	margin: 5px auto;
	background: var(--tereske-text);
	transition:
		transform var(--tereske-transition),
		opacity var(--tereske-transition);
}


/* ==========================================================================
   10. KERESŐ
   ========================================================================== */

.header-search {
	background: var(--tereske-background);
	border-top: 1px solid var(--tereske-border);
	border-bottom: 1px solid var(--tereske-border);
}

.header-search[hidden] {
	display: none;
}

.header-search__inner {
	width: min(calc(100% - 48px), var(--tereske-wide));
	margin-inline: auto;
	padding: 20px 0;
}

.header-search form {
	display: flex;
	max-width: 800px;
	margin-left: auto;
}

.header-search label {
	flex: 1;
}

.header-search input[type="search"] {
	width: 100%;
	min-height: 52px;
	padding: 0 18px;
	border: 1px solid var(--tereske-border);
	border-right: 0;
	border-radius:
		var(--tereske-radius-small)
		0
		0
		var(--tereske-radius-small);
	background: var(--tereske-white);
	color: var(--tereske-text);
	outline: none;
}

.header-search input[type="search"]:focus {
	border-color: var(--tereske-green);
}

.header-search input[type="submit"],
.header-search button[type="submit"] {
	min-height: 52px;
	padding: 0 26px;
	border: 0;
	border-radius:
		0
		var(--tereske-radius-small)
		var(--tereske-radius-small)
		0;
	background: var(--tereske-green);
	color: var(--tereske-white);
	font-weight: 700;
	cursor: pointer;
}


/* ==========================================================================
   11. HERO
   ========================================================================== */

.home-hero {
position: relative;
	min-height: 560px;
	display: flex;
	align-items: center;
	overflow: hidden;

	background-color: var(--tereske-green-dark);

	background-image:
		linear-gradient(
			90deg,
			rgba(5, 30, 16, 0.88) 0%,
			rgba(8, 42, 24, 0.72) 25%,
			rgba(8, 42, 24, 0.48) 42%,
			rgba(8, 42, 24, 0.20) 58%,
			rgba(8, 42, 24, 0.04) 78%,
			rgba(8, 42, 24, 0.00) 100%
		),
		var(
			--tereske-hero-image,
			linear-gradient(135deg,#4e8060, #b3c8b8)
		);

	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.home-hero__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.home-hero__content {
	position: relative;
	z-index: 2;
	width: min(calc(100% - 48px), var(--tereske-wide));
	margin-inline: auto;
	color: var(--tereske-white);
}

.home-hero__eyebrow {
	margin: 0 0 12px;
	color: var(--tereske-white);
	font-size: 0.95rem;
	font-weight: 700;
}

.home-hero h1 {
	max-width: 800px;
	margin: 0;
	color: var(--tereske-white);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(3rem, 5.4vw, 5.4rem);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -0.035em;
}

.home-hero__lead {
	max-width: 740px;
	margin: 24px 0 30px;
	color: var(--tereske-white);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.55;
}


/* ==========================================================================
   12. GOMBOK
   ========================================================================== */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 24px;
	border-radius: 999px;
	font-weight: 700;
	transition:
		background var(--tereske-transition),
		transform var(--tereske-transition),
		box-shadow var(--tereske-transition);
}

.button--primary {
	background: var(--tereske-green);
	color: var(--tereske-white);
	box-shadow: 0 7px 20px rgba(7, 55, 28, 0.2);
}

.button--primary:hover,
.button--primary:focus-visible {
	background: var(--tereske-green-dark);
	box-shadow: 0 10px 26px rgba(7, 55, 28, 0.28);
	transform: translateY(-2px);
}


/* ==========================================================================
   13. SZEKCIÓ CÍMEK
   ========================================================================== */

.section-heading {
	margin-bottom: 34px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.section-heading__eyebrow {
	margin: 0 0 6px;
	color: var(--tereske-green);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.section-heading h2 {
	margin: 0;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 3vw, 3rem);
	line-height: 1.1;
}


/* ==========================================================================
   14. GYORSLINKEK
   ========================================================================== */

.quick-links {
	padding: 78px 0 86px;
	background: var(--tereske-white);
}

.quick-links__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.quick-link-card {
	min-height: 150px;
	padding: 28px;
	display: flex;
	align-items: center;
	gap: 20px;
	border: 1px solid var(--tereske-border);
	border-radius: var(--tereske-radius);
	background: var(--tereske-white);
	box-shadow: var(--tereske-shadow-small);
	transition:
		transform var(--tereske-transition),
		border-color var(--tereske-transition),
		box-shadow var(--tereske-transition);
}

.quick-link-card:hover,
.quick-link-card:focus-visible {
	border-color: rgba(31, 117, 66, 0.35);
	box-shadow: var(--tereske-shadow);
	transform: translateY(-3px);
}

.quick-link-card__icon {
	flex: 0 0 58px;
	width: 58px;
	height: 58px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
}

.quick-link-card__icon svg {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.quick-link-card__content {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.quick-link-card__content strong {
	color: var(--tereske-text);
	font-size: 1.05rem;
	font-weight: 800;
}

.quick-link-card__content > span {
	color: var(--tereske-muted);
	font-size: 0.9rem;
	line-height: 1.5;
}

.quick-link-card__arrow {
	margin-left: auto;
	display: grid;
	place-items: center;
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	border: 1px solid #d8e8dd;
	border-radius: 50%;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
	transition:
		background var(--tereske-transition),
		border-color var(--tereske-transition),
		color var(--tereske-transition),
		transform var(--tereske-transition);
}

.quick-link-card__arrow svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.quick-link-card:hover .quick-link-card__arrow,
.quick-link-card:focus-visible .quick-link-card__arrow {
	background: var(--tereske-green);
	border-color: var(--tereske-green);
	color: var(--tereske-white);
	transform: translateX(2px);
}


/* ==========================================================================
   15. IDEIGLENES FEJLESZTÉSI BLOKK
   ========================================================================== */

.development-marker {
	padding: 70px 0;
	background: var(--tereske-background);
}

.development-marker h2 {
	margin-bottom: 12px;
	color: var(--tereske-text);
	font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.development-marker p {
	max-width: 850px;
	margin-bottom: 0;
	color: var(--tereske-muted);
	font-size: 1.05rem;
}


/* ==========================================================================
   16. ÁLTALÁNOS TARTALOM
   ========================================================================== */

.content-container article {
	margin-bottom: 50px;
}

.content-container article h1 {
	margin-bottom: 24px;
	font-size: clamp(2.2rem, 5vw, 4rem);
}

.content-container p,
.content-container li {
	color: var(--tereske-text);
}

.content-container a {
	color: var(--tereske-green);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.content-container a:hover {
	color: var(--tereske-green-dark);
}


/* ==========================================================================
   17. LÁBLÉC
   ========================================================================== */

.site-footer {
	position: relative;
	border-top: 1px solid var(--tereske-border);
	background: var(--tereske-white);
	color: var(--tereske-text);
}

.site-footer__main {
	padding: 58px 0 48px;
	background:
		linear-gradient(
			180deg,
			#ffffff 0%,
			#fbfdfb 100%
		);
}

.site-footer__inner {
	width: min(calc(100% - 48px), var(--tereske-wide));
	margin-inline: auto;
	display: grid;
	grid-template-columns:
		minmax(260px, 1.35fr)
		minmax(220px, 0.95fr)
		minmax(250px, 1fr)
		minmax(190px, 0.72fr);
	gap: 54px;
	align-items: start;
}


/* Márka */

.site-footer__brand-block {
	min-width: 0;
}

.site-footer__brand {
	display: inline-flex;
	align-items: center;
	gap: 15px;
	color: var(--tereske-text);
}

.site-footer__brand:hover,
.site-footer__brand:focus-visible {
	color: var(--tereske-green);
}

.site-footer__logo {
	display: grid;
	place-items: center;
	flex: 0 0 62px;
	width: 62px;
	height: 70px;
}

.site-footer__logo-image {
	width: 62px;
	height: 70px;
	object-fit: contain;
}

.site-footer__brand-text {
	display: flex;
	flex-direction: column;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 0.98;
}

.site-footer__tagline {
	max-width: 310px;
	margin: 18px 0 0;
	color: var(--tereske-muted);
	font-size: 0.88rem;
	line-height: 1.55;
}

.site-footer__motto {
	margin: 10px 0 0;
	color: var(--tereske-green-dark);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.96rem;
	font-style: italic;
}


/* Oszlopok */

.site-footer__column {
	min-width: 0;
}

.site-footer__heading {
	margin: 3px 0 18px;
	color: var(--tereske-text);
	font-family:
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		Arial,
		sans-serif;
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}


/* Kapcsolat */

.site-footer__contact-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--tereske-muted);
	font-size: 0.88rem;
	line-height: 1.45;
}

.site-footer__contact-icon {
	display: grid;
	place-items: center;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	margin-top: -2px;
	border-radius: 8px;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
}

.site-footer__contact-icon svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.site-footer__contact-list a {
	overflow-wrap: anywhere;
	color: var(--tereske-text);
	font-weight: 600;
}

.site-footer__contact-list a:hover,
.site-footer__contact-list a:focus-visible {
	color: var(--tereske-green);
}


/* Ügyfélfogadás */

.site-footer__hours {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.site-footer__hours-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 9px;
	border-bottom: 1px solid var(--tereske-border);
	color: var(--tereske-muted);
	font-size: 0.86rem;
}

.site-footer__hours-row strong {
	flex: 0 0 auto;
	color: var(--tereske-text);
	font-size: 0.84rem;
	font-weight: 700;
	white-space: nowrap;
}

.site-footer__small-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	color: var(--tereske-green);
	font-size: 0.84rem;
	font-weight: 700;
}

.site-footer__small-link-icon {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--tereske-green-light);
	transition:
		background var(--tereske-transition),
		color var(--tereske-transition),
		transform var(--tereske-transition);
}

.site-footer__small-link-icon svg {
	width: 13px;
	height: 13px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.site-footer__small-link:hover .site-footer__small-link-icon,
.site-footer__small-link:focus-visible .site-footer__small-link-icon {
	background: var(--tereske-green);
	color: var(--tereske-white);
	transform: translateX(2px);
}


/* Gyorslinkek */

.site-footer__links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__links li {
	margin: 0;
	padding: 0;
}

.site-footer__links a {
	position: relative;
	display: inline-block;
	padding: 2px 0;
	color: var(--tereske-muted);
	font-size: 0.88rem;
	font-weight: 600;
	transition:
		color var(--tereske-transition),
		transform var(--tereske-transition);
}

.site-footer__links a::before {
	content: "";
	position: absolute;
	top: 50%;
	left: -13px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--tereske-green);
	opacity: 0;
	transform: translateY(-50%);
	transition: opacity var(--tereske-transition);
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
	color: var(--tereske-green-dark);
	transform: translateX(4px);
}

.site-footer__links a:hover::before,
.site-footer__links a:focus-visible::before {
	opacity: 1;
}


/* Alsó sáv */

.site-footer__bottom {
	border-top: 1px solid var(--tereske-border);
	background: #f8fbf9;
}

.site-footer__bottom-inner {
	width: min(calc(100% - 48px), var(--tereske-wide));
	min-height: 62px;
	margin-inline: auto;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 28px;
}

.site-footer__copyright,
.site-footer__credit {
	margin: 0;
	color: var(--tereske-muted);
	font-size: 0.78rem;
	line-height: 1.4;
}

.site-footer__credit {
	text-align: right;
}

.site-footer__credit a {
	color: var(--tereske-green-dark);
	font-weight: 700;
}

.site-footer__credit a:hover,
.site-footer__credit a:focus-visible {
	color: var(--tereske-green);
}

.site-footer__legal ul {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__legal li {
	position: relative;
}

.site-footer__legal li + li::before {
	content: "";
	position: absolute;
	top: 50%;
	left: -10px;
	width: 1px;
	height: 12px;
	background: #cdd9d0;
	transform: translateY(-50%);
}

.site-footer__legal a {
	color: var(--tereske-muted);
	font-size: 0.78rem;
	font-weight: 600;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
	color: var(--tereske-green);
}


/* Footer responsive */

@media (max-width: 1100px) {

	.site-footer__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 42px 56px;
	}

	.site-footer__bottom-inner {
		grid-template-columns: 1fr 1fr;
		padding: 16px 0;
	}

	.site-footer__legal {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.site-footer__credit {
		text-align: right;
	}
}

@media (max-width: 700px) {

	.site-footer__main {
		padding: 44px 0 36px;
	}

	.site-footer__inner {
		width: min(calc(100% - 28px), var(--tereske-wide));
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.site-footer__brand-text {
		font-size: 1.2rem;
	}

	.site-footer__bottom-inner {
		width: min(calc(100% - 28px), var(--tereske-wide));
		grid-template-columns: 1fr;
		gap: 11px;
		padding: 20px 0;
	}

	.site-footer__copyright,
	.site-footer__credit {
		text-align: left;
	}

	.site-footer__legal {
		grid-column: auto;
		grid-row: auto;
	}

	.site-footer__legal ul {
		justify-content: flex-start;
		flex-wrap: wrap;
		gap: 8px 18px;
	}

	.site-footer__legal li + li::before {
		left: -10px;
	}
}


/* ==========================================================================
   18. HÍREK + ESEMÉNYEK
   ========================================================================== */

.home-updates {
	padding: 80px 0 76px;
	background: var(--tereske-background);
}

.home-updates__inner {
	width: min(calc(100% - 48px), var(--tereske-wide));
	margin-inline: auto;
	display: grid;
	grid-template-columns:
		minmax(0, 1.52fr)
		minmax(380px, 1.20fr)
		minmax(330px, 0.95fr);
	gap: 30px;
	align-items: start;
}

.home-updates .section-heading {
	margin-bottom: 28px;
}

.home-updates .section-heading h2 {
	font-size: clamp(1.8rem, 2.2vw, 2.35rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.section-eyebrow {
	margin: 0 0 5px;
	color: var(--tereske-green);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.section-heading__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex: 0 0 auto;
	min-height: 42px;
	padding: 5px 6px 5px 16px;
	border: 1px solid rgba(31, 117, 66, 0.32);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.78);
	color: var(--tereske-green-dark);
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
	box-shadow: 0 4px 14px rgba(16, 61, 34, 0.035);
	transition:
		background var(--tereske-transition),
		border-color var(--tereske-transition),
		box-shadow var(--tereske-transition),
		transform var(--tereske-transition);
}

.section-heading__link-icon {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
	border-radius: 50%;
	background: var(--tereske-green);
	color: var(--tereske-white);
	transition:
		background var(--tereske-transition),
		transform var(--tereske-transition);
}

.section-heading__link-icon svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.section-heading__link:hover,
.section-heading__link:focus-visible {
	background: var(--tereske-white);
	border-color: rgba(31, 117, 66, 0.58);
	box-shadow: 0 8px 22px rgba(16, 61, 34, 0.08);
	transform: translateY(-1px);
}

.section-heading__link:hover .section-heading__link-icon,
.section-heading__link:focus-visible .section-heading__link-icon {
	background: var(--tereske-green-dark);
	transform: translateX(2px);
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.news-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	overflow: hidden;
	background: var(--tereske-white);
	border: 1px solid var(--tereske-border);
	border-radius: var(--tereske-radius);
	box-shadow: var(--tereske-shadow-small);
	transition:
		transform 180ms ease,
		box-shadow 180ms ease,
		border-color 180ms ease;
}

.news-card:hover {
	transform: translateY(-4px);
	border-color: #d8e5dc;
	box-shadow: var(--tereske-shadow);
}

.news-card__image {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background:
		linear-gradient(
			135deg,
			var(--tereske-green-light),
			#dfece3
		);
}

.news-card__image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform 400ms ease;
}

.news-card:hover .news-card__image img {
	transform: scale(1.035);
}

.news-card__placeholder {
	width: 100%;
	height: 100%;
	background:
		linear-gradient(
			135deg,
			var(--tereske-green-light),
			#d9e8dd
		);
}

.news-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px 21px 22px;
}

.news-card__date {
	display: block;
	margin-bottom: 8px;
	color: var(--tereske-muted);
	font-size: 13px;
	font-weight: 500;
}

.news-card__title {
	margin: 0 0 12px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.28rem;
	font-weight: 700;
	line-height: 1.2;
}

.news-card__title a {
	color: var(--tereske-text);
	transition: color 180ms ease;
}

.news-card__title a:hover,
.news-card__title a:focus-visible {
	color: var(--tereske-green);
}

.news-card__excerpt {
	margin-bottom: 22px;
	color: var(--tereske-muted);
	font-size: 14px;
	line-height: 1.55;
}

.news-card__more {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	align-self: flex-start;
	margin-top: auto;
	color: var(--tereske-green);
	font-size: 14px;
	font-weight: 700;
	transition: color var(--tereske-transition);
}

.news-card__more-icon {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border: 1px solid #d8e8dd;
	border-radius: 50%;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
	transition:
		background var(--tereske-transition),
		border-color var(--tereske-transition),
		color var(--tereske-transition),
		transform var(--tereske-transition);
}

.news-card__more-icon svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.news-card__more:hover,
.news-card__more:focus-visible {
	color: var(--tereske-green-dark);
}

.news-card__more:hover .news-card__more-icon,
.news-card__more:focus-visible .news-card__more-icon {
	background: var(--tereske-green);
	border-color: var(--tereske-green);
	color: var(--tereske-white);
	transform: translateX(2px);
}


/* ==========================================================================
   HASZNOS INFORMÁCIÓK
   ========================================================================== */

.home-updates__useful {
	min-width: 0;
}

.useful-info {
	min-width: 0;
}

.useful-info .section-heading {
	margin-bottom: 28px;
}

.useful-info__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.useful-info-card {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	align-items: center;
	gap: 12px;

	min-width: 0;
	min-height: 104px;
	padding: 16px;

	background: var(--tereske-white);
	border: 1px solid var(--tereske-border);
	border-radius: 11px;
	box-shadow: var(--tereske-shadow-small);

	transition:
		transform var(--tereske-transition),
		border-color var(--tereske-transition),
		box-shadow var(--tereske-transition);
}

.useful-info-card:hover,
.useful-info-card:focus-visible {
	transform: translateY(-2px);
	border-color: rgba(31, 117, 66, 0.35);
	box-shadow: var(--tereske-shadow);
}

.useful-info-card__icon {
	display: grid;
	place-items: center;

	width: 46px;
	height: 46px;
	flex: 0 0 46px;

	border-radius: 10px;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
}

.useful-info-card__icon svg {
	display: block;
	width: 24px;
	height: 24px;
	max-width: 24px;
	max-height: 24px;
	overflow: visible;

	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.useful-info-card__icon svg path,
.useful-info-card__icon svg circle,
.useful-info-card__icon svg line,
.useful-info-card__icon svg polyline {
	fill: none;
	stroke: currentColor;
}

.useful-info-card__content {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.useful-info-card__content strong {
	display: block;
	color: var(--tereske-text);
	font-size: 0.96rem;
	font-weight: 800;
	line-height: 1.25;
}

.useful-info-card__content > span {
	display: block;
	color: var(--tereske-muted);
	font-size: 0.78rem;
	line-height: 1.4;
}

.useful-info-card__arrow {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1px solid #d8e8dd;
	border-radius: 50%;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
	transition:
		background var(--tereske-transition),
		border-color var(--tereske-transition),
		color var(--tereske-transition),
		transform var(--tereske-transition);
}

.useful-info-card__arrow svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.useful-info-card:hover .useful-info-card__arrow,
.useful-info-card:focus-visible .useful-info-card__arrow {
	background: var(--tereske-green);
	border-color: var(--tereske-green);
	color: var(--tereske-white);
	transform: translateX(2px);
}

.useful-info__banner {
	min-height: 72px;
	margin-top: 14px;
	padding: 14px 18px;

	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;

	border: 1px solid #dbe9df;
	border-radius: 11px;

	background:
		linear-gradient(
			90deg,
			#f8fbf9 0%,
			#eef6f0 58%,
			#e5f0e8 100%
		);

	color: var(--tereske-green-dark);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1rem;
	font-style: italic;
	line-height: 1.35;
	text-align: center;
}

.useful-info__leaf {
	display: grid;
	place-items: center;
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	color: var(--tereske-green);
}

.useful-info__leaf svg {
	display: block;
	width: 28px;
	height: 28px;
	max-width: 28px;
	max-height: 28px;

	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.useful-info__leaf svg path {
	fill: none;
	stroke: currentColor;
}


.home-events {
	position: relative;
}

.home-events .section-heading {
	justify-content: flex-start;
	gap: 16px;
}

.home-events .section-heading__link {
	margin-left: 0;
}

.events-list {
	overflow: hidden;
	background: var(--tereske-white);
	border: 1px solid var(--tereske-border);
	border-radius: var(--tereske-radius);
	box-shadow: var(--tereske-shadow-small);
}

.event-card {
	position: relative;
	display: grid;
	grid-template-columns: 66px minmax(0, 1fr);
	align-items: center;
	gap: 16px;
	min-height: 106px;
	padding: 16px 18px;
	border-bottom: 1px solid var(--tereske-border);
	transition: background 180ms ease;
}

.event-card:last-child {
	border-bottom: 0;
}

.event-card:hover {
	background: #fbfdfb;
}

.event-card__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 68px;
	background: var(--tereske-green-light);
	border-radius: 9px;
	text-align: center;
}

.event-card__month {
	display: block;
	color: var(--tereske-green);
	font-size: 11px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.event-card__day {
	display: block;
	margin-top: 2px;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 1;
}

.event-card__content {
	min-width: 0;
}

.event-card__title {
	margin: 0 0 7px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.25;
}

.event-card__title a {
	color: var(--tereske-text);
	transition: color 180ms ease;
}

.event-card__title a:hover,
.event-card__title a:focus-visible {
	color: var(--tereske-green);
}

.event-card__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 3px 0 0;
	color: var(--tereske-muted);
	font-size: 13px;
	line-height: 1.35;
}

.event-card__meta span {
	color: var(--tereske-green);
}

.event-card__arrow {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	color: var(--tereske-green);
	background: var(--tereske-green-light);
	border: 1px solid #d8e8dd;
	border-radius: 50%;
	transition:
		background var(--tereske-transition),
		border-color var(--tereske-transition),
		color var(--tereske-transition),
		transform var(--tereske-transition);
}

.event-card__arrow svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.event-card__arrow:hover,
.event-card__arrow:focus-visible {
	background: var(--tereske-green);
	border-color: var(--tereske-green);
	color: var(--tereske-white);
	transform: translateX(2px);
}

.events-calendar-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 52px;
	margin-top: 16px;
	padding: 10px 20px;
	color: var(--tereske-green-dark);
	background: transparent;
	border: 1px solid var(--tereske-green);
	border-radius: 9px;
	font-size: 14px;
	font-weight: 700;
	transition:
		background 180ms ease,
		color 180ms ease,
		border-color 180ms ease;
}

.events-calendar-button__icon,
.events-calendar-button__arrow {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
}

.events-calendar-button__icon {
	width: 26px;
	height: 26px;
	color: var(--tereske-green);
}

.events-calendar-button__icon svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.events-calendar-button__arrow {
	width: 30px;
	height: 30px;
	margin-left: auto;
	border: 1px solid #d8e8dd;
	border-radius: 50%;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
	transition:
		background var(--tereske-transition),
		border-color var(--tereske-transition),
		color var(--tereske-transition),
		transform var(--tereske-transition);
}

.events-calendar-button__arrow svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.events-calendar-button:hover,
.events-calendar-button:focus-visible {
	color: var(--tereske-green-dark);
	background: var(--tereske-white);
	border-color: var(--tereske-green);
	box-shadow: 0 8px 22px rgba(16, 61, 34, 0.07);
	transform: translateY(-1px);
}

.events-calendar-button:hover .events-calendar-button__arrow,
.events-calendar-button:focus-visible .events-calendar-button__arrow {
	background: var(--tereske-green);
	border-color: var(--tereske-green);
	color: var(--tereske-white);
	transform: translateX(2px);
}

.home-empty-state {
	padding: 30px;
	background: var(--tereske-white);
	border: 1px solid var(--tereske-border);
	border-radius: 12px;
	color: var(--tereske-muted);
}

.home-empty-state p {
	margin: 0;
}



@media (max-width: 1250px) {

	.home-updates__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px;
	}

	.home-updates__news {
		grid-column: 1 / -1;
	}
}

/* ==========================================================================
   19. TABLET
   ========================================================================== */

@media (max-width: 1100px) {
	.site-header__inner {
		gap: 20px;
	}

	.main-navigation {
		display: none;
	}

	.site-header__actions {
		margin-left: auto;
	}

	.mobile-menu-toggle {
		display: block;
	}

	.quick-links__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-updates__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 34px;
	}

	.home-updates__news {
		grid-column: 1 / -1;
	}

	.news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}


/* ==========================================================================
   20. MOBIL
   ========================================================================== */

@media (max-width: 700px) {
	.content-wide,
	.content-container {
		width: min(calc(100% - 28px), var(--tereske-wide));
	}

	.site-header__inner {
		width: min(calc(100% - 28px), var(--tereske-wide));
		min-height: 82px;
		gap: 12px;
	}

	.site-branding {
		gap: 10px;
	}

	.site-branding__title,
	.site-branding__subtitle {
		font-size: 20px;
	}

	.custom-logo {
		width: 54px;
		height: 54px;
	}

	.header-service-button {
		display: none;
	}

	.header-search__inner {
		width: min(calc(100% - 28px), var(--tereske-wide));
	}

	.home-hero {
		min-height: 500px;
	}

	.home-hero__content {
		width: min(calc(100% - 28px), var(--tereske-wide));
	}

	.home-hero__eyebrow {
		font-size: 0.85rem;
	}

	.home-hero h1 {
		max-width: 100%;
		font-size: clamp(2.6rem, 12vw, 4rem);
		letter-spacing: -0.025em;
	}

	.home-hero__lead {
		font-size: 1.05rem;
	}

	.quick-links {
		padding: 54px 0;
	}

	.quick-links__grid {
		grid-template-columns: 1fr;
	}

	.quick-link-card {
		min-height: auto;
		padding: 22px;
	}

	.quick-link-card__icon {
		flex-basis: 52px;
		width: 52px;
		height: 52px;
	}

	.section-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.home-updates .section-heading h2 {
		font-size: 1.8rem;
	}

	.home-updates {
		padding: 60px 0 70px;
	}

	.home-updates__inner {
		width: min(calc(100% - 28px), var(--tereske-wide));
		grid-template-columns: 1fr;
		gap: 46px;
	}

	.home-updates__news {
		grid-column: auto;
	}

	.news-grid {
		grid-template-columns: 1fr;
	}

	.useful-info__grid {
		grid-template-columns: 1fr;
	}

	.useful-info-card {
		min-height: 92px;
		padding: 14px;
	}

	.useful-info__banner {
		justify-content: flex-start;
		text-align: left;
	}

	.event-card {
		grid-template-columns: 58px minmax(0, 1fr);
		gap: 12px;
		padding: 14px;
	}

	.event-card__date {
		width: 56px;
		height: 64px;
	}

	.event-card__day {
		font-size: 1.5rem;
	}

	.development-marker {
		padding: 52px 0;
	}

}


/* ==========================================================================
   21. KIS MOBIL
   ========================================================================== */

@media (max-width: 420px) {
	.site-branding__title,
	.site-branding__subtitle {
		font-size: 17px;
	}

	.header-search-toggle,
	.mobile-menu-toggle {
		width: 40px;
		height: 40px;
	}

	.quick-link-card {
		gap: 14px;
	}

	.quick-link-card__arrow {
		flex-basis: 30px;
		width: 30px;
		height: 30px;
	}

	.event-card {
		grid-template-columns: 54px minmax(0, 1fr);
	}


}




/* ==========================================================================
   22. DOKUMENTUMTÁR
   ========================================================================== */

.document-library {
	background: var(--tereske-background);
}

.document-library__hero {
	padding: 52px 0 48px;
	background:
		linear-gradient(
			135deg,
			#f7fbf8 0%,
			#eef6f0 100%
		);
	border-bottom: 1px solid var(--tereske-border);
}

.document-library__eyebrow {
	margin: 0 0 8px;
	color: var(--tereske-green);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.document-library__hero h1 {
	max-width: 820px;
	margin: 0;
	font-size: clamp(2rem, 3vw, 2.7rem);
	line-height: 1;
	letter-spacing: -0.035em;
}

.document-library__lead {
	max-width: 790px;
	margin: 14px 0 0;
	color: var(--tereske-muted);
	font-size: 1.08rem;
	line-height: 1.65;
}

.document-library__body {
	padding: 54px 0 82px;
}

.document-library__toolbar {
	padding: 24px;
	border: 1px solid var(--tereske-border);
	border-radius: var(--tereske-radius-large);
	background: var(--tereske-white);
	box-shadow: var(--tereske-shadow-small);
}

.document-filter {
	display: grid;
	grid-template-columns: minmax(340px, 1.5fr) minmax(480px, 1fr);
	gap: 18px;
	align-items: end;
}

.document-filter__search {
	position: relative;
}

.document-filter__search-icon {
	position: absolute;
	top: 50%;
	left: 17px;
	z-index: 2;
	width: 21px;
	height: 21px;
	color: var(--tereske-green);
	transform: translateY(-50%);
	pointer-events: none;
}

.document-filter__search-icon svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.document-filter__search input,
.document-filter__field select {
	width: 100%;
	min-height: 54px;
	border: 1px solid #d9e3dc;
	border-radius: 11px;
	background: #fbfdfb;
	color: var(--tereske-text);
	outline: none;
	transition:
		border-color var(--tereske-transition),
		box-shadow var(--tereske-transition),
		background var(--tereske-transition);
}

.document-filter__search input {
	padding: 0 18px 0 50px;
}

.document-filter__search input::placeholder {
	color: #94a199;
}

.document-filter__search input:focus,
.document-filter__field select:focus {
	border-color: rgba(31, 117, 66, 0.55);
	background: var(--tereske-white);
	box-shadow: 0 0 0 4px rgba(31, 117, 66, 0.08);
}

.document-filter__selects {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) 145px auto;
	gap: 12px;
	align-items: end;
}

.document-filter__field {
	min-width: 0;
}

.document-filter__field label {
	display: block;
	margin: 0 0 6px;
	color: var(--tereske-muted);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.document-filter__field select {
	padding: 0 38px 0 14px;
	cursor: pointer;
}

.document-filter__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 54px;
	padding: 0 20px;
	border: 1px solid var(--tereske-green);
	border-radius: 11px;
	background: var(--tereske-green);
	color: var(--tereske-white);
	font-size: 0.88rem;
	font-weight: 800;
	cursor: pointer;
	transition:
		background var(--tereske-transition),
		border-color var(--tereske-transition),
		box-shadow var(--tereske-transition),
		transform var(--tereske-transition);
}

.document-filter__submit svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.document-filter__submit:hover,
.document-filter__submit:focus-visible {
	background: var(--tereske-green-dark);
	border-color: var(--tereske-green-dark);
	box-shadow: 0 9px 22px rgba(16, 61, 34, 0.13);
	transform: translateY(-1px);
}

.document-type-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--tereske-border);
}

.document-type-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 7px 14px;
	border: 1px solid #dbe6de;
	border-radius: 999px;
	background: #fbfdfb;
	color: var(--tereske-muted);
	font-size: 0.8rem;
	font-weight: 700;
	transition:
		background var(--tereske-transition),
		color var(--tereske-transition),
		border-color var(--tereske-transition),
		transform var(--tereske-transition);
}

.document-type-pill:hover,
.document-type-pill:focus-visible {
	border-color: rgba(31, 117, 66, 0.4);
	color: var(--tereske-green-dark);
	transform: translateY(-1px);
}

.document-type-pill.is-active {
	border-color: var(--tereske-green);
	background: var(--tereske-green-light);
	color: var(--tereske-green-dark);
}

.document-library__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin: 30px 0 14px;
}

.document-library__summary p {
	margin: 0;
	color: var(--tereske-muted);
	font-size: 0.88rem;
}

.document-library__clear {
	color: var(--tereske-green);
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.document-library__clear:hover,
.document-library__clear:focus-visible {
	color: var(--tereske-green-dark);
}

.document-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.document-card {
	display: grid;
	grid-template-columns: 70px minmax(0, 1fr) auto;
	gap: 20px;
	align-items: center;
	min-height: 132px;
	padding: 20px 22px;
	border: 1px solid var(--tereske-border);
	border-radius: var(--tereske-radius);
	background: var(--tereske-white);
	box-shadow: var(--tereske-shadow-small);
	transition:
		border-color var(--tereske-transition),
		box-shadow var(--tereske-transition),
		transform var(--tereske-transition);
}

.document-card:hover {
	border-color: rgba(31, 117, 66, 0.28);
	box-shadow: 0 12px 30px rgba(16, 61, 34, 0.075);
	transform: translateY(-1px);
}

.document-card__icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 62px;
	height: 70px;
	border-radius: 12px;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
}

.document-card__icon svg {
	width: 29px;
	height: 29px;
	margin-top: -8px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.65;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.document-card__icon > span {
	position: absolute;
	right: 7px;
	bottom: 6px;
	left: 7px;
	overflow: hidden;
	color: var(--tereske-green-dark);
	font-size: 0.62rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.document-card__content {
	min-width: 0;
}

.document-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px 14px;
	margin-bottom: 7px;
}

.document-card__type {
	display: inline-flex;
	align-items: center;
	min-height: 25px;
	padding: 3px 9px;
	border-radius: 999px;
	background: var(--tereske-green-light);
	color: var(--tereske-green-dark);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.document-card__date {
	color: var(--tereske-muted);
	font-size: 0.78rem;
	font-weight: 600;
}

.document-card__number {
	margin: 0 0 3px;
	color: var(--tereske-green);
	font-size: 0.8rem;
	font-weight: 800;
}

.document-card__title {
	margin: 0;
	font-size: clamp(1.08rem, 1.5vw, 1.35rem);
	line-height: 1.25;
}

.document-card__title a {
	color: var(--tereske-text);
	transition: color var(--tereske-transition);
}

.document-card__title a:hover,
.document-card__title a:focus-visible {
	color: var(--tereske-green);
}

.document-card__file-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin: 9px 0 0;
	color: var(--tereske-muted);
	font-size: 0.72rem;
}

.document-card__file-meta > span:not(:last-child) {
	position: relative;
}

.document-card__file-meta > span:not(:last-child)::after {
	content: "•";
	position: absolute;
	right: -10px;
	color: #bdc8c0;
}

.document-card__filename {
	max-width: 520px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.document-card__action {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.document-open-button,
.document-download-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 43px;
	padding: 7px 14px;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 800;
	white-space: nowrap;
	transition:
		background var(--tereske-transition),
		border-color var(--tereske-transition),
		color var(--tereske-transition),
		box-shadow var(--tereske-transition),
		transform var(--tereske-transition);
}

.document-open-button {
	border: 1px solid var(--tereske-green);
	background: var(--tereske-green);
	color: var(--tereske-white);
}

.document-download-button {
	border: 1px solid #d7e4da;
	background: var(--tereske-white);
	color: var(--tereske-green-dark);
}

.document-open-button svg,
.document-download-button svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.document-open-button:hover,
.document-open-button:focus-visible {
	background: var(--tereske-green-dark);
	border-color: var(--tereske-green-dark);
	box-shadow: 0 8px 20px rgba(16, 61, 34, 0.12);
	transform: translateY(-1px);
}

.document-download-button:hover,
.document-download-button:focus-visible {
	border-color: var(--tereske-green);
	background: var(--tereske-green-light);
	color: var(--tereske-green-dark);
	transform: translateY(-1px);
}

.document-empty-state {
	padding: 64px 28px;
	border: 1px solid var(--tereske-border);
	border-radius: var(--tereske-radius);
	background: var(--tereske-white);
	text-align: center;
	box-shadow: var(--tereske-shadow-small);
}

.document-empty-state__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 18px;
	border-radius: 16px;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
}

.document-empty-state__icon svg {
	width: 30px;
	height: 30px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.document-empty-state h2 {
	margin-bottom: 8px;
	font-size: 1.55rem;
}

.document-empty-state p {
	margin-bottom: 18px;
	color: var(--tereske-muted);
}

.document-empty-state a {
	color: var(--tereske-green);
	font-weight: 800;
}

.document-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 7px;
	margin-top: 34px;
}

.document-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 6px 11px;
	border: 1px solid var(--tereske-border);
	border-radius: 9px;
	background: var(--tereske-white);
	color: var(--tereske-muted);
	font-size: 0.82rem;
	font-weight: 700;
	transition:
		background var(--tereske-transition),
		border-color var(--tereske-transition),
		color var(--tereske-transition);
}

.document-pagination .page-numbers:hover,
.document-pagination .page-numbers:focus-visible,
.document-pagination .page-numbers.current {
	border-color: var(--tereske-green);
	background: var(--tereske-green-light);
	color: var(--tereske-green-dark);
}


/* Dokumentum részletes oldal */

.document-single {
	padding: 64px 0 80px;
	background: var(--tereske-background);
}

.document-single__container {
	margin-top: 0;
	margin-bottom: 0;
}

.document-single__back {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 18px;
	color: var(--tereske-green);
	font-size: 0.84rem;
	font-weight: 800;
}

.document-single__back:hover,
.document-single__back:focus-visible {
	color: var(--tereske-green-dark);
}

.document-single__card {
	padding: clamp(28px, 5vw, 58px);
	border: 1px solid var(--tereske-border);
	border-radius: var(--tereske-radius-large);
	background: var(--tereske-white);
	box-shadow: var(--tereske-shadow-small);
}

.document-single__header {
	padding-bottom: 28px;
	border-bottom: 1px solid var(--tereske-border);
}

.document-single__type {
	margin: 0 0 9px;
	color: var(--tereske-green);
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.document-single__header h1 {
	margin: 0;
	font-size: clamp(2rem, 4.2vw, 3.7rem);
	line-height: 1.08;
	letter-spacing: -0.025em;
}

.document-single__number {
	margin: 14px 0 0;
	color: var(--tereske-muted);
	font-size: 0.98rem;
	font-weight: 700;
}

.document-single__meta {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	margin: 26px 0 0;
	overflow: hidden;
	border: 1px solid var(--tereske-border);
	border-radius: 12px;
	background: var(--tereske-border);
}

.document-single__meta > div {
	padding: 16px;
	background: #fbfdfb;
}

.document-single__meta span {
	display: block;
	margin-bottom: 3px;
	color: var(--tereske-muted);
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
}

.document-single__meta strong {
	display: block;
	color: var(--tereske-text);
	font-size: 0.9rem;
}

.document-single__content {
	margin-top: 30px;
}

.document-single__file {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	align-items: center;
	gap: 18px;
	margin-top: 30px;
	padding: 18px;
	border: 1px solid #d7e5da;
	border-radius: 14px;
	background: linear-gradient(135deg, #f8fbf9, #eef6f0);
}

.document-single__file-icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 58px;
	height: 64px;
	border-radius: 11px;
	background: var(--tereske-white);
	color: var(--tereske-green);
}

.document-single__file-icon svg {
	width: 27px;
	height: 27px;
	margin-top: -7px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.document-single__file-icon span {
	position: absolute;
	right: 5px;
	bottom: 5px;
	left: 5px;
	overflow: hidden;
	color: var(--tereske-green-dark);
	font-size: 0.58rem;
	font-weight: 900;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.document-single__file-info {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.document-single__file-info strong {
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1rem;
}

.document-single__file-info span {
	overflow: hidden;
	color: var(--tereske-muted);
	font-size: 0.78rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.document-single__file-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}


/* Dokumentumtár tablet */

@media (max-width: 1100px) {

	.document-filter {
		grid-template-columns: 1fr;
	}

	.document-filter__selects {
		grid-template-columns: minmax(180px, 1fr) 150px auto;
	}

	.document-card {
		grid-template-columns: 64px minmax(0, 1fr) auto;
	}

	.document-single__meta {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}


/* Dokumentumtár mobil */

@media (max-width: 700px) {

	.document-library__hero {
		padding: 40px 0 36px;
	}

	.document-library__hero h1 {
		font-size: clamp(1.9rem, 9vw, 2.5rem);
	}

	.document-library__lead {
		font-size: 0.98rem;
	}

	.document-library__body {
		padding: 34px 0 56px;
	}

	.document-library__toolbar {
		padding: 16px;
		border-radius: 16px;
	}

	.document-filter {
		gap: 14px;
	}

	.document-filter__selects {
		grid-template-columns: 1fr;
	}

	.document-filter__submit {
		width: 100%;
	}

	.document-type-pills {
		flex-wrap: nowrap;
		margin-right: -16px;
		margin-left: -16px;
		padding-right: 16px;
		padding-left: 16px;
		overflow-x: auto;
		scrollbar-width: thin;
	}

	.document-type-pill {
		flex: 0 0 auto;
	}

	.document-library__summary {
		align-items: flex-start;
		flex-direction: column;
		gap: 7px;
		margin-top: 24px;
	}

	.document-card {
		grid-template-columns: 54px minmax(0, 1fr);
		gap: 14px;
		padding: 16px;
	}

	.document-card__icon {
		width: 52px;
		height: 60px;
		border-radius: 10px;
	}

	.document-card__icon svg {
		width: 25px;
		height: 25px;
	}

	.document-card__action {
		grid-column: 1 / -1;
		justify-content: flex-start;
		padding-left: 68px;
	}

	.document-card__filename {
		max-width: 210px;
	}

	.document-single {
		padding: 42px 0 58px;
	}

	.document-single__card {
		padding: 24px 18px;
		border-radius: 16px;
	}

	.document-single__meta {
		grid-template-columns: 1fr 1fr;
	}

	.document-single__file {
		grid-template-columns: 52px minmax(0, 1fr);
		gap: 13px;
		padding: 14px;
	}

	.document-single__file-icon {
		width: 50px;
		height: 56px;
	}

	.document-single__file-actions {
		grid-column: 1 / -1;
		padding-left: 65px;
	}
}


@media (max-width: 420px) {

	.document-card__action,
	.document-single__file-actions {
		padding-left: 0;
	}

	.document-open-button,
	.document-download-button {
		width: 100%;
	}

	.document-single__meta {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   23. CSÖKKENTETT ANIMÁCIÓ
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* ==========================================================================
   TÁMOGATOTT PROJEKTEK
   ========================================================================== */

.supported-projects {
	padding: 72px 0 80px;
	background: var(--tereske-white);
	border-top: 1px solid var(--tereske-border);
}

.supported-projects__heading {
	margin-bottom: 30px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
}

.supported-projects__heading h2 {
	margin: 0;
	font-size: clamp(2rem, 3vw, 3rem);
}

.supported-projects__lead {
	max-width: 700px;
	margin: 10px 0 0;
	color: var(--tereske-muted);
	font-size: 1rem;
}

.supported-projects__all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 13px;
	border: 1px solid rgba(31, 117, 66, 0.24);
	border-radius: 999px;
	color: var(--tereske-green-dark);
	font-size: 0.88rem;
	font-weight: 800;
	white-space: nowrap;
	transition:
		background var(--tereske-transition),
		border-color var(--tereske-transition),
		transform var(--tereske-transition);
}

.supported-projects__all:hover,
.supported-projects__all:focus-visible {
	background: var(--tereske-green-light);
	border-color: rgba(31, 117, 66, 0.5);
	transform: translateY(-1px);
}

.supported-projects__grid,
.project-archive__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.supported-project-card {
	min-width: 0;
	margin: 0;
	background: var(--tereske-white);
	border: 1px solid var(--tereske-border);
	border-radius: var(--tereske-radius-large);
	box-shadow: var(--tereske-shadow-small);
	overflow: hidden;
	transition:
		transform var(--tereske-transition),
		box-shadow var(--tereske-transition),
		border-color var(--tereske-transition);
}

.supported-project-card:hover,
.supported-project-card:focus-within {
	transform: translateY(-3px);
	box-shadow: var(--tereske-shadow);
	border-color: rgba(31, 117, 66, 0.32);
}

.supported-project-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.supported-project-card__logo {
	min-height: 170px;
	padding: 28px 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		linear-gradient(180deg, #ffffff 0%, #fbfdfb 100%);
	border-bottom: 1px solid var(--tereske-border);
}

.supported-project-card__logo img {
	width: auto;
	max-width: 100%;
	max-height: 112px;
	object-fit: contain;
}

.supported-project-card__placeholder {
	width: 72px;
	height: 72px;
	display: grid;
	place-items: center;
	border-radius: 18px;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
}

.supported-project-card__placeholder svg {
	width: 34px;
	height: 34px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.supported-project-card__body {
	flex: 1;
	padding: 24px 26px 26px;
	display: flex;
	flex-direction: column;
}

.supported-project-card__program {
	margin: 0 0 7px;
	color: var(--tereske-green);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.supported-project-card h3,
.supported-project-card h2 {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.2;
}

.supported-project-card__excerpt {
	margin: 10px 0 0;
	color: var(--tereske-muted);
	font-size: 0.92rem;
	line-height: 1.55;
}

.supported-project-card__more {
	margin-top: auto;
	padding-top: 20px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--tereske-green-dark);
	font-size: 0.88rem;
	font-weight: 800;
}

.supported-project-card__arrow {
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--tereske-green-light);
	border: 1px solid rgba(31, 117, 66, 0.14);
	transition: transform var(--tereske-transition);
}

.supported-project-card:hover .supported-project-card__arrow,
.supported-project-card:focus-within .supported-project-card__arrow {
	transform: translateX(3px);
}

/* Projekt részletező */

.project-single__hero,
.project-archive__hero {
	padding: 64px 0 58px;
	background: linear-gradient(135deg, #f8fbf9 0%, #edf6f0 100%);
	border-bottom: 1px solid var(--tereske-border);
}

.project-single__hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
	align-items: center;
	gap: 64px;
}

.project-single__intro h1,
.project-archive__hero h1 {
	margin: 0;
	font-size: clamp(2.2rem, 4vw, 4rem);
	line-height: 1.04;
}

.project-single__lead,
.project-archive__hero p:last-child {
	max-width: 760px;
	margin: 16px 0 0;
	color: var(--tereske-muted);
	font-size: 1.08rem;
}

.project-single__logo {
	min-height: 220px;
	padding: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--tereske-white);
	border: 1px solid var(--tereske-border);
	border-radius: var(--tereske-radius-large);
	box-shadow: var(--tereske-shadow-small);
}

.project-single__logo img {
	width: auto;
	max-height: 150px;
	object-fit: contain;
}

.project-single__layout {
	padding-top: 60px;
	padding-bottom: 60px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	align-items: start;
	gap: 56px;
}

.project-single__content {
	font-size: 1.02rem;
}

.project-single__content > *:first-child {
	margin-top: 0;
}

.project-single__facts {
	padding: 26px;
	background: var(--tereske-background);
	border: 1px solid var(--tereske-border);
	border-radius: var(--tereske-radius-large);
}

.project-single__facts h2 {
	margin: 0 0 18px;
	font-size: 1.35rem;
}

.project-single__fact {
	padding: 14px 0;
	border-top: 1px solid var(--tereske-border);
}

.project-single__fact span {
	display: block;
	margin-bottom: 3px;
	color: var(--tereske-muted);
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.project-single__fact strong {
	display: block;
	line-height: 1.4;
}

.project-single__external {
	width: 100%;
	margin-top: 22px;
}

.project-single__back {
	padding-bottom: 64px;
}

.project-single__back a {
	color: var(--tereske-green-dark);
	font-weight: 800;
}

.project-archive__grid {
	padding-top: 56px;
	padding-bottom: 30px;
}

.project-archive__pagination {
	padding-bottom: 64px;
}

@media (max-width: 1000px) {
	.supported-projects__grid,
	.project-archive__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.project-single__hero-inner,
	.project-single__layout {
		grid-template-columns: 1fr;
	}

	.project-single__logo {
		max-width: 520px;
	}
}

@media (max-width: 700px) {
	.supported-projects {
		padding: 54px 0 60px;
	}

	.supported-projects__heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 18px;
	}

	.supported-projects__grid,
	.project-archive__grid {
		grid-template-columns: 1fr;
	}

	.supported-project-card__logo {
		min-height: 145px;
		padding: 24px 28px;
	}

	.project-single__hero,
	.project-archive__hero {
		padding: 46px 0 42px;
	}

	.project-single__layout {
		padding-top: 42px;
		padding-bottom: 42px;
		gap: 36px;
	}
}

/* ========================================================================== 
   PÁLYÁZATOK ÉS TÁMOGATÁSOK - V1 KIEGÉSZÍTÉSEK
   ========================================================================== */

.supported-project-card__type {
	display: inline-flex;
	align-self: flex-start;
	margin: 0 0 8px;
	padding: 4px 9px;
	border: 1px solid rgba(31, 117, 66, 0.18);
	border-radius: 999px;
	background: var(--tereske-green-light);
	color: var(--tereske-green-dark);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.supported-project-card__type + .supported-project-card__program {
	margin-top: 0;
}

.project-single__fact a {
	color: var(--tereske-green-dark);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.project-single__related {
	padding: 12px 0 64px;
}

.project-single__related h2 {
	margin: 0 0 24px;
	font-size: clamp(1.7rem, 2.4vw, 2.35rem);
}

.project-single__related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.project-related-card {
	min-height: 122px;
	padding: 20px;
	display: grid;
	grid-template-columns: 1fr auto;
	align-content: center;
	gap: 5px 16px;
	border: 1px solid var(--tereske-border);
	border-radius: var(--tereske-radius);
	background: var(--tereske-white);
	box-shadow: var(--tereske-shadow-small);
	transition:
		transform var(--tereske-transition),
		border-color var(--tereske-transition),
		box-shadow var(--tereske-transition);
}

.project-related-card:hover,
.project-related-card:focus-visible {
	transform: translateY(-2px);
	border-color: rgba(31, 117, 66, 0.32);
	box-shadow: var(--tereske-shadow);
}

.project-related-card span {
	grid-column: 1 / -1;
	color: var(--tereske-green);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.project-related-card strong {
	align-self: center;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.05rem;
	line-height: 1.25;
}

.project-related-card em {
	align-self: center;
	font-size: 1.2rem;
	font-style: normal;
	color: var(--tereske-green);
}

@media (max-width: 1000px) {
	.project-single__related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.project-single__related-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   PÁLYÁZATOK ÉS TÁMOGATÁSOK – KEZDŐLAPI FINOMHANGOLÁS
   ========================================================================== */

.supported-projects {
	padding: 48px 0 54px;
	background: var(--tereske-white);
	border-top: 1px solid var(--tereske-border);
}

.supported-projects__heading {
	margin-bottom: 24px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
}

.supported-projects__heading h2 {
	margin: 0;
	font-size: clamp(2rem, 2.8vw, 2.8rem);
	line-height: 1.08;
}

.supported-projects__lead {
	max-width: 700px;
	margin: 8px 0 0;
	color: var(--tereske-muted);
	font-size: 0.95rem;
	line-height: 1.5;
}

.supported-projects__all {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border: 1px solid rgba(31, 117, 66, 0.22);
	border-radius: 999px;
	background: var(--tereske-white);
	color: var(--tereske-green-dark);
	font-size: 0.84rem;
	font-weight: 800;
	white-space: nowrap;
	transition:
		background var(--tereske-transition),
		border-color var(--tereske-transition),
		transform var(--tereske-transition);
}

.supported-projects__all:hover,
.supported-projects__all:focus-visible {
	background: var(--tereske-green-light);
	border-color: rgba(31, 117, 66, 0.45);
	transform: translateY(-1px);
}


/* ==========================================================================
   KÁRTYÁK
   ========================================================================== */

.supported-projects__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: 18px;
}

.supported-project-card {
	min-width: 0;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--tereske-border);
	border-radius: 16px;
	background: var(--tereske-white);
	box-shadow: var(--tereske-shadow-small);
	transition:
		transform var(--tereske-transition),
		box-shadow var(--tereske-transition),
		border-color var(--tereske-transition);
}

.supported-project-card:hover,
.supported-project-card:focus-within {
	border-color: rgba(31, 117, 66, 0.34);
	box-shadow: var(--tereske-shadow);
	transform: translateY(-3px);
}

.supported-project-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}


/* ==========================================================================
   LOGÓ / ARCULATI KÉP
   ========================================================================== */

.supported-project-card__logo {
	height: 160px;
	min-height: 160px;
	padding: 14px 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background:
		linear-gradient(
			180deg,
			#ffffff 0%,
			#fbfdfb 100%
		);
	border-bottom: 1px solid var(--tereske-border);
}

.supported-project-card__logo img {
	display: block;
	width: 100%;
	height: 132px;
	max-width: 300px;
	max-height: 132px;
	margin: 0 auto;
	object-fit: contain;
	object-position: center;
}

.supported-project-card__placeholder {
	width: 82px;
	height: 82px;
	display: grid;
	place-items: center;
	border-radius: 18px;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
}

.supported-project-card__placeholder svg {
	width: 38px;
	height: 38px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}


/* ==========================================================================
   KÁRTYA TARTALOM
   ========================================================================== */

.supported-project-card__body {
	flex: 1;
	padding: 19px 22px 21px;
	display: flex;
	flex-direction: column;
}

.supported-project-card__type {
	display: inline-flex;
	align-self: flex-start;
	margin: 0 0 7px;
	padding: 4px 9px;
	border: 1px solid rgba(31, 117, 66, 0.16);
	border-radius: 999px;
	background: var(--tereske-green-light);
	color: var(--tereske-green-dark);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.supported-project-card__program {
	margin: 0 0 6px;
	color: var(--tereske-green);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	line-height: 1.3;
	text-transform: uppercase;
}

.supported-project-card__type + .supported-project-card__program {
	margin-top: 0;
}

.supported-project-card h3,
.supported-project-card h2 {
	margin: 0;
	color: var(--tereske-text);
	font-size: 1.25rem;
	line-height: 1.22;
}

.supported-project-card__excerpt {
	margin: 8px 0 0;
	color: var(--tereske-muted);
	font-size: 0.86rem;
	line-height: 1.5;
}

.supported-project-card__more {
	margin-top: auto;
	padding-top: 14px;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--tereske-green-dark);
	font-size: 0.84rem;
	font-weight: 800;
}

.supported-project-card__arrow {
	width: 27px;
	height: 27px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(31, 117, 66, 0.14);
	border-radius: 50%;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
	transition:
		background var(--tereske-transition),
		color var(--tereske-transition),
		transform var(--tereske-transition);
}

.supported-project-card:hover .supported-project-card__arrow,
.supported-project-card:focus-within .supported-project-card__arrow {
	background: var(--tereske-green);
	color: var(--tereske-white);
	transform: translateX(3px);
}


/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 1000px) {

	.supported-projects__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.supported-project-card__logo {
		height: 155px;
		min-height: 155px;
	}

	.supported-project-card__logo img {
		height: 126px;
		max-height: 126px;
	}
}


/* ==========================================================================
   MOBIL
   ========================================================================== */

@media (max-width: 700px) {

	.supported-projects {
		padding: 42px 0 46px;
	}

	.supported-projects__heading {
		margin-bottom: 20px;
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
	}

	.supported-projects__heading h2 {
		font-size: clamp(1.9rem, 9vw, 2.5rem);
	}

	.supported-projects__lead {
		font-size: 0.9rem;
	}

	.supported-projects__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.supported-project-card__logo {
		height: 150px;
		min-height: 150px;
		padding: 12px 20px;
	}

	.supported-project-card__logo img {
		width: 100%;
		height: 125px;
		max-width: 280px;
		max-height: 125px;
	}

	.supported-project-card__body {
		padding: 18px 20px 20px;
	}

	.supported-project-card h3,
	.supported-project-card h2 {
		font-size: 1.2rem;
	}

	.supported-project-card__more {
		padding-top: 13px;
	}
}


/* ==========================================================================
   KIS MOBIL
   ========================================================================== */

@media (max-width: 420px) {

	.supported-projects__all {
		width: 100%;
		justify-content: center;
	}

	.supported-project-card__logo {
		height: 140px;
		min-height: 140px;
	}

	.supported-project-card__logo img {
		height: 115px;
		max-height: 115px;
	}
}

/* ==========================================================================
   PÁLYÁZATOK ÉS TÁMOGATÁSOK – VÉGSŐ KEZDŐLAPI MÉRETEZÉS
   ========================================================================== */

.supported-projects {
	padding-top: 38px;
	padding-bottom: 42px;
}

.supported-projects__heading {
	margin-bottom: 18px;
}

.supported-projects__grid {
	gap: 18px;
}

.supported-project-card__logo {
	height: 145px;
	min-height: 145px;
	padding: 6px 12px;
	overflow: hidden;
}

.supported-project-card__logo img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 320px;
	max-height: 135px;
	margin: 0 auto;
	object-fit: contain;
	object-position: center;
	transform: scale(1.65);
	transform-origin: center;
}

.supported-project-card__body {
	padding: 16px 20px 18px;
}

.supported-project-card__type {
	margin-bottom: 6px;
}

.supported-project-card h3 {
	font-size: 1.22rem;
}

.supported-project-card__more {
	padding-top: 11px;
}

@media (max-width: 700px) {

	.supported-projects {
		padding-top: 34px;
		padding-bottom: 38px;
	}

	.supported-project-card__logo {
		height: 140px;
		min-height: 140px;
	}

	.supported-project-card__logo img {
		max-height: 128px;
		transform: scale(1.5);
	}
}

/* ==========================================================================
   PÁLYÁZATI KÁRTYA – KICSIT NAGYOBB DOBOZ
   ========================================================================== */

.supported-project-card__logo {
	height: 175px;
	min-height: 175px;
	padding: 14px 18px;
}

.supported-project-card__body {
	padding: 20px 22px 22px;
}

.supported-project-card__more {
	padding-top: 14px;
}

@media (max-width: 700px) {

	.supported-project-card__logo {
		height: 165px;
		min-height: 165px;
		padding: 12px 16px;
	}

	.supported-project-card__body {
		padding: 19px 20px 21px;
	}
}

/* ==========================================================================
   KÖZÉRDEKŰ ADATOK OLDAL
   ========================================================================== */

.public-data {
	background: #ffffff;
}

.public-data__container {
	width: min(calc(100% - 48px), var(--tereske-wide));
	margin-inline: auto;
}


/* HERO */

.public-data__hero {
	padding: 56px 0 52px;
	background:
		linear-gradient(
			135deg,
			#f4f8f5 0%,
			#e8f2eb 100%
		);
	border-bottom: 1px solid var(--tereske-border);
}

.public-data__eyebrow,
.section-eyebrow {
	margin: 0 0 10px;
	color: var(--tereske-green);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.public-data__hero h1 {
	margin: 0;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.2rem, 4vw, 3.5rem);
	line-height: 1.05;
}

.public-data__lead {
	max-width: 720px;
	margin: 16px 0 0;
	color: var(--tereske-muted);
	font-size: 1.02rem;
	line-height: 1.7;
}


/* TARTALOM */

.public-data__content {
	padding: 58px 0 64px;
}

.public-data__intro {
	max-width: 760px;
	margin-bottom: 28px;
}

.public-data__intro h2,
.public-data-latest__heading h2 {
	margin: 0;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.8rem, 2.8vw, 2.55rem);
	line-height: 1.15;
}

.public-data__intro p:last-child {
	margin: 12px 0 0;
	color: var(--tereske-muted);
	font-size: 0.96rem;
	line-height: 1.65;
}


/* KÁRTYÁK */

.public-data-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.public-data-card {
	min-height: 145px;
	padding: 22px;
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) 30px;
	align-items: center;
	gap: 16px;
	background: var(--tereske-white);
	border: 1px solid var(--tereske-border);
	border-radius: 14px;
	box-shadow: var(--tereske-shadow-small);
	color: inherit;
	text-decoration: none;
	transition:
		transform var(--tereske-transition),
		border-color var(--tereske-transition),
		box-shadow var(--tereske-transition);
}

.public-data-card:hover,
.public-data-card:focus-visible {
	transform: translateY(-3px);
	border-color: rgba(31, 117, 66, 0.35);
	box-shadow: var(--tereske-shadow);
}

.public-data-card__icon {
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
}

.public-data-card__icon svg {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.public-data-card__content {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.public-data-card__content strong {
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.08rem;
	line-height: 1.25;
}

.public-data-card__content span {
	color: var(--tereske-muted);
	font-size: 0.82rem;
	line-height: 1.45;
}

.public-data-card__arrow {
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
	font-size: 1rem;
	font-weight: 700;
	transition:
		transform var(--tereske-transition),
		background var(--tereske-transition),
		color var(--tereske-transition);
}

.public-data-card:hover .public-data-card__arrow,
.public-data-card:focus-visible .public-data-card__arrow {
	transform: translateX(3px);
	background: var(--tereske-green);
	color: #ffffff;
}


/* LEGFRISSEBB DOKUMENTUMOK */

.public-data-latest {
	padding: 56px 0 68px;
	background: #f8faf8;
	border-top: 1px solid var(--tereske-border);
}

.public-data-latest__heading {
	margin-bottom: 24px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
}

.public-data-latest__all {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border: 1px solid rgba(31, 117, 66, 0.22);
	border-radius: 999px;
	background: #ffffff;
	color: var(--tereske-green-dark);
	font-size: 0.84rem;
	font-weight: 800;
	text-decoration: none;
	transition:
		background var(--tereske-transition),
		transform var(--tereske-transition);
}

.public-data-latest__all:hover,
.public-data-latest__all:focus-visible {
	background: var(--tereske-green-light);
	transform: translateY(-1px);
}

.public-data-latest__list {
	overflow: hidden;
	border: 1px solid var(--tereske-border);
	border-radius: 14px;
	background: #ffffff;
	box-shadow: var(--tereske-shadow-small);
}

.public-data-document {
	min-height: 88px;
	padding: 15px 20px;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 30px;
	align-items: center;
	gap: 15px;
	border-bottom: 1px solid var(--tereske-border);
	color: inherit;
	text-decoration: none;
	transition: background var(--tereske-transition);
}

.public-data-document:last-child {
	border-bottom: 0;
}

.public-data-document:hover,
.public-data-document:focus-visible {
	background: #fbfdfb;
}

.public-data-document__icon {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
}

.public-data-document__icon svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.public-data-document__content {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.public-data-document__date {
	color: var(--tereske-green);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.public-data-document__content strong {
	color: var(--tereske-text);
	font-size: 0.94rem;
	line-height: 1.35;
}

.public-data-document__arrow {
	color: var(--tereske-green);
	font-size: 1.1rem;
	font-weight: 800;
	transition: transform var(--tereske-transition);
}

.public-data-document:hover .public-data-document__arrow,
.public-data-document:focus-visible .public-data-document__arrow {
	transform: translateX(3px);
}

.public-data-latest__empty {
	padding: 28px;
	border: 1px solid var(--tereske-border);
	border-radius: 14px;
	background: #ffffff;
	color: var(--tereske-muted);
	text-align: center;
}


/* TABLET */

@media (max-width: 1000px) {

	.public-data-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}


/* MOBIL */

@media (max-width: 700px) {

	.public-data__container {
		width: min(calc(100% - 32px), var(--tereske-wide));
	}

	.public-data__hero {
		padding: 42px 0 40px;
	}

	.public-data__content,
	.public-data-latest {
		padding-top: 44px;
		padding-bottom: 48px;
	}

	.public-data-grid {
		grid-template-columns: 1fr;
	}

	.public-data-card {
		min-height: 125px;
		padding: 18px;
	}

	.public-data-latest__heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 16px;
	}

	.public-data-latest__all {
		width: 100%;
		justify-content: center;
	}

	.public-data-document {
		padding: 14px 16px;
	}

}


/* KIS MOBIL */

@media (max-width: 420px) {

	.public-data-card {
		grid-template-columns: 44px minmax(0, 1fr) 26px;
		gap: 12px;
	}

	.public-data-card__icon {
		width: 44px;
		height: 44px;
	}

	.public-data-document {
		grid-template-columns: 40px minmax(0, 1fr) 24px;
		gap: 12px;
	}

}


/* ==========================================================================
   KÉPVISELŐ-TESTÜLET OLDAL
   ========================================================================== */

.council-page {
	background: #ffffff;
}

.council-page__container {
	width: min(calc(100% - 48px), var(--tereske-wide));
	margin-inline: auto;
}


/* HERO */

.council-page__hero {
	padding: 56px 0 52px;
	background:
		linear-gradient(
			135deg,
			#f4f8f5 0%,
			#e8f2eb 100%
		);
	border-bottom: 1px solid var(--tereske-border);
}

.council-page__eyebrow {
	margin: 0 0 10px;
	color: var(--tereske-green);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.council-page__hero h1 {
	margin: 0;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.2rem, 4vw, 3.5rem);
	line-height: 1.05;
}

.council-page__lead {
	max-width: 680px;
	margin: 16px 0 0;
	color: var(--tereske-muted);
	font-size: 1.02rem;
	line-height: 1.7;
}


/* TARTALOM */

.council-page__content {
	padding: 58px 0 66px;
}

.council-page__section-heading {
	margin-bottom: 24px;
}

.council-page__section-heading--members {
	margin-top: 50px;
}

.council-page__section-heading h2 {
	margin: 0;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.8rem, 2.8vw, 2.5rem);
	line-height: 1.15;
}


/* POLGÁRMESTER */

.council-mayor {
	min-height: 150px;
	padding: 26px 30px;
	display: flex;
	align-items: center;
	gap: 22px;
	border: 1px solid var(--tereske-border);
	border-radius: 15px;
	background:
		linear-gradient(
			135deg,
			#ffffff 0%,
			#f4f9f5 100%
		);
	box-shadow: var(--tereske-shadow-small);
}

.council-mayor__icon {
	width: 72px;
	height: 72px;
	flex: 0 0 72px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
	overflow: hidden;
}

.council-mayor__icon svg {
	display: block;
	width: 34px !important;
	height: 34px !important;
	max-width: 34px;
	max-height: 34px;
	fill: none !important;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.council-mayor__icon svg circle,
.council-mayor__icon svg path {
	fill: none !important;
	stroke: currentColor;
}

.council-mayor__content {
	min-width: 0;
	flex: 1 1 auto;
}

.council-mayor__role {
	display: block;
	margin-bottom: 5px;
	color: var(--tereske-green);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.council-mayor h3 {
	margin: 0;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.55rem;
	line-height: 1.2;
}


/* KÉPVISELŐK */

.council-members {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.council-member {
	min-height: 138px;
	padding: 22px;
	display: flex;
	align-items: center;
	gap: 18px;
	border: 1px solid var(--tereske-border);
	border-radius: 14px;
	background: #ffffff;
	box-shadow: var(--tereske-shadow-small);
}

.council-member__icon {
	width: 52px;
	height: 52px;
	flex: 0 0 52px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
	overflow: hidden;
}

.council-member__icon svg {
	display: block;
	width: 27px !important;
	height: 27px !important;
	max-width: 27px;
	max-height: 27px;
	fill: none !important;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.council-member__icon svg circle,
.council-member__icon svg path {
	fill: none !important;
	stroke: currentColor;
}

.council-member__content {
	min-width: 0;
	flex: 1 1 auto;
}

.council-member h3 {
	margin: 0;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.15rem;
	line-height: 1.25;
}

.council-member p {
	margin: 5px 0 0;
	color: var(--tereske-muted);
	font-size: 0.85rem;
}


/* VAGYONNYILATKOZAT GOMBOK */

.council-person-docs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.council-person-doc {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	width: fit-content;
	max-width: 100%;
	padding: 8px 11px;
	border: 1px solid rgba(31, 117, 66, 0.2);
	border-radius: 999px;
	background: #ffffff;
	color: var(--tereske-green-dark);
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	transition:
		background var(--tereske-transition),
		border-color var(--tereske-transition),
		transform var(--tereske-transition);
}

.council-person-doc:hover,
.council-person-doc:focus-visible {
	background: var(--tereske-green-light);
	border-color: rgba(31, 117, 66, 0.35);
	transform: translateY(-1px);
}

.council-person-doc__icon {
	display: grid;
	place-items: center;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	color: var(--tereske-green);
	overflow: hidden;
}

.council-person-doc__icon svg {
	display: block;
	width: 17px !important;
	height: 17px !important;
	max-width: 17px;
	max-height: 17px;
	fill: none !important;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.council-person-doc__icon svg path {
	fill: none !important;
	stroke: currentColor;
}


/* KAPCSOLÓDÓ LINKEK */

.council-links {
	padding: 54px 0 68px;
	background: #f8faf8;
	border-top: 1px solid var(--tereske-border);
}

.council-links__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.council-links__grid--four {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.council-link-card {
	min-height: 140px;
	padding: 21px;
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) 28px;
	align-items: center;
	gap: 15px;
	border: 1px solid var(--tereske-border);
	border-radius: 14px;
	background: #ffffff;
	color: inherit;
	text-decoration: none;
	box-shadow: var(--tereske-shadow-small);
	transition:
		transform var(--tereske-transition),
		border-color var(--tereske-transition),
		box-shadow var(--tereske-transition);
}

.council-link-card:hover,
.council-link-card:focus-visible {
	transform: translateY(-3px);
	border-color: rgba(31, 117, 66, 0.35);
	box-shadow: var(--tereske-shadow);
}

.council-link-card__icon {
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
	overflow: hidden;
}

.council-link-card__icon svg {
	display: block;
	width: 25px !important;
	height: 25px !important;
	max-width: 25px;
	max-height: 25px;
	fill: none !important;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.council-link-card__icon svg path,
.council-link-card__icon svg circle {
	fill: none !important;
	stroke: currentColor;
}

.council-link-card__content {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.council-link-card__content strong {
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.05rem;
	line-height: 1.3;
}

.council-link-card__content span {
	color: var(--tereske-muted);
	font-size: 0.8rem;
	line-height: 1.4;
}

.council-link-card__arrow {
	color: var(--tereske-green);
	font-weight: 800;
	transition: transform var(--tereske-transition);
}

.council-link-card:hover .council-link-card__arrow,
.council-link-card:focus-visible .council-link-card__arrow {
	transform: translateX(3px);
}


/* RESPONSIVE */

@media (max-width: 1150px) {

	.council-links__grid--four {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {

	.council-links__grid:not(.council-links__grid--four) {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 700px) {

	.council-page__container {
		width: min(calc(100% - 32px), var(--tereske-wide));
	}

	.council-page__hero {
		padding: 42px 0 40px;
	}

	.council-page__content {
		padding: 44px 0 50px;
	}

	.council-members,
	.council-links__grid--four {
		grid-template-columns: 1fr;
	}

	.council-mayor {
		padding: 22px;
	}

	.council-links {
		padding: 44px 0 50px;
	}
}

@media (max-width: 480px) {

	.council-mayor {
		align-items: flex-start;
	}

	.council-mayor__icon {
		width: 56px;
		height: 56px;
		flex-basis: 56px;
	}

	.council-member {
		align-items: flex-start;
	}

	.council-person-doc {
		font-size: 0.73rem;
	}
}

/* ==========================================================================
   ELÉRHETŐSÉGEK OLDAL
   ========================================================================== */

.contact-page {
	background: #ffffff;
}

.contact-page__container {
	width: min(calc(100% - 48px), var(--tereske-wide));
	margin-inline: auto;
}

.contact-page__hero {
	padding: 56px 0 52px;
	background:
		linear-gradient(
			135deg,
			#f4f8f5 0%,
			#e8f2eb 100%
		);
	border-bottom: 1px solid var(--tereske-border);
}

.contact-page__eyebrow {
	margin: 0 0 10px;
	color: var(--tereske-green);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.contact-page__hero h1 {
	margin: 0;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.2rem, 4vw, 3.5rem);
	line-height: 1.05;
}

.contact-page__lead {
	max-width: 760px;
	margin: 16px 0 0;
	color: var(--tereske-muted);
	font-size: 1.02rem;
	line-height: 1.7;
}

.contact-section-heading {
	margin-bottom: 26px;
}

.contact-section-heading h2 {
	margin: 0;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.8rem, 2.8vw, 2.5rem);
	line-height: 1.15;
}

.contact-section-heading__lead {
	max-width: 780px;
	margin: 12px 0 0;
	color: var(--tereske-muted);
	font-size: 0.92rem;
	line-height: 1.6;
}


/* ÖNKORMÁNYZATI HIVATAL */

.contact-office {
	padding: 58px 0 66px;
}

.contact-office__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.65fr);
	gap: 20px;
	align-items: stretch;
}

.contact-office__main {
	min-width: 0;
	padding: 30px;
	display: grid;
	grid-template-columns: 74px minmax(0, 1fr);
	align-items: start;
	gap: 24px;
	border: 1px solid var(--tereske-border);
	border-radius: 16px;
	background:
		linear-gradient(
			135deg,
			#ffffff 0%,
			#f7fbf8 100%
		);
	box-shadow: var(--tereske-shadow-small);
}

.contact-office__icon {
	width: 74px;
	height: 74px;
	display: grid;
	place-items: center;
	border-radius: 16px;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
}

.contact-office__icon svg {
	width: 34px;
	height: 34px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.contact-office__body {
	min-width: 0;
}

.contact-office__body h3 {
	margin: 0 0 20px;
	font-size: 1.5rem;
}

.contact-detail-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.contact-detail {
	min-width: 0;
	padding: 14px 15px;
	border: 1px solid var(--tereske-border);
	border-radius: 11px;
	background: #ffffff;
}

.contact-detail__label {
	display: block;
	margin-bottom: 4px;
	color: var(--tereske-muted);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.contact-detail a {
	overflow-wrap: anywhere;
	color: var(--tereske-green-dark);
	font-size: 0.88rem;
	font-weight: 800;
	line-height: 1.4;
}

.contact-office__people {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 24px;
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid var(--tereske-border);
}

.contact-office__people p {
	margin: 0;
	color: var(--tereske-muted);
	font-size: 0.86rem;
	line-height: 1.55;
}

.contact-office__people strong {
	color: var(--tereske-text);
}

.contact-hours {
	padding: 28px;
	border: 1px solid #dce9df;
	border-radius: 16px;
	background: var(--tereske-green-light);
}

.contact-hours__eyebrow {
	margin: 0 0 6px;
	color: var(--tereske-green);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.contact-hours h3 {
	margin: 0 0 20px;
	font-size: 1.35rem;
}

.contact-hours__rows {
	overflow: hidden;
	border: 1px solid rgba(31, 117, 66, 0.13);
	border-radius: 11px;
	background: rgba(255, 255, 255, 0.72);
}

.contact-hours__row {
	min-height: 52px;
	padding: 12px 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	border-bottom: 1px solid rgba(31, 117, 66, 0.11);
	font-size: 0.84rem;
}

.contact-hours__row:last-child {
	border-bottom: 0;
}

.contact-hours__row span {
	color: var(--tereske-muted);
}

.contact-hours__row strong {
	color: var(--tereske-text);
	white-space: nowrap;
}

.contact-hours__map {
	width: 100%;
	min-height: 45px;
	margin-top: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	border: 1px solid var(--tereske-green);
	border-radius: 999px;
	background: #ffffff;
	color: var(--tereske-green-dark);
	font-size: 0.82rem;
	font-weight: 800;
	transition:
		background var(--tereske-transition),
		transform var(--tereske-transition);
}

.contact-hours__map:hover,
.contact-hours__map:focus-visible {
	background: var(--tereske-green);
	color: #ffffff;
	transform: translateY(-1px);
}


/* HELYI SZOLGÁLTATÁSOK */

.contact-local-services {
	padding: 56px 0 68px;
	background: #f8faf8;
	border-top: 1px solid var(--tereske-border);
}

.contact-service-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.contact-service-card {
	min-width: 0;
	padding: 24px;
	border: 1px solid var(--tereske-border);
	border-radius: 15px;
	background: #ffffff;
	box-shadow: var(--tereske-shadow-small);
}

.contact-service-card__top {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	align-items: center;
	gap: 16px;
}

.contact-service-card__icon {
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
}

.contact-service-card__icon svg {
	width: 27px;
	height: 27px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.contact-service-card h3 {
	margin: 0 0 4px;
	font-size: 1.15rem;
}

.contact-service-card__address {
	color: var(--tereske-muted);
	font-size: 0.8rem;
	font-weight: 600;
}

.contact-service-card__contacts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 18px;
}

.contact-service-card__contacts a {
	min-width: 0;
	padding: 11px 12px;
	border: 1px solid var(--tereske-border);
	border-radius: 9px;
	background: #fbfdfb;
}

.contact-service-card__contacts span {
	display: block;
	margin-bottom: 2px;
	color: var(--tereske-muted);
	font-size: 0.65rem;
	font-weight: 800;
	text-transform: uppercase;
}

.contact-service-card__contacts strong {
	display: block;
	overflow-wrap: anywhere;
	color: var(--tereske-green-dark);
	font-size: 0.8rem;
	line-height: 1.35;
}

.contact-service-card__details {
	margin-top: 17px;
}

.contact-service-card__details p {
	margin: 3px 0;
	color: var(--tereske-muted);
	font-size: 0.82rem;
	line-height: 1.5;
}

.contact-service-card__subheading {
	margin: 0 0 7px;
	color: var(--tereske-text);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.contact-service-card__hours {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--tereske-border);
}

.contact-service-card__hours > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 15px;
	padding: 5px 0;
	font-size: 0.79rem;
}

.contact-service-card__hours span {
	color: var(--tereske-muted);
}

.contact-service-card__hours strong {
	color: var(--tereske-text);
	white-space: nowrap;
}

.contact-service-card__note {
	margin: 14px 0 0;
	padding: 10px 12px;
	border-radius: 8px;
	background: #f8fbf9;
	color: var(--tereske-muted);
	font-size: 0.73rem;
	line-height: 1.45;
}


/* JÁRÁSI ÜGYINTÉZÉS */

.contact-external {
	padding: 56px 0 70px;
	background: #ffffff;
	border-top: 1px solid var(--tereske-border);
}

.contact-external__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.contact-external-card {
	min-width: 0;
	padding: 23px;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--tereske-border);
	border-radius: 14px;
	background: #ffffff;
	box-shadow: var(--tereske-shadow-small);
}

.contact-external-card h3 {
	margin: 0 0 7px;
	font-size: 1.12rem;
}

.contact-external-card > p {
	margin: 0;
	color: var(--tereske-muted);
	font-size: 0.82rem;
}

.contact-external-card__links {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-top: 15px;
}

.contact-external-card__links a {
	overflow-wrap: anywhere;
	color: var(--tereske-green-dark);
	font-size: 0.81rem;
	font-weight: 700;
}

.contact-external-card__hours {
	margin-top: 16px;
	padding-top: 13px;
	border-top: 1px solid var(--tereske-border);
}

.contact-external-card__hours div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 4px 0;
	color: var(--tereske-muted);
	font-size: 0.75rem;
}

.contact-external-card__hours strong {
	color: var(--tereske-text);
	white-space: nowrap;
}

.contact-external-card__button {
	margin-top: auto;
	padding-top: 20px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--tereske-green);
	font-size: 0.82rem;
	font-weight: 800;
}


/* RESPONSIVE */

@media (max-width: 1050px) {

	.contact-office__grid {
		grid-template-columns: 1fr;
	}

	.contact-external__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 800px) {

	.contact-detail-list,
	.contact-office__people {
		grid-template-columns: 1fr;
	}

	.contact-service-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 700px) {

	.contact-page__container {
		width: min(calc(100% - 32px), var(--tereske-wide));
	}

	.contact-page__hero {
		padding: 42px 0 40px;
	}

	.contact-office,
	.contact-local-services,
	.contact-external {
		padding-top: 44px;
		padding-bottom: 50px;
	}

	.contact-office__main {
		grid-template-columns: 1fr;
		padding: 22px;
	}

	.contact-office__icon {
		width: 60px;
		height: 60px;
	}

	.contact-hours {
		padding: 22px;
	}

	.contact-external__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {

	.contact-service-card {
		padding: 19px;
	}

	.contact-service-card__contacts {
		grid-template-columns: 1fr;
	}

	.contact-hours__row,
	.contact-service-card__hours > div,
	.contact-external-card__hours div {
		align-items: flex-start;
		flex-direction: column;
		gap: 2px;
	}

	.contact-hours__row strong,
	.contact-service-card__hours strong,
	.contact-external-card__hours strong {
		white-space: normal;
	}
}

/* ==========================================================================
   POLGÁRMESTERI KÖSZÖNTŐ
   ========================================================================== */

.mayor-greeting {
	background: #ffffff;
}

.mayor-greeting__container {
	width: min(calc(100% - 48px), var(--tereske-wide));
	margin-inline: auto;
}


/* HERO */

.mayor-greeting__hero {
	padding: 56px 0 52px;
	background:
		linear-gradient(
			135deg,
			#f4f8f5 0%,
			#e8f2eb 100%
		);
	border-bottom: 1px solid var(--tereske-border);
}

.mayor-greeting__eyebrow {
	margin: 0 0 10px;
	color: var(--tereske-green);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.mayor-greeting__hero h1 {
	margin: 0;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.2rem, 4vw, 3.5rem);
	line-height: 1.05;
}

.mayor-greeting__lead {
	max-width: 720px;
	margin: 16px 0 0;
	color: var(--tereske-muted);
	font-size: 1.02rem;
	line-height: 1.7;
}


/* FŐ TARTALOM */

.mayor-greeting__content {
	padding: 64px 0 70px;
}

.mayor-greeting__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.58fr);
	gap: 30px;
	align-items: start;
}


/* KÖSZÖNTŐ */

.mayor-message {
	position: relative;
	min-width: 0;
	padding: clamp(32px, 5vw, 58px);
	overflow: hidden;
	border: 1px solid var(--tereske-border);
	border-radius: 18px;
	background:
		linear-gradient(
			135deg,
			#ffffff 0%,
			#fbfdfb 100%
		);
	box-shadow: var(--tereske-shadow-small);
}

.mayor-message__mark {
	position: absolute;
	top: 15px;
	right: 30px;
	color: rgba(31, 117, 66, 0.08);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 9rem;
	font-weight: 700;
	line-height: 1;
	pointer-events: none;
}

.mayor-message__body {
	position: relative;
	z-index: 1;
	max-width: 920px;
}

.mayor-message__body p,
.mayor-message__editor-content p {
	margin: 0 0 22px;
	color: #33463b;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.05rem, 1.3vw, 1.22rem);
	line-height: 1.85;
}

.mayor-message__body p:first-child,
.mayor-message__editor-content > p:first-child {
	color: var(--tereske-text);
	font-size: clamp(1.18rem, 1.55vw, 1.38rem);
	font-weight: 700;
}

.mayor-message__body p:last-child,
.mayor-message__editor-content > *:last-child {
	margin-bottom: 0;
}

.mayor-message__editor-content > *:first-child {
	margin-top: 0;
}

.mayor-message__editor-content a {
	color: var(--tereske-green);
	text-decoration: underline;
	text-underline-offset: 3px;
}


/* ALÁÍRÁS */

.mayor-message__signature {
	position: relative;
	z-index: 1;
	width: min(100%, 340px);
	margin: 42px 0 0 auto;
	text-align: right;
}

.mayor-message__signature-line {
	width: 76px;
	height: 2px;
	margin: 0 0 14px auto;
	background: var(--tereske-green);
}

.mayor-message__signature strong {
	display: block;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.22rem;
	line-height: 1.3;
}

.mayor-message__signature span {
	display: block;
	margin-top: 4px;
	color: var(--tereske-muted);
	font-size: 0.82rem;
	font-style: italic;
}


/* POLGÁRMESTER KÁRTYA */

.mayor-profile {
	position: sticky;
	top: 26px;
	padding: 30px;
	border: 1px solid #dce9df;
	border-radius: 18px;
	background:
		linear-gradient(
			145deg,
			#f7fbf8 0%,
			#edf6f0 100%
		);
	box-shadow: var(--tereske-shadow-small);
}

.mayor-profile__icon {
	width: 72px;
	height: 72px;
	display: grid;
	place-items: center;
	margin-bottom: 22px;
	border-radius: 50%;
	background: #ffffff;
	color: var(--tereske-green);
	box-shadow: 0 6px 20px rgba(16, 61, 34, 0.07);
}

.mayor-profile__icon svg {
	width: 34px;
	height: 34px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.65;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mayor-profile__role {
	margin: 0 0 6px;
	color: var(--tereske-green);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.mayor-profile h2 {
	margin: 0;
	font-size: 1.55rem;
	line-height: 1.2;
}

.mayor-profile__text {
	margin: 9px 0 0;
	color: var(--tereske-muted);
	font-size: 0.86rem;
	line-height: 1.55;
}

.mayor-profile__links {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid rgba(31, 117, 66, 0.13);
}

.mayor-profile__links a {
	min-height: 44px;
	padding: 9px 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	border: 1px solid rgba(31, 117, 66, 0.14);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.72);
	color: var(--tereske-green-dark);
	font-size: 0.81rem;
	font-weight: 800;
	transition:
		background var(--tereske-transition),
		border-color var(--tereske-transition),
		transform var(--tereske-transition);
}

.mayor-profile__links a:hover,
.mayor-profile__links a:focus-visible {
	background: #ffffff;
	border-color: rgba(31, 117, 66, 0.35);
	transform: translateX(2px);
}


/* ZÁRÓ BLOKK */

.mayor-greeting__closing {
	padding: 0 0 68px;
}

.mayor-closing-card {
	min-height: 100px;
	padding: 22px 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	border: 1px solid #dce9df;
	border-radius: 16px;
	background:
		linear-gradient(
			90deg,
			#f8fbf9 0%,
			#eef6f0 55%,
			#e8f2eb 100%
		);
	text-align: center;
}

.mayor-closing-card__icon {
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #ffffff;
	color: var(--tereske-green);
}

.mayor-closing-card__icon svg {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mayor-closing-card p {
	margin: 0 0 2px;
	color: var(--tereske-green);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.mayor-closing-card strong {
	color: var(--tereske-green-dark);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.2rem;
	font-style: italic;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

	.mayor-greeting__layout {
		grid-template-columns: 1fr;
	}

	.mayor-profile {
		position: static;
		display: grid;
		grid-template-columns: 72px minmax(0, 1fr);
		column-gap: 20px;
	}

	.mayor-profile__icon {
		grid-row: 1 / 4;
		margin-bottom: 0;
	}

	.mayor-profile__links {
		grid-column: 1 / -1;
	}
}

@media (max-width: 700px) {

	.mayor-greeting__container {
		width: min(calc(100% - 32px), var(--tereske-wide));
	}

	.mayor-greeting__hero {
		padding: 42px 0 40px;
	}

	.mayor-greeting__content {
		padding: 44px 0 50px;
	}

	.mayor-message {
		padding: 28px 22px;
		border-radius: 15px;
	}

	.mayor-message__mark {
		top: 12px;
		right: 18px;
		font-size: 6.5rem;
	}

	.mayor-message__signature {
		margin-top: 34px;
	}

	.mayor-profile {
		padding: 24px;
	}

	.mayor-greeting__closing {
		padding-bottom: 50px;
	}
}

@media (max-width: 480px) {

	.mayor-profile {
		display: block;
	}

	.mayor-profile__icon {
		margin-bottom: 18px;
	}

	.mayor-closing-card {
		justify-content: flex-start;
		padding: 20px;
		text-align: left;
	}
}

/* ==========================================================================
   POLGÁRMESTERI KÖSZÖNTŐ
   ========================================================================== */

.mayor-greeting {
	background: #ffffff;
}

.mayor-greeting__container {
	width: min(calc(100% - 48px), var(--tereske-wide));
	margin-inline: auto;
}


/* HERO */

.mayor-greeting__hero {
	padding: 56px 0 52px;
	background:
		linear-gradient(
			135deg,
			#f4f8f5 0%,
			#e8f2eb 100%
		);
	border-bottom: 1px solid var(--tereske-border);
}

.mayor-greeting__eyebrow {
	margin: 0 0 10px;
	color: var(--tereske-green);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.mayor-greeting__hero h1 {
	margin: 0;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.2rem, 4vw, 3.5rem);
	line-height: 1.05;
}

.mayor-greeting__lead {
	max-width: 720px;
	margin: 16px 0 0;
	color: var(--tereske-muted);
	font-size: 1.02rem;
	line-height: 1.7;
}


/* FŐ TARTALOM */

.mayor-greeting__content {
	padding: 64px 0 70px;
}

.mayor-greeting__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.58fr);
	gap: 30px;
	align-items: start;
}


/* KÖSZÖNTŐ */

.mayor-message {
	position: relative;
	min-width: 0;
	padding: clamp(32px, 5vw, 58px);
	overflow: hidden;
	border: 1px solid var(--tereske-border);
	border-radius: 18px;
	background:
		linear-gradient(
			135deg,
			#ffffff 0%,
			#fbfdfb 100%
		);
	box-shadow: var(--tereske-shadow-small);
}

.mayor-message__mark {
	position: absolute;
	top: 15px;
	right: 30px;
	color: rgba(31, 117, 66, 0.08);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 9rem;
	font-weight: 700;
	line-height: 1;
	pointer-events: none;
}

.mayor-message__body {
	position: relative;
	z-index: 1;
	max-width: 920px;
}

.mayor-message__body p,
.mayor-message__editor-content p {
	margin: 0 0 22px;
	color: #33463b;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.05rem, 1.3vw, 1.22rem);
	line-height: 1.85;
}

.mayor-message__body p:first-child,
.mayor-message__editor-content > p:first-child {
	color: var(--tereske-text);
	font-size: clamp(1.18rem, 1.55vw, 1.38rem);
	font-weight: 700;
}

.mayor-message__body p:last-child,
.mayor-message__editor-content > *:last-child {
	margin-bottom: 0;
}

.mayor-message__editor-content > *:first-child {
	margin-top: 0;
}

.mayor-message__editor-content a {
	color: var(--tereske-green);
	text-decoration: underline;
	text-underline-offset: 3px;
}


/* ALÁÍRÁS */

.mayor-message__signature {
	position: relative;
	z-index: 1;
	width: min(100%, 340px);
	margin: 42px 0 0 auto;
	text-align: right;
}

.mayor-message__signature-line {
	width: 76px;
	height: 2px;
	margin: 0 0 14px auto;
	background: var(--tereske-green);
}

.mayor-message__signature strong {
	display: block;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.22rem;
	line-height: 1.3;
}

.mayor-message__signature span {
	display: block;
	margin-top: 4px;
	color: var(--tereske-muted);
	font-size: 0.82rem;
	font-style: italic;
}


/* POLGÁRMESTER KÁRTYA */

.mayor-profile {
	position: sticky;
	top: 26px;
	padding: 30px;
	border: 1px solid #dce9df;
	border-radius: 18px;
	background:
		linear-gradient(
			145deg,
			#f7fbf8 0%,
			#edf6f0 100%
		);
	box-shadow: var(--tereske-shadow-small);
}

.mayor-profile__icon {
	width: 72px;
	height: 72px;
	display: grid;
	place-items: center;
	margin-bottom: 22px;
	border-radius: 50%;
	background: #ffffff;
	color: var(--tereske-green);
	box-shadow: 0 6px 20px rgba(16, 61, 34, 0.07);
}

.mayor-profile__icon svg {
	width: 34px;
	height: 34px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.65;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mayor-profile__role {
	margin: 0 0 6px;
	color: var(--tereske-green);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.mayor-profile h2 {
	margin: 0;
	font-size: 1.55rem;
	line-height: 1.2;
}

.mayor-profile__text {
	margin: 9px 0 0;
	color: var(--tereske-muted);
	font-size: 0.86rem;
	line-height: 1.55;
}

.mayor-profile__links {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid rgba(31, 117, 66, 0.13);
}

.mayor-profile__links a {
	min-height: 44px;
	padding: 9px 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	border: 1px solid rgba(31, 117, 66, 0.14);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.72);
	color: var(--tereske-green-dark);
	font-size: 0.81rem;
	font-weight: 800;
	transition:
		background var(--tereske-transition),
		border-color var(--tereske-transition),
		transform var(--tereske-transition);
}

.mayor-profile__links a:hover,
.mayor-profile__links a:focus-visible {
	background: #ffffff;
	border-color: rgba(31, 117, 66, 0.35);
	transform: translateX(2px);
}


/* ZÁRÓ BLOKK */

.mayor-greeting__closing {
	padding: 0 0 68px;
}

.mayor-closing-card {
	min-height: 100px;
	padding: 22px 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	border: 1px solid #dce9df;
	border-radius: 16px;
	background:
		linear-gradient(
			90deg,
			#f8fbf9 0%,
			#eef6f0 55%,
			#e8f2eb 100%
		);
	text-align: center;
}

.mayor-closing-card__icon {
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #ffffff;
	color: var(--tereske-green);
}

.mayor-closing-card__icon svg {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.mayor-closing-card p {
	margin: 0 0 2px;
	color: var(--tereske-green);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.mayor-closing-card strong {
	color: var(--tereske-green-dark);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.2rem;
	font-style: italic;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

	.mayor-greeting__layout {
		grid-template-columns: 1fr;
	}

	.mayor-profile {
		position: static;
		display: grid;
		grid-template-columns: 72px minmax(0, 1fr);
		column-gap: 20px;
	}

	.mayor-profile__icon {
		grid-row: 1 / 4;
		margin-bottom: 0;
	}

	.mayor-profile__links {
		grid-column: 1 / -1;
	}
}

@media (max-width: 700px) {

	.mayor-greeting__container {
		width: min(calc(100% - 32px), var(--tereske-wide));
	}

	.mayor-greeting__hero {
		padding: 42px 0 40px;
	}

	.mayor-greeting__content {
		padding: 44px 0 50px;
	}

	.mayor-message {
		padding: 28px 22px;
		border-radius: 15px;
	}

	.mayor-message__mark {
		top: 12px;
		right: 18px;
		font-size: 6.5rem;
	}

	.mayor-message__signature {
		margin-top: 34px;
	}

	.mayor-profile {
		padding: 24px;
	}

	.mayor-greeting__closing {
		padding-bottom: 50px;
	}
}

@media (max-width: 480px) {

	.mayor-profile {
		display: block;
	}

	.mayor-profile__icon {
		margin-bottom: 18px;
	}

	.mayor-closing-card {
		justify-content: flex-start;
		padding: 20px;
		text-align: left;
	}
}

/* ==========================================================================
   ÖNKORMÁNYZAT FŐOLDAL
   ========================================================================== */

.municipality-page {
	background: #ffffff;
}

.municipality-page__container {
	width: min(calc(100% - 48px), var(--tereske-wide));
	margin-inline: auto;
}


/* HERO */

.municipality-page__hero {
	padding: 56px 0 52px;
	background:
		linear-gradient(
			135deg,
			#f4f8f5 0%,
			#e8f2eb 100%
		);
	border-bottom: 1px solid var(--tereske-border);
}

.municipality-page__eyebrow {
	margin: 0 0 10px;
	color: var(--tereske-green);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.municipality-page__hero h1 {
	margin: 0;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.2rem, 4vw, 3.5rem);
	line-height: 1.05;
}

.municipality-page__lead {
	max-width: 760px;
	margin: 16px 0 0;
	color: var(--tereske-muted);
	font-size: 1.02rem;
	line-height: 1.7;
}


/* ÁLTALÁNOS CÍMEK */

.municipality-section-heading {
	max-width: 760px;
	margin-bottom: 28px;
}

.municipality-section-heading h2 {
	margin: 0;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.8rem, 2.8vw, 2.5rem);
	line-height: 1.15;
}

.municipality-section-heading > p:last-child {
	margin: 12px 0 0;
	color: var(--tereske-muted);
	font-size: 0.94rem;
	line-height: 1.6;
}


/* FŐ KÁRTYÁK */

.municipality-main {
	padding: 58px 0 64px;
}

.municipality-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.municipality-feature-card {
	min-height: 220px;
	padding: 26px;
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr) 28px;
	align-items: start;
	gap: 18px;
	border: 1px solid var(--tereske-border);
	border-radius: 16px;
	background: #ffffff;
	color: inherit;
	text-decoration: none;
	box-shadow: var(--tereske-shadow-small);
	transition:
		transform var(--tereske-transition),
		border-color var(--tereske-transition),
		box-shadow var(--tereske-transition);
}

.municipality-feature-card:hover,
.municipality-feature-card:focus-visible {
	transform: translateY(-4px);
	border-color: rgba(31, 117, 66, 0.35);
	box-shadow: var(--tereske-shadow);
}

.municipality-feature-card__icon {
	width: 58px;
	height: 58px;
	display: grid;
	place-items: center;
	border-radius: 14px;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
}

.municipality-feature-card__icon svg {
	width: 29px;
	height: 29px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.municipality-feature-card__content {
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.municipality-feature-card__eyebrow {
	margin-bottom: 7px;
	color: var(--tereske-green);
	font-size: 0.66rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.municipality-feature-card__content strong {
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.3rem;
	line-height: 1.2;
}

.municipality-feature-card__content > span:last-child {
	margin-top: 9px;
	color: var(--tereske-muted);
	font-size: 0.86rem;
	line-height: 1.55;
}

.municipality-feature-card__arrow {
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
	font-weight: 800;
	transition:
		transform var(--tereske-transition),
		background var(--tereske-transition),
		color var(--tereske-transition);
}

.municipality-feature-card:hover .municipality-feature-card__arrow,
.municipality-feature-card:focus-visible .municipality-feature-card__arrow {
	transform: translateX(3px);
	background: var(--tereske-green);
	color: #ffffff;
}


/* ALAPADATOK */

.municipality-info {
	padding: 56px 0 64px;
	background: #f8faf8;
	border-top: 1px solid var(--tereske-border);
	border-bottom: 1px solid var(--tereske-border);
}

.municipality-info__grid {
	display: grid;
	grid-template-columns: 1.25fr 0.75fr;
	gap: 18px;
}

.municipality-info-card {
	min-width: 0;
	padding: 28px;
	border: 1px solid var(--tereske-border);
	border-radius: 16px;
	background: #ffffff;
	box-shadow: var(--tereske-shadow-small);
}

.municipality-info-card--green {
	background:
		linear-gradient(
			135deg,
			#f4f9f5 0%,
			#eaf4ed 100%
		);
	border-color: #dce9df;
}

.municipality-info-card__eyebrow {
	margin: 0 0 8px;
	color: var(--tereske-green);
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.municipality-info-card h2 {
	margin: 0;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.55rem;
	line-height: 1.25;
}

.municipality-info-card__text {
	margin: 12px 0 0;
	color: var(--tereske-muted);
	font-size: 0.9rem;
	line-height: 1.55;
}

.municipality-info-card__rows {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 22px;
}

.municipality-info-card__rows > div {
	min-width: 0;
	padding: 14px;
	border: 1px solid var(--tereske-border);
	border-radius: 10px;
	background: #fbfdfb;
}

.municipality-info-card__rows span {
	display: block;
	margin-bottom: 4px;
	color: var(--tereske-muted);
	font-size: 0.67rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.municipality-info-card__rows strong,
.municipality-info-card__rows a {
	overflow-wrap: anywhere;
	color: var(--tereske-text);
	font-size: 0.84rem;
	font-weight: 800;
	line-height: 1.45;
}

.municipality-info-card__rows a {
	color: var(--tereske-green-dark);
}

.municipality-info-card__button {
	margin-top: 22px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--tereske-green);
	font-size: 0.84rem;
	font-weight: 800;
}


/* GYORS LINKEK */

.municipality-links {
	padding: 56px 0 70px;
}

.municipality-links__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.municipality-link-card {
	min-height: 118px;
	padding: 20px;
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) 24px;
	align-items: center;
	gap: 15px;
	border: 1px solid var(--tereske-border);
	border-radius: 14px;
	background: #ffffff;
	color: inherit;
	text-decoration: none;
	box-shadow: var(--tereske-shadow-small);
	transition:
		transform var(--tereske-transition),
		border-color var(--tereske-transition);
}

.municipality-link-card:hover,
.municipality-link-card:focus-visible {
	transform: translateY(-2px);
	border-color: rgba(31, 117, 66, 0.35);
}

.municipality-link-card__icon {
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
}

.municipality-link-card__icon svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.municipality-link-card > span:nth-child(2) {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.municipality-link-card strong {
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.02rem;
}

.municipality-link-card small {
	color: var(--tereske-muted);
	font-size: 0.77rem;
	line-height: 1.4;
}

.municipality-link-card b {
	color: var(--tereske-green);
	font-size: 1rem;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

	.municipality-feature-grid {
		grid-template-columns: 1fr;
	}

	.municipality-feature-card {
		min-height: 150px;
	}

	.municipality-info__grid {
		grid-template-columns: 1fr;
	}

	.municipality-links__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 700px) {

	.municipality-page__container {
		width: min(calc(100% - 32px), var(--tereske-wide));
	}

	.municipality-page__hero {
		padding: 42px 0 40px;
	}

	.municipality-main,
	.municipality-info,
	.municipality-links {
		padding-top: 44px;
		padding-bottom: 50px;
	}

	.municipality-info-card__rows {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {

	.municipality-feature-card {
		grid-template-columns: 52px minmax(0, 1fr) 24px;
		padding: 20px;
		gap: 13px;
	}

	.municipality-feature-card__icon {
		width: 52px;
		height: 52px;
	}

	.municipality-info-card {
		padding: 22px;
	}
}

/* ==========================================================================
   TERESKÉRŐL FŐOLDAL
   ========================================================================== */

.about-village {
	background: #ffffff;
}

.about-village__container {
	width: min(calc(100% - 48px), var(--tereske-wide));
	margin-inline: auto;
}


/* HERO */

.about-village__hero {
	padding: 56px 0 52px;
	background:
		linear-gradient(
			135deg,
			#f4f8f5 0%,
			#e8f2eb 100%
		);
	border-bottom: 1px solid var(--tereske-border);
}

.about-village__eyebrow {
	margin: 0 0 10px;
	color: var(--tereske-green);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.about-village__hero h1 {
	margin: 0;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.2rem, 4vw, 3.5rem);
	line-height: 1.05;
}

.about-village__lead {
	max-width: 760px;
	margin: 16px 0 0;
	color: var(--tereske-muted);
	font-size: 1.02rem;
	line-height: 1.7;
}


/* BEVEZETŐ */

.about-village__intro {
	padding: 58px 0 54px;
}

.about-village-intro {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
	gap: 32px;
	align-items: stretch;
}

.about-village-intro__copy {
	max-width: 820px;
}

.about-village-intro__copy h2 {
	margin: 0;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.8rem, 2.8vw, 2.5rem);
	line-height: 1.15;
}

.about-village-intro__copy > p:not(.section-eyebrow) {
	margin: 14px 0 0;
	color: var(--tereske-muted);
	font-size: 0.96rem;
	line-height: 1.75;
}

.about-village-intro__quote {
	position: relative;
	min-height: 190px;
	padding: 30px;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	border: 1px solid #dce9df;
	border-radius: 18px;
	background:
		linear-gradient(
			145deg,
			#eef6f0 0%,
			#e5f0e8 100%
		);
}

.about-village-intro__quote-mark {
	position: absolute;
	top: -12px;
	right: 18px;
	color: rgba(31, 117, 66, 0.10);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 9rem;
	line-height: 1;
}

.about-village-intro__quote p {
	position: relative;
	z-index: 1;
	margin: 0;
	color: var(--tereske-green-dark);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.35rem, 2.2vw, 2rem);
	font-style: italic;
	font-weight: 700;
	line-height: 1.25;
}


/* FŐ KÁRTYÁK */

.about-village__cards {
	padding: 0 0 66px;
}

.about-village-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.about-village-card {
	min-height: 220px;
	padding: 26px;
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr) 28px;
	align-items: start;
	gap: 18px;
	border: 1px solid var(--tereske-border);
	border-radius: 16px;
	background: #ffffff;
	color: inherit;
	text-decoration: none;
	box-shadow: var(--tereske-shadow-small);
	transition:
		transform var(--tereske-transition),
		border-color var(--tereske-transition),
		box-shadow var(--tereske-transition);
}

.about-village-card:hover,
.about-village-card:focus-visible {
	transform: translateY(-4px);
	border-color: rgba(31, 117, 66, 0.35);
	box-shadow: var(--tereske-shadow);
}

.about-village-card__icon {
	width: 58px;
	height: 58px;
	display: grid;
	place-items: center;
	border-radius: 14px;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
}

.about-village-card__icon svg {
	width: 29px;
	height: 29px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.about-village-card__content {
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.about-village-card__eyebrow {
	margin-bottom: 7px;
	color: var(--tereske-green);
	font-size: 0.66rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.about-village-card__content strong {
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.3rem;
	line-height: 1.2;
}

.about-village-card__content > span:last-child {
	margin-top: 9px;
	color: var(--tereske-muted);
	font-size: 0.86rem;
	line-height: 1.55;
}

.about-village-card__arrow {
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
	font-weight: 800;
	transition:
		transform var(--tereske-transition),
		background var(--tereske-transition),
		color var(--tereske-transition);
}

.about-village-card:hover .about-village-card__arrow,
.about-village-card:focus-visible .about-village-card__arrow {
	transform: translateX(3px);
	background: var(--tereske-green);
	color: #ffffff;
}


/* ZÁRÓ BLOKK */

.about-village__closing {
	padding: 56px 0 68px;
	background: #f8faf8;
	border-top: 1px solid var(--tereske-border);
}

.about-village-closing {
	min-height: 110px;
	padding: 24px 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	border: 1px solid #dce9df;
	border-radius: 16px;
	background:
		linear-gradient(
			90deg,
			#ffffff 0%,
			#eef6f0 100%
		);
	text-align: center;
}

.about-village-closing__icon {
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
}

.about-village-closing__icon svg {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.about-village-closing p {
	margin: 0 0 3px;
	color: var(--tereske-green);
	font-size: 0.7rem;
	font-weight: 900;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.about-village-closing strong {
	color: var(--tereske-green-dark);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.25rem;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

	.about-village-intro {
		grid-template-columns: 1fr;
	}

	.about-village-grid {
		grid-template-columns: 1fr;
	}

	.about-village-card {
		min-height: 150px;
	}
}

@media (max-width: 700px) {

	.about-village__container {
		width: min(calc(100% - 32px), var(--tereske-wide));
	}

	.about-village__hero {
		padding: 42px 0 40px;
	}

	.about-village__intro,
	.about-village__closing {
		padding-top: 44px;
		padding-bottom: 50px;
	}

	.about-village__cards {
		padding-bottom: 50px;
	}
}

@media (max-width: 480px) {

	.about-village-card {
		grid-template-columns: 52px minmax(0, 1fr) 24px;
		padding: 20px;
		gap: 13px;
	}

	.about-village-card__icon {
		width: 52px;
		height: 52px;
	}

	.about-village-closing {
		justify-content: flex-start;
		padding: 20px;
		text-align: left;
	}
}
/* ==========================================================================
   TERESKÉRŐL – ALOLDALAK
   Tereske története / Látnivalók / Galéria
   ========================================================================== */

.about-subpage-container {
    width: min(calc(100% - 48px), var(--tereske-wide));
    margin-inline: auto;
}

.about-subpage-hero {
    padding: 56px 0 52px;
    background: linear-gradient(135deg, #f4f8f5 0%, #e8f2eb 100%);
    border-bottom: 1px solid var(--tereske-border);
}

.about-subpage-eyebrow {
    margin: 0 0 10px;
    color: var(--tereske-green);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.about-subpage-hero h1 {
    margin: 0;
    color: var(--tereske-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.05;
}

.about-subpage-lead {
    max-width: 780px;
    margin: 16px 0 0;
    color: var(--tereske-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.about-subpage-empty {
    padding: 28px;
    border: 1px dashed rgba(31, 117, 66, .28);
    border-radius: 14px;
    background: #f8fbf9;
    color: var(--tereske-muted);
    text-align: center;
}

.about-subpage-empty p { margin: 0; }

.about-subpage-links {
    padding: 52px 0 68px;
    background: #f8faf8;
    border-top: 1px solid var(--tereske-border);
}

.about-subpage-links__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.about-subpage-links__grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-subpage-links__grid a {
    min-height: 100px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    border: 1px solid var(--tereske-border);
    border-radius: 14px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: var(--tereske-shadow-small);
    transition: transform var(--tereske-transition), border-color var(--tereske-transition);
}

.about-subpage-links__grid a:hover,
.about-subpage-links__grid a:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(31, 117, 66, .35);
}

.about-subpage-links__grid strong {
    color: var(--tereske-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
}

.about-subpage-links__grid span {
    color: var(--tereske-green);
    font-size: .78rem;
    font-weight: 800;
}

.about-subpage-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--tereske-green);
    font-size: .8rem;
    font-weight: 800;
}

/* --- Tereske története --- */

.village-history { background: #fff; }

.village-history__content { padding: 58px 0 70px; }

.village-history__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 42px;
    align-items: start;
}

.village-history__article {
    min-width: 0;
    max-width: 900px;
}

.village-history__article h2 {
    scroll-margin-top: 30px;
    margin: 48px 0 16px;
    padding-top: 4px;
    color: var(--tereske-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 2.4vw, 2.15rem);
    line-height: 1.2;
}

.village-history__article h2:first-child { margin-top: 0; }

.village-history__article h3 {
    scroll-margin-top: 30px;
    margin: 34px 0 12px;
    color: var(--tereske-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
}

.village-history__article p,
.village-history__article li {
    color: #46564d;
    font-size: .96rem;
    line-height: 1.82;
}

.village-history__article p { margin: 0 0 17px; }

.village-history__article ol,
.village-history__article ul {
    margin: 12px 0 22px;
    padding-left: 24px;
}

.village-history__article strong { color: var(--tereske-text); }

.history-related-link a {
    display: inline-flex;
    padding: 8px 13px;
    border: 1px solid rgba(31, 117, 66, .2);
    border-radius: 999px;
    color: var(--tereske-green);
    font-size: .8rem;
    font-weight: 800;
}

.village-history__sidebar {
    position: sticky;
    top: 28px;
}

.village-history__toc {
    padding: 22px;
    border: 1px solid #dce9df;
    border-radius: 15px;
    background: #f8fbf9;
}

.village-history__toc-label {
    margin: 0 0 13px;
    color: var(--tereske-green);
    font-size: .69rem;
    font-weight: 900;
    letter-spacing: .1em;
}

.village-history__toc nav {
    display: flex;
    flex-direction: column;
}

.village-history__toc a {
    padding: 8px 0;
    border-bottom: 1px solid rgba(31, 117, 66, .1);
    color: var(--tereske-muted);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.35;
}

.village-history__toc a:last-child { border-bottom: 0; }
.village-history__toc a:hover { color: var(--tereske-green); }

.village-history__source-note {
    margin-top: 46px;
    padding: 18px 20px;
    border-left: 3px solid var(--tereske-green);
    border-radius: 0 10px 10px 0;
    background: #f8fbf9;
}

.village-history__source-note strong {
    color: var(--tereske-green-dark);
    font-size: .82rem;
}

.village-history__source-note p {
    margin: 5px 0 0;
    color: var(--tereske-muted);
    font-size: .78rem;
    line-height: 1.55;
}

/* --- Látnivalók --- */

.sights-page { background: #fff; }

.sights-page__overview { padding: 54px 0; }

.sights-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.sight-overview-card {
    min-height: 126px;
    padding: 19px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 13px;
    border: 1px solid var(--tereske-border);
    border-radius: 14px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: var(--tereske-shadow-small);
}

.sight-overview-card--active {
    transition: transform var(--tereske-transition), border-color var(--tereske-transition);
}

.sight-overview-card--active:hover,
.sight-overview-card--active:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(31, 117, 66, .35);
}

.sight-overview-card--pending { background: #fbfcfb; }

.sight-overview-card__icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--tereske-green-light);
    color: var(--tereske-green);
}

.sight-overview-card__icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sight-overview-card > span:nth-child(2) {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sight-overview-card small {
    color: var(--tereske-green);
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .07em;
}

.sight-overview-card strong {
    color: var(--tereske-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
}

.sight-overview-card em {
    color: var(--tereske-muted);
    font-size: .7rem;
    font-style: normal;
}

.sight-overview-card b { color: var(--tereske-green); }

.sights-page__temple {
    scroll-margin-top: 30px;
    padding: 58px 0 70px;
    background: #f8faf8;
    border-top: 1px solid var(--tereske-border);
}

.sights-temple-heading {
    max-width: 780px;
    margin-bottom: 28px;
}

.sights-temple-heading h2 {
    margin: 0;
    color: var(--tereske-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.9rem, 3vw, 2.65rem);
}

.sights-temple-heading > p:last-child {
    margin: 12px 0 0;
    color: var(--tereske-muted);
    line-height: 1.65;
}

.sights-temple-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 36px;
}

.sights-temple-gallery a {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    background: #e9efeb;
    box-shadow: var(--tereske-shadow-small);
}

.sights-temple-gallery img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .3s ease;
}

.sights-temple-gallery a:hover img { transform: scale(1.025); }

.sights-temple-article {
    max-width: 930px;
    padding: clamp(26px, 4vw, 44px);
    border: 1px solid var(--tereske-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--tereske-shadow-small);
}

.sights-temple-article h2 {
    margin: 0 0 20px;
    color: var(--tereske-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
}

.sights-temple-article p,
.sights-temple-article li {
    color: #46564d;
    font-size: .95rem;
    line-height: 1.8;
}

.sights-temple-article p { margin: 0 0 17px; }

.sights-temple-article a {
    color: var(--tereske-green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --- Galéria --- */

.village-gallery { background: #fff; }
.village-gallery__content { padding: 58px 0 70px; }

.village-gallery__heading {
    margin-bottom: 26px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.village-gallery__heading h2 {
    margin: 0;
    color: var(--tereske-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 2.8vw, 2.5rem);
}

.village-gallery__heading > div > p:last-child {
    margin: 10px 0 0;
    color: var(--tereske-muted);
    font-size: .9rem;
}

.village-gallery__count {
    flex: 0 0 auto;
    padding: 8px 13px;
    border: 1px solid rgba(31, 117, 66, .18);
    border-radius: 999px;
    background: var(--tereske-green-light);
    color: var(--tereske-green-dark);
    font-size: .76rem;
    font-weight: 800;
}

.village-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.village-gallery__item {
    position: relative;
    overflow: hidden;
    padding: 0;
    aspect-ratio: 16 / 11;
    border: 0;
    border-radius: 14px;
    background: #e9efeb;
    cursor: zoom-in;
    box-shadow: var(--tereske-shadow-small);
}

.village-gallery__item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .32s ease;
}

.village-gallery__item > span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    color: var(--tereske-green);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .2s ease, transform .2s ease;
}

.village-gallery__item > span svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.village-gallery__item:hover img,
.village-gallery__item:focus-visible img { transform: scale(1.035); }

.village-gallery__item:hover > span,
.village-gallery__item:focus-visible > span {
    opacity: 1;
    transform: translateY(0);
}

.village-gallery-lightbox {
    width: min(92vw, 1100px);
    max-height: 92vh;
    padding: 16px;
    border: 0;
    border-radius: 16px;
    background: #0d1510;
    color: #fff;
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

.village-gallery-lightbox::backdrop { background: rgba(0,0,0,.78); }

.village-gallery-lightbox img {
    width: 100%;
    max-height: 78vh;
    display: block;
    object-fit: contain;
    border-radius: 10px;
}

.village-gallery-lightbox p {
    margin: 12px 46px 0 4px;
    color: rgba(255,255,255,.78);
    font-size: .82rem;
}

.village-gallery-lightbox__close {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: #17251c;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.village-gallery__editor-content {
    margin-top: 38px;
    padding-top: 30px;
    border-top: 1px solid var(--tereske-border);
}

@media (max-width: 1100px) {
    .sights-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .village-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .village-history__layout { grid-template-columns: 1fr; }
    .village-history__article { max-width: none; }
    .village-history__sidebar { position: static; }
    .village-history__toc nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
    .about-subpage-links__grid--three { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .about-subpage-container { width: min(calc(100% - 32px), var(--tereske-wide)); }
    .about-subpage-hero { padding: 42px 0 40px; }
    .village-history__content,
    .sights-page__temple,
    .village-gallery__content { padding-top: 44px; padding-bottom: 50px; }
    .about-subpage-links { padding-top: 42px; padding-bottom: 50px; }
    .about-subpage-links__grid { grid-template-columns: 1fr; }
    .sights-temple-gallery { grid-template-columns: 1fr; }
    .village-gallery__heading { align-items: flex-start; flex-direction: column; gap: 14px; }
}

@media (max-width: 560px) {
    .sights-overview-grid,
    .village-gallery__grid { grid-template-columns: 1fr; }
    .village-history__toc nav { grid-template-columns: 1fr; }
}

/* ==========================================================================
   ÜGYINTÉZÉS OLDAL
   ========================================================================== */

.administration-page {
	background: #ffffff;
}

.administration-page__container {
	width: min(calc(100% - 48px), var(--tereske-wide));
	margin-inline: auto;
}


/* HERO */

.administration-page__hero {
	padding: 56px 0 52px;
	background:
		linear-gradient(
			135deg,
			#f4f8f5 0%,
			#e8f2eb 100%
		);
	border-bottom: 1px solid var(--tereske-border);
}

.administration-page__eyebrow {
	margin: 0 0 10px;
	color: var(--tereske-green);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.administration-page__hero h1 {
	margin: 0;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.2rem, 4vw, 3.5rem);
	line-height: 1.05;
}

.administration-page__lead {
	max-width: 780px;
	margin: 16px 0 0;
	color: var(--tereske-muted);
	font-size: 1.02rem;
	line-height: 1.7;
}


/* FEJLÉCEK */

.administration-section-heading {
	max-width: 800px;
	margin-bottom: 28px;
}

.administration-section-heading h2,
.administration-forms__heading h2 {
	margin: 0;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.8rem, 2.8vw, 2.5rem);
	line-height: 1.15;
}

.administration-section-heading > p:last-child {
	margin: 12px 0 0;
	color: var(--tereske-muted);
	font-size: 0.94rem;
	line-height: 1.6;
}


/* ONLINE ÜGYINTÉZÉS */

.administration-main {
	padding: 58px 0 64px;
}

.administration-online-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.administration-online-card {
	min-height: 210px;
	padding: 25px;
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) 28px;
	align-items: start;
	gap: 17px;
	border: 1px solid var(--tereske-border);
	border-radius: 16px;
	background: #ffffff;
	color: inherit;
	text-decoration: none;
	box-shadow: var(--tereske-shadow-small);
	transition:
		transform var(--tereske-transition),
		border-color var(--tereske-transition),
		box-shadow var(--tereske-transition);
}

.administration-online-card--primary {
	background:
		linear-gradient(
			145deg,
			#f8fcf9 0%,
			#edf6f0 100%
		);
	border-color: #d7e8dc;
}

.administration-online-card:hover,
.administration-online-card:focus-visible {
	transform: translateY(-4px);
	border-color: rgba(31, 117, 66, 0.35);
	box-shadow: var(--tereske-shadow);
}

.administration-online-card__icon {
	width: 56px;
	height: 56px;
	display: grid;
	place-items: center;
	border-radius: 14px;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
}

.administration-online-card__icon svg {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.administration-online-card__body {
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.administration-online-card__eyebrow {
	margin-bottom: 7px;
	color: var(--tereske-green);
	font-size: 0.65rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.administration-online-card__body strong {
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.25rem;
	line-height: 1.25;
}

.administration-online-card__body > span:last-child {
	margin-top: 9px;
	color: var(--tereske-muted);
	font-size: 0.84rem;
	line-height: 1.55;
}

.administration-online-card__arrow {
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
	font-weight: 800;
}

.administration-note {
	margin-top: 18px;
	padding: 17px 20px;
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	align-items: start;
	gap: 14px;
	border: 1px solid #e7dfbf;
	border-radius: 12px;
	background: #fffdf5;
}

.administration-note__icon {
	width: 32px;
	height: 32px;
	display: grid;
	place-items: center;
	color: #7d6a1e;
}

.administration-note__icon svg {
	width: 23px;
	height: 23px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.administration-note strong {
	display: block;
	margin-bottom: 3px;
	color: #514712;
	font-size: 0.82rem;
}

.administration-note p {
	margin: 0;
	color: #6e6540;
	font-size: 0.8rem;
	line-height: 1.55;
}


/* ÜGYTÍPUSOK */

.administration-categories {
	padding: 56px 0 66px;
	background: #f8faf8;
	border-top: 1px solid var(--tereske-border);
	border-bottom: 1px solid var(--tereske-border);
}

.administration-category-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.administration-category-card {
	min-width: 0;
	padding: 24px;
	border: 1px solid var(--tereske-border);
	border-radius: 15px;
	background: #ffffff;
	box-shadow: var(--tereske-shadow-small);
}

.administration-category-card__icon {
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	margin-bottom: 18px;
	border-radius: 12px;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
}

.administration-category-card__icon svg {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.administration-category-card h3 {
	margin: 0;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.15rem;
}

.administration-category-card p {
	margin: 9px 0 16px;
	color: var(--tereske-muted);
	font-size: 0.84rem;
	line-height: 1.55;
}

.administration-category-card a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--tereske-green);
	font-size: 0.8rem;
	font-weight: 800;
}


/* HIVATAL */

.administration-office {
	padding: 58px 0 66px;
}

.administration-office__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
	gap: 18px;
}

.administration-office__card,
.administration-office__hours {
	padding: 28px;
	border: 1px solid var(--tereske-border);
	border-radius: 16px;
	box-shadow: var(--tereske-shadow-small);
}

.administration-office__card {
	background: #ffffff;
}

.administration-office__eyebrow,
.administration-office__hours > p {
	margin: 0 0 7px;
	color: var(--tereske-green);
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.administration-office__card h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.45rem, 2.3vw, 2rem);
	line-height: 1.25;
}

.administration-office__details {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 22px;
}

.administration-office__details > div {
	padding: 13px 14px;
	border: 1px solid var(--tereske-border);
	border-radius: 10px;
	background: #fbfdfb;
}

.administration-office__details span {
	display: block;
	margin-bottom: 3px;
	color: var(--tereske-muted);
	font-size: 0.65rem;
	font-weight: 800;
	text-transform: uppercase;
}

.administration-office__details strong,
.administration-office__details a {
	overflow-wrap: anywhere;
	color: var(--tereske-text);
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.4;
}

.administration-office__details a {
	color: var(--tereske-green-dark);
}

.administration-office__hours {
	background: var(--tereske-green-light);
	border-color: #dce9df;
}

.administration-office__hours > div {
	min-height: 47px;
	padding: 10px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border-bottom: 1px solid rgba(31, 117, 66, 0.12);
	font-size: 0.82rem;
}

.administration-office__hours > div span {
	color: var(--tereske-muted);
}

.administration-office__hours > div strong {
	color: var(--tereske-text);
	white-space: nowrap;
}

.administration-office__hours > a {
	margin-top: 16px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--tereske-green);
	font-size: 0.8rem;
	font-weight: 800;
}


/* NYOMTATVÁNYOK */

.administration-forms {
	padding: 56px 0 68px;
	background: #f8faf8;
	border-top: 1px solid var(--tereske-border);
}

.administration-forms__heading {
	margin-bottom: 24px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
}

.administration-forms__all {
	flex: 0 0 auto;
	padding: 9px 14px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid rgba(31, 117, 66, 0.22);
	border-radius: 999px;
	background: #ffffff;
	color: var(--tereske-green-dark);
	font-size: 0.82rem;
	font-weight: 800;
}

.administration-form-list {
	overflow: hidden;
	border: 1px solid var(--tereske-border);
	border-radius: 14px;
	background: #ffffff;
	box-shadow: var(--tereske-shadow-small);
}

.administration-form {
	min-height: 82px;
	padding: 14px 19px;
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) 28px;
	align-items: center;
	gap: 14px;
	border-bottom: 1px solid var(--tereske-border);
	color: inherit;
	text-decoration: none;
	transition: background var(--tereske-transition);
}

.administration-form:last-child {
	border-bottom: 0;
}

.administration-form:hover,
.administration-form:focus-visible {
	background: #fbfdfb;
}

.administration-form__icon {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
}

.administration-form__icon svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.administration-form__content {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.administration-form__year {
	color: var(--tereske-green);
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.05em;
}

.administration-form__content strong {
	color: var(--tereske-text);
	font-size: 0.9rem;
	line-height: 1.35;
}

.administration-form__arrow {
	color: var(--tereske-green);
	font-weight: 800;
}

.administration-form-list__empty {
	padding: 28px;
	border: 1px solid var(--tereske-border);
	border-radius: 14px;
	background: #ffffff;
	color: var(--tereske-muted);
	text-align: center;
}


/* ALSÓ LINKEK */

.administration-footer-links {
	padding: 0 0 68px;
	background: #f8faf8;
}

.administration-footer-links__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.administration-footer-links__grid a {
	padding: 20px 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	border: 1px solid var(--tereske-border);
	border-radius: 13px;
	background: #ffffff;
	color: inherit;
	text-decoration: none;
}

.administration-footer-links__grid strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1rem;
}

.administration-footer-links__grid span {
	color: var(--tereske-green);
	font-size: 0.78rem;
	font-weight: 800;
}


/* RESPONSIVE */

@media (max-width: 1050px) {

	.administration-online-grid {
		grid-template-columns: 1fr;
	}

	.administration-online-card {
		min-height: 150px;
	}

	.administration-office__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 800px) {

	.administration-category-grid {
		grid-template-columns: 1fr;
	}

	.administration-office__details {
		grid-template-columns: 1fr;
	}

	.administration-footer-links__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 700px) {

	.administration-page__container {
		width: min(calc(100% - 32px), var(--tereske-wide));
	}

	.administration-page__hero {
		padding: 42px 0 40px;
	}

	.administration-main,
	.administration-categories,
	.administration-office,
	.administration-forms {
		padding-top: 44px;
		padding-bottom: 50px;
	}

	.administration-forms__heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 16px;
	}

	.administration-forms__all {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 480px) {

	.administration-online-card {
		grid-template-columns: 50px minmax(0, 1fr) 24px;
		padding: 20px;
		gap: 13px;
	}

	.administration-online-card__icon {
		width: 50px;
		height: 50px;
	}

	.administration-office__card,
	.administration-office__hours {
		padding: 22px;
	}

	.administration-office__hours > div {
		align-items: flex-start;
		flex-direction: column;
		gap: 2px;
	}

	.administration-form {
		grid-template-columns: 38px minmax(0, 1fr) 22px;
		padding: 13px 15px;
	}
}

/* ==========================================================================
   HÍREK ARCHÍVUM
   ========================================================================== */

.news-archive-page,
.news-single-page {
	background: #ffffff;
}

.news-archive-page__container,
.news-single__container {
	width: min(calc(100% - 48px), var(--tereske-wide));
	margin-inline: auto;
}

.news-archive-page__hero,
.news-single__hero {
	padding: 56px 0 52px;
	background:
		linear-gradient(
			135deg,
			#f4f8f5 0%,
			#e8f2eb 100%
		);
	border-bottom: 1px solid var(--tereske-border);
}

.news-archive-page__eyebrow {
	margin: 0 0 10px;
	color: var(--tereske-green);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.news-archive-page__hero h1,
.news-single__hero h1 {
	margin: 0;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.2rem, 4vw, 3.5rem);
	line-height: 1.08;
}

.news-archive-page__lead {
	max-width: 760px;
	margin: 16px 0 0;
	color: var(--tereske-muted);
	font-size: 1.02rem;
	line-height: 1.7;
}

.news-archive-page__content {
	padding: 58px 0 70px;
}

.news-archive-heading {
	margin-bottom: 28px;
}

.news-archive-heading h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.8rem, 2.8vw, 2.5rem);
	line-height: 1.15;
}

.news-archive-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.news-archive-card {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--tereske-border);
	border-radius: 16px;
	background: #ffffff;
	box-shadow: var(--tereske-shadow-small);
	transition:
		transform var(--tereske-transition),
		border-color var(--tereske-transition),
		box-shadow var(--tereske-transition);
}

.news-archive-card:hover {
	transform: translateY(-4px);
	border-color: rgba(31, 117, 66, 0.32);
	box-shadow: var(--tereske-shadow);
}

.news-archive-card__image {
	aspect-ratio: 16 / 9;
	display: block;
	overflow: hidden;
	background: #eef4ef;
}

.news-archive-card__image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.news-archive-card:hover .news-archive-card__image img {
	transform: scale(1.025);
}

.news-archive-card__placeholder {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	color: var(--tereske-green);
	background:
		linear-gradient(
			135deg,
			#edf6f0,
			#dfeee3
		);
}

.news-archive-card__placeholder svg {
	width: 48px;
	height: 48px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.4;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: 0.7;
}

.news-archive-card__body {
	flex: 1 1 auto;
	padding: 22px;
	display: flex;
	flex-direction: column;
}

.news-archive-card__meta,
.news-single__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	color: var(--tereske-green);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.news-archive-card__title {
	margin: 11px 0 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.3rem;
	line-height: 1.25;
}

.news-archive-card__title a {
	color: var(--tereske-text);
}

.news-archive-card__excerpt {
	margin: 10px 0 18px;
	color: var(--tereske-muted);
	font-size: 0.85rem;
	line-height: 1.6;
}

.news-archive-card__more {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--tereske-green);
	font-size: 0.8rem;
	font-weight: 800;
}

.news-pagination {
	margin-top: 34px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.news-pagination .page-numbers {
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--tereske-border);
	border-radius: 999px;
	background: #ffffff;
	color: var(--tereske-green-dark);
	font-size: 0.8rem;
	font-weight: 800;
}

.news-pagination .page-numbers.current {
	border-color: var(--tereske-green);
	background: var(--tereske-green);
	color: #ffffff;
}

.news-archive-empty {
	padding: 58px 28px;
	border: 1px solid var(--tereske-border);
	border-radius: 16px;
	background: #f8faf8;
	text-align: center;
}

.news-archive-empty__icon {
	width: 60px;
	height: 60px;
	margin: 0 auto 18px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
}

.news-archive-empty__icon svg {
	width: 29px;
	height: 29px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.news-archive-empty h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.55rem;
}

.news-archive-empty p {
	margin: 9px 0 0;
	color: var(--tereske-muted);
	font-size: 0.9rem;
}


/* ==========================================================================
   EGYEDI HÍR
   ========================================================================== */

.news-single__back {
	margin-bottom: 22px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--tereske-green);
	font-size: 0.8rem;
	font-weight: 800;
}

.news-single__meta {
	margin-bottom: 12px;
}

.news-single__hero h1 {
	max-width: 980px;
}

.news-single__lead {
	max-width: 840px;
	margin: 17px 0 0;
	color: var(--tereske-muted);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.03rem, 1.4vw, 1.2rem);
	line-height: 1.65;
}

.news-single__featured {
	padding: 36px 0 0;
}

.news-single__featured img {
	width: 100%;
	max-height: 650px;
	display: block;
	object-fit: cover;
	border-radius: 18px;
	box-shadow: var(--tereske-shadow-small);
}

.news-single__content-section {
	padding: 48px 0 70px;
}

.news-single__content-container {
	max-width: 900px;
}

.news-single__content {
	color: #33463b;
	font-size: 1rem;
	line-height: 1.8;
}

.news-single__content > *:first-child {
	margin-top: 0;
}

.news-single__content h2,
.news-single__content h3,
.news-single__content h4 {
	margin-top: 1.7em;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.25;
}

.news-single__content h2 {
	font-size: 1.75rem;
}

.news-single__content h3 {
	font-size: 1.35rem;
}

.news-single__content p,
.news-single__content ul,
.news-single__content ol {
	margin-bottom: 1.15em;
}

.news-single__content a {
	color: var(--tereske-green);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.news-single__content img {
	height: auto;
	border-radius: 12px;
}

.news-single__content blockquote {
	margin: 28px 0;
	padding: 18px 22px;
	border-left: 4px solid var(--tereske-green);
	background: #f7faf8;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.08rem;
}

.news-single__footer {
	margin-top: 42px;
	padding-top: 24px;
	border-top: 1px solid var(--tereske-border);
}

.news-single__back-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border: 1px solid rgba(31, 117, 66, 0.22);
	border-radius: 999px;
	color: var(--tereske-green-dark);
	font-size: 0.82rem;
	font-weight: 800;
}


/* RESPONSIVE */

@media (max-width: 1050px) {

	.news-archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {

	.news-archive-page__container,
	.news-single__container {
		width: min(calc(100% - 32px), var(--tereske-wide));
	}

	.news-archive-page__hero,
	.news-single__hero {
		padding: 42px 0 40px;
	}

	.news-archive-page__content {
		padding: 44px 0 52px;
	}

	.news-archive-grid {
		grid-template-columns: 1fr;
	}

	.news-single__featured {
		padding-top: 24px;
	}

	.news-single__featured img {
		border-radius: 13px;
	}

	.news-single__content-section {
		padding: 36px 0 52px;
	}
}

/* ==========================================================================
   ESEMÉNYEK ARCHÍVUM
   ========================================================================== */

.events-archive-page,
.event-single-page {
	background: #ffffff;
}

.events-archive-page__container,
.event-single__container {
	width: min(calc(100% - 48px), var(--tereske-wide));
	margin-inline: auto;
}

.events-archive-page__hero,
.event-single__hero {
	padding: 56px 0 52px;
	background:
		linear-gradient(
			135deg,
			#f4f8f5 0%,
			#e8f2eb 100%
		);
	border-bottom: 1px solid var(--tereske-border);
}

.events-archive-page__eyebrow,
.event-single__eyebrow {
	margin: 0 0 10px;
	color: var(--tereske-green);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.events-archive-page__hero h1,
.event-single__hero h1 {
	margin: 0;
	color: var(--tereske-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.2rem, 4vw, 3.5rem);
	line-height: 1.08;
}

.events-archive-page__lead {
	max-width: 760px;
	margin: 16px 0 0;
	color: var(--tereske-muted);
	font-size: 1.02rem;
	line-height: 1.7;
}

.events-archive-page__content {
	padding: 58px 0 70px;
}

.events-archive-heading {
	margin-bottom: 26px;
}

.events-archive-heading--past {
	margin-top: 58px;
	padding-top: 52px;
	border-top: 1px solid var(--tereske-border);
}

.events-archive-heading h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.8rem, 2.8vw, 2.5rem);
	line-height: 1.15;
}

.events-archive-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.events-archive-grid--past {
	opacity: 0.92;
}

.events-archive-card {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--tereske-border);
	border-radius: 16px;
	background: #ffffff;
	box-shadow: var(--tereske-shadow-small);
	transition:
		transform var(--tereske-transition),
		border-color var(--tereske-transition),
		box-shadow var(--tereske-transition);
}

.events-archive-card:hover {
	transform: translateY(-4px);
	border-color: rgba(31, 117, 66, 0.32);
	box-shadow: var(--tereske-shadow);
}

.events-archive-card__image {
	aspect-ratio: 16 / 9;
	display: block;
	overflow: hidden;
	background: #eef4ef;
}

.events-archive-card__image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.events-archive-card:hover .events-archive-card__image img {
	transform: scale(1.025);
}

.events-archive-card__placeholder {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	color: var(--tereske-green);
	background:
		linear-gradient(
			135deg,
			#edf6f0,
			#dfeee3
		);
}

.events-archive-card__placeholder svg {
	width: 48px;
	height: 48px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.events-archive-card__body {
	flex: 1 1 auto;
	padding: 22px;
	display: flex;
	flex-direction: column;
}

.events-archive-card__date {
	display: flex;
	align-items: baseline;
	gap: 6px;
	color: var(--tereske-green);
	font-size: 0.76rem;
}

.events-archive-card__date strong {
	font-size: 0.85rem;
}

.events-archive-card h2 {
	margin: 9px 0 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.3rem;
	line-height: 1.25;
}

.events-archive-card h2 a {
	color: var(--tereske-text);
}

.events-archive-card__meta {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 13px;
}

.events-archive-card__meta span {
	display: flex;
	align-items: center;
	gap: 7px;
	color: var(--tereske-muted);
	font-size: 0.78rem;
}

.events-archive-card__meta svg {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	fill: none;
	stroke: var(--tereske-green);
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.events-archive-card__body > p {
	margin: 14px 0 18px;
	color: var(--tereske-muted);
	font-size: 0.84rem;
	line-height: 1.55;
}

.events-archive-card__more {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--tereske-green);
	font-size: 0.8rem;
	font-weight: 800;
}

.events-archive-empty {
	padding: 58px 28px;
	border: 1px solid var(--tereske-border);
	border-radius: 16px;
	background: #f8faf8;
	text-align: center;
}

.events-archive-empty__icon {
	width: 60px;
	height: 60px;
	margin: 0 auto 18px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--tereske-green-light);
	color: var(--tereske-green);
}

.events-archive-empty__icon svg {
	width: 29px;
	height: 29px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.events-archive-empty h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.55rem;
}

.events-archive-empty p {
	margin: 9px 0 0;
	color: var(--tereske-muted);
	font-size: 0.9rem;
}


/* ==========================================================================
   EGYEDI ESEMÉNY
   ========================================================================== */

.event-single__back {
	margin-bottom: 22px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--tereske-green);
	font-size: 0.8rem;
	font-weight: 800;
}

.event-single__main {
	padding: 52px 0 70px;
}

.event-single__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.55fr);
	gap: 30px;
	align-items: start;
}

.event-single__featured {
	margin-bottom: 30px;
}

.event-single__featured img {
	width: 100%;
	max-height: 620px;
	display: block;
	object-fit: cover;
	border-radius: 18px;
	box-shadow: var(--tereske-shadow-small);
}

.event-single__content {
	color: #33463b;
	font-size: 1rem;
	line-height: 1.8;
}

.event-single__content > *:first-child {
	margin-top: 0;
}

.event-single__content h2,
.event-single__content h3 {
	margin-top: 1.7em;
	font-family: Georgia, "Times New Roman", serif;
}

.event-single__content a {
	color: var(--tereske-green);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.event-single__details {
	position: sticky;
	top: 26px;
	padding: 26px;
	border: 1px solid #dce9df;
	border-radius: 16px;
	background: #f7fbf8;
	box-shadow: var(--tereske-shadow-small);
}

.event-single__details-eyebrow {
	margin: 0 0 16px;
	color: var(--tereske-green);
	font-size: 0.68rem;
	font-weight: 900;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.event-single__detail {
	padding: 14px 0;
	border-bottom: 1px solid rgba(31, 117, 66, 0.12);
}

.event-single__detail:first-of-type {
	padding-top: 0;
}

.event-single__detail span {
	display: block;
	margin-bottom: 4px;
	color: var(--tereske-muted);
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
}

.event-single__detail strong {
	display: block;
	color: var(--tereske-text);
	font-size: 0.9rem;
	line-height: 1.4;
}

.event-single__map {
	margin-top: 18px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--tereske-green);
	font-size: 0.8rem;
	font-weight: 800;
}


/* RESPONSIVE */

@media (max-width: 1050px) {

	.events-archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.event-single__layout {
		grid-template-columns: 1fr;
	}

	.event-single__details {
		position: static;
	}
}

@media (max-width: 700px) {

	.events-archive-page__container,
	.event-single__container {
		width: min(calc(100% - 32px), var(--tereske-wide));
	}

	.events-archive-page__hero,
	.event-single__hero {
		padding: 42px 0 40px;
	}

	.events-archive-page__content,
	.event-single__main {
		padding: 44px 0 52px;
	}

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

	.events-archive-heading--past {
		margin-top: 44px;
		padding-top: 40px;
	}

	.event-single__featured img {
		border-radius: 13px;
	}
}