/**
 * NT Projektai – news ("Naujienos"): listing, article template and article blocks.
 *
 * Every rule is scoped to the news widgets' own classes (.nt-news…) or to the
 * article template's <main class="nt-news-main">. Colors and fonts follow the
 * project pages; the widgets' Style controls override the custom properties.
 */

.nt-news {
	--ntn-width: 1140px;
	--ntn-gutter: 20px;
	--ntn-pad-top: 80px;
	--ntn-pad-bottom: 80px;
	--ntn-accent: #1f5d48;
	--ntn-accent-hover: #164535;
	--ntn-accent-soft: #eaf1ee;
	--ntn-heading: #26292a;
	--ntn-text: #595c5d;
	--ntn-border: #e5e8e4;
	--ntn-surface: #f3f5f2;
	--ntn-white: #fff;
	--ntn-radius: 16px;
	--ntn-shadow: 0 18px 44px rgba(15, 42, 33, 0.12), 0 2px 8px rgba(15, 42, 33, 0.06);
	--ntn-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
	--ntn-duration: 0.3s;
	--ntn-font-heading: var(--e-global-typography-secondary-font-family, "Libre Franklin"), sans-serif;
	--ntn-font-body: var(--e-global-typography-text-font-family, "Roboto"), sans-serif;
	box-sizing: border-box;
	display: block;
	width: 100%;
	color: var(--ntn-text);
	font-family: var(--ntn-font-body);
	font-size: 16px;
	line-height: 1.65;
}

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

/* Sections with their own spacing; facts and gallery sit inside the article content. */
.nt-news-list,
.nt-news-content,
.nt-news-cta,
.nt-news-related,
.nt-news-newsletter {
	padding: var(--ntn-pad-top) var(--ntn-gutter) var(--ntn-pad-bottom);
}

.nt-news .nt-news__inner {
	width: 100%;
	max-width: var(--ntn-width);
	margin: 0 auto;
}

.nt-news-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/*
 * Article template: lift the theme's boxed .site-main limits on this page's
 * own <main> only, so the hero spans the screen (as on project pages).
 */
html body .site-main.nt-news-main {
	width: 100%;
	max-width: none;
	margin: 0;
	padding-inline-start: 0;
	padding-inline-end: 0;
}

/* Editor-only hints (never printed for visitors). */
.nt-news-notice {
	margin: 0 0 24px;
	padding: 14px 18px;
	border: 1px dashed #c9b98f;
	border-radius: 10px;
	background: #fbf8f1;
	color: #5b4e2e;
	font-family: var(--e-global-typography-text-font-family, "Roboto"), sans-serif;
	font-size: 14px;
	line-height: 1.5;
}

.nt-news-draft {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	padding: 5px 10px;
	border-radius: 999px;
	background: #fbf3d9;
	color: #6b5310;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
}

.nt-news-draft--inline {
	position: static;
	display: inline-block;
	margin: 0 0 12px;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

.nt-news .nt-news-btn,
.nt-news .nt-news-btn:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 52px;
	margin: 0;
	padding: 12px 28px;
	border: 1px solid var(--ntn-btn-bg, var(--ntn-accent));
	border-radius: 999px;
	background: var(--ntn-btn-bg, var(--ntn-accent));
	color: var(--ntn-white);
	font-family: var(--ntn-font-heading);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	transition:
		background-color var(--ntn-duration) var(--ntn-ease),
		border-color var(--ntn-duration) var(--ntn-ease),
		color var(--ntn-duration) var(--ntn-ease);
}

.nt-news .nt-news-btn:hover,
.nt-news .nt-news-btn:focus-visible {
	border-color: var(--ntn-btn-bg-hover, var(--ntn-accent-hover));
	background: var(--ntn-btn-bg-hover, var(--ntn-accent-hover));
	color: var(--ntn-white);
	text-decoration: none;
}

.nt-news .nt-news-btn--outline,
.nt-news .nt-news-btn--outline:visited {
	border-color: var(--ntn-accent);
	background: var(--ntn-white);
	color: var(--ntn-accent);
}

