/**
 * NNP Weather Pro – pagrindiniai stiliai (mobile-first).
 */

.nnpw {
	--nnpw-bg: #ffffff;
	--nnpw-surface: #f5f7fa;
	--nnpw-border: #e2e8f0;
	--nnpw-text: #1a2230;
	--nnpw-muted: #5b6779;
	--nnpw-accent: #0b6bcb;
	--nnpw-radius: 14px;
	--nnpw-gap: 16px;

	color: var(--nnpw-text);
	display: block;
	margin: 0 auto;
	max-width: 1100px;
	width: 100%;
}

.nnpw-page__inner {
	margin: 0 auto;
	max-width: 1180px;
	padding: 24px 16px 56px;
}

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

.nnpw ul,
.nnpw ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nnpw a {
	color: var(--nnpw-accent);
}

/* Breadcrumbs */
.nnpw-breadcrumbs {
	font-size: 0.875rem;
	margin-bottom: 12px;
}

.nnpw-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nnpw-breadcrumbs li + li::before {
	color: var(--nnpw-muted);
	content: "→";
	margin-right: 6px;
}

.nnpw-breadcrumbs [aria-current="page"] {
	color: var(--nnpw-muted);
}

/* Antraštė */
.nnpw__header {
	margin-bottom: var(--nnpw-gap);
}

.nnpw__title {
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	line-height: 1.15;
	margin: 0 0 4px;
}

.nnpw__region {
	color: var(--nnpw-muted);
	margin: 0;
}

.nnpw-section-title {
	font-size: clamp(1.15rem, 2.4vw, 1.5rem);
	margin: 28px 0 12px;
}

/* Pranešimai */
.nnpw-notice {
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-radius: var(--nnpw-radius);
	margin: 12px 0;
	padding: 12px 16px;
}

.nnpw-notice--warning {
	background: #fff8e6;
	border-color: #f0d68a;
}

.nnpw-notice--error {
	background: #fdeceb;
	border-color: #f3b7b3;
}

/* Dabartiniai orai */
.nnpw-current {
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-radius: var(--nnpw-radius);
	padding: 20px;
}

.nnpw-current__main {
	align-items: center;
	display: flex;
	gap: 16px;
}

.nnpw-current__icon {
	font-size: 3.4rem;
	line-height: 1;
}

.nnpw-current__values p {
	margin: 0;
}

.nnpw-current__temp {
	font-size: clamp(2.2rem, 7vw, 3.2rem);
	font-weight: 700;
	line-height: 1.05;
}

.nnpw-current__min {
	color: var(--nnpw-muted);
	font-size: 0.5em;
	font-weight: 500;
	margin-left: 8px;
}

.nnpw-current__condition {
	font-size: 1.05rem;
	font-weight: 600;
}

.nnpw-current__feels {
	color: var(--nnpw-muted);
	font-size: 0.95rem;
}

/* Statistikos kortelės */
.nnpw-stats {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 18px;
}

.nnpw-stat {
	background: var(--nnpw-bg);
	border: 1px solid var(--nnpw-border);
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 10px 12px;
}

.nnpw-stat__label {
	color: var(--nnpw-muted);
	font-size: 0.8rem;
}

.nnpw-stat__value {
	font-size: 1.05rem;
	font-weight: 600;
}

/* Ar verta eiti į lauką */
.nnpw-outdoor {
	border: 1px solid var(--nnpw-border);
	border-left-width: 6px;
	border-radius: var(--nnpw-radius);
	margin-top: 20px;
	padding: 18px 20px;
}

.nnpw-outdoor--great {
	background: #eefaf0;
	border-left-color: #1f9d55;
}

.nnpw-outdoor--good {
	background: #fdf8e3;
	border-left-color: #c9a227;
}

.nnpw-outdoor--fair {
	background: #fdf1e5;
	border-left-color: #d9722b;
}

.nnpw-outdoor--poor {
	background: #fdecec;
	border-left-color: #c0392b;
}

.nnpw-outdoor__heading {
	font-size: 1.15rem;
	margin: 0 0 8px;
}

.nnpw-outdoor__status {
	align-items: center;
	display: flex;
	gap: 8px;
	margin: 0 0 6px;
}

.nnpw-outdoor__icon {
	font-size: 1.3rem;
}

.nnpw-outdoor__message,
.nnpw-outdoor__advice {
	margin: 0 0 6px;
}

.nnpw-outdoor__scale,
.nnpw-outdoor__note {
	color: var(--nnpw-muted);
	font-size: 0.85rem;
	margin: 0;
}

/* Tabai */
.nnpw-tabs {
	margin: 22px 0 8px;
	overflow-x: auto;
}

.nnpw-tabs ul {
	display: flex;
	gap: 8px;
	min-width: max-content;
}

.nnpw-tabs__link {
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-radius: 999px;
	display: inline-block;
	font-size: 0.95rem;
	padding: 8px 14px;
	text-decoration: none;
	white-space: nowrap;
}

.nnpw-tabs__link.is-active {
	background: var(--nnpw-accent);
	border-color: var(--nnpw-accent);
	color: #fff;
	font-weight: 600;
}

.nnpw-tabs__link:focus-visible,
.nnpw a:focus-visible,
.nnpw input:focus-visible {
	outline: 3px solid #0b6bcb;
	outline-offset: 2px;
}

/* Valandinė */
.nnpw-hourly__scroll {
	overflow-x: auto;
	padding-bottom: 8px;
}

.nnpw-hourly__list {
	display: flex;
	gap: 10px;
	min-width: max-content;
}

.nnpw-hour {
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 108px;
	padding: 12px 10px;
	text-align: center;
}

.nnpw-hour__time {
	font-weight: 700;
}

.nnpw-hour__icon {
	font-size: 1.6rem;
}

