/* what.at static mirror – deliberate deviations from the theme CSS. */

/* WPBakery row gutters (negative margins) overhang the viewport; the live site
   shows a horizontal scrollbar. clip (not hidden) keeps position: sticky working. */
body { overflow-x: clip; }

/* A grid card (the bordered box) sits in a left-aligned flex wrapper, so it is only as wide
   as its content. Posts fill the column with their excerpt; podcast items have no excerpt
   and a one-word title, so their cards collapsed to that word ("Weitere Beiträge aus unserem
   Archiv" on post pages). Cards fill their column instead; other cards look the same. */
.w-grid-item-h > .w-vwrapper > .w-vwrapper { align-self: stretch; }

/* Images come as <picture> with an AVIF source (tools/mirror.mjs). The wrapper takes no box,
   so the <img> lays out as if it were not there, and it passes on the values theme CSS lets
   images inherit from their parent (e.g. gallery tiles: img { height: inherit }). */
picture {
  display: contents;
  height: inherit;
  min-height: inherit;
  max-height: inherit;
  border-radius: inherit;
}
/* The slider's image: theme CSS styles it as .w-slider-h > img (and gives a <picture> there a box). */
.w-slider-h > picture { display: contents; }
.w-slider-h > picture > img { display: block; width: 100%; height: inherit; min-height: inherit; max-height: inherit; }
