/* Additions to the preview's style.css (which is copied unchanged) for post content the preview
   never showed as such: a Wix video (the preview had only its poster image) and a divider line.
   Further down (speed pass 2026-11-19): the W2 and W1 rules, once w2.css and w1.css, and the news list's
   content-visibility; last, the front page's photo band (when it renders; still without JavaScript). */
.texti figure.myndband video{display:block;width:100%;max-height:82vh;border-radius:var(--r-m);background:var(--djupblar)}
.texti hr{border:0;border-top:2px solid var(--lina);margin:1.6em 0}
/* Post-body headings: the tag follows the outline under the page's h1 (lib/ricos.ts), the class keeps
   the size each heading had (.h-2/.h-3/.h-4 = the preview's .texti h2/h3/h4, whatever the tag). */
.texti .h-2,.texti .h-3,.texti .h-4{font-family:var(--slab);line-height:1.1;font-weight:700;letter-spacing:-.015em}
.texti .h-2{font-size:1.5rem;margin:1.8em 0 .5em}
.texti .h-3{font-size:1.3rem;margin:1.5em 0 .4em}
.texti .h-4{font-size:1.1rem;margin:1.3em 0 .3em}
.texti>.h-2:first-child,.texti>.h-3:first-child,.texti>.h-4:first-child{margin-top:0}
/* A picture's caption is its <figcaption>, below the picture with the paragraph's spacing (picture
   posts lay their pictures out as a grid: style.css .myndarod). */
.texti figcaption{margin-top:1em}
/* An ordered list that goes on from an earlier one (lib/ricos.ts olOpen): its first number, as the
   preview's inline counter-reset did, without a style attribute (the CSP allows no inline styles). */
.texti ol[data-s="2"]{counter-reset:n 1}.texti ol[data-s="3"]{counter-reset:n 2}.texti ol[data-s="4"]{counter-reset:n 3}.texti ol[data-s="5"]{counter-reset:n 4}.texti ol[data-s="6"]{counter-reset:n 5}
.texti ol[data-s="7"]{counter-reset:n 6}.texti ol[data-s="8"]{counter-reset:n 7}.texti ol[data-s="9"]{counter-reset:n 8}.texti ol[data-s="10"]{counter-reset:n 9}.texti ol[data-s="11"]{counter-reset:n 10}
.texti ol[data-s="12"]{counter-reset:n 11}.texti ol[data-s="13"]{counter-reset:n 12}.texti ol[data-s="14"]{counter-reset:n 13}.texti ol[data-s="15"]{counter-reset:n 14}.texti ol[data-s="16"]{counter-reset:n 15}
.texti ol[data-s="17"]{counter-reset:n 16}.texti ol[data-s="18"]{counter-reset:n 17}.texti ol[data-s="19"]{counter-reset:n 18}.texti ol[data-s="20"]{counter-reset:n 19}.texti ol[data-s="21"]{counter-reset:n 20}
.texti ol[data-s="22"]{counter-reset:n 21}.texti ol[data-s="23"]{counter-reset:n 22}.texti ol[data-s="24"]{counter-reset:n 23}.texti ol[data-s="25"]{counter-reset:n 24}.texti ol[data-s="26"]{counter-reset:n 25}
.texti ol[data-s="27"]{counter-reset:n 26}.texti ol[data-s="28"]{counter-reset:n 27}.texti ol[data-s="29"]{counter-reset:n 28}.texti ol[data-s="30"]{counter-reset:n 29}.texti ol[data-s="31"]{counter-reset:n 30}
.texti ol[data-s="32"]{counter-reset:n 31}.texti ol[data-s="33"]{counter-reset:n 32}.texti ol[data-s="34"]{counter-reset:n 33}.texti ol[data-s="35"]{counter-reset:n 34}.texti ol[data-s="36"]{counter-reset:n 35}
.texti ol[data-s="37"]{counter-reset:n 36}.texti ol[data-s="38"]{counter-reset:n 37}.texti ol[data-s="39"]{counter-reset:n 38}.texti ol[data-s="40"]{counter-reset:n 39}.texti ol[data-s="41"]{counter-reset:n 40}
.texti ol[data-s="42"]{counter-reset:n 41}.texti ol[data-s="43"]{counter-reset:n 42}.texti ol[data-s="44"]{counter-reset:n 43}.texti ol[data-s="45"]{counter-reset:n 44}.texti ol[data-s="46"]{counter-reset:n 45}
.texti ol[data-s="47"]{counter-reset:n 46}.texti ol[data-s="48"]{counter-reset:n 47}.texti ol[data-s="49"]{counter-reset:n 48}.texti ol[data-s="50"]{counter-reset:n 49}.texti ol[data-s="51"]{counter-reset:n 50}
.texti ol[data-s="52"]{counter-reset:n 51}.texti ol[data-s="53"]{counter-reset:n 52}.texti ol[data-s="54"]{counter-reset:n 53}.texti ol[data-s="55"]{counter-reset:n 54}.texti ol[data-s="56"]{counter-reset:n 55}
.texti ol[data-s="57"]{counter-reset:n 56}.texti ol[data-s="58"]{counter-reset:n 57}.texti ol[data-s="59"]{counter-reset:n 58}.texti ol[data-s="60"]{counter-reset:n 59}.texti ol[data-s="61"]{counter-reset:n 60}
.texti ol[data-s="62"]{counter-reset:n 61}.texti ol[data-s="63"]{counter-reset:n 62}.texti ol[data-s="64"]{counter-reset:n 63}.texti ol[data-s="65"]{counter-reset:n 64}.texti ol[data-s="66"]{counter-reset:n 65}
.texti ol[data-s="67"]{counter-reset:n 66}.texti ol[data-s="68"]{counter-reset:n 67}.texti ol[data-s="69"]{counter-reset:n 68}.texti ol[data-s="70"]{counter-reset:n 69}.texti ol[data-s="71"]{counter-reset:n 70}
.texti ol[data-s="72"]{counter-reset:n 71}.texti ol[data-s="73"]{counter-reset:n 72}.texti ol[data-s="74"]{counter-reset:n 73}.texti ol[data-s="75"]{counter-reset:n 74}.texti ol[data-s="76"]{counter-reset:n 75}
.texti ol[data-s="77"]{counter-reset:n 76}.texti ol[data-s="78"]{counter-reset:n 77}.texti ol[data-s="79"]{counter-reset:n 78}.texti ol[data-s="80"]{counter-reset:n 79}.texti ol[data-s="81"]{counter-reset:n 80}
.texti ol[data-s="82"]{counter-reset:n 81}.texti ol[data-s="83"]{counter-reset:n 82}.texti ol[data-s="84"]{counter-reset:n 83}.texti ol[data-s="85"]{counter-reset:n 84}.texti ol[data-s="86"]{counter-reset:n 85}
.texti ol[data-s="87"]{counter-reset:n 86}.texti ol[data-s="88"]{counter-reset:n 87}.texti ol[data-s="89"]{counter-reset:n 88}.texti ol[data-s="90"]{counter-reset:n 89}.texti ol[data-s="91"]{counter-reset:n 90}
.texti ol[data-s="92"]{counter-reset:n 91}.texti ol[data-s="93"]{counter-reset:n 92}.texti ol[data-s="94"]{counter-reset:n 93}.texti ol[data-s="95"]{counter-reset:n 94}.texti ol[data-s="96"]{counter-reset:n 95}
.texti ol[data-s="97"]{counter-reset:n 96}.texti ol[data-s="98"]{counter-reset:n 97}.texti ol[data-s="99"]{counter-reset:n 98}.texti ol[data-s="100"]{counter-reset:n 99}