.nt-news .nt-news-btn--outline:hover,
.nt-news .nt-news-btn--outline:focus-visible {
	border-color: var(--ntn-accent);
	background: var(--ntn-accent-soft);
	color: var(--ntn-accent-hover);
}

.nt-news .nt-news-btn[aria-busy="true"] {
	opacity: 0.6;
	pointer-events: none;
}

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

.nt-news-btn__arrow {
	display: block;
	flex: 0 0 auto;
	transition: transform var(--ntn-duration) var(--ntn-ease);
}

.nt-news a:hover .nt-news-btn__arrow,
.nt-news a:focus-visible .nt-news-btn__arrow,
.nt-news a:hover > svg:last-child,
.nt-news a:focus-visible > svg:last-child {
	transform: translateX(3px);
}

/* ------------------------------------------------------------------ */
/* Listing: featured article                                           */
/* ------------------------------------------------------------------ */

.nt-news-list {
	--ntn-columns: 3;
	--ntn-gap: 32px;
	--ntn-featured-media: 55%;
	--ntn-featured-bg: #f3f5f2;
	--ntn-featured-radius: 24px;
	--ntn-featured-focus: center center;
	background-color: #fff;
}

.nt-news-featured {
	display: grid;
	grid-template-columns: var(--ntn-featured-media) minmax(0, 1fr);
	margin: 0 0 72px;
	overflow: hidden;
	border-radius: var(--ntn-featured-radius);
	background: var(--ntn-featured-bg);
	isolation: isolate;
}

.nt-news-featured:last-child {
	margin-bottom: 0;
}

.nt-news-featured--no-image {
	grid-template-columns: minmax(0, 1fr);
}

.nt-news .nt-news-featured__media {
	position: relative;
	display: block;
	min-height: 440px;
	overflow: hidden;
	background: var(--ntn-border);
}

.nt-news .nt-news-featured__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	object-position: var(--ntn-featured-focus);
	border: 0;
	border-radius: 0;
	transition: transform 0.6s var(--ntn-ease);
}

.nt-news-featured:hover .nt-news-featured__image {
	transform: scale(1.02);
}

.nt-news-featured__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 56px 56px 56px 60px;
}

.nt-news .nt-news-featured__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin: 0 0 16px;
	color: var(--ntn-accent);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.04em;
}

