/* Építkező.hu – alapstílus. Mobile-first, rendszerbetűkészlet, JS nélkül is használható. */
:root {
  --graphite: #263238;
  --graphite-2: #37474f;
  --green: #315C4A;
  --green-dark: #24463a;
  --sand: #E9E2D4;
  --sand-2: #f2ede3;
  --paper: #F8F7F3;
  --orange: #E58C42;
  --orange-dark: #b9651f;
  --ink: #1d272c;
  --muted: #5b6a71;
  --line: #d9d3c5;
  --line-2: #e7e2d7;
  --white: #fff;
  --ok: #2f6b45;
  --warn-bg: #fff4e6;
  --radius: 6px;
  --wrap: 1180px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(38, 50, 56, .06), 0 4px 16px rgba(38, 50, 56, .06);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--font); font-variant-numeric: tabular-nums; }
img { max-width: 100%; height: auto; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--green-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { color: var(--graphite); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
small, .small { font-size: .875rem; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--orange); color: var(--graphite); padding: .6rem 1rem; z-index: 100; font-weight: 700; }
.skip:focus { left: 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow-wrap { max-width: 800px; }
.narrow { max-width: 760px; }
.print-only { display: none; }

/* Gombok */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 46px; padding: .65rem 1.2rem; border-radius: var(--radius); border: 2px solid transparent; font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-sm { min-height: 38px; padding: .4rem .85rem; font-size: .92rem; }
.btn-lg { min-height: 54px; padding: .8rem 1.5rem; font-size: 1.05rem; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); }
.btn-accent { background: var(--orange); color: var(--graphite); }
.btn-accent:hover { background: #ef9d58; color: var(--graphite); }
.btn-ghost { background: transparent; color: var(--graphite); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--graphite); color: var(--graphite); }
.btn-ghost-light { background: transparent; color: var(--paper); border-color: rgba(248, 247, 243, .45); }
.btn-ghost-light:hover { border-color: var(--paper); color: var(--white); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* Fejléc */
.site-header { background: var(--graphite); color: var(--paper); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--paper); text-decoration: none; }
.brand:hover { color: var(--white); text-decoration: none; }
.brand-mark { flex: none; }
.brand-word { font-weight: 900; font-size: 1.28rem; letter-spacing: .08em; }
.brand-tld { font-weight: 500; letter-spacing: 0; color: var(--orange); font-size: .85em; margin-left: .05em; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: transparent; border: 1px solid rgba(248, 247, 243, .3); border-radius: var(--radius); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--paper); position: relative; content: ""; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.main-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--graphite); padding: .5rem 16px 1.25rem; border-top: 1px solid rgba(248, 247, 243, .12); }
.main-nav.open { display: block; }
.main-nav ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.main-nav a:not(.btn) { display: block; padding: .7rem 0; color: var(--paper); text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(248, 247, 243, .08); }
.main-nav a[aria-current="page"] { color: var(--orange); }
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .main-nav { display: flex; position: static; align-items: center; gap: 1.25rem; padding: 0; border: 0; background: none; }
  .main-nav ul { display: flex; gap: .15rem; margin: 0; }
  .main-nav a:not(.btn) { padding: .5rem .65rem; border: 0; border-radius: 4px; font-size: .97rem; }
  .main-nav a:not(.btn):hover { background: rgba(248, 247, 243, .08); }
  .main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
}

/* Morzsamenü */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; margin: 0; padding: .9rem 16px 0; font-size: .88rem; color: var(--muted); }
.crumbs.wrap ol { padding-left: 0; padding-right: 0; }
.crumbs li + li::before { content: "/"; margin-right: .25rem; color: var(--line); }
.crumbs a { color: var(--muted); }

/* Hero */
.hero { background-color: var(--graphite); color: var(--paper); background-image:
  linear-gradient(rgba(248, 247, 243, .045) 1px, transparent 1px),
  linear-gradient(90deg, rgba(248, 247, 243, .045) 1px, transparent 1px);
  background-size: 32px 32px; border-bottom: 4px solid var(--orange); }
