/* ==========================================================================
   PoNovinite – main stylesheet
   ========================================================================== */

:root {
	--nn-accent: #e10600;
	--nn-header-bg: #fff;
	--nn-nav-bg: #111418;
	--nn-footer-bg: #0d0f12;
	--nn-radius: 8px;
	--nn-container: 1280px;
	--nn-font-body: system-ui, sans-serif;
	--nn-font-heading: system-ui, sans-serif;

	--nn-bg: #f4f5f7;
	--nn-surface: #ffffff;
	--nn-text: #15181d;
	--nn-muted: #646b76;
	--nn-border: #e3e6ea;
	--nn-header-text: #15181d;
	--nn-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 16px rgba(16, 24, 40, .06);
	--nn-gap: 24px;
	--nn-fs: 18px;
}

html.nn-dark {
	--nn-bg: #0e1013;
	--nn-surface: #171a1f;
	--nn-text: #e8eaed;
	--nn-muted: #9aa1ab;
	--nn-border: #2a2f37;
	--nn-header-bg: #12151a;
	--nn-header-text: #f2f3f5;
	--nn-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--nn-bg);
	color: var(--nn-text);
	font-family: var(--nn-font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	transition: background-color .2s, color .2s;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--nn-font-heading);
	line-height: 1.25;
	margin: 0 0 .5em;
	letter-spacing: -.01em;
	text-wrap: balance;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--nn-accent); }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	top: 8px; left: 8px; z-index: 10000;
	background: var(--nn-accent); color: #fff; padding: 10px 16px;
}
:focus-visible { outline: 2px solid var(--nn-accent); outline-offset: 2px; }

.nn-container {
	width: 100%;
	max-width: var(--nn-container);
	margin: 0 auto;
	padding: 0 20px;
}

.nn-boxed .nn-site {
	max-width: calc(var(--nn-container) + 40px);
	margin: 0 auto;
	background: var(--nn-bg);
	box-shadow: 0 0 40px rgba(0, 0, 0, .08);
}

.nn-icon { display: inline-block; vertical-align: -3px; }

.nn-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	background: var(--nn-accent); color: #fff;
	border: 0; border-radius: var(--nn-radius);
	padding: 11px 20px; font-weight: 600;
	transition: filter .15s;
}
.nn-btn:hover { filter: brightness(1.1); color: #fff; }

.nn-iconbtn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px;
	background: transparent; color: inherit; border: 0; border-radius: 50%;
}
.nn-iconbtn:hover { background: rgba(255, 255, 255, .1); }

/* ---------- Reading progress ---------- */
.nn-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9999; pointer-events: none; }
.nn-progress span { display: block; height: 100%; width: 0; background: var(--nn-accent); transition: width .1s linear; }

/* ---------- Top bar ---------- */
.nn-topbar { background: var(--nn-surface); border-bottom: 1px solid var(--nn-border); font-size: 13px; color: var(--nn-muted); }
.nn-topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 16px; }
.nn-topbar__left { display: flex; align-items: center; gap: 20px; }
.nn-topbar__date { text-transform: capitalize; font-weight: 500; }
.nn-topbar__menu { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }

.nn-social { display: flex; gap: 4px; }
.nn-social a { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; }
.nn-social a:hover { background: var(--nn-accent); color: #fff; }

/* ---------- Header ---------- */
.nn-header { background: var(--nn-header-bg); color: var(--nn-header-text); }
.nn-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 100px; padding-top: 16px; padding-bottom: 16px; }
.nn-brand__name { display: block; font-family: var(--nn-font-heading); font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.nn-brand__name::after { content: "."; color: var(--nn-accent); }
.nn-brand__tagline { display: block; margin-top: 6px; color: var(--nn-muted); font-size: 13px; }
.nn-brand .custom-logo { max-height: 70px; width: auto; }
.nn-ad--header { max-width: 728px; }

/* ---------- Navigation ---------- */
.nn-nav { background: var(--nn-nav-bg); color: #fff; position: relative; z-index: 500; }
.nn-nav.is-sticky { position: sticky; top: 0; box-shadow: 0 4px 20px rgba(0, 0, 0, .2); }
.admin-bar .nn-nav.is-sticky { top: 32px; }
.nn-nav__inner { display: flex; align-items: center; min-height: 52px; gap: 8px; }
.nn-nav__toggle { display: none; }
.nn-nav__home { display: none; font-weight: 800; font-size: 18px; }
.nn-nav__tools { margin-left: auto; display: flex; gap: 2px; }

.nn-menu { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.nn-menu li { position: relative; }
.nn-menu > li > a {
	display: block; padding: 15px 14px;
	font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .02em;
	border-bottom: 3px solid transparent;
}
.nn-menu > li > a:hover,
.nn-menu > li.current-menu-item > a,
.nn-menu > li.current-menu-ancestor > a,
.nn-menu > li.current-category-ancestor > a { color: #fff; border-bottom-color: var(--nn-accent); }
.nn-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px;
	list-style: none; margin: 0; padding: 8px 0;
	background: var(--nn-surface); color: var(--nn-text);
	border-top: 3px solid var(--nn-accent);
	box-shadow: var(--nn-shadow);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: all .15s;
}
.nn-menu .sub-menu .sub-menu { top: 0; left: 100%; }
.nn-menu li:hover > .sub-menu,
.nn-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nn-menu .sub-menu a { display: block; padding: 8px 18px; font-size: 14px; }
.nn-menu .menu-item-has-children > a::after { content: " ▾"; font-size: 10px; opacity: .7; }

.nn-when-dark { display: none; }
html.nn-dark .nn-when-dark { display: inline; }
html.nn-dark .nn-when-light { display: none; }

/* ---------- Search overlay ---------- */
.nn-search-overlay {
	position: fixed; inset: 0; z-index: 10000;
	background: rgba(10, 12, 15, .92);
	display: flex; align-items: flex-start; justify-content: center;
	padding: 18vh 20px 0;
	backdrop-filter: blur(6px);
}
.nn-search-overlay[hidden] { display: none; }
.nn-search-overlay__close { position: absolute; top: 20px; right: 20px; color: #fff; }
.nn-search-overlay__box { width: 100%; max-width: 720px; }
.nn-search-overlay .nn-searchform input { font-size: 24px; padding: 18px 22px; }

.nn-searchform { display: flex; background: var(--nn-surface); border: 1px solid var(--nn-border); border-radius: var(--nn-radius); overflow: hidden; }
.nn-searchform input { flex: 1; border: 0; background: transparent; color: var(--nn-text); padding: 12px 16px; font: inherit; min-width: 0; }
.nn-searchform input:focus { outline: none; }
.nn-searchform button { border: 0; background: var(--nn-accent); color: #fff; padding: 0 18px; }

/* ---------- Ticker ---------- */
.nn-ticker { background: var(--nn-surface); border-bottom: 1px solid var(--nn-border); }
.nn-ticker__inner { display: flex; align-items: center; gap: 14px; height: 44px; overflow: hidden; }
.nn-ticker__label {
	flex: none; display: inline-flex; align-items: center; gap: 4px;
	background: var(--nn-accent); color: #fff;
	font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .05em;
	padding: 6px 12px; border-radius: var(--nn-radius);
	animation: nn-pulse 2s infinite;
}
@keyframes nn-pulse { 50% { box-shadow: 0 0 0 6px rgba(225, 6, 0, 0); } 0% { box-shadow: 0 0 0 0 rgba(225, 6, 0, .4); } }
.nn-ticker__viewport { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.nn-ticker__track { display: inline-flex; white-space: nowrap; will-change: transform; }
.nn-ticker__item { padding-right: 40px; font-weight: 600; font-size: 14px; }
.nn-ticker__item time { color: var(--nn-accent); font-weight: 800; margin-right: 6px; }
.nn-ticker__viewport:hover .nn-ticker__track { animation-play-state: paused; }

/* ---------- Main layout ---------- */
.nn-main { padding: 28px 0 40px; }
.nn-columns { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.nn-layout-left .nn-columns { grid-template-columns: 340px minmax(0, 1fr); }
.nn-layout-left .nn-sidebar { order: -1; }
.nn-layout-none .nn-columns { grid-template-columns: minmax(0, 1fr); }
.nn-sidebar { position: sticky; top: 76px; }

/* ---------- Cards ---------- */
.nn-card { position: relative; display: flex; flex-direction: column; background: var(--nn-surface); border-radius: var(--nn-radius); overflow: hidden; box-shadow: var(--nn-shadow); }
.nn-card__media { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--nn-border); }
.nn-card__media .nn-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.nn-card:hover .nn-card__media .nn-img { transform: scale(1.05); }
.nn-img--placeholder { display: flex !important; align-items: center; justify-content: center; color: var(--nn-muted); background: linear-gradient(135deg, var(--nn-border), var(--nn-bg)); }
.nn-img--placeholder .nn-icon { width: 32px; height: 32px; opacity: .5; }
.nn-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.nn-card__title { font-size: 17px; font-weight: 750; margin: 0; }
.nn-card__excerpt { margin: 0; color: var(--nn-muted); font-size: 14.5px; line-height: 1.55; }

.nn-cat {
	align-self: flex-start;
	display: inline-block; color: var(--nn-accent);
	font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
}
.nn-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: var(--nn-muted); font-size: 12.5px; margin-top: auto; }
.nn-meta__views { display: inline-flex; gap: 4px; align-items: center; }
.nn-meta .nn-icon { width: 14px; height: 14px; }

/* list card */
.nn-card--list { flex-direction: row; gap: 16px; padding: 12px; align-items: flex-start; }
.nn-card--list .nn-card__media { flex: 0 0 200px; aspect-ratio: 3 / 2; border-radius: calc(var(--nn-radius) - 2px); }
.nn-card--list .nn-card__body { padding: 0; }
.nn-card--list .nn-card__title { font-size: 18px; }

/* mini card */
.nn-card--mini { flex-direction: row; gap: 12px; box-shadow: none; background: transparent; border-radius: 0; padding: 10px 0; border-bottom: 1px solid var(--nn-border); }
.nn-card--mini:last-child { border-bottom: 0; }
.nn-card--mini .nn-card__media { flex: 0 0 96px; aspect-ratio: 4 / 3; border-radius: calc(var(--nn-radius) - 2px); }
.nn-card--mini .nn-card__body { padding: 0; }
.nn-card--mini .nn-card__title { font-size: 14.5px; font-weight: 700; }

/* overlay + hero card */
.nn-card--overlay,
.nn-card--hero { color: #fff; min-height: 220px; }
.nn-card--overlay .nn-card__media,
.nn-card--hero .nn-card__media { position: absolute; inset: 0; aspect-ratio: auto; }
.nn-card--overlay .nn-card__media::after,
.nn-card--hero .nn-card__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.85) 100%);
}
.nn-card--overlay .nn-card__body,
.nn-card--hero .nn-card__body { position: relative; z-index: 2; margin-top: auto; padding: 20px; flex: 0; }
.nn-card--overlay .nn-cat,
.nn-card--hero .nn-cat { background: var(--nn-accent); color: #fff; padding: 3px 8px; border-radius: 3px; }
.nn-card--overlay .nn-meta,
.nn-card--hero .nn-meta,
.nn-card--overlay .nn-card__excerpt,
.nn-card--hero .nn-card__excerpt { color: rgba(255, 255, 255, .85); }
.nn-card--overlay a:hover,
.nn-card--hero a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.nn-card--hero { min-height: 460px; justify-content: flex-end; }
.nn-card--hero .nn-card__title { font-size: clamp(24px, 3vw, 38px); font-weight: 850; }

/* ---------- Hero layouts ---------- */
.nn-hero { margin-bottom: 36px; }
.nn-hero--grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; height: 520px; }
.nn-hero--grid > .nn-card:first-child { grid-row: span 2; }
.nn-hero--grid .nn-card { min-height: 0; border-radius: 0; }
.nn-hero--grid > .nn-card:first-child { border-radius: var(--nn-radius) 0 0 var(--nn-radius); }
.nn-hero--grid > .nn-card:nth-child(3) { border-top-right-radius: var(--nn-radius); }
.nn-hero--grid > .nn-card:nth-child(5) { border-bottom-right-radius: var(--nn-radius); }
.nn-hero--grid .nn-card--overlay .nn-card__title { font-size: 17px; }

.nn-hero--split { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; }
.nn-hero__main .nn-card--hero { height: 100%; min-height: 480px; }
.nn-hero__list { background: var(--nn-surface); border-radius: var(--nn-radius); padding: 18px 20px; box-shadow: var(--nn-shadow); }
.nn-hero__list-title { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--nn-accent); border-bottom: 2px solid var(--nn-accent); padding-bottom: 8px; }

.nn-hero--slider { position: relative; border-radius: var(--nn-radius); overflow: hidden; }
.nn-slider__track { display: flex; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.nn-slider__track > .nn-card { flex: 0 0 100%; min-height: 520px; border-radius: 0; }
.nn-slider__nav { position: absolute; right: 20px; bottom: 20px; z-index: 5; display: flex; align-items: center; gap: 8px; color: #fff; }
.nn-slider__nav .nn-iconbtn { background: rgba(0,0,0,.4); }
.nn-slider__dots { display: flex; gap: 6px; }
.nn-slider__dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.5); }
.nn-slider__dots button.is-active { background: var(--nn-accent); width: 24px; border-radius: 6px; }

/* ---------- Blocks ---------- */
.nn-block { margin-bottom: 40px; }
.nn-section-head { display: flex; align-items: flex-end; justify-content: space-between; border-bottom: 2px solid var(--nn-border); margin-bottom: 18px; }
.nn-section-title { position: relative; font-size: 20px; font-weight: 850; text-transform: uppercase; letter-spacing: .02em; margin: 0; padding-bottom: 10px; }
.nn-section-title::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 60px; background: var(--nn-accent); }
.nn-section-more { font-size: 13px; font-weight: 700; color: var(--nn-muted); padding-bottom: 10px; }

.nn-block--grid .nn-block__grid,
.nn-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.nn-block--grid .nn-card__title,
.nn-grid-4 .nn-card__title { font-size: 15.5px; }
.nn-block--overlay .nn-block__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.nn-block--overlay .nn-card { min-height: 260px; }
.nn-block--big-list .nn-block__grid { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: repeat(4, auto); gap: 12px 24px; }
.nn-block--big-list .nn-block__grid > .nn-card:first-child { grid-row: 1 / span 4; }
.nn-block--big-list .nn-block__grid > .nn-card:first-child .nn-card__title { font-size: 22px; }
.nn-block--big-list .nn-card--list { padding: 0; box-shadow: none; background: transparent; }
.nn-block--big-list .nn-card--list .nn-card__media { flex-basis: 110px; }
.nn-block--big-list .nn-card--list .nn-card__title { font-size: 15px; }
.nn-block--list .nn-block__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nn-block--list .nn-card--list .nn-card__media { flex-basis: 130px; }
.nn-block--list .nn-card--list .nn-card__title { font-size: 15.5px; }

.nn-feed { display: flex; flex-direction: column; gap: 14px; }

/* ---------- Sidebar widgets ---------- */
.nn-widget { background: var(--nn-surface); border-radius: var(--nn-radius); padding: 18px 20px; box-shadow: var(--nn-shadow); margin-bottom: 24px; }
.nn-widget__title { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; border-bottom: 2px solid var(--nn-border); padding-bottom: 10px; margin-bottom: 8px; position: relative; }
.nn-widget__title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 40px; height: 2px; background: var(--nn-accent); }
.nn-widget__title .nn-icon { color: var(--nn-accent); }
.nn-widget ul { list-style: none; margin: 0; padding: 0; }
.nn-widget li { padding: 8px 0; border-bottom: 1px solid var(--nn-border); }
.nn-widget li:last-child { border-bottom: 0; }