.nt-news-featured__label {
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--ntn-white);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.nt-news .nt-news-featured__title {
	margin: 0 0 18px;
	padding: 0;
	color: var(--ntn-heading);
	font-family: var(--ntn-font-heading);
	font-size: clamp(28px, 2.8vw, 40px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.015em;
	text-transform: none;
	overflow-wrap: anywhere;
}

.nt-news .nt-news-featured__title a,
.nt-news .nt-news-featured__title a:visited {
	color: inherit;
	text-decoration: none;
}

.nt-news .nt-news-featured__title a:hover {
	color: var(--ntn-accent);
}

.nt-news .nt-news-featured__excerpt {
	margin: 0 0 30px;
	color: var(--ntn-text);
	font-size: 17px;
	line-height: 1.7;
}

/* ------------------------------------------------------------------ */
/* Cards grid (listing + related)                                      */
/* ------------------------------------------------------------------ */

.nt-news .nt-news-list__heading {
	margin: 0 0 32px;
	padding: 0;
	color: var(--ntn-heading);
	font-family: var(--ntn-font-heading);
	font-size: clamp(26px, 2.4vw, 34px);
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
}

.nt-news .nt-news-grid {
	display: grid;
	grid-template-columns: repeat(var(--ntn-columns, 3), minmax(0, 1fr));
	gap: var(--ntn-gap, 32px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.nt-news .nt-news-grid__item {
	display: flex;
	margin: 0;
	padding: 0;
}

/* Card colors and image frame come from the widget (custom properties on its root). */
.nt-news-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	border: 1px solid var(--ntn-card-border, #e5e8e4);
	border-radius: var(--ntn-radius);
	background: var(--ntn-card-bg, #fff);
	transition:
		box-shadow var(--ntn-duration) var(--ntn-ease),
		border-color var(--ntn-duration) var(--ntn-ease);
}

.nt-news-card:hover,
.nt-news-card:focus-within {
	border-color: transparent;
	box-shadow: var(--ntn-shadow);
}

.nt-news .nt-news-card__media {
	position: relative;
	display: block;
	aspect-ratio: var(--ntn-card-ratio, 3 / 2);
	overflow: hidden;
	background: var(--ntn-surface);
}

.nt-news .nt-news-card__image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: var(--ntn-card-fit, cover);
	object-position: center;
	border: 0;
	border-radius: 0;
}

.nt-news-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #9bb1a6;
}

.nt-news-card__placeholder .ntp-icon {
	width: 44px;
	height: 44px;
}

.nt-news-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px 24px 26px;
}

.nt-news .nt-news-card__date {
	display: block;
	margin: 0 0 10px;
	color: var(--ntn-accent);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.03em;
}

.nt-news .nt-news-card__title {
	margin: 0 0 12px;
	padding: 0;
	color: var(--ntn-heading);
	font-family: var(--ntn-font-heading);
	font-size: 21px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: none;
	overflow-wrap: anywhere;
}

.nt-news .nt-news-card__title a,
.nt-news .nt-news-card__title a:visited {
	color: inherit;
	text-decoration: none;
}

.nt-news .nt-news-card__title a:hover {
	color: var(--ntn-accent);
}

.nt-news .nt-news-card__excerpt {
	margin: 0 0 20px;
	color: var(--ntn-text);
	font-size: 15px;
	line-height: 1.65;
}

.nt-news .nt-news-card__more,
.nt-news .nt-news-card__more:visited {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin-top: auto;
	color: var(--ntn-accent);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.nt-news .nt-news-card__more svg {
	transition: transform var(--ntn-duration) var(--ntn-ease);
}

.nt-news .nt-news-card__more:hover {
	color: var(--ntn-accent-hover);
}

.nt-news .nt-news-list__empty {
	margin: 0;
	padding: 48px 24px;
	border-radius: var(--ntn-radius);
	background: var(--ntn-surface);
	color: var(--ntn-text);
	font-size: 17px;
	text-align: center;
}

/* Load more / page numbers. */
.nt-news .nt-news-more {
	margin: 48px 0 0;
	text-align: center;
}

.nt-news-pagination {
	margin: 48px 0 0;
}

.nt-news .nt-news-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nt-news .nt-news-pagination li {
	margin: 0;
	padding: 0;
}

.nt-news .nt-news-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--ntn-border);
	border-radius: 999px;
	color: var(--ntn-heading);
	font-weight: 500;
	text-decoration: none;
}

.nt-news .nt-news-pagination a.page-numbers:hover {
	border-color: var(--ntn-accent);
	color: var(--ntn-accent);
}

.nt-news .nt-news-pagination .page-numbers.current {
	border-color: var(--ntn-accent);
	background: var(--ntn-accent);
	color: var(--ntn-white);
}

/* ------------------------------------------------------------------ */
/* Article hero                                                        */
/* ------------------------------------------------------------------ */

.nt-news-hero {
	--ntn-hero-height: 600px;
	--ntn-hero-card: 460px;
	--ntn-hero-focus: center center;
	--ntn-hero-overlay: #0f2a21;
	--ntn-hero-overlay-opacity: 0.3;
	--ntn-hero-card-bg: #fff;
	--ntn-hero-radius: 20px;
	--ntn-hero-mobile-ratio: 4 / 3;
	/* Space between the screen edge and the content column, never less than the gutter. */
	--ntn-hero-edge: max(var(--ntn-gutter), calc((100% - var(--ntn-width)) / 2));
}

.nt-news-hero > .nt-news__inner {
	padding: 24px var(--ntn-gutter) 0;
}

.nt-news-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--ntn-hero-card) var(--ntn-hero-edge);
	align-items: center;
	min-height: var(--ntn-hero-height);
}

