/*
Theme Name: KőszeghyArt LiDAR
Theme URI: https://koszeghy.art/
Author: KőszeghyArt Tervezők Bt.
Description: A KőszeghyArt Tervezők Bt. sablonja. A főoldal a debreceni Kossuth tér pontfelhős, LiDAR-stílusú képével nyit, a szövegei a Testreszabásban írhatók át. A többi oldal a meglévő tartalmat jeleníti meg, azt nem módosítja. Saját kiszolgálású betűtípus, jQuery és külső kérés nélkül.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: koszeghyart
*/

/* --------------------------------------------------------------------------
   Betűtípus: Archivo (SIL Open Font License), változtatható szélességgel.
   A széles változat a címeké, a keskeny a számoké és dátumoké.
   -------------------------------------------------------------------------- */
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("assets/fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	font-stretch: 62% 125%;
	src: url("assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	/* Éjszakai felmérés: nyitókép, címsávok, folyamat, lábléc */
	--night: #090d10;
	--night-2: #10171b;
	--night-text: #eef0ea;
	--night-muted: #a3adac;
	--night-line: #ffffff24;
	/* Tervlap: a világos tartalmi részek */
	--paper: #f1f3f0;
	--paper-2: #e6eae6;
	--ink: #152127;
	--ink-muted: #4d5b60;
	--paper-line: #15212724;
	/* Réz: az iroda színe */
	--copper: #d69a71;
	--copper-light: #e6b592;
	--copper-deep: #96532b;

	--font: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--gutter: max(clamp(20px, 5vw, 72px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
	--header-h: 92px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
	scroll-padding-top: 24px;
	-webkit-text-size-adjust: 100%;
}
body {
	margin: 0;
	background: var(--night);
	color: var(--night-text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote {
	margin: 0;
}
ul, ol {
	padding: 0;
}
img, video, iframe {
	max-width: 100%;
	height: auto;
}
a {
	color: inherit;
	text-decoration: none;
}
button, input, select, textarea {
	font: inherit;
	color: inherit;
}
a, button {
	-webkit-tap-highlight-color: transparent;
}
:focus-visible {
	outline: 2px solid var(--copper);
	outline-offset: 4px;
}
::selection {
	background: var(--copper);
	color: var(--night);
}

.wrap {
	max-width: 1320px;
	margin: 0 auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}
.narrow {
	max-width: 760px;
}
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.skip-link {
	position: fixed;
	left: 20px;
	top: -100px;
	z-index: 100;
	padding: 12px 16px;
	background: var(--copper);
	color: var(--night);
	font-weight: 600;
}
.skip-link:focus {
	top: 12px;
}

/* Közös elemek ------------------------------------------------------------- */

.section-title {
	font-stretch: 112%;
	font-weight: 500;
	font-size: clamp(30px, 3.3vw, 46px);
	line-height: 1.12;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.quiet-link {
	display: inline-block;
	font-size: 16px;
	line-height: 1.4;
	padding-bottom: 5px;
	border-bottom: 1px solid currentColor;
	transition: color 0.2s;
}
.button {
	display: inline-block;
	background: var(--copper);
	color: #17120d;
	border: 1px solid var(--copper);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
	padding: 15px 24px;
	border-radius: 2px;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
}
.button:hover {
	background: var(--copper-light);
	border-color: var(--copper-light);
}
.button--ghost {
	background: transparent;
	color: var(--night-text);
	border-color: #ffffff59;
}
.button--ghost:hover {
	background: transparent;
	border-color: var(--copper);
}
.paper {
	background: var(--paper);
	color: var(--ink);
}
.paper p {
	color: var(--ink-muted);
}
.paper .quiet-link {
	color: var(--copper-deep);
}
.paper .quiet-link:hover {
	color: var(--ink);
}
.paper ::selection {
	color: var(--paper);
	background: var(--ink);
}
.night {
	background: var(--night);
	color: var(--night-text);
}
.dash-list {
	list-style: none;
}
.dash-list li {
	position: relative;
	padding: 9px 0 9px 22px;
	line-height: 1.45;
}
.dash-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.1em;
	width: 10px;
	height: 1px;
	background: var(--copper-deep);
}

/* Fejléc ------------------------------------------------------------------ */

.site-header {
	position: relative;
	z-index: 30;
	background: var(--night);
	border-bottom: 1px solid var(--night-line);
	color: var(--night-text);
}
.home .site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: transparent;
	border-bottom-color: transparent;
}
.site-header__inner {
	height: var(--header-h);
	padding: 0 var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 1480px;
	margin: 0 auto;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	white-space: nowrap;
	font-size: 23px;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--night-text);
}
.brand svg {
	width: 28px;
	height: 28px;
	stroke: var(--copper);
	fill: none;
	stroke-width: 1.3;
	flex: none;
}
.brand-art {
	color: var(--copper);
}
.site-nav {
	display: flex;
	align-items: center;
}
.site-nav__list {
	list-style: none;
	display: flex;
	align-items: center;
	gap: clamp(16px, 2.2vw, 34px);
	font-size: 15px;
}
.site-nav__list a {
	display: block;
	padding: 8px 0;
	transition: color 0.2s;
}
.site-nav__list a:hover {
	color: var(--copper);
}
.site-nav__list .current-menu-item > a,
.site-nav__list .current-menu-parent > a,
.site-nav__list .current-post-ancestor > a,
.site-nav__list .current-page-ancestor > a,
.site-nav__list .current-category-ancestor > a {
	box-shadow: inset 0 -1px 0 var(--copper);
}
.home .site-nav__list .current-menu-item > a {
	box-shadow: none;
}
.site-nav__list .is-contact > a {
	border: 1px solid #ffffff59;
	border-radius: 2px;
	padding: 10px 18px;
	box-shadow: none !important;
}
.site-nav__list .is-contact > a:hover {
	border-color: var(--copper);
	color: var(--night-text);
}
.site-nav__list li {
	position: relative;
}
.site-nav__list .sub-menu {
	list-style: none;
	position: absolute;
	top: 100%;
	left: -16px;
	min-width: 240px;
	padding: 8px 16px;
	background: var(--night-2);
	border: 1px solid var(--night-line);
	display: none;
}
.site-nav__list li:hover > .sub-menu,
.site-nav__list li:focus-within > .sub-menu {
	display: block;
}
.menu-toggle {
	display: none;
	background: none;
	border: 0;
	cursor: pointer;
	font-size: 15px;
	padding: 12px 0 12px 16px;
}
.menu-toggle__close {
	display: none;
}

/* Nyitókép: a felirat a pontfelhős városon áll ---------------------------- */

.hero {
	position: relative;
	isolation: isolate;
	height: 100svh;
	min-height: 660px;
	max-height: 1020px;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	background: var(--night);
}
.hero__city {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}
.hero__city::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, var(--night) 0%, #090d10eb 16%, #090d1099 38%, transparent 62%),
		linear-gradient(to bottom, #090d10b3 0%, transparent 18%);
}
.city-canvas,
.city-lidar-layer {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}
.hero__content {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 var(--gutter) clamp(40px, 7vh, 76px);
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 80px);
	align-items: end;
}
.hero h1 {
	font-stretch: 112%;
	font-weight: 500;
	font-size: clamp(40px, 5.5vw, 86px);
	line-height: 1.03;
	letter-spacing: -0.03em;
	text-wrap: balance;
	text-shadow: 0 0 40px var(--night);
}
.hero__side p {
	color: #d5dad6;
	max-width: 34em;
	text-shadow: 0 0 18px var(--night);
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 30px;
	margin-top: 28px;
}
.hero .quiet-link:hover {
	color: var(--copper);
}

/* Két fő feladat ----------------------------------------------------------- */

.tasks {
	padding: clamp(72px, 10vw, 136px) 0 clamp(64px, 8vw, 112px);
}
.tasks__title {
	max-width: 15em;
}
.task-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-top: clamp(40px, 5vw, 72px);
	border-top: 1px solid var(--ink);
}
.task {
	padding: clamp(28px, 3.4vw, 48px) clamp(24px, 4vw, 64px) 0 0;
	min-width: 0;
}
.task + .task {
	padding-left: clamp(24px, 4vw, 64px);
	padding-right: 0;
	border-left: 1px solid var(--paper-line);
}
.task h3 {
	font-stretch: 112%;
	font-weight: 600;
	font-size: clamp(24px, 2.3vw, 32px);
	line-height: 1.15;
	letter-spacing: -0.02em;
}
.paper .task__lead {
	margin-top: 14px;
	font-size: 20px;
	line-height: 1.45;
	color: var(--ink);
	min-height: 2.9em;
}
.task > p {
	margin-top: 18px;
	max-width: 34em;
}
.figure {
	margin-top: 36px;
	padding: 22px 0 24px;
	border-top: 1px solid var(--paper-line);
	border-bottom: 1px solid var(--paper-line);
	display: grid;
	gap: 10px;
}
.figure strong {
	font-stretch: 68%;
	font-weight: 500;
	font-size: clamp(44px, 4.6vw, 68px);
	line-height: 1;
	letter-spacing: -0.01em;
	color: var(--copper-deep);
}
.figure span {
	font-size: 15px;
	line-height: 1.5;
	color: var(--ink-muted);
	max-width: 30em;
	min-height: 3em;
}
.task h4 {
	margin-top: 34px;
	font-size: 15px;
	font-weight: 600;
}
.task .dash-list {
	margin-top: 10px;
}

/* A módosítás menete ------------------------------------------------------ */

.process {
	padding: clamp(72px, 10vw, 136px) 0;
}
.process__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
	gap: clamp(40px, 7vw, 112px);
	align-items: start;
}
.process__intro {
	position: sticky;
	top: 48px;
}
.process__intro p {
	margin-top: 24px;
	color: var(--night-muted);
	max-width: 28em;
}
.process__intro .process__law {
	font-size: 15px;
	line-height: 1.6;
}
.process__intro .quiet-link {
	margin-top: 30px;
	color: var(--copper);
}
.process__intro .quiet-link:hover {
	color: var(--night-text);
}
.steps {
	list-style: none;
}
.steps li {
	display: grid;
	grid-template-columns: clamp(52px, 6vw, 84px) 1fr;
	padding: 26px 0 28px;
	border-top: 1px solid var(--night-line);
}
.steps li:last-child {
	border-bottom: 1px solid var(--night-line);
}
.steps__no {
	font-stretch: 68%;
	font-weight: 400;
	font-size: 46px;
	line-height: 0.95;
	color: var(--copper);
	font-variant-numeric: tabular-nums;
}
.steps h3 {
	font-stretch: 108%;
	font-weight: 500;
	font-size: 22px;
	line-height: 1.25;
	letter-spacing: -0.01em;
}
.steps p {
	margin-top: 8px;
	color: var(--night-muted);
	max-width: 36em;
}

