/* Villanypásztorok.hu téma – fő stíluslap */

:root {
	--ink: #18211B;
	--green: #1F3B2D;
	--green-2: #2A4436;
	--green-line: #3E5A4B;
	--yellow: #E0A800;
	--bg: #F6F5F0;
	--white: #FFFFFF;
	--sage: #E9EDE6;
	--sage-line: #C9D0C6;
	--line: #DCDAD2;
	--line-2: #ECEAE3;
	--muted: #5A615B;
	--text-2: #3D453F;
	--prose: #2B332D;
	--on-green: #C9D3CC;
	--on-dark: #C9CFCA;
	--on-dark-muted: #8F9A92;
	--sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mono: 'IBM Plex Mono', ui-monospace, monospace;
	--serif: 'IBM Plex Serif', Georgia, serif;
}

/* Alap */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: var(--ink); }
a:hover { color: var(--green); }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; padding: 12px 16px; background: var(--white); color: var(--ink); font-weight: 600; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.nolink { text-decoration: none; }
.img-cover { width: 100%; object-fit: cover; display: block; border-radius: 6px; background: var(--sage); }
.r-4 { border-radius: 4px; }
.ar-16-10 { aspect-ratio: 16 / 10; }
.ar-16-9 { aspect-ratio: 16 / 9; }
.ar-4-3 { aspect-ratio: 4 / 3; }
.ar-3-2 { aspect-ratio: 3 / 2; }
.ar-2-1 { aspect-ratio: 2 / 1; }

/* Apró elemek */
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.eyebrow--green { color: var(--green); }
.kicker { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.kicker::before { content: ""; width: 28px; height: 3px; background: var(--yellow); flex: none; }
.meta-row { display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.meta-row .cat { color: var(--green); font-weight: 500; }
.date { font-size: 13px; color: var(--muted); }
.more-link { font-weight: 600; font-size: 15px; }
.text-2 { color: var(--text-2); }
.arrow { flex: none; }

/* Fejléc */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 700; font-size: 18px; color: var(--ink); }
.brand-sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px 16px; flex-wrap: wrap; justify-content: flex-end; font-size: 14.5px; font-weight: 500; }
.main-nav .menu-calc > a { padding: 6px 10px; background: var(--yellow); color: var(--ink); border-radius: 6px; font-weight: 600; }
.main-nav .menu-calc.current-menu-item > a { box-shadow: none; }
.main-nav a { text-decoration: none; display: inline-block; padding: 4px 0; }
.main-nav .current-menu-item > a,
.main-nav .current-post-ancestor > a,
.main-nav .current-menu-parent > a,
.main-nav .current-category-ancestor > a { font-weight: 700; box-shadow: inset 0 -3px 0 var(--yellow); }
.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.nav-toggle-bars { width: 18px; height: 12px; position: relative; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }

/* Morzsamenü */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 36px; }
.crumbs a { color: var(--muted); }
.crumbs .sep { margin: 0 8px; }

/* Szekciófejléc */
.secthead { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; padding-top: 20px; border-top: 2px solid var(--ink); }
.secthead-text { display: flex; flex-direction: column; gap: 8px; max-width: 680px; }
.secthead-text p { color: var(--text-2); }
.h2 { font-size: 32px; line-height: 1.15; letter-spacing: -0.01em; }
.h2-sm { font-size: 28px; line-height: 1.2; }
.h2-xs { font-size: 24px; line-height: 1.25; }