.nt-news-hero__media {
	position: relative;
	grid-row: 1;
	grid-column: 1 / -1;
	align-self: stretch;
	min-height: var(--ntn-hero-height);
	overflow: hidden;
	background: var(--ntn-surface);
	isolation: isolate;
}

.nt-news .nt-news-hero__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	object-position: var(--ntn-hero-focus);
	border: 0;
	border-radius: 0;
}

/* Soft shade on the right keeps the panel edge calm on bright photos. */
.nt-news-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(270deg, var(--ntn-hero-overlay) 0%, transparent 55%);
	opacity: var(--ntn-hero-overlay-opacity);
	pointer-events: none;
}

.nt-news-hero__card {
	position: relative;
	z-index: 1;
	grid-row: 1;
	grid-column: 2;
	min-width: 0;
	margin: 48px 0;
	padding: 40px;
	border-radius: var(--ntn-hero-radius);
	background: var(--ntn-hero-card-bg);
	box-shadow: var(--ntn-shadow);
}

.nt-news-hero--no-image .nt-news-hero__grid {
	display: block;
	min-height: 0;
	padding: 40px 0 0;
}

.nt-news-hero--no-image .nt-news-hero__card {
	max-width: var(--ntn-width);
	margin: 0 var(--ntn-hero-edge);
	background: var(--ntn-surface);
	box-shadow: none;
}

