/* ==========================================================================
   Öko-Garancia Zöld Magazin – fő stíluslap
   ========================================================================== */

/* ---------- Betűk (saját tárhelyről) ---------- */
@font-face {
	font-family: "Bricolage Grotesque";
	font-style: normal;
	font-weight: 400 800;
	font-stretch: 100%;
	font-display: swap;
	src: url(../fonts/bricolage-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Bricolage Grotesque";
	font-style: normal;
	font-weight: 400 800;
	font-stretch: 100%;
	font-display: swap;
	src: url(../fonts/bricolage-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Space Grotesk";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url(../fonts/space-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Space Grotesk";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url(../fonts/space-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Változók ---------- */
:root {
	--og-primary: #173a29;
	--og-accent: #3f8a2e;
	--og-lime: #c2e27c;
	--og-dark: #0f2a1d;
	--og-bg: #f4f7ef;
	--og-surface: #ffffff;
	--og-tint: #e9f0e0;
	--og-sand: #e3edd5;
	--og-sage: #dbe9cf;
	--og-text: #263029;
	--og-heading: #142219;
	--og-muted: #5d6b61;
	--og-line: #dbe4d0;
	--og-r: 18px;
	--og-r-sm: 12px;
	--og-shadow: 0 1px 2px rgba(15, 42, 29, .05), 0 8px 24px -12px rgba(15, 42, 29, .18);
	--og-shadow-lg: 0 24px 60px -20px rgba(15, 42, 29, .35);
	--og-head: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
	--og-body: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--og-ease: cubic-bezier(.2, .7, .2, 1);
	--og-leaf-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.2 19.8C3.6 10.4 9.6 3.9 20.3 3.7c.2 10.7-6.4 16.7-15.6 16.1l7.6-7.6a.9.9 0 0 0-1.3-1.3l-6.8 8.9Z'/%3E%3C/svg%3E");
}

/* ---------- Alap ---------- */
*, *::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; animation: none !important; }
}
body {
	margin: 0;
	background: var(--og-bg);
	color: var(--og-text);
	font: 400 16px/1.65 var(--og-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--og-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--og-accent); }
h1, h2, h3, h4, h5, h6 { font-family: var(--og-head); color: var(--og-heading); font-weight: 650; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--og-accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--og-lime); color: var(--og-primary); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.og-skip:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000;
	left: 12px; top: 12px; padding: 10px 16px; background: #fff; border-radius: 8px; box-shadow: var(--og-shadow);
}
.og-icon { flex: none; display: inline-block; vertical-align: middle; }

.og-container { width: 100%; max-width: 1260px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 900px) { .og-container { padding-inline: 28px; } }

/* ---------- Gombok ---------- */
.og-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 22px; border-radius: 999px; border: 1.5px solid transparent;
	font: 600 14.5px/1.1 var(--og-body); letter-spacing: .01em;
	transition: transform .2s var(--og-ease), background-color .2s, color .2s, box-shadow .2s;
	text-decoration: none; white-space: nowrap;
}
.og-btn--accent { background: var(--og-lime); color: var(--og-primary); box-shadow: 0 8px 20px -10px rgba(63, 138, 46, .7); }
.og-btn--accent:hover { color: #fff; transform: translateY(-2px); background: var(--og-accent); }
.og-btn--accent .og-icon { transition: transform .25s var(--og-ease); }
.og-btn--accent:hover .og-icon--arrow-r { transform: translateX(3px); }
.og-btn--ghost { border-color: var(--og-line); color: var(--og-heading); background: var(--og-surface); }
.og-btn--ghost:hover { border-color: var(--og-accent); color: var(--og-accent); }
.og-btn--block { width: 100%; }

.og-icon-btn {
	display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	border: 1.5px solid var(--og-line); background: var(--og-surface); color: var(--og-heading);
	transition: border-color .2s, color .2s, transform .2s;
}
.og-icon-btn:hover { border-color: var(--og-accent); color: var(--og-accent); }

/* ---------- Felső sáv ---------- */
.og-topbar { background: var(--og-dark); color: #cfe0d2; font-size: 13px; }
.og-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.og-topbar a { color: #e9efe9; }
.og-topbar a:hover { color: var(--og-lime); }
.og-ticker { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.og-ticker__label {
	display: inline-flex; align-items: center; gap: 5px; flex: none;
	color: var(--og-lime); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
}
.og-ticker__label .og-icon { animation: og-pulse 1.6s ease-in-out infinite; }
@keyframes og-pulse { 50% { opacity: .35; } }
.og-ticker__list { list-style: none; margin: 0; padding: 0; position: relative; height: 20px; flex: 1; min-width: 0; overflow: hidden; }
.og-ticker__list li {
	position: absolute; inset: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s var(--og-ease); font-weight: 500;
}
.og-ticker__list li.is-active { opacity: 1; transform: none; }
.og-topbar__right { display: none; align-items: center; gap: 22px; flex: none; }
.og-topbar__menu { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; font-weight: 500; }
@media (min-width: 760px) { .og-topbar__right { display: flex; } }

/* ---------- Közösségi ikonok ---------- */
.og-social { display: flex; gap: 8px; flex-wrap: wrap; }
.og-social a {
	display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
	background: var(--og-accent); color: #fff; transition: transform .2s, background-color .2s;
}
.og-social a:hover { color: #fff; transform: translateY(-2px); background: var(--og-primary); }
.og-social--top a { width: 26px; height: 26px; background: transparent; color: #d5ded7; }
.og-social--top a:hover { background: transparent; color: var(--og-lime); }
.og-social--top .og-icon { width: 15px; height: 15px; }

/* ---------- Fejléc ---------- */
.og-header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--og-bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--og-line); transition: box-shadow .25s; }
.admin-bar .og-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .og-header { top: 0; } }
.og-header.is-stuck { box-shadow: 0 10px 30px -18px rgba(15, 42, 29, .35); }
.og-header__inner { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.og-header__burger { display: inline-grid; }
.og-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.og-header__cta span { display: none; }
.og-header__cta { padding: 0; width: 42px; height: 42px; }
@media (min-width: 640px) {
	.og-header__cta { padding: 11px 20px; width: auto; height: auto; }
	.og-header__cta span { display: inline; }
}

/* Logó */
.og-logo { margin: 0; line-height: 1; font-size: inherit; }
.og-logo a { display: inline-flex; align-items: center; gap: 10px; color: var(--og-heading); text-decoration: none; }
.og-logo__mark {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
	background: var(--og-primary); color: var(--og-lime); transform: rotate(-6deg); border-radius: 50% 10px 50% 10px;
	transition: transform .35s var(--og-ease);
}
.og-logo a:hover .og-logo__mark { transform: rotate(6deg) scale(1.05); }
.og-logo__mark .og-icon { width: 26px; height: 26px; }
.og-logo__text { display: flex; flex-direction: column; gap: 5px; font: 800 24px/1 var(--og-head); letter-spacing: -.025em; white-space: nowrap; }
.og-logo__text em { font-style: normal; color: var(--og-accent); }
.og-logo__tag { font: 600 10.5px/1.1 var(--og-body); letter-spacing: .12em; text-transform: uppercase; color: var(--og-muted); }
@media (max-width: 520px) { .og-logo__tag { display: none; } }
.og-logo--image img { max-height: 54px; width: auto; }
@media (max-width: 420px) {
	.og-logo__text { font-size: 19px; }
	.og-logo__mark { width: 38px; height: 38px; border-radius: 12px; }
}

/* Főmenü */
.og-nav { display: none; margin-left: 12px; }
.og-nav__menu, .og-nav__menu ul { list-style: none; margin: 0; padding: 0; }
.og-nav__menu { display: flex; align-items: center; gap: 2px; }
.og-nav__menu > li { position: relative; }
.og-nav__menu a {
	display: flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px;
	font: 600 15px/1.2 var(--og-body); color: var(--og-heading); white-space: nowrap;
}
.og-nav__menu > li > a:hover, .og-nav__menu > li:focus-within > a { background: var(--og-sand); color: var(--og-heading); }
.og-nav__menu > .current-menu-item > a, .og-nav__menu > .current-menu-ancestor > a, .og-nav__menu > .current-category-ancestor > a, .og-nav__menu > .current-post-ancestor > a { color: var(--og-accent); background: var(--og-sage); }
.og-nav__menu .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px); margin-left: 4px; opacity: .6;
}
.og-nav__menu .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; padding: 10px;
	background: var(--og-surface); border: 1px solid var(--og-line); border-radius: 16px; box-shadow: var(--og-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s var(--og-ease), visibility .2s;
}
.og-nav__menu .sub-menu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.og-nav__menu li:hover > .sub-menu, .og-nav__menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.og-nav__menu .sub-menu a { border-radius: 10px; font-weight: 500; }
.og-nav__menu .sub-menu a:hover { background: var(--og-bg); color: var(--og-accent); }
.og-nav__menu .sub-menu .sub-menu { top: -10px; left: 100%; }

@media (min-width: 1040px) {
	.og-nav { display: block; }
	.og-header__burger { display: none; }
}

/* Pirulák */
.og-pills { border-top: 1px solid var(--og-line); }
.og-pills__list {
	list-style: none; margin: 0; padding: 10px 0; display: flex; gap: 8px; overflow-x: auto;
	scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.og-pills__list::-webkit-scrollbar { display: none; }
.og-pills__list a {
	display: inline-block; padding: 6px 15px; border-radius: 999px; border: 1px solid var(--og-line);
	background: var(--og-surface); color: var(--og-heading); font-size: 13.5px; font-weight: 500; white-space: nowrap;
	transition: border-color .2s, color .2s, background-color .2s;
}
.og-pills__list a:hover { border-color: var(--og-accent); color: var(--og-accent); }
.og-pills__list a.is-current { background: var(--og-primary); border-color: var(--og-primary); color: #fff; }

/* Keresés réteg */
.og-search, .og-drawer { position: fixed; inset: 0; z-index: 200; }
.og-search[hidden], .og-drawer[hidden] { display: none; }
.og-search__backdrop, .og-drawer__backdrop {
	position: absolute; inset: 0; background: rgba(15, 42, 29, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
	opacity: 0; transition: opacity .3s;
}
.is-open .og-search__backdrop, .is-open .og-drawer__backdrop { opacity: 1; }
.og-search__panel {
	position: relative; margin: 12vh auto 0; width: min(720px, calc(100% - 32px)); padding: 40px 32px 36px;
	background: var(--og-bg); border-radius: 28px; box-shadow: var(--og-shadow-lg);
	opacity: 0; transform: translateY(-16px) scale(.98); transition: opacity .3s, transform .35s var(--og-ease);
}
.og-search.is-open .og-search__panel { opacity: 1; transform: none; }
.og-search__title { font: 700 28px/1.2 var(--og-head); color: var(--og-heading); margin: 0 0 18px; }
.og-search__close { position: absolute; top: 16px; right: 16px; }

/* Keresőűrlap */
.og-searchform { display: flex; align-items: center; gap: 8px; padding: 6px; background: var(--og-surface); border: 1.5px solid var(--og-line); border-radius: 999px; transition: border-color .2s, box-shadow .2s; }
.og-searchform:focus-within { border-color: var(--og-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--og-accent) 18%, transparent); }
.og-searchform input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 16px; font-size: 16px; outline: none; }
.og-searchform button { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--og-accent); color: #fff; }
.og-searchform button:hover { background: var(--og-primary); }

/* Mobil fiók */
.og-drawer__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: min(380px, 88vw); background: var(--og-bg); overflow-y: auto;
	padding: 18px 20px 32px; display: flex; flex-direction: column; gap: 20px;
	transform: translateX(-100%); transition: transform .35s var(--og-ease); box-shadow: var(--og-shadow-lg);
}
.og-drawer.is-open .og-drawer__panel { transform: none; }
.og-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.og-drawer__menu, .og-drawer__menu ul { list-style: none; margin: 0; padding: 0; }
.og-drawer__menu > li { border-bottom: 1px solid var(--og-line); }
.og-drawer__menu li { position: relative; }
.og-drawer__menu a { display: block; padding: 13px 44px 13px 2px; font: 600 17px/1.3 var(--og-head); color: var(--og-heading); }
.og-drawer__menu .sub-menu, .og-drawer__menu .children { display: none; padding: 0 0 10px 14px; }
.og-drawer__menu .sub-menu a, .og-drawer__menu .children a { font: 500 15px/1.3 var(--og-body); padding-block: 8px; }
.og-drawer__menu li.is-expanded > .sub-menu, .og-drawer__menu li.is-expanded > .children { display: block; }
.og-drawer__menu--small { margin-top: 16px; }
.og-drawer__menu--small > li { border: 0; }
.og-drawer__menu--small a { font: 500 14px/1.3 var(--og-body); color: var(--og-muted); padding-block: 7px; }
.og-sub-toggle {
	position: absolute; right: 0; top: 7px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--og-line);
	background: var(--og-surface); display: grid; place-items: center; color: var(--og-heading);
}
.og-sub-toggle .og-icon { transition: transform .25s; }
.is-expanded > .og-sub-toggle .og-icon { transform: rotate(180deg); }
body.og-locked { overflow: hidden; }

/* ---------- Leveles inda sáv ---------- */
.og-leaf-strip {
	height: 48px;
	background-color: var(--og-tint);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='44' viewBox='0 0 160 44'%3E%3Cpath d='M0 24C20 12 60 34 80 22S140 12 160 24' fill='none' stroke='%233f8a2e' stroke-opacity='.45' stroke-width='1.6'/%3E%3Cg fill='%233f8a2e'%3E%3Cpath transform='translate(18 19) rotate(-40)' d='M0 0C5-7 17-8 24-4 19 2 7 4 0 0Z'/%3E%3Cpath transform='translate(98 20) rotate(-35)' d='M0 0C5-7 17-8 24-4 19 2 7 4 0 0Z'/%3E%3C/g%3E%3Cg fill='%239cc45a'%3E%3Cpath transform='translate(52 27) rotate(35)' d='M0 0C5-7 17-8 24-4 19 2 7 4 0 0Z'/%3E%3Cpath transform='translate(134 21) rotate(30)' d='M0 0C5-7 17-8 24-4 19 2 7 4 0 0Z'/%3E%3C/g%3E%3Ccircle cx='80' cy='22' r='2.4' fill='%23c2e27c'/%3E%3C/svg%3E");
	background-repeat: repeat-x;
	background-position: center;
	border-block: 1px solid var(--og-line);
}

/* ---------- Szekciók ---------- */
.og-main { display: block; min-height: 50vh; }
.og-section { padding-block: 44px; }
.og-section--tint { background: var(--og-tint); border-block: 1px solid var(--og-line); }
.og-hero { padding-top: 32px; }

.og-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--og-line); margin-bottom: 26px; }
.og-section-title { font: 700 22px/1.2 var(--og-head); margin: 0; }
.og-section-title span { display: inline-block; padding-bottom: 12px; margin-bottom: -1px; border-bottom: 3px solid var(--og-accent); }
.og-section-head .og-section-title { margin: 0; }
.og-section-title__more { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; padding-bottom: 12px; color: var(--og-muted); }
.og-section-title__more:hover { color: var(--og-accent); }

