/* Truth Unveiled: clean rebuild of the Squarespace one-pager */

/* Fonts: DM Sans variable, self-hosted */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Tokens */
:root {
  --c-black: #080808;
  --c-white: #fff;
  --c-blue: #acc0e0;
  --c-olive: #5c4f2d;
  --c-lime: #f6fec5;

  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Fluid type, 390px -> 1440px */
  --fs-sm: 0.95rem;
  --fs-body: clamp(1.1rem, 1.056rem + 0.178vw, 1.216rem);
  --fs-lg: clamp(1.25rem, 1.14rem + 0.444vw, 1.54rem);
  --fs-h4: clamp(1.3rem, 1.17rem + 0.532vw, 1.648rem);
  --fs-h3: clamp(1.6rem, 1.34rem + 1.065vw, 2.296rem);
  --fs-h2: clamp(1.9rem, 1.51rem + 1.6vw, 2.944rem);

  --max-w: 1600px; /* turinio plotis su šonų tarpais; platesniame ekrane šonuose lieka tik sekcijų fonas */
  --gutter: 6vw;
  --col-gap: 11px;
  --header-pad: 7px;
  --logo-h: 30px;
  --header-h: calc(max(var(--logo-h), 44px) + 2 * var(--header-pad));

  --space-section: clamp(44px, 6.6vw, 96px);
  --space-title: clamp(56px, 5.6vw, 80px);
}

@media (min-width: 768px) {
  :root {
    --fs-sm: 0.892rem;
    --gutter: min(2vw, 32px);
  }
}

