/*
Theme Name: Naujienų Tema
Theme URI: https://example.lt/naujienu-tema
Author: MB „Enter prekyba"
Author URI: https://example.lt
Description: Greita, AdSense pritaikyta naujienų / tinklaraščio tema lietuviškiems portalams. Turi rekomenduojamų straipsnių sistemą, skaitomiausių straipsnių skaitiklį, paruoštas reklamos vietas ir automatinį reklamos įterpimą į straipsnio tekstą.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: naujienu-tema
Tags: news, blog, two-columns, right-sidebar, custom-menu, featured-images, translation-ready, block-styles, wide-blocks
*/

/* =========================================================
   1. Kintamieji
   ========================================================= */
:root {
	--nt-ink: #16181d;
	--nt-ink-soft: #565f6d;
	--nt-line: #e3e6ec;
	--nt-surface: #f4f5f8;
	--nt-paper: #ffffff;
	--nt-accent: #d0331f;
	--nt-accent-dark: #a52614;
	--nt-link: #1b3b6f;

	--nt-font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
	--nt-font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

	--nt-wrap: 1200px;
	--nt-radius: 4px;
	--nt-gap: 32px;
}

/* =========================================================
   2. Bazė
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

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

body {
	margin: 0;
	background: var(--nt-paper);
	color: var(--nt-ink);
	font-family: var(--nt-font-ui);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--nt-link); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--nt-font-display);
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 .6em;
	letter-spacing: -.01em;
}

p { margin: 0 0 1.15em; }

:focus-visible {
	outline: 3px solid var(--nt-accent);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px,1px,1px,1px);
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--nt-ink); color: #fff;
	padding: 12px 20px; z-index: 999;
}
.skip-link:focus { left: 0; }

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

/* =========================================================
   3. Antraštė ir navigacija
   ========================================================= */
.nt-topbar {
	background: var(--nt-ink);
	color: #c9ced8;
	font-size: 13px;
}
.nt-topbar .nt-wrap {
	display: flex; justify-content: space-between; align-items: center;
	min-height: 36px; gap: 16px;
}
.nt-topbar a { color: #c9ced8; }
.nt-date { text-transform: capitalize; }

.nt-header {
	border-bottom: 1px solid var(--nt-line);
	background: var(--nt-paper);
}
.nt-header-inner {
	display: flex; align-items: center; gap: 24px;
	padding-top: 18px; padding-bottom: 18px;
}
.nt-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nt-brand img { max-height: 56px; width: auto; }
.nt-site-title {
	font-family: var(--nt-font-display);
	font-size: 30px; font-weight: 700; margin: 0;
	letter-spacing: -.02em;
}
.nt-site-title a { color: var(--nt-ink); text-decoration: none; }
.nt-site-title .nt-dot { color: var(--nt-accent); }
.nt-tagline { margin: 2px 0 0; font-size: 13px; color: var(--nt-ink-soft); }

.nt-header-ad { flex: 0 1 728px; }
.nt-header-ad .nt-ad { margin: 0; }

.nt-navbar {
	background: var(--nt-paper);
	border-bottom: 3px solid var(--nt-ink);
	position: sticky; top: 0; z-index: 50;
}
.admin-bar .nt-navbar { top: 32px; }
.nt-navbar .nt-wrap { display: flex; align-items: center; gap: 12px; }

.nt-menu { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.nt-menu li { position: relative; }
.nt-menu a {
	display: block; padding: 14px 14px;
	font-size: 14px; font-weight: 600; letter-spacing: .02em;
	text-transform: uppercase; color: var(--nt-ink); text-decoration: none;
}
.nt-menu > li > a:hover,
.nt-menu > li.current-menu-item > a { color: var(--nt-accent); }
.nt-menu .sub-menu {
	position: absolute; left: 0; top: 100%;
	min-width: 220px; background: #fff; list-style: none;
	margin: 0; padding: 6px 0; border: 1px solid var(--nt-line);
	box-shadow: 0 12px 28px rgba(20,24,32,.12);
	display: none; z-index: 60;
}
.nt-menu li:hover > .sub-menu,
.nt-menu li:focus-within > .sub-menu { display: block; }
.nt-menu .sub-menu a { text-transform: none; padding: 9px 16px; font-weight: 500; }

.nt-nav-toggle, .nt-search-toggle {
	background: none; border: 0; cursor: pointer;
	font: inherit; color: var(--nt-ink);
	padding: 12px 10px; display: flex; align-items: center; gap: 8px;
}
.nt-nav-toggle { display: none; font-weight: 600; text-transform: uppercase; font-size: 14px; }
.nt-search-toggle { margin-left: auto; }
.nt-search-panel { display: none; padding: 0 0 18px; }
.nt-search-panel.is-open { display: block; }

.nt-searchform { display: flex; gap: 8px; }
.nt-searchform input[type="search"] {
	flex: 1; padding: 12px 14px; font: inherit;
	border: 1px solid var(--nt-line); border-radius: var(--nt-radius);
	background: var(--nt-surface);
}
.nt-searchform button {
	padding: 12px 22px; font: inherit; font-weight: 600; cursor: pointer;
	background: var(--nt-accent); color: #fff; border: 0; border-radius: var(--nt-radius);
}

/* Skubi juosta */
.nt-breaking {
	display: flex; align-items: stretch; gap: 0;
	border: 1px solid var(--nt-line); border-left: 0;
	margin: 22px 0 0; overflow: hidden; border-radius: var(--nt-radius);
}
.nt-breaking-label {
	background: var(--nt-accent); color: #fff;
	font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	display: flex; align-items: center; padding: 10px 16px; white-space: nowrap;
}
.nt-breaking-list { overflow: hidden; padding: 10px 16px; flex: 1; }
.nt-breaking-list a { color: var(--nt-ink); font-weight: 600; font-size: 15px; }

/* =========================================================
   4. Maketas
   ========================================================= */
.nt-site-main { padding: 28px 0 48px; }
.nt-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 336px;
	gap: var(--nt-gap);
	align-items: start;
}
.nt-layout.nt-no-sidebar { grid-template-columns: minmax(0, 1fr); }
.nt-content { min-width: 0; }

.nt-section-title {
	display: flex; align-items: center; gap: 12px;
	font-size: 22px; margin: 0 0 18px;
	padding-bottom: 10px; border-bottom: 2px solid var(--nt-ink);
}
.nt-section-title::before {
	content: ""; width: 6px; height: 22px; background: var(--nt-accent); flex: none;
}
.nt-section-title .nt-more {
	margin-left: auto; font-family: var(--nt-font-ui);
	font-size: 13px; font-weight: 600; text-transform: uppercase;
}

/* =========================================================
   5. Straipsnių kortelės
   ========================================================= */
.nt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 26px;
	margin-bottom: 34px;
}