/* ==== W2 (was public/w2.css, folded in here by the speed pass of 2026-11-19: it is on every page, so one
   request fewer before the first paint; the footer scene's rules, unchanged) ==== */
/* W2: the night footer comes alive (public/w2.js; markup in SiteLayout.astro). The scene is built of
   layers that, standing still and without JavaScript, make exactly the picture the footer had before
   (public/g/naetur.jpg): a sky colour, the stars, the moon, the land (hills, lighthouse, fence, ground:
   naetur-land.png, transparent sky) and the riders (a group: naetur-hopur.png standing, a canvas riding).
   Picture colours (like the sun arc's .sb-* in style.css): the drawing's night sky #0d2c47 and its
   cream stars. The sky's two colours and how much night it is come from w2.js by the time of day. */
.naetur-svid{position:relative}
.naetur{position:relative;overflow:hidden;--w2-h1:#0d2c47;--w2-h2:#0d2c47;--w2-nott:1;
  background:linear-gradient(var(--w2-h1),var(--w2-h2) 58%)}
/* the front page ends in the membership section, whose blue runs down to --nott: the sky takes over from that
   very colour, so no line shows where the two meet, at night (a step of a few levels showed: owner 2026-11-23)
   or by day (the sky is then pale: it deepens upwards into the section instead of meeting it at an edge) */
main.forsida + .naetur-svid .naetur{background:linear-gradient(var(--nott),var(--w2-h1) 30%,var(--w2-h2) 62%)}
/* the stage: the drawing's own proportions. On a phone the scene is 170 px tall and the drawing is cut at
   the sides as style.css's object-fit: cover at 62% did with the single picture before */
.w2-svid{position:relative}
.naetur img.w2-land{position:relative;display:block;width:100%;height:auto}
@media (max-width:560px){
  .naetur{height:170px}
  .w2-svid{position:absolute;bottom:0;width:619.12px;left:calc((100% - 619.12px)*.62)}
}
.naetur img.w2-mani{position:absolute;left:89.844%;top:17.209%;width:5.134%;height:auto;opacity:calc(.5 + .5*var(--w2-nott))}