/* Tervlisták (főoldal, kategória, címke, keresés) -------------------------- */

.works {
	padding: clamp(72px, 10vw, 136px) 0 clamp(56px, 7vw, 96px);
}
.works__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 80px);
	align-items: end;
}
.works__head p {
	max-width: 30em;
}
.plan-list {
	list-style: none;
	margin: clamp(36px, 4.5vw, 60px) 0 34px;
	border-top: 1px solid var(--ink);
}
.plan-row {
	border-bottom: 1px solid var(--paper-line);
}
.plan-row__link {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 0.9fr);
	gap: 6px 32px;
	align-items: baseline;
	padding: 17px 0 18px;
	transition: background 0.15s;
}
.plan-row__link:hover .plan-row__place {
	color: var(--copper-deep);
}
.plan-row__place {
	font-stretch: 108%;
	font-weight: 500;
	font-size: 21px;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--ink);
	transition: color 0.15s;
	min-width: 0;
	overflow-wrap: anywhere;
}
.plan-row__task {
	color: var(--ink-muted);
	line-height: 1.45;
	min-width: 0;
}
.plan-row__meta {
	font-stretch: 78%;
	font-size: 16px;
	line-height: 1.35;
	color: var(--ink-muted);
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-align: right;
	font-variant-numeric: tabular-nums;
	min-width: 0;
}
.plan-row__stage {
	color: var(--ink);
}
.archive-main {
	padding: clamp(36px, 5vw, 64px) 0 clamp(72px, 9vw, 120px);
	min-height: 40vh;
}
.archive-count {
	font-stretch: 78%;
	font-size: 16px;
	font-variant-numeric: tabular-nums;
}
.plan-list--archive {
	margin-top: 14px;
}

