/*
 * News list (Aixor redesign 2026-10-05): a logo used as an article's picture is set as a mark on a
 * neutral tile (as_news_media() in patterns/naujienos-archive.php decides), carried over.
 */
.ax-news .img-box.rd-ntile { position: relative; background: #1a1a1a; margin: 0; }
/* A logo card (see as_news_image_kind()): the mark alone, monochrome, on the raised tile. The
   ground of the card is removed by blending (lighten keeps only what is lighter than the tile, so a
   dark card's ground disappears; a light ground is inverted first). The mark is placed by its own
   artwork box, in tile-height units, so every logo sits centred at the same visual weight.
   (This comment lost its opener in the first port, which silently dropped the container rule below
   and left the logos off centre - found by review 2026-10-05.) */
.rd-ntile { container-type: size; }
.rd-ntile.is-graphic > img {
  position: absolute;
  width: calc(var(--iw) * 100cqh);
  height: auto;
  left: calc(50cqw - var(--l) * 100cqh);
  top: calc(50cqh - var(--t) * 100cqh);
  max-width: none; /* the tile clips it; capped at 100% the centring maths below is off */
  object-fit: fill;
  filter: grayscale(1) brightness(.92);
  mix-blend-mode: lighten;
}
.rd-ntile.is-graphic.is-light > img { filter: grayscale(1) invert(1) brightness(.92); }
/* The opener of this fallback was missing in the old pages/naujienos.css (a surplus brace that
   css-check caught on the port); without container units the mark is sized by percentages. */
@supports not (height: 1cqh) {
  .rd-ntile.is-graphic > img { inset: 22% 25%; width: 50%; height: 56%; object-fit: contain; }
}
/* No featured image at all: Berch's empty frame, one diagonal hairline. */
.rd-ntile.is-empty svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rd-ntile.is-empty line { stroke: var(--rd-line); stroke-width: 1; }

/* ---- the stretched link: title link covers its whole story, one tab stop per article ---- */

