/* ==========================================================
   Naujausi: pagrindinio srauto stiliai.
   Spalvos, tarpai, šriftai tik per var(--ds-*) iš ds/styles/tokens.css.
   Figma: „→ Naujas interfeisas“, node 3795-19218.
   ========================================================== */
:root {
  --nj-mint: #bbdedf;         /* nėra DS, siūlyti į shared: naujienlaiškio ir iliustracijų fonas */
  --nj-banner: #77a7a7;       /* nėra DS, siūlyti į shared: renginio banerio fonas (= --ms-sidebar-line) */
  --nj-banner-ink: #2a6363;   /* nėra DS, siūlyti į shared: tekstas ant banerio */
  --nj-line: #e9efef;         /* nėra DS, siūlyti į shared: įrašų skirtukai */
  --nj-main-w: 684px;         /* nėra DS: srauto plotis iš Figmos */
  --nj-rail-w: 300px;         /* nėra DS: dešinės kolonos plotis iš Figmos */
  --nj-sticky-top: 63px;      /* nėra DS: viršutinė juosta (55) + tarpas */
}

.ic { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ic--xs { width: 10px; height: 10px; stroke-width: 2.2; }
.ic--sm { width: 12px; height: 12px; }
.ic--lg { width: 28px; height: 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.nj-lock { overflow: hidden; }

/* ---------- Išdėstymas ---------- */
.nj { container-type: inline-size; display: grid; grid-template-columns: minmax(0, var(--nj-main-w)) var(--nj-rail-w); gap: var(--ds-space-4xl) 40px; align-items: start; max-width: calc(var(--nj-main-w) + var(--nj-rail-w) + 40px); }
.nj-feed { min-width: 0; }
.nj-block + .nj-block { margin-top: 0; }

/* ---------- Bendri smulkūs elementai ---------- */
.nj-eyebrow { display: flex; align-items: center; gap: var(--ds-space-sm); margin: 0; font-size: var(--ds-caption-size); line-height: var(--ds-caption-lh); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ds-text-muted); }
.nj-label { display: inline-flex; align-items: center; gap: var(--ds-space-sm); font-size: var(--ds-text-xs-size); line-height: var(--ds-text-xs-lh); letter-spacing: .02em; text-transform: uppercase; color: var(--ds-text-muted); }
.nj-pro { display: block; width: 33px; height: 14px; }
.nj-pro--sm { width: 29px; height: 12px; }
.nj-flag { display: grid; place-items: center; width: 16px; height: 16px; border-radius: var(--ds-radius-xs); background: var(--ds-salmon-400); color: var(--ds-white); }
.nj-date { display: block; font-size: var(--ds-text-xs-size); line-height: var(--ds-text-xs-lh); color: var(--ds-text-muted); }
.nj-serif { margin: 0; font-family: var(--ds-font-family-serif); font-size: var(--ds-h2-size); line-height: 28px; font-weight: 400; color: var(--ds-text-title); }

.nj-iconbtn { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: var(--ds-radius-sm); background: none; color: var(--ds-text-muted); transition: background var(--ds-duration-fast), color var(--ds-duration-fast); }
.nj-iconbtn:hover { background: var(--ds-bg-surface-hover); color: var(--ds-text-title); }

/* Veiksmai: peržiūra, nuoroda, pasižymėti. Ramūs, kol neužvedi */
.nj-actions { display: flex; align-items: center; gap: var(--ds-space-xxs); }
.nj-act { position: relative; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: var(--ds-radius-sm); background: none; color: var(--ds-grey-400); transition: background var(--ds-duration-fast), color var(--ds-duration-fast), transform var(--ds-duration-fast) var(--ds-ease); }
.nj-act:hover { background: var(--ds-bg-surface-hover); color: var(--ds-text-title); }
.nj-act:active { transform: scale(.92); }
.nj-act.is-on { color: var(--ds-teal-600); }
.nj-act.is-on .ic { fill: currentColor; }
.nj-act[data-tip]::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; z-index: 5; padding: 3px var(--ds-space-md); border-radius: var(--ds-radius-sm); background: var(--ds-grey-900); color: var(--ds-white); font-size: var(--ds-caption-size); line-height: var(--ds-caption-lh); white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, 2px); transition: opacity var(--ds-duration-fast), transform var(--ds-duration-fast) var(--ds-ease); }
.nj-act[data-tip]:hover::after { opacity: 1; transform: translate(-50%, 0); transition-delay: .35s; }

.nj-textlink { display: inline-flex; align-items: center; gap: var(--ds-space-sm); margin-top: var(--ds-space-lg); padding: 0; border: 0; background: none; color: var(--ds-teal-600); font-size: var(--ds-text-sm-size); line-height: var(--ds-text-sm-lh); font-weight: 600; text-decoration: none; }
.nj-textlink:hover { color: var(--ds-teal-800); }
.nj-textlink:hover .ic { transform: translateX(2px); }
.nj-textlink .ic { transition: transform var(--ds-duration-fast) var(--ds-ease); }