/* Kiegészítő szolgáltatások, rólunk ---------------------------------------- */

.extras {
	padding: 0 0 clamp(64px, 8vw, 112px);
}
.extras .wrap::before,
.about .wrap::before {
	content: "";
	display: block;
	border-top: 1px solid var(--ink);
	margin-bottom: clamp(40px, 5vw, 64px);
}
.about .wrap::before {
	grid-column: 1 / -1;
	margin-bottom: clamp(12px, 2vw, 24px);
}
.extras__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px clamp(28px, 4vw, 64px);
	margin-top: clamp(28px, 3.5vw, 44px);
}
.extras__grid h3 {
	font-stretch: 108%;
	font-weight: 600;
	font-size: 20px;
	line-height: 1.3;
}
.extras__grid p {
	margin-top: 8px;
}
.about {
	padding: 0 0 clamp(72px, 10vw, 136px);
}
.about__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
	gap: 28px clamp(40px, 7vw, 112px);
}
.paper .about__lead {
	font-size: clamp(22px, 2.1vw, 28px);
	line-height: 1.35;
	letter-spacing: -0.01em;
	color: var(--ink);
	max-width: 24em;
}
.about__body p + p {
	margin-top: 18px;
	max-width: 36em;
}
.about__body .quiet-link {
	margin-top: 28px;
}