.nt-card { display: flex; flex-direction: column; }
.nt-card-thumb {
	position: relative; display: block; overflow: hidden;
	border-radius: var(--nt-radius); background: var(--nt-surface);
	aspect-ratio: 16 / 10;
}
.nt-thumb-link { display: block; width: 100%; height: 100%; }
.nt-card-thumb img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform .35s ease;
}
.nt-card:hover .nt-card-thumb img { transform: scale(1.04); }
.nt-cat {
	display: inline-block;
	background: var(--nt-accent); color: #fff;
	font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	padding: 4px 9px; border-radius: 2px; text-decoration: none;
}
.nt-cat:hover { background: var(--nt-accent-dark); color: #fff; text-decoration: none; }
.nt-cat { width: fit-content; max-width: 100%; align-self: start; justify-self: start; }
.nt-card-thumb .nt-cat { position: absolute; left: 10px; bottom: 10px; }
.nt-cat-row { margin: 0 0 8px; }

.nt-card-title {
	font-size: 20px; margin: 12px 0 8px; line-height: 1.28;
}
.nt-card-title a { color: var(--nt-ink); }
.nt-card-title a:hover { color: var(--nt-accent); text-decoration: none; }
.nt-card-excerpt { color: var(--nt-ink-soft); font-size: 15px; margin: 0 0 10px; }

.nt-meta {
	font-size: 13px; color: var(--nt-ink-soft);
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
}
.nt-meta a { color: var(--nt-ink-soft); }
.nt-meta .nt-views::before { content: "👁 "; }

/* Sąrašo įrašas (archyvas) */
.nt-list-item {
	display: grid; grid-template-columns: 280px minmax(0,1fr);
	gap: 22px; padding: 0 0 24px; margin: 0 0 24px;
	border-bottom: 1px solid var(--nt-line);
}
.nt-list-item .nt-card-title { font-size: 24px; margin-top: 0; }
.nt-list-item .nt-card-thumb { aspect-ratio: 4 / 3; }
.nt-list-item.nt-no-thumb { grid-template-columns: minmax(0, 1fr); }
.nt-list-body { min-width: 0; }
.nt-card.nt-no-thumb .nt-card-title { margin-top: 0; }

/* Herojus (rekomenduojami) */
.nt-hero {
	display: grid; grid-template-columns: 1.55fr 1fr;
	gap: 22px; margin-bottom: 38px;
}
.nt-hero-main .nt-card-thumb { aspect-ratio: 16 / 9; }
.nt-hero-main .nt-card-title { font-size: 34px; line-height: 1.15; }
.nt-hero-side { display: grid; gap: 18px; align-content: start; }
.nt-hero-side .nt-card {
	display: grid; grid-template-columns: 108px minmax(0,1fr); gap: 14px;
	align-items: start;
}
.nt-hero-side .nt-card-thumb { aspect-ratio: 1 / 1; }
.nt-hero-side .nt-card-title { font-size: 16px; margin: 0 0 6px; }
.nt-hero-side .nt-card-excerpt { display: none; }

/* Rekomenduojamų juostelė */
.nt-featured-strip { margin-bottom: 38px; }

/* =========================================================
   6. Šoninė juosta ir valdikliai
   ========================================================= */
.nt-sidebar { position: relative; }
.nt-widget {
	margin-bottom: 30px;
	border: 1px solid var(--nt-line);
	border-radius: var(--nt-radius);
	padding: 18px;
	background: var(--nt-paper);
}
.nt-widget-title {
	font-size: 17px; margin: 0 0 14px; padding-bottom: 10px;
	border-bottom: 2px solid var(--nt-ink);
	display: flex; align-items: center; gap: 10px;
}
.nt-widget-title::before {
	content: ""; width: 5px; height: 17px; background: var(--nt-accent); flex: none;
}
.nt-widget ul { list-style: none; margin: 0; padding: 0; }
.nt-widget > ul > li {
	padding: 8px 0; border-bottom: 1px solid var(--nt-line); font-size: 15px;
}
.nt-widget > ul > li:last-child { border-bottom: 0; }

.nt-sticky { position: sticky; top: 90px; }
.admin-bar .nt-sticky { top: 122px; }

/* Skaitomiausi – parašas: dideli reitingo numeriai */
.nt-popular { list-style: none; margin: 0; padding: 0; counter-reset: nt-rank; }
.nt-popular li {
	counter-increment: nt-rank;
	display: grid; grid-template-columns: 44px 64px minmax(0,1fr);
	gap: 12px; align-items: center;
	padding: 12px 0; border-bottom: 1px solid var(--nt-line);
}
.nt-popular li:last-child { border-bottom: 0; }
.nt-popular li::before {
	content: counter(nt-rank);
	font-family: var(--nt-font-display);
	font-size: 30px; font-weight: 700; line-height: 1;
	color: var(--nt-accent);
	text-align: center;
}
/* Visi numeriai vienodi – akcento spalva */
.nt-popular .nt-popular-thumb {
	width: 64px; height: 64px; border-radius: var(--nt-radius);
	overflow: hidden; background: var(--nt-surface); flex: none;
}
.nt-popular .nt-popular-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nt-popular .nt-popular-title {
	font-family: var(--nt-font-display);
	font-size: 15px; font-weight: 600; line-height: 1.3;
	color: var(--nt-ink); display: block; margin-bottom: 4px;
}
.nt-popular .nt-popular-title:hover { color: var(--nt-accent); text-decoration: none; }
.nt-popular .nt-meta { font-size: 12px; }
.nt-popular.nt-no-thumbs li { grid-template-columns: 44px minmax(0,1fr); }

/* Rekomenduojamų valdiklis */
.nt-featured-list { list-style: none; margin: 0; padding: 0; }
.nt-featured-list li {
	display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 12px;
	padding: 12px 0; border-bottom: 1px solid var(--nt-line);
}
.nt-featured-list li:last-child { border-bottom: 0; }
.nt-featured-list .nt-thumb { border-radius: var(--nt-radius); overflow: hidden; aspect-ratio: 4/3; background: var(--nt-surface); }
.nt-featured-list .nt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nt-featured-list a.nt-t {
	font-family: var(--nt-font-display); font-size: 15px; font-weight: 600;
	line-height: 1.3; color: var(--nt-ink);
}
.nt-featured-list a.nt-t:hover { color: var(--nt-accent); text-decoration: none; }

/* =========================================================
   7. Reklamos vietos (AdSense)
   ========================================================= */
.nt-ad {
	margin: 26px 0;
	text-align: center;
	clear: both;
	overflow: hidden;
}
.nt-ad-label {
	display: block;
	font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
	color: #9aa2b1; margin-bottom: 4px;
}
.nt-ad ins.adsbygoogle { display: block; }

/* CLS apsauga – rezervuota vieta */
.nt-ad-header .nt-ad-slot { min-height: 90px; }
.nt-ad-incontent .nt-ad-slot { min-height: 280px; }
.nt-ad-sidebar .nt-ad-slot { min-height: 250px; }
.nt-ad-footer .nt-ad-slot { min-height: 90px; }
.nt-ad-archive .nt-ad-slot { min-height: 250px; }

@media (max-width: 782px) {
	.nt-ad-header .nt-ad-slot { min-height: 100px; }
	.nt-ad-incontent .nt-ad-slot { min-height: 250px; }
}

.nt-ad-sticky-mobile {
	position: fixed; left: 0; right: 0; bottom: 0;
	background: rgba(255,255,255,.97);
	border-top: 1px solid var(--nt-line);
	z-index: 90; padding: 4px 0 2px; margin: 0;
	display: none;
}
.nt-ad-sticky-mobile .nt-ad-slot { min-height: 50px; }
.nt-ad-sticky-mobile .nt-ad-close {
	position: absolute; top: -22px; right: 8px;
	width: 24px; height: 22px; border: 1px solid var(--nt-line); border-bottom: 0;
	background: #fff; cursor: pointer; font-size: 14px; line-height: 1;
	border-radius: 4px 4px 0 0;
}
@media (max-width: 782px) {
	.nt-ad-sticky-mobile { display: block; }
	body.has-sticky-ad { padding-bottom: 62px; }
}

/* =========================================================
   8. Vienas įrašas
   ========================================================= */
.nt-single-header { margin-bottom: 22px; }
.nt-single-title {
	font-size: 40px; line-height: 1.12; margin: 12px 0 14px;
}
.nt-single-lead {
	font-size: 20px; line-height: 1.5; color: var(--nt-ink-soft);
	font-family: var(--nt-font-display);
	margin: 0 0 16px;
}
.nt-single-meta {
	display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
	padding: 12px 0; border-top: 1px solid var(--nt-line); border-bottom: 1px solid var(--nt-line);
	font-size: 13px; color: var(--nt-ink-soft);
}
.nt-avatar { border-radius: 50%; }
.nt-featured-image { margin: 0 0 8px; }
.nt-featured-image img { width: 100%; border-radius: var(--nt-radius); }
.nt-caption { font-size: 13px; color: var(--nt-ink-soft); margin: 8px 0 22px; }

.nt-entry-content {
	font-size: 18.5px;
	line-height: 1.72;
	max-width: 46em;
}
.nt-entry-content h2 { font-size: 27px; margin-top: 1.5em; }
.nt-entry-content h3 { font-size: 22px; margin-top: 1.4em; }
.nt-entry-content ul, .nt-entry-content ol { padding-left: 1.3em; margin-bottom: 1.2em; }
.nt-entry-content li { margin-bottom: .45em; }
.nt-entry-content blockquote {
	margin: 1.6em 0; padding: 4px 0 4px 22px;
	border-left: 4px solid var(--nt-accent);
	font-family: var(--nt-font-display); font-size: 21px; color: var(--nt-ink);
}
.nt-entry-content img { border-radius: var(--nt-radius); }
.nt-entry-content figure { margin: 1.6em 0; }
.nt-entry-content figcaption { font-size: 13px; color: var(--nt-ink-soft); margin-top: 8px; }
.nt-entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.4em; }
.nt-entry-content th, .nt-entry-content td { border: 1px solid var(--nt-line); padding: 10px; text-align: left; }
.nt-entry-content a { text-decoration: underline; text-underline-offset: 2px; }