/* ---------- Mano aplankyti (juosta viršuje) ---------- */
.nj-recent__inner { margin-bottom: var(--ds-space-3xl); padding: var(--ds-space-lg) var(--ds-space-lg) var(--ds-space-lg) var(--ds-space-xl); border: 1px solid var(--ds-border); border-radius: var(--ds-radius-md); background: var(--ds-bg-surface); }
.nj-recent__head { display: flex; align-items: center; justify-content: space-between; margin: -4px 0 var(--ds-space-md); }

.nj-scroller { position: relative; }
.nj-scroller__track { display: flex; gap: var(--ds-space-md); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding: 0 var(--ds-space-xl); }
.nj-scroller__track::-webkit-scrollbar { display: none; }
.nj-scroller__btn { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--ds-border); border-radius: var(--ds-radius-full); background: var(--ds-white); color: var(--ds-text-title); box-shadow: var(--ds-shadow-md); transform: translateY(-50%); transition: transform var(--ds-duration-fast) var(--ds-ease), box-shadow var(--ds-duration-fast); }
.nj-scroller__btn:hover { transform: translateY(-50%) scale(1.06); box-shadow: var(--ds-shadow-lg); }
.nj-scroller__btn.is-prev { left: -14px; }
.nj-scroller__btn.is-next { right: -14px; }

.nj-tile { flex: 0 0 164px; scroll-snap-align: start; display: flex; flex-direction: column; gap: var(--ds-space-sm); min-height: 108px; padding: var(--ds-space-lg); border: 1px solid var(--ds-border); border-radius: var(--ds-radius-md); background: var(--ds-white); color: var(--ds-text-title); text-decoration: none; transition: border-color var(--ds-duration-fast), box-shadow var(--ds-duration-fast), transform var(--ds-duration-fast) var(--ds-ease); }
.nj-tile:hover { color: var(--ds-text-title); border-color: var(--ds-border-strong); box-shadow: var(--ds-shadow-sm); transform: translateY(-1px); }
.nj-tile .ic--type { color: var(--ds-teal-500); }
.nj-tile__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: var(--ds-text-sm-size); line-height: var(--ds-text-sm-lh); font-weight: 600; }
.nj-tile__type { margin-top: auto; font-size: var(--ds-caption-size); line-height: var(--ds-caption-lh); color: var(--ds-text-muted); }

/* ---------- Dienos skirtukas (lipnus) ---------- */
.nj-day { scroll-margin-top: var(--nj-sticky-top); }
.nj-daybar { position: sticky; top: var(--nj-sticky-top); z-index: 10; display: flex; justify-content: center; margin: var(--ds-space-md) 0 var(--ds-space-2xl); }
/* Linija kaip Slack: plona, prilipus pamažu išblunka */
.nj-daybar::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ds-border-strong); transition: opacity .35s var(--ds-ease), transform .35s var(--ds-ease); }
.nj-daybar.is-stuck::before { opacity: 0; transform: scaleX(.6); }
.nj-daychip { position: relative; display: inline-flex; align-items: center; gap: var(--ds-space-sm); height: 28px; padding: 0 var(--ds-space-md) 0 var(--ds-space-lg); border: 1px solid var(--ds-border-strong); border-radius: var(--ds-radius-full); background: var(--ds-white); color: var(--ds-text-title); font-size: var(--ds-text-sm-size); font-weight: 600; box-shadow: none; transition: background var(--ds-duration-fast), border-color var(--ds-duration-fast), box-shadow .35s var(--ds-ease); }
.nj-daybar.is-stuck .nj-daychip { border-color: var(--ds-border); box-shadow: var(--ds-shadow-md); }
.nj-daychip:hover { background: var(--ds-bg-surface); }
.nj-daychip__today { padding: 0 var(--ds-space-sm); border-radius: var(--ds-radius-full); background: var(--ds-teal-500); color: var(--ds-white); font-size: var(--ds-caption-size); line-height: 18px; }
.nj-daychip .ic { transition: transform var(--ds-duration) var(--ds-ease); }
.nj-daychip .ic.is-flipped { transform: rotate(180deg); }
.nj-daymenu { position: absolute; top: calc(100% + 6px); z-index: 20; display: flex; flex-direction: column; min-width: 220px; padding: var(--ds-space-xs); border: 1px solid var(--ds-border); border-radius: var(--ds-radius-lg); background: var(--ds-white); box-shadow: var(--ds-shadow-lg); }
.nj-daymenu__label { padding: var(--ds-space-sm) var(--ds-space-md) var(--ds-space-xs); font-size: var(--ds-caption-size); line-height: var(--ds-caption-lh); color: var(--ds-text-muted); }
.nj-daymenu__item { display: flex; justify-content: space-between; gap: var(--ds-space-xl); padding: var(--ds-space-sm) var(--ds-space-md); border: 0; border-radius: var(--ds-radius-sm); background: none; font-size: var(--ds-text-sm-size); line-height: var(--ds-text-sm-lh); text-align: left; }
.nj-daymenu__item:hover { background: var(--ds-bg-surface); }
.nj-daymenu__item.is-current { font-weight: 600; color: var(--ds-teal-700); }
.nj-daymenu__count { color: var(--ds-text-faint); }