/* Kapcsolat ------------------------------------------------------------- */

.contact {
	background: var(--copper);
	color: #1a1410;
	padding: clamp(64px, 9vw, 120px) 0;
}
.contact ::selection {
	background: #1a1410;
	color: var(--copper);
}
.contact__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: end;
}
.contact h2 {
	font-stretch: 112%;
	font-weight: 500;
	font-size: clamp(34px, 4.6vw, 68px);
	line-height: 1.05;
	letter-spacing: -0.03em;
	text-wrap: balance;
}
.contact__side p {
	color: #3a2c20;
	max-width: 32em;
}
.contact__side p + p {
	margin-top: 14px;
}
.contact__links {
	margin-top: 30px;
	padding-top: 24px;
	border-top: 1px solid #1a141066;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}
.contact__links a {
	font-stretch: 108%;
	font-weight: 500;
	font-size: clamp(20px, 2vw, 26px);
	line-height: 1.35;
	letter-spacing: -0.01em;
	overflow-wrap: anywhere;
}
.contact__links a:hover {
	text-decoration: underline;
	text-underline-offset: 5px;
	text-decoration-thickness: 1px;
}
.contact :focus-visible {
	outline-color: #1a1410;
}

/* Aloldalak címsávja ------------------------------------------------------ */

.page-head {
	padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px);
	border-bottom: 1px solid var(--night-line);
}
.page-head__inner {
	display: grid;
	gap: 18px;
}
.page-head__title {
	font-stretch: 112%;
	font-weight: 500;
	font-size: clamp(32px, 4.2vw, 58px);
	line-height: 1.08;
	letter-spacing: -0.025em;
	text-wrap: balance;
	max-width: 22em;
	overflow-wrap: break-word;
	hyphens: auto;
}
.single .page-head__title {
	font-size: clamp(28px, 3.4vw, 48px);
}
.page-head__text {
	color: var(--night-muted);
	max-width: 40em;
}
.page-head__meta {
	order: -1;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	font-stretch: 78%;
	font-size: 16px;
	color: var(--night-muted);
	font-variant-numeric: tabular-nums;
}
.page-head__meta a {
	color: var(--copper);
}
.page-head__meta a:hover {
	color: var(--night-text);
}
.tag-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 6px;
}
.tag {
	display: inline-block;
	padding: 5px 12px;
	border: 1px solid var(--night-line);
	border-radius: 2px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--night-muted);
	transition: border-color 0.2s, color 0.2s;
}
.tag--place {
	color: var(--night-text);
	border-color: #ffffff4d;
}
.tag:hover {
	border-color: var(--copper);
	color: var(--night-text);
}

/* Szűrő és kereső -------------------------------------------------------- */

.filter,
.page-head .search-form {
	margin-top: 10px;
	max-width: 560px;
}
.filter label,
.search-form__label {
	display: block;
	font-size: 15px;
	margin-bottom: 8px;
}
.page-head .filter label,
.page-head .search-form__label {
	color: var(--night-muted);
}
.filter__row,
.search-form__row {
	display: flex;
	gap: 10px;
}
.filter select,
.search-form input {
	flex: 1;
	min-width: 0;
	height: 52px;
	padding: 0 16px;
	border-radius: 2px;
	border: 1px solid var(--paper-line);
	background: #fff;
	color: var(--ink);
	font-size: 16px;
}
.page-head .filter select,
.page-head .search-form input {
	background: var(--night-2);
	border-color: #ffffff3d;
	color: var(--night-text);
	color-scheme: dark;
}
.filter select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
	background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-right: 44px;
}
.filter .button,
.search-form .button {
	height: 52px;
	padding-top: 0;
	padding-bottom: 0;
	flex: none;
}