/* stars: where the drawing had its four, and five fainter ones; they twinkle out of step while the scene runs */
.w2-stjornur{position:absolute;inset:0;opacity:var(--w2-nott)}
.w2-stjornur i{position:absolute;width:.17%;min-width:2px;aspect-ratio:1;border-radius:50%;background:#f4ecd8;opacity:var(--o,1);--o:1}
.w2-stjornur i:nth-child(1){left:14.43%;top:21%}
.w2-stjornur i:nth-child(2){left:55.99%;top:18.7%;--d:6.1s}
.w2-stjornur i:nth-child(3){left:25.56%;top:46.07%;--o:.55;width:.12%;min-width:1.5px}
.w2-stjornur i:nth-child(4){left:72.4%;top:47.83%;--o:.55;width:.12%;min-width:1.5px}
.w2-stjornur i:nth-child(5){left:37.6%;top:31.4%;--o:.45;width:.11%;min-width:1.5px}
.w2-stjornur i:nth-child(6){left:80.4%;top:13%;--o:.7;width:.13%}
.w2-stjornur i:nth-child(7){left:4.8%;top:40.7%;--o:.4;width:.11%;min-width:1.5px}
.w2-stjornur i:nth-child(8){left:47.2%;top:6.5%;--o:.6;width:.12%;min-width:1.5px}
.w2-stjornur i:nth-child(9){left:31.25%;top:12.9%;--o:.5;width:.11%;min-width:1.5px}
@keyframes w2-blik{0%,100%{opacity:var(--o)}50%{opacity:calc(var(--o)*.3)}}
.w2-spila .w2-stjornur i{animation:w2-blik 5.2s ease-in-out infinite}
.w2-spila .w2-stjornur i:nth-child(2){animation-duration:6.1s;animation-delay:-2.3s}
.w2-spila .w2-stjornur i:nth-child(3){animation-duration:4.3s;animation-delay:-1.1s}
.w2-spila .w2-stjornur i:nth-child(4){animation-duration:7.7s;animation-delay:-5.2s}
.w2-spila .w2-stjornur i:nth-child(5){animation-duration:3.9s;animation-delay:-.7s}
.w2-spila .w2-stjornur i:nth-child(6){animation-duration:6.8s;animation-delay:-3.9s}
.w2-spila .w2-stjornur i:nth-child(7){animation-duration:5.6s;animation-delay:-4.4s}
.w2-spila .w2-stjornur i:nth-child(8){animation-duration:8.3s;animation-delay:-6.1s}
.w2-spila .w2-stjornur i:nth-child(9){animation-duration:4.7s;animation-delay:-2.8s}

/* the aurora (w2.js): low resolution, scaled up soft; fades out as the sky gets light */
.w2-nordur{position:absolute;left:0;top:0;width:100%;height:62%;pointer-events:none;opacity:calc(var(--w2-nott)*var(--w2-nott))}

/* the riders (scripts/w2-reid.py, w2.js): a group on a ride. Standing and without JavaScript, the still
   strip (naetur-hopur.png: the procession at its start); riding, one canvas in the same box draws it */
.w2-hopur{position:absolute;inset:0;pointer-events:none}
.naetur .w2-hopur img,.w2-hopur canvas{position:absolute;left:0;width:100%;height:auto}
.w2-hopur canvas{visibility:hidden}
.w2-hopur.w2-rida canvas{visibility:visible}
.w2-hopur.w2-rida picture{visibility:hidden}
/* hopur: generated by scripts/w2-reid.py (do not edit by hand) */
.naetur .w2-hopur img,.w2-hopur canvas{top:47.7%}
.w2-hopur canvas{aspect-ratio:2400/252}
/* /hopur */

/* the shared pause/play control (style.css .hreyfing), here on the ground at the left, in line with the footer */
.naetur-svid .w2-takki{left:max(22px,calc((100vw - 1136px)/2));right:auto;bottom:12px}
.naetur-svid .w2-takki:focus-visible{outline-color:var(--hvitt)}  /* white ring on the dark ground, as on every dark surface */
/* on a phone the scene is a short strip: only the icon, a 40 px round button in the corner; the words stay its name */
@media (max-width:640px){
  .naetur-svid .w2-takki{left:10px;bottom:8px;width:40px;height:40px;min-height:40px;padding:0;justify-content:center;gap:0}
  .w2-takki .w2-ord{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
@media (prefers-reduced-motion:reduce){.w2-spila .w2-stjornur i{animation:none}}

/* ==== W1 (was public/w1.css, folded in here by the speed pass: it was on most pages and must be in force
   before the first frame of an arriving page; inert where w1.js never sets its classes) ==== */
/* wow W1: pictures and posts that open from their card (public/w1.js says how the names are given).
   Names exist only on the one card / header / thumbnail in play; everything else is today's page. */

/* the names (set by w1.js on one element at a time, or on <html> for the post's header) */
.w1-mynd{view-transition-name:w1-mynd}
.w1-titill{view-transition-name:w1-titill;width:fit-content}
.w1-haus,.w1-hausnofn #haus .haus{view-transition-name:w1-haus;backdrop-filter:none}
/* (the pill's frosted-glass blur is left out while it is a moving piece: a snapshot of a backdrop-filter
   blurs the pill's own logo and words in Chromium; over the page its .9 white looks the same without it) */
.w1-hausnofn .sidhaus{view-transition-name:w1-mynd}
.w1-hausnofn .sidhaus h1{view-transition-name:w1-titill;width:fit-content}
.w1-lb{view-transition-name:w1-lb}
/* a post reached from its card: the title has just landed, it does not rise in again */
.w1-kom .sidhaus h1{animation:none}

/* a press you can see at once, while the next page or picture is on its way */
.frett.w1-trykk{transform:scale(.985);transition-duration:.12s}
.myndir img.w1-trykk,.frettatexti img.w1-trykk,.texti img.w1-trykk{transform:scale(.97);transition:transform .12s}

/* card -> post: the picture box grows into the dark header while the photo dissolves into it;
   the title travels into the h1 (scaled as one piece, never stretched) */
::view-transition-group(w1-mynd),::view-transition-group(w1-titill),::view-transition-group(w1-haus){animation-duration:.42s;animation-timing-function:cubic-bezier(.22,.8,.24,1)}
.w1-aftur::view-transition-group(w1-mynd),.w1-aftur::view-transition-group(w1-titill),.w1-aftur::view-transition-group(w1-haus){animation-duration:.34s}
::view-transition-old(w1-mynd),::view-transition-new(w1-mynd){height:100%;object-fit:cover;animation-timing-function:cubic-bezier(.4,0,.2,1)}
/* the card's picture keeps its own shape (on a wide screen the header is 4x wider than the card: a cover crop
   would zoom the photo far past its sharpness); the header fills the box */
::view-transition-old(w1-mynd){object-fit:contain}
.w1-aftur::view-transition-old(w1-mynd){object-fit:cover}
.w1-aftur::view-transition-new(w1-mynd){object-fit:contain}
::view-transition-old(w1-mynd){animation-name:w1-ut}
::view-transition-new(w1-mynd){animation-name:w1-inn}
/* the header pill is the same thing on both pages (only its scrolled size and active item differ): show the
   new one at once and let it settle into place, so its words are never seen twice */
::view-transition-old(w1-haus){animation:none;opacity:0}
::view-transition-new(w1-haus){animation:none}
::view-transition-old(w1-titill),::view-transition-new(w1-titill){height:100%;width:auto}
@keyframes w1-ut{0%,22%{opacity:1}88%,100%{opacity:0}}
@keyframes w1-inn{0%,22%{opacity:0}88%,100%{opacity:1}}
/* the old page named its card or header but this page has nothing to pair it with (a fresh load whose scroll
   is not restored yet, a card no longer on screen): those pieces leave with the page, at its pace */
.w1-ensam::view-transition-group(w1-mynd),.w1-ensam::view-transition-group(w1-titill),.w1-ensam::view-transition-group(w1-haus){animation-duration:.25s}
.w1-ensam::view-transition-old(w1-mynd),.w1-ensam::view-transition-old(w1-titill),.w1-ensam::view-transition-old(w1-haus){opacity:1;animation:w1-burt .25s ease both}
@keyframes w1-burt{to{opacity:0}}

/* thumbnail <-> lightbox: the crop opens out to the whole picture, and closes back into it */
::view-transition-group(w1-lb){animation-duration:.36s;animation-timing-function:cubic-bezier(.22,.8,.24,1)}
.w1-lbloka::view-transition-group(w1-lb){animation-duration:.28s}
::view-transition-old(w1-lb),::view-transition-new(w1-lb){height:100%;object-fit:cover;animation:none}
/* no crossfade: the thumbnail is a crop of the same picture, so only the whole picture is drawn, cropped to
   the moving box (at the start the box is the thumbnail and the crop is the thumbnail's own): the crop opens
   out. Two crossfading copies of different crops would show the horse twice. Closing is the same in reverse. */
::view-transition-old(w1-lb){opacity:0}
.w1-lbloka::view-transition-old(w1-lb){opacity:1}
.w1-lbloka::view-transition-new(w1-lb){opacity:0}
/* the picture's drop shadow would widen its snapshot past the picture (and offset the crossfade); on the
   lightbox's near-black it is not seen while it is away */
.ljosbox img.w1-lb{box-shadow:none}

/* ==== speed pass (2026-11-19) ==== */
/* The news list (/blog and the category pages: up to 218 cards in the page, 12 shown with JavaScript): the cards
   past the first two rows are laid out and painted only when they come near the screen. While the page is still
   arriving, the browser lays out every card it has so far before app.js hides all but 12; without JavaScript every
   card stays in the page. Their width comes from the grid as before (none); the height is a stand-in until a card has
   been rendered once, then its own (auto; measured card heights: median 401 px at 390 px wide, 429 at 768, 438 at
   1440). The card already clips its content (overflow:hidden). */
.frettir.listi>.frett:nth-child(n+7){content-visibility:auto;contain-intrinsic-size:auto none auto 420px}
/* The front page's photo band (style.css "myndaborði", app.js's motion control), back 2026-11-21 in place of the W6
   film strip. Its pictures are lazy, but Chrome starts lazy pictures far ahead when it does not know the connection
   (measured: all of them during the page's load, the band 2800 px below a phone's screen): so the band skips
   rendering until it is near the screen, and its pictures (and its drift) wait for that. The kept height is the band's own (two rows and the gap; the padding below stays), so
   nothing moves when it renders. Without JavaScript there is no pause control (app.js makes it), so the band
   stands still and scrolls sideways, as under reduced motion. */
.bord{content-visibility:auto;contain-intrinsic-size:auto none auto calc(2 * clamp(150px,19vw,250px) + 14px)}
@media (scripting:none){.rod{animation:none}.bord{overflow-x:auto}}

/* stage 9: a programme entry a post announced links its title to the post (front page; /dagskra: s2-efni.css) */
.vidburdir a.vb-frett{color:inherit;text-decoration:underline;text-decoration-color:var(--lina);text-decoration-thickness:2px;text-underline-offset:3px}
.vidburdir a.vb-frett:hover{color:var(--blar);text-decoration-color:currentColor}
.vidburdir a.vb-frett:focus-visible{outline:3px solid var(--blar);outline-offset:2px;border-radius:4px}
/* ==== the notice bar (was public/tilkynning.css, folded in here 2026-11-23, stage 10 "flis": one render-blocking
   request fewer on every page with a bar; the rules only match where the bar is) ====
   The notice bar (src/components/Tilkynning.astro, lib/tilkynning.ts): a pinned post's title across the top of
   every page. Linked only while a notice shows. In the page's flow above the floating header, so it never covers
   the header or is covered by it, and the page below starts under it from the first paint (no shift). Sand, the
   page's own light surface, against the navy hero and page headers: clearly something, not an alarm. The title
   is a link, so it is blue (the only colour for things you press, 5.12:1 on sand); the brown octagon is the
   site's label marker. Never cut: a long title wraps. The class is .festfrett, not .tilkynning: that one is the
   forms' notice box (s2-sidur.css, style.css footer). */
.festfrett{background:var(--sandur);border-bottom:1px solid var(--lina)}
.festfrett a{display:flex;align-items:center;gap:10px;width:fit-content;max-width:100%;min-height:48px;padding:10px 0;color:var(--blar);font:700 .95rem/1.4 var(--sans);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-wrap:pretty;overflow-wrap:break-word}
.festfrett a::before{content:"";flex:none;width:12px;height:12px;background:var(--brunn);clip-path:var(--att)}
.festfrett a:hover{color:var(--blar-dokk);text-decoration-thickness:2px}
/* the front page's hero fills the screen under the header: it gives up the bar's (one-line) height, so the
   headline stays where it was on the first screen */
.festfrett~main .hero{min-height:min(calc(100svh - 49px),920px)}
@media (max-width:900px){.festfrett~main .hero{min-height:min(calc(100svh - 49px),780px)}}
/* page to page (view transitions, style.css @view-transition): the same bar on both pages, so it is taken out of
   the root's cross-fade and shown as it is on the new page, with no movement or fade (a bar scrolled away on the
   old page must not slide in) */
.festfrett{view-transition-name:tilkynning}
::view-transition-group(tilkynning){animation:none}
::view-transition-old(tilkynning){animation:none;opacity:0}
::view-transition-new(tilkynning){animation:none}
/* end notice bar */
/* stage 10 "flis" (2026-11-23): the hero's chips (index.astro, app.js "headless (flis)"). On phones the row WRAPS
   (style.css made it a sideways-scrolling strip, which cut the weather chip at the screen's edge): the hall chip
   first, the weather chip beside it when both fit, else on the line under it; a chip longer than the row wraps
   inside itself, never cut. No layout shift: the weather chip is in the HTML when the server holds a fresh
   measurement; otherwise its place is RESERVED, invisible (data-bidur: as wide as the longest realistic chip,
   "−12° · 23 m/s NA · hviður 35"), and app.js fills it. A hidden weather chip keeps its box (stale, or no weather),
   and .lina2 keeps a chip on the second line when its words get shorter (app.js sets it). */
.hero .nuna .stada[data-vedur][hidden]{display:inline-flex!important;visibility:hidden}
.hero .nuna .stada[data-bidur]{min-width:15em}
.hero .nuna.lina2{flex-direction:column;align-items:flex-start}
@media (max-width:560px){.hero .nuna{flex-wrap:wrap;overflow:visible;margin-right:0;padding-right:0}.hero .nuna .stada{flex:0 1 auto;max-width:100%}}
/* end stage 10 "flis" */
/* stage 11 "frett2" (2026-11-23): a post that opens with a TALL picture (lib/frett-snid.ts adds .tvidalka) is two
   columns on a wide screen: the picture on the left, the text on the right. Layout only: the HTML keeps its order
   (the picture first), so a phone, a tablet, print and a screen reader meet it as before. The picture floats in
   its column (41 % of the content width) and every block after it keeps out of that column, so the text's own
   spacing (collapsing margins) is unchanged; the article contains the float (flow-root), so a picture taller than
   the text never runs into "Fleiri fréttir". Where the window is tall enough the picture stays in view under the
   header while the text scrolls past (sticky inside the article: it stops where the article ends), never taller
   than the window; a lower window lets it scroll with the page. */
@media screen and (min-width:1000px){
  .frettatexti.tvidalka{max-width:none;display:flow-root}
  .frettatexti.tvidalka>figure:first-child{float:left;width:41%;margin:0}
  .frettatexti.tvidalka>figure:first-child~*{margin-left:calc(41% + 48px)}
  .frettatexti.tvidalka>figure:first-child+*{margin-top:0}
}
@media screen and (min-width:1000px) and (min-height:600px){
  .frettatexti.tvidalka>figure:first-child{position:sticky;top:100px}
  /* the picture's box must be known BEFORE the file arrives, else the article grows when it loads and "Fleiri
     fréttir" under a short post jumps 0.10-0.18 (test pass 2026-11-25; the old width:auto/height:auto had no size
     until the file came): the column's width, capped at (window room) / the picture's height:width ratio (its class
     rNNN from lib/frett-snid.ts ratioClass, rounded down to 0.02), and the height follows from the width/height
     attributes. So the picture keeps its aspect (whole, never letterboxed or cut) and is never taller than the
     window allows (the cap is at most 1.8 % generous; max-height holds then); it sits at the column's left edge */
  .frettatexti.tvidalka>figure:first-child img{width:100%;height:auto;max-height:calc(100vh - 124px);margin-left:0}
  .frettatexti.tvidalka>figure.r114 img{max-width:calc((100vh - 124px)/1.14)}
  .frettatexti.tvidalka>figure.r116 img{max-width:calc((100vh - 124px)/1.16)}
  .frettatexti.tvidalka>figure.r118 img{max-width:calc((100vh - 124px)/1.18)}
  .frettatexti.tvidalka>figure.r120 img{max-width:calc((100vh - 124px)/1.2)}
  .frettatexti.tvidalka>figure.r122 img{max-width:calc((100vh - 124px)/1.22)}
  .frettatexti.tvidalka>figure.r124 img{max-width:calc((100vh - 124px)/1.24)}
  .frettatexti.tvidalka>figure.r126 img{max-width:calc((100vh - 124px)/1.26)}
  .frettatexti.tvidalka>figure.r128 img{max-width:calc((100vh - 124px)/1.28)}
  .frettatexti.tvidalka>figure.r130 img{max-width:calc((100vh - 124px)/1.3)}
  .frettatexti.tvidalka>figure.r132 img{max-width:calc((100vh - 124px)/1.32)}
  .frettatexti.tvidalka>figure.r134 img{max-width:calc((100vh - 124px)/1.34)}
  .frettatexti.tvidalka>figure.r136 img{max-width:calc((100vh - 124px)/1.36)}
  .frettatexti.tvidalka>figure.r138 img{max-width:calc((100vh - 124px)/1.38)}
  .frettatexti.tvidalka>figure.r140 img{max-width:calc((100vh - 124px)/1.4)}
  .frettatexti.tvidalka>figure.r142 img{max-width:calc((100vh - 124px)/1.42)}
  .frettatexti.tvidalka>figure.r144 img{max-width:calc((100vh - 124px)/1.44)}
  .frettatexti.tvidalka>figure.r146 img{max-width:calc((100vh - 124px)/1.46)}
  .frettatexti.tvidalka>figure.r148 img{max-width:calc((100vh - 124px)/1.48)}
  .frettatexti.tvidalka>figure.r150 img{max-width:calc((100vh - 124px)/1.5)}
  .frettatexti.tvidalka>figure.r152 img{max-width:calc((100vh - 124px)/1.52)}
  .frettatexti.tvidalka>figure.r154 img{max-width:calc((100vh - 124px)/1.54)}
  .frettatexti.tvidalka>figure.r156 img{max-width:calc((100vh - 124px)/1.56)}
  .frettatexti.tvidalka>figure.r158 img{max-width:calc((100vh - 124px)/1.58)}
  .frettatexti.tvidalka>figure.r160 img{max-width:calc((100vh - 124px)/1.6)}
  .frettatexti.tvidalka>figure.r162 img{max-width:calc((100vh - 124px)/1.62)}
  .frettatexti.tvidalka>figure.r164 img{max-width:calc((100vh - 124px)/1.64)}
  .frettatexti.tvidalka>figure.r166 img{max-width:calc((100vh - 124px)/1.66)}
  .frettatexti.tvidalka>figure.r168 img{max-width:calc((100vh - 124px)/1.68)}
  .frettatexti.tvidalka>figure.r170 img{max-width:calc((100vh - 124px)/1.7)}
  .frettatexti.tvidalka>figure.r172 img{max-width:calc((100vh - 124px)/1.72)}
  .frettatexti.tvidalka>figure.r174 img{max-width:calc((100vh - 124px)/1.74)}
  .frettatexti.tvidalka>figure.r176 img{max-width:calc((100vh - 124px)/1.76)}
  .frettatexti.tvidalka>figure.r178 img{max-width:calc((100vh - 124px)/1.78)}
  .frettatexti.tvidalka>figure.r180 img{max-width:calc((100vh - 124px)/1.8)}
  .frettatexti.tvidalka>figure.r182 img{max-width:calc((100vh - 124px)/1.82)}
  .frettatexti.tvidalka>figure.r184 img{max-width:calc((100vh - 124px)/1.84)}
  .frettatexti.tvidalka>figure.r186 img{max-width:calc((100vh - 124px)/1.86)}
  .frettatexti.tvidalka>figure.r188 img{max-width:calc((100vh - 124px)/1.88)}
  .frettatexti.tvidalka>figure.r190 img{max-width:calc((100vh - 124px)/1.9)}
  .frettatexti.tvidalka>figure.r192 img{max-width:calc((100vh - 124px)/1.92)}
  .frettatexti.tvidalka>figure.r194 img{max-width:calc((100vh - 124px)/1.94)}
  .frettatexti.tvidalka>figure.r196 img{max-width:calc((100vh - 124px)/1.96)}
  .frettatexti.tvidalka>figure.r198 img{max-width:calc((100vh - 124px)/1.98)}
  .frettatexti.tvidalka>figure.r200 img{max-width:calc((100vh - 124px)/2)}
  .frettatexti.tvidalka>figure.r202 img{max-width:calc((100vh - 124px)/2.02)}
  .frettatexti.tvidalka>figure.r204 img{max-width:calc((100vh - 124px)/2.04)}
  .frettatexti.tvidalka>figure.r206 img{max-width:calc((100vh - 124px)/2.06)}
  .frettatexti.tvidalka>figure.r208 img{max-width:calc((100vh - 124px)/2.08)}
  .frettatexti.tvidalka>figure.r210 img{max-width:calc((100vh - 124px)/2.1)}
  .frettatexti.tvidalka>figure.r212 img{max-width:calc((100vh - 124px)/2.12)}
  .frettatexti.tvidalka>figure.r214 img{max-width:calc((100vh - 124px)/2.14)}
  .frettatexti.tvidalka>figure.r216 img{max-width:calc((100vh - 124px)/2.16)}
  .frettatexti.tvidalka>figure.r218 img{max-width:calc((100vh - 124px)/2.18)}
  .frettatexti.tvidalka>figure.r220 img{max-width:calc((100vh - 124px)/2.2)}
  .frettatexti.tvidalka>figure.r222 img{max-width:calc((100vh - 124px)/2.22)}
  .frettatexti.tvidalka>figure.r224 img{max-width:calc((100vh - 124px)/2.24)}
  .frettatexti.tvidalka>figure.r226 img{max-width:calc((100vh - 124px)/2.26)}
  .frettatexti.tvidalka>figure.r228 img{max-width:calc((100vh - 124px)/2.28)}
  .frettatexti.tvidalka>figure.r230 img{max-width:calc((100vh - 124px)/2.3)}
  .frettatexti.tvidalka>figure.r232 img{max-width:calc((100vh - 124px)/2.32)}
  .frettatexti.tvidalka>figure.r234 img{max-width:calc((100vh - 124px)/2.34)}
  .frettatexti.tvidalka>figure.r236 img{max-width:calc((100vh - 124px)/2.36)}
  .frettatexti.tvidalka>figure.r238 img{max-width:calc((100vh - 124px)/2.38)}
  .frettatexti.tvidalka>figure.r240 img{max-width:calc((100vh - 124px)/2.4)}
  .frettatexti.tvidalka>figure.r242 img{max-width:calc((100vh - 124px)/2.42)}
  .frettatexti.tvidalka>figure.r244 img{max-width:calc((100vh - 124px)/2.44)}
  .frettatexti.tvidalka>figure.r246 img{max-width:calc((100vh - 124px)/2.46)}
  .frettatexti.tvidalka>figure.r248 img{max-width:calc((100vh - 124px)/2.48)}
  .frettatexti.tvidalka>figure.r250 img{max-width:calc((100vh - 124px)/2.5)}
  .frettatexti.tvidalka>figure.r252 img{max-width:calc((100vh - 124px)/2.52)}
  .frettatexti.tvidalka>figure.r254 img{max-width:calc((100vh - 124px)/2.54)}
  .frettatexti.tvidalka>figure.r256 img{max-width:calc((100vh - 124px)/2.56)}
  .frettatexti.tvidalka>figure.r258 img{max-width:calc((100vh - 124px)/2.58)}
  .frettatexti.tvidalka>figure.r260 img{max-width:calc((100vh - 124px)/2.6)}
}
/* end stage 11 "frett2" */
/* the sun card on the front page's hall photo (style.css ".holl .solbogi", wider than 900 px) is GLASS: whatever the photo
   shows through it, the card's own gull / a-dokku labels (Birting, Myrkur, Sólarupprás, Dagsbirta, "eftir …", the
   weather row's labels and sources) measured 3.87-3.88:1 with a light photo behind (test pass 2026-11-25; sun-check now
   measures every label against white behind the glass). On the glass they are white (--hvitt: >= 4.7:1 in that worst
   case); the solid card (phones, /skjar has its own night background) keeps gull. */
@media (min-width:901px){
  .holl .solbogi .w3-skil small,.holl .solbogi .sb-texti small,.holl .solbogi .sb-texti span,
  .holl .solbogi .vd-gildi small,.holl .solbogi .vd-hed,.holl .solbogi .vd-heimild{color:var(--hvitt)}
}

/* ==== stage 13 "myndaröð" (2026-11-25): the lightbox's strip of the whole series (app.js lbRodSmida) ====
   A series of 2 or more pictures gets a third row under the big picture: one square button per picture (52 px on
   phones, so an album of 6 fits a 390 px screen; 72 px from 561 px), the one shown marked by the accent ring and full
   strength (and aria-current). The row has a fixed height, so the big picture gives up the same room for every
   picture of the series: the strip and the picture's area never move while paging (inside its area the picture is
   centred for its own shape, as before this stage). A long series scrolls sideways inside the row (snap; app.js keeps the current one in the middle, at once
   under reduced motion); a short one is centred (auto margins, which still let a long row scroll from its start).
   Over the phone's bottom edge: the safe-area inset. On phones the arrows move up above the strip. */
.ljosbox{--lb-sm:52px;--lb-bil:6px;--lb-kantur:12px}
@media (min-width:561px){.ljosbox{--lb-sm:72px;--lb-bil:8px;--lb-kantur:16px}}
.ljosbox[open].med-rod{grid-template-rows:auto minmax(0,1fr) auto}
.lb-rod{position:relative;display:flex;gap:var(--lb-bil);overflow-x:auto;overflow-y:hidden;overscroll-behavior:contain;scroll-snap-type:x proximity;scroll-padding-inline:var(--lb-kantur);scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.3) transparent;padding:6px max(var(--lb-kantur),env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(var(--lb-kantur),env(safe-area-inset-left));touch-action:pan-x}
.lb-rod>:first-child{margin-left:auto}
.lb-rod>:last-child{margin-right:auto}
.ljosbox .lb-sm{flex:none;position:relative;width:var(--lb-sm);height:var(--lb-sm);padding:0;border:0;border-radius:8px;background:rgba(255,255,255,.08);cursor:pointer;scroll-snap-align:center;opacity:.55;transition:opacity .15s}
.ljosbox .lb-sm img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;border-radius:inherit;box-shadow:none}
.ljosbox .lb-sm:hover{opacity:.85}
.ljosbox .lb-sm[aria-current="true"]{opacity:1;box-shadow:0 0 0 3px var(--gull)}
.ljosbox .lb-sm:focus-visible{outline:2px solid var(--hvitt);outline-offset:4px}
@media (prefers-reduced-motion:reduce){.ljosbox .lb-sm{transition:none}}
@media (max-width:560px){
  .ljosbox.med-rod .fyrri,.ljosbox.med-rod .naesta{bottom:calc(var(--lb-sm) + 18px + 14px + env(safe-area-inset-bottom))}
}

/* ==== stage 13 "myndahraði" (2026-11-26): the lightbox's picture at once (app.js lbMynd, public/lb-mynd.js) ====
   The big picture sits in .lb-ramm, which fills the figure's picture row and is a size container. A picture of known
   shape (.lb-lagad; --lb-b its width in px, --lb-hl width/height, set by app.js through the CSSOM, as w2.js does) gets
   that shape from the first frame: as wide as fits (the row's width, its height times the shape, never wider than the
   picture's own size, as before: never enlarged), whatever file is in it, so the small file shown first and the full
   file that replaces it fill the same box (no layout shift). The small file is softly blurred (.lb-smatt) until the
   full one is decoded; the blur fades out, at once under reduced motion. Without a known shape: as before. */
.ljosbox .lb-ramm{justify-self:stretch;align-self:stretch;min-height:0;min-width:0;display:grid;place-items:center;container-type:size}
.ljosbox .lb-ramm img{transition:filter .25s ease-out}
.ljosbox .lb-ramm img.lb-lagad{width:min(100cqw,var(--lb-b),100cqh * var(--lb-hl));height:auto;aspect-ratio:var(--lb-hl)}
.ljosbox .lb-ramm img.lb-smatt{filter:blur(10px)}
@media (prefers-reduced-motion:reduce){.ljosbox .lb-ramm img{transition:none}}