/* Főoldal: hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: 600px; background: var(--green); }
.hero-copy-outer { display: flex; justify-content: flex-end; }
.hero-copy { width: 100%; max-width: 620px; padding: 72px 56px 64px 32px; display: flex; flex-direction: column; gap: 26px; justify-content: center; color: var(--bg); }
.hero-copy .kicker { color: var(--on-green); }
.hero-title { font-size: 56px; line-height: 1.04; letter-spacing: -0.02em; color: var(--white); }
.hero-lead { font-size: 19px; color: #DCE3DE; }
.hero-search { display: flex; flex-direction: column; gap: 10px; }
.hero-search label { font-size: 14px; font-weight: 600; color: var(--white); }
.search-box { display: flex; border-radius: 6px; overflow: hidden; background: var(--white); }
.search-box input { flex: 1; min-width: 0; border: 0; padding: 15px 16px; font: inherit; font-size: 16px; background: transparent; color: var(--ink); }
.search-box input:focus-visible { outline-offset: -3px; }
.search-box button { border: 0; background: var(--yellow); color: var(--ink); font: inherit; font-weight: 600; padding: 0 22px; min-height: 50px; cursor: pointer; }
.search-box--bordered { border: 1px solid var(--line); }
.hero-img { position: relative; overflow: hidden; container-type: size; background: var(--green-2); }
.hero-stage { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); aspect-ratio: 644 / 416; width: max(100cqw, calc(100cqh * 1.548)); }
.hero-stage img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pin { position: absolute; transform: translate(-18px, -50%); display: flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; min-height: 36px; border-radius: 999px; background: rgba(24, 33, 27, 0.84); color: var(--white); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25); }
.pin:hover { background: var(--ink); color: var(--white); }
.dot { width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; font-weight: 500; }

/* Főoldal: utak */
.paths-band { background: var(--white); border-bottom: 1px solid var(--line); }
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.path { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 26px 24px; border-right: 1px solid var(--line); text-decoration: none; }
.path:first-child { padding-left: 0; }
.path:last-child { padding-right: 0; border-right: 0; }
.path-num { font-family: var(--mono); font-size: 14px; color: var(--muted); padding-top: 2px; }
.path-text { display: flex; flex-direction: column; gap: 4px; }
.path-title { font-weight: 600; font-size: 17px; }
.path-sub { font-size: 14px; color: var(--muted); }

/* Főoldal: legfrissebb */
.section { padding-top: 88px; }
.section--first { padding-top: 72px; }
.latest { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; }
.lead-card { display: flex; flex-direction: column; gap: 16px; text-decoration: none; }
.lead-card-title { font-size: 32px; line-height: 1.18; font-weight: 600; letter-spacing: -0.01em; }
.lead-card-excerpt { color: var(--text-2); }
.list-cards { display: flex; flex-direction: column; }
.list-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.list-card:first-child { padding-top: 0; }
.list-card:last-child { padding-bottom: 0; border-bottom: 0; }
.list-card-text { display: flex; flex-direction: column; gap: 6px; }
.list-card-title { font-weight: 600; font-size: 18px; line-height: 1.3; }