/* Oldaltartalom (a szerkesztőben írt szöveg) -------------------------------- */

.page-body {
	padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 120px);
}
.entry-content {
	max-width: 760px;
	color: var(--ink);
	font-size: 18px;
	line-height: 1.7;
	overflow-wrap: break-word;
}
.paper .entry-content p {
	color: var(--ink);
}
.entry-content > * + * {
	margin-top: 1.1em;
}
.entry-content h2 {
	font-stretch: 108%;
	font-weight: 600;
	font-size: clamp(24px, 2.4vw, 32px);
	line-height: 1.2;
	letter-spacing: -0.015em;
	margin-top: 2.2em;
	padding-top: 0.9em;
	border-top: 1px solid var(--ink);
	text-wrap: balance;
}
.entry-content h3 {
	font-stretch: 104%;
	font-weight: 600;
	font-size: 21px;
	line-height: 1.3;
	margin-top: 1.8em;
}
.entry-content h4 {
	font-weight: 600;
	font-size: 18px;
	margin-top: 1.6em;
}
.entry-content > h2:first-child,
.entry-content > h3:first-child {
	margin-top: 0;
}
.entry-content strong {
	font-weight: 600;
}
.entry-content a {
	color: var(--copper-deep);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.entry-content a:hover {
	color: var(--ink);
}
.entry-content ul,
.entry-content ol {
	padding-left: 0;
}
.entry-content ul {
	list-style: none;
}
.entry-content ul > li {
	position: relative;
	padding-left: 24px;
}
.entry-content ul > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.85em;
	width: 11px;
	height: 1px;
	background: var(--copper-deep);
}
.entry-content ol {
	padding-left: 1.3em;
}
.entry-content li + li {
	margin-top: 0.5em;
}
.entry-content li > ul,
.entry-content li > ol {
	margin-top: 0.5em;
}
.entry-content blockquote {
	padding-left: 22px;
	border-left: 2px solid var(--copper-deep);
	color: var(--ink-muted);
}
.entry-content hr {
	border: 0;
	border-top: 1px solid var(--paper-line);
	margin: 2.4em 0;
}
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
	display: block;
	overflow-x: auto;
}
.entry-content th,
.entry-content td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--paper-line);
	text-align: left;
	vertical-align: top;
}
.entry-content th {
	font-weight: 600;
	border-bottom-color: var(--ink);
}
.entry-content img {
	display: block;
	border-radius: 2px;
}
.entry-content .aligncenter {
	margin-left: auto;
	margin-right: auto;
}
.entry-content .alignleft {
	float: left;
	margin: 0.4em 1.6em 1em 0;
}
.entry-content .alignright {
	float: right;
	margin: 0.4em 0 1em 1.6em;
}
.entry-content .wp-caption {
	max-width: 100%;
}
.entry-content .wp-caption-text {
	font-size: 15px;
	color: var(--ink-muted);
	margin-top: 8px;
}
.entry-content::after {
	content: "";
	display: table;
	clear: both;
}
/* Évszám a referencialistákban (megjelenítéskor jelölve, lásd inc/content.php). */
.entry-content .kl-year {
	margin-top: 2em;
	padding-top: 0.8em;
	border-top: 1px solid var(--paper-line);
	font-stretch: 68%;
	font-weight: 500;
	font-size: 34px;
	line-height: 1;
	color: var(--copper-deep);
	font-variant-numeric: tabular-nums;
}
.entry-content .kl-year + ul {
	margin-top: 0.8em;
}
@media (min-width: 900px) {
	.entry-content .kl-year + ul {
		columns: 2;
		column-gap: 40px;
	}
	.entry-content .kl-year + ul > li {
		break-inside: avoid;
	}
}
/* Tervbejegyzések: „Tervdokumentáció böngészése / letöltése”. */
.entry-content .kl-doc-link {
	margin-top: 0;
	text-align: left !important;
}
.entry-content p:not(.kl-doc-link) + .kl-doc-link {
	margin-top: 1.8em;
}
.entry-content .kl-doc-link + .kl-doc-link {
	margin-top: 12px;
}
.entry-content .kl-doc-link {
	max-width: 560px;
}
.entry-content .kl-doc-link a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	border: 1px solid var(--ink);
	border-radius: 2px;
	text-decoration: none;
	font-stretch: 108%;
	font-weight: 600;
	font-size: clamp(18px, 1.8vw, 22px);
	line-height: 1.3;
	color: var(--ink);
	transition: background 0.2s, color 0.2s;
}
.entry-content .kl-doc-link a::after {
	content: "";
	flex: none;
	width: 12px;
	height: 12px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: rotate(45deg);
}
.entry-content .kl-doc-link a:hover {
	background: var(--ink);
	color: var(--paper);
}
.entry-content :not(.kl-doc-link) + .kl-doc-link a,
.entry-content > .kl-doc-link:first-child a {
	background: var(--copper-deep);
	border-color: var(--copper-deep);
	color: #fff;
}
.entry-content :not(.kl-doc-link) + .kl-doc-link a:hover,
.entry-content > .kl-doc-link:first-child a:hover {
	background: var(--ink);
	border-color: var(--ink);
}