/* ---------- Renginio anonsas ---------- */
.nj-event { margin-bottom: var(--ds-space-4xl); }
.nj-row-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--ds-space-sm); }
.nj-event__card { overflow: hidden; border-radius: var(--ds-radius-md); background: var(--ds-bg-surface); }
.nj-event__banner { position: relative; height: 294px; overflow: hidden; background: var(--nj-banner); }
.nj-event__arc { position: absolute; left: 65.4%; top: -116%; width: 72.7%; max-width: none; pointer-events: none; }
.nj-event__photo { position: absolute; left: 51.2%; bottom: -12px; width: 241px; max-width: none; height: auto; transition: transform .6s var(--ds-ease); }
.nj-event:hover .nj-event__photo { transform: translateY(-4px); }
.nj-event__cal { position: absolute; right: 35px; top: 26px; display: flex; flex-direction: column; align-items: center; width: 90px; overflow: hidden; border-radius: 5px; background: var(--ds-white); box-shadow: 0 9px 31px rgba(130, 151, 149, .5); }
.nj-event__cal span { align-self: stretch; padding: 4px 0 3px; background: var(--ds-salmon-400); color: var(--ds-white); font-size: var(--ds-text-xs-size); line-height: 15px; font-weight: 700; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.nj-event__cal strong { padding: 8px 0 12px; font-size: 41px; line-height: 38px; font-weight: 600; color: var(--ds-grey-900); }
.nj-event__text { position: absolute; left: 38px; top: 44px; width: 44%; }
.nj-event__title { margin: 0 0 var(--ds-space-3xl); font-family: var(--ds-font-family-serif); font-size: 32px; line-height: 40px; font-weight: 400; color: var(--ds-white); }
.nj-event__sub { font-size: var(--ds-text-lg-size); line-height: 24px; font-weight: 600; color: var(--nj-banner-ink); }
.nj-event__foot { padding: var(--ds-space-2xl) var(--ds-space-4xl) var(--ds-space-3xl) var(--ds-space-xl); }
.nj-event__facts { display: grid; grid-template-columns: auto auto auto; justify-content: start; margin: 0 0 var(--ds-space-2xl); }
.nj-event__facts > div { padding: 0 var(--ds-space-xl); border-left: 1px solid var(--ds-border-strong); }
.nj-event__facts > div:first-child { border-left: 0; }
.nj-event__facts dt { font-size: var(--ds-text-sm-size); line-height: var(--ds-text-sm-lh); font-weight: 600; color: var(--ds-text-title); }
.nj-event__facts dd { margin: var(--ds-space-xxs) 0 0; font-size: var(--ds-text-sm-size); line-height: var(--ds-text-sm-lh); color: var(--ds-text-muted); }
.nj-event__facts dd.nj-countdown { font-size: var(--ds-h2-size); line-height: 26px; font-variant-numeric: tabular-nums; color: var(--ds-salmon-500); }
.nj-event__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ds-space-xl) var(--ds-space-3xl); min-height: 40px; padding-left: var(--ds-space-xl); }
.nj-event__reg { min-width: 160px; }
.nj-event__prog { font-size: var(--ds-text-btn-size); }
.nj-registered { display: inline-flex; align-items: center; gap: var(--ds-space-md); font-size: var(--ds-text-sm-size); font-weight: 600; color: var(--ds-green-700); }
.nj-registered .ic { width: 20px; height: 20px; padding: 3px; border-radius: var(--ds-radius-full); background: var(--ds-green-100); stroke-width: 2; }