@media (min-width: 1024px) {
  :root {
    --header-pad: min(1vw, 16px);
    --logo-h: 60px;
  }
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.5;
  color: var(--c-white);
  background: var(--c-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-menu-open { overflow: hidden; }

h1, h2, h3, h4, p, ul { margin: 0; }
ul[role="list"] { list-style: none; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
strong { font-weight: 700; }

a { color: inherit; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 8px 16px;
  background: var(--c-white);
  color: var(--c-black);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* Typography helpers */
.text-sm { font-size: var(--fs-sm); }

.section-title,
.card__title,
.ruled-list__name,
.hero__title {
  font-weight: 500;
  letter-spacing: -0.02em;
}

.hero__title {
  font-size: var(--fs-h2);
  line-height: 1.11;
}

/* Organizacijų pavadinimai dideli, bet ~15 % mažesni už hero antraštę */
.ruled-list__name {
  font-size: clamp(1.7rem, 1.45rem + 1.15vw, 2.5rem);
  line-height: 1.12;
}

.section-title {
  font-size: var(--fs-h3);
  line-height: 1.14;
}

/* Layout */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  column-gap: var(--col-gap);
}

.grid > * { grid-column: 1 / -1; }

.section {
  padding-block: var(--space-section);
  scroll-margin-top: var(--header-h);
}
.section--list { padding-bottom: calc(var(--space-section) / 2); }

.section--black { background: var(--c-black); color: var(--c-white); }
.section--blue  { background: var(--c-blue);  color: var(--c-black); }
.section--olive { background: var(--c-olive); color: var(--c-white); }
.section--lime  { background: var(--c-lime);  color: var(--c-black); }

/* Dizaino taisyklė: sekcijų antraštės ant mėlyno fono baltos */
.section--blue .section-title { color: var(--c-white); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: var(--c-black);
  color: var(--c-white);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--header-pad) var(--gutter);
}

.site-header__logo img {
  width: auto;
  height: var(--logo-h);
}

.site-nav { display: none; }

.site-nav__list {
  display: flex;
  gap: clamp(24px, 5vw, 72px);
  list-style: none;
  padding: 0;
}

.site-nav a,
.mobile-menu a {
  text-decoration: none;
  text-transform: uppercase;
  text-underline-offset: 0.2em;
}
.site-nav a:hover,
.mobile-menu a:hover { text-decoration: underline; }

.menu-toggle {
  order: -1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: -4px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 34px;
  height: 1px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle__bars::before { top: -9px; }
.menu-toggle__bars::after  { top: 9px; }

.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(9px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after  { transform: translateY(-9px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background: var(--c-black);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }

.mobile-menu__list {
  display: grid;
  gap: 0.6em;
  list-style: none;
  padding: 0;
  font-size: var(--fs-h3);
  text-align: center;
}

@media (min-width: 1024px) {
  .site-nav { display: block; }
  .menu-toggle,
  .mobile-menu { display: none; }
}

/* Hero */
.hero {
  padding-top: calc(var(--header-h) + clamp(48px, 8.5vw, 123px));
  padding-bottom: 0;
}

.hero__lead p + p { margin-top: 1em; }

.hero .container {
  row-gap: 24px;
  margin-bottom: clamp(64px, 12.7vw, 183px);
}

@media (max-width: 767px) {
  .hero__title { margin-bottom: 32px; }
}

.hero__mark {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  margin-bottom: -1px; /* hides the anti-aliased bottom row against the blue section */
}

/* Cards */
.cards__list {
  display: grid;
  gap: var(--col-gap);
}

.card {
  display: flex;
  min-height: clamp(258px, 19vw, 274px);
  padding: clamp(36px, 5.6vw, 81px) clamp(40px, 4vw, 58px);
  background: var(--c-black);
  color: var(--c-white);
}

.card__title {
  font-size: var(--fs-h4);
  line-height: 1.17;
  overflow-wrap: break-word;
}

.cards { padding-block: clamp(44px, 11vw, 160px); }
.cards__title { margin-bottom: 40px; }

/* Text Columns */
.text-columns__list {
  display: grid;
  gap: 40px var(--col-gap);
}

.text-columns__name {
  margin-bottom: 16px;
  font-size: var(--fs-lg);
  font-weight: 500;
  line-height: 1.5;
}

/* News list: Latest News blokas, naujienų puslapis, „More news" */
.news {
  display: grid;
  gap: 48px var(--col-gap);
}

.news-card__link {
  display: block;
  text-decoration: none;
}

.news-card__media {
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
  background: var(--c-white);
}
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__title {
  margin-bottom: 10px;
  font-size: inherit;
  font-weight: 600;
  line-height: 1.3;
  text-underline-offset: 0.2em;
}
.news-card__link:hover .news-card__title { text-decoration: underline; }

/* Ištrauka aiškiai mažesnė ir prislopinta, kad pavadinimas išsiskirtų */
.news-card__excerpt {
  font-size: var(--fs-sm);
  line-height: 1.55;
  opacity: 0.8;
}

.news__more {
  margin-top: clamp(40px, 4.6vw, 67px);
  text-align: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(56px, 4.9vw, 70px);
  padding: 0 2.2em;
  border-radius: 300px;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.button--outline {
  min-width: 221px;
  border: 2px solid var(--c-blue);
  color: var(--c-blue);
}
.button--outline:hover {
  background: var(--c-blue);
  color: var(--c-black);
}

/* Text & Image */
.text-image__text p + p { margin-top: 16px; }

.text-image__image {
  width: 100%;
  margin-top: 40px;
}

/* Bullet Features */
.bullets {
  padding-left: 40px;
}
.bullets li + li { margin-top: 10px; }
.bullets li::marker { font-size: 0.8em; }

.bullet-features__col + .bullet-features__col { margin-top: 10px; }

/* Iškeltas punktas (pagrindinis produktas) virš sąrašo */
.bullet-features__highlight {
  margin-bottom: 40px;
  padding: clamp(20px, 2.2vw, 32px) clamp(24px, 2.8vw, 40px);
  background: var(--c-blue);
  color: var(--c-black);
  font-size: var(--fs-h4);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Ruled List */
.ruled-list__row {
  border-top: 1px solid currentColor;
  padding: 16px 0 32px;
}

.ruled-list__row {
  display: flex;
  flex-direction: column;
}
.ruled-list__meta {
  order: -1;
  margin-bottom: 12px;
}

/* Footer */
.site-footer {
  padding-block: var(--space-section) calc(var(--space-section) / 2);
}

.site-footer .container { container-type: inline-size; }

.footer__tagline { max-width: 8.8em; }

.footer__contact {
  margin-top: 40px;
}
.footer__contact p + p { margin-top: 16px; }
.footer__contact a {
  color: var(--c-blue);
  text-underline-offset: 0.15em;
}

.social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.social a {
  display: block;
  color: var(--c-white);
}
.social svg { display: block; }
.social a:hover { color: var(--c-blue); }

.footer__partners-label { margin-top: clamp(64px, 6vw, 88px); }

.logos {
  --logo-row-h: clamp(48px, 4.6vw, 66px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px clamp(28px, 3.9vw, 56px);
  margin-top: clamp(24px, 3vw, 45px);
}
.logos img {
  width: auto;
  height: calc(var(--logo-row-h) * var(--logo-scale, 1)); /* --logo-scale iš PHP pagal proporcijas */
}
.logos img.logos__eu { height: calc(var(--logo-row-h) * 0.773); }

.footer__wordmark {
  margin-top: clamp(40px, 7.8vw, 113px);
  font-size: calc(100cqi * 0.1555); /* tekstas ~6.42em pločio: užpildo konteinerio turinį */
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.footer__disclaimer { margin-top: clamp(16px, 2vw, 30px); }

/* Desktop grid placement */
@media (min-width: 768px) {
  .hero__title { grid-column: 1 / span 10; grid-row: 1 / span 2; }
  .hero__lead     { grid-row: 1; }
  .hero__lead--1  { grid-column: 12 / span 6; }
  .hero__lead--2  { grid-column: 19 / span 6; }

  .cards__title { grid-column: 1 / span 6; margin-bottom: 0; }
  .cards__list {
    grid-column: 7 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .text-columns__title { grid-column: 1 / span 13; }
  .text-columns__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .text-columns__item > * { max-width: 83%; }

  .news__title { grid-column: 1 / span 16; }
  .news { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .text-image .grid { grid-template-rows: auto 1fr; }
  .text-image__title { grid-column: 1 / span 7; grid-row: 1; }
  .text-image__text  { grid-column: 1 / span 6; grid-row: 2; }
  .text-image__image   { grid-column: 11 / -1; grid-row: 1 / span 2; margin-top: 0; }

  .bullet-features__title { grid-column: 1 / span 13; }
  .bullet-features__col + .bullet-features__col { margin-top: 0; }
  .bullet-features__highlight { grid-column: 1 / span 20; }
  .bullet-features__col:nth-of-type(1) { grid-column: 1 / span 6; }
  .bullet-features__col:nth-of-type(2) { grid-column: 8 / span 6; }
  .bullet-features__col:nth-of-type(3) { grid-column: 15 / span 6; }

  .ruled-list__title { grid-column: 1 / span 17; }
  .ruled-list__list { display: grid; grid-template-columns: subgrid; }
  .ruled-list__row {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
    padding: 0;
    border: 0;
  }
  .ruled-list__name,
  .ruled-list__meta {
    grid-row: 1;
    margin: 0;
    padding: 26px 0 44px;
    border-top: 1px solid currentColor;
  }
  .ruled-list__name { grid-column: 1 / span 17; }
  .ruled-list__meta { grid-column: 19 / -1; }

  .footer__tagline { grid-column: 1 / span 8; grid-row: 1; }
  .footer__contact { grid-column: 17 / -1; grid-row: 1 / span 2; margin-top: 0; }
  .footer__partners-label { grid-column: 1 / span 8; grid-row: 2; }
}

/* Tablet: give narrow columns more room */
@media (min-width: 768px) and (max-width: 1023px) {
  .cards__title { grid-column: 1 / -1; margin-bottom: 40px; }
  .cards__list { grid-column: 1 / -1; }
  .card { padding: 40px 32px; }

  .text-image__title { grid-column: 1 / span 10; }
  .text-image__text  { grid-column: 1 / span 9; }
  .text-image__image   { grid-column: 11 / -1; }
}

@media (min-width: 1280px) {
  .footer__contact { grid-column: 20 / -1; }
}

/* Section titles sit above their content */
.text-columns__title,
.news__title,
.text-image__title,
.bullet-features__title,
.ruled-list__title { margin-bottom: var(--space-title); }

@media (min-width: 768px) {
  .ruled-list__title { margin-bottom: clamp(56px, 6.6vw, 95px); }
}

/* ---------------------------------------------------------------
   Single news (becomes single.php)
   --------------------------------------------------------------- */
.section--white { background: var(--c-white); color: var(--c-black); }

.news-card__date {
  margin-bottom: 8px;
  opacity: 0.8;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.9em;
  border: 1px solid currentColor;
  border-radius: 300px;
  font-size: var(--fs-sm);
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.tag:hover { background: var(--c-black); border-color: var(--c-black); color: var(--c-white); }
.tag--light { color: var(--c-blue); }
.tag--light:hover { background: var(--c-blue); border-color: var(--c-blue); color: var(--c-black); }

/* Header */
.article-header {
  padding-top: calc(var(--header-h) + clamp(40px, 5.6vw, 80px));
  padding-bottom: clamp(48px, 5.6vw, 80px);
}

.back-link {
  justify-self: start;
  margin-bottom: clamp(32px, 3.3vw, 48px);
  color: var(--c-blue);
  text-decoration: none;
  text-underline-offset: 0.2em;
}
.back-link:hover { text-decoration: underline; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 24px;
}

.article-meta__info { white-space: nowrap; }

.article-header__title {
  font-size: clamp(2.1rem, 1.55rem + 2.2vw, 4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.article-header__lead {
  margin-top: clamp(24px, 2.2vw, 32px);
  font-size: var(--fs-lg);
  line-height: 1.45;
}

/* Featured image straddles the black header and the white body */
.article-hero {
  margin: 0;
  background: linear-gradient(var(--c-black) 0 50%, var(--c-white) 50%);
}
.article-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.article-hero figcaption {
  padding-top: 12px;
  color: #5a5a5a;
}

/* Body */
.article-body {
  padding-block: clamp(40px, 5.6vw, 80px) var(--space-section);
  background: var(--c-white);
  color: var(--c-black);
}

.article-aside {
  display: grid;
  gap: 32px;
  align-content: start;
  margin-bottom: 40px;
}

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

.author__avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--c-blue);
  color: var(--c-black);
  font-size: 1rem;
  font-weight: 500;
  overflow: hidden;
}
.author__avatar img { width: 100%; height: 100%; object-fit: cover; }
.author__avatar--lg { width: 80px; height: 80px; font-size: 1.4rem; }

.author__name { font-weight: 500; line-height: 1.3; }
.author__role { opacity: 0.7; }

/* Share */
.share__label { margin-bottom: 12px; }

.share__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: none;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.share__btn:hover { background: var(--c-black); color: var(--c-white); }

.share__status { min-height: 1.5em; margin-top: 8px; }

.share--aside { display: none; }

/* Article content: styles target WP block markup */
.prose {
  min-width: 0;
  line-height: 1.65;
}
.prose > * + * { margin-top: 1.1em; }

.prose h2,
.prose h3 {
  font-weight: 500;
  letter-spacing: -0.02em;
}
.prose h2 {
  margin-top: 1.8em;
  font-size: var(--fs-h3);
  line-height: 1.14;
}
.prose h3 {
  margin-top: 1.6em;
  font-size: var(--fs-h4);
  line-height: 1.2;
}
.prose h2 + *,
.prose h3 + * { margin-top: 0.6em; }

.prose a {
  color: var(--c-olive);
  text-underline-offset: 0.15em;
}
.prose a:hover { color: var(--c-black); }

.prose ul,
.prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--c-olive); }

.prose blockquote,
.prose .wp-block-quote {
  margin: 1.6em 0 0;
  padding: clamp(28px, 3.3vw, 48px);
  background: var(--c-blue);
}
.prose blockquote p {
  font-size: var(--fs-h4);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.prose blockquote cite {
  display: block;
  margin-top: 1em;
  font-size: var(--fs-sm);
  font-style: normal;
}

.prose > figure { margin: 1.8em 0 0; }
.prose > figure > img,
.prose > figure > a > img { width: 100%; }
.prose > figure > figcaption {
  margin-top: 0.75em;
  font-size: var(--fs-sm);
  color: #5a5a5a;
}

.prose .alignleft,
.prose .alignright { max-width: 50%; margin-bottom: 1em; }
.prose .alignleft  { float: left;  margin-right: 1.5em; }
.prose .alignright { float: right; margin-left: 1.5em; }
.prose .aligncenter { margin-inline: auto; text-align: center; }
.prose::after { content: ""; display: table; clear: both; }

.prose hr,
.prose hr.wp-block-separator {
  border: 0;
  border-top: 1px solid currentColor;
  opacity: 0.2;
}

/* Article footer */
.article-footer {
  display: grid;
  gap: 40px;
  margin-top: clamp(48px, 5.6vw, 80px);
}

.share--footer,
.author-bio,
.post-nav {
  padding-top: 32px;
  border-top: 1px solid currentColor;
}

.author-bio {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.author-bio__label { margin-bottom: 4px; opacity: 0.7; }
.author-bio__text { margin-top: 12px; }

.post-nav {
  display: grid;
  gap: 24px;
}
.post-nav__link {
  display: grid;
  gap: 4px;
  text-decoration: none;
}
.post-nav__label { opacity: 0.7; }
.post-nav__title {
  font-weight: 500;
  line-height: 1.3;
  text-underline-offset: 0.15em;
}
.post-nav__link:hover .post-nav__title { text-decoration: underline; }

@media (min-width: 768px) {
  .article-header__title { grid-column: 1 / span 18; }
  .article-header__lead  { grid-column: 1 / span 14; }

  .post-nav { grid-template-columns: 1fr 1fr; }
  .post-nav__link--next { grid-column: 2; text-align: right; }
}

@media (min-width: 1024px) {
  .article-aside {
    grid-column: 1 / span 5;
    grid-row: 1 / span 2;
    align-self: start;
    position: sticky;
    top: calc(var(--header-h) + 32px);
    margin-bottom: 0;
  }
  .share--aside { display: block; }
  /* Desktop'e share yra sticky juostoje, todėl apačioje nekartojamas */
  .share--footer { display: none; }

  .prose,
  .article-footer { grid-column: 7 / span 12; }
}

/* ---------------------------------------------------------------
   WordPress
   --------------------------------------------------------------- */

/* Prisijungusio vartotojo admin juosta virš fiksuoto header'io */
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.admin-bar .mobile-menu { inset-block-start: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 32px)); }
@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
  .admin-bar .mobile-menu { inset-block-start: var(--header-h); }
}

/* Naujienų sąrašas */
.list-header { padding-bottom: clamp(40px, 4.4vw, 64px); }

.tag--sm {
  min-height: 24px;
  padding: 0 0.7em;
  font-size: 0.75rem;
}

/* Lead blokas: pagrindinė naujiena + šoninis sąrašas (tik pirmame naujienų lape) */
.news-lead { padding-top: 0; }
.news-lead .grid { row-gap: 32px; }

.feature__link {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--c-olive);
  color: var(--c-white);
  text-decoration: none;
}

.feature__media { aspect-ratio: 4 / 5; }
.feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.feature__link:hover .feature__media img { transform: scale(1.03); }

.feature__body {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: clamp(80px, 10vw, 160px) clamp(24px, 3.3vw, 48px) clamp(24px, 3.3vw, 48px);
  background: linear-gradient(to top, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.6) 55%, rgba(8, 8, 8, 0) 100%);
}

.feature__title {
  max-width: 22em;
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.11;
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-underline-offset: 0.12em;
  text-decoration-thickness: 2px;
}
.feature__link:hover .feature__title { text-decoration-line: underline; }
.feature__meta { opacity: 0.85; }

.news-side { display: grid; align-content: start; }

.side-item { border-top: 1px solid currentColor; }
.side-item__link {
  display: grid;
  grid-template-columns: clamp(104px, 10vw, 160px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 20px 0 24px;
  text-decoration: none;
}

.side-item__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-olive);
}
.side-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-item__body {
  display: grid;
  justify-items: start;
  gap: 8px;
}
.side-item__title {
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.3;
  text-underline-offset: 0.15em;
}
.side-item__link:hover .side-item__title { text-decoration: underline; }
.side-item__meta { opacity: 0.7; }

@media (min-width: 768px) {
  .feature__media { aspect-ratio: 16 / 9; }
}

@media (min-width: 1024px) {
  .feature   { grid-column: 1 / span 14; }
  .feature__media { aspect-ratio: 4 / 3; }

  /* Šoninis sąrašas užima visą pagrindinės naujienos aukštį: trys lygios eilės */
  .news-side {
    grid-column: 16 / -1;
    grid-auto-rows: 1fr;
    align-content: stretch;
  }
  .side-item__link { grid-template-columns: clamp(140px, 13vw, 200px) minmax(0, 1fr); }
}

.news-archive__empty { grid-column: 1 / -1; }

/* 404 */
.not-found { min-height: 70vh; }
.not-found__actions { margin-top: 40px; }