.nnpw-hour__temp {
	font-size: 1.15rem;
	font-weight: 600;
}

.nnpw-hour__feels,
.nnpw-hour__precip,
.nnpw-hour__wind {
	color: var(--nnpw-muted);
	font-size: 0.8rem;
}

.nnpw-hour__dir {
	font-weight: 600;
}

/* Dienos */
.nnpw-daily__list {
	display: grid;
	gap: 12px;
}

.nnpw-day {
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-radius: var(--nnpw-radius);
	display: grid;
	gap: 10px;
	padding: 16px;
}

.nnpw-day__weekday {
	display: block;
	font-weight: 700;
}

.nnpw-day__date {
	color: var(--nnpw-muted);
	font-size: 0.9rem;
}

.nnpw-day__cond {
	align-items: center;
	display: flex;
	gap: 8px;
}

.nnpw-day__icon {
	font-size: 1.6rem;
}

.nnpw-day__temps {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.nnpw-day__max {
	font-size: 1.3rem;
	font-weight: 700;
}

.nnpw-day__min {
	color: var(--nnpw-muted);
	font-size: 1.05rem;
}

.nnpw-day__feels {
	color: var(--nnpw-muted);
	font-size: 0.85rem;
}

.nnpw-day__meta {
	display: grid;
	gap: 6px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nnpw-day__meta-label {
	color: var(--nnpw-muted);
	display: block;
	font-size: 0.78rem;
}

.nnpw-day__meta-value {
	font-weight: 600;
}

.nnpw-day__more {
	margin: 0;
}

/* Paros dalys */
.nnpw-dayparts__list {
	display: grid;
	gap: 12px;
}

.nnpw-daypart {
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-radius: var(--nnpw-radius);
	padding: 16px;
}

.nnpw-daypart__title {
	align-items: baseline;
	display: flex;
	font-size: 1.05rem;
	gap: 8px;
	margin: 0 0 8px;
}

.nnpw-daypart__range {
	color: var(--nnpw-muted);
	font-size: 0.85rem;
	font-weight: 400;
}

.nnpw-daypart__cond {
	align-items: center;
	display: flex;
	gap: 8px;
	margin: 0 0 6px;
}

.nnpw-daypart__icon {
	font-size: 1.5rem;
}

.nnpw-daypart__temp {
	font-size: 1.2rem;
	font-weight: 700;
	margin: 0 0 8px;
}

.nnpw-daypart__meta {
	display: grid;
	gap: 6px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nnpw-daypart__meta span {
	color: var(--nnpw-muted);
	display: block;
	font-size: 0.78rem;
}

/* Grafikai */
.nnpw-chart {
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-radius: var(--nnpw-radius);
	margin-bottom: 16px;
	padding: 16px;
}

.nnpw-chart__title {
	font-size: 1rem;
	margin: 0 0 10px;
}

.nnpw-chart__canvas {
	height: 260px;
	position: relative;
	width: 100%;
}

.nnpw-charts__note {
	color: var(--nnpw-muted);
	font-size: 0.85rem;
}

/* Paieška */
.nnpw-search {
	margin: 16px 0;
	position: relative;
}

.nnpw-search__label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.nnpw-search__input,
.nnpw-filter__input {
	border: 1px solid var(--nnpw-border);
	border-radius: 10px;
	font-size: 1rem;
	padding: 12px 14px;
	width: 100%;
}

.nnpw-search__results {
	background: #fff;
	border: 1px solid var(--nnpw-border);
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
	left: 0;
	margin-top: 4px;
	max-height: 320px;
	overflow-y: auto;
	position: absolute;
	right: 0;
	z-index: 30;
}

.nnpw-search__results li a {
	display: block;
	padding: 10px 14px;
	text-decoration: none;
}

.nnpw-search__results li a:hover,
.nnpw-search__results li a:focus,
.nnpw-search__results li.is-active a {
	background: var(--nnpw-surface);
}

.nnpw-search__region {
	color: var(--nnpw-muted);
	font-size: 0.8rem;
	margin-left: 6px;
}

/* Miestų kortelės */
.nnpw-featured__grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nnpw-city-card__link {
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-radius: var(--nnpw-radius);
	display: flex;
	flex-direction: column;
	gap: 2px;
	height: 100%;
	padding: 14px;
	text-decoration: none;
}

.nnpw-city-card__name {
	color: var(--nnpw-text);
	font-weight: 700;
}

.nnpw-city-card__icon {
	font-size: 1.6rem;
}

.nnpw-city-card__temp {
	color: var(--nnpw-text);
	font-size: 1.35rem;
	font-weight: 700;
}

.nnpw-city-card__cond {
	color: var(--nnpw-muted);
	font-size: 0.85rem;
}

/* Miestų sąrašas */
.nnpw-filter {
	margin-bottom: 12px;
}

.nnpw-filter__label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.nnpw-city-list {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nnpw-city-list__item a {
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-radius: 10px;
	display: block;
	padding: 10px 12px;
	text-decoration: none;
}

.nnpw-city-list__name {
	color: var(--nnpw-text);
	display: block;
	font-weight: 600;
}

.nnpw-city-list__region {
	color: var(--nnpw-muted);
	font-size: 0.78rem;
}

/* Susiję miestai */
.nnpw-related__lead {
	color: var(--nnpw-muted);
	margin: 0 0 12px;
}

.nnpw-related__list {
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 1fr);
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
}

@media (min-width: 420px) {
	.nnpw-related__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.nnpw-related__item,
.nnpw-related__list > li {
	list-style: none;
	min-width: 0;
}

.nnpw a.nnpw-related__card,
.nnpw .nnpw-related__card,
.nnpw .nnpw-related__list > li > a {
	align-items: center;
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-radius: 12px;
	color: var(--nnpw-text);
	display: flex;
	gap: 10px;
	justify-content: space-between;
	min-height: 56px;
	padding: 10px 14px;
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.nnpw a.nnpw-related__card:hover,
.nnpw a.nnpw-related__card:focus-visible,
.nnpw .nnpw-related__list > li > a:hover,
.nnpw .nnpw-related__list > li > a:focus-visible {
	border-color: var(--nnpw-accent);
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
	text-decoration: none;
	transform: translateY(-1px);
}

.nnpw-related__body {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.nnpw-related__name {
	font-weight: 600;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.nnpw-related__meta {
	color: var(--nnpw-muted);
	font-size: 0.78rem;
	line-height: 1.3;
}

.nnpw-related__now {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	gap: 6px;
}

.nnpw-related__icon {
	font-size: 1.15rem;
	line-height: 1;
}

.nnpw-related__temp {
	font-weight: 700;
	white-space: nowrap;
}

.nnpw-related__arrow {
	color: var(--nnpw-accent);
	flex: 0 0 auto;
	font-size: 1.1rem;
	line-height: 1;
}

.nnpw-related__all {
	margin-top: 14px;
}

/* Žemėlapis */
.nnpw-map-wrap {
	margin: 12px 0;
}

.nnpw-map {
	border: 1px solid var(--nnpw-border);
	border-radius: var(--nnpw-radius);
	overflow: hidden;
	width: 100%;
}

.nnpw-map-marker {
	background: none;
	border: 0;
}

.nnpw-map-marker__inner {
	background: #ffffff;
	border: 1px solid #0b6bcb;
	border-radius: 999px;
	color: #1a2230;
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	padding: 2px 8px;
	white-space: nowrap;
}

.nnpw-map-popup__name {
	font-weight: 700;
}

.nnpw-map-popup__temp {
	font-size: 1.2rem;
	font-weight: 700;
}

/* Attribution */
.nnpw-attribution {
	color: var(--nnpw-muted);
	font-size: 0.8rem;
	margin-top: 24px;
}

/* Pagalbinės */
.nnpw .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

/* Desktop */
@media (min-width: 782px) {
	.nnpw-stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.nnpw-current {
		align-items: center;
		display: grid;
		gap: 24px;
		grid-template-columns: minmax(220px, 1fr) 2fr;
	}

	.nnpw-stats {
		margin-top: 0;
	}

	.nnpw-day {
		align-items: center;
		grid-template-columns: 160px 200px 190px 1fr auto;
	}

	.nnpw-day__meta {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.nnpw-dayparts__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nnpw-featured__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.nnpw-city-list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.nnpw-related__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.nnpw-chart__canvas {
		height: 320px;
	}
}

/* ===================================================================
   3.1 – dashboard, įspėjimai, radaras, istorija, veiklos, palyginimas
   =================================================================== */

/* Dashboard antraštė */
.nnpw-hero-head {
	margin-bottom: 20px;
	text-align: center;
}

.nnpw-hero-head__title {
	font-size: clamp(1.8rem, 5vw, 2.6rem);
	margin: 0 0 8px;
}

.nnpw-hero-head__sub {
	color: var(--nnpw-muted);
	margin: 0 auto 12px;
	max-width: 620px;
}

.nnpw-hero-head .nnpw-search {
	margin-left: auto;
	margin-right: auto;
	max-width: 560px;
	text-align: left;
}

/* Įspėjimų juosta */
.nnpw-alert-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}

.nnpw-alert-chip {
	align-items: center;
	background: #fff8e6;
	border: 1px solid #f0d68a;
	border-radius: 999px;
	color: var(--nnpw-text);
	display: inline-flex;
	font-size: 0.88rem;
	gap: 6px;
	padding: 6px 14px;
	text-decoration: none;
}

.nnpw-alert-chip--high {
	background: #fdeceb;
	border-color: #e4a19c;
}

.nnpw-alert-chip--more {
	background: var(--nnpw-surface);
	border-color: var(--nnpw-border);
	color: var(--nnpw-accent);
}

.nnpw-alert-chip__city {
	color: var(--nnpw-muted);
}

/* Dashboard tinklelis */
.nnpw-dash {
	display: grid;
	gap: 18px;
}

.nnpw-hero {
	background: linear-gradient(135deg, #4361ee 0%, #4895ef 100%);
	border-radius: 18px;
	color: #fff;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: space-between;
	padding: 26px 24px;
}

.nnpw-hero__city {
	font-size: 1.4rem;
	font-weight: 700;
	margin: 0 0 4px;
}

.nnpw-hero__date {
	margin: 0;
	opacity: 0.9;
}

.nnpw-hero__right {
	align-items: center;
	display: flex;
	gap: 14px;
}

.nnpw-hero__icon {
	font-size: 2.8rem;
	line-height: 1;
}

.nnpw-hero__temp {
	font-size: clamp(2.6rem, 8vw, 4rem);
	font-weight: 800;
	line-height: 1;
}

.nnpw-dash__summary {
	color: var(--nnpw-muted);
	margin: 14px 0;
}

.nnpw-tiles {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nnpw-tile {
	background: var(--nnpw-bg);
	border: 1px solid var(--nnpw-border);
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px;
}

.nnpw-tile__label {
	color: var(--nnpw-muted);
	font-size: 0.82rem;
}

.nnpw-tile__value {
	font-size: 1.5rem;
	font-weight: 600;
}

.nnpw-dash__links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0;
}

.nnpw-button {
	background: var(--nnpw-accent);
	border: 1px solid var(--nnpw-accent);
	border-radius: 10px;
	color: #fff;
	display: inline-block;
	font-weight: 600;
	padding: 10px 18px;
	text-decoration: none;
}

.nnpw-button--ghost {
	background: transparent;
	color: var(--nnpw-accent);
}

.nnpw-daily-strip__list {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nnpw-daily-strip__item {
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px 8px;
	text-align: center;
}

.nnpw-daily-strip__day {
	font-weight: 700;
}

.nnpw-daily-strip__icon {
	font-size: 1.5rem;
}

.nnpw-daily-strip__max {
	font-weight: 700;
}

.nnpw-daily-strip__min {
	color: var(--nnpw-muted);
	font-size: 0.85rem;
}

/* Valandinė šoninė juosta */
.nnpw-dash__side {
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-radius: 16px;
	padding: 16px;
}

.nnpw-dash__side .nnpw-section-title {
	margin-top: 0;
}

.nnpw-hourly-side {
	display: grid;
	gap: 8px;
	max-height: 460px;
	overflow-y: auto;
}

.nnpw-hourly-side__item {
	align-items: center;
	background: var(--nnpw-bg);
	border: 1px solid var(--nnpw-border);
	border-radius: 10px;
	display: grid;
	gap: 10px;
	grid-template-columns: 28px 1fr auto;
	padding: 10px 12px;
}

.nnpw-hourly-side__icon {
	font-size: 1.2rem;
}

.nnpw-hourly-side__temp {
	font-weight: 600;
}

/* Automatinis tekstas */
.nnpw-summary__text {
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-left: 4px solid var(--nnpw-accent);
	border-radius: 12px;
	margin: 0;
	padding: 14px 18px;
}

/* Įspėjimai */
.nnpw-alerts__list,
.nnpw-alert-list {
	display: grid;
	gap: 10px;
}

.nnpw-alert {
	align-items: flex-start;
	background: #fff8e6;
	border: 1px solid #f0d68a;
	border-radius: 12px;
	display: grid;
	gap: 10px;
	grid-template-columns: 28px 1fr auto;
	padding: 12px 14px;
}

.nnpw-alert--high {
	background: #fdeceb;
	border-color: #e4a19c;
}

.nnpw-alert--low {
	background: var(--nnpw-surface);
	border-color: var(--nnpw-border);
}

.nnpw-alert__icon {
	font-size: 1.3rem;
}

.nnpw-alert__title {
	display: block;
}

.nnpw-alert__severity {
	color: var(--nnpw-muted);
	font-size: 0.78rem;
	text-transform: uppercase;
}

.nnpw-alert-group__count {
	color: var(--nnpw-muted);
	font-size: 0.85rem;
	font-weight: 400;
}

.nnpw-alert-item a {
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-radius: 10px;
	display: grid;
	gap: 4px;
	padding: 10px 14px;
	text-decoration: none;
}

.nnpw-alert-item span {
	color: var(--nnpw-text);
}

.nnpw-alert-item--high a {
	border-left: 4px solid #c0392b;
}

.nnpw-alert-item--medium a {
	border-left: 4px solid #d9822b;
}

.nnpw-alert-disclaimer,
.nnpw-activity-disclaimer,
.nnpw-history-source,
.nnpw-compare-note {
	color: var(--nnpw-muted);
	font-size: 0.85rem;
}

/* Nowcast */
.nnpw-nowcast {
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-radius: 12px;
	padding: 14px 18px;
}

.nnpw-nowcast--wet {
	background: #e8f1fd;
	border-color: #9fc3ef;
}

.nnpw-nowcast--soon {
	background: #fff8e6;
	border-color: #f0d68a;
}

.nnpw-nowcast__status {
	align-items: center;
	display: flex;
	gap: 8px;
	margin: 0 0 4px;
}

.nnpw-nowcast__icon {
	font-size: 1.4rem;
}

.nnpw-nowcast__detail,
.nnpw-nowcast__link {
	color: var(--nnpw-muted);
	margin: 0;
}

/* Radaras */
.nnpw-radar__controls {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 14px 0;
}

.nnpw-radar__play {
	background: var(--nnpw-accent);
	border: 0;
	border-radius: 10px;
	color: #fff;
	cursor: pointer;
	font-weight: 600;
	padding: 10px 16px;
}

.nnpw-radar__play[disabled] {
	background: #b6bfcc;
	cursor: not-allowed;
}

.nnpw-radar__time {
	font-weight: 600;
	min-width: 150px;
}

.nnpw-radar__slider-label {
	color: var(--nnpw-muted);
	font-size: 0.85rem;
}

.nnpw-radar__slider {
	flex: 1 1 180px;
	min-width: 140px;
}

.nnpw-radar__legend {
	color: var(--nnpw-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.8rem;
	gap: 12px;
	margin-top: 10px;
}

.nnpw-radar__legend-item::before {
	border-radius: 3px;
	content: "";
	display: inline-block;
	height: 12px;
	margin-right: 6px;
	vertical-align: -2px;
	width: 18px;
}

.nnpw-radar__legend-label {
	font-weight: 600;
}

.nnpw-radar__legend-item--light::before {
	background: #a9dcf5;
}

.nnpw-radar__legend-item--mid::before {
	background: #1f7fd0;
}

.nnpw-radar__legend-item--strong::before {
	background: #f2c200;
}

.nnpw-radar__legend-item--heavy::before {
	background: #d64545;
}

.nnpw-radar__hint {
	color: var(--nnpw-muted);
	font-size: 0.85rem;
	margin: 8px 0 0;
}

.nnpw-radar-cities__list {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nnpw-radar-city a {
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-radius: 10px;
	display: grid;
	gap: 2px;
	padding: 10px 14px;
	text-decoration: none;
}

.nnpw-radar-city span {
	color: var(--nnpw-muted);
	font-size: 0.85rem;
}

/* Žemėlapio sluoksniai */
.nnpw-map-layers {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.nnpw-map-layers__button {
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-radius: 999px;
	cursor: pointer;
	font-size: 0.9rem;
	padding: 7px 14px;
}

.nnpw-map-layers__button.is-active {
	background: var(--nnpw-accent);
	border-color: var(--nnpw-accent);
	color: #fff;
	font-weight: 600;
}

.nnpw-map-marker__inner.is-warm {
	border-color: #d9534f;
}

.nnpw-map-marker__inner.is-mild {
	border-color: #e0a100;
}

.nnpw-map-marker__inner.is-cold {
	border-color: #2f86e0;
}

.nnpw-map-marker__inner.is-high {
	border-color: #c0392b;
}

.nnpw-map-marker__inner.is-mid {
	border-color: #d9822b;
}

.nnpw-map-marker__inner.is-low {
	border-color: #2f855a;
}

/* Istorija */
.nnpw-history__grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nnpw-history-card {
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-radius: var(--nnpw-radius);
	padding: 16px;
}

.nnpw-history-card__title {
	font-size: 1rem;
	margin: 0 0 2px;
}

.nnpw-history-card__date,
.nnpw-history-card__empty,
.nnpw-history-card__precip,
.nnpw-history-card__diff {
	color: var(--nnpw-muted);
	font-size: 0.85rem;
	margin: 0 0 6px;
}

.nnpw-history-card__temp {
	font-size: 1.3rem;
	margin: 6px 0;
}

.nnpw-history-card__temp span {
	color: var(--nnpw-muted);
	font-size: 1rem;
	margin-left: 6px;
}

.nnpw-history-card__cond {
	margin: 0 0 4px;
}

/* Lentelės */
.nnpw-table-scroll {
	overflow-x: auto;
}

.nnpw-table {
	border-collapse: collapse;
	min-width: 560px;
	width: 100%;
}

.nnpw-table th,
.nnpw-table td {
	border-bottom: 1px solid var(--nnpw-border);
	padding: 10px 12px;
	text-align: left;
}

.nnpw-table thead th {
	background: var(--nnpw-surface);
	font-size: 0.85rem;
}

.nnpw-table tr.is-current {
	background: #eef5ff;
	font-weight: 600;
}

.nnpw-table--compare td.is-better {
	color: #1f7a34;
	font-weight: 700;
}

/* Veiklos */
.nnpw-activity-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nnpw-activity-card__link {
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-left: 5px solid var(--nnpw-border);
	border-radius: 12px;
	display: grid;
	gap: 4px;
	height: 100%;
	padding: 14px 16px;
	text-decoration: none;
}

.nnpw-activity-card--great .nnpw-activity-card__link {
	border-left-color: #1f9d55;
}

.nnpw-activity-card--good .nnpw-activity-card__link {
	border-left-color: #c9a227;
}

.nnpw-activity-card--fair .nnpw-activity-card__link {
	border-left-color: #d9722b;
}

.nnpw-activity-card--poor .nnpw-activity-card__link {
	border-left-color: #c0392b;
}

.nnpw-activity-card__icon {
	font-size: 1.6rem;
}

.nnpw-activity-card__name {
	color: var(--nnpw-text);
	font-weight: 700;
}

.nnpw-activity-card__status,
.nnpw-activity-card__score {
	color: var(--nnpw-muted);
	font-size: 0.85rem;
}

.nnpw-activity-score {
	border: 1px solid var(--nnpw-border);
	border-left: 6px solid var(--nnpw-border);
	border-radius: var(--nnpw-radius);
	padding: 18px 20px;
}

.nnpw-activity-score--great {
	background: #eefaf0;
	border-left-color: #1f9d55;
}

.nnpw-activity-score--good {
	background: #fdf8e3;
	border-left-color: #c9a227;
}

.nnpw-activity-score--fair {
	background: #fdf1e5;
	border-left-color: #d9722b;
}

.nnpw-activity-score--poor {
	background: #fdecec;
	border-left-color: #c0392b;
}

.nnpw-activity-score .nnpw-section-title {
	margin-top: 0;
}

.nnpw-activity-score__head {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 10px;
}

.nnpw-activity-score__icon {
	font-size: 1.4rem;
}

.nnpw-activity-score__value {
	color: var(--nnpw-muted);
}

.nnpw-activity-score__bar {
	background: rgba(15, 23, 42, 0.08);
	border-radius: 999px;
	height: 10px;
	margin-bottom: 12px;
	overflow: hidden;
}

.nnpw-activity-score__fill {
	background: currentColor;
	display: block;
	height: 100%;
	width: 0;
}

.nnpw-activity-score--great .nnpw-activity-score__fill { background: #1f9d55; }
.nnpw-activity-score--good .nnpw-activity-score__fill { background: #c9a227; }
.nnpw-activity-score--fair .nnpw-activity-score__fill { background: #d9722b; }
.nnpw-activity-score--poor .nnpw-activity-score__fill { background: #c0392b; }

.nnpw-activity-text {
	margin: 0 0 8px;
}

.nnpw-activity-ai {
	color: var(--nnpw-muted);
	font-size: 0.8rem;
	margin: 0;
}

.nnpw-hourly__list--static {
	flex-wrap: wrap;
	min-width: 0;
}

.nnpw-activity-tomorrow__value {
	align-items: center;
	display: flex;
	gap: 10px;
}

/* Saulė */
.nnpw-golden__list {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nnpw-golden__item {
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-radius: 12px;
	display: grid;
	gap: 4px;
	padding: 14px;
}

.nnpw-golden__icon {
	font-size: 1.4rem;
}

.nnpw-golden__label {
	color: var(--nnpw-muted);
	font-size: 0.85rem;
}

.nnpw-golden__value {
	font-size: 1.1rem;
	font-weight: 600;
}

.nnpw-sun-note {
	color: var(--nnpw-muted);
	font-size: 0.88rem;
}

.nnpw-uv--low { color: #1f7a34; }
.nnpw-uv--moderate { color: #8a6800; }
.nnpw-uv--high { color: #a2521a; }
.nnpw-uv--very-high { color: #c0392b; }
.nnpw-uv--extreme { color: #7b1fa2; }

/* Palyginimas */
.nnpw-compare-cards {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nnpw-compare-card {
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-radius: var(--nnpw-radius);
	padding: 18px;
	text-align: center;
}

.nnpw-compare-card__name {
	font-size: 1.1rem;
	margin: 0 0 6px;
}

.nnpw-compare-card__icon {
	font-size: 2.4rem;
	margin: 0;
}

.nnpw-compare-card__temp {
	font-size: 2rem;
	font-weight: 700;
	margin: 4px 0;
}

.nnpw-compare-card__cond {
	color: var(--nnpw-muted);
	margin: 0;
}

/* Desktop */
@media (min-width: 782px) {
	.nnpw-dash {
		grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
	}

	.nnpw-tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.nnpw-daily-strip__list {
		grid-template-columns: repeat(7, minmax(0, 1fr));
	}

	.nnpw-history__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.nnpw-activity-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.nnpw-golden__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.nnpw-radar-cities__list {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

/* ===================================================================
   Mobilaus vaizdo taisymai (3.1.1)
   =================================================================== */

/*
 * 1. Specifiškumas: `.nnpw a` (0,1,1) nugalėdavo `.nnpw-button` (0,1,0),
 *    todėl mygtuko tekstas tapdavo mėlynas ant mėlyno fono.
 */
.nnpw a.nnpw-button,
.nnpw .nnpw-button {
	color: #ffffff;
}

.nnpw a.nnpw-button--ghost,
.nnpw .nnpw-button--ghost {
	color: var(--nnpw-accent);
}

.nnpw a.nnpw-alert-chip,
.nnpw .nnpw-alert-chip {
	color: var(--nnpw-text);
}

.nnpw a.nnpw-city-card__link,
.nnpw a.nnpw-activity-card__link,
.nnpw a.nnpw-city-list__item,
.nnpw .nnpw-city-list__item a {
	color: var(--nnpw-text);
}

.nnpw-button:hover,
.nnpw-button:focus-visible {
	background: #0a559f;
	border-color: #0a559f;
}

.nnpw-button--ghost:hover,
.nnpw-button--ghost:focus-visible {
	background: rgba(11, 107, 203, 0.08);
}

/*
 * 2. Horizontalus perpildymas: grid/flex vaikai pagal nutylėjimą negali
 *    susitraukti siauriau nei jų turinys (min-width: auto), todėl
 *    horizontaliai slenkantys blokai išplėsdavo visą puslapį.
 */
.nnpw-dash,
.nnpw-dash > *,
.nnpw-dash__main,
.nnpw-dash__side,
.nnpw-dash__main > *,
.nnpw-dash__side > * {
	min-width: 0;
}

.nnpw,
.nnpw section,
.nnpw article,
.nnpw header,
.nnpw aside {
	max-width: 100%;
	min-width: 0;
}

.nnpw-hourly,
.nnpw-daily-strip,
.nnpw-charts,
.nnpw-chart,
.nnpw-table-scroll,
.nnpw-tabs,
.nnpw-map-wrap {
	max-width: 100%;
	min-width: 0;
}

/*
 * Slinkties konteineriai niekada neplečia nei tėvinio elemento, nei dokumento.
 *
 * Vien `overflow-x: auto` neužtenka: Chromium horizontalus turinys iš tokio
 * konteinerio vis tiek prisideda prie šakninio elemento slinkties pločio, todėl
 * mobiliajame ekrane visas puslapis būdavo sumažinamas ir dešinėje likdavo
 * balta juosta. `contain: paint` uždaro perpildymą konteinerio viduje.
 */
.nnpw-hourly__scroll,
.nnpw-table-scroll,
.nnpw-tabs,
.nnpw-daily-strip__list,
.nnpw-hourly-side,
.nnpw-chart__canvas {
	contain: paint;
	max-width: 100%;
	overscroll-behavior-x: contain;
}

/* Chart.js drobė iki JS įsikrovimo turi 300px numatytąjį plotį. */
.nnpw canvas,
.nnpw-chart__canvas canvas {
	display: block;
	max-width: 100%;
}

/* Ilgi žodžiai (pvz. miestų pavadinimai) neišstumia kortelių. */
.nnpw-hero__city,
.nnpw-city-card__name,
.nnpw-city-list__name,
.nnpw-compare-card__name,
.nnpw__title,
.nnpw-section-title {
	overflow-wrap: break-word;
	word-wrap: break-word;
}

/* Saugiklis: net jei tema ar kitas įskiepis kai ką praplėstų,
   orų puslapis niekada nesukels horizontalios puslapio slinkties. */
.nnpw-page {
	overflow-x: clip;
	max-width: 100%;
}

@supports not (overflow-x: clip) {
	.nnpw-page {
		overflow-x: hidden;
	}
}

/* 3. Lietimo taikiniai – ne mažiau kaip 40px aukščio. */
.nnpw-tabs__link,
.nnpw-button,
.nnpw-map-layers__button,
.nnpw-radar__play {
	min-height: 40px;
}

.nnpw-button {
	align-items: center;
	display: inline-flex;
	justify-content: center;
	text-align: center;
}

/* Radaro slankiklis – patogus liesti pirštu. */
.nnpw-radar__slider {
	appearance: auto;
	height: 40px;
	min-height: 40px;
}

.nnpw-radar__slider::-webkit-slider-thumb {
	height: 22px;
	width: 22px;
}

.nnpw-search__input,
.nnpw-filter__input {
	min-height: 44px;
}

/* DUK ir vietovės aprašymas */
.nnpw-faq__list {
	display: grid;
	gap: 8px;
}

.nnpw-faq__item {
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-radius: 12px;
	padding: 12px 16px;
}

.nnpw-faq__question {
	cursor: pointer;
	font-weight: 600;
	list-style: none;
	padding-right: 24px;
	position: relative;
}

.nnpw-faq__question::-webkit-details-marker {
	display: none;
}

.nnpw-faq__question::after {
	content: "+";
	font-size: 1.2rem;
	position: absolute;
	right: 0;
	top: -2px;
}

.nnpw-faq__item[open] .nnpw-faq__question::after {
	content: "−";
}

.nnpw-faq__answer {
	color: var(--nnpw-text);
	padding-top: 8px;
}

.nnpw-faq__answer p {
	margin: 0;
}

.nnpw-about p {
	margin: 0 0 10px;
}

.nnpw-about p:last-child {
	margin-bottom: 0;
}

/* ===================================================================
   3.4 – paaiškinamasis turinys (guide), miestų kortelės, radaras
   =================================================================== */

.nnpw-guide {
	display: grid;
	gap: 8px;
	margin-top: 24px;
}

.nnpw-guide__block {
	border-top: 1px solid var(--nnpw-border);
	padding-top: 16px;
}

.nnpw-guide__block:first-child {
	border-top: 0;
	padding-top: 0;
}

.nnpw-guide__block p {
	margin: 0 0 10px;
	max-width: 72ch;
}

.nnpw-guide__block p:last-child {
	margin-bottom: 0;
}

.nnpw-guide__list {
	display: grid;
	gap: 12px;
	margin: 4px 0 0;
}

.nnpw-guide__row {
	background: var(--nnpw-surface);
	border-radius: 10px;
	padding: 12px 14px;
}

.nnpw-guide__row dt {
	font-weight: 600;
	margin: 0 0 4px;
}

.nnpw-guide__row dd {
	color: var(--nnpw-muted);
	margin: 0;
	max-width: 72ch;
}

/* Paaiškinamosios lentelės yra tekstinės – jos laužomos, o ne slenkamos. */
.nnpw-guide__table {
	min-width: 0;
}

.nnpw-guide__table th[scope="row"] {
	font-weight: 600;
	white-space: normal;
	width: 30%;
}

/* Siaurame ekrane paaiškinamosios lentelės virsta kortelėmis – trys tekstiniai
   stulpeliai telefone taptų po vieną žodį eilutėje. */
@media (max-width: 560px) {
	.nnpw-guide__table,
	.nnpw-guide__table tbody,
	.nnpw-guide__table tr,
	.nnpw-guide__table th,
	.nnpw-guide__table td {
		display: block;
		width: auto;
	}

	.nnpw-guide__table thead {
		clip: rect(0, 0, 0, 0);
		height: 1px;
		overflow: hidden;
		position: absolute;
		white-space: nowrap;
		width: 1px;
	}

	.nnpw-guide__table tr {
		background: var(--nnpw-surface);
		border: 1px solid var(--nnpw-border);
		border-radius: 10px;
		margin-bottom: 10px;
		padding: 12px 14px;
	}

	.nnpw-guide__table th[scope="row"] {
		border-bottom: 0;
		font-size: 1rem;
		font-weight: 700;
		padding: 0 0 4px;
		width: auto;
	}

	.nnpw-guide__table td {
		border-bottom: 0;
		color: var(--nnpw-muted);
		padding: 0 0 2px;
	}

	.nnpw-guide__table td:last-child {
		padding-bottom: 0;
	}
}

.nnpw-compare-analysis p {
	margin: 0 0 10px;
	max-width: 72ch;
}

.nnpw-compare-analysis p:last-child {
	margin-bottom: 0;
}

@media (min-width: 1080px) {
	.nnpw-related__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* ===================================================================
   3.5 – Dienos orai (kasdienė apžvalga)
   =================================================================== */

.nnpw-journal-featured {
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-radius: var(--nnpw-radius);
	margin: 16px 0 8px;
	padding: 20px;
}

.nnpw-journal-featured__label {
	color: var(--nnpw-accent);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.nnpw-journal-featured__title {
	font-size: clamp(1.3rem, 3.4vw, 1.9rem);
	line-height: 1.2;
	margin: 0 0 6px;
}

.nnpw .nnpw-journal-featured__title a {
	color: var(--nnpw-text);
	text-decoration: none;
}

.nnpw .nnpw-journal-featured__title a:hover,
.nnpw .nnpw-journal-featured__title a:focus-visible {
	color: var(--nnpw-accent);
	text-decoration: underline;
}

.nnpw-journal-featured__meta {
	color: var(--nnpw-muted);
	font-size: 0.85rem;
	margin: 0 0 10px;
}

.nnpw-journal-featured__lead {
	font-size: 1.05rem;
	margin: 0 0 12px;
	max-width: 68ch;
}

/* Skaičių kortelės */
.nnpw-journal-stats {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 14px 0;
}

@media (min-width: 782px) {
	.nnpw-journal-stats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.nnpw-journal-stat {
	background: var(--nnpw-bg);
	border: 1px solid var(--nnpw-border);
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	padding: 10px 12px;
}

.nnpw-journal-stat__label {
	color: var(--nnpw-muted);
	font-size: 0.78rem;
}

.nnpw-journal-stat__value {
	font-size: 1.15rem;
	font-weight: 700;
}

.nnpw-journal-stat__meta {
	color: var(--nnpw-muted);
	font-size: 0.8rem;
	overflow-wrap: anywhere;
}

/* Archyvo sąrašas */
.nnpw-journal-list {
	display: grid;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 782px) {
	.nnpw-journal-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.nnpw-journal-list__item {
	list-style: none;
	min-width: 0;
}

.nnpw a.nnpw-journal-card,
.nnpw .nnpw-journal-card {
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-radius: 12px;
	color: var(--nnpw-text);
	display: grid;
	gap: 6px;
	height: 100%;
	padding: 16px 18px;
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.nnpw a.nnpw-journal-card:hover,
.nnpw a.nnpw-journal-card:focus-visible {
	border-color: var(--nnpw-accent);
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
	text-decoration: none;
	transform: translateY(-1px);
}

.nnpw-journal-card__date {
	color: var(--nnpw-muted);
	font-size: 0.8rem;
}

.nnpw-journal-card__title {
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.25;
}

.nnpw-journal-card__lead {
	color: var(--nnpw-muted);
	font-size: 0.92rem;
	line-height: 1.45;
}

.nnpw-journal-card--teaser {
	margin-top: 4px;
}

/* Vienas įrašas */
.nnpw-journal-entry__kicker {
	margin: 0 0 6px;
	text-transform: uppercase;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.nnpw-journal-entry__lead {
	border-left: 4px solid var(--nnpw-accent);
	font-size: 1.1rem;
	line-height: 1.55;
	margin: 16px 0;
	max-width: 68ch;
	padding-left: 14px;
}

.nnpw-journal-entry__body p {
	font-size: 1.02rem;
	line-height: 1.7;
	margin: 0 0 16px;
	max-width: 68ch;
}

.nnpw-journal-entry__alert-list {
	display: grid;
	gap: 6px;
	list-style: none;
	margin: 0 0 10px;
	padding: 0;
}

.nnpw-journal-entry__alert-list li {
	background: #fff8e6;
	border: 1px solid #f0d68a;
	border-radius: 8px;
	padding: 8px 12px;
}

.nnpw-journal-entry__source {
	border-top: 1px solid var(--nnpw-border);
	color: var(--nnpw-muted);
	font-size: 0.85rem;
	margin: 24px 0 0;
	padding-top: 12px;
}

/* Ankstesnė / vėlesnė diena */
.nnpw-journal-nav {
	display: grid;
	gap: 10px;
	margin: 20px 0;
}

@media (min-width: 600px) {
	.nnpw-journal-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.nnpw .nnpw-journal-nav__link {
	background: var(--nnpw-surface);
	border: 1px solid var(--nnpw-border);
	border-radius: 10px;
	color: var(--nnpw-text);
	display: grid;
	gap: 2px;
	min-height: 56px;
	min-width: 0;
	padding: 12px 14px;
	text-decoration: none;
}

.nnpw .nnpw-journal-nav__link:hover,
.nnpw .nnpw-journal-nav__link:focus-visible {
	border-color: var(--nnpw-accent);
}

.nnpw-journal-nav__link--next {
	text-align: right;
}

.nnpw-journal-nav__label {
	color: var(--nnpw-accent);
	font-size: 0.85rem;
	font-weight: 600;
}

.nnpw-journal-nav__date {
	color: var(--nnpw-muted);
	font-size: 0.85rem;
}

.nnpw-journal-teaser {
	margin-top: 8px;
}

/* ===================================================================
   3.6 – dienos straipsnio iliustracija, skyriai ir nuorodos
   =================================================================== */

.nnpw-journal-entry__figure {
	margin: 18px 0 20px;
}

.nnpw-journal-entry__image {
	border-radius: var(--nnpw-radius);
	display: block;
	height: auto;
	max-width: 100%;
	width: 100%;
}

.nnpw-journal-entry__credit {
	color: var(--nnpw-muted);
	font-size: 0.8rem;
	margin-top: 6px;
}

.nnpw-journal-entry__heading {
	font-size: clamp(1.2rem, 2.6vw, 1.55rem);
	line-height: 1.25;
	margin: 30px 0 12px;
	max-width: 68ch;
}

.nnpw-journal-entry__heading:first-child {
	margin-top: 8px;
}

.nnpw-journal-entry__body a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.nnpw-journal-entry__body a:hover,
.nnpw-journal-entry__body a:focus-visible {
	text-decoration-thickness: 2px;
}

/* Kortelės su miniatiūra */
.nnpw-journal-card__media {
	border-radius: 10px;
	display: block;
	overflow: hidden;
}

.nnpw-journal-card__media img {
	aspect-ratio: 16 / 9;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.nnpw-journal-featured__media {
	border-radius: var(--nnpw-radius);
	display: block;
	margin: 12px 0;
	overflow: hidden;
}

.nnpw-journal-featured__media img {
	aspect-ratio: 16 / 9;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

/* ===================================================================
   3.7 – dienos straipsnio maketas kompiuteryje
   ===================================================================
   Tema gali perrašyti .nnpw { max-width }, todėl straipsnio konteineriui
   naudojame didesnio svorio selektorių. Be jo nuotrauka ir kortelės
   išsidriekdavo per 1150 px, o tekstas likdavo 617 px stulpelyje kairėje –
   puslapis atrodydavo išsiderinęs.
   =================================================================== */

@media (min-width: 900px) {
	.nnpw.nnpw--journal-entry {
		margin-left: auto;
		margin-right: auto;
		max-width: 820px;
	}

	/* Konteineris jau duoda skaitomą plotį – atskira riba pastraipoms nebereikalinga. */
	.nnpw--journal-entry .nnpw-journal-entry__body p,
	.nnpw--journal-entry .nnpw-journal-entry__heading,
	.nnpw--journal-entry .nnpw-journal-entry__lead {
		max-width: none;
	}

	.nnpw--journal-entry .nnpw-journal-stats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Hero nuotrauka niekada neužima viso ekrano aukščio. */
.nnpw-journal-entry__image {
	aspect-ratio: 16 / 9;
	max-height: 460px;
	object-fit: cover;
}

/* Archyvo kortelių tinklelis irgi apribojamas skaitomu pločiu. */
@media (min-width: 900px) {
	.nnpw.nnpw--journal {
		margin-left: auto;
		margin-right: auto;
		max-width: 980px;
	}
}