/* Elrendezés + oldalsáv */
.og-layout { display: grid; gap: 44px; }
.og-layout__main { min-width: 0; }
@media (min-width: 1000px) {
	.og-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; }
	.og-layout > .og-sidebar { border-left: 1px solid var(--og-line); padding-left: 32px; }
}

/* Rácsok */
.og-grid { display: grid; gap: 32px 26px; }
@media (min-width: 640px) {
	.og-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.og-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) { .og-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Kártyák ---------- */
.og-card { position: relative; min-width: 0; }
.og-card__media { position: relative; display: block; overflow: hidden; border-radius: var(--og-r); background: var(--og-sage); isolation: isolate; }
.og-card__media .og-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--og-ease), filter .4s; }
.og-card:hover .og-card__media .og-img { transform: scale(1.045); }
.og-card__title { font: 650 18px/1.28 var(--og-head); margin: 0 0 8px; letter-spacing: -.01em; }
.og-card__title a {
	color: var(--og-heading);
	background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat;
	background-size: 0 2px; background-position: 0 100%; transition: background-size .35s var(--og-ease), color .2s;
}
.og-card__title a:hover { background-size: 100% 2px; color: var(--og-heading); }
.og-card__excerpt { color: var(--og-muted); font-size: 14.5px; line-height: 1.6; margin: 8px 0 0; }

