/* netpodcast.hu – saját megjelenés */
:root {
	--np-accent: #C93A20;
	--np-bg: #F5F2EC;
	--np-surface: #FFFFFF;
	--np-surface2: #FBFAF7;
	--np-ink: #141217;
	--np-text: #141217;
	--np-muted: #5C5664;
	--np-soft: #47424F;
	--np-line: #DDD7CC;
	--np-line2: #E6E0D5;
	--np-chipline: #CFC8BB;
	--np-on-ink: #F5F2EC;
	--np-accent-text: color-mix(in srgb, var(--np-accent) 82%, #000);
	--np-kicker: #8A3A26;
	--np-radius: 16px;
	--np-head: "Space Grotesk", system-ui, sans-serif;
	--np-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-np-theme="light"]) {
		--np-bg: #141217;
		--np-surface: #1C1A21;
		--np-surface2: #211E27;
		--np-ink: #F2EEE7;
		--np-text: #F2EEE7;
		--np-muted: #B9B2A7;
		--np-soft: #CFC8BE;
		--np-line: #34303B;
		--np-line2: #2E2A35;
		--np-chipline: #4A4552;
		--np-on-ink: #141217;
		--np-accent-text: color-mix(in srgb, var(--np-accent) 55%, #fff);
		--np-kicker: #F0A28C;
		color-scheme: dark;
	}
}
:root[data-np-theme="dark"] {
	--np-bg: #141217;
	--np-surface: #1C1A21;
	--np-surface2: #211E27;
	--np-ink: #F2EEE7;
	--np-text: #F2EEE7;
	--np-muted: #B9B2A7;
	--np-soft: #CFC8BE;
	--np-line: #34303B;
	--np-line2: #2E2A35;
	--np-chipline: #4A4552;
	--np-on-ink: #141217;
	--np-accent-text: color-mix(in srgb, var(--np-accent) 55%, #fff);
	--np-kicker: #F0A28C;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.np-body {
	margin: 0;
	background: var(--np-bg);
	color: var(--np-text);
	font-family: var(--np-body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
.np-body a { color: inherit; }
.np-body a:hover { color: var(--np-accent-text); }
.np-body img { max-width: 100%; }
.np-body :focus-visible { outline: 3px solid var(--np-accent); outline-offset: 2px; }
.np-sr, .np-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.np-skip { position: absolute; left: 8px; top: -60px; background: var(--np-ink); color: var(--np-on-ink) !important; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.np-skip:focus { top: 8px; }

.np-wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; width: 100%; }
@media (max-width: 600px) { .np-wrap { padding-left: 16px; padding-right: 16px; } }

/* Fejléc */
.np-header { border-bottom: 1px solid var(--np-line); background: var(--np-bg); }
.np-header__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 16px; padding-bottom: 16px; }
.np-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.np-logo .np-mark { flex: none; }
:root[data-np-theme="dark"] .np-mark rect:first-child { fill: #F5F2EC; }
:root[data-np-theme="dark"] .np-mark rect:not(:first-child):not(:nth-child(3)) { fill: #141217; }
@media (prefers-color-scheme: dark) {
	:root:not([data-np-theme="light"]) .np-mark rect:first-child { fill: #F5F2EC; }
	:root:not([data-np-theme="light"]) .np-mark rect:not(:first-child):not(:nth-child(3)) { fill: #141217; }
}
.np-logo__text { font-family: var(--np-head); font-size: 22px; letter-spacing: -0.5px; color: var(--np-text); }
.np-l1 { font-weight: 500; }
.np-l2 { font-weight: 700; }
.np-l3 { font-weight: 700; color: var(--np-accent-text); }
.np-nav { display: flex; flex-wrap: wrap; gap: 0 22px; font-size: 15px; font-weight: 500; flex: 1 1 auto; }
.np-nav a { text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.np-nav a[aria-current="page"] { border-bottom-color: var(--np-accent); }
.np-header__actions { display: flex; align-items: center; gap: 10px; }
.np-iconbtn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--np-chipline); }
@media (max-width: 760px) {
	.np-header__in { gap: 8px 16px; }
	.np-logo { flex: 1 1 auto; }
	.np-header__actions { order: 2; }
	.np-header__actions .np-btn { display: none; }
	.np-nav { order: 3; flex-basis: 100%; gap: 0 18px; overflow-x: auto; flex-wrap: nowrap; }
	.np-nav a { white-space: nowrap; }
}

/* Gombok */
.np-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 14px; text-decoration: none; border: 0; cursor: pointer; line-height: 1.2; }
.np-btn--ink { background: var(--np-ink); color: var(--np-on-ink) !important; }
.np-btn--ink:hover { opacity: .9; }
.np-btn--accent { background: var(--np-accent); color: #fff !important; }
.np-btn--accent:hover { filter: brightness(.92); }
.np-btn--ghost { background: transparent; border: 1.5px solid var(--np-chipline); color: var(--np-text); }
.np-btn--ghost:hover { border-color: var(--np-text); }
.np-btn--big { font-size: 16px; padding: 14px 26px; min-height: 52px; }

/* Szövegek */
.np-kicker { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--np-kicker); }
.np-h1 { margin: 0; font-family: var(--np-head); font-weight: 700; font-size: clamp(40px, 6vw, 64px); line-height: 1.02; letter-spacing: -2px; }
.np-h1--page { font-size: clamp(32px, 4.5vw, 48px); letter-spacing: -1.4px; line-height: 1.08; }
.np-h2 { margin: 0; font-family: var(--np-head); font-weight: 700; font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -1px; line-height: 1.1; }
.np-h3 { margin: 0 0 8px; font-family: var(--np-head); font-size: 22px; letter-spacing: -.4px; }
.np-lead { margin: 0; font-size: 18px; line-height: 1.55; color: var(--np-soft); max-width: 620px; }
.np-empty { color: var(--np-muted); font-size: 16px; }

/* Hero */
.np-hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 56px; }
.np-hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.np-hero__covers { flex: 1 1 360px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.np-hcover { aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; display: flex; align-items: flex-end; padding: 14px; }
.np-hcover .np-cover { position: relative; margin: -14px; width: calc(100% + 28px); height: calc(100% + 28px); border-radius: 0; }
.np-bars { display: flex; gap: 5px; align-items: flex-end; height: 34px; }
.np-bars i { display: block; width: 6px; border-radius: 3px; background: currentColor; }
.np-bars i:nth-child(1) { height: 40%; } .np-bars i:nth-child(2) { height: 100%; } .np-bars i:nth-child(3) { height: 65%; } .np-bars i:nth-child(4) { height: 85%; }
@media (max-width: 760px) { .np-hero { padding-top: 36px; padding-bottom: 36px; gap: 28px; } .np-hero__covers { display: none; } }

.np-search { display: flex; flex-wrap: wrap; gap: 10px; max-width: 600px; margin: 6px 0 0; }
.np-search input { flex: 1 1 260px; min-width: 0; height: 56px; padding: 0 22px; font: inherit; font-size: 16px; border: 1.5px solid var(--np-text); border-radius: 999px; background: var(--np-surface); color: var(--np-text); }
.np-search .np-btn { height: 56px; padding: 0 28px; font-size: 16px; }
.np-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--np-soft); }
.np-chip { padding: 6px 12px; border: 1px solid var(--np-chipline); border-radius: 999px; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.np-chip:hover { border-color: var(--np-text); }

/* Szekciók */
.np-band { background: var(--np-surface); border-top: 1px solid var(--np-line); border-bottom: 1px solid var(--np-line); }
.np-section { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 24px; }
.np-section--tight { padding-top: 40px; padding-bottom: 8px; }
.np-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.np-more { font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.np-page { padding-top: 40px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 20px; }
.np-narrow { max-width: 760px; }
.np-crumb { margin: 0; font-size: 14px; font-weight: 600; }
.np-crumb a { text-decoration: none; }

/* Borítók */
.np-cover { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; background: var(--np-line2); }
.np-cover--blank { display: flex; align-items: flex-end; padding: 10px; font-family: var(--np-head); font-weight: 700; font-size: 26px; line-height: 1; }

/* Epizódkártya */
.np-ep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.np-ep { display: flex; gap: 16px; padding: 16px; border: 1px solid var(--np-line2); border-radius: var(--np-radius); background: var(--np-surface2); align-items: flex-start; min-width: 0; }
.np-ep__cover { flex: 0 0 88px; height: 88px; border-radius: 12px; overflow: hidden; display: block; }
.np-ep__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.np-ep__meta { font-size: 13px; font-weight: 600; color: var(--np-muted); }
.np-ep__meta a { text-decoration: none; }
.np-ep__title { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
.np-ep__title a { text-decoration: none; }
.np-ep__row { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-top: 4px; }
.np-ep__small { font-size: 13px; color: var(--np-muted); }
.np-srcs { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.np-src { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.np-src--youtube { background: #F6DCD6; color: #8E2414; }
.np-src--spotify { background: #D6EEDD; color: #1B5E33; }
.np-src--rss { background: #F3E4CC; color: #7A4A0C; }
.np-play { width: 44px; height: 44px; flex: none; border-radius: 999px; border: 0; background: var(--np-ink); color: var(--np-on-ink) !important; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; text-decoration: none; }
.np-play:hover { background: var(--np-accent); color: #fff !important; }
.np-play.is-playing { background: var(--np-accent); color: #fff !important; }
.np-play--big { width: 64px; height: 64px; }
.np-play--big svg { width: 24px; height: 24px; }

/* Kategóriák */
.np-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.np-cat { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 20px 18px; border-radius: 14px; text-decoration: none; font-family: var(--np-head); font-weight: 700; font-size: 19px; min-height: 64px; }
.np-cat:hover { filter: brightness(1.06); }
.np-cat small { display: block; font-family: var(--np-body); font-weight: 500; font-size: 13px; opacity: .8; margin-top: 2px; }

/* Podcastkártya */
.np-pod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 24px 20px; }
.np-pod { display: flex; flex-direction: column; gap: 8px; text-decoration: none; min-width: 0; }
.np-pod__cover { aspect-ratio: 1 / 1; border-radius: 18px; height: auto; margin-bottom: 4px; }
.np-pod__cover.np-cover--blank { padding: 18px; font-size: 34px; }
.np-pod__title { font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }
.np-pod__desc { font-size: 14px; color: var(--np-muted); line-height: 1.45; }
.np-pod__count { font-size: 13px; color: var(--np-muted); }

/* CTA */
.np-cta { background: var(--np-ink); color: var(--np-on-ink); border-radius: 28px; padding: 48px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.np-cta > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.np-cta p { margin: 0; font-size: 17px; line-height: 1.55; opacity: .85; }
@media (max-width: 600px) { .np-cta { padding: 28px; border-radius: 20px; } }

/* Hirdetés */
.np-ad { padding-top: 24px; padding-bottom: 24px; text-align: center; }
.np-ad > span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--np-muted); margin-bottom: 6px; }

/* Epizód oldal */
.np-ephead, .np-podhead { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.np-ephead__cover, .np-podhead__cover { flex: 0 0 auto; width: min(100%, 260px); aspect-ratio: 1 / 1; height: auto; border-radius: 22px; }
.np-ephead__cover.np-cover--blank, .np-podhead__cover.np-cover--blank { padding: 22px; font-size: 48px; }
.np-ephead__text, .np-podhead__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.np-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.np-actions__label { font-weight: 600; margin-right: 12px; }
.np-video { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; max-width: 960px; width: 100%; }
.np-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.np-desc { max-width: 760px; font-size: 16px; line-height: 1.65; color: var(--np-soft); overflow-wrap: anywhere; }
.np-desc p { margin: 0 0 12px; }
.np-desc--short.is-clamped { max-height: 9.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.np-clamp-btn { align-self: flex-start; background: none; border: 0; padding: 6px 0; font: inherit; font-weight: 600; color: var(--np-text); text-decoration: underline; cursor: pointer; }
.np-embed { border: 1px dashed var(--np-chipline); border-radius: 18px; padding: 20px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; max-width: 960px; }
.np-embed p { margin: 0; font-size: 14px; color: var(--np-muted); flex: 1 1 260px; }
.np-embed iframe { width: 100%; height: 352px; border: 0; border-radius: 12px; }
.np-embed.is-loaded { border: 0; padding: 0; }

/* Lapozó, fülek */
.np-pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.np-pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--np-chipline); text-decoration: none; font-weight: 600; font-size: 14px; }
.np-pagination .current { background: var(--np-ink); color: var(--np-on-ink); border-color: var(--np-ink); }
.np-pagination .dots { border: 0; }
.np-tabs { display: inline-flex; border: 1px solid var(--np-chipline); border-radius: 999px; padding: 4px; gap: 4px; }
.np-tabs a { padding: 8px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; min-height: 36px; display: inline-flex; align-items: center; }
.np-tabs a[aria-current="page"] { background: var(--np-ink); color: var(--np-on-ink); }

/* Toplista */
.np-toplist { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.np-toplist li { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border: 1px solid var(--np-line2); border-radius: 14px; background: var(--np-surface2); flex-wrap: wrap; }
.np-toplist__n { font-family: var(--np-head); font-weight: 700; font-size: 24px; width: 36px; text-align: center; color: var(--np-accent-text); }
.np-toplist__cover { width: 56px; height: 56px; border-radius: 10px; flex: none; }
.np-toplist__cover.np-cover--blank { font-size: 18px; padding: 8px; }
.np-toplist__title { font-weight: 600; font-size: 17px; flex: 1 1 200px; text-decoration: none; }

/* Űrlap */
.np-form { display: flex; flex-direction: column; gap: 4px; }
.np-form p { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.np-form label { font-weight: 600; font-size: 15px; }
.np-form input, .np-form select, .np-form textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--np-chipline); border-radius: 12px; background: var(--np-surface); color: var(--np-text); min-height: 48px; width: 100%; }
.np-form input:focus, .np-form select:focus, .np-form textarea:focus { border-color: var(--np-text); }
.np-form small { font-size: 13px; color: var(--np-muted); }
.np-form .np-btn { align-self: flex-start; }
.np-notice { border-radius: 14px; padding: 14px 18px; }
.np-notice p { margin: 4px 0; }
.np-notice--ok { background: #D6EEDD; color: #123F22; }
.np-notice--err { background: #F6DCD6; color: #6E1B0E; }

/* Lábléc */
.np-footer { border-top: 1px solid var(--np-line); margin-top: 24px; }
.np-footer__in { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--np-muted); }
.np-footer__in p { margin: 0; }
.np-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
body.np-has-player .np-footer__in { padding-bottom: 120px; }

/* Lejátszó */
.np-player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #141217; color: #F5F2EC; box-shadow: 0 -6px 24px rgba(0,0,0,.18); }
:root[data-np-theme="dark"] .np-player { border-top: 1px solid #34303B; }
.np-player[hidden] { display: none; }
.np-player__in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-top: 10px; padding-bottom: 10px; }
.np-player__img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: #2E6E62; flex: none; }
.np-player__info { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.np-player__show { font-size: 12px; color: #BDB6AB; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-player__title { font-size: 15px; font-weight: 600; color: #F5F2EC !important; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-player__toggle { width: 48px; height: 48px; border-radius: 999px; border: 0; background: #F5F2EC; color: #141217; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.np-player__bar { flex: 2 1 260px; min-width: 0; display: flex; align-items: center; gap: 10px; font-size: 12px; color: #BDB6AB; font-variant-numeric: tabular-nums; }
.np-player__seek { flex: 1 1 auto; accent-color: var(--np-accent); min-width: 0; height: 24px; }
.np-player__close { width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; color: #BDB6AB; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.np-player__close:hover { color: #fff; }
@media (max-width: 600px) { .np-player__bar { order: 5; flex-basis: 100%; } }

/* Hero borító képpel */
.np-hcover--img { padding: 0; }
.np-hcover--img .np-cover { margin: 0; width: 100%; height: 100%; border-radius: 0; }

@media (max-width: 600px) { .np-pod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; } .np-pod__desc { display: none; } }
.np-ep__cover, .np-pod, .np-cat { text-decoration: none; }