.nt-tags { margin: 26px 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nt-tags a {
	font-size: 13px; background: var(--nt-surface); color: var(--nt-ink);
	padding: 6px 12px; border-radius: 999px;
}
.nt-tags a:hover { background: var(--nt-ink); color: #fff; text-decoration: none; }

.nt-share { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0; }
.nt-share a {
	font-size: 13px; font-weight: 600; padding: 9px 16px;
	border: 1px solid var(--nt-line); border-radius: var(--nt-radius); color: var(--nt-ink);
}
.nt-share a:hover { border-color: var(--nt-ink); text-decoration: none; }

.nt-author-box {
	display: grid; grid-template-columns: 74px minmax(0,1fr); gap: 16px;
	background: var(--nt-surface); padding: 20px; border-radius: var(--nt-radius);
	margin: 30px 0;
}
.nt-author-box h3 { margin: 0 0 6px; font-size: 18px; }
.nt-author-box p { margin: 0; font-size: 15px; color: var(--nt-ink-soft); }

.nt-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 30px 0; }
.nt-postnav a { display: block; padding: 16px; border: 1px solid var(--nt-line); border-radius: var(--nt-radius); }
.nt-postnav a:hover { border-color: var(--nt-ink); text-decoration: none; }
.nt-postnav span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--nt-ink-soft); margin-bottom: 6px; }
.nt-postnav strong { font-family: var(--nt-font-display); font-size: 16px; color: var(--nt-ink); font-weight: 600; }
.nt-postnav .nt-next { text-align: right; }