.nn-wposts__item { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--nn-border); }
.nn-wposts__item:last-child { border-bottom: 0; }
.nn-wposts__num { flex: none; font-family: var(--nn-font-heading); font-size: 30px; font-weight: 900; line-height: 1; color: var(--nn-accent); opacity: .85; min-width: 28px; }
.nn-wposts__title { display: block; font-weight: 700; font-size: 14.5px; line-height: 1.35; margin-bottom: 4px; }

/* ---------- Newsletter ---------- */
.nn-newsletter {
	display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center;
	background: linear-gradient(135deg, var(--nn-nav-bg), #2a2f37);
	color: #fff; border-radius: var(--nn-radius); padding: 32px; margin-bottom: 40px;
	position: relative; overflow: hidden;
}
.nn-newsletter::before { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: var(--nn-accent); opacity: .25; }
.nn-newsletter h3 { font-size: 24px; margin: 0 0 6px; }
.nn-newsletter p { margin: 0; opacity: .8; }
.nn-newsletter__form { display: flex; gap: 8px; position: relative; }
.nn-newsletter__form input { flex: 1; min-width: 0; border: 0; border-radius: var(--nn-radius); padding: 12px 14px; font: inherit; }

/* ---------- Ads ---------- */
.nn-ad { text-align: center; margin: 0 auto; }
.nn-ad--mid,
.nn-ad--footer { margin: 0 0 40px; }
.nn-ad--inarticle { margin: 28px 0; }

/* ---------- Article ---------- */
.nn-article { background: var(--nn-surface); border-radius: var(--nn-radius); padding: 32px 40px; box-shadow: var(--nn-shadow); margin-bottom: 32px; }
.nn-breadcrumbs { font-size: 13px; color: var(--nn-muted); margin-bottom: 14px; }
.nn-article__title { font-size: clamp(26px, 3.6vw, 42px); font-weight: 850; margin: 8px 0 12px; }
.nn-article__lead { font-size: 19px; color: var(--nn-muted); font-weight: 500; line-height: 1.5; margin: 0 0 18px; }
.nn-article__meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; font-size: 13.5px; color: var(--nn-muted); padding: 14px 0; border-top: 1px solid var(--nn-border); border-bottom: 1px solid var(--nn-border); }
.nn-article__meta > * { display: inline-flex; align-items: center; gap: 6px; }
.nn-article__author { font-weight: 700; color: var(--nn-text); }
.nn-article__author img { border-radius: 50%; }
.nn-fontsize { margin-left: auto; }
.nn-fontsize button { background: var(--nn-bg); border: 1px solid var(--nn-border); color: var(--nn-text); padding: 2px 9px; font-weight: 700; }
.nn-fontsize button:first-child { border-radius: 4px 0 0 4px; }
.nn-fontsize button:last-child { border-radius: 0 4px 4px 0; border-left: 0; }
.nn-article__figure { margin: 22px -40px; }
.nn-article__figure img { width: 100%; }
.nn-article__figure figcaption { font-size: 13px; color: var(--nn-muted); padding: 8px 40px 0; }