/* ---------- Įrašas ---------- */
.nj-item { position: relative; padding: 41px 0 var(--ds-space-4xl); border-bottom: 1px solid var(--nj-line); }
.nj-block:has(.nj-event) + .nj-block .nj-item { border-top: 1px solid var(--nj-line); }
.nj-item__actions { position: absolute; top: 8px; right: 0; z-index: 2; }
.nj-item__link { display: grid; grid-template-columns: minmax(0, 342px) minmax(180px, 290px); justify-content: space-between; gap: var(--ds-space-3xl); color: inherit; text-decoration: none; }
.nj-item__link:hover { color: inherit; }
.nj-item__body { display: flex; flex-direction: column; min-width: 0; }
.nj-item__title { margin: var(--ds-space-sm) 0 var(--ds-space-md); font-size: var(--ds-h2-size); line-height: 28px; font-weight: 700; color: var(--ds-text-title); transition: color var(--ds-duration-fast); }
.nj-item__link:hover .nj-item__title { color: var(--ds-teal-700); }
.nj-item__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: var(--ds-space-md); font-size: 14px; line-height: 22px; color: var(--ds-text-body); }
.nj-item__media { align-self: start; overflow: hidden; aspect-ratio: 290 / 164; border-radius: var(--ds-radius-sm); background: var(--ds-bg-surface); }
.nj-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ds-ease); }
.nj-item__link:hover .nj-item__media img { transform: scale(1.025); }
.is-seen .nj-item__title, .is-seen .nj-sit__title { color: var(--ds-grey-600); }

/* ---------- Praktinės situacijos ---------- */
.nj-group { margin: var(--ds-space-4xl) 0 var(--ds-space-5xl); }
.nj-group .nj-serif { margin-bottom: var(--ds-space-lg); }
.nj-group__box { padding: var(--ds-space-md) 40px var(--ds-space-xl); border-radius: var(--ds-radius-md); background: var(--ds-bg-surface); }
.nj-sit { position: relative; padding: var(--ds-space-3xl) 0 var(--ds-space-2xl); border-bottom: 1px solid rgba(121, 135, 139, .2); }
.nj-sit:last-child { border-bottom: 0; }
.nj-sit__actions { position: absolute; top: 8px; right: 0; z-index: 2; }
.nj-sit__link { display: grid; grid-template-columns: minmax(0, 385px) 164px; justify-content: space-between; align-items: start; gap: var(--ds-space-3xl); padding-top: var(--ds-space-xs); color: inherit; text-decoration: none; }
.nj-sit__link:hover { color: inherit; }
.nj-sit__title { margin: 0 0 var(--ds-space-sm); font-size: var(--ds-text-lg-size); line-height: 26px; font-weight: 700; color: var(--ds-text-title); transition: color var(--ds-duration-fast); }
.nj-sit__link:hover .nj-sit__title { color: var(--ds-teal-700); }
.nj-sit__excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: var(--ds-space-md); font-size: 14px; line-height: 22px; }
.nj-sit__img { width: 164px; height: 94px; margin-top: var(--ds-space-3xl); border-radius: var(--ds-radius-xs); transition: transform .5s var(--ds-ease); }
.nj-sit__link:hover .nj-sit__img { transform: translateY(-2px); }

/* ---------- Naujienlaiškis ---------- */
.nj-news { display: grid; grid-template-columns: 1fr minmax(0, 300px); gap: var(--ds-space-3xl); margin: 0 0 var(--ds-space-4xl); padding: var(--ds-space-3xl) var(--ds-space-xl) var(--ds-space-3xl) var(--ds-space-3xl); border-radius: var(--ds-radius-md); background: var(--nj-mint); }
.nj-news__head { display: flex; align-items: flex-start; gap: var(--ds-space-xl); margin-bottom: var(--ds-space-xl); }
.nj-news__head img { margin-top: -6px; mix-blend-mode: multiply; transform-origin: 30% 70%; } /* multiply: eksporte baltas fonas */
.nj-news:hover .nj-news__head img { animation: nj-wiggle .9s var(--ds-ease); }
@keyframes nj-wiggle { 30% { transform: rotate(-6deg); } 60% { transform: rotate(4deg); } }
.nj-news__title { margin: 0; max-width: 200px; font-family: var(--ds-font-family-serif); font-size: 26px; line-height: 34px; font-weight: 400; color: var(--ds-teal-800); }
.nj-news__text { max-width: 260px; font-size: var(--ds-text-sm-size); line-height: 19px; color: var(--ds-teal-800); }
.nj-news__form { align-self: center; }
.nj-news__topics { display: flex; flex-direction: column; gap: var(--ds-space-md); margin: 0 0 var(--ds-space-xl); padding: 0; border: 0; }
.nj-check { display: inline-flex; align-items: center; gap: var(--ds-space-lg); width: max-content; font-size: var(--ds-text-xs-size); line-height: var(--ds-text-xs-lh); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--ds-grey-800); cursor: pointer; }
.nj-check input { appearance: none; display: grid; place-items: center; width: 18px; height: 18px; margin: 0; border: 1px solid var(--ds-teal-400); border-radius: var(--ds-radius-xs); background: var(--ds-white); transition: background var(--ds-duration-fast), border-color var(--ds-duration-fast); }
.nj-check input::after { content: ''; width: 9px; height: 5px; margin-top: -2px; border: solid var(--ds-white); border-width: 0 0 2px 2px; transform: rotate(-45deg) scale(0); transition: transform var(--ds-duration-fast) var(--ds-ease); }
.nj-check input:checked { border-color: var(--ds-teal-600); background: var(--ds-teal-600); }
.nj-check input:checked::after { transform: rotate(-45deg) scale(1); }
.nj-news__field { display: flex; padding: var(--ds-space-xs); border: 1px solid transparent; border-radius: var(--ds-radius-sm); background: var(--ds-white); transition: border-color var(--ds-duration-fast), box-shadow var(--ds-duration-fast); }
.nj-news__field:focus-within { border-color: var(--ds-teal-500); box-shadow: var(--ds-focus-ring); }
.nj-news__field.is-error { border-color: var(--ds-red-400); }
.nj-news__input { flex: 1; min-width: 0; padding: 0 var(--ds-space-md); border: 0; outline: none; background: none; font-size: var(--ds-text-sm-size); }
.nj-news__input::placeholder { color: var(--ds-grey-500); }
.nj-news__btn { display: grid; place-items: center; min-width: 104px; height: 30px; padding: 0 var(--ds-space-lg); border: 0; border-radius: var(--ds-radius-xs); background: var(--ds-salmon-500); color: var(--ds-white); font-size: var(--ds-text-xs-size); font-weight: 700; letter-spacing: .03em; text-transform: uppercase; transition: background var(--ds-duration-fast); }
.nj-news__btn:hover { background: var(--ds-salmon-600); }
.nj-news__error { margin-top: var(--ds-space-sm); font-size: var(--ds-text-xs-size); line-height: var(--ds-text-xs-lh); color: var(--ds-red-700); }
.nj-news__done { align-self: center; display: flex; gap: var(--ds-space-lg); color: var(--ds-teal-900); font-size: var(--ds-text-sm-size); line-height: 19px; }
.nj-news__done .ic { padding: 5px; border-radius: var(--ds-radius-full); background: var(--ds-white); color: var(--ds-teal-600); stroke-width: 2; }
.nj-news__done strong { display: block; margin-bottom: var(--ds-space-xxs); font-size: var(--ds-text-md-size); }