.nt-news .nt-news-hero__back,
.nt-news .nt-news-hero__back:visited {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	margin: 0 0 18px;
	color: var(--ntn-accent);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.nt-news .nt-news-hero__back:hover {
	color: var(--ntn-accent-hover);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.nt-news .nt-news-hero__date {
	margin: 0 0 12px;
	color: var(--ntn-accent);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.04em;
}

.nt-news .nt-news-hero__title {
	margin: 0;
	padding: 0;
	color: var(--ntn-heading);
	font-family: var(--ntn-font-heading);
	font-size: clamp(28px, 2.9vw, 40px);
	font-weight: 600;
	line-height: 1.14;
	letter-spacing: -0.015em;
	text-transform: none;
	overflow-wrap: anywhere;
	hyphens: auto;
}

.nt-news .nt-news-hero__intro {
	margin: 18px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid var(--ntn-border);
	color: var(--ntn-text);
	font-size: 16px;
	line-height: 1.65;
}

/* ------------------------------------------------------------------ */
/* Article content                                                     */
/* ------------------------------------------------------------------ */

.nt-news-content {
	--ntn-pad-top: 56px;
	--ntn-pad-bottom: 56px;
	--ntn-measure: 760px;
	--ntn-blocks-gap: 56px;
	--ntn-link: #1f5d48;
}

.nt-news .nt-news-prose {
	color: #3f4344;
	font-size: 18px;
	line-height: 1.75;
}

/* The article's Elementor layout: equal spacing between blocks, empty blocks take no space. */
.nt-news-prose .e-con > .elementor-widget:not(:last-child),
.nt-news-prose .elementor-section .elementor-widget:not(:last-child) {
	margin-block-end: var(--ntn-blocks-gap);
}

/*
 * Text keeps a comfortable reading width, centred in the column (paragraphs stay left-aligned);
 * facts and gallery use the full column.
 * Elementor caps container widgets with `.elementor.elementor .e-con > .elementor-widget`, hence the long selectors.
 */
.nt-news .nt-news-prose .elementor .elementor-widget.elementor-widget-text-editor,
.nt-news .nt-news-prose .elementor .elementor-widget.elementor-widget-heading,
.nt-news-prose > p,
.nt-news-prose > h2,
.nt-news-prose > h3,
.nt-news-prose > h4,
.nt-news-prose > ul,
.nt-news-prose > ol,
.nt-news-prose > blockquote {
	width: 100%;
	max-width: var(--ntn-measure);
	margin-inline: auto;
}

/* The kit's light "text" color is too faint for long reading: inherit the article color instead. */
.nt-news-prose .elementor-widget-text-editor {
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

.nt-news-prose p {
	margin: 0 0 1.1em;
}

.nt-news-prose p:last-child,
.nt-news-prose .elementor-widget-text-editor > :last-child,
.nt-news-prose .elementor-widget-text-editor .elementor-widget-container > :last-child {
	margin-bottom: 0;
}

.nt-news-prose h2,
.nt-news-prose .elementor-widget-heading h2.elementor-heading-title {
	margin: 1.6em 0 0.6em;
	color: var(--ntn-heading);
	font-family: var(--ntn-font-heading);
	font-size: clamp(24px, 2.2vw, 30px);
	font-weight: 600;
	line-height: 1.25;
	text-transform: none;
}

.nt-news-prose h3,
.nt-news-prose .elementor-widget-heading h3.elementor-heading-title {
	margin: 1.4em 0 0.5em;
	color: var(--ntn-heading);
	font-family: var(--ntn-font-heading);
	font-size: clamp(20px, 1.8vw, 24px);
	font-weight: 600;
	line-height: 1.3;
	text-transform: none;
}

.nt-news-prose .elementor-widget-heading h2.elementor-heading-title,
.nt-news-prose .elementor-widget-heading h3.elementor-heading-title,
.nt-news-prose h2:first-child,
.nt-news-prose h3:first-child {
	margin-top: 0;
}

.nt-news-prose a:not([class]),
.nt-news-prose a:not([class]):visited {
	color: var(--ntn-link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.nt-news-prose a:not([class]):hover {
	color: var(--ntn-accent-hover);
	text-decoration-thickness: 2px;
}

.nt-news-prose ul,
.nt-news-prose ol {
	margin: 0 0 1.1em;
	padding-left: 1.4em;
}

.nt-news-prose li {
	margin: 0 0 0.4em;
}

.nt-news-prose li::marker {
	color: var(--ntn-accent);
}

.nt-news-prose strong,
.nt-news-prose b {
	color: var(--ntn-heading);
	font-weight: 600;
}

.nt-news-prose blockquote {
	margin: 0 0 1.1em;
	padding: 4px 0 4px 20px;
	border-left: 3px solid var(--ntn-accent);
	color: var(--ntn-heading);
	font-style: italic;
}

.nt-news-prose img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.nt-news-prose .elementor-widget-text-editor img {
	display: block;
	margin: 0.5em 0 1.1em;
}

/* ------------------------------------------------------------------ */
/* Article facts                                                       */
/* ------------------------------------------------------------------ */

.nt-news-facts {
	--ntn-facts-columns: 5;
	--ntn-facts-bg: #fff;
	--ntn-facts-border: #e5e8e4;
	--ntn-facts-icon-bg: #eaf1ee;
	--ntn-facts-icon: #1f5d48;
}

.nt-news .nt-news-facts__heading {
	margin: 0 0 14px;
	padding: 0;
	color: var(--ntn-accent);
	font-family: var(--ntn-font-body);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.nt-news .nt-news-facts__grid {
	display: grid;
	grid-template-columns: repeat(var(--ntn-facts-columns), minmax(0, 1fr));
	margin: 0;
	padding: 8px;
	border: 1px solid var(--ntn-facts-border);
	border-radius: var(--ntn-radius);
	background: var(--ntn-facts-bg);
}

.nt-news-fact {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	padding: 22px 20px;
	overflow-wrap: anywhere;
}

.nt-news-fact + .nt-news-fact {
	box-shadow: inset 1px 0 0 var(--ntn-facts-border);
}

.nt-news-fact__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	order: 0;
	width: 44px;
	height: 44px;
	margin: 0 0 10px;
	border-radius: 50%;
	background: var(--ntn-facts-icon-bg);
	color: var(--ntn-facts-icon);
	font-size: 20px;
}

.nt-news-fact__icon .ntp-icon {
	width: 22px;
	height: 22px;
}

.nt-news-fact__icon--library svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

/* Value reads first, label underneath. */
.nt-news .nt-news-fact__value {
	order: 1;
	margin: 0;
	color: var(--ntn-heading);
	font-family: var(--ntn-font-heading);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
}

.nt-news .nt-news-fact__label {
	order: 2;
	margin: 0;
	color: var(--ntn-text);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.4;
}

/* ------------------------------------------------------------------ */
/* Article gallery – every photo shown whole                           */
/* ------------------------------------------------------------------ */

.nt-news-gallery {
	--ntn-gallery-columns: 3;
	--ntn-gallery-gap: 16px;
	--ntn-tile-ratio: 3 / 2;
	--ntn-large-ratio: 16 / 9;
	--ntn-tile-bg: #f1f3f0;
	--ntn-tile-radius: 14px;
}

.nt-news-gallery__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 24px;
	margin: 0 0 24px;
}

.nt-news .nt-news-gallery__heading {
	margin: 0;
	padding: 0;
	color: var(--ntn-heading);
	font-family: var(--ntn-font-heading);
	font-size: clamp(24px, 2.2vw, 30px);
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
}

.nt-news .nt-news-gallery__count {
	margin: 0;
	color: var(--ntn-text);
	font-size: 15px;
}

.nt-news .nt-news-gallery__grid {
	display: grid;
	grid-template-columns: repeat(var(--ntn-gallery-columns), minmax(0, 1fr));
	align-items: start;
	gap: var(--ntn-gallery-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.nt-news .nt-news-gallery__cell {
	margin: 0;
	padding: 0;
}

.nt-news .nt-news-gallery__cell--large {
	grid-column: 1 / -1;
}

.nt-news .nt-news-gallery__figure {
	margin: 0;
}

/* The tile takes each photo's own proportions: no fixed frame, no background bands. */
.nt-news .nt-news-gallery__item {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--ntn-tile-radius);
	background: transparent;
	isolation: isolate;
}

.nt-news .nt-news-gallery__image {
	display: block;
	width: 100%;
	/* Natural height keeps the original aspect ratio: never cropped or stretched. No hover zoom, which would clip the edges. */
	height: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.nt-news-gallery__zoom {
	position: absolute;
	right: 12px;
	bottom: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--ntn-white);
	color: var(--ntn-accent);
	box-shadow: 0 2px 8px rgba(15, 42, 33, 0.15);
	opacity: 0;
	transform: translateY(4px);
	transition:
		opacity var(--ntn-duration) var(--ntn-ease),
		transform var(--ntn-duration) var(--ntn-ease);
}

.nt-news-gallery__item:hover .nt-news-gallery__zoom,
.nt-news-gallery__item:focus-visible .nt-news-gallery__zoom {
	opacity: 1;
	transform: none;
}

.nt-news .nt-news-gallery__caption {
	margin: 8px 2px 0;
	color: var(--ntn-text);
	font-size: 14px;
	line-height: 1.5;
}

/* Lightbox (native <dialog>, built by nt-news.js). */
.nt-news-lightbox {
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	max-height: 100vh;
	height: 100dvh;
	max-height: 100dvh;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(10, 22, 18, 0.94);
	color: #fff;
	font-family: var(--e-global-typography-text-font-family, "Roboto"), sans-serif;
}

.nt-news-lightbox::backdrop {
	background: rgba(10, 22, 18, 0.94);
}

.nt-news-lightbox__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 64px 88px 56px;
}

.nt-news-lightbox__figure {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin: 0;
}

.nt-news-lightbox__image {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 8px;
	user-select: none;
}

.nt-news-lightbox__caption {
	position: absolute;
	left: 50%;
	bottom: 16px;
	max-width: calc(100% - 32px);
	margin: 0;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
	text-align: center;
}

.nt-news-lightbox__counter {
	position: absolute;
	top: 30px;
	left: 24px;
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
	letter-spacing: 0.06em;
}

.nt-news-lightbox button {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	cursor: pointer;
	box-shadow: none;
	transition: background-color 0.2s ease;
}

.nt-news-lightbox button:hover,
.nt-news-lightbox button:focus-visible {
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
}

.nt-news-lightbox button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.nt-news-lightbox button[hidden] {
	display: none;
}

.nt-news-lightbox__close {
	top: 16px;
	right: 16px;
}

.nt-news-lightbox__prev {
	top: 50%;
	left: 20px;
	transform: translateY(-50%);
}

.nt-news-lightbox__next {
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
}

/* ------------------------------------------------------------------ */
/* Contact CTA and newsletter                                          */
/* ------------------------------------------------------------------ */

.nt-news-cta,
.nt-news-newsletter {
	--ntn-pad-top: 24px;
	--ntn-pad-bottom: 96px;
	--ntn-cta-bg: #1f4a3a;
	--ntn-cta-radius: 24px;
	--ntn-cta-btn-bg: #fff;
	--ntn-cta-btn-color: #1f4a3a;
	--ntn-cta-btn-bg-hover: #e7ede4;
}

.nt-news-newsletter {
	--ntn-pad-top: 0px;
	--ntn-pad-bottom: 0px;
}

.nt-news-cta__panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px 48px;
	padding: 56px 64px;
	border-radius: var(--ntn-cta-radius);
	background-color: var(--ntn-cta-bg);
	background-image: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 55%);
	color: #fff;
}

.nt-news-cta__body {
	flex: 1 1 auto;
	min-width: 0;
	max-width: 680px;
}

.nt-news .nt-news-cta__eyebrow {
	margin: 0 0 12px;
	padding: 0;
	color: #b9cdb0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.14em;
}

.nt-news .nt-news-cta__title {
	margin: 0 0 12px;
	padding: 0;
	color: #fff;
	font-family: var(--ntn-font-heading);
	font-size: clamp(28px, 2.8vw, 40px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-transform: none;
}

.nt-news .nt-news-cta__title:last-child {
	margin-bottom: 0;
}

.nt-news .nt-news-cta__text {
	margin: 0;
	color: rgba(255, 255, 255, 0.84);
	font-size: 17px;
	line-height: 1.65;
}

.nt-news .nt-news-cta__button,
.nt-news .nt-news-cta__button:visited {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 54px;
	padding: 12px 30px;
	border: 1px solid var(--ntn-cta-btn-bg);
	border-radius: 999px;
	background: var(--ntn-cta-btn-bg);
	color: var(--ntn-cta-btn-color);
	font-family: var(--ntn-font-heading);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color var(--ntn-duration) var(--ntn-ease);
}

.nt-news .nt-news-cta__button:hover,
.nt-news .nt-news-cta__button:focus-visible {
	border-color: var(--ntn-cta-btn-bg-hover);
	background: var(--ntn-cta-btn-bg-hover);
	color: var(--ntn-cta-btn-color);
	text-decoration: none;
}

.nt-news .nt-news-cta__button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.nt-news-newsletter__panel.is-preview {
	opacity: 0.55;
}

.nt-news-newsletter__form {
	flex: 0 1 440px;
	min-width: 0;
}

/* ------------------------------------------------------------------ */
/* Related news                                                        */
/* ------------------------------------------------------------------ */

.nt-news-related {
	--ntn-columns: 3;
	--ntn-gap: 32px;
	--ntn-pad-top: 0px;
	--ntn-pad-bottom: 96px;
}

.nt-news-related__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin: 0 0 28px;
	padding: 0 0 18px;
	border-bottom: 1px solid var(--ntn-border);
}

.nt-news .nt-news-related__heading {
	margin: 0;
	padding: 0;
	color: var(--ntn-accent);
	font-family: var(--ntn-font-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.nt-news .nt-news-related__all,
.nt-news .nt-news-related__all:visited {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	color: var(--ntn-accent);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.nt-news .nt-news-related__all:hover {
	color: var(--ntn-accent-hover);
}

/* ------------------------------------------------------------------ */
/* Responsive (Elementor breakpoints)                                  */
/* ------------------------------------------------------------------ */

@media (max-width: 1024px) {
	.nt-news {
		--ntn-gutter: 32px;
	}

	.nt-news-list,
	.nt-news-related {
		--ntn-columns: 2;
		--ntn-gap: 24px;
	}

	.nt-news-facts {
		--ntn-facts-columns: 3;
	}

	.nt-news-gallery {
		--ntn-gallery-columns: 2;
	}

	.nt-news-featured__body {
		padding: 40px;
	}

	.nt-news .nt-news-featured__media {
		min-height: 360px;
	}

	.nt-news-hero__card {
		margin: 32px 0;
		padding: 32px;
	}

	.nt-news-fact + .nt-news-fact {
		box-shadow: none;
	}

	.nt-news-cta__panel {
		padding: 44px 40px;
	}
}

/* Tablet portrait and below: hero panel moves under the photo, overlapping it slightly. */
@media (max-width: 880px) {
	.nt-news-hero__grid {
		display: block;
		min-height: 0;
	}

	.nt-news-hero__media {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.nt-news-hero__media::after {
		content: none;
	}

	.nt-news-hero__card {
		margin: -56px var(--ntn-hero-edge) 0;
	}

	.nt-news-hero--no-image .nt-news-hero__card {
		margin: 0 var(--ntn-hero-edge);
	}

	.nt-news-featured {
		grid-template-columns: minmax(0, 1fr);
	}

	.nt-news .nt-news-featured__media {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.nt-news-cta__panel {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 767px) {
	.nt-news {
		--ntn-gutter: 16px;
		--ntn-radius: 14px;
	}

	.nt-news-list,
	.nt-news-related {
		--ntn-columns: 1;
		--ntn-gap: 20px;
	}

	.nt-news-facts {
		--ntn-facts-columns: 2;
	}

	.nt-news-gallery {
		--ntn-gallery-columns: 1;
		--ntn-gallery-gap: 12px;
	}

	.nt-news-hero__media {
		aspect-ratio: var(--ntn-hero-mobile-ratio);
	}

	.nt-news-hero__card {
		margin-top: -40px;
		padding: 24px 22px;
	}

	.nt-news-featured {
		margin-bottom: 48px;
	}

	.nt-news-featured__body {
		padding: 28px 22px 30px;
	}

	.nt-news .nt-news-featured__excerpt {
		margin-bottom: 24px;
		font-size: 16px;
	}

	.nt-news .nt-news-featured .nt-news-btn {
		width: 100%;
	}

	.nt-news-card__body {
		padding: 20px 20px 22px;
	}

	.nt-news .nt-news-prose {
		font-size: 17px;
		line-height: 1.7;
	}

	.nt-news .nt-news-facts__grid {
		padding: 4px;
	}

	.nt-news-fact {
		padding: 16px 14px;
	}

	.nt-news-fact__icon {
		width: 40px;
		height: 40px;
		margin-bottom: 8px;
	}

	.nt-news .nt-news-fact__value {
		font-size: 21px;
	}

	.nt-news-gallery__zoom {
		display: none;
	}

	.nt-news-cta__panel {
		gap: 24px;
		padding: 32px 24px;
	}

	.nt-news .nt-news-cta__button {
		width: 100%;
	}

	.nt-news-lightbox__inner {
		padding: 64px 8px 72px;
	}

	.nt-news-lightbox__prev,
	.nt-news-lightbox__next {
		top: auto;
		bottom: 12px;
		transform: none;
	}

	.nt-news-lightbox__prev {
		left: calc(50% - 64px);
	}

	.nt-news-lightbox__next {
		right: calc(50% - 64px);
	}

	.nt-news-lightbox__caption {
		bottom: 76px;
	}
}

/* Touch screens: no sticky hover effects after a tap. */
@media (hover: none) {
	.nt-news-card:hover {
		border-color: var(--ntn-card-border, #e5e8e4);
		box-shadow: none;
	}

	.nt-news-featured:hover .nt-news-featured__image {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nt-news *,
	.nt-news-lightbox * {
		transition: none !important;
		animation: none !important;
	}
}