.hero-inner { display: grid; gap: 2rem; padding-top: 3rem; padding-bottom: 3.25rem; }
.hero h1 { color: var(--white); max-width: 15em; }
.hero-sub { font-size: 1.18rem; color: #dfe3e1; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; color: var(--orange-dark); margin-bottom: .6rem; }
.hero .eyebrow { color: var(--orange); }
.eyebrow a { color: inherit; text-decoration: none; }
.hero-stat { background: rgba(248, 247, 243, .06); border: 1px solid rgba(248, 247, 243, .16); border-left: 4px solid var(--orange); padding: 1.25rem 1.4rem; border-radius: var(--radius); align-self: end; }
.hero-stat-label { font-size: .9rem; color: #cfd5d2; margin-bottom: .3rem; }
.hero-stat-value { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.8rem); font-weight: 800; color: var(--white); margin: 0; letter-spacing: -.02em; }
.hero-stat-value span { font-size: .45em; font-weight: 600; color: #cfd5d2; letter-spacing: 0; }
.hero-stat-change { color: var(--orange); font-weight: 700; margin: .2rem 0 .6rem; }
.hero-stat-link { color: var(--paper); font-weight: 600; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.5fr 1fr; align-items: end; padding-top: 4.5rem; padding-bottom: 4.5rem; } }

/* Szakaszok */
.section { padding: 3rem 0; }
.section-sand { background: var(--sand); }
.section-tint { background: var(--sand-2); }
.section-dark { background: var(--green); color: var(--paper); }
.section-dark h2 { color: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.section-head h2 { margin: 0; }
.more { font-weight: 700; text-decoration: none; }
.split { display: grid; gap: 1.5rem; align-items: center; }
.split-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 860px) { .split { grid-template-columns: 1.3fr 1fr; } .split-actions { justify-content: flex-end; } }
.section-box { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.5rem; margin: 2.5rem 0; }
.page-head { padding: 1.5rem 0 1.25rem; max-width: 52rem; }
.lead { font-size: 1.15rem; color: var(--graphite-2); }
.meta { font-size: .9rem; color: var(--muted); }

/* Kártyák */
.calc-grid, .article-grid, .news-grid, .chip-list, .link-list, .stat-grid { list-style: none; margin: 0; padding: 0; }
.calc-grid { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.calc-card { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; height: 100%; padding: 1.15rem 1.2rem; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.calc-card:hover { border-color: var(--green); color: var(--ink); transform: translateY(-2px); }
.calc-card-icon { grid-row: span 2; color: var(--green); background: var(--sand-2); border-radius: var(--radius); width: 52px; height: 52px; display: grid; place-items: center; }
.calc-card-title { font-weight: 800; font-size: 1.1rem; color: var(--graphite); align-self: end; }
.calc-card-text { color: var(--muted); font-size: .94rem; line-height: 1.45; }
.calc-grid-lg { margin-bottom: 2.5rem; }

.stat-grid { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); margin-bottom: 1rem; }
.stat-grid-3 { margin: 1.5rem 0; }
.stat { background: var(--white); border-radius: var(--radius); padding: 1.1rem 1.2rem; border-top: 4px solid var(--green); box-shadow: var(--shadow); }
.stat-lg { border-top-color: var(--orange); }
.stat-label { font-size: .9rem; color: var(--muted); margin-bottom: .35rem; font-weight: 600; }
.stat-value { font-size: 1.9rem; font-weight: 800; color: var(--graphite); margin: 0 0 .2rem; letter-spacing: -.02em; line-height: 1.15; }
.stat-value span { font-size: .55em; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.stat-value-split { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; font-size: 1.25rem; }
.stat-value-split small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.stat-meta { font-size: .82rem; color: var(--muted); margin: 0; }
.source-note { font-size: .85rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: .75rem; margin-top: 1rem; }

.article-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.article-card { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.15rem 1.25rem; }
.article-card h2, .article-card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.article-card h2 a, .article-card h3 a { color: var(--graphite); text-decoration: none; }
.article-card h2 a:hover, .article-card h3 a:hover { color: var(--green); text-decoration: underline; }
.article-card p { color: var(--graphite-2); font-size: .95rem; margin-bottom: .4rem; }
.article-cat { font-size: .75rem !important; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--orange-dark) !important; }
.article-date { font-size: .82rem !important; color: var(--muted) !important; }

.news-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.news-card { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.news-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--sand); }
.news-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { font-size: 1.02rem; }
.news-body h3 a { color: var(--graphite); text-decoration: none; }
.news-body h3 a:hover { text-decoration: underline; }
.news-body p { font-size: .92rem; color: var(--graphite-2); }
.news-meta { font-size: .8rem !important; color: var(--muted) !important; margin-bottom: .35rem; }
.news-source { font-weight: 800; color: var(--green); }
.news-more { margin-top: auto; font-size: .88rem; font-weight: 700; }
@media (min-width: 760px) {
  .news-grid-list { grid-template-columns: 1fr; }
  .news-grid-list .news-card { flex-direction: row; }
  .news-grid-list .news-card img { width: 280px; flex: none; aspect-ratio: auto; }
}

.chip-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .4rem .9rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--graphite); text-decoration: none; font-weight: 600; font-size: .93rem; }
.chip:hover, .chip.is-active { border-color: var(--green); background: var(--green); color: var(--white); }
.chip .count { font-size: .78rem; opacity: .75; }
.link-list li { padding: .45rem 0; border-bottom: 1px solid var(--line-2); }
.link-list a { font-weight: 600; }