.nn-share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 18px 0; }
.nn-share__label { font-weight: 700; font-size: 13px; margin-right: 6px; }
.nn-share__btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 0; color: #fff; background: #444; transition: transform .15s; }
.nn-share__btn:hover { color: #fff; transform: translateY(-2px); }
.nn-share__btn--facebook { background: #1877f2; }
.nn-share__btn--x { background: #000; }
.nn-share__btn--telegram { background: #229ed9; }
.nn-share__btn--viber { background: #7360f2; }
.nn-share__btn--whatsapp { background: #25d366; }
.nn-share__btn--mail { background: #6b7280; }
.nn-share__btn--copy { background: var(--nn-accent); }
.nn-share__btn.is-copied::after { content: "✓"; position: absolute; }

.nn-entry { font-size: var(--nn-fs); line-height: 1.75; overflow-wrap: break-word; }
.nn-entry > * { margin: 0 0 1.1em; }
.nn-entry h2 { font-size: 1.45em; margin-top: 1.4em; }
.nn-entry h3 { font-size: 1.2em; margin-top: 1.3em; }
.nn-entry a { color: var(--nn-accent); text-decoration: underline; text-underline-offset: 2px; }
.nn-entry blockquote { border-left: 4px solid var(--nn-accent); margin-left: 0; padding: 6px 0 6px 22px; font-size: 1.12em; font-style: italic; color: var(--nn-muted); }
.nn-entry ul,
.nn-entry ol { padding-left: 1.4em; }
.nn-entry li { margin-bottom: .4em; }
.nn-entry img { border-radius: var(--nn-radius); }
.nn-entry table { width: 100%; border-collapse: collapse; font-size: .9em; }
.nn-entry th,
.nn-entry td { border: 1px solid var(--nn-border); padding: 8px 10px; }
.nn-source { font-size: 14px; color: var(--nn-muted); border-top: 1px dashed var(--nn-border); padding-top: 12px; }
.nn-source a { color: var(--nn-muted); }

.nn-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.nn-tags a { background: var(--nn-bg); border: 1px solid var(--nn-border); padding: 4px 12px; border-radius: 999px; font-size: 13px; }
.nn-tags a::before { content: "#"; color: var(--nn-accent); }
.nn-tags a:hover { border-color: var(--nn-accent); }

.nn-authorbox { display: flex; gap: 18px; align-items: center; background: var(--nn-bg); border-radius: var(--nn-radius); padding: 20px; margin: 24px 0; }
.nn-authorbox img { border-radius: 50%; }
.nn-authorbox h3 { margin: 0 0 4px; font-size: 17px; }
.nn-authorbox p { margin: 0; color: var(--nn-muted); font-size: 14.5px; }

.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.post-navigation a { display: block; background: var(--nn-bg); border-radius: var(--nn-radius); padding: 14px 16px; height: 100%; }
.post-navigation .nav-next { text-align: right; }
.nn-postnav__label { display: block; font-size: 12px; color: var(--nn-accent); font-weight: 800; text-transform: uppercase; }
.nn-postnav__title { font-weight: 700; }

/* ---------- Archive ---------- */
.nn-archive-head { margin-bottom: 24px; }
.nn-archive-title { font-size: clamp(26px, 3vw, 36px); font-weight: 900; }
.nn-archive-title span { color: var(--nn-accent); }
.nn-archive-desc { color: var(--nn-muted); }
.nn-archive-search { max-width: 520px; margin-top: 10px; }
.nn-archive-lead { margin-bottom: 18px; }

.pagination,
.nav-links { margin-top: 28px; }
.pagination .nav-links,
.pagination { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: var(--nn-radius); background: var(--nn-surface); box-shadow: var(--nn-shadow); font-weight: 700; }
.page-numbers.current,
.page-numbers:hover { background: var(--nn-accent); color: #fff; }

.nn-empty,
.nn-404 { text-align: center; background: var(--nn-surface); border-radius: var(--nn-radius); padding: 48px 24px; }
.nn-404__code { font-size: 120px; font-weight: 900; line-height: 1; color: var(--nn-accent); margin: 0; }
.nn-404 .nn-searchform { max-width: 520px; margin: 20px auto 40px; }
.nn-404 .nn-grid-4 { text-align: left; }

/* ---------- Comments ---------- */
.nn-comments { background: var(--nn-surface); border-radius: var(--nn-radius); padding: 28px 32px; box-shadow: var(--nn-shadow); }
.nn-comment-list { list-style: none; padding: 0; margin: 20px 0; }
.nn-comment-list .children { list-style: none; padding-left: 32px; }
.nn-comment-list .comment-body { border-bottom: 1px solid var(--nn-border); padding: 16px 0; }
.nn-comment-list .avatar { border-radius: 50%; float: left; margin-right: 12px; }
.nn-comment-list .comment-meta { font-size: 13px; color: var(--nn-muted); }
.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url],
.comment-form textarea { width: 100%; border: 1px solid var(--nn-border); background: var(--nn-bg); color: var(--nn-text); border-radius: var(--nn-radius); padding: 10px 12px; font: inherit; }

/* ---------- Footer ---------- */
.nn-footer { background: var(--nn-footer-bg); color: #b8bec7; padding: 48px 0 0; font-size: 14.5px; }
.nn-footer a:hover { color: #fff; }
.nn-footer__top { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; padding-bottom: 36px; }
.nn-footer__brand { font-family: var(--nn-font-heading); font-size: 28px; font-weight: 900; color: #fff; }
.nn-footer__brand::after { content: "."; color: var(--nn-accent); }
.nn-footer__widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; }
.nn-footer .nn-widget { background: transparent; box-shadow: none; padding: 0; }
.nn-footer .nn-widget__title { color: #fff; border-color: rgba(255,255,255,.1); }
.nn-footer .nn-widget li,
.nn-footer .nn-wposts__item,
.nn-footer .nn-card--mini { border-color: rgba(255,255,255,.08); }
.nn-footer .nn-social a { background: rgba(255,255,255,.06); color: #fff; }
.nn-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 13px; }
.nn-footer__bottom p { margin: 0; }
.nn-footer__menu { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }

.nn-totop {
	position: fixed; right: 20px; bottom: 20px; z-index: 900;
	width: 46px; height: 46px; border-radius: 50%; border: 0;
	background: var(--nn-accent); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.25);
	opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .2s;
}
.nn-totop.is-visible { opacity: 1; visibility: visible; transform: none; }

.nn-cookie {
	position: fixed; left: 20px; bottom: 20px; z-index: 950; max-width: 420px;
	display: flex; gap: 16px; align-items: center;
	background: var(--nn-surface); color: var(--nn-text); border: 1px solid var(--nn-border);
	border-radius: var(--nn-radius); padding: 14px 18px; box-shadow: 0 10px 40px rgba(0,0,0,.2); font-size: 14px;
}
.nn-cookie p { margin: 0; }
.nn-cookie[hidden] { display: none; }

/* WP core classes */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text,
.wp-element-caption { font-size: 13px; color: var(--nn-muted); text-align: center; }
.sticky .nn-card__title::before { content: "📌 "; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.nn-columns,
	.nn-layout-left .nn-columns { grid-template-columns: minmax(0, 1fr); }
	.nn-sidebar { position: static; }
	.nn-block--grid .nn-block__grid,
	.nn-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.nn-ad--header { display: none; }
}

@media (max-width: 900px) {
	.nn-nav__toggle,
	.nn-nav__home { display: inline-flex; }
	.nn-menu {
		position: fixed; top: 0; bottom: 0; left: 0; width: min(320px, 85vw);
		flex-direction: column; flex-wrap: nowrap; overflow-y: auto;
		background: var(--nn-nav-bg); padding: 70px 0 20px;
		transform: translateX(-100%); transition: transform .25s; z-index: 1001;
	}
	.nn-nav.menu-open .nn-menu { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.5); }
	.nn-menu > li > a { border-bottom: 1px solid rgba(255,255,255,.06); }
	.nn-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,.04); color: #fff; border-top: 0; }
	.nn-hero--grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
	.nn-hero--grid > .nn-card:first-child { grid-column: span 2; grid-row: auto; min-height: 380px; border-radius: var(--nn-radius) var(--nn-radius) 0 0; }
	.nn-hero--grid .nn-card { min-height: 200px; border-radius: 0 !important; }
	.nn-hero--split { grid-template-columns: 1fr; }
	.nn-block--big-list .nn-block__grid,
	.nn-block--list .nn-block__grid { grid-template-columns: 1fr; }
	.nn-block--big-list .nn-block__grid > .nn-card:first-child { grid-row: auto; }
	.nn-newsletter { grid-template-columns: 1fr; }
	.nn-footer__top { grid-template-columns: 1fr; }
	.nn-article { padding: 22px 20px; }
	.nn-article__figure { margin: 18px -20px; }
	.nn-article__figure figcaption { padding: 8px 20px 0; }
	.nn-topbar__menu { display: none; }
}

@media (max-width: 600px) {
	:root { --nn-fs: 17px; }
	.nn-header__inner { min-height: 72px; justify-content: center; text-align: center; }
	.nn-card--list .nn-card__media { flex-basis: 110px; }
	.nn-card--list .nn-card__title { font-size: 15.5px; }
	.nn-card--list .nn-card__excerpt { display: none; }
	.nn-block--grid .nn-block__grid,
	.nn-grid-4,
	.nn-block--overlay .nn-block__grid { grid-template-columns: 1fr; }
	.nn-hero--grid { grid-template-columns: 1fr; }
	.nn-hero--grid > .nn-card:first-child { grid-column: auto; }
	.nn-card--hero,
	.nn-slider__track > .nn-card { min-height: 380px; }
	.nn-topbar__date { display: none; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.nn-comments { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
	.nn-topbar, .nn-nav, .nn-ticker, .nn-sidebar, .nn-share, .nn-footer, .nn-ad, .nn-related, .nn-comments, .nn-totop, .nn-progress { display: none !important; }
	.nn-columns { display: block; }
	.nn-article { box-shadow: none; padding: 0; }
}

/* ---------- Language switcher ---------- */
.nn-lang { position: relative; }
.nn-lang__btn {
	display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px;
	background: rgba(255,255,255,.08); color: #fff; border: 0; border-radius: 999px;
	font-weight: 700; font-size: 13px; letter-spacing: .03em;
}
.nn-lang__btn:hover { background: rgba(255,255,255,.16); }
.nn-lang__menu {
	position: absolute; right: 0; top: calc(100% + 8px); z-index: 600; width: 260px;
	background: var(--nn-surface); color: var(--nn-text);
	border: 1px solid var(--nn-border); border-top: 3px solid var(--nn-accent); border-radius: var(--nn-radius);
	box-shadow: 0 12px 40px rgba(0,0,0,.2); padding: 8px; max-height: 70vh; overflow-y: auto;
}
.nn-lang__menu[hidden] { display: none; }
.nn-lang__item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; font-weight: 600; font-size: 14px; }
.nn-lang__item:hover { background: var(--nn-bg); color: var(--nn-text); }
.nn-lang__item.is-active { background: var(--nn-bg); color: var(--nn-accent); }
.nn-lang__item.is-active::after { content: "✓"; margin-left: auto; }
.nn-lang__flag { font-size: 18px; line-height: 1; }
.nn-lang__sep { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--nn-muted); padding: 10px 10px 6px; border-top: 1px solid var(--nn-border); margin-top: 6px; }
.nn-lang__google { width: 100%; padding: 8px 10px; border: 1px solid var(--nn-border); border-radius: 6px; background: var(--nn-bg); color: var(--nn-text); font: inherit; font-size: 14px; }
.nn-notr { background: var(--nn-bg); border-left: 3px solid var(--nn-accent); padding: 10px 14px; font-size: 14px !important; color: var(--nn-muted); }
[dir="rtl"] .nn-lang__menu { right: auto; left: 0; }

/* ---------- Listen player ---------- */
.nn-listen {
	display: flex; align-items: center; gap: 14px;
	background: var(--nn-bg); border: 1px solid var(--nn-border); border-radius: calc(var(--nn-radius) + 4px);
	padding: 12px 14px; margin: 18px 0 4px;
}
.nn-listen__play {
	flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0;
	background: var(--nn-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 16px rgba(225, 6, 0, .3); transition: transform .15s;
}
.nn-listen__play:hover { transform: scale(1.06); }
.nn-listen__play .nn-icon { width: 22px; height: 22px; }
.nn-listen__icon--pause { display: none; }
.nn-listen.is-playing .nn-listen__icon--pause { display: inline-flex; }
.nn-listen.is-playing .nn-listen__icon--play { display: none; }
.nn-listen__main { flex: 1; min-width: 0; }
.nn-listen__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.nn-listen__label { font-weight: 800; font-size: 15px; }
.nn-listen__time { font-size: 12.5px; color: var(--nn-muted); }
.nn-listen__bar { height: 6px; border-radius: 999px; background: var(--nn-border); overflow: hidden; cursor: pointer; }
.nn-listen__bar span { display: block; height: 100%; width: 0; background: var(--nn-accent); border-radius: inherit; transition: width .3s; }
.nn-listen.is-playing .nn-listen__bar span { background-image: linear-gradient(90deg, var(--nn-accent), #ff6a3d); }
.nn-listen__msg { margin: 8px 0 0; font-size: 13px; color: var(--nn-muted); }
.nn-listen__speed {
	flex: none; min-width: 52px; height: 36px; border-radius: 999px; border: 1px solid var(--nn-border);
	background: var(--nn-surface); color: var(--nn-text); font-weight: 800; font-size: 13px;
}
.nn-listen__speed:hover { border-color: var(--nn-accent); color: var(--nn-accent); }
@media print { .nn-listen { display: none; } }
.nn-listen.is-loading .nn-listen__play { animation: nn-spin-pulse 1s ease-in-out infinite; }
.nn-listen.is-loading .nn-listen__bar span { width: 30% !important; animation: nn-loadbar 1.2s ease-in-out infinite; }
@keyframes nn-spin-pulse { 50% { transform: scale(.92); opacity: .75; } }
@keyframes nn-loadbar { 0% { margin-left: -30%; } 100% { margin-left: 100%; } }

/* ---------- Category covers (no image) ---------- */
.nn-img--cover { display: block; width: 100%; height: 100%; }
.nn-img--cover .nn-cover { display: block; width: 100%; height: 100%; }
.nn-card:hover .nn-img--cover .nn-cover { transform: scale(1.05); transition: transform .5s ease; }
.nn-card--overlay .nn-cover__name,
.nn-card--hero .nn-cover__name,
.nn-card--overlay .nn-cover__icon,
.nn-card--hero .nn-cover__icon { display: none; }