/* Helyettesítő kép */
.og-img--placeholder { display: grid !important; place-items: center; width: 100%; aspect-ratio: 3 / 2; color: rgba(255, 255, 255, .85); }
.og-img--placeholder .og-icon { width: 30%; height: auto; max-width: 72px; }
.og-tone-sage { background: linear-gradient(135deg, #a9c9a0, #5f9367); }
.og-tone-moss { background: linear-gradient(135deg, #c9dc8f, #6f9c43); }
.og-tone-sky { background: linear-gradient(135deg, #a8d0cc, #5a9a94); }
.og-tone-lime { background: linear-gradient(135deg, #dceca4, #8fbb4f); }

/* Címke */
.og-badge {
	display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px;
	background: var(--og-surface); color: var(--og-primary);
	font: 700 10.5px/1.1 var(--og-body); letter-spacing: .08em; text-transform: uppercase;
	box-shadow: 0 2px 8px -2px rgba(15, 42, 29, .25); transition: background-color .2s, color .2s;
}
.og-badge:hover { background: var(--og-accent); color: #fff; }
.og-badge--soft { background: var(--og-sage); box-shadow: none; }
.og-card--grid .og-card__media .og-badge, .og-card--list .og-card__media .og-badge { position: absolute; left: 12px; bottom: 12px; z-index: 2; }

/* Meta */
.og-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 12.5px; color: var(--og-muted); }
.og-meta > span, .og-meta > a { display: inline-flex; align-items: center; gap: 5px; }
.og-meta .og-icon { color: var(--og-accent); }
.og-meta a { color: inherit; }
.og-meta a:hover { color: var(--og-accent); }
.og-meta__author a { color: var(--og-heading); font-weight: 600; }
.og-meta__avatar { border-radius: 50%; width: 28px; height: 28px; margin-right: 4px; }

/* Rács-kártya */
.og-card--grid .og-card__body { padding-top: 14px; }
.og-card--grid.is-large .og-card__title { font-size: 22px; }
.og-card--grid.is-large .og-card__media .og-img { aspect-ratio: 16 / 10; }

/* Képre írt kártya */
.og-card--overlay { border-radius: var(--og-r); overflow: hidden; isolation: isolate; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--og-primary); }
.og-card--overlay .og-card__media { position: absolute; inset: 0; border-radius: 0; }
.og-card--overlay .og-card__media .og-img { height: 100%; aspect-ratio: auto; }
.og-card--overlay .og-card__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(8, 30, 19, 0) 28%, rgba(8, 30, 19, .55) 60%, rgba(8, 30, 19, .9) 100%);
}
.og-card--overlay .og-card__body { position: relative; z-index: 2; padding: 22px; color: #fff; pointer-events: none; }
.og-card--overlay .og-card__body a { pointer-events: auto; }
.og-card--overlay .og-card__title { margin: 12px 0 10px; font-size: 21px; }
.og-card--overlay .og-card__title a, .og-card--overlay .og-card__title a:hover { color: #fff; }
.og-card--overlay .og-meta { color: rgba(255, 255, 255, .85); }
.og-card--overlay .og-card__excerpt { color: rgba(255, 255, 255, .85); max-width: 60ch; }
.og-card--overlay.is-xl { min-height: 440px; }
.og-card--overlay.is-xl .og-card__body { padding: 30px; }
.og-card--overlay.is-xl .og-card__title { font-size: clamp(26px, 3.4vw, 42px); line-height: 1.12; font-weight: 700; max-width: 22ch; }
.og-card--overlay.is-compact { min-height: 250px; margin-bottom: 8px; }
.og-card--overlay.is-compact .og-card__title { font-size: 18px; }
@media (min-width: 900px) { .og-card--overlay.is-xl { min-height: 500px; } .og-card--overlay.is-xl .og-card__body { padding: 40px; } }

/* Lista-kártya */
.og-list { display: grid; gap: 0; }
.og-card--list { display: grid; gap: 18px; padding-block: 26px; border-bottom: 1px dashed var(--og-line); }
.og-card--list:first-child { padding-top: 0; }
.og-card--list .og-card__title { font-size: 21px; }
.og-card--list .og-meta { margin-bottom: 4px; }
@media (min-width: 640px) {
	.og-card--list { grid-template-columns: 260px minmax(0, 1fr); gap: 26px; align-items: center; }
	.og-card--list .og-card__media .og-img { aspect-ratio: 4 / 3; }
}
.og-card--page { padding-block: 22px; border-bottom: 1px dashed var(--og-line); }
.og-card--page .og-card__title { margin-top: 10px; font-size: 21px; }

/* Mini kártya */
.og-minis { margin-top: 30px; gap: 18px 26px; }
.og-card--mini { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: center; }
.og-card--mini .og-card__media { border-radius: var(--og-r-sm); }
.og-card--mini .og-card__media .og-img { aspect-ratio: 4 / 3; }
.og-card--mini .og-card__title { font-size: 15.5px; margin-bottom: 5px; }
.og-card--mini .og-img--placeholder .og-icon { width: 34px; }

/* Oldal-kártya (főoldali Népszerű oszlop) */
.og-card--side { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 16px; align-items: start; padding-block: 18px; border-bottom: 1px dashed var(--og-line); }
.og-card--side:last-child { border-bottom: 0; }
.og-card--side .og-card__title { font-size: 16.5px; }
.og-card--side .og-card__excerpt { font-size: 13.5px; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.og-card--side .og-card__media { border-radius: 14px; }
.og-card--side .og-card__media .og-img { aspect-ratio: 1; }
.og-card--side .og-img--placeholder .og-icon { width: 34px; }

/* Rangsor-kártya */
.og-card--rank { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; align-items: center; padding-block: 14px; border-bottom: 1px dashed var(--og-line); }
.og-card--rank:last-child { border-bottom: 0; }
.og-card__rank {
	display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
	background: var(--og-sage); color: var(--og-primary); font: italic 700 17px/1 var(--og-head);
	transition: background-color .25s, color .25s;
}
.og-card--rank:hover .og-card__rank { background: var(--og-accent); color: #fff; }
.og-card--rank .og-card__title { font-size: 15.5px; margin-bottom: 4px; }

/* ---------- Nyitó blokk ---------- */
.og-hero__grid { display: grid; gap: 36px; }
.og-hero__row { margin-top: 28px; }
@media (min-width: 760px) { .og-hero__row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.og-hero__row .og-card__title { font-size: 16.5px; }
@media (min-width: 1100px) {
	.og-hero__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; }
	.og-hero__side { border-left: 1px solid var(--og-line); padding-left: 32px; }
}

/* ---------- Füles blokk ---------- */
.og-tabs__nav { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 10px; }
.og-tabs__nav button {
	border: 1px solid var(--og-line); background: var(--og-surface); border-radius: 999px; padding: 6px 14px;
	font: 600 12.5px/1.2 var(--og-body); letter-spacing: .04em; text-transform: uppercase; color: var(--og-muted);
	transition: all .2s;
}
.og-tabs__nav button:hover { color: var(--og-accent); border-color: var(--og-accent); }
.og-tabs__nav button[aria-selected="true"] { background: var(--og-primary); border-color: var(--og-primary); color: #fff; }
.og-tabs__panel { animation: og-fade .45s var(--og-ease); }
@keyframes og-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.og-mosaic { display: grid; gap: 28px 24px; }
@media (min-width: 640px) { .og-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); } .og-mosaic .is-tall { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
	.og-mosaic { grid-template-columns: 1.25fr 1fr 1fr; }
	.og-mosaic .is-tall { grid-column: 1; grid-row: span 2; }
	.og-mosaic .is-tall .og-card__media .og-img { aspect-ratio: 4 / 4.1; }
	.og-mosaic .is-tall .og-card__title { font-size: 25px; }
}
.og-tabs__more { margin: 30px 0 0; text-align: center; }

/* ---------- Nagy sáv ---------- */
.og-banner {
	position: relative; overflow: hidden; isolation: isolate; margin: 44px auto; max-width: 1204px;
	border-radius: 32px; background: radial-gradient(120% 140% at 85% 20%, #2f6a43 0%, var(--og-primary) 55%, var(--og-dark) 100%); color: #fff; min-height: 380px; display: flex; align-items: center;
}
@media (max-width: 1260px) { .og-banner { margin-inline: 20px; } }
.og-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.og-banner.has-image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 30, 19, .92) 0%, rgba(8, 30, 19, .7) 45%, rgba(8, 30, 19, .1) 100%); }
.og-banner__inner { padding-block: 56px; }
.og-banner__content { max-width: 540px; }
.og-banner__kicker { display: inline-flex; align-items: center; gap: 6px; color: var(--og-lime); font-weight: 700; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.og-banner__title { color: #fff; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; font-weight: 750; margin-bottom: 14px; }
.og-banner p { color: rgba(255, 255, 255, .85); font-size: 16.5px; margin-bottom: 24px; }

/* ---------- Hirdetés ---------- */
.og-ad { text-align: center; }
.og-ad--wide { margin-block: 12px 32px; }
.og-ad--article { margin-block: 32px; }
.og-sidebar__sticky { position: sticky; top: 140px; }

/* ---------- Oldalsáv ---------- */
.og-sidebar { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.og-widget { min-width: 0; }
.og-box { border-radius: 24px; padding: 30px 26px; text-align: center; }
.og-box--cta { background: var(--og-sage); position: relative; overflow: hidden; }
.og-box--cta::after {
	content: ""; position: absolute; right: -30px; bottom: -30px; width: 140px; height: 140px; border-radius: 50%;
	background: color-mix(in srgb, var(--og-primary) 7%, transparent);
}
.og-box__icon { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--og-surface); color: var(--og-accent); margin-bottom: 14px; box-shadow: var(--og-shadow); }
.og-box__title { font: 700 22px/1.2 var(--og-head); margin-bottom: 8px; }
.og-box p { color: var(--og-muted); font-size: 14.5px; position: relative; z-index: 1; }
.og-box .og-btn { position: relative; z-index: 1; }
.og-cats__list { list-style: none; margin: 0; padding: 0; }
.og-cats__list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--og-line); color: var(--og-heading); font-weight: 500; }
.og-cats__list a:hover { color: var(--og-accent); }
.og-cats__list a:hover span { transform: translateX(4px); }
.og-cats__list span { transition: transform .25s var(--og-ease); }
.og-cats__list em { font-style: normal; font-size: 12px; font-weight: 600; min-width: 28px; text-align: center; padding: 3px 8px; border-radius: 999px; background: var(--og-sand); color: var(--og-primary); }

/* Klasszikus widgetek */
.og-widget ul { list-style: none; margin: 0; padding: 0; }
.og-widget li { padding: 8px 0; border-bottom: 1px dashed var(--og-line); }
.og-sidebar .og-widget.og-popular li, .og-sidebar .og-cats li { padding: 0; border: 0; }

/* ---------- Archívum fejléc ---------- */
.og-pagehead {
	position: relative; padding: 34px 0 40px; background-color: var(--og-tint); border-bottom: 1px solid var(--og-line); overflow: hidden;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='260' viewBox='0 0 420 260'%3E%3Cg fill='%23173a29' fill-opacity='.06'%3E%3Cpath transform='translate(210 190) rotate(-38) scale(7)' d='M0 0C5-7 17-8 24-4 19 2 7 4 0 0Z'/%3E%3Cpath transform='translate(330 236) rotate(-70) scale(4.2)' d='M0 0C5-7 17-8 24-4 19 2 7 4 0 0Z'/%3E%3Cpath transform='translate(120 120) rotate(20) scale(3)' d='M0 0C5-7 17-8 24-4 19 2 7 4 0 0Z'/%3E%3C/g%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right -30px center;
}
.og-pagehead__kicker { display: inline-block; margin: 14px 0 6px; color: var(--og-accent); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.og-pagehead__title { font-size: clamp(32px, 4.6vw, 54px); font-weight: 750; line-height: 1.05; margin: 6px 0 10px; letter-spacing: -.02em; }
.og-pagehead__desc { max-width: 680px; color: var(--og-muted); font-size: 16.5px; }
.og-pagehead__desc p:last-child { margin: 0; }
.og-pagehead__count { display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 0; padding: 5px 12px; border-radius: 999px; background: var(--og-surface); font-size: 13px; font-weight: 600; color: var(--og-primary); }
.og-pagehead__count .og-icon { color: var(--og-accent); }
.og-pagehead__icon { display: inline-grid; place-items: center; width: 1.2em; height: 1.2em; margin-right: .3em; vertical-align: -.16em; border-radius: 50% 14px 50% 14px; background: var(--og-surface); color: var(--og-accent); box-shadow: var(--og-shadow); }
.og-pagehead__icon .og-icon { width: .58em; height: .58em; }
.og-pagehead__search { max-width: 560px; margin-top: 18px; }
.og-archive { padding-top: 36px; padding-bottom: 20px; }
.og-archive__top { margin-bottom: 40px; }
.og-archive__top .og-card--overlay { min-height: 340px; }
.og-archive__top .og-card__title { font-size: clamp(21px, 2.2vw, 27px); line-height: 1.15; }

/* Morzsamenü */
.og-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--og-muted); text-transform: uppercase; letter-spacing: .04em; }
.og-crumbs a { color: var(--og-muted); }
.og-crumbs a:hover { color: var(--og-accent); }
.og-crumbs span[aria-current] { color: var(--og-heading); }
.og-crumbs__sep { opacity: .5; }

/* Lapozó */
.og-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.og-pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 999px;
	border: 1.5px solid var(--og-line); background: var(--og-surface); color: var(--og-heading); font-weight: 600; font-size: 15px;
	transition: all .2s;
}
.og-pagination a.page-numbers:hover { border-color: var(--og-accent); color: var(--og-accent); }
.og-pagination .current { background: var(--og-primary); border-color: var(--og-primary); color: #fff; }
.og-pagination .dots { border: 0; background: none; }

/* Üres állapot */
.og-empty { text-align: center; padding: 50px 24px; background: var(--og-surface); border-radius: 24px; border: 1px solid var(--og-line); }
.og-empty__icon { color: var(--og-accent); display: inline-block; margin-bottom: 10px; }
.og-empty .og-searchform { max-width: 460px; margin: 20px auto 0; }

/* ---------- Cikk ---------- */
.og-single { padding-top: 30px; padding-bottom: 20px; }
.og-article__head { margin-bottom: 26px; }
.og-article__cats { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 14px; }
.og-article__title { font-size: clamp(30px, 4.2vw, 48px); font-weight: 750; line-height: 1.08; letter-spacing: -.025em; margin-bottom: 16px; }
.og-article__lead { font-size: 19px; line-height: 1.55; color: var(--og-muted); margin-bottom: 18px; }
.og-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-top: 16px; border-top: 1px solid var(--og-line); }
.og-article__meta .og-meta { font-size: 13.5px; }
.og-article__updated { font-size: 12.5px; color: var(--og-muted); padding: 3px 10px; background: var(--og-sage); border-radius: 999px; }
.og-article__hero { margin: 0 0 24px; }
.og-article__hero .og-img { width: 100%; border-radius: 24px; aspect-ratio: 16 / 9; object-fit: cover; }
.og-article__hero figcaption { font-size: 13px; color: var(--og-muted); margin-top: 10px; text-align: center; }

/* Megosztás */
.og-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 30px; }
.og-share__label { font-weight: 600; font-size: 13.5px; color: var(--og-heading); margin-right: 4px; }
.og-share__btn {
	display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px; border: 0;
	color: #fff; font-size: 13px; font-weight: 600; transition: transform .2s, filter .2s;
}
.og-share__btn:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.08); }
.og-share__btn--facebook { background: #1877f2; }
.og-share__btn--x { background: #14171a; }
.og-share__btn--pinterest { background: #e60023; }
.og-share__btn--mail { background: var(--og-primary); }
.og-share__btn--copy { background: var(--og-sand); color: var(--og-heading); }
.og-share__btn--copy:hover { color: var(--og-heading); }
.og-share__btn--copy.is-done { background: var(--og-accent); color: #fff; }
@media (max-width: 520px) { .og-share__btn span { display: none; } .og-share__btn { padding: 10px; } }

/* Tartalom tipográfia */
.og-content { font-size: 17.5px; line-height: 1.78; color: var(--og-text); }
.og-content > * { margin-block: 0 1.15em; }
.og-content h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 1.8em; margin-bottom: .6em; }
.og-content h3 { font-size: 22px; margin-top: 1.6em; margin-bottom: .5em; }
.og-content h4 { font-size: 19px; margin-top: 1.4em; }
.og-content a { color: var(--og-primary); font-weight: 500; text-decoration: underline; text-decoration-color: var(--og-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.og-content a:hover { color: var(--og-accent); }
.og-content ul, .og-content ol { padding-left: 1.4em; }
.og-content li { margin-bottom: .45em; }
.og-content li::marker { color: var(--og-accent); font-weight: 700; }
.og-content ul:not([class]), .og-content ul.wp-block-list { list-style: none; padding-left: 1.7em; }
.og-content ul:not([class]) > li, .og-content ul.wp-block-list > li { position: relative; }
.og-content ul:not([class]) > li::before, .og-content ul.wp-block-list > li::before { content: ""; position: absolute; left: -1.45em; top: .42em; width: .9em; height: .9em; background: var(--og-accent); -webkit-mask: var(--og-leaf-mask) no-repeat center / contain; mask: var(--og-leaf-mask) no-repeat center / contain; }
.og-content blockquote, .og-content .wp-block-quote {
	position: relative; margin-inline: 0; padding: 22px 26px 22px 62px; border-left: 4px solid var(--og-accent); background: var(--og-surface);
	border-radius: 0 18px 18px 0; font: 500 19px/1.6 var(--og-head); color: var(--og-heading);
}
.og-content blockquote p:last-child { margin-bottom: 0; }
.og-content blockquote cite { display: block; margin-top: 10px; font: 600 13px var(--og-body); color: var(--og-muted); font-style: normal; }
.og-content img { border-radius: 16px; }
.og-content figure { margin-inline: 0; }
.og-content figcaption, .og-content .wp-caption-text { font-size: 13.5px; color: var(--og-muted); text-align: center; margin-top: 8px; line-height: 1.5; }
.og-content table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--og-surface); border-radius: 14px; overflow: hidden; }
.og-content th, .og-content td { padding: 11px 14px; border-bottom: 1px solid var(--og-line); text-align: left; }
.og-content th { background: var(--og-sage); font-weight: 700; color: var(--og-heading); }
.og-content hr { border: 0; height: 1px; background: var(--og-line); margin-block: 2em; }
.og-content pre { background: var(--og-dark); color: #e9efe9; padding: 18px; border-radius: 14px; overflow-x: auto; font-size: 14px; }
.og-content code { background: var(--og-sand); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.og-content pre code { background: none; padding: 0; }
.og-content iframe { border-radius: 16px; }
.og-content > p:first-child::first-letter {
	float: left; font: 800 3.6em/.82 var(--og-head); color: var(--og-accent); margin: .08em .1em 0 0;
}
.og-page .og-content > p:first-child::first-letter { all: unset; }

.alignleft { float: left; margin: .3em 1.6em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.6em; }
.aligncenter { margin-inline: auto; display: block; }
@media (max-width: 640px) { .alignleft, .alignright { float: none; margin: 0 0 1em; } }
.wp-caption { max-width: 100%; }
.sticky, .bypostauthor, .gallery-caption { outline: 0; }
.og-page-links { display: flex; gap: 8px; align-items: center; margin-top: 24px; font-weight: 600; }

/* Címkék */
.og-article__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--og-line); }
.og-article__tags span { font-weight: 600; font-size: 14px; color: var(--og-heading); }
.og-article__tags a { padding: 5px 13px; border-radius: 999px; background: var(--og-surface); border: 1px solid var(--og-line); font-size: 13.5px; color: var(--og-heading); }
.og-article__tags a:hover { border-color: var(--og-accent); color: var(--og-accent); }
.og-article__foot { margin-top: 26px; }
.og-article__foot .og-share { margin-bottom: 0; }

/* Szerző */
.og-author { display: flex; gap: 20px; align-items: flex-start; margin-top: 34px; padding: 26px; background: var(--og-surface); border: 1px solid var(--og-line); border-radius: 22px; }
.og-author__avatar { border-radius: 50%; flex: none; box-shadow: 0 0 0 4px var(--og-sage); }
.og-author__label { margin: 0 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--og-accent); }
.og-author__name { font-size: 21px; margin: 0 0 6px; }
.og-author__name a { color: var(--og-heading); }
.og-author__bio { margin: 0; font-size: 14.5px; color: var(--og-muted); }

/* Előző / következő */
.og-postnav { display: grid; gap: 14px; margin-top: 30px; }
@media (min-width: 640px) { .og-postnav { grid-template-columns: 1fr 1fr; } }
.og-postnav__item { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px; border-radius: 18px; background: var(--og-surface); border: 1px solid var(--og-line); transition: border-color .2s, transform .2s; }
.og-postnav__item:hover { border-color: var(--og-accent); transform: translateY(-2px); }
.og-postnav__item--next { text-align: right; align-items: flex-end; grid-column: -2; }
.og-postnav__label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--og-accent); }
.og-postnav__title { font: 650 16.5px/1.3 var(--og-head); color: var(--og-heading); }

.og-related { margin-top: 48px; }
.og-related .og-card__title { font-size: 16.5px; }

/* Hozzászólások */
.og-comments { margin-top: 48px; }
.og-comments__title { font-size: 30px; margin-bottom: 6px; }
.og-comments__list, .og-comments__list .children { list-style: none; margin: 0; padding: 0; }
.og-comments__list .children { padding-left: 28px; border-left: 2px solid var(--og-line); margin-left: 22px; }
.og-comments__list .comment-body { padding: 20px 22px; margin-bottom: 16px; background: var(--og-surface); border: 1px solid var(--og-line); border-radius: 18px; }
.og-comments__list .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--og-heading); }
.og-comments__list .comment-author .avatar { border-radius: 50%; }
.og-comments__list .says { display: none; }
.og-comments__list .comment-metadata { font-size: 12.5px; margin: 2px 0 10px 58px; }
.og-comments__list .comment-metadata a { color: var(--og-muted); }
.og-comments__list .reply a { font-size: 13px; font-weight: 700; color: var(--og-accent); }
.comment-respond { margin-top: 26px; }
.comment-notes, .logged-in-as { font-size: 13.5px; color: var(--og-muted); }
.comment-form { display: grid; gap: 14px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--og-heading); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--og-line); background: var(--og-surface); transition: border-color .2s, box-shadow .2s;
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--og-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--og-accent) 18%, transparent); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; }
.comment-form-cookies-consent label { font-weight: 400; margin: 0; }
@media (min-width: 640px) {
	.comment-form { grid-template-columns: 1fr 1fr; }
	.comment-form .comment-notes, .comment-form .comment-form-comment, .comment-form .comment-form-url, .comment-form .comment-form-cookies-consent, .comment-form .form-submit, .comment-form .logged-in-as { grid-column: 1 / -1; }
}
.form-submit .og-btn { border: 0; padding: 14px 26px; }