/* Űrlapok */
.field { display: flex; flex-direction: column; gap: .3rem; }
.field[hidden] { display: none; }
.field label { font-weight: 700; font-size: .95rem; color: var(--graphite); }
.unit-inline { font-weight: 500; color: var(--muted); }
input[type="text"], input[type="email"], select { width: 100%; min-height: 50px; padding: .6rem .8rem; font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--white); border: 1.5px solid #b9b2a3; border-radius: var(--radius); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--graphite) 50%), linear-gradient(135deg, var(--graphite) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.2rem; }
input:focus, select:focus { border-color: var(--green); }
input[aria-invalid="true"] { border-color: #b3261e; background: #fff7f6; }
.field-error { color: #b3261e; font-size: .88rem; font-weight: 600; margin: 0; }
.input-unit { position: relative; display: flex; }
.input-unit input { padding-right: 4.6rem; }
.input-unit .unit { position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9rem; pointer-events: none; }
.help { font-size: .84rem; color: var(--muted); margin: 0; line-height: 1.45; }
.help-source { border-left: 2px solid var(--line); padding-left: .5rem; }
.check { display: flex !important; align-items: flex-start; gap: .65rem; font-weight: 600 !important; cursor: pointer; padding: .55rem 0; }
.check input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--green); flex: none; }
.filter-bar, .search-box { display: grid; gap: .9rem; align-items: end; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow); margin-bottom: 1.5rem; }
@media (min-width: 760px) { .filter-bar { grid-template-columns: repeat(3, 1fr) auto; } .search-box { grid-template-columns: 1fr 1fr auto; } }