/* Főoldal: fajtáblázat */
.species { background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.species-row { display: grid; grid-template-columns: 132px minmax(0, 1.6fr) minmax(0, 0.7fr) minmax(0, 0.9fr) minmax(0, 0.9fr) 28px; gap: 24px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line-2); text-decoration: none; }
.species-row:last-child { border-bottom: 0; }
a.species-row:hover { background: #FBFAF7; }
.species-head { border-bottom-color: var(--line); font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.species-name { display: flex; flex-direction: column; gap: 4px; }
.species-title { font-weight: 600; font-size: 18px; line-height: 1.3; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.species-val { font-family: var(--mono); font-size: 15px; }
.species-mat { font-size: 15px; color: var(--text-2); }
.subhead { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }

/* Rácsok és kártyák */
.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.card-title { font-weight: 600; font-size: 19px; line-height: 1.3; }
.card-title--sm { font-size: 16px; }
.card-title--md { font-size: 20px; }
.card-excerpt { font-size: 15px; color: var(--text-2); }
.card-small { gap: 10px; }

/* Főoldal: három elem */
.elements { margin-top: 96px; background: var(--green); color: var(--bg); }
.elements .wrap { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 48px; }
.elements-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.elements-head > div { display: flex; flex-direction: column; gap: 10px; max-width: 620px; }
.elements-head h2 { font-size: 36px; line-height: 1.15; letter-spacing: -0.01em; color: var(--white); }
.elements-head p { color: var(--on-green); }
.elements-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--green-line); }
.element { display: flex; flex-direction: column; gap: 14px; padding: 32px 32px 0; border-right: 1px solid var(--green-line); }
.element:first-child { padding-left: 0; }
.element:last-child { padding-right: 0; border-right: 0; }
.element-num { font-family: var(--mono); font-size: 13px; color: var(--yellow); }
.element h3 { font-size: 24px; color: var(--white); }
.element p { font-size: 15px; color: var(--on-green); }
.element a { color: var(--white); font-weight: 600; font-size: 15px; }

/* Főoldal: rovatoszlopok */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.col { display: flex; flex-direction: column; gap: 18px; padding-top: 20px; border-top: 2px solid var(--ink); }
.col-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.col-head a { font-size: 14px; font-weight: 600; }
.col-link { padding-top: 14px; border-top: 1px solid var(--line); text-decoration: none; font-weight: 500; }

/* Fogalomtár */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 48px; }
.panel-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.gloss { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; margin: 0; border-top: 1px solid var(--ink); }
.gloss > div { padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.gloss dt { font-weight: 600; font-size: 18px; }
.gloss dd { margin: 6px 0 0; color: var(--text-2); font-size: 15px; }

/* Hibakeresés és GYIK */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.steps { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps .n { font-family: var(--mono); color: var(--muted); }
.steps strong { font-weight: 600; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 17px; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { font-family: var(--mono); font-weight: 400; transition: transform 0.15s; flex: none; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq .answer { margin: 0 0 20px; font-size: 15px; color: var(--text-2); }
.faq .answer p + p { margin-top: 10px; }

/* Lábléc */
.site-footer { background: var(--ink); color: var(--on-dark); margin-top: 96px; }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 40px; font-size: 15px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col a { color: var(--white); text-decoration: none; }
.foot-col a:hover { text-decoration: underline; color: var(--white); }
.foot-col .eyebrow { color: var(--on-dark-muted); letter-spacing: 0.06em; }
.foot-brand { font-weight: 700; font-size: 18px; color: var(--white); }
.foot-about { max-width: 320px; }
.foot-bottom { padding-top: 20px; padding-bottom: 28px; border-top: 1px solid #2E3830; font-size: 13px; color: var(--on-dark-muted); }
.no-footer-gap .site-footer { margin-top: 0; }

/* Kategória */
.cat-top { background: var(--white); border-bottom: 1px solid var(--line); }
.cat-top .wrap { padding-top: 28px; padding-bottom: 56px; }
.cathead { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.cathead-text { display: flex; flex-direction: column; gap: 20px; }
.cat-title { font-size: 52px; line-height: 1.05; letter-spacing: -0.02em; }
.cat-desc { font-size: 18px; color: var(--text-2); }
.box { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.box-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.box-head h2 { font-size: 17px; }
.box-head span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.spec { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px; font-size: 14px; text-decoration: none; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.spec:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-head { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
.spec .name { font-weight: 600; }
.spec .v { font-family: var(--mono); }
.start-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; font-weight: 500; }
.start-link:last-child { border-bottom: 0; padding-bottom: 0; }
.filterbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; font-size: 14px; font-weight: 500; padding: 10px 16px; min-height: 44px; border-radius: 999px; border: 1px solid #C9C6BE; background: var(--white); color: var(--ink); text-decoration: none; }
.chip:hover { border-color: var(--green); color: var(--ink); }
.chip[aria-current="page"] { border-color: var(--green); background: var(--green); color: var(--white); }
.filter-note { font-size: 14px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; padding-top: 40px; }
.wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; text-decoration: none; align-items: center; }
.wide-text { display: flex; flex-direction: column; gap: 12px; }
.wide-title { font-size: 28px; line-height: 1.18; font-weight: 600; letter-spacing: -0.01em; }
.pager { margin-top: 56px; }
.pager .nav-links { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-family: var(--mono); font-size: 15px; }
.pager .page-numbers { display: flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; }
.pager .page-numbers.current { background: var(--green); border-color: var(--green); color: var(--white); }
.pager .page-numbers.dots { border: 0; }
.pager .prev, .pager .next { padding: 0 16px; font-family: var(--sans); font-weight: 600; }
.long-band { margin-top: 96px; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.long { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; padding-top: 80px; padding-bottom: 80px; }
.long-body { max-width: 760px; font-size: 17px; line-height: 1.7; color: var(--prose); }
.long-body > * + * { margin-top: 20px; }
.long-body h2 { font-size: 30px; line-height: 1.2; color: var(--ink); letter-spacing: -0.01em; margin-top: 36px; }
.long-body h2:first-child { margin-top: 0; }
.long-body ul, .long-body ol { padding-left: 22px; }
.long-body li + li { margin-top: 6px; }
.long-body a { color: var(--green); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.long-faq { padding-top: 88px; }
.long-faq .long { padding: 0; }
.sticky { position: sticky; top: 24px; }

/* Tartalomjegyzék */
.toc { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.4; }
.toc-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc a { text-decoration: none; padding: 8px 0 8px 14px; border-left: 3px solid var(--line); }
.toc a.is-active { border-left-color: var(--yellow); font-weight: 600; }
.toc--box { padding: 18px 16px; background: var(--bg); border-radius: 8px; }
.toc--plain { font-size: 15px; gap: 4px; padding-top: 6px; }

/* Cikk */
.article { background: var(--white); }
.article-top { background: var(--sage); padding-bottom: 150px; }
.article-top .wrap { padding-top: 28px; }
.article-head { max-width: 860px; display: flex; flex-direction: column; gap: 20px; }
.article-head .kicker { color: var(--green); }
.article-title { font-size: 48px; line-height: 1.08; letter-spacing: -0.02em; }
.article-lead { font-family: var(--serif); font-size: 20px; line-height: 1.55; color: var(--text-2); }
.byline { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; padding-top: 16px; border-top: 1px solid var(--sage-line); font-size: 14px; color: #4F5751; }
.byline-author { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; flex: none; }
.avatar--lg { width: 48px; height: 48px; font-size: 16px; }
.share { margin-left: auto; display: flex; gap: 6px; }
.share a, .share button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--sage-line); background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; color: var(--ink); }
.share a:hover, .share button:hover { background: var(--white); }
.share button.is-done { border-color: var(--green); background: var(--green); }
.share button.is-done path { stroke: var(--white); }
.body3 { display: grid; grid-template-columns: 200px minmax(0, 700px) minmax(0, 280px); gap: 48px; justify-content: space-between; align-items: start; padding-bottom: 80px; margin-top: -110px; }
.body3--noimg { margin-top: -110px; }
.artimg { grid-column: 1 / 3; grid-row: 1; margin: 0; }
.artimg figcaption { padding-top: 10px; font-size: 13px; color: var(--muted); }
.toc-col { grid-column: 1; grid-row: 2; position: sticky; top: 24px; }
.main-col { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; min-width: 0; }
.side { grid-column: 3; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 28px; }
.body3--noimg .toc-col, .body3--noimg .main-col { grid-row: 1; }
.body3--noimg .side { grid-row: 1; }
.body3--noimg .main-col { background: var(--white); border-radius: 8px; padding-top: 32px; }
.keypoints { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 24px 28px; margin-bottom: 40px; }
.keypoints ul { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.keypoints li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; }
.keypoints li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; background: var(--yellow); }
.author-box { margin-top: 48px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; gap: 16px; align-items: flex-start; }
.author-box-text { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.author-box-text span:last-child { color: var(--text-2); }

/* Cikk szövege */
.prose { font-family: var(--serif); font-size: 19px; line-height: 1.75; color: var(--prose); overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 22px; }
.prose ul, .prose ol { padding-left: 26px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--muted); }
.prose ul li::marker { color: var(--yellow); }
.prose h2 { margin: 48px 0 16px; font-family: var(--sans); font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); scroll-margin-top: 24px; }
.prose h2::before { content: ""; display: block; width: 32px; height: 3px; background: var(--yellow); margin-bottom: 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 12px; font-family: var(--sans); font-size: 21px; line-height: 1.3; color: var(--ink); scroll-margin-top: 24px; }
.prose strong, .prose b { font-weight: 500; color: var(--ink); }
.prose a { color: var(--green); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose blockquote { margin: 8px 0 34px; padding: 26px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); font-size: 26px; line-height: 1.4; color: var(--green); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose .tipp { font-family: var(--sans); font-size: 16px; line-height: 1.6; background: var(--green); color: var(--bg); border-radius: 8px; padding: 24px 28px; margin: 12px 0 34px; }
.prose .tipp::before { content: "Gyakorlati tipp"; display: block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; }
.prose .tipp a { color: var(--white); }
.prose figure { margin: 0 0 28px; }
.prose figure img { border-radius: 6px; display: block; }
.prose figcaption { padding-top: 10px; font-family: var(--sans); font-size: 13px; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 28px; font-family: var(--sans); font-size: 15px; line-height: 1.5; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--ink); }
.prose .wp-block-table { overflow-x: auto; margin: 0 0 28px; }
.prose .wp-block-table table { margin: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.prose img { max-width: 100%; height: auto; }

/* Oldalsáv */
.side-box { background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.side-box-head { padding: 16px 20px; background: var(--green); color: var(--white); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.side-box-head span:first-child { font-weight: 600; }
.side-box-head span:last-child { font-family: var(--mono); font-size: 11px; color: var(--on-green); }
.side-box nav { padding: 4px 20px 6px; }
.side-box nav a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.side-box nav a:last-child { border-bottom: 0; }
.popular { display: flex; flex-direction: column; }
.popular .eyebrow { letter-spacing: 0.06em; margin-bottom: 8px; }
.pop { display: grid; grid-template-columns: 22px 72px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; align-items: center; }
.pop:last-child { border-bottom: 1px solid var(--line); }
.pop-n { font-family: var(--mono); font-size: 15px; color: var(--muted); }
.pop img { width: 72px; height: 54px; object-fit: cover; border-radius: 4px; display: block; background: var(--sage); }
.pop-text { display: flex; flex-direction: column; gap: 2px; }
.pop-text .eyebrow { font-size: 11px; color: var(--green); margin: 0; }
.pop-title { font-size: 14px; font-weight: 600; line-height: 1.35; }
.cta-dark { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--ink); color: var(--white); border-radius: 8px; text-decoration: none; }
.cta-dark:hover { color: var(--white); background: #0F1611; }
.cta-dark .eyebrow { color: var(--yellow); letter-spacing: 0.06em; }
.cta-dark-title { font-weight: 600; font-size: 18px; line-height: 1.3; }
.cta-dark-text { font-size: 14px; color: var(--on-dark); }
.cta-dark-link { font-size: 14px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 3px; }

/* Kapcsolódó */
.related-band { background: var(--bg); border-top: 1px solid var(--line); }
.related-band .wrap { padding-top: 72px; padding-bottom: 88px; }
.rel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }

/* Sima oldal, keresés, 404 */
.page-top { background: var(--white); border-bottom: 1px solid var(--line); }
.page-top .wrap { padding-top: 28px; padding-bottom: 48px; }
.page-title { font-size: 48px; line-height: 1.08; letter-spacing: -0.02em; margin-top: 20px; }
.page-body { max-width: 760px; padding-top: 56px; }
.page-body .prose { font-size: 18px; }
.search-again { max-width: 560px; margin-top: 24px; }
.empty { padding: 56px 0; font-size: 18px; color: var(--text-2); }

/* Reszponzív */
@media (max-width: 1100px) {
	.body3, .body3--noimg { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.body3 > * { grid-column: auto !important; grid-row: auto !important; }
	.toc-col { display: none; }
	.side { order: 5; }
}
@media (max-width: 960px) {
	.site-header .wrap { flex-wrap: wrap; }
	.nav-toggle { display: inline-flex; }
	.main-nav { display: none; width: 100%; }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
	.main-nav li { border-bottom: 1px solid var(--line-2); }
	.main-nav a { display: block; padding: 12px 0; }
	.main-nav .menu-calc > a { margin: 10px 0; display: inline-block; }
	.main-nav .current-menu-item > a, .main-nav .current-post-ancestor > a, .main-nav .current-menu-parent > a, .main-nav .current-category-ancestor > a { box-shadow: inset 3px 0 0 var(--yellow); padding-left: 12px; }
	.hero, .latest, .two, .cathead, .long { grid-template-columns: minmax(0, 1fr); }
	.hero { min-height: 0; }
	.hero-copy { padding: 56px 32px 48px; max-width: none; }
	.hero-img { min-height: 340px; }
	.paths, .three, .gloss, .cols, .elements-grid { grid-template-columns: minmax(0, 1fr); }
	.path, .path:first-child, .path:last-child { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
	.path:last-child { border-bottom: 0; }
	.element, .element:first-child, .element:last-child { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--green-line); }
	.element:last-child { border-bottom: 0; padding-bottom: 0; }
	.four, .grid, .rel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.species-row { grid-template-columns: 96px minmax(0, 1fr); gap: 8px 16px; }
	.species-row .hide-m, .species-head { display: none; }
	.cathead, .long { gap: 32px; }
	.long-toc { display: none; }
	.sticky { position: static; }
	.panel { padding: 32px 24px; }
}
@media (max-width: 600px) {
	.wrap { padding: 0 16px; }
	.hero-copy { padding: 48px 16px 40px; }
	.hero-title { font-size: 40px; }
	.cat-title { font-size: 36px; }
	.article-title, .page-title { font-size: 34px; }
	.h2 { font-size: 28px; }
	.lead-card-title { font-size: 26px; }
	.list-card { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; }
	.list-card-title { font-size: 16px; }
	.grid, .rel, .foot { grid-template-columns: minmax(0, 1fr); }
	.wide { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
	.prose { font-size: 18px; }
	.prose blockquote { font-size: 22px; }
	.share { margin-left: 0; }
	.panel { padding: 24px 16px; }
}

/* Nyomtatás */
@media print {
	.site-header, .site-footer, .side, .toc-col, .related-band, .share, .crumbs { display: none !important; }
	.article-top { padding-bottom: 24px; background: none; }
	.body3 { display: block; margin-top: 0; }
	.prose { font-size: 12pt; }
	.prose a { text-decoration: none; color: inherit; }
}
.list-section { padding-top: 48px; }
.h2-faq { font-size: 30px; }
.faq .plus { display: inline-block; width: 1em; text-align: center; }
@media (max-width: 600px) {
	.site-header .wrap { gap: 12px; }
	.nav-toggle { padding: 0 12px; }
}
@media (max-width: 380px) {
	.brand-sub { display: none; }
}

/* Fogalomtár oldal */
.gloss-intro { margin-top: 16px; max-width: 680px; }
.az-nav { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 28px; font-family: var(--mono); font-size: 15px; }
.az-nav a { display: flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; text-decoration: none; border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
.az-nav a:hover { border-color: var(--green); background: var(--green); color: var(--white); }
.gloss-page { padding-top: 56px; }
.gloss-group { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 32px; padding: 32px 0; border-top: 2px solid var(--ink); scroll-margin-top: 16px; }
.gloss-letter { font-family: var(--mono); font-size: 40px; font-weight: 500; line-height: 1; color: var(--green); }
.gloss-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.gloss-list > div { padding: 0 0 24px; scroll-margin-top: 16px; }
.gloss-list > div:target dt { box-shadow: inset 0 -3px 0 var(--yellow); display: inline; }
.gloss-list dt { font-weight: 600; font-size: 18px; }
.gloss-list dd { margin: 6px 0 0; color: var(--text-2); font-size: 15px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.gloss-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--green); }
.panel-foot { margin-top: 24px; }
@media (max-width: 960px) {
	.gloss-group { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.gloss-list { grid-template-columns: minmax(0, 1fr); }
}
.gloss-more { display: inline; }
.gloss-more .arrow { display: inline-block; vertical-align: -3px; margin-left: 4px; }

/* Tájékoztató a cikk végén */
.disclaimer { margin-top: 40px; padding: 20px 24px; border: 1px solid var(--line); border-left: 4px solid var(--yellow); border-radius: 6px; background: var(--bg); font-size: 14px; line-height: 1.6; color: var(--text-2); }
.disclaimer .eyebrow { display: block; margin-bottom: 6px; letter-spacing: 0.06em; }
.disclaimer + .author-box { margin-top: 32px; }

/* Villanypásztor kalkulátor oldal: teljes képernyőszélességű eszköz, alatta olvasható szöveg */
.calc-lead { max-width: 760px; margin: 16px 0 0; font-size: 19px; line-height: 1.6; color: var(--text-2); }
.calc-steps { max-width: 760px; margin: 18px 0 0; padding-left: 22px; font-size: 16px; }
.calc-steps li { margin-bottom: 6px; }
.calc-steps li::marker { font-family: var(--mono); color: var(--green); }
.calc-body { max-width: 860px; padding-top: 24px; padding-bottom: 72px; }
.calc-body .faq { margin-bottom: 40px; }
.calc-more { margin-bottom: 32px; }
.tool-body { max-width: 1240px; margin: 0 auto; padding: 0 32px 40px; }
@media (max-width: 760px) { .tool-body { padding: 0 0 32px; } .tool-body .kt { border-left: 0; border-right: 0; } }

/* Főoldal: villanypásztor kalkulátor sáv */
.calc-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 32px 36px; background: var(--ink); color: var(--white); border-radius: 8px; text-decoration: none; }
.calc-cta:hover { color: var(--white); background: #0F1611; }
.calc-cta-copy { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.calc-cta .eyebrow { color: var(--yellow); letter-spacing: 0.06em; }
.calc-cta-title { font-size: 30px; font-weight: 600; line-height: 1.15; }
.calc-cta-text { font-size: 16px; color: var(--on-dark); }
.calc-cta-btn { flex: none; padding: 14px 22px; background: var(--yellow); color: var(--ink); border-radius: 6px; font-weight: 600; }
.calc-cta:hover .calc-cta-btn { filter: brightness(1.05); }
@media (max-width: 760px) {
	.calc-cta { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
	.calc-cta-title { font-size: 24px; }
}

/* Cikk oldalsáv: kalkulátor doboz */
.cta-calc { background: var(--yellow); color: var(--ink); }
.cta-calc:hover { background: #EDB60F; color: var(--ink); }
.cta-calc .eyebrow { color: var(--ink); }
.cta-calc .cta-dark-text { color: var(--ink); }
.cta-calc .cta-dark-link { text-decoration-color: var(--ink); }
