/*
Theme Name: X-Car 2026
Description: Az X-Car Autókölcsönző egyedi, mobil-first témája. Szerver oldali render, page builder nélkül.
Author: SZTVM
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: xcar2026
*/

/* ---------- Alapok ---------- */
:root {
	--nav: #0d2b4e;
	--nav-2: #16406e;
	--ink: #12181f;
	--ink-soft: #4a5765;
	--line: #dfe4ea;
	--bg: #ffffff;
	--bg-soft: #f4f6f9;
	--acc: #e2680f;
	--acc-dark: #c25709;
	--ok: #1c7a4a;
	--radius: 10px;
	--wrap: 1160px;
	--shadow: 0 1px 2px rgba(16, 32, 56, .06), 0 8px 24px rgba(16, 32, 56, .07);
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

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

body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
}

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

a { color: var(--nav-2); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.22; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 1.85rem; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 999; background: #fff; padding: 8px 12px; }

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

/* ---------- Gombok ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .72em 1.25em; border-radius: var(--radius); border: 2px solid transparent;
	font-weight: 700; font-size: 1rem; cursor: pointer; text-align: center; line-height: 1.2;
}
.btn:hover, .btn:focus { text-decoration: none; }
.btn-acc { background: var(--acc); color: #fff; }
.btn-acc:hover { background: var(--acc-dark); color: #fff; }
.btn-nav { background: var(--nav); color: #fff; }
.btn-nav:hover { background: var(--nav-2); color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--nav); background: transparent; }
.btn-ghost:hover { background: var(--nav); color: #fff; border-color: var(--nav); }
.btn-block { width: 100%; }

/* ---------- Hirdetménysáv ---------- */
.bar {
	background: var(--acc); color: #fff; text-align: center;
	padding: .55rem 18px; font-size: .95rem; font-weight: 600;
}
.bar a { color: #fff; text-decoration: underline; }

/* ---------- Fejléc ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50; background: var(--nav); color: #fff;
	box-shadow: 0 2px 10px rgba(9, 24, 44, .18);
}
.header-in { display: flex; align-items: center; gap: 12px; min-height: 62px; }
.brand { display: flex; flex-direction: column; margin-right: auto; }
.brand a { color: #fff; }
.brand a:hover { text-decoration: none; }

.tel-cta {
	display: inline-flex; align-items: center; gap: .45em; background: var(--acc); color: #fff;
	padding: .5em .85em; border-radius: var(--radius); font-weight: 800; white-space: nowrap; font-size: .98rem;
}
.tel-cta:hover { background: var(--acc-dark); color: #fff; text-decoration: none; }
.tel-cta .ico { font-size: 1.05em; }

.nav-toggle {
	display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
	width: 42px; height: 38px; padding: 0 8px; background: transparent;
	border: 1px solid rgba(255, 255, 255, .35); border-radius: 8px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; }

.site-nav { display: none; }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0 0 10px; }
.site-nav li { border-top: 1px solid rgba(255, 255, 255, .12); }
.site-nav a { display: block; padding: .7em 2px; color: #eaf1f8; font-weight: 600; }
.site-nav a:hover { color: #fff; }
.site-nav .current-menu-item > a, .site-nav .active > a { color: #fff; }
.site-nav .current-menu-item > a::before, .site-nav .active > a::before { content: "▸ "; color: var(--acc); }
.lang { display: inline-flex; gap: 8px; padding: 10px 0 4px; }
.lang a { font-size: .85rem; color: #b9cbe2; font-weight: 600; }

@media (min-width: 900px) {
	.nav-toggle { display: none; }
	.header-in { min-height: 72px; }
	.site-nav { display: block; margin-right: 14px; }
	.site-nav ul { display: flex; align-items: center; gap: 2px; padding: 0; }
	.site-nav li { border: 0; }
	.site-nav a { padding: .45em .7em; border-radius: 8px; font-size: .97rem; }
	.site-nav a:hover { background: rgba(255, 255, 255, .1); text-decoration: none; }
	.site-nav .current-menu-item > a::before, .site-nav .active > a::before { content: none; }
	.site-nav .current-menu-item > a, .site-nav .active > a { background: rgba(255, 255, 255, .14); }
	.lang { padding: 0; margin-left: 6px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--nav); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; opacity: .38; }
.hero-in { position: relative; padding: 2.6rem 0 2.9rem; max-width: 720px; }
.hero h1 { font-size: clamp(1.7rem, 5.2vw, 2.6rem); margin-bottom: .5em; }
.hero p { font-size: 1.06rem; color: #dde7f1; margin-bottom: 1.4em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-cta .btn-ghost { color: #fff; }
.hero-cta .btn-ghost:hover { background: #fff; color: var(--nav); border-color: #fff; }

/* ---------- Szekciók ---------- */
.section { padding: 2.4rem 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 1.6rem; text-align: center; }
.section-head p { color: var(--ink-soft); margin: 0; }

/* ---------- Rács ---------- */
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Kategóriakártya ---------- */
.cat-card {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
	border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.cat-card:hover { text-decoration: none; }
.cat-card .thumb { aspect-ratio: 16 / 10; background: var(--bg-soft); }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .body { padding: 1rem 1.1rem 1.2rem; }
.cat-card h3 { margin-bottom: .25em; color: var(--nav); }
.cat-card p { color: var(--ink-soft); font-size: .95rem; margin: 0 0 .8em; }
.cat-card .more { font-weight: 700; color: var(--acc); }

/* ---------- Járműkártya ---------- */
.jarmu-card {
	display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
	border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.jarmu-card .thumb { position: relative; aspect-ratio: 4 / 3; background: var(--bg-soft); }
.jarmu-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.jarmu-card .badge {
	position: absolute; left: 10px; top: 10px; background: var(--nav); color: #fff;
	font-size: .74rem; font-weight: 700; padding: .28em .6em; border-radius: 6px; letter-spacing: .02em;
}
.jarmu-card .body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.jarmu-card h3 { margin-bottom: .3em; font-size: 1.1rem; }
.jarmu-card h3 a { color: var(--nav); }
.jarmu-card .meta { color: var(--ink-soft); font-size: .88rem; margin: 0 0 .7em; }
.jarmu-card .specs { list-style: none; margin: 0 0 .9em; padding: 0; font-size: .92rem; color: var(--ink-soft); }
.jarmu-card .specs li { padding-left: 1.1em; position: relative; }
.jarmu-card .specs li::before { content: "•"; position: absolute; left: .2em; color: var(--acc); }
.jarmu-card .price { margin-top: auto; padding-top: .6em; }
.jarmu-card .price strong { font-size: 1.22rem; color: var(--nav); display: block; }
.jarmu-card .price small { color: var(--ink-soft); }
.jarmu-card .actions { display: flex; gap: 8px; margin-top: .9em; }
.jarmu-card .actions .btn { flex: 1; padding: .6em .8em; font-size: .95rem; }

/* ---------- Árlépcső táblázat ---------- */
.artabla-wrap { overflow-x: auto; }
.artabla { width: 100%; border-collapse: collapse; font-size: .97rem; }
.artabla caption { text-align: left; font-weight: 700; color: var(--nav); padding: 0 0 .5em; }
.artabla th, .artabla td { padding: .62em .7em; border-bottom: 1px solid var(--line); text-align: left; }
.artabla thead th { background: var(--bg-soft); font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-soft); }
.artabla tbody th { font-weight: 700; white-space: nowrap; }
.artabla .ar { font-weight: 800; color: var(--nav); white-space: nowrap; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.2em; padding: 0; list-style: none; }
.tags li {
	background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px;
	padding: .3em .8em; font-size: .88rem; color: var(--ink-soft);
}
.tags li strong { color: var(--ink); }

.notice-box {
	border-left: 4px solid var(--acc); background: #fff7f0; padding: .8em 1em;
	border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 1.2em; font-size: .95rem;
}

/* ---------- Adatlap ---------- */
.breadcrumb { font-size: .87rem; color: var(--ink-soft); padding: .9rem 0 0; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb span { margin: 0 .35em; }

.single-jarmu-head { padding: .6rem 0 1.4rem; }
.single-jarmu-head h1 { margin-bottom: .2em; }
.single-jarmu-head .sub { color: var(--ink-soft); }

.jarmu-layout { display: grid; gap: 26px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .jarmu-layout { grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); } }

.gallery-main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.gallery-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
@media (min-width: 620px) { .gallery-thumbs { grid-template-columns: repeat(6, 1fr); } }
.gallery-thumbs button {
	padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden;
	cursor: pointer; background: none; line-height: 0;
}
.gallery-thumbs button[aria-current="true"] { border-color: var(--acc); }
.gallery-thumbs img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }

.sidebar-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 1.1rem 1.15rem; box-shadow: var(--shadow); margin-bottom: 18px;
}
.sidebar-card h2 { font-size: 1.05rem; }
.sidebar-card .from { font-size: 1.5rem; font-weight: 800; color: var(--nav); }
.sidebar-card .from small { display: block; font-size: .8rem; font-weight: 500; color: var(--ink-soft); }
.sidebar-card ul { list-style: none; margin: .6em 0; padding: 0; font-size: .95rem; }
.sidebar-card ul li { padding: .3em 0; border-bottom: 1px dashed var(--line); }
.sidebar-card ul li:last-child { border: 0; }

@media (min-width: 900px) { .sidebar-sticky { position: sticky; top: 88px; } }

/* ---------- Tartalom (statikus oldalak) ---------- */
.entry { max-width: 820px; }
.entry h2 { margin-top: 1.6em; }
.entry h3 { margin-top: 1.4em; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li { margin-bottom: .35em; }
.entry table { width: 100%; border-collapse: collapse; }
.entry th, .entry td { border: 1px solid var(--line); padding: .5em .7em; text-align: left; }
.entry .wp-block-image { margin: 1.4em 0; }
.entry blockquote { border-left: 4px solid var(--acc); margin: 1.4em 0; padding: .2em 0 .2em 1em; color: var(--ink-soft); }
.entry a { text-decoration: underline; }

.dl-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.dl-list li { margin-bottom: .5em; }
.dl-list a { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; }

/* ---------- Kapcsolat ---------- */
.contact-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-list { list-style: none; margin: 0 0 1.2em; padding: 0; font-size: 1.02rem; }
.contact-list li { padding: .5em 0; border-bottom: 1px solid var(--line); }
.contact-list li strong { display: block; font-size: .82rem; text-transform: uppercase;
	letter-spacing: .04em; color: var(--ink-soft); font-weight: 700; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ---------- USP ---------- */
.usp { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .usp { grid-template-columns: repeat(2, 1fr); } }
.usp li { position: relative; padding-left: 1.9em; }
.usp li::before {
	content: "✓"; position: absolute; left: 0; top: -1px; color: #fff; background: var(--ok);
	width: 1.35em; height: 1.35em; border-radius: 50%; display: grid; place-items: center;
	font-size: .78em; font-weight: 700;
}

/* ---------- Lábléc ---------- */
.site-footer { background: var(--nav); color: #cfdcea; margin-top: 2.6rem; padding: 2.2rem 0 1.4rem; font-size: .95rem; }
.site-footer h2 { color: #fff; font-size: 1.02rem; margin-bottom: .6em; }
.site-footer a { color: #cfdcea; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .22em 0; }
.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 1.6rem; padding-top: 1rem;
	display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; font-size: .87rem; color: #9db3cb;
}

/* ---------- Mobil hívás sáv ---------- */
.mobile-call {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 1px;
	box-shadow: 0 -2px 12px rgba(9, 24, 44, .18);
}
.mobile-call a {
	flex: 1; padding: .85em .5em; text-align: center; font-weight: 800; color: #fff;
	background: var(--acc); font-size: 1rem; white-space: nowrap;
}
/* Keskeny kijelzon a telefonszam elmarad, hogy a sav EGY soros (53px) maradjon:
   ket sorban 78px, a body csak 58px-t tart fenn -> letakarta a lap aljat. */
@media (max-width: 560px) { .mobile-call .mc-num { display: none; } }
.mobile-call a.sec { background: var(--nav); }
.mobile-call a:hover { text-decoration: none; }
@media (min-width: 900px) { .mobile-call { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 58px; } }

/* ---------- Lapozó, 404 ---------- */
.pager { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 1.8rem; }
.pager .page-numbers {
	padding: .45em .8em; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; background: #fff;
}
.pager .page-numbers.current { background: var(--nav); color: #fff; border-color: var(--nav); }

.empty-state { background: var(--bg-soft); border: 1px dashed var(--line); border-radius: var(--radius);
	padding: 1.6rem; text-align: center; color: var(--ink-soft); }

@media print {
	.site-header, .site-footer, .mobile-call, .bar, .gallery-thumbs { display: none; }
}

/* ==========================================================================
   2026-08 finomítás (SZTVM)
   Fejléc egy sorban · hero kontraszt + bizalmi csipeszek · kategória-kártyák
   · USP-kártyák · „Hogyan bérelhet?” lépések · kiemelt járművek
   ========================================================================== */

/* --- Fejléc: a menü és a nyelvváltó EGY sorban, 1160px-ig hamburger --- */
.header-in { flex-wrap: wrap; }
.brand-addr { display: none; }               /* a cím a heróban és a láblécben van */

@media (min-width: 1160px) {
	.site-nav { display: flex; align-items: center; gap: 4px; }
	.site-nav ul { flex: 0 1 auto; flex-wrap: nowrap; }
	.site-nav a { white-space: nowrap; padding: .45em .6em; }
	.lang { margin-left: 4px; }
}
@media (max-width: 1159px) {
	.site-nav { display: none; margin-right: 0; }
	.site-nav.open { display: block; width: 100%; order: 9; }
	.tel-cta { margin-left: auto; }
	.nav-toggle { display: inline-flex; margin-left: 8px; }
	.site-nav ul { display: block; padding: 0 0 10px; }
	.site-nav li { border-top: 1px solid rgba(255, 255, 255, .12); }
	.site-nav a { display: block; padding: .7em 2px; border-radius: 0; font-size: 1rem; white-space: normal; }
	.site-nav a:hover { background: transparent; }
	.site-nav .lang { padding: 10px 0 4px; margin-left: 0; }
}
.lang-pill {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; padding: .3em .55em;
	border: 1px solid rgba(255, 255, 255, .34); border-radius: 999px;
	font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: #d8e4f1;
}
.lang-pill:hover { background: rgba(255, 255, 255, .14); color: #fff; text-decoration: none; }

/* --- Hero: olvasható szöveg gradienssel, oldalsó behúzás mobilon is --- */
.hero-bg { opacity: .55; }
.hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(100deg, rgba(9, 26, 48, .94) 0%, rgba(9, 26, 48, .84) 40%, rgba(9, 26, 48, .46) 72%, rgba(9, 26, 48, .28) 100%);
}
.hero-in {
	position: relative; z-index: 2;
	padding: 3rem 18px 3.2rem;               /* a .wrap oldalsó behúzását ne nullázza le */
	max-width: 760px;
}
.hero h1 { text-wrap: balance; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.5rem 0 0; padding: 0; }
.hero-chips li {
	list-style: none; display: inline-flex; align-items: center; gap: .45em;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
	color: #e7eff8; font-size: .86rem; font-weight: 600;
	padding: .42em .85em; border-radius: 999px;
}
.hero-chips .ico { color: #ffb37a; font-weight: 700; }

/* --- Kategória-kártyák: egy vonalban, finom hover, rendes helykitöltő --- */
.cat-card { transition: transform .2s ease, box-shadow .2s ease; }
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(16, 32, 56, .15); }
.cat-card .thumb { flex: 0 0 auto; overflow: hidden; }
.cat-card .thumb img { transition: transform .35s ease; }
.cat-card:hover .thumb img { transform: scale(1.04); }
.cat-card .body { display: flex; flex-direction: column; flex: 1; }
.cat-card .more { margin-top: auto; }
.cat-card .thumb--placeholder {
	display: grid; place-items: center;
	background: linear-gradient(135deg, var(--nav) 0%, var(--nav-2) 100%);
}
.cat-card .thumb--placeholder img { width: 58%; height: auto; opacity: .92; transform: none; }
.cat-card:hover .thumb--placeholder img { transform: none; }

/* --- USP-k kártyaként --- */
.usp { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 14px; }
.usp li {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 1rem 1.15rem 1rem 3.1rem; box-shadow: var(--shadow); line-height: 1.5;
}
.usp li::before { left: 1.05rem; top: 1.05rem; }

/* --- „Hogyan bérelhet?” lépések --- */
.steps {
	list-style: none; margin: 0; padding: 0; counter-reset: step;
	display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(235px, 100%), 1fr));
}
.steps li {
	position: relative; background: #fff; border: 1px solid var(--line);
	border-radius: var(--radius); padding: 1.7rem 1.15rem 1.15rem; box-shadow: var(--shadow);
}
.steps li::before {
	counter-increment: step; content: counter(step);
	position: absolute; top: -15px; left: 1.15rem;
	width: 34px; height: 34px; border-radius: 50%;
	background: var(--acc); color: #fff; display: grid; place-items: center;
	font-weight: 800; font-size: .98rem; box-shadow: 0 4px 10px rgba(226, 104, 15, .35);
}
.steps h3 { font-size: 1.04rem; margin: .1em 0 .35em; color: var(--nav); }
.steps p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* --- Szekció alatti gombsor --- */
.section-cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 1.6rem; }

/* --- Finomítás: szekció-fejlécek levegője --- */
.section-head h2 { text-wrap: balance; }

/* --- Fejléc: szélesebb sáv, hogy a telefonos gomb is egy sorba férjen --- */
@media (min-width: 1160px) {
	.site-header .header-in { max-width: 1320px; }
	.site-nav a { font-size: .94rem; padding: .42em .52em; }
	.lang-pill { min-width: 34px; }
}

/* --- Logó-lockup a fejlécben (mark + X-Car + narancs „Autókölcsönző" sáv) --- */
.brand-lockup { display: inline-flex; align-items: center; gap: 11px; }
.brand-lockup:hover { text-decoration: none; }
.brand-mark { width: 54px; height: 54px; flex: 0 0 auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.03; }
.brand-name { color: #fff; font-weight: 800; font-size: 1.34rem; letter-spacing: -.02em; }
.brand-sub {
	color: #cddced; font-size: .78rem; font-weight: 600;
	letter-spacing: .01em; margin-top: 2px; white-space: nowrap;
}
.brand-addr { display: none; }
@media (max-width: 520px) {
	.brand-mark { width: 44px; height: 44px; }
	.brand-name { font-size: 1.12rem; }
	.brand-sub { font-size: .7rem; }
}

/* --- Két kategória-kártya: ne feszüljenek szét --- */
.grid-cats { max-width: 900px; margin-left: auto; margin-right: auto; }

/* --- Rejtett, csak felolvasónak szánt szöveg --- */
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap;
}

/* --- „Készítette: SZTVM" credit a lábléc alján --- */
.sztvm-credit { opacity: .72; }
.sztvm-credit a { font-weight: 700; border-bottom: 1px solid currentColor; }
.sztvm-credit a:hover { border-bottom-color: transparent; }

/* --- Térkép csak hozzájárulással (Google Maps sütik/IP miatt) --- */
.map-consent { position: relative; min-height: 340px; display: grid; place-items: center;
	background:
		linear-gradient(0deg, rgba(13, 43, 78, .05) 1px, transparent 1px) 0 0 / 100% 34px,
		linear-gradient(90deg, rgba(13, 43, 78, .05) 1px, transparent 1px) 0 0 / 34px 100%,
		var(--bg-soft);
}
.map-consent.is-loaded { display: block; min-height: 0; background: none; }
.map-consent__box { text-align: center; max-width: 470px; padding: 26px 22px; }
.map-consent__pin { color: var(--acc); display: block; margin: 0 auto 8px; }
.map-consent__addr { margin: 0 0 .5em; font-size: 1rem; color: var(--ink); }
.map-consent__note { margin: 0 0 1.1em; font-size: .86rem; line-height: 1.55; color: var(--ink-soft); }
.map-consent__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.map-consent__btns .btn { padding: .6em 1.1em; font-size: .95rem; }
.map-consent__remember { display: inline-flex; align-items: center; gap: 7px; margin-top: 1em; font-size: .8rem; color: var(--ink-soft); cursor: pointer; }

/* --- Árak/paraméterek összehasonlító táblázat --- */
.ar-filter {
	display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 18px;
	background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 14px 16px; margin-bottom: 18px;
}
.ar-filter label { display: flex; flex-direction: column; gap: 4px; font-size: .84rem; font-weight: 700; color: var(--ink-soft); }
.ar-filter select {
	font: inherit; font-size: .95rem; font-weight: 500; color: var(--ink);
	padding: .5em .7em; border: 1px solid #c8d1dc; border-radius: 8px; background: #fff; min-width: 190px;
}
.ar-filter .ar-check { flex-direction: row; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.ar-filter .ar-check input { width: 18px; height: 18px; }
.ar-count { margin: 0 0 0 auto; font-size: .86rem; font-weight: 700; color: var(--ink-soft); }
.ar-table-wrap { overflow-x: auto; }
.ar-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ar-table th, .ar-table td { padding: .7em .8em; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ar-table thead th { background: var(--nav); color: #fff; font-size: .84rem; letter-spacing: .02em; white-space: nowrap; position: sticky; top: 0; }
.ar-table tbody tr:hover { background: #f8fafc; }
.ar-table tbody th { font-weight: 700; }
.ar-table tbody th a { color: var(--nav); }
.ar-table tbody th small { display: block; font-weight: 500; color: var(--ink-soft); font-size: .82rem; margin-top: 2px; }
.ar-table .ar-price { font-weight: 800; color: var(--nav); white-space: nowrap; }
.ar-table .ar-yes { color: #14663f; font-weight: 700; }
.ar-table .ar-no { color: var(--ink-soft); }
.ar-table .ar-more .btn { padding: .42em .8em; font-size: .88rem; white-space: nowrap; }
.ar-empty { text-align: center; padding: 26px 10px; color: var(--ink-soft); }
.ar-empty .ar-reset { font: inherit; font-weight: 700; color: var(--acc); background: none; border: 0; text-decoration: underline; cursor: pointer; }
.ar-note { margin-top: 1.2rem; font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 860px) {
	.ar-table thead { display: none; }
	.ar-table tbody tr { display: block; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; padding: 6px 2px; background: #fff; }
	.ar-table tbody th, .ar-table tbody td { display: flex; justify-content: space-between; gap: 14px; border: 0; padding: .38em .8em; text-align: right; }
	.ar-table tbody th { text-align: left; padding-top: .6em; }
	.ar-table tbody td::before { content: attr(data-label); font-weight: 700; color: var(--ink-soft); font-size: .84rem; text-align: left; }
	.ar-table tbody td.ar-more { justify-content: stretch; padding: .6em .8em .7em; }
	.ar-table tbody td.ar-more::before { content: none; }
	.ar-table .ar-more .btn { width: 100%; }
	.ar-count { margin-left: 0; }
}

/* --- GYIK harmonika --- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow); margin-bottom: 10px; overflow: hidden;
}
.faq-item summary {
	cursor: pointer; list-style: none; padding: 1em 3em 1em 1.15em; position: relative;
	font-weight: 700; color: var(--nav); font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: "+"; position: absolute; right: 1em; top: 50%; transform: translateY(-50%);
	width: 26px; height: 26px; border-radius: 50%; background: var(--bg-soft); color: var(--acc);
	display: grid; place-items: center; font-size: 1.15rem; font-weight: 800; line-height: 1;
}
.faq-item[open] summary::after { content: "–"; background: var(--acc); color: #fff; }
.faq-item summary:hover { background: #f8fafc; }
.faq-answer { padding: 0 1.15rem 1.15rem; color: var(--ink-soft); line-height: 1.65; }
.faq-answer p { margin: 0; }
.faq-cta { text-align: center; margin-top: 2rem; }
.faq-cta p { margin: 0; font-weight: 700; color: var(--nav); }

/* --- Hosszú távú bérlés / flotta oldal --- */
.ltr-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem 1.5rem; }
.ltr-card h2 { font-size: 1.15rem; color: var(--nav); margin-bottom: .8em; }
.usp--plain { grid-template-columns: 1fr !important; gap: 10px; }
.usp--plain li { background: none; border: 0; box-shadow: none; padding: 0 0 0 1.9em; }
.usp--plain li::before { left: 0; top: 1px; }
.ltr-cta {
	margin-top: 2.2rem; background: var(--nav); color: #fff; border-radius: var(--radius);
	padding: 1.7rem 1.8rem; display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; justify-content: space-between;
}
.ltr-cta h2 { color: #fff; font-size: 1.3rem; margin-bottom: .3em; }
.ltr-cta p { margin: 0; color: #cfdcea; }
.ltr-cta .section-cta { margin-top: 0; }
.ltr-cta .btn-ghost { color: #fff; }
.ltr-cta .btn-ghost:hover { background: #fff; color: var(--nav); border-color: #fff; }

/* --- Kitöltendő helykitöltő a jogi szövegekben (jól látható, nyomtatásban is) --- */
.entry mark.xcar-todo {
	background: #fff3cd; color: #7a4b00; border: 1px dashed #d9a406;
	padding: 0 .35em; border-radius: 4px; font-weight: 700; font-size: .95em;
}

/* ==========================================================================
   2026-08-10 kör (SZTVM)
   Utánfutó vissza · flotta-kereső a kategórialapokon · kapcsolati űrlap
   · tipográfia és kártya-finomítás
   ========================================================================== */

/* --- A szűrők tényleg elrejtsék a kártyát/sort: a saját display szabályaink
       különben legyőzik a böngésző [hidden] szabályát. --- */
.jarmu-card[hidden] { display: none !important; }
.ar-table tbody tr[hidden] { display: none !important; }

/* --- Tipográfia: nagyobb kontraszt a címek és a szövegtörzs között --- */
h1 { font-size: clamp(1.72rem, 3.3vw, 2.1rem); }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.62rem); }
.entry p, .entry li { max-width: 74ch; }
.entry--intro { font-size: 1.04rem; color: var(--ink-soft); margin-bottom: 1.6rem; }
.entry--intro strong { color: var(--ink); }

/* --- Szekció-ritmus: nagyobb képernyőn több levegő --- */
@media (min-width: 900px) {
	.section { padding: 3.2rem 0; }
}

/* --- Szekció-fejléc: finom narancs jelzés a cím alatt --- */
.section-head h2, .section-head h1 { position: relative; padding-bottom: .55em; }
.section-head h2::after, .section-head h1::after {
	content: ""; position: absolute; left: 50%; bottom: .1em; transform: translateX(-50%);
	width: 54px; height: 3px; border-radius: 3px;
	background: linear-gradient(90deg, var(--acc), #f4a35e);
}

/* --- Hero: vékony arculati sáv a szekció alján --- */
.hero { border-bottom: 3px solid var(--acc); }

/* --- Gombok: érzékelhető, de visszafogott visszajelzés --- */
.btn { transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease, box-shadow .18s ease; }
.btn-acc { box-shadow: 0 3px 10px rgba(226, 104, 15, .28); }
.btn-acc:hover { box-shadow: 0 5px 16px rgba(226, 104, 15, .34); }
.btn:active { transform: translateY(1px); }

/* --- Járműkártya: ugyanaz a finom hover, mint a kategóriakártyán --- */
.jarmu-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.jarmu-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(16, 32, 56, .15); border-color: #cfd8e3; }
.jarmu-card .thumb { overflow: hidden; }
.jarmu-card .thumb img { transition: transform .35s ease; }
.jarmu-card:hover .thumb img { transform: scale(1.04); }
.jarmu-card .price strong { font-variant-numeric: tabular-nums; }
.jarmu-card h3 a:hover { text-decoration: none; color: var(--nav-2); }

/* --- Kép nélküli jármű (pl. utánfutó): arculati helykitöltő, ne szürke lyuk --- */
.jarmu-card .thumb--placeholder {
	display: grid; place-items: center;
	background: linear-gradient(135deg, var(--nav) 0%, var(--nav-2) 100%);
}
.jarmu-card .thumb--placeholder img { width: 46%; height: auto; opacity: .9; }
.jarmu-card:hover .thumb--placeholder img { transform: none; }

/* --- Három kategória-kártya: a teljes szélesség kell --- */
.grid-cats { max-width: none; }
@media (max-width: 979px) { .grid-cats { max-width: 900px; } }

/* --- Kategórialap: kereső a szűrősávban + belső linkek --- */
.ar-filter .ar-search { flex: 1 1 260px; max-width: 420px; }
.ar-filter input[type="search"] {
	font: inherit; font-size: .95rem; width: 100%;
	padding: .5em .7em; border: 1px solid #c8d1dc; border-radius: 8px; background: #fff; color: var(--ink);
}
.ar-filter input[type="search"]::placeholder { color: #8b98a8; }
.tax-links { margin: 1.6rem 0 0; font-size: .93rem; color: var(--ink-soft); }

/* --- Kapcsolati űrlap --- */
.kform { max-width: 720px; margin: 2.4rem 0 0; scroll-margin-top: 90px; }
.kform h2 { margin-bottom: .4em; }
.kform-lead { color: var(--ink-soft); }
.kform-form {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow); padding: 1.3rem 1.4rem 1.4rem;
}
.kform-row { margin: 0 0 1rem; display: flex; flex-direction: column; gap: 5px; }
.kform-row label { font-weight: 700; font-size: .92rem; color: var(--nav); }
.kform-opt { font-weight: 500; color: var(--ink-soft); font-size: .86rem; }
.kform-row input, .kform-row textarea {
	font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
	border: 1px solid #c8d1dc; border-radius: 8px; padding: .6em .75em; width: 100%;
}
.kform-row textarea { resize: vertical; min-height: 120px; }
.kform-row input:focus, .kform-row textarea:focus { border-color: var(--nav-2); }
.kform-row input[aria-invalid="true"], .kform-row textarea[aria-invalid="true"] { border-color: #c0392b; background: #fff8f7; }
.kform-two { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .kform-two { grid-template-columns: 1fr 1fr; } }
.kform-field-err { color: #a5281b; font-size: .86rem; font-weight: 600; }
.kform-consent { display: flex; flex-direction: column; gap: 4px; margin: 0 0 1.1rem; }
.kform-consent label { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--ink-soft); }
.kform-consent input { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 2px; }
.kform-consent a { text-decoration: underline; }
.kform-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0; }
.kform-or { font-size: .93rem; color: var(--ink-soft); }
.kform-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kform-ok {
	background: #eef8f2; border: 1px solid #bfe3cd; border-left: 4px solid var(--ok);
	border-radius: var(--radius); padding: 1em 1.15em; color: #15532f;
}
.kform-ok a { color: #15532f; text-decoration: underline; }
.kform-err {
	background: #fdf0ee; border: 1px solid #f0c4bd; border-left: 4px solid #c0392b;
	border-radius: var(--radius); padding: .9em 1.1em; color: #8f2417; font-weight: 600;
}

/* --- Mozgásérzékenység: aki kéri, ne kapjon animációt --- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
	.cat-card:hover, .jarmu-card:hover { transform: none; }
	.cat-card:hover .thumb img, .jarmu-card:hover .thumb img { transform: none; }
}

/* --- Kevés kártya: ne feszüljön szét a rács (pl. utánfutó kategória) --- */
.grid-narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

/* --- A menü 7 elemre csökkent (a „Hosszú táv" kiment), ezért a teljes menü
       már 1100px-től kifér – alatta továbbra is hamburger. --- */

/* --- Mobil érintőfelületek (WCAG 2.2 SC 2.5.8: min. 24x24 CSS px) --- */
@media (hover: none), (max-width: 860px) {
	.ar-filter .ar-check { min-height: 44px; }
	.ar-filter .ar-check input,
	.kform-consent input { width: 24px; height: 24px; }
	.kform-consent label { padding: .35rem 0; }
	.kform-consent input { margin-top: 0; }
	.ar-table .ar-more .btn { min-height: 44px; }
	.ar-table tbody th a,
	.jarmu-card h3 a { display: inline-block; padding: .16rem 0; }
}

/* ==========================================================================
   2026-08-17: közösségi ikon a fejlécben/láblécben, Waze link, átadás–leadás
   ========================================================================== */

/* Facebook ikon a fejlécben – csak asztali nézetben, hogy a hamburger-módban
   ne vegyen el helyet a hívás gombtól. */
.social-head { display: none; }
@media (min-width: 1160px) {
	.social-head {
		display: inline-flex; align-items: center; justify-content: center;
		width: 36px; height: 36px; flex: 0 0 auto; border-radius: 50%;
		color: #d8e4f1; border: 1px solid rgba(255, 255, 255, .34);
		transition: background .15s ease, color .15s ease;
	}
	.social-head:hover { background: rgba(255, 255, 255, .14); color: #fff; text-decoration: none; }
}

.social-foot { display: inline-flex; align-items: center; gap: .45em; }
.social-foot svg { flex: 0 0 auto; }
.footer-nav-links a { white-space: nowrap; }

.step-atadas { display: inline-block; margin-top: .35em; color: var(--ink-soft); }

/* A térkép-előnézet gombsora két útvonal-linkkel is maradjon rendezett. */
.map-consent__btns { flex-wrap: wrap; }
