/* ==========================================================================
   Távoktatás Magazin – sablonstílusok
   Kékes, komoly, természetközeli dizájn: Literata (címek) + Figtree (szöveg).
   ========================================================================== */

/* ---- Betűk (saját tárhelyről, magyar ékezetekkel) ---- */
@font-face {
	font-family: "Literata";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url(../fonts/literata-medium.woff2) format("woff2");
}
@font-face {
	font-family: "Literata";
	font-style: normal;
	font-weight: 600 700;
	font-display: swap;
	src: url(../fonts/literata-semibold.woff2) format("woff2");
}
@font-face {
	font-family: "Literata";
	font-style: italic;
	font-weight: 500 700;
	font-display: swap;
	src: url(../fonts/literata-semibolditalic.woff2) format("woff2");
}
@font-face {
	font-family: "Figtree";
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url(../fonts/figtree-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: "Figtree";
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url(../fonts/figtree-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: "Figtree";
	font-style: italic;
	font-weight: 300 900;
	font-display: swap;
	src: url(../fonts/figtree-italic-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: "Figtree";
	font-style: italic;
	font-weight: 300 900;
	font-display: swap;
	src: url(../fonts/figtree-italic-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;
}

/* ---- Színek, alapértékek ---- */
:root {
	--tv-bg: #f6f9fb;
	--tv-surface: #ffffff;
	--tv-soft: #edf3f8;
	--tv-soft-2: #e3edf5;
	--tv-ink: #0f2540;
	--tv-text: #2d3f53;
	--tv-muted: #627389;
	--tv-line: #dbe5ee;
	--tv-blue: #1f5fae;
	--tv-blue-d: #174a8a;
	--tv-sky: #4a9fd8;
	--tv-teal: #14828c;
	--tv-leaf: #3f8f5f;
	--tv-mint: #cfe9df;
	--tv-btn: #0f2540;
	--tv-btn-text: #ffffff;
	--tv-grad: linear-gradient(100deg, var(--tv-blue) 0%, var(--tv-teal) 58%, var(--tv-leaf) 100%);
	--tv-grad-soft: linear-gradient(150deg, rgba(74, 159, 216, .16), rgba(20, 130, 140, .08) 50%, rgba(63, 143, 95, .14));
	--tv-shadow: 0 1px 2px rgba(15, 37, 64, .05), 0 12px 32px -14px rgba(15, 37, 64, .18);
	--tv-shadow-lg: 0 2px 4px rgba(15, 37, 64, .05), 0 26px 60px -24px rgba(15, 37, 64, .32);
	--tv-r: 22px;
	--tv-r-lg: 30px;
	--tv-head: "Literata", "Iowan Old Style", Georgia, "Times New Roman", serif;
	--tv-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--tv-wrap: 1240px;
	--tv-gutter: 20px;
	color-scheme: light;
}

:root[data-theme="dark"] {
	--tv-bg: #0b1a2c;
	--tv-surface: #10233a;
	--tv-soft: #132a44;
	--tv-soft-2: #18324f;
	--tv-ink: #eaf2fb;
	--tv-text: #c7d5e4;
	--tv-muted: #90a4bb;
	--tv-line: #223c5a;
	--tv-blue: #6aa6f2;
	--tv-blue-d: #8dbbf5;
	--tv-sky: #7cc2f2;
	--tv-teal: #47c3c9;
	--tv-leaf: #72c493;
	--tv-mint: #1d4a3c;
	--tv-btn: #eaf2fb;
	--tv-btn-text: #0b1a2c;
	--tv-grad-soft: linear-gradient(150deg, rgba(124, 194, 242, .12), rgba(71, 195, 201, .06) 50%, rgba(114, 196, 147, .1));
	--tv-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -14px rgba(0, 0, 0, .6);
	--tv-shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 26px 60px -24px rgba(0, 0, 0, .7);
	color-scheme: dark;
}
/* Rovatszínek (kép nélküli kártyák, ikonok) */
.tv-tone-0 { --tone: #1f5fae; --tone-2: #4a9fd8; }
.tv-tone-1 { --tone: #14828c; --tone-2: #4fb8b0; }
.tv-tone-2 { --tone: #3f8f5f; --tone-2: #8cc49a; }
.tv-tone-3 { --tone: #2f7fc1; --tone-2: #8ec9ef; }
.tv-tone-4 { --tone: #3c55a8; --tone-2: #7f95dc; }
.tv-tone-5 { --tone: #4d7f3a; --tone-2: #a6c77a; }

/* ---- Alap ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
html.tv-locked { overflow: hidden; }
body {
	margin: 0;
	background: var(--tv-bg);
	color: var(--tv-text);
	font: 400 1.0625rem/1.65 var(--tv-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--tv-blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--tv-teal); }
h1, h2, h3, h4, h5, h6 { color: var(--tv-ink); font-family: var(--tv-head); font-weight: 600; line-height: 1.22; letter-spacing: -.01em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--tv-sky); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(74, 159, 216, .28); }

.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;
}
.tv-skip:focus { clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000; top: 10px; left: 10px; padding: 12px 18px; background: var(--tv-surface); color: var(--tv-ink); border-radius: 12px; box-shadow: var(--tv-shadow); }

.tv-wrap { width: 100%; max-width: calc(var(--tv-wrap) + var(--tv-gutter) * 2); margin: 0 auto; padding: 0 var(--tv-gutter); }
.tv-ico { flex: none; display: inline-block; vertical-align: middle; }

/* Kiemelt (dőlt, színátmenetes) szavak a címekben */
.tv-accent {
	font-style: italic;
	font-weight: 600;
	background: var(--tv-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	padding: 0 .06em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

/* ---- Gombok ---- */
.tv-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .8em 1.5em; border: 0; border-radius: 999px;
	font: 600 1rem/1.2 var(--tv-body); white-space: nowrap; cursor: pointer;
	transition: transform .2s, box-shadow .2s, background-color .2s, color .2s;
}
.tv-btn:hover { transform: translateY(-1px); }
.tv-btn--dark { background: var(--tv-btn); color: var(--tv-btn-text); }
.tv-btn--dark:hover { color: var(--tv-btn-text); box-shadow: 0 10px 24px -10px rgba(15, 37, 64, .55); }
.tv-btn--grad { background: var(--tv-grad); background-size: 140% 100%; color: #fff; box-shadow: 0 10px 26px -12px rgba(20, 110, 140, .65); }
.tv-btn--grad:hover { color: #fff; background-position: 100% 0; }
.tv-btn--ghost { background: transparent; color: var(--tv-ink); box-shadow: inset 0 0 0 1.5px var(--tv-line); }
.tv-btn--sm { padding: .62em 1.15em; font-size: .9rem; }
.tv-iconbtn {
	display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0;
	border: 0; border-radius: 50%; background: transparent; color: var(--tv-ink);
	transition: background-color .2s, color .2s;
}
.tv-iconbtn:hover { background: var(--tv-soft); color: var(--tv-blue); }
.tv-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; }
.tv-link .tv-ico { transition: transform .2s; }
.tv-link:hover .tv-ico { transform: translateX(3px); }

/* ---- Felső sáv ---- */
.tv-topbar { background: var(--tv-soft); border-bottom: 1px solid var(--tv-line); font-size: .82rem; color: var(--tv-muted); }
.tv-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.tv-topbar__date, .tv-topbar__msg { display: inline-flex; align-items: center; gap: 7px; margin: 0; }
.tv-topbar__msg .tv-ico { color: var(--tv-leaf); }
.tv-topbar__msg a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--tv-blue); }
.tv-topbar .tv-social { gap: 4px; }
.tv-topbar .tv-social a { width: 28px; height: 28px; }

/* ---- Fejléc ---- */
.tv-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--tv-bg) 86%, transparent);
	-webkit-backdrop-filter: saturate(1.6) blur(14px);
	backdrop-filter: saturate(1.6) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s, box-shadow .25s;
}
.tv-header.is-scrolled { border-bottom-color: var(--tv-line); box-shadow: 0 8px 28px -22px rgba(15, 37, 64, .5); }
.admin-bar .tv-header { top: 32px; }
.tv-header__in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.tv-header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.tv-header__cta { margin-left: 8px; }

.tv-logo { margin: 0; font-size: 1rem; line-height: 1; }
.tv-logo a { display: inline-flex; align-items: center; gap: 11px; color: var(--tv-ink); }
.tv-logo a:hover { color: var(--tv-ink); }
.tv-logo__name { font: 600 1.45rem/1 var(--tv-head); letter-spacing: -.02em; white-space: nowrap; }
.tv-logo__name em {
	font-style: italic; background: var(--tv-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em;
}
.tv-mark { flex: none; border-radius: 13px; box-shadow: 0 8px 18px -10px rgba(20, 110, 140, .7); }
.tv-logo--image img { max-height: 54px; width: auto; }

/* Főmenü */
.tv-nav { flex: 1; display: flex; justify-content: center; }
.tv-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.tv-nav__list > li { position: relative; }
.tv-nav__list > li > a {
	display: inline-flex; align-items: center; gap: 4px; padding: 10px 13px; border-radius: 999px;
	color: var(--tv-ink); font-weight: 500; font-size: .97rem; white-space: nowrap;
}
.tv-nav__list > li > a:hover, .tv-nav__list > li.is-open > a { background: var(--tv-soft); color: var(--tv-blue); }
.tv-nav__list > li.current-menu-item > a, .tv-nav__list > li.current-menu-ancestor > a { color: var(--tv-blue); font-weight: 600; }
.tv-nav__list > li.current-menu-item > a::after {
	content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 3px; margin-left: -9px; border-radius: 3px; background: var(--tv-grad);
}
.tv-nav__chev { transition: transform .2s; opacity: .7; }
.tv-nav li.is-open > a .tv-nav__chev, .tv-nav li:hover > a .tv-nav__chev { transform: rotate(180deg); }
.tv-nav .sub-menu {
	position: absolute; top: calc(100% + 10px); left: 50%; z-index: 60;
	list-style: none; margin: 0; padding: 10px; min-width: 260px;
	background: var(--tv-surface); border: 1px solid var(--tv-line); border-radius: 22px; box-shadow: var(--tv-shadow-lg);
	opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.tv-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.tv-nav li:hover > .sub-menu, .tv-nav li.is-open > .sub-menu, .tv-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.tv-nav__mega > .sub-menu { display: grid; grid-template-columns: repeat(3, minmax(190px, 1fr)); gap: 4px; width: max-content; }
.tv-nav .sub-menu a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 14px; color: var(--tv-ink); font-weight: 500; font-size: .95rem; }
.tv-nav .sub-menu a:hover { background: var(--tv-soft); color: var(--tv-blue); }
.tv-nav .sub-menu small { display: block; color: var(--tv-muted); font-size: .78rem; font-weight: 400; }
.tv-nav__ico {
	display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px;
	background: color-mix(in srgb, var(--tone, var(--tv-blue)) 12%, transparent); color: var(--tone, var(--tv-blue));
}

/* Sötét mód gomb */
.tv-mode__sun { display: none; }
:root[data-theme="dark"] .tv-mode__sun { display: inline-block; }
:root[data-theme="dark"] .tv-mode__moon { display: none; }
.tv-burger { display: none; }

/* ---- Kereső- és menüréteg ---- */
.tv-search, .tv-drawer { position: fixed; inset: 0; z-index: 100; background: rgba(8, 22, 40, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .22s; }
.tv-search.is-open, .tv-drawer.is-open { opacity: 1; }
.tv-search__panel {
	position: relative; width: min(760px, calc(100% - 32px)); margin: 12vh auto 0; padding: 40px 36px 32px;
	background: var(--tv-surface); border-radius: var(--tv-r-lg); box-shadow: var(--tv-shadow-lg);
	transform: translateY(-14px); transition: transform .25s;
}
.tv-search.is-open .tv-search__panel { transform: none; }
.tv-search__close { position: absolute; top: 14px; right: 14px; }
.tv-search__title { font: 600 clamp(1.6rem, 3vw, 2.1rem)/1.2 var(--tv-head); color: var(--tv-ink); text-align: center; margin: 0 0 20px; }
.tv-search .tv-chips { justify-content: center; margin-top: 18px; }

.tv-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); overflow-y: auto;
	display: flex; flex-direction: column; gap: 18px; padding: 18px 20px 28px;
	background: var(--tv-surface); box-shadow: var(--tv-shadow-lg); transform: translateX(100%); transition: transform .26s;
}
.tv-drawer.is-open .tv-drawer__panel { transform: none; }
.tv-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.tv-drawer__nav .tv-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
.tv-drawer__nav a, .tv-drawer__nav .tv-nav__list > li > a { display: flex; width: 100%; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; color: var(--tv-ink); font-weight: 500; font-size: 1rem; }
.tv-drawer__nav .tv-nav__list > li > a::after { display: none; }
.tv-drawer__nav a:hover, .tv-drawer__nav .current-menu-item > a { background: var(--tv-soft); color: var(--tv-blue); }
.tv-drawer__nav small { margin-left: auto; color: var(--tv-muted); font-size: .8rem; }
.tv-drawer__nav .sub-menu { list-style: none; padding-left: 14px; margin: 0; }
.tv-drawer__nav li { list-style: none; }

/* Keresőűrlap */
.tv-searchform {
	display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px;
	background: var(--tv-surface); border: 1.5px solid var(--tv-line); border-radius: 999px; transition: border-color .2s, box-shadow .2s;
}
.tv-searchform:focus-within { border-color: var(--tv-sky); box-shadow: 0 0 0 4px rgba(74, 159, 216, .16); }
.tv-searchform .tv-ico { color: var(--tv-muted); }
.tv-searchform input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 0; outline: none; color: var(--tv-ink); }

/* Címkesor (chips) */
.tv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tv-chips a {
	display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px;
	background: var(--tv-surface); border: 1px solid var(--tv-line); color: var(--tv-ink); font-size: .9rem; font-weight: 500;
	transition: border-color .2s, color .2s, background-color .2s;
}
.tv-chips a .tv-ico { color: var(--tv-teal); }
.tv-chips a:hover { border-color: var(--tv-sky); color: var(--tv-blue); }
.tv-chips a.is-active { background: var(--tv-btn); border-color: var(--tv-btn); color: var(--tv-btn-text); }
.tv-chips a.is-active .tv-ico { color: inherit; }

/* ---- Akvarell-foltok (a fejlécek háttere) ---- */
.tv-hero__bg, .tv-cta__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.tv-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.tv-blob--1 { width: 520px; height: 420px; left: 8%; top: -120px; background: radial-gradient(closest-side, rgba(74, 159, 216, .75), rgba(74, 159, 216, 0)); }
.tv-blob--2 { width: 460px; height: 380px; right: 6%; top: -40px; background: radial-gradient(closest-side, rgba(95, 190, 170, .65), rgba(95, 190, 170, 0)); }
.tv-blob--3 { width: 540px; height: 360px; left: 38%; top: 140px; background: radial-gradient(closest-side, rgba(140, 196, 154, .55), rgba(140, 196, 154, 0)); }
:root[data-theme="dark"] .tv-blob { opacity: .28; }

/* ---- Főoldali fejléc ---- */
.tv-hero { position: relative; padding: clamp(48px, 7vw, 92px) 0 clamp(30px, 4vw, 48px); text-align: center; isolation: isolate; }
.tv-hero__in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.tv-hero__title { max-width: 980px; margin: 0 0 22px; font-size: clamp(2.3rem, 5.2vw, 4.25rem); line-height: 1.1; letter-spacing: -.025em; }
.tv-hero__text { max-width: 640px; margin: 0 0 30px; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--tv-muted); }
.tv-hero__search {
	display: flex; align-items: center; gap: 10px; width: min(620px, 100%); padding: 7px 7px 7px 22px;
	border: 1.5px solid transparent; border-radius: 999px;
	background: linear-gradient(var(--tv-surface), var(--tv-surface)) padding-box, linear-gradient(100deg, rgba(31, 95, 174, .55), rgba(20, 130, 140, .45), rgba(63, 143, 95, .55)) border-box;
	box-shadow: 0 18px 44px -24px rgba(20, 90, 140, .55);
}
.tv-hero__search > .tv-ico { color: var(--tv-muted); }
.tv-hero__search input { flex: 1; min-width: 0; padding: 12px 0; border: 0; outline: none; background: transparent; color: var(--tv-ink); font-size: 1.02rem; }
.tv-hero__search input::placeholder { color: var(--tv-muted); }
.tv-hero__search .tv-btn { padding: .95em 1.7em; }
.tv-hero__stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 24px 0 0; color: var(--tv-muted); font-size: .93rem; }
.tv-hero__stats span { display: inline-flex; align-items: center; gap: 7px; }
.tv-hero__stats .tv-ico { color: var(--tv-teal); }
.tv-hero__stats strong { color: var(--tv-ink); }
.tv-hero__art { position: absolute; color: var(--tv-teal); opacity: .38; }
.tv-hero__art--l { width: 190px; left: max(10px, calc(50% - 720px)); top: 70px; transform: rotate(-8deg); }
.tv-hero__art--r { width: 230px; right: max(10px, calc(50% - 720px)); top: 110px; color: var(--tv-blue); }

/* ---- Szekciók ---- */
.tv-sec { padding: clamp(40px, 6vw, 72px) 0 0; }
.tv-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.tv-sec-head--center { justify-content: center; text-align: center; }
.tv-sec-head__title { margin: 0 0 6px; font-size: clamp(1.85rem, 3.4vw, 2.7rem); letter-spacing: -.02em; }
.tv-sec-head__sub { margin: 0; color: var(--tv-muted); }
.tv-eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tv-cat-dots { display: flex; }
.tv-cat-dots span {
	display: grid; place-items: center; width: 44px; height: 44px; margin-left: -10px; border-radius: 50%;
	background: color-mix(in srgb, var(--tone) 14%, var(--tv-surface)); color: var(--tone); border: 3px solid var(--tv-bg);
}

/* ---- Rovatcímke ---- */
.tv-cat {
	display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; border-radius: 999px;
	font-size: .8rem; font-weight: 600; line-height: 1.2; color: var(--tv-teal); background: color-mix(in srgb, var(--tv-teal) 11%, transparent);
}
a.tv-cat:hover { color: var(--tv-blue); }
.tv-cat--plain { padding: 0; background: none; color: var(--tv-teal); font-size: .8rem; }
.tv-cat--text { padding: 0; background: none; color: var(--tv-teal); }
.tv-cat--text .tv-ico { display: none; }
.tv-cat--onimg {
	position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(255, 255, 255, .92); color: #0f2540;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .3);
}
.tv-cat--onimg .tv-ico { color: #14828c; }
.tv-cat--soft { font-size: .85rem; padding: 7px 14px 7px 11px; }

/* ---- Képek ---- */
.tv-img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.tv-img--empty {
	position: relative; display: grid; place-items: center; overflow: hidden;
	background: linear-gradient(140deg, var(--tone, #1f5fae), var(--tone-2, #4a9fd8)); color: #fff;
}
.tv-img__pattern { position: absolute; inset: -6%; width: 112%; height: 112%; max-width: none; color: rgba(255, 255, 255, .22); }
.tv-img__icon { position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 24px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.tv-card--mini .tv-img__icon, .tv-card--row .tv-img__icon { width: 40px; height: 40px; border-radius: 12px; }
.tv-card--mini .tv-img__icon .tv-ico, .tv-card--row .tv-img__icon .tv-ico { width: 22px; height: 22px; }

/* ---- Avatar ---- */
.tv-avatar {
	display: inline-grid; place-items: center; flex: none; width: var(--s, 36px); height: var(--s, 36px); border-radius: 50%;
	background: linear-gradient(140deg, var(--tone, #1f5fae), var(--tone-2, #4a9fd8)); color: #fff;
	font: 700 calc(var(--s, 36px) * .38)/1 var(--tv-body); letter-spacing: .02em;
}
.tv-avatar--brand { background: var(--tv-grad); }

/* ---- Meta ---- */
.tv-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 0; color: var(--tv-muted); font-size: .82rem; }
.tv-meta__dot { display: inline-block; width: 4px; height: 4px; margin: 0 9px; border-radius: 50%; background: currentColor; opacity: .45; vertical-align: middle; }

/* ==========================================================================
   Kártyák
   ========================================================================== */
.tv-card { position: relative; min-width: 0; }
.tv-card__media { position: relative; display: block; overflow: hidden; border-radius: var(--tv-r); background: var(--tv-soft); isolation: isolate; }
.tv-card:hover .tv-card__media .tv-img { transform: scale(1.045); }
.tv-card__title { margin: 0; font-weight: 600; letter-spacing: -.012em; }
.tv-card__title a { color: var(--tv-ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s, color .2s; }
.tv-card__title a:hover { color: var(--tv-ink); background-size: 100% 1.5px; }
.tv-card__excerpt { margin: 0; color: var(--tv-muted); font-size: .95rem; line-height: 1.6; }
.tv-card__avatar { position: absolute; z-index: 2; }
.tv-card__avatar .tv-avatar { box-shadow: 0 0 0 3px var(--tv-surface); }
.tv-card__by { display: flex; align-items: center; gap: 10px; margin: 0; }
.tv-card__by > span { display: flex; flex-direction: column; line-height: 1.25; }
.tv-card__by strong { color: var(--tv-ink); font-size: .87rem; font-weight: 600; }
.tv-card__by time { color: var(--tv-muted); font-size: .78rem; }

/* Rács-kártya */
.tv-card--grid { display: flex; flex-direction: column; gap: 12px; }
.tv-card--grid .tv-card__media { aspect-ratio: 4 / 3.1; margin-bottom: 8px; }
.tv-card--grid .tv-card__avatar { left: 14px; bottom: 14px; }
.tv-card--grid .tv-card__title { font-size: clamp(1.2rem, 1.7vw, 1.42rem); line-height: 1.28; }

/* Lapozható kártya (lebegő infódobozzal) */
.tv-card--slide { flex: 0 0 clamp(270px, 27vw, 345px); height: clamp(380px, 36vw, 450px); scroll-snap-align: start; border-radius: var(--tv-r-lg); overflow: hidden; box-shadow: var(--tv-shadow); }
.tv-card--slide .tv-card__media { position: absolute; inset: 0; border-radius: 0; }
.tv-card--slide .tv-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 22, 40, 0) 50%, rgba(8, 22, 40, .35)); }
.tv-card--slide .tv-card__avatar { top: 16px; right: 16px; }
.tv-card__float {
	position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; display: flex; flex-direction: column; gap: 8px;
	padding: 16px 18px; border-radius: 20px; background: color-mix(in srgb, var(--tv-surface) 94%, transparent);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -14px rgba(8, 22, 40, .45);
}
.tv-card--slide .tv-card__title { font-size: 1.16rem; line-height: 1.3; }

/* Mini (panel, oldalsáv) */
.tv-card--mini { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 18px; background: var(--tv-surface); box-shadow: 0 1px 0 rgba(15, 37, 64, .04); transition: transform .2s, box-shadow .2s; }
.tv-card--mini:hover { transform: translateY(-2px); box-shadow: var(--tv-shadow); }
.tv-card--mini .tv-card__media { flex: none; width: 78px; height: 78px; border-radius: 14px; }
.tv-card--mini .tv-card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tv-card--mini .tv-card__title { font-size: 1rem; line-height: 1.32; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Sor (fókusz blokk) */
.tv-card--row { display: flex; align-items: center; gap: 18px; padding: 14px 14px 14px 22px; border-radius: 20px; background: var(--tv-surface); box-shadow: var(--tv-shadow); }
.tv-card--row .tv-card__body { flex: 1; min-width: 0; }
.tv-card--row .tv-card__title { font-size: 1.13rem; line-height: 1.32; margin-bottom: 6px; }
.tv-card__sub { margin: 0; display: flex; align-items: center; flex-wrap: wrap; color: var(--tv-muted); font-size: .83rem; }
.tv-card--row .tv-card__media { flex: none; width: 118px; aspect-ratio: 4 / 3; border-radius: 14px; }

/* Válogatás */
.tv-card--pick { display: flex; flex-direction: column; gap: 12px; }
.tv-card--pick .tv-card__media { aspect-ratio: 4 / 3; border-radius: 18px; }
.tv-card--pick .tv-card__title { font-size: 1.08rem; line-height: 1.35; }

/* Nagy (bento) */
.tv-card--big { display: flex; flex-direction: column; gap: 16px; }
.tv-card--big .tv-card__media { aspect-ratio: 16 / 11; border-radius: var(--tv-r-lg); }
.tv-card--big .tv-card__body { display: flex; flex-direction: column; gap: 12px; }
.tv-card--big .tv-card__title { font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.22; }
.tv-card--big .tv-cat--onimg { top: auto; bottom: 16px; left: 16px; right: auto; }

/* Csempe (bento) */
.tv-card--tile { display: flex; flex-direction: column; gap: 12px; }
.tv-card--tile .tv-card__media { aspect-ratio: 4 / 3.3; border-radius: 20px; }
.tv-card--tile .tv-cat--onimg { top: auto; bottom: 12px; left: 12px; right: auto; }
.tv-card--tile .tv-card__title { font-size: 1.1rem; line-height: 1.32; }

/* Rácsok */
.tv-grid { display: grid; gap: 40px 30px; }
.tv-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tv-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tv-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
.tv-grid--lead { margin-bottom: 44px; }
.tv-grid--lead .tv-card--grid .tv-card__media { aspect-ratio: 16 / 10; }
.tv-grid--lead .tv-card--grid .tv-card__title { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }

/* ==========================================================================
   Főoldali blokkok
   ========================================================================== */

/* Kártyasor */
.tv-slider-sec { position: relative; padding: 8px 0 0; }
.tv-slider { position: relative; }
.tv-slider__track {
	display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
	padding: 8px max(var(--tv-gutter), calc((100% - var(--tv-wrap)) / 2)) 26px;
	scroll-padding-left: max(var(--tv-gutter), calc((100% - var(--tv-wrap)) / 2));
}
.tv-slider__track::-webkit-scrollbar { display: none; }
.tv-slider__btn {
	position: absolute; top: calc(50% - 30px); z-index: 3; display: grid; place-items: center; width: 48px; height: 48px;
	border: 1px solid var(--tv-line); border-radius: 50%; background: var(--tv-surface); color: var(--tv-ink); box-shadow: var(--tv-shadow);
	transition: opacity .2s, transform .2s, color .2s;
}
.tv-slider__btn:hover { color: var(--tv-blue); transform: scale(1.06); }
.tv-slider__btn:disabled { opacity: 0; pointer-events: none; }
.tv-slider__btn--prev { left: max(12px, calc((100% - var(--tv-wrap)) / 2 - 24px)); }
.tv-slider__btn--next { right: max(12px, calc((100% - var(--tv-wrap)) / 2 - 24px)); }

/* Témák */
.tv-topics__grid { --cols: 6; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.tv-topics__grid > li { flex: 0 0 calc((100% - (var(--cols) - 1) * 18px) / var(--cols)); }
.tv-topic { position: relative; display: block; aspect-ratio: 1 / .86; overflow: hidden; border-radius: var(--tv-r); background: linear-gradient(140deg, var(--tone), var(--tone-2)); color: var(--tv-ink); box-shadow: var(--tv-shadow); isolation: isolate; }
.tv-topic__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.tv-topic__img--empty { display: block; }
.tv-topic__img--empty .tv-img__pattern { color: rgba(255, 255, 255, .25); }
.tv-topic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 22, 40, 0) 45%, rgba(8, 22, 40, .38)); z-index: 0; }
.tv-topic:hover .tv-topic__img { transform: scale(1.06); }
.tv-topic__ico { position: absolute; top: 12px; left: 12px; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: rgba(255, 255, 255, .9); color: var(--tone); box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .25); }
.tv-topic__name {
	position: absolute; left: 50%; bottom: 12px; z-index: 1; transform: translateX(-50%); max-width: calc(100% - 20px);
	display: flex; flex-direction: column; align-items: center; padding: 7px 14px; border-radius: 14px; text-align: center;
	background: rgba(255, 255, 255, .94); color: #0f2540; font: 600 .95rem/1.2 var(--tv-head); white-space: nowrap;
	box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .35); transition: transform .25s;
}
.tv-topic__name small { font: 500 .72rem/1.3 var(--tv-body); color: #627389; }
.tv-topic:hover .tv-topic__name { transform: translateX(-50%) translateY(-3px); }

/* Frissen írtuk */
.tv-written__top { display: grid; grid-template-columns: 1fr 1fr minmax(300px, .92fr); gap: 30px; margin-bottom: 48px; align-items: start; }
.tv-panel {
	position: relative; padding: 24px 18px 18px; border-radius: var(--tv-r-lg);
	border: 1.5px solid transparent;
	background: linear-gradient(var(--tv-bg), var(--tv-bg)) padding-box, linear-gradient(160deg, rgba(74, 159, 216, .7), rgba(20, 130, 140, .4), rgba(63, 143, 95, .7)) border-box;
	overflow: hidden;
}
.tv-panel::before { content: ""; position: absolute; inset: 0; background: var(--tv-grad-soft); pointer-events: none; }
.tv-panel > * { position: relative; }
.tv-panel__title { display: flex; align-items: center; gap: 9px; margin: 0 0 2px 6px; font-size: 1.3rem; }
.tv-panel__title .tv-ico { color: var(--tv-teal); }
.tv-panel__sub { margin: 0 0 16px 6px; color: var(--tv-muted); font-size: .88rem; }
.tv-panel__list { display: flex; flex-direction: column; gap: 10px; }

/* Zöld sáv */
.tv-eco__box {
	position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px; align-items: center;
	padding: clamp(32px, 5vw, 56px); border-radius: 36px; color: #dbe9f4;
	background:
		radial-gradient(600px 300px at 0% 0%, rgba(74, 159, 216, .35), transparent 70%),
		radial-gradient(500px 300px at 100% 100%, rgba(114, 196, 147, .35), transparent 70%),
		linear-gradient(130deg, #0f2a4a 0%, #11405a 55%, #144b46 100%);
	box-shadow: var(--tv-shadow-lg);
}
.tv-eco__deco { position: absolute; right: -40px; top: -20px; width: 420px; color: rgba(255, 255, 255, .09); pointer-events: none; }
.tv-eco__intro { position: relative; }
.tv-eco .tv-eyebrow { background: rgba(255, 255, 255, .1); color: #a9e0c0; }
.tv-eco__title { margin: 16px 0 12px; color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.tv-eco__title .tv-accent { background: linear-gradient(100deg, #8ccbf4, #9fe0bf); -webkit-background-clip: text; background-clip: text; }
.tv-eco__intro p { margin: 0; font-size: 1.05rem; color: #c3d6e6; }
.tv-eco__list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tv-eco__list li { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; border-radius: 24px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.tv-eco__list strong { color: #fff; font: 600 1.08rem/1.3 var(--tv-head); }
.tv-eco__list span { font-size: .92rem; line-height: 1.55; color: #bcd0e0; }
.tv-eco__ico { display: grid !important; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; border-radius: 15px; background: linear-gradient(140deg, rgba(140, 203, 244, .25), rgba(159, 224, 191, .25)); color: #bfe9d2 !important; }

/* Rovat fókuszban */
.tv-focus__box {
	position: relative; padding: clamp(24px, 4vw, 44px); border-radius: 36px; overflow: hidden;
	border: 1.5px solid transparent;
	background: linear-gradient(var(--tv-bg), var(--tv-bg)) padding-box, linear-gradient(140deg, rgba(74, 159, 216, .6), rgba(63, 143, 95, .5)) border-box;
}
.tv-focus__box::before { content: ""; position: absolute; inset: 0; background: var(--tv-grad-soft); pointer-events: none; }
.tv-focus__box > * { position: relative; }
.tv-focus__grid { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.6fr); gap: 28px; }
.tv-focus__card { position: relative; display: block; min-height: 380px; overflow: hidden; border-radius: 26px; background: linear-gradient(140deg, var(--tone), var(--tone-2)); color: #fff; isolation: isolate; }
.tv-focus__img { position: absolute !important; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tv-focus__card:hover .tv-focus__img { transform: scale(1.04); }
.tv-focus__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 22, 40, .05) 30%, rgba(8, 22, 40, .7)); }
.tv-focus__info { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 20px; background: rgba(255, 255, 255, .95); color: #0f2540; }
.tv-focus__info strong { font: 600 1.4rem/1.2 var(--tv-head); }
.tv-focus__info small { color: #14828c; font-weight: 600; font-size: .82rem; }
.tv-focus__desc { color: #627389; font-size: .88rem; line-height: 1.5; margin-top: 4px; }
.tv-focus__ico { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 6px; border-radius: 14px; background: linear-gradient(140deg, var(--tone), var(--tone-2)); color: #fff; }
.tv-focus__list { display: flex; flex-direction: column; gap: 14px; justify-content: center; }

/* Bento */
.tv-bento { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 30px 26px; }
.tv-bento > .tv-card--big { grid-row: span 2; }

/* Záró felhívás */
.tv-cta { position: relative; margin-top: clamp(56px, 8vw, 96px); padding: clamp(56px, 8vw, 96px) 0; text-align: center; isolation: isolate; border-top: 1px solid var(--tv-line); }
.tv-cta__in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.tv-cta__title { max-width: 760px; margin: 0 0 14px; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.15; }
.tv-cta__in > p { max-width: 560px; color: var(--tv-muted); margin-bottom: 26px; }
.tv-cta__note { display: inline-flex; align-items: center; gap: 7px; margin: 18px 0 0 !important; font-size: .9rem; }
.tv-cta__note .tv-ico { color: #e08a2c; }

/* Hirdetés */
.tv-ad { margin-top: 48px; text-align: center; }
.tv-ad .tv-box { background: none; border: 0; padding: 0; box-shadow: none; }

/* ==========================================================================
   Lábléc
   ========================================================================== */
.tv-footer { position: relative; overflow: hidden; padding: 64px 0 26px; background: var(--tv-soft); border-top: 1px solid var(--tv-line); font-size: .95rem; }
.tv-footer__deco { position: absolute; right: -60px; bottom: -40px; width: 520px; color: var(--tv-teal); opacity: .09; pointer-events: none; }
.tv-footer__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.tv-footer__about p { margin: 18px 0; max-width: 360px; color: var(--tv-muted); }
.tv-footer__title { margin: 4px 0 16px; font-size: 1.1rem; }
.tv-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.tv-footer__list a { color: var(--tv-text); }
.tv-footer__list a:hover { color: var(--tv-blue); }
.tv-footer__bottom { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--tv-line); color: var(--tv-muted); font-size: .86rem; }
.tv-footer__bottom p { margin: 0; }
.tv-footer__bottom strong { color: var(--tv-ink); }
.tv-footer__green { display: inline-flex; align-items: center; gap: 7px; }
.tv-footer__green .tv-ico { color: var(--tv-leaf); }
.tv-social { display: flex; flex-wrap: wrap; gap: 8px; }
.tv-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--tv-surface); border: 1px solid var(--tv-line); color: var(--tv-ink); transition: background-color .2s, color .2s, border-color .2s; }
.tv-social a:hover { background: var(--tv-btn); border-color: var(--tv-btn); color: var(--tv-btn-text); }

.tv-totop {
	position: fixed; right: 22px; bottom: 22px; z-index: 40; display: grid; place-items: center; width: 50px; height: 50px; padding: 0;
	border: 1.5px solid transparent; border-radius: 50%; color: var(--tv-ink);
	background: linear-gradient(var(--tv-surface), var(--tv-surface)) padding-box, var(--tv-grad) border-box;
	box-shadow: var(--tv-shadow); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .25s, transform .25s;
}
.tv-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.tv-totop:hover { color: var(--tv-blue); }

/* ==========================================================================
   Listaoldalak
   ========================================================================== */
.tv-archive-head { position: relative; padding: 34px 0 40px; text-align: center; isolation: isolate; }
.tv-archive-head__in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.tv-archive-head .tv-crumbs { align-self: flex-start; margin-bottom: 30px; }
.tv-archive-head__ico { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 20px; background: linear-gradient(140deg, var(--tone, #1f5fae), var(--tone-2, #4a9fd8)); color: #fff; box-shadow: 0 14px 30px -14px rgba(20, 90, 140, .7); }
.tv-archive-head__title { margin: 0 0 6px; font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.025em; }
.tv-archive-head__count { margin: 0; color: var(--tv-muted); font-weight: 500; }
.tv-archive-head__desc { max-width: 700px; margin-top: 16px; font-size: 1.08rem; color: var(--tv-text); }
.tv-archive-head__desc p:last-child { margin: 0; }
.tv-archive-head__search { width: min(560px, 100%); margin-top: 22px; }
.tv-archive-head--page { padding-bottom: 26px; }
.tv-chips--cats { justify-content: center; margin-top: 4px; }
.tv-sec--list { padding-top: 44px; }

.tv-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: .86rem; color: var(--tv-muted); }
.tv-crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.tv-crumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.tv-crumbs a { color: var(--tv-muted); }
.tv-crumbs a:hover { color: var(--tv-blue); }
.tv-crumbs [aria-current] { color: var(--tv-ink); font-weight: 500; max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tv-pager { margin-top: 56px; }
.tv-pager ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tv-pager a, .tv-pager span { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--tv-line); background: var(--tv-surface); color: var(--tv-ink); font-weight: 600; }
.tv-pager a:hover { border-color: var(--tv-sky); color: var(--tv-blue); }
.tv-pager .current { background: var(--tv-btn); border-color: var(--tv-btn); color: var(--tv-btn-text); }
.tv-pager .dots { border: 0; background: none; }

.tv-empty { max-width: 620px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tv-empty__ico { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 24px; background: var(--tv-soft); color: var(--tv-leaf); }
.tv-empty .tv-searchform { width: 100%; }
.tv-empty .tv-chips { justify-content: center; }

/* 404 */
.tv-404 { position: relative; padding: clamp(50px, 8vw, 100px) 0; text-align: center; isolation: isolate; }
.tv-404__in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 760px; }
.tv-404__code { display: flex; align-items: center; justify-content: center; margin: 0; font: 600 clamp(6rem, 18vw, 10rem)/1 var(--tv-head); color: var(--tv-ink); }
.tv-404__code span { display: inline-grid; color: var(--tv-leaf); transform: rotate(-12deg); }
.tv-404__code .tv-ico { width: .9em; height: .9em; }
.tv-404__title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0; }
.tv-404 .tv-searchform { width: min(560px, 100%); }
.tv-404 .tv-chips { justify-content: center; margin-bottom: 10px; }

/* ==========================================================================
   Cikkoldal
   ========================================================================== */
.tv-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 120; height: 3px; pointer-events: none; }
.tv-progress span { display: block; height: 100%; background: var(--tv-grad); transform: scaleX(0); transform-origin: 0 50%; }
.admin-bar .tv-progress { top: 32px; }

.tv-single-top { position: relative; padding: 22px 0 6px; isolation: isolate; }
.tv-single-top .tv-wrap { position: relative; z-index: 1; }
.tv-single-top .tv-hero__bg { height: 520px; }

.tv-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; padding-top: 18px; }
.tv-article { min-width: 0; }
.tv-article__head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
.tv-article__title { margin: 0; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.14; letter-spacing: -.025em; }
.tv-article__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; width: 100%; padding-top: 6px; }
.tv-article__by { display: flex; align-items: center; gap: 12px; }
.tv-article__by > span { display: flex; flex-direction: column; line-height: 1.3; }
.tv-article__by a { color: var(--tv-ink); font-weight: 600; }
.tv-article__by time { color: var(--tv-muted); font-size: .86rem; }
.tv-article__stats { display: flex; flex-wrap: wrap; gap: 8px; }
.tv-article__stats > * { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--tv-line); background: var(--tv-surface); color: var(--tv-muted); font-size: .84rem; }
.tv-article__stats .tv-ico { color: var(--tv-teal); }
.tv-article__figure { margin: 0 0 30px; overflow: hidden; border-radius: var(--tv-r-lg); box-shadow: var(--tv-shadow); }
.tv-article__figure .tv-img { aspect-ratio: 16 / 9; }
.tv-article__figure .tv-img--empty { aspect-ratio: 16 / 7; }
.tv-article__figure figcaption { padding: 10px 16px; background: var(--tv-surface); color: var(--tv-muted); font-size: .86rem; }

/* Tartalomjegyzék */
.tv-toc { margin: 0 0 32px; padding: 6px 22px; border-radius: 22px; background: var(--tv-surface); border: 1px solid var(--tv-line); }
.tv-toc summary { display: flex; align-items: center; gap: 10px; padding: 12px 0; cursor: pointer; list-style: none; color: var(--tv-ink); font: 600 1.12rem/1.2 var(--tv-head); }
.tv-toc summary::-webkit-details-marker { display: none; }
.tv-toc summary .tv-ico { color: var(--tv-teal); }
.tv-toc summary small { margin-left: auto; color: var(--tv-muted); font: 500 .82rem var(--tv-body); }
.tv-toc__chev { transition: transform .2s; }
.tv-toc[open] .tv-toc__chev { transform: rotate(180deg); }
.tv-toc ol { margin: 0 0 14px; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: 2px; }
.tv-toc li { counter-increment: toc; }
.tv-toc a { display: flex; gap: 12px; padding: 7px 10px; border-radius: 12px; color: var(--tv-text); font-size: .96rem; line-height: 1.4; }
.tv-toc a::before { content: counter(toc, decimal-leading-zero); flex: none; color: var(--tv-teal); font-weight: 700; font-size: .82rem; padding-top: .15em; }
.tv-toc a:hover, .tv-toc a.is-active { background: var(--tv-soft); color: var(--tv-blue); }

/* Cikkszöveg */
.tv-prose { font-size: 1.12rem; line-height: 1.8; color: var(--tv-text); overflow-wrap: break-word; }
.tv-prose > * { margin-top: 0; margin-bottom: 1.15em; }
.tv-prose > p:first-child, .tv-prose > strong:first-child { font-size: 1.2rem; color: var(--tv-ink); }
.tv-prose h2 { position: relative; margin: 2em 0 .7em; padding-top: .55em; font-size: clamp(1.55rem, 2.6vw, 1.95rem); line-height: 1.25; }
.tv-prose h2::before { content: ""; position: absolute; top: 0; left: 0; width: 42px; height: 4px; border-radius: 4px; background: var(--tv-grad); }
.tv-prose h3 { margin: 1.7em 0 .6em; font-size: clamp(1.25rem, 2vw, 1.45rem); }
.tv-prose h4 { margin: 1.5em 0 .5em; font-size: 1.15rem; }
.tv-prose a { color: var(--tv-blue); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--tv-blue) 35%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.tv-prose a:hover { color: var(--tv-teal); text-decoration-color: currentColor; }
.tv-prose strong { color: var(--tv-ink); font-weight: 700; }
.tv-prose ul, .tv-prose ol { padding-left: 1.6em; }
.tv-prose li { margin-bottom: .45em; }
.tv-prose ul { list-style: none; padding-left: 1.7em; }
.tv-prose ul > li { position: relative; }
.tv-prose ul > li::before { content: ""; position: absolute; left: -1.35em; top: .58em; width: .62em; height: .62em; border-radius: 0 70% 0 70%; background: var(--tv-grad); transform: rotate(-12deg); }
.tv-prose ol { counter-reset: ol; list-style: none; }
.tv-prose ol > li { position: relative; counter-increment: ol; }
.tv-prose ol > li::before { content: counter(ol); position: absolute; left: -1.75em; top: .2em; display: grid; place-items: center; width: 1.45em; height: 1.45em; border-radius: 50%; background: color-mix(in srgb, var(--tv-teal) 14%, transparent); color: var(--tv-teal); font-size: .8em; font-weight: 700; line-height: 1; }
.tv-prose blockquote {
	position: relative; margin: 1.8em 0; padding: 26px 28px 26px 74px; border-radius: 24px;
	background: var(--tv-grad-soft), var(--tv-surface); border: 1px solid var(--tv-line); color: var(--tv-ink); font: italic 500 1.2rem/1.6 var(--tv-head);
}
.tv-prose blockquote::before { content: "“"; position: absolute; left: 22px; top: 6px; font: 600 4.2rem/1 var(--tv-head); background: var(--tv-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tv-prose blockquote p:last-child { margin: 0; }
.tv-prose blockquote cite { display: block; margin-top: 10px; font: 600 .9rem var(--tv-body); color: var(--tv-muted); font-style: normal; }
.tv-prose img { border-radius: 18px; height: auto; }
.tv-prose figure { margin-left: 0; margin-right: 0; }
.tv-prose figcaption, .tv-prose .wp-caption-text { margin-top: 8px; color: var(--tv-muted); font-size: .88rem; text-align: center; }
.tv-prose hr { border: 0; height: 1px; margin: 2.4em 0; background: var(--tv-line); }
.tv-prose code { padding: .12em .4em; border-radius: 6px; background: var(--tv-soft); font-size: .9em; }
.tv-prose pre { overflow-x: auto; padding: 18px; border-radius: 16px; background: #0f2540; color: #e6eef7; font-size: .9rem; }
.tv-prose pre code { background: none; padding: 0; }
.tv-table { overflow-x: auto; margin: 1.6em 0; border-radius: 18px; border: 1px solid var(--tv-line); background: var(--tv-surface); }
.tv-prose table { width: 100%; border-collapse: collapse; font-size: .96rem; line-height: 1.5; }
.tv-prose th, .tv-prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--tv-line); vertical-align: top; }
.tv-prose th { background: var(--tv-soft); color: var(--tv-ink); font-weight: 700; }
.tv-prose tr:last-child td { border-bottom: 0; }
.tv-prose .alignleft { float: left; margin: .3em 1.6em 1em 0; max-width: 50%; }
.tv-prose .alignright { float: right; margin: .3em 0 1em 1.6em; max-width: 50%; }
.tv-prose .aligncenter { margin-left: auto; margin-right: auto; }
.tv-prose .wp-block-image { margin: 1.8em 0; }
.tv-prose iframe { max-width: 100%; border-radius: 18px; }
.tv-prose::after { content: ""; display: table; clear: both; }

.tv-article__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin: 40px 0 0; padding: 22px 0; border-top: 1px solid var(--tv-line); border-bottom: 1px solid var(--tv-line); }
.tv-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tv-tags__label { display: inline-flex; align-items: center; gap: 6px; color: var(--tv-muted); font-size: .88rem; font-weight: 600; }
.tv-tags a { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--tv-line); background: var(--tv-surface); color: var(--tv-text); font-size: .86rem; }
.tv-tags a:hover { border-color: var(--tv-sky); color: var(--tv-blue); }
.tv-share { display: flex; align-items: center; gap: 6px; }
.tv-share__label { margin-right: 4px; color: var(--tv-muted); font-size: .88rem; font-weight: 600; }
.tv-share a, .tv-share button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid var(--tv-line); background: var(--tv-surface); color: var(--tv-ink); transition: background-color .2s, color .2s, border-color .2s; }
.tv-share a:hover, .tv-share button:hover, .tv-share .is-done { background: var(--tv-btn); border-color: var(--tv-btn); color: var(--tv-btn-text); }
.tv-toast { position: fixed; left: 50%; bottom: 30px; z-index: 200; padding: 12px 20px; border-radius: 999px; background: var(--tv-btn); color: var(--tv-btn-text); font-weight: 600; box-shadow: var(--tv-shadow-lg); transform: translate(-50%, 20px); opacity: 0; transition: transform .25s, opacity .25s; }
.tv-toast.is-in { transform: translate(-50%, 0); opacity: 1; }

.tv-authorbox {
	position: relative; display: flex; gap: 22px; align-items: flex-start; margin: 36px 0; padding: 28px; border-radius: 28px; overflow: hidden;
	border: 1.5px solid transparent;
	background: linear-gradient(var(--tv-bg), var(--tv-bg)) padding-box, linear-gradient(140deg, rgba(74, 159, 216, .55), rgba(63, 143, 95, .5)) border-box;
}
.tv-authorbox::before { content: ""; position: absolute; inset: 0; background: var(--tv-grad-soft); pointer-events: none; }
.tv-authorbox > * { position: relative; }
.tv-authorbox__kicker { margin: 0 0 2px; color: var(--tv-teal); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tv-authorbox__name { margin: 0 0 8px; font-size: 1.4rem; }
.tv-authorbox__name a { color: var(--tv-ink); }
.tv-authorbox p { color: var(--tv-muted); font-size: .97rem; margin-bottom: 10px; }

.tv-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 40px; }
.tv-prevnext__item { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 20px; background: var(--tv-surface); border: 1px solid var(--tv-line); transition: border-color .2s, transform .2s; }
.tv-prevnext__item:hover { border-color: var(--tv-sky); transform: translateY(-2px); }
.tv-prevnext__item small { display: inline-flex; align-items: center; gap: 6px; color: var(--tv-muted); font-size: .8rem; font-weight: 600; }
.tv-prevnext__item strong { color: var(--tv-ink); font: 600 1.02rem/1.35 var(--tv-head); }
.tv-prevnext__item--next { text-align: right; align-items: flex-end; }

/* Oldalsáv */
.tv-sidebar { display: flex; flex-direction: column; gap: 26px; position: sticky; top: 100px; }
.tv-box { padding: 22px; border-radius: 26px; background: var(--tv-surface); border: 1px solid var(--tv-line); }
.tv-box__title { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; font-size: 1.18rem; }
.tv-box__title .tv-ico { color: var(--tv-teal); }
.tv-box__list { display: flex; flex-direction: column; gap: 6px; }
.tv-box .tv-card--mini { padding: 6px; background: transparent; box-shadow: none; }
.tv-box .tv-card--mini:hover { background: var(--tv-soft); transform: none; }
.tv-box .tv-card--mini .tv-card__media { width: 70px; height: 70px; }
.tv-box .tv-card--mini .tv-card__title { font-size: .95rem; }
.tv-about { position: relative; overflow: hidden; text-align: center; display: flex; flex-direction: column; align-items: center; padding: 30px 24px 24px; border: 1.5px solid transparent; background: linear-gradient(var(--tv-surface), var(--tv-surface)) padding-box, linear-gradient(150deg, rgba(74, 159, 216, .55), rgba(63, 143, 95, .5)) border-box; }
.tv-about__bg { position: absolute; inset: 0; color: var(--tv-teal); opacity: .08; pointer-events: none; }
.tv-about__bg svg { width: 100%; height: 100%; }
.tv-about > * { position: relative; }
.tv-about .tv-mark { margin-bottom: 14px; border-radius: 20px; }
.tv-about__name { margin: 0; font-size: 1.35rem; }
.tv-about__tag { margin: 2px 0 12px; color: var(--tv-teal); font-size: .85rem; font-weight: 600; }
.tv-about p:not(.tv-about__tag) { color: var(--tv-muted); font-size: .92rem; line-height: 1.55; }
.tv-about .tv-social { justify-content: center; }
.tv-catlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.tv-catlist a { display: flex; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 14px; color: var(--tv-ink); font-weight: 500; }
.tv-catlist a:hover { background: var(--tv-soft); color: var(--tv-blue); }
.tv-catlist small { margin-left: auto; display: grid; place-items: center; min-width: 28px; height: 24px; padding: 0 8px; border-radius: 999px; background: var(--tv-soft); color: var(--tv-muted); font-size: .78rem; font-weight: 600; }
.tv-catlist__ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: color-mix(in srgb, var(--tone) 12%, transparent); color: var(--tone); }
.tv-tags--side { gap: 6px; }
.tv-widget ul { margin: 0; padding-left: 1.1em; }

/* Hozzászólások */
.tv-comments { margin-top: 10px; }
.tv-comments__title, .comment-reply-title { font-size: 1.5rem; }
.tv-comments__list, .tv-comments__list .children { list-style: none; margin: 0 0 30px; padding: 0; }
.tv-comments__list .children { margin: 16px 0 0 28px; }
.tv-comments__list .comment-body { padding: 18px 20px; border-radius: 20px; background: var(--tv-surface); border: 1px solid var(--tv-line); margin-bottom: 14px; }
.comment-meta { font-size: .86rem; color: var(--tv-muted); margin-bottom: 8px; }
.comment-meta a { color: var(--tv-muted); }
.comment-author .fn { color: var(--tv-ink); font-weight: 700; font-style: normal; }
.comment-respond { padding: 26px; border-radius: 26px; background: var(--tv-surface); border: 1px solid var(--tv-line); }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9rem; color: var(--tv-ink); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form textarea {
	width: 100%; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--tv-line); background: var(--tv-bg); color: var(--tv-ink); outline: none; transition: border-color .2s, box-shadow .2s;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--tv-sky); box-shadow: 0 0 0 4px rgba(74, 159, 216, .15); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; }
.comment-form-cookies-consent label { font-weight: 400; }
.comment-notes, .logged-in-as { font-size: .88rem; color: var(--tv-muted); margin: 0; }
.form-submit { margin: 0; }

/* Kapcsolódó */
.tv-related { padding-bottom: 10px; }

/* Oldal */
.tv-page { padding-top: 10px; }
.tv-article--page { max-width: 820px; margin: 0 auto; }

/* WordPress alap osztályok */
.alignwide { max-width: 1000px; }
.wp-caption { max-width: 100%; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.sticky, .bypostauthor { position: relative; }

/* ==========================================================================
   Reszponzív
   ========================================================================== */
@media (max-width: 1180px) {
	.tv-nav { display: none; }
	.tv-burger { display: inline-grid; }
	.tv-topics__grid { --cols: 4; }
	.tv-hero__art { opacity: .2; }
	.tv-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
}
@media (max-width: 1000px) {
	.tv-written__top { grid-template-columns: 1fr 1fr; }
	.tv-written__top .tv-panel { grid-column: 1 / -1; }
	.tv-panel__list { display: grid; grid-template-columns: 1fr 1fr; }
	.tv-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tv-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tv-eco__box { grid-template-columns: 1fr; gap: 28px; }
	.tv-focus__grid { grid-template-columns: 1fr; }
	.tv-focus__card { min-height: 300px; }
	.tv-bento { grid-template-columns: 1fr 1fr; }
	.tv-bento > .tv-card--big { grid-column: 1 / -1; grid-row: auto; }
	.tv-layout { grid-template-columns: 1fr; }
	.tv-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
	.tv-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
	.tv-footer__about { grid-column: 1 / -1; }
	.tv-hero__art { display: none; }
}
@media (max-width: 782px) {
	.admin-bar .tv-header { top: 46px; }
	.admin-bar .tv-progress { top: 46px; }
}
@media (max-width: 760px) {
	:root { --tv-gutter: 16px; --tv-r: 18px; --tv-r-lg: 24px; }
	body { font-size: 1rem; }
	.tv-topbar__date, .tv-topbar .tv-social { display: none; }
	.tv-topbar__in { justify-content: center; }
	.tv-topbar__msg { font-size: .78rem; text-align: center; }
	.tv-topbar__msg > span { display: none; }
	.tv-header__in { min-height: 64px; gap: 12px; }
	.tv-header__cta { display: none; }
	.tv-logo__name { font-size: 1.22rem; }
	.tv-mark { width: 36px; height: 36px; }
	.tv-hero__search { padding-left: 16px; }
	.tv-hero__search .tv-btn { padding: .85em 1.1em; }
	.tv-hero__search > .tv-ico { display: none; }
	.tv-hero__stats { font-size: .85rem; gap: 8px 16px; }
	.tv-topics__grid { --cols: 2; gap: 12px; }
	.tv-topics__grid > li { flex-basis: calc((100% - 12px) / 2); }
	.tv-topic__name { font-size: .88rem; padding: 6px 10px; }
	.tv-sec-head { flex-wrap: wrap; align-items: flex-start; }
	.tv-cat-dots { display: none; }
	.tv-written__top, .tv-grid--2, .tv-grid--3 { grid-template-columns: 1fr; }
	.tv-panel__list { grid-template-columns: 1fr; }
	.tv-grid--4 { gap: 26px 14px; }
	.tv-card--pick .tv-card__title { font-size: .98rem; }
	.tv-card--pick .tv-card__by .tv-avatar { display: none; }
	.tv-eco__list { grid-template-columns: 1fr; }
	.tv-card--row { padding: 12px 12px 12px 16px; gap: 12px; }
	.tv-card--row .tv-card__media { width: 92px; }
	.tv-card--row .tv-card__title { font-size: 1rem; }
	.tv-bento { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
	.tv-card--tile .tv-card__title { font-size: .98rem; }
	.tv-card--tile .tv-cat--onimg { display: none; }
	.tv-sidebar { grid-template-columns: 1fr; }
	.tv-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
	.tv-prose { font-size: 1.05rem; }
	.tv-prose blockquote { padding: 22px 20px 20px 54px; font-size: 1.08rem; }
	.tv-prose blockquote::before { left: 14px; font-size: 3.4rem; }
	.tv-prose .alignleft, .tv-prose .alignright { float: none; margin: 1em auto; max-width: 100%; }
	.tv-article__meta { flex-direction: column; align-items: flex-start; }
	.tv-authorbox { flex-direction: column; padding: 22px; }
	.tv-prevnext { grid-template-columns: 1fr; }
	.tv-prevnext__item--next { text-align: left; align-items: flex-start; }
	.tv-search__panel { padding: 34px 18px 22px; margin-top: 8vh; }
	.tv-slider__btn { display: none; }
	.tv-crumbs [aria-current] { max-width: 24ch; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Nyomtatás */
@media print {
	.tv-topbar, .tv-header, .tv-sidebar, .tv-share, .tv-related, .tv-footer, .tv-totop, .tv-progress, .tv-comments, .tv-prevnext, .tv-toc, .tv-hero__bg { display: none !important; }
	body { background: #fff; color: #000; }
	.tv-layout { display: block; }
}