/* Kalkulátor */
.calc-layout { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1040px) { .calc-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } .calc-results { position: sticky; top: 80px; } }
.calc-form fieldset { border: 1px solid var(--line-2); background: var(--white); border-radius: var(--radius); padding: 1.1rem 1.1rem 1.25rem; margin: 0 0 1rem; }
.calc-form legend { font-weight: 800; color: var(--graphite); padding: 0 .4rem; font-size: 1.05rem; }
.field-grid { display: grid; gap: 1rem; }
@media (min-width: 560px) { .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field-checkbox { grid-column: 1 / -1; } }
.assumptions { border: 1px dashed var(--line); border-radius: var(--radius); padding: .9rem 1.1rem; background: var(--sand-2); }
.assumptions summary { font-weight: 800; cursor: pointer; min-height: 32px; }
.assumptions[open] summary { margin-bottom: .75rem; }
.form-actions { margin-top: 1rem; }
.calc-results .results-inner { background: var(--white); border: 1px solid var(--line-2); border-top: 5px solid var(--green); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
.summary-list { margin: 0 0 1rem; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line-2); }
.summary-row dt { color: var(--graphite-2); }
.summary-row dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; }
.summary-row.emph dd { font-size: 1.35rem; color: var(--green); font-weight: 800; }
.warnings { list-style: none; padding: 0; margin: 0 0 1rem; }
.warnings li { background: var(--warn-bg); border-left: 4px solid var(--orange); padding: .6rem .8rem; margin-bottom: .5rem; font-size: .92rem; border-radius: 0 var(--radius) var(--radius) 0; }
.result-h { margin-top: 1rem; }
.items-table th[scope="row"] { font-weight: 600; }
.item-note, .item-source { display: block; font-size: .8rem; color: var(--muted); font-weight: 400; }
.item-source.sponsored { color: var(--orange-dark); font-weight: 700; }
.price-cell { white-space: nowrap; }
.price-input { width: 6.4rem !important; min-height: 40px !important; font-size: .95rem !important; padding: .35rem .5rem !important; display: inline-block; margin-right: .3rem; }
.per-unit { font-size: .78rem; color: var(--muted); }
.result-actions { margin: 1rem 0; }
.disclaimer { font-size: .82rem; color: var(--muted); }
.calc-method, .faq { margin-top: 2.5rem; }
.faq details { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); padding: .8rem 1rem; margin-bottom: .6rem; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: .6rem 0 0; }
.related-grid { display: grid; gap: 1.5rem; margin: 2.5rem 0 3rem; }
@media (min-width: 860px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-grid h2 { font-size: 1.15rem; }

/* Táblázatok */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1rem; }
table { width: 100%; border-collapse: collapse; background: var(--white); font-size: .95rem; }
caption { text-align: left; font-weight: 800; padding: .4rem 0 .6rem; color: var(--graphite); }
th, td { padding: .55rem .7rem; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
thead th { background: var(--sand-2); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--graphite-2); }
td.num, th.num { text-align: right; white-space: nowrap; }
tfoot th, tfoot td { font-weight: 800; border-top: 2px solid var(--graphite); background: var(--sand-2); }
.rank-table .is-selected { background: #fff4e6; }
.rank-table .total-row { font-weight: 800; background: var(--sand-2); }
.bar-col { width: 30%; min-width: 90px; }
.bar { display: block; height: 10px; background: var(--green); border-radius: 2px; margin-top: .45rem; }
.is-selected .bar { background: var(--orange); }
.breakdown-grid { display: grid; gap: 1rem; }
@media (min-width: 860px) { .breakdown-grid { grid-template-columns: repeat(3, 1fr); } }
.table-actions { margin-top: .25rem; }

/* Grafikon */
.chart { margin: 1.5rem 0; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1rem; }
.chart figcaption { font-weight: 800; color: var(--graphite); margin-bottom: .5rem; }
.chart-svg { width: 100%; height: auto; display: block; }
.chart-svg .grid { stroke: var(--line-2); stroke-width: 1; }
.chart-svg .ylab, .chart-svg .xlab { font-size: 12px; fill: var(--muted); font-family: var(--font); }
.chart-svg .series { stroke-width: 2.5; stroke-linejoin: round; }
.chart-svg .s1 { stroke: var(--green); fill: var(--green); }
.chart-svg .s2 { stroke: var(--orange); fill: var(--orange); }
.chart-svg .s3 { stroke: var(--graphite); fill: var(--graphite); }
.chart-svg path.s3 { stroke-dasharray: 6 4; }
.chart-svg path.series { fill: none; }
.chart-legend { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding: 0; margin: .5rem 0 0; font-size: .9rem; }
.chart-legend .sw { display: inline-block; width: 18px; height: 4px; margin-right: .4rem; vertical-align: middle; border-radius: 2px; }
.sw.s1 { background: var(--green); } .sw.s2 { background: var(--orange); } .sw.s3 { background: var(--graphite); }
.chart-data { margin-top: .6rem; font-size: .9rem; }
.chart-data summary { cursor: pointer; color: var(--green); font-weight: 600; }

/* Árak oldal */
.data-kinds { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
@media (min-width: 860px) { .data-kinds { grid-template-columns: repeat(3, 1fr); } }
.kind { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.kind h2 { font-size: 1.1rem; }
.kind p { font-size: .94rem; }
.kind-status { font-weight: 700; font-size: .86rem !important; color: var(--orange-dark); margin: 0; }
.kind-status.ok { color: var(--ok); }
.callout-link { margin: 1rem 0 2rem; }
.method-box { margin: 2rem 0 3rem; }

/* Cikk */
.article-head { max-width: 50rem; padding: 1.5rem 0 1rem; }
.article-layout { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr) 300px; } .article-aside { position: sticky; top: 84px; align-self: start; } }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.1em; }
.prose li { margin-bottom: .35em; }
.prose table { font-size: .93rem; }
.callout { background: var(--sand-2); border-left: 4px solid var(--green); padding: .9rem 1.1rem; margin: 1.3em 0; border-radius: 0 var(--radius) var(--radius) 0; }
.callout p:last-child { margin: 0; }
.toc, .aside-box { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: 1rem; }
.toc h2, .aside-box h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.toc ol { margin: 0; padding-left: 1.1rem; font-size: .93rem; }
.toc li { margin-bottom: .3rem; }
.related { margin-top: 3rem; }
.badge { display: inline-block; padding: .05rem .5rem; border-radius: 4px; font-size: .78rem; font-weight: 800; }
.badge-ok { background: #e3efe7; color: var(--ok); }
.badge-sponsored { background: var(--warn-bg); color: var(--orange-dark); }
.def-list { display: grid; grid-template-columns: minmax(0, 12rem) 1fr; gap: .5rem 1rem; }
.def-list dt { font-weight: 700; }
.def-list dd { margin: 0; }
.checklist { list-style: none; padding: 0 !important; }
.checklist li { padding-left: 1.7rem; position: relative; }
.checklist li::before { content: ""; position: absolute; left: .2rem; top: .45em; width: .9rem; height: .5rem; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.steps { list-style: none; counter-reset: s; padding: 0; display: grid; gap: 1rem; margin: 1rem 0 2rem; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.1rem; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--orange); color: var(--graphite); font-weight: 900; margin-bottom: .6rem; }
.steps h2 { font-size: 1.05rem; }
.steps p { font-size: .93rem; margin: 0; }
.notice { background: var(--warn-bg); border-left: 4px solid var(--orange); padding: .9rem 1.1rem; border-radius: 0 var(--radius) var(--radius) 0; }
.notice-info { background: #eef4f1; border-left-color: var(--green); margin: 0 0 1.5rem; }
.notice p:last-child { margin: 0; }
.contact-mail { margin: 1.25rem 0 2rem; }

/* Hírlevél, lábléc */
.newsletter { background: var(--sand); padding: 2.5rem 0; }
.newsletter-inner { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .newsletter-inner { grid-template-columns: 1fr 1fr; align-items: center; } }
.site-footer { background: var(--graphite); color: #cfd5d2; padding: 3rem 0 1.5rem; font-size: .95rem; }
.site-footer a { color: var(--paper); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { padding: .25rem 0; }
.footer-h { color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .7rem; }
.brand-light { margin-bottom: .8rem; }
.footer-bottom { border-top: 1px solid rgba(248, 247, 243, .12); margin-top: 2rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.social { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; }

/* Sütisáv */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--white); border-top: 3px solid var(--orange); box-shadow: 0 -6px 24px rgba(38, 50, 56, .15); }
.consent[hidden] { display: none; }
.consent-inner { display: grid; gap: .8rem; padding-top: 1rem; padding-bottom: 1rem; }
.consent p { margin: 0; font-size: .94rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (min-width: 900px) { .consent-inner { grid-template-columns: 1fr auto; align-items: center; } }

/* Nyomtatás / PDF */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; font-size: 11pt; }
  .site-header, .site-footer, .crumbs, .consent, .newsletter, .no-print, .calc-form, .result-actions, .faq, .calc-method .source-note, .skip, .page-head .meta, noscript { display: none !important; }
  .print-only { display: block !important; }
  .print-head { border-bottom: 2px solid #000; margin-bottom: 8mm; padding-bottom: 3mm; }
  .calc-layout { display: block; }
  .calc-results { position: static; }
  .calc-results .results-inner { box-shadow: none; border: 0; padding: 0; }
  .price-input { border: 0 !important; width: auto !important; padding: 0 !important; min-height: 0 !important; }
  .price-input:placeholder-shown { display: none; }
  .print-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1mm 6mm; font-size: 10pt; }
  .print-dl dd { margin: 0; font-weight: 700; }
  a { color: #000; text-decoration: none; }
  .table-wrap { overflow: visible; }
  h1 { font-size: 20pt; }
}

/* Szakemberkereső */
@media (min-width: 900px) { .filter-bar-4 { grid-template-columns: repeat(4, 1fr) auto; } }
.notice-demo { background: #fff4e6; border-left-color: var(--orange); margin: 0 0 1.5rem; }
.results-h { font-size: 1.15rem; margin: 1.5rem 0 .8rem; }
.featured-block { background: #fff8ef; border: 1px dashed var(--orange); border-radius: var(--radius); padding: 1rem 1.1rem .3rem; margin-bottom: 1.5rem; }
.featured-h { font-size: 1.05rem; }
.pro-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .8rem; }
.pro-card { display: grid; grid-template-columns: 56px 1fr; gap: .4rem 1rem; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.pro-card-featured { border-color: var(--orange); }
.pro-card h3 { margin: 0 0 .15rem; font-size: 1.15rem; }
.pro-card h3 a { color: var(--graphite); text-decoration: none; }
.pro-card h3 a:hover { color: var(--green); text-decoration: underline; }
.pro-body p { margin: 0 0 .3rem; }
.pro-prof { font-weight: 700; color: var(--green); font-size: .95rem; }
.pro-place { font-size: .92rem; }
.pro-intro { font-size: .92rem; color: var(--graphite-2); }
.pro-more { grid-column: 2; justify-self: start; }
@media (min-width: 760px) { .pro-card { grid-template-columns: 64px 1fr auto; align-items: center; } .pro-more { grid-column: 3; } }
.pro-avatar { width: 56px; height: 56px; border-radius: var(--radius); background: var(--green); color: var(--paper); display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; letter-spacing: .03em; }
.pro-avatar-lg { width: 84px; height: 84px; font-size: 1.7rem; flex: none; }
.pro-badges { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .35rem !important; }
.badge { background: var(--sand-2); color: var(--graphite-2); }
.badge-featured { background: var(--orange); color: var(--graphite); }
.badge-demo { background: var(--graphite); color: var(--paper); }
.pro-head { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.25rem 0 1rem; }
.pro-head h1 { margin-bottom: .2rem; }
.pro-head .lead { margin-bottom: .5rem; }
.pro-layout { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .pro-layout { grid-template-columns: minmax(0, 1fr) 340px; } .pro-aside { position: sticky; top: 84px; align-self: start; } }
.pro-dl { margin: 0 0 .8rem; }
.pro-dl dt { font-weight: 700; font-size: .88rem; margin-top: .6rem; }
.pro-dl dd { margin: .1rem 0 0; }
.vtag { display: inline-block; font-size: .72rem; font-weight: 700; padding: 0 .35rem; border-radius: 3px; background: var(--sand-2); color: var(--muted); margin-left: .3rem; }
.vtag-ok { background: #e3efe7; color: var(--ok); }
.fake-contact { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }
.gallery-placeholder { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.gallery-slot { aspect-ratio: 4 / 3; background: repeating-linear-gradient(45deg, var(--sand-2), var(--sand-2) 8px, var(--sand) 8px, var(--sand) 16px); border-radius: var(--radius); }
.gallery-placeholder p { grid-column: 1 / -1; }
.related-calcs { margin-top: 2rem; }

/* Hirdetési helyek */
.ad-slot { margin: 2rem auto; max-width: 970px; text-align: center; }
.ad-label { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.ad-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; min-height: 100px; border: 1px dashed #b9b2a3; border-radius: var(--radius); background: repeating-linear-gradient(-45deg, #f3efe6, #f3efe6 10px, #efe9dd 10px, #efe9dd 20px); color: var(--muted); font-weight: 700; }
.ad-box small { font-weight: 500; font-size: .78rem; }
@media (min-width: 760px) { .ad-banner .ad-box { min-height: 90px; } }
.ad-teglalap { max-width: 300px; margin: 1rem auto; }
.ad-teglalap .ad-box { min-height: 250px; }
.ad-wrap-bottom .ad-slot { margin-top: 0; }