/* Sötét oldal (pl. a tervmódosítás folyamata, saját stílussal) */
.page-body--night {
	padding-top: clamp(32px, 5vw, 64px);
}
.page-body--night .entry-content {
	color: var(--night-text);
	max-width: none;
}
.page-body--night .entry-content > * + * {
	margin-top: 0;
}
.page-body--night .entry-content ul > li::before {
	content: none;
}
.page-body--night .entry-content ul > li {
	padding-left: 0;
}
.page-body--night .entry-content h2 {
	border-top: 0;
	padding-top: 0;
}

/* Kapcsolódó tervek és lapozás ---------------------------------------------- */

.related {
	padding: 0 0 clamp(40px, 5vw, 64px);
}
.related .wrap::before {
	content: "";
	display: block;
	border-top: 1px solid var(--paper-line);
	margin-bottom: clamp(32px, 4vw, 48px);
}
.related__title {
	font-stretch: 108%;
	font-weight: 600;
	font-size: clamp(22px, 2.2vw, 28px);
	line-height: 1.2;
}
.related .plan-list {
	margin-top: 24px;
}
.post-nav {
	padding: 0 0 clamp(72px, 9vw, 120px);
}
.post-nav__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.post-nav__inner::before {
	content: "";
	grid-column: 1 / -1;
	border-top: 1px solid var(--ink);
}
.post-nav a {
	display: grid;
	gap: 4px;
	color: var(--ink);
	line-height: 1.4;
	min-width: 0;
}
.post-nav a span {
	font-size: 15px;
	color: var(--copper-deep);
}
.post-nav a:hover {
	color: var(--copper-deep);
}
.post-nav__next {
	grid-column: 2;
	text-align: right;
}
.pagination {
	margin-top: 8px;
}
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--paper-line);
	border-radius: 2px;
	font-variant-numeric: tabular-nums;
	color: var(--ink);
}
.pagination .page-numbers.current {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}
.pagination a.page-numbers:hover {
	border-color: var(--ink);
}
.pagination .dots {
	border: 0;
	min-width: 0;
}
.empty h2 {
	font-stretch: 108%;
	font-weight: 600;
	font-size: 26px;
}
.empty > * + * {
	margin-top: 18px;
}
.not-found__links {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 32px;
	margin-top: 32px;
}

/* Lábléc ---------------------------------------------------------------- */