/* ---------- Savaitės apžvalga ---------- */
.nj-weekly { margin: 0 0 var(--ds-space-5xl); }
.nj-weekly__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--ds-space-lg); }
.nj-weekly__box { padding: var(--ds-space-2xl); }
.nj-video { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--ds-border); border-radius: var(--ds-radius-sm); background: var(--ds-grey-900); }
.nj-video img { width: 100%; height: auto; transition: transform .6s var(--ds-ease), opacity var(--ds-duration); }
.nj-video:hover img { transform: scale(1.015); opacity: .94; }
.nj-video__len { position: absolute; right: var(--ds-space-md); bottom: var(--ds-space-md); padding: 1px var(--ds-space-sm); border-radius: var(--ds-radius-xs); background: rgba(39, 47, 48, .7); color: var(--ds-white); font-size: var(--ds-text-xs-size); line-height: var(--ds-text-xs-lh); font-variant-numeric: tabular-nums; }
.nj-weekly__list { margin: var(--ds-space-md) 0 0; padding: 0; list-style: none; }
.nj-weekly__list li + li { border-top: 1px solid rgba(121, 135, 139, .2); }
.nj-weekly__row { display: flex; align-items: center; justify-content: space-between; gap: var(--ds-space-xl); margin: 0 calc(-1 * var(--ds-space-md)); padding: var(--ds-space-md); border-radius: var(--ds-radius-sm); color: var(--ds-text-title); text-decoration: none; transition: background var(--ds-duration-fast); }
.nj-weekly__row:hover { background: var(--ds-bg-surface-hover); color: var(--ds-text-title); }
.nj-weekly__row .ic { color: var(--ds-grey-400); }
.nj-weekly__row:hover .ic { color: var(--ds-teal-600); }
.nj-weekly__row.is-seen .nj-weekly__title { color: var(--ds-grey-600); }
.nj-weekly__title { display: block; font-size: 14px; line-height: 20px; }
.nj-weekly__type { display: block; font-size: 10px; line-height: 14px; letter-spacing: .03em; text-transform: uppercase; color: var(--ds-text-muted); }