/* ---------- 404 ---------- */
.og-404 { padding-block: 50px 30px; }
.og-404__box { max-width: 680px; margin: 0 auto 56px; text-align: center; padding: 50px 28px; background: var(--og-surface); border-radius: 32px; border: 1px solid var(--og-line); box-shadow: var(--og-shadow); }
.og-404__leaves { display: inline-flex; gap: 10px; align-items: flex-end; color: var(--og-accent); }
.og-404__leaves .og-icon:nth-child(1) { animation: og-drift 4s ease-in-out infinite; }
.og-404__leaves .og-icon:nth-child(2) { opacity: .6; transform: rotate(34deg); }
.og-404__leaves .og-icon:nth-child(3) { opacity: .35; transform: rotate(70deg); }
@keyframes og-drift { 50% { transform: translate(6px, -6px) rotate(14deg); } }
.og-404__code { font: 800 110px/1 var(--og-head); color: var(--og-primary); margin: 8px 0 0; letter-spacing: -.04em; }
.og-404__title { font-size: 30px; }
.og-404 .og-searchform { max-width: 480px; margin: 22px auto; }

/* ---------- Lábléc ---------- */
.og-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--og-dark); color: #b7c9bc; font-size: 14.5px; padding-top: 56px; }
.og-footer::before { content: ""; position: absolute; z-index: -1; right: -110px; top: -80px; width: 440px; height: 440px; background: var(--og-lime); opacity: .07; -webkit-mask: var(--og-leaf-mask) no-repeat center / contain; mask: var(--og-leaf-mask) no-repeat center / contain; transform: rotate(-18deg); }
.og-footer a { color: #dfe7e1; }
.og-footer a:hover { color: var(--og-lime); }
.og-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.og-footer__about { margin: 0; max-width: 460px; font-size: 16px; color: #dfe7e1; }
.og-logo--footer a, .og-logo--footer a:hover { color: #fff; }
.og-logo--footer .og-logo__mark { background: var(--og-lime); color: var(--og-primary); }
.og-logo--footer .og-logo__text em { color: var(--og-lime); }
.og-footer__cols { display: grid; gap: 36px; padding-block: 40px 44px; }
@media (min-width: 640px) { .og-footer__cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .og-footer__cols { grid-template-columns: 1fr 1.5fr 1fr 1.25fr; gap: 48px; } }
.og-footer__title { color: #fff; font-size: 17px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.og-footer__title::before { content: ""; width: 14px; height: 14px; background: var(--og-lime); -webkit-mask: var(--og-leaf-mask) no-repeat center / contain; mask: var(--og-leaf-mask) no-repeat center / contain; }
.og-footer__list, .og-footer__posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.og-footer__list a { display: inline-block; transition: transform .2s, color .2s; }
.og-footer__list a:hover { transform: translateX(4px); }
.og-footer__posts li { display: grid; gap: 2px; }
.og-footer__posts a { font-weight: 600; line-height: 1.4; }
.og-footer__posts span { font-size: 12.5px; color: #86a08d; }
.og-footer__text { margin-bottom: 18px; }
.og-footer .og-social { margin-top: 18px; }
.og-footer .og-widget li { border-color: rgba(255, 255, 255, .1); }
.og-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #86a08d; }
.og-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 18px; }
.og-footer__bottom p { margin: 0; }
.og-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.og-footer__menu a { color: #b9c5bd; }
.og-footer + .og-leaf-strip, .og-main + .og-leaf-strip { border-bottom: 0; }

/* ---------- Lebegő elemek ---------- */
.og-totop {
	position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 46px; height: 46px; border-radius: 50%;
	border: 0; background: var(--og-primary); color: #fff; display: grid; place-items: center; box-shadow: var(--og-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s var(--og-ease), visibility .3s, background-color .2s;
}
.og-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.og-totop:hover { background: var(--og-accent); }

.og-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 300; pointer-events: none; }
.og-progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--og-accent), var(--og-lime)); transform-origin: 0 50%; transform: scaleX(0); }
.admin-bar .og-progress { top: 32px; }

.og-nextup {
	position: fixed; right: 20px; bottom: 80px; z-index: 70; width: min(340px, calc(100vw - 40px));
	background: var(--og-surface); border-radius: 18px; box-shadow: var(--og-shadow-lg); border: 1px solid var(--og-line);
	opacity: 0; transform: translateY(16px); transition: opacity .35s, transform .35s var(--og-ease);
}
.og-nextup[hidden] { display: block; visibility: hidden; pointer-events: none; }
.og-nextup.is-visible { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
.og-nextup > a { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 36px 12px 12px; color: var(--og-heading); }
.og-nextup__img .og-img { width: 76px; height: 76px; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.og-nextup__img .og-img--placeholder .og-icon { width: 30px; }
.og-nextup__label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--og-accent); margin-bottom: 3px; }
.og-nextup__title { display: block; font: 650 15px/1.3 var(--og-head); }
.og-nextup__close { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--og-bg); color: var(--og-muted); display: grid; place-items: center; }