.site-footer {
	padding: clamp(48px, 6vw, 72px) 0 30px;
	color: var(--night-muted);
	font-size: 15px;
}
.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px clamp(28px, 4vw, 64px);
	align-items: start;
}
.site-footer__brand p {
	margin-top: 16px;
	line-height: 1.6;
}
.site-footer__brand .brand {
	font-size: 20px;
}
.site-footer__contact {
	display: grid;
	gap: 6px;
	color: var(--night-text);
	font-size: 17px;
}
.site-footer__contact a:hover,
.site-footer__nav a:hover,
.site-footer__legal a:hover {
	color: var(--copper);
}
.site-footer__nav ul {
	list-style: none;
	display: grid;
	gap: 6px;
}
.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin-top: clamp(40px, 5vw, 56px);
	padding-top: 22px;
	border-top: 1px solid var(--night-line);
	font-size: 14px;
}
.site-footer__legal a {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.widget-title {
	font-size: 15px;
	font-weight: 600;
	color: var(--night-text);
	margin-bottom: 8px;
}

/* Keskenyebb képernyők ---------------------------------------------------- */

@media (max-width: 1080px) {
	.site-nav__list {
		gap: 18px;
		font-size: 14px;
	}
}

@media (max-width: 980px) {
	.hero__content,
	.process__layout,
	.works__head,
	.about__layout,
	.contact__layout,
	.task-grid {
		grid-template-columns: 1fr;
	}
	.hero__content {
		gap: 22px;
	}
	.process__intro {
		position: static;
	}
	.task,
	.task + .task {
		padding-left: 0;
		padding-right: 0;
		border-left: 0;
	}
	.task + .task {
		margin-top: 56px;
		border-top: 1px solid var(--ink);
	}
	.paper .task__lead,
	.figure span {
		min-height: 0;
	}
	.extras__grid {
		grid-template-columns: 1fr;
	}
	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 900px) {
	:root {
		--header-h: 76px;
	}
	.brand {
		font-size: 21px;
	}
	.menu-toggle {
		display: block;
	}
	.nav-open .menu-toggle__open {
		display: none;
	}
	.nav-open .menu-toggle__close {
		display: inline;
	}
	.site-nav {
		display: none;
		position: absolute;
		top: var(--header-h);
		left: 0;
		right: 0;
		padding: 8px var(--gutter) 26px;
		background: #0d1317f5;
		border-bottom: 1px solid var(--night-line);
		-webkit-backdrop-filter: blur(16px);
		backdrop-filter: blur(16px);
	}
	.nav-open .site-nav {
		display: block;
	}
	.site-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		font-size: 17px;
	}
	.site-nav__list a {
		padding: 14px 0;
	}
	.site-nav__list .is-contact > a {
		margin-top: 12px;
		padding: 14px 16px;
		text-align: center;
	}
	.site-nav__list .current-menu-item > a {
		box-shadow: none;
		color: var(--copper);
	}
	.site-nav__list .sub-menu {
		position: static;
		display: block;
		border: 0;
		background: none;
		padding: 0 0 0 16px;
	}
}

@media (max-width: 760px) {
	body {
		font-size: 16px;
	}
	.hero {
		min-height: 620px;
	}
	.hero__city::after {
		background:
			linear-gradient(to top, var(--night) 0%, #090d10f0 30%, #090d1099 50%, transparent 68%),
			linear-gradient(to bottom, #090d10b3 0%, transparent 16%);
	}
	.hero h1 {
		font-size: clamp(34px, 10vw, 48px);
		line-height: 1.06;
	}
	.hero__actions {
		margin-top: 22px;
	}
	.plan-row__link {
		grid-template-columns: 1fr;
		gap: 3px;
	}
	.plan-row__meta {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: baseline;
		gap: 0 14px;
		text-align: left;
	}
	.steps li {
		grid-template-columns: 44px 1fr;
	}
	.steps__no {
		font-size: 38px;
	}
	.entry-content {
		font-size: 17px;
	}
	.entry-content .alignleft,
	.entry-content .alignright {
		float: none;
		margin: 1em 0;
	}
	.filter__row,
	.search-form__row {
		flex-direction: column;
	}
	.filter select,
	.search-form input {
		flex: none;
		width: 100%;
	}
	.page-head__title {
		hyphens: manual;
	}
	.single .page-head__title {
		font-size: clamp(26px, 7.4vw, 34px);
	}
	.filter .button,
	.search-form .button {
		width: 100%;
	}
	.post-nav__inner {
		grid-template-columns: 1fr;
	}
	.post-nav__next {
		grid-column: auto;
		text-align: left;
	}
	.site-footer__grid {
		grid-template-columns: 1fr;
	}
}

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

@media print {
	.site-header,
	.site-footer,
	.hero__city,
	.post-nav,
	.related {
		display: none;
	}
	body,
	.night,
	.page-head {
		background: #fff;
		color: #000;
	}
}