/* ---------- Kolegos domisi ---------- */
.nj-carousel { margin: 0 0 var(--ds-space-5xl); }
.nj-carousel__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--ds-space-xs) var(--ds-space-lg); margin-bottom: var(--ds-space-lg); }
.nj-carousel__hint { font-size: var(--ds-text-sm-size); color: var(--ds-text-muted); }
.nj-scroller--cards .nj-scroller__track { gap: var(--ds-space-3xl); padding: 2px 2px var(--ds-space-md); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.nj-scroller--cards .nj-scroller__btn { width: 45px; height: 45px; }
.nj-scroller--cards .nj-scroller__btn.is-next { right: -22px; }
.nj-scroller--cards .nj-scroller__btn.is-prev { left: -22px; }
.nj-card { flex: 0 0 247px; scroll-snap-align: start; display: flex; flex-direction: column; min-height: 310px; overflow: hidden; border: 1px solid var(--ds-border); border-radius: var(--ds-radius-sm); background: var(--ds-white); transition: box-shadow var(--ds-duration) var(--ds-ease), transform var(--ds-duration) var(--ds-ease); }
.nj-card:hover { box-shadow: var(--ds-shadow-md); transform: translateY(-2px); }
.nj-card__img { display: block; height: 140px; overflow: hidden; background: var(--ds-bg-surface); }
.nj-card__img img { width: 100%; height: 100%; object-fit: cover; }
.nj-card__body { flex: 1; display: flex; flex-direction: column; padding: var(--ds-space-lg) var(--ds-space-xl) var(--ds-space-lg); }
.nj-card__top { display: flex; align-items: center; justify-content: space-between; gap: var(--ds-space-md); }
.nj-card__top .nj-label { font-size: var(--ds-caption-size); white-space: nowrap; }
.nj-card__title { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin: var(--ds-space-xs) 0 var(--ds-space-xl); font-size: 14px; line-height: 21px; color: var(--ds-text-title); text-decoration: none; }
.nj-card__title:hover { color: var(--ds-teal-700); }
.nj-card.is-seen .nj-card__title { color: var(--ds-grey-600); }
.nj-card .nj-date { margin-top: auto; }

/* ---------- Ankstesnis turinys ir pabaiga ---------- */
.nj-more { display: grid; place-items: center; width: 100%; height: 36px; margin-top: var(--ds-space-xl); border: 0; border-radius: var(--ds-radius-sm); background: var(--ds-bg-surface); color: var(--ds-teal-600); font-size: var(--ds-text-sm-size); font-weight: 600; transition: background var(--ds-duration-fast); }
.nj-more:hover { background: var(--ds-bg-surface-hover); }
.nj-more__loading { display: inline-flex; align-items: center; gap: var(--ds-space-md); color: var(--ds-text-muted); }
.nj-end { margin-top: var(--ds-space-xl); text-align: center; font-size: var(--ds-text-sm-size); color: var(--ds-text-muted); }

.nj-try { display: flex; flex-direction: column; align-items: center; margin-top: var(--ds-space-6xl); text-align: center; }
.nj-try__title { margin: 0 0 var(--ds-space-sm); font-size: 24px; line-height: 32px; font-weight: 600; color: var(--ds-text-title); }
.nj-try__text { margin-bottom: var(--ds-space-2xl); font-size: var(--ds-text-sm-size); line-height: var(--ds-text-sm-lh); }
.nj-try__link { margin-top: var(--ds-space-xl); font-size: var(--ds-text-sm-size); }
.nj-try__img { width: 434px; max-width: 100%; height: auto; margin-top: var(--ds-space-3xl); }

/* ---------- Dešinė kolona ---------- */
.nj-rail { display: flex; flex-direction: column; gap: var(--ds-space-4xl); }
.nj-rail__sec { display: flex; flex-direction: column; gap: var(--ds-space-md); padding-top: var(--ds-space-3xl); border-top: 1px solid var(--ds-border); }
.nj-rail__sec:first-of-type { padding-top: 0; border-top: 0; }
.nj-rail__sec .nj-eyebrow { margin-bottom: var(--ds-space-xs); }

.nj-promo { position: relative; overflow: hidden; padding: var(--ds-space-4xl) var(--ds-space-2xl) var(--ds-space-2xl); border-radius: var(--ds-radius-md); background: var(--ds-teal-100); isolation: isolate; }
.nj-promo::before, .nj-promo::after { content: ''; position: absolute; right: -90px; bottom: -110px; z-index: -1; width: 220px; height: 220px; border: 28px solid var(--ds-white); border-radius: 50%; opacity: .5; }
.nj-promo::after { right: -40px; bottom: -60px; width: 120px; height: 120px; border-width: 22px; }
.nj-promo__title { margin: 0 0 var(--ds-space-lg); font-family: var(--ds-font-family-serif); font-size: 24px; line-height: 32px; font-weight: 400; color: var(--ds-text-title); }
.nj-promo__text { margin-bottom: var(--ds-space-2xl); font-size: var(--ds-text-sm-size); line-height: 19px; }
.nj-promo__btn { width: 100%; background: var(--ds-white); color: var(--ds-teal-600); font-size: var(--ds-text-sm-size); }
.nj-promo__btn:hover { color: var(--ds-teal-800); box-shadow: var(--ds-shadow-sm); }
.nj-promo__link { display: block; margin-top: var(--ds-space-lg); font-size: var(--ds-text-sm-size); text-align: center; text-decoration: none; color: var(--ds-text-title); }
.nj-promo__link:hover { text-decoration: underline; }

.nj-ev { display: flex; align-items: flex-start; gap: var(--ds-space-md); padding: var(--ds-space-md); border-radius: var(--ds-radius-md); background: var(--ds-bg-surface); color: var(--ds-text-title); text-decoration: none; transition: background var(--ds-duration-fast); }
.nj-ev:hover { background: var(--ds-bg-surface-hover); color: var(--ds-text-title); }
.nj-ev--video { align-items: center; gap: var(--ds-space-lg); }
.nj-ev__thumb { position: relative; flex: 0 0 auto; overflow: hidden; border: 1px solid var(--ds-border); border-radius: var(--ds-radius-xs); }
.nj-ev__thumb img { width: 117px; height: 66px; object-fit: cover; }
.nj-ev__thumb .ic { position: absolute; inset: 0; margin: auto; width: 30px; height: 30px; color: var(--ds-white); stroke-width: 1.2; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .3)); transition: transform var(--ds-duration-fast) var(--ds-ease); }
.nj-ev--video:hover .ic { transform: scale(1.12); }
.nj-ev__body { display: flex; flex-direction: column; gap: var(--ds-space-xxs); min-width: 0; padding-top: var(--ds-space-xxs); }
.nj-ev__type { display: flex; align-items: center; gap: var(--ds-space-xs); font-size: var(--ds-text-xs-size); line-height: var(--ds-text-xs-lh); color: var(--ds-text-muted); }
.nj-ev__title { font-size: 14px; line-height: 20px; font-weight: 500; }
.nj-ev__time { margin-top: var(--ds-space-xs); font-size: var(--ds-text-xs-size); line-height: var(--ds-text-xs-lh); color: var(--ds-text-muted); }
.nj-cal { flex: 0 0 42px; display: flex; flex-direction: column; align-items: center; padding: var(--ds-space-xs) 0; border-radius: var(--ds-radius-xs); background: var(--ds-white); }
.nj-cal span { font-size: var(--ds-text-sm-size); line-height: 15px; font-weight: 600; text-transform: uppercase; color: var(--ds-salmon-400); }
.nj-cal strong { font-size: var(--ds-h2-size); line-height: 22px; font-weight: 600; color: var(--ds-grey-900); }