/* =========================================================
   9. Puslapiavimas, komentarai, poraštė
   ========================================================= */
.nt-pagination { margin: 30px 0; }
.nt-pagination .page-numbers {
	display: inline-block; padding: 9px 15px; margin: 0 4px 6px 0;
	border: 1px solid var(--nt-line); border-radius: var(--nt-radius);
	color: var(--nt-ink); font-weight: 600; font-size: 15px;
}
.nt-pagination .page-numbers.current,
.nt-pagination .page-numbers:hover {
	background: var(--nt-accent); border-color: var(--nt-accent); color: #fff; text-decoration: none;
}

.comments-area { margin: 40px 0 0; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list li { margin-bottom: 22px; }
.comment-list .children { list-style: none; margin: 22px 0 0 30px; padding: 0; }
.comment-body { border: 1px solid var(--nt-line); border-radius: var(--nt-radius); padding: 16px; }
.comment-meta { font-size: 13px; color: var(--nt-ink-soft); margin-bottom: 8px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%; padding: 11px 13px; font: inherit;
	border: 1px solid var(--nt-line); border-radius: var(--nt-radius); background: var(--nt-surface);
}
.comment-form .submit,
.nt-btn {
	background: var(--nt-accent); color: #fff; border: 0; cursor: pointer;
	padding: 12px 24px; font: inherit; font-weight: 600; border-radius: var(--nt-radius);
}

.nt-footer { background: var(--nt-ink); color: #b9c0cc; margin-top: 40px; }
.nt-footer a { color: #fff; }
.nt-footer-widgets {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 30px; padding: 44px 0 30px;
}
.nt-footer .nt-widget {
	background: transparent; border: 0; padding: 0; margin: 0;
}
.nt-footer .nt-widget-title { color: #fff; border-bottom-color: #333a46; }
.nt-footer .nt-widget > ul > li { border-bottom-color: #262c36; }
.nt-footer .nt-widget a { color: #b9c0cc; }
.nt-footer .nt-widget a:hover { color: #fff; }
.nt-footer .nt-popular .nt-popular-title { color: #fff; }
.nt-copyright {
	border-top: 1px solid #262c36; padding: 18px 0; font-size: 13px;
	display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
}
.nt-copyright .nt-menu a { color: #b9c0cc; padding: 0 12px 0 0; text-transform: none; font-weight: 500; }

/* =========================================================
   10. Adaptyvumas
   ========================================================= */
@media (max-width: 1024px) {
	.nt-layout { grid-template-columns: minmax(0,1fr); }
	.nt-header-ad { display: none; }
	.nt-sticky { position: static; }
}

@media (max-width: 782px) {
	body { font-size: 16px; }
	.nt-hero { grid-template-columns: minmax(0,1fr); }
	.nt-hero-main .nt-card-title { font-size: 26px; }
	.nt-single-title { font-size: 28px; }
	.nt-single-lead { font-size: 18px; }
	.nt-entry-content { font-size: 17.5px; }
	.nt-list-item { grid-template-columns: 130px minmax(0,1fr); gap: 14px; }
	.nt-list-item .nt-card-title { font-size: 17px; }
	.nt-list-item .nt-card-excerpt { display: none; }
	.nt-postnav { grid-template-columns: 1fr; }

	.nt-nav-toggle { display: flex; }
	.nt-menu {
		display: none; width: 100%; flex-direction: column;
		border-top: 1px solid var(--nt-line); padding-bottom: 10px;
	}
	.nt-menu.is-open { display: flex; }
	.nt-navbar .nt-wrap { flex-wrap: wrap; }
	.nt-menu .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding-left: 14px; }
	.nt-topbar .nt-social { display: none; }
}

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

/* Spausdinimas – be reklamų */
@media print {
	.nt-ad, .nt-sidebar, .nt-navbar, .nt-topbar, .nt-footer, .nt-share, .nt-postnav { display: none !important; }
}

/* Gutenberg blokų palaikymas */
.alignwide { max-width: 1000px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: none; }
.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 { max-width: 100%; }
.sticky .nt-card-title::before { content: "📌 "; }

/* Naujienų juostos elementai */
.nt-breaking-item { display: none; }
.nt-breaking-item.is-active { display: block; }
.nt-breadcrumbs { margin-bottom: 10px; }
.nt-popular-block { margin: 0 0 30px; }
.nt-related { margin: 34px 0; }

/* Kategorijos / žymos aprašymas */
.nt-archive-desc {
	background: var(--nt-surface);
	border-left: 4px solid var(--nt-accent);
	border-radius: 0 var(--nt-radius) var(--nt-radius) 0;
	padding: 16px 20px;
	margin: -6px 0 26px;
	font-size: 16px;
	color: var(--nt-ink-soft);
}
.nt-archive-desc p:last-child { margin-bottom: 0; }

/* Atsitiktinių straipsnių sąrašas */
.nt-random-list li { grid-template-columns: 96px minmax(0, 1fr); align-items: center; }
.nt-thumb-empty {
	display: block; width: 100%; height: 100%;
	background: linear-gradient(135deg, var(--nt-surface), #e6e9ef);
}

/* Tinklelio išdėstymas naujausiems straipsniams */
.nt-grid + .nt-ad,
.nt-grid + .nt-popular-block { margin-top: 0; }
.nt-grid .nt-card-excerpt { display: none; }

/* Kategorijų blokai */
.nt-cat-block { margin-bottom: 34px; }
.nt-cat-block .nt-section-title .nt-more {
	color: var(--nt-accent);
	white-space: nowrap;
}
.nt-cat-block .nt-section-title .nt-more:hover { text-decoration: underline; }
@media (max-width: 480px) {
	.nt-cat-block .nt-section-title { font-size: 19px; }
	.nt-cat-block .nt-section-title .nt-more { font-size: 12px; }
}

.nt-popular .nt-popular-thumb .nt-thumb-empty { display: block; width: 100%; height: 100%; }

/* =========================================================
   Orų prognozė
   ========================================================= */
.nt-weather-icon { width: 22px; height: 22px; flex: none; }

/* Valdiklio blokas */
.nt-weather-now {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	padding-bottom: 14px;
}
.nt-weather-now .nt-weather-icon { width: 46px; height: 46px; color: var(--nt-accent); }
.nt-weather-temp {
	font-family: var(--nt-font-display);
	font-size: 38px; font-weight: 700; line-height: 1;
	color: var(--nt-ink);
}
.nt-weather-city { font-size: 13px; color: var(--nt-ink-soft); margin-top: 2px; }
.nt-weather-details { text-align: right; }
.nt-weather-desc { font-size: 14px; font-weight: 600; color: var(--nt-ink); }
.nt-weather-extra { font-size: 12px; color: var(--nt-ink-soft); margin-top: 3px; }

.nt-weather-days {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	border-top: 1px solid var(--nt-line);
	padding-top: 14px;
}
.nt-weather-day {
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	padding: 10px 4px;
	background: var(--nt-surface);
	border-radius: var(--nt-radius);
}
.nt-weather-day .nt-weather-icon { width: 26px; height: 26px; color: var(--nt-ink-soft); }
.nt-weather-dow {
	font-size: 11px; font-weight: 700; letter-spacing: .06em;
	text-transform: uppercase; color: var(--nt-ink-soft);
}
.nt-weather-range { font-size: 13px; display: flex; gap: 5px; }
.nt-weather-range strong { color: var(--nt-ink); }
.nt-weather-range span { color: var(--nt-ink-soft); }

.nt-weather-source {
	font-size: 11px; color: #9aa2b1; text-align: right; margin-top: 10px;
}

.nt-weather-compact .nt-weather-days,
.nt-weather-compact .nt-weather-source { display: none; }

/* Viršutinė juosta */
.nt-topbar-left { display: flex; align-items: center; gap: 18px; min-width: 0; }
.nt-topbar-weather { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.nt-topbar-weather .nt-weather-icon { width: 16px; height: 16px; }
.nt-topbar-weather strong { color: #fff; }
.nt-topbar-weather-desc { color: #8d95a4; }

/* Miestų juosta pagrindiniame */
.nt-weather-strip {
	display: flex; align-items: stretch;
	border: 1px solid var(--nt-line);
	border-radius: var(--nt-radius);
	margin-bottom: 26px;
	overflow: hidden;
}
.nt-weather-strip-label {
	background: var(--nt-ink); color: #fff;
	font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	display: flex; align-items: center; padding: 0 16px;
	flex: none;
}
.nt-weather-strip-items {
	display: flex; flex: 1; overflow-x: auto;
	scrollbar-width: none;
}
.nt-weather-strip-items::-webkit-scrollbar { display: none; }
.nt-weather-strip-item {
	display: flex; align-items: center; gap: 7px;
	padding: 12px 18px;
	font-size: 14px; color: var(--nt-ink-soft);
	border-right: 1px solid var(--nt-line);
	white-space: nowrap;
}
.nt-weather-strip-item:last-child { border-right: 0; }
.nt-weather-strip-item .nt-weather-icon { color: var(--nt-accent); }
.nt-weather-strip-item strong {
	font-family: var(--nt-font-display);
	font-size: 17px; color: var(--nt-ink);
}

@media (max-width: 782px) {
	.nt-topbar-weather-desc { display: none; }
	.nt-weather-strip-label { padding: 0 12px; font-size: 11px; }
	.nt-weather-strip-item { padding: 10px 14px; }
	.nt-weather-strip-city { font-size: 13px; }
}

/* =========================================================
   Orų puslapis
   ========================================================= */
.nt-weather-intro { margin-bottom: 24px; }

/* Miestų skirtukai */
.nt-weather-tabs {
	display: flex; flex-wrap: wrap; gap: 6px;
	margin: 0 0 24px;
}
.nt-weather-tab {
	font-size: 13px; font-weight: 600;
	padding: 7px 14px;
	border: 1px solid var(--nt-line);
	border-radius: 999px;
	color: var(--nt-ink);
}
.nt-weather-tab:hover { border-color: var(--nt-ink); text-decoration: none; }
.nt-weather-tab.is-active {
	background: var(--nt-accent); border-color: var(--nt-accent); color: #fff;
}

/* Dabartiniai orai */
.nt-weather-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: center;
	background: var(--nt-surface);
	border-radius: var(--nt-radius);
	padding: 26px 28px;
	margin-bottom: 30px;
}
.nt-weather-hero-main { display: flex; align-items: center; gap: 20px; }
.nt-weather-hero-main .nt-weather-icon { width: 78px; height: 78px; color: var(--nt-accent); }
.nt-weather-hero-temp {
	font-family: var(--nt-font-display);
	font-size: 62px; font-weight: 700; line-height: 1;
	color: var(--nt-ink);
}
.nt-weather-hero-desc { font-size: 15px; color: var(--nt-ink-soft); margin-top: 6px; }
.nt-weather-hero-city {
	font-size: 24px; margin: 0 0 14px;
}
.nt-weather-facts {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 18px; margin: 0;
}
.nt-weather-facts div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--nt-line); padding-bottom: 6px; }
.nt-weather-facts dt { font-size: 13px; color: var(--nt-ink-soft); margin: 0; }
.nt-weather-facts dd { font-size: 14px; font-weight: 600; margin: 0; color: var(--nt-ink); }

/* Savaitės lentelė */
.nt-weather-table {
	border: 1px solid var(--nt-line);
	border-radius: var(--nt-radius);
	overflow: hidden;
	margin-bottom: 34px;
}
.nt-weather-row {
	display: grid;
	grid-template-columns: 76px 44px minmax(0, 1fr) auto 82px;
	align-items: center;
	gap: 14px;
	padding: 13px 18px;
	border-bottom: 1px solid var(--nt-line);
}
.nt-weather-row:last-child { border-bottom: 0; }
.nt-weather-row:nth-child(odd) { background: #fafbfc; }
.nt-weather-row-day strong {
	display: block; font-family: var(--nt-font-ui);
	font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.nt-weather-row-day span { font-size: 12px; color: var(--nt-ink-soft); }
.nt-weather-row-icon .nt-weather-icon { width: 28px; height: 28px; color: var(--nt-ink-soft); }
.nt-weather-row-desc { font-size: 14px; color: var(--nt-ink); }
.nt-weather-row-extra {
	display: flex; gap: 12px; font-size: 13px; color: var(--nt-ink-soft);
	white-space: nowrap;
}
.nt-weather-rain { color: #2b6cb0; }
.nt-weather-row-temp {
	text-align: right; font-family: var(--nt-font-display); font-size: 18px;
}
.nt-weather-row-temp strong { color: var(--nt-ink); }
.nt-weather-row-temp span { color: var(--nt-ink-soft); margin-left: 6px; font-size: 15px; }

/* Miestų kortelės */
.nt-weather-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
	margin-bottom: 24px;
}
.nt-weather-card {
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	padding: 16px 10px;
	border: 1px solid var(--nt-line);
	border-radius: var(--nt-radius);
	color: var(--nt-ink);
	text-align: center;
}
.nt-weather-card:hover { border-color: var(--nt-accent); text-decoration: none; }
.nt-weather-card.is-active { border-color: var(--nt-accent); background: #fdf4f2; }
.nt-weather-card .nt-weather-icon { width: 32px; height: 32px; color: var(--nt-accent); }
.nt-weather-card-city { font-size: 13px; font-weight: 600; }
.nt-weather-card-temp {
	font-family: var(--nt-font-display); font-size: 26px; font-weight: 700; line-height: 1;
}
.nt-weather-card-desc { font-size: 11px; color: var(--nt-ink-soft); }

@media (max-width: 782px) {
	.nt-weather-hero { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 18px; }
	.nt-weather-hero-temp { font-size: 50px; }
	.nt-weather-hero-main .nt-weather-icon { width: 60px; height: 60px; }
	.nt-weather-row {
		grid-template-columns: 62px 34px minmax(0, 1fr) 68px;
		gap: 10px; padding: 12px 14px;
	}
	.nt-weather-row-extra { display: none; }
	.nt-weather-cards { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}

/* =========================================================
   Horoskopai
   ========================================================= */
.nt-horo-today { color: var(--nt-ink-soft); font-size: 14px; margin: 0; }

.nt-horo-head, .nt-horo-card-head {
	display: flex; align-items: center; gap: 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--nt-line);
	margin-bottom: 14px;
	color: var(--nt-ink);
}
.nt-horo-card-head:hover { text-decoration: none; }
.nt-horo-card-head:hover .nt-horo-name { color: var(--nt-accent); }

.nt-horo-symbol {
	font-size: 34px; line-height: 1; color: var(--nt-accent);
	flex: none; width: 44px; text-align: center;
}
.nt-horo-name {
	display: block;
	font-family: var(--nt-font-display);
	font-size: 20px; font-weight: 700; line-height: 1.2;
}
.nt-horo-dates { display: block; font-size: 12px; color: var(--nt-ink-soft); margin-top: 3px; }

.nt-horo-text p { font-size: 15px; margin-bottom: .8em; }
.nt-horo-text p:last-child { margin-bottom: 0; }
.nt-horo-text strong { color: var(--nt-ink); }

.nt-horo-facts {
	list-style: none; margin: 16px 0 0; padding: 14px 0 0;
	border-top: 1px solid var(--nt-line);
	display: flex; flex-wrap: wrap; gap: 10px 24px;
}
.nt-horo-facts li { display: flex; flex-direction: column; gap: 2px; }
.nt-horo-facts span {
	font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
	color: var(--nt-ink-soft);
}
.nt-horo-facts strong {
	font-family: var(--nt-font-display); font-size: 17px; color: var(--nt-accent);
}

.nt-horo-more {
	display: inline-block; margin-top: 14px;
	font-size: 13px; font-weight: 600; color: var(--nt-accent);
}

.nt-horo-compact .nt-horo-facts { display: none; }

/* Puslapis */
.nt-horo-nav {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(94px, 1fr));
	gap: 8px;
	margin: 22px 0 28px;
}
.nt-horo-nav-item {
	display: flex; flex-direction: column; align-items: center; gap: 3px;
	padding: 12px 6px;
	border: 1px solid var(--nt-line);
	border-radius: var(--nt-radius);
	color: var(--nt-ink);
	text-align: center;
}
.nt-horo-nav-item:hover { border-color: var(--nt-accent); text-decoration: none; }
.nt-horo-nav-item.is-active { background: var(--nt-accent); border-color: var(--nt-accent); color: #fff; }
.nt-horo-nav-symbol { font-size: 22px; line-height: 1; }
.nt-horo-nav-name { font-size: 12px; font-weight: 600; }

.nt-horo-single {
	background: var(--nt-surface);
	border-radius: var(--nt-radius);
	padding: 24px 26px;
	margin-bottom: 30px;
}
.nt-horo-single .nt-horo-symbol { font-size: 46px; width: 60px; }
.nt-horo-single .nt-horo-name { font-size: 26px; }
.nt-horo-single .nt-horo-text p { font-size: 16.5px; }

.nt-horo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}
.nt-horo-card {
	border: 1px solid var(--nt-line);
	border-radius: var(--nt-radius);
	padding: 18px 20px;
}
.nt-horo-card .nt-horo-symbol { font-size: 28px; width: 36px; }
.nt-horo-card .nt-horo-name { font-size: 17px; }
.nt-horo-card-text p { font-size: 14px; }
.nt-horo-card .nt-horo-facts { gap: 8px 18px; margin-top: 14px; padding-top: 12px; }
.nt-horo-card .nt-horo-facts strong { font-size: 15px; }

@media (max-width: 782px) {
	.nt-horo-nav { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; }
	.nt-horo-nav-item { padding: 10px 4px; }
	.nt-horo-nav-name { font-size: 11px; }
	.nt-horo-single { padding: 20px; }
	.nt-horo-single .nt-horo-symbol { font-size: 38px; width: 48px; }
	.nt-horo-single .nt-horo-name { font-size: 21px; }
}