/* Megjelenési animáció */
.og-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--og-ease), transform .6s var(--og-ease); }
.og-reveal.is-in { opacity: 1; transform: none; }

/* Nyomtatás */
@media print {
	.og-topbar, .og-header, .og-pills, .og-sidebar, .og-share, .og-leaf-strip, .og-topics, .og-footer, .og-totop, .og-nextup, .og-progress, .og-related, .og-comments, .og-postnav, .og-ad { display: none !important; }
	.og-layout { display: block; }
	body { background: #fff; }
}

/* ==========================================================================
   Öko-Garancia kiegészítések: levelek, témasor, banner-grafika
   ========================================================================== */

/* Szekciócím levélkével */
.og-section-title span { display: inline-flex; align-items: center; gap: 8px; }
.og-section-title__leaf { color: var(--og-accent); width: 16px; height: 16px; transform: rotate(-8deg); transition: transform .4s var(--og-ease); }
.og-section-head:hover .og-section-title__leaf { transform: rotate(18deg) scale(1.1); }

/* Témasor (rovat-ikonok a főoldalon) */
.og-topics { padding: 30px 0 6px; }
.og-topics__list {
	list-style: none; margin: 0; padding: 4px 2px 14px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity;
	scrollbar-width: thin; scrollbar-color: var(--og-line) transparent;
}
.og-topics__list li { flex: 0 0 auto; scroll-snap-align: start; }
.og-topics__list a {
	display: grid; grid-template-columns: 48px auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
	padding: 10px 20px 10px 10px; border-radius: 999px; background: var(--og-surface); border: 1px solid var(--og-line);
	color: var(--og-heading); transition: transform .25s var(--og-ease), box-shadow .25s, border-color .25s;
}
.og-topics__list a:hover { transform: translateY(-3px); box-shadow: var(--og-shadow); border-color: color-mix(in srgb, var(--og-accent) 40%, var(--og-line)); color: var(--og-heading); }
.og-topics__icon {
	grid-row: 1 / 3; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
	background: var(--og-sage); color: var(--og-accent); transition: background-color .25s, color .25s, transform .4s var(--og-ease);
}
.og-topics__list a:hover .og-topics__icon { background: var(--og-accent); color: #fff; transform: rotate(-10deg); }
.og-topics__name { font: 650 15.5px/1.15 var(--og-head); white-space: nowrap; }
.og-topics__count { font-size: 12px; color: var(--og-muted); }
@media (min-width: 1200px) {
	.og-topics__list { flex-wrap: wrap; justify-content: center; overflow: visible; }
}

/* Rovatlista ikonokkal */
.og-cats__list a { justify-content: flex-start; }
.og-cats__list span { flex: 1; }
.og-cats__list i {
	display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%;
	background: var(--og-sage); color: var(--og-accent); transition: background-color .25s, color .25s;
}
.og-cats__list a:hover i { background: var(--og-accent); color: #fff; }
.og-cats__list em { background: var(--og-tint); }

/* Zöld doboz */
.og-box--cta { background: linear-gradient(160deg, var(--og-sage), var(--og-tint)); }
.og-box--cta::before {
	content: ""; position: absolute; left: -36px; top: -30px; width: 130px; height: 130px; background: var(--og-accent); opacity: .08;
	-webkit-mask: var(--og-leaf-mask) no-repeat center / contain; mask: var(--og-leaf-mask) no-repeat center / contain; transform: rotate(-30deg);
}
.og-box--cta::after { background: color-mix(in srgb, var(--og-lime) 45%, transparent); }
.og-box__icon { color: var(--og-accent); border-radius: 50% 16px 50% 16px; }

/* Nagy sáv – leveles CO₂-grafika */
.og-banner__art { position: absolute; z-index: -1; right: -40px; top: 50%; width: min(520px, 52%); height: auto; transform: translateY(-50%); }
.og-banner__art .a1 { fill: var(--og-lime); opacity: .07; }
.og-banner__art .a2 { fill: var(--og-lime); opacity: .1; }
.og-banner__art .a3 { fill: var(--og-lime); }
.og-banner__art .a4 { fill: var(--og-lime); opacity: .6; }
.og-banner__art .a-leaf path { fill: #4f9a3a; }
.og-banner__art .a-leaf--2 path { fill: #7cb84c; }
.og-banner__art .a-leaf--3 path { fill: var(--og-lime); opacity: .7; }
.og-banner__art .a-leaf .rib { fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 2; }
.og-banner__art .a-text { fill: var(--og-primary); font: 800 54px/1 var(--og-head); letter-spacing: -.02em; }
.og-banner__art .a-leaf--1 { animation: og-sway 7s ease-in-out infinite; transform-box: fill-box; transform-origin: 0 0; }
@keyframes og-sway { 50% { rotate: 4deg; } }
.og-banner.has-art .og-banner__content { max-width: 560px; }
@media (max-width: 760px) {
	.og-banner { align-items: flex-end; min-height: 520px; }
	.og-banner__art { top: 24px; right: 50%; width: 300px; transform: translateX(50%); }
	.og-banner.has-image { min-height: 380px; }
}

/* Idézet levéllel */
.og-content blockquote::before, .og-content .wp-block-quote::before {
	content: ""; position: absolute; left: 20px; top: 24px; width: 26px; height: 26px; background: var(--og-accent);
	-webkit-mask: var(--og-leaf-mask) no-repeat center / contain; mask: var(--og-leaf-mask) no-repeat center / contain;
}

/* Kártyák: finom zöld fény hoverkor */
.og-card--grid .og-card__media::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
	box-shadow: inset 0 0 0 0 var(--og-lime); transition: box-shadow .3s var(--og-ease);
}
.og-card--grid:hover .og-card__media::after { box-shadow: inset 0 0 0 4px var(--og-lime); }

/* Nyitó blokk: sarokdísz */
.og-hero { position: relative; }
.og-hero::before {
	content: ""; position: absolute; z-index: -1; left: -60px; top: 10px; width: 260px; height: 260px; background: var(--og-accent); opacity: .05;
	-webkit-mask: var(--og-leaf-mask) no-repeat center / contain; mask: var(--og-leaf-mask) no-repeat center / contain; transform: rotate(-120deg);
}
.og-main { position: relative; isolation: isolate; overflow-x: clip; }

/* Oldal (statikus) – pl. a kalkulátor */
.og-page .og-content > p:first-child::first-letter { all: unset; }

/* Hozzászólás gomb a lime stílussal */
.form-submit .og-btn, .form-submit input[type="submit"] { cursor: pointer; }

/* Cikkoldal: az oldalsáv utolsó doboza követi a görgetést */
@media (min-width: 1000px) {
	.og-single .og-sidebar > section:last-of-type { position: sticky; top: 150px; }
	.admin-bar .og-single .og-sidebar > section:last-of-type { top: 182px; }
}

/* Karbonlábnyom-kalkulátor bővítmény: a bővítmény saját „#ccarb-root *” nullázása kiüti a belső térközöket – itt visszaadjuk őket. */
#ccarb-root .ccarb-card { margin: var(--space-8) auto; }
#ccarb-root .ccarb-header { padding: var(--space-10) var(--space-8) var(--space-8); }
#ccarb-root .ccarb-logo { margin-bottom: var(--space-4); }
#ccarb-root .ccarb-title { margin-bottom: var(--space-2); }
#ccarb-root .ccarb-progress { padding: var(--space-6) var(--space-8) 0; }
#ccarb-root .ccarb-progress-track { margin-bottom: var(--space-4); }
#ccarb-root .ccarb-body { padding: var(--space-8); }
#ccarb-root .ccarb-step-heading { margin-bottom: var(--space-6); }
#ccarb-root .ccarb-select, #ccarb-root .ccarb-input { padding: var(--space-3) var(--space-4); }
#ccarb-root .ccarb-input[type="range"] { padding: 0; }
#ccarb-root .ccarb-range-val { padding: var(--space-2) var(--space-3); }
#ccarb-root .ccarb-choice { padding: var(--space-4) var(--space-3); }
#ccarb-root .ccarb-nav { margin-top: var(--space-8); padding-top: var(--space-6); }
#ccarb-root .ccarb-btn { padding: var(--space-3) var(--space-6); }
#ccarb-root .ccarb-btn-calculate { padding: var(--space-4) var(--space-8); }
#ccarb-root .ccarb-gauge-wrap { margin-bottom: var(--space-8); }
#ccarb-root .ccarb-gauge { margin-bottom: var(--space-4); }
#ccarb-root .ccarb-gauge-unit { margin-top: var(--space-1); }
#ccarb-root .ccarb-rating { padding: var(--space-2) var(--space-4); }
#ccarb-root .ccarb-breakdown { padding: var(--space-6); margin-bottom: var(--space-6); }
#ccarb-root .ccarb-breakdown-title { margin-bottom: var(--space-4); }
#ccarb-root .ccarb-bar-row { margin-bottom: var(--space-3); }
#ccarb-root .ccarb-compare { padding: var(--space-6); margin-bottom: var(--space-6); }
#ccarb-root .ccarb-compare-grid { margin-top: var(--space-4); }
#ccarb-root .ccarb-compare-item { padding: var(--space-4) var(--space-3); }
#ccarb-root .ccarb-compare-emoji { margin-bottom: var(--space-2); }
#ccarb-root .ccarb-compare-num { margin-bottom: var(--space-1); }
#ccarb-root .ccarb-tips { padding: var(--space-6); margin-bottom: var(--space-6); }
#ccarb-root .ccarb-tips-title { margin-bottom: var(--space-4); }
#ccarb-root .ccarb-tip { padding: var(--space-3) 0; }
#ccarb-root .ccarb-tip-save { margin-top: var(--space-1); }
#ccarb-root .ccarb-reset-wrap { padding: var(--space-4) 0; }
#ccarb-root .ccarb-header { padding: var(--space-8) var(--space-5) var(--space-6); }
#ccarb-root .ccarb-body { padding: var(--space-6) var(--space-5); }
#ccarb-root .ccarb-progress { padding: var(--space-4) var(--space-5) 0; }
.og-content #ccarb-root { margin-bottom: 2em; }

/* Eszközoldalak (Öko-Garancia Eszközök): teljes szélesség, a szöveg olvasható szélességű */
.og-toolpage { padding-top: 30px; padding-bottom: 30px; }
.og-toolpage .og-content > :not(.ogt):not(.ogt-hub) { max-width: 780px; margin-inline: auto; }
.og-toolpage .og-content > .ogt, .og-toolpage .og-content > .ogt-hub { max-width: 1120px; margin-inline: auto; }
.og-toolpage .og-share { max-width: 780px; margin: 34px auto 0; }
.og-toolpage .og-content > h2:first-of-type { margin-top: 1.4em; }

/* Főoldal: Öko kalkulátorok */
.og-tools { padding-top: 8px; }
.og-tools__intro { display: grid; gap: 4px; margin-bottom: 22px; }
.og-tools__intro .og-section-head { margin-bottom: 6px; }
.og-tools__intro p { margin: 0; color: var(--og-muted); }
.og-tools__grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.og-toolcard {
	display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto 1fr; column-gap: 14px; row-gap: 4px; align-items: start;
	padding: 18px; border-radius: 20px; background: var(--og-surface); border: 1px solid var(--og-line); color: var(--og-heading);
	transition: transform .25s var(--og-ease), box-shadow .25s, border-color .25s;
}
.og-toolcard:hover { transform: translateY(-3px); box-shadow: var(--og-shadow); border-color: color-mix(in srgb, var(--og-accent) 40%, var(--og-line)); color: var(--og-heading); }
.og-toolcard__icon { grid-row: 1 / 3; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50% 14px 50% 14px; background: var(--og-sage); color: var(--og-accent); transition: transform .4s var(--og-ease), background-color .25s, color .25s; }
.og-toolcard:hover .og-toolcard__icon { transform: rotate(-10deg); background: var(--og-accent); color: #fff; }
.og-toolcard--sun .og-toolcard__icon { background: #f6ecc6; color: #9a7413; }
.og-toolcard--sky .og-toolcard__icon { background: #d8ecee; color: #2d7c82; }
.og-toolcard--rose .og-toolcard__icon { background: #f6ddd2; color: #b2542f; }
.og-toolcard__title { font: 700 16px/1.25 var(--og-head); }
.og-toolcard__desc { font-size: 13.5px; line-height: 1.45; color: var(--og-muted); }