.nj-chips { display: flex; flex-wrap: wrap; gap: var(--ds-space-md) var(--ds-space-md); }
.nj-chips--more { padding-top: var(--ds-space-md); }
.nj-chip { display: inline-flex; align-items: center; height: 35px; padding: 0 var(--ds-space-xl); border-radius: var(--ds-radius-full); background: var(--ds-grey-200); color: var(--ds-text-title); font-size: var(--ds-text-sm-size); text-decoration: none; transition: background var(--ds-duration-fast), color var(--ds-duration-fast); }
.nj-chip:hover { background: var(--ds-teal-200); color: var(--ds-teal-900); }

.nj-visited { display: flex; gap: var(--ds-space-md); margin-bottom: var(--ds-space-md); padding: var(--ds-space-lg); border: 1px solid var(--ds-border); border-radius: var(--ds-radius-md); background: var(--ds-white); color: var(--ds-text-title); text-decoration: none; transition: border-color var(--ds-duration-fast), box-shadow var(--ds-duration-fast); }
.nj-visited:hover { border-color: var(--ds-border-strong); box-shadow: var(--ds-shadow-sm); color: var(--ds-text-title); }
.nj-visited .ic--type { margin-top: 2px; color: var(--ds-teal-500); }
.nj-visited__title { display: block; font-size: 14px; line-height: 20px; }
.nj-visited__type { display: block; margin-top: var(--ds-space-xs); font-size: var(--ds-text-xs-size); line-height: var(--ds-text-xs-lh); color: var(--ds-text-muted); }
.nj-rail__sec .nj-textlink { margin-top: 0; align-self: flex-start; }

/* ---------- Greita peržiūra ---------- */
.nj-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(39, 47, 48, .18); }
.nj-peek { position: fixed; top: var(--ds-space-md); right: var(--ds-space-md); bottom: var(--ds-space-md); z-index: 71; width: min(480px, calc(100vw - 16px)); overflow: hidden; border: 1px solid var(--ds-border); border-radius: var(--ds-radius-xl); background: var(--ds-white); box-shadow: var(--ds-shadow-lg); }
.nj-peek-anim { transition: transform .32s var(--ds-ease), opacity .2s ease; }
.nj-peek.is-out { transform: translateX(24px); opacity: 0; }
.nj-peek.is-in { transform: none; opacity: 1; }
.nj-peek__inner { display: flex; flex-direction: column; height: 100%; }
.nj-peek__bar { display: flex; align-items: center; justify-content: space-between; padding: var(--ds-space-md) var(--ds-space-md) var(--ds-space-md) var(--ds-space-2xl); border-bottom: 1px solid var(--ds-border); }
.nj-peek__crumb { display: flex; align-items: center; gap: var(--ds-space-sm); font-size: var(--ds-text-sm-size); color: var(--ds-text-muted); }
.nj-peek__crumb .ic { color: var(--ds-teal-500); }
.nj-peek__scroll { flex: 1; overflow-y: auto; padding: var(--ds-space-3xl) var(--ds-space-3xl) var(--ds-space-4xl); }
.nj-peek__img { width: 100%; height: auto; margin-bottom: var(--ds-space-2xl); border-radius: var(--ds-radius-md); }
.nj-peek__title { margin: 0 0 var(--ds-space-sm); font-size: 22px; line-height: 30px; }
.nj-peek__meta { margin-bottom: var(--ds-space-2xl); font-size: var(--ds-text-xs-size); color: var(--ds-text-muted); }
.nj-peek__lead { margin-bottom: var(--ds-space-xl); font-size: var(--ds-text-md-size); line-height: 26px; }
.nj-peek__p { margin-bottom: var(--ds-space-xl); font-size: 14px; line-height: 23px; color: var(--ds-grey-700); }
.nj-peek__fade { -webkit-mask-image: linear-gradient(#000 20%, transparent); mask-image: linear-gradient(#000 20%, transparent); }
.nj-peek__foot { display: flex; gap: var(--ds-space-md); padding: var(--ds-space-lg) var(--ds-space-3xl); border-top: 1px solid var(--ds-border); }

/* ---------- Pranešimas ---------- */
.nj-toast { position: fixed; left: 50%; bottom: var(--ds-space-3xl); z-index: 80; display: flex; align-items: center; gap: var(--ds-space-md); padding: var(--ds-space-md) var(--ds-space-md) var(--ds-space-md) var(--ds-space-lg); border-radius: var(--ds-radius-lg); background: var(--ds-grey-900); color: var(--ds-white); font-size: var(--ds-text-sm-size); line-height: var(--ds-text-sm-lh); box-shadow: var(--ds-shadow-lg); transform: translateX(-50%); }
.nj-toast > .ic { color: var(--ds-teal-300); stroke-width: 2; }
.nj-toast__undo { margin-left: var(--ds-space-sm); padding: var(--ds-space-xs) var(--ds-space-md); border: 0; border-radius: var(--ds-radius-sm); background: rgba(255, 255, 255, .1); color: var(--ds-white); font-size: var(--ds-text-xs-size); font-weight: 600; }
.nj-toast__undo:hover { background: rgba(255, 255, 255, .18); }
.nj-toast-anim { transition: transform .28s var(--ds-ease), opacity .2s ease; }
.nj-toast.is-out { opacity: 0; transform: translate(-50%, 10px); }
.nj-toast.is-in { opacity: 1; transform: translate(-50%, 0); }

/* View Transitions: sklandus naujo turinio atsiradimas */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }

/* ---------- Siauresni ekranai ---------- */
@media (max-width: 1300px) {
  .nj { grid-template-columns: minmax(0, 1fr); max-width: var(--nj-main-w); }
  .nj-rail { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ds-space-3xl); padding-top: var(--ds-space-4xl); border-top: 1px solid var(--ds-border); }
  .nj-rail__sec, .nj-rail__sec:first-of-type { padding-top: 0; border-top: 0; }
}
@container (max-width: 600px) {
  .nj-item__link { grid-template-columns: 1fr; }
  .nj-item__media { order: -1; }
  .nj-item__actions { top: 6px; }
  .nj-sit__link { grid-template-columns: 1fr 96px; }
  .nj-sit__img { width: 96px; height: 55px; }
  .nj-group__box { padding: var(--ds-space-md) var(--ds-space-xl) var(--ds-space-xl); }
  .nj-news { grid-template-columns: 1fr; }
  .nj-event__banner { height: 240px; }
  .nj-event__text { left: 20px; top: 24px; width: 55%; }
  .nj-event__title { font-size: 24px; line-height: 30px; }
  .nj-event__sub { font-size: var(--ds-text-md-size); }
  .nj-event__photo { left: auto; right: -30px; width: 190px; }
  .nj-event__cal { right: 16px; top: 16px; width: 64px; }
  .nj-event__cal strong { font-size: 28px; line-height: 28px; padding: 6px 0 8px; }
  .nj-event__facts { grid-template-columns: 1fr; gap: var(--ds-space-md); }
  .nj-event__facts > div { border-left: 0; }
  .nj-rail { grid-template-columns: 1fr; }
}
