/* Case page: a case's own page: title and meta, story, photo, photo appeal, case details, share row,
   news coverage, previous/next and the pager. */

.ncc-crumbs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: content-box; /* same box model as the columns below, so the text lines up with the cards */
  
  margin: 0 auto;
  
}
.ncc-crumbs {
  display: flex;
  align-items: center;
  
  min-width: 0;
  
  color: var(--ncc-muted);
  
  line-height: 20px;
}
.ncc-pager { display: flex; flex: none; gap: 8px; }
.ncc-pager a {
  display: inline-flex;
  align-items: center;

  border-radius: var(--ncc-radius-control);
  color: var(--ncc-muted) !important;
  background: var(--ncc-muted-bg);
  box-shadow:none;
  position: relative;
  font-size: var(--ncc-step-small);
  font-weight: 500;
  text-decoration: none !important;
  transition: color var(--ncc-dur-fade) ease-out, background-color var(--ncc-dur-fade) ease-out;
}
.ncc-pager a::before { content: ""; position: absolute; } /* 32px visible, 44px hit area */
@media (hover: hover) {
  .ncc-pager a:hover { color: var(--ncc-ink) !important; background: var(--ncc-muted-bg); }
}
.ncc-crumbs a { position: relative; color: var(--ncc-muted) !important; text-decoration: none !important; }
.ncc-crumbs a { display: inline-flex; align-items: center; gap: 2px; }
.ncc-crumbs a > .ncc-icon { display: none; } /* desktop reads Cases › Name; the back chevron is for phones, where the name is dropped */
.ncc-crumbs a::before { content: ""; position: absolute; inset: -12px -6px; } /* 20px text, 44px hit area */
@media (hover: hover) {
  .ncc-crumbs a:hover { color: var(--ncc-ink) !important; }
}
.ncc-crumbs .ncc-icon { width: 14px; height: 14px; }
.ncc-crumbs span:last-child { color: var(--ncc-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.single-post .elementor-11993 [data-id="d3c9127"] {
  display: grid;
  grid-template-columns: minmax(320px, 560px) minmax(400px, 640px); /* the story keeps a readable measure; the photo yields */
  gap: 16px;
  align-items: start;
  width: auto; /* content-box + padding: 100% would overflow by the gutters */
  max-width: 1216px !important; /* 560 + 16 + 640: the columns' own maximum, so the pair sits centred */
  margin: 0 auto;
  padding: 16px var(--ncc-gutter) 32px;
  box-sizing: content-box;
}
body.single-post .elementor-11993 [data-id="e4a2e3f"] {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: none !important;
  width: auto;
  max-width: none;
  padding: 0;
}
body.single-post .elementor-11993 [data-id="11ebf58"] > .elementor-widget-container { display: flex; flex-direction: column; gap: 0; } /* interfaces.dev frame around the photo */ /* flat: the photo stands on the page, captions below it */
.ncc-photo-card { padding: 0; text-align: start; background: none; box-shadow:none; border-radius: 0; } /* the photo runs to the card edge; the note below carries the inset */
body.single-post .elementor-11993 :is([data-id="c90acd0"], [data-id="cc1df52"], [data-id="11ebf58"]) { margin-bottom: 0 !important; }
body.single-post .elementor-11993 [data-id="11ebf58"]:not(:has(> .elementor-widget-container > *)) { display: none !important; } /* nothing to show: Elementor still prints the wrapper; drop it so the column gap doesn't double */ /* Elementor's default widget spacing would split the card */
.ncc-photo-card img,
body.single-post .elementor-11993 .elementor-widget-theme-post-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0; /* inside the 16px frame */
  background: var(--ncc-muted-bg);
  outline: 1px solid var(--ncc-edge); outline-offset: -1px; /* the image edge rule: 10% black / 10% white, inset */
  -webkit-user-drag: none; /* phones swipe this column to the previous/next case; a slow drag on the portrait must not turn into iOS's image drag */
}
.ncc-photo-frame, body.single-post .elementor-11993 [data-id="11ebf58"] > .elementor-widget-container > * { overflow: hidden; } /* the frame clips whatever it holds (img, picture, link, placeholder) to the inner 12px */
.ncc-photo-frame .lglf-ph { aspect-ratio: 16 / 10; height: auto; border-radius: 0; } /* no photo: the placeholder from auto-media.php */
.ncc-photo-frame .lglf-ph.lglf-ph--facts { aspect-ratio: 4 / 5; height: auto; } /* no photo: the frame a portrait would fill, asking for one */
.ncc-story-foot { display: flex; flex-direction: column; gap: 16px; padding: 20px 24px 24px; background: transparent; } /* last section: photo appeal and share row */
.ncc-story-foot .ncc-share { padding: 0; }
.ncc-news { display: flex; flex-direction: column; gap: 12px; margin: 0; } /* the column's 32px gap above and below, as every section */
html[data-theme] .ncc-news-title { margin: 0 !important; color: var(--ncc-ink); font: 500 var(--ncc-text-xl)/1.4 var(--ncc-font) !important; letter-spacing: 0 !important; } /* 20px, as "Photos" and "Case details" */
.ncc-video-card { padding: 0; background: transparent; box-shadow: none; }
.ncc-video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--ncc-media-radius); isolation: isolate; background: var(--ncc-media-bg); }
.ncc-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ncc-video-play { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ncc-video-play img { display: block; width: 100%; height: 100%; object-fit: cover; outline: 1px solid var(--ncc-edge); outline-offset: -1px; } /* YouTube's 4:3 poster carries black bars: cover crops them */
.ncc-video-icon { position: absolute; top: 50%; left: 50%; width: 68px; height: 48px; translate: -50% -50%; transition: scale var(--ncc-dur-press) var(--ncc-ease-out); }
.ncc-video-play:focus-visible { outline: 2px solid var(--ncc-focus); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .ncc-video-play:hover .ncc-video-icon { scale: 1.08; } } /* mouse only, and no size change under reduced motion */
.ncc-video-card { display: flex; flex-direction: column; gap: 8px; }
html[data-theme] .ncc-video-src { margin: 0; font-size: var(--ncc-step-small); line-height: 1.45; }
.ncc-coverage { padding: 0; background: none; box-shadow: none; }
.ncc-coverage ul { display: flex; flex-direction: column; gap: 4px; margin: 0 -8px !important; padding: 0 !important; list-style: none; } /* the rows' 8px padding hangs outside the column, so thumbnails line up with the text above */
.ncc-coverage li { margin: 0 !important; }
html[data-theme] main .ncc-coverage a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--ncc-radius-menu); color: var(--ncc-ink); background: none; box-shadow: none; text-decoration: none; transition: background-color var(--ncc-dur-fade) ease-out; -webkit-tap-highlight-color: transparent; }
html[data-theme] main .ncc-coverage a:active { background: var(--ncc-muted-bg); }
@media (hover: hover) {
  html[data-theme] main .ncc-coverage a:hover { background: var(--ncc-muted-bg); }
}
.ncc-coverage-thumb { display: flex; flex: none; align-self: stretch; align-items: center; justify-content: center; width: calc(var(--ncc-step-body) * 1.45 + 2px + var(--ncc-step-small) * 1.45); min-height: calc(var(--ncc-step-body) * 1.45 + 2px + var(--ncc-step-small) * 1.45); border-radius: var(--ncc-radius-item); color: var(--ncc-secondary); background: var(--ncc-muted-bg); }
.ncc-coverage-thumb svg { width: 20px; height: 20px; } /* the tile is as tall as the title + source lines and sits 8px in on every side, so its 5px corner runs parallel to the row's 13px one (13 − 8); a headline that wraps makes the row taller and the tile grows with it, same width, so the inset stays 8px all round */
html[data-theme] main .ncc-coverage a:active .ncc-coverage-thumb { background: var(--ncc-surface); }
@media (hover: hover) { html[data-theme] main .ncc-coverage a:hover .ncc-coverage-thumb { background: var(--ncc-surface); } } /* the row turns the tile's grey on hover: the tile steps to the surface so it stays a tile */
.ncc-coverage-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ncc-coverage-title { display: -webkit-box; overflow: hidden; font-size: var(--ncc-step-body); line-height: 1.45; font-weight: 500; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.ncc-coverage-source { color: var(--ncc-secondary); font-size: var(--ncc-step-small); line-height: 1.45; }
.ncc-coverage a > svg { flex: none; align-self: flex-start; width: 16px; height: 16px; margin-top: calc((var(--ncc-step-body) * 1.45 - 16px) / 2); color: var(--ncc-secondary); } /* top right, centred on the headline's first line, however many lines it runs */
.ncc-photo-note { margin: 0; padding: 0; text-wrap: auto; } /* in the story column, above the share row */ /* not `pretty`: WebKit evens out every line and wraps this well short of the edge */
main p.ncc-photo-note a { font-size: inherit; line-height: inherit; text-decoration-thickness: 1px; text-decoration-skip-ink: auto; }
body.single-post .elementor-11993 [data-id="fb7d3a5"] {
  container-type: inline-size; /* the tip card stacks by the column's width, not the viewport's */
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow:none;
}
body.single-post .elementor-11993 [data-id="c90acd0"] {
  padding: 0 24px; /* the old card's side inset; the title's top lines up with the photo */
  border-radius: 0;
  background: transparent;
  box-shadow:none;
}
body.single-post .elementor-11993 [data-id="c90acd0"] h1 {
  margin: 0;

  text-wrap: balance;
}
body.single-post .elementor-11993 [data-id="c90acd0"] h1::before { display: none; }
body.single-post .elementor-11993 [data-id="cc1df52"] { max-width: none; font-size: var(--ncc-step-body); line-height: 1.55; }
.ncc-story {
  padding: 16px 24px 24px; /* margins would collapse through and open a gap under the title */
  border-radius: 0;
  background: transparent;
  box-shadow:none;
  color: var(--ncc-secondary);
}
.ncc-story p { margin: 0 0 16px; max-width: 64ch; font-size: var(--ncc-text-base); line-height: 1.65; overflow-wrap: break-word; } /* long-form: plain wrapping, no balance/pretty */
.ncc-story a { color: var(--ncc-ink); }
.ncc-share { display: flex; margin: 0; line-height: 18px; }
.ncc-share-buttons { display: flex; gap: 8px; }
.ncc-share-buttons :is(a, button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;

  padding: 0;
  border: 0;

  cursor: pointer;
  text-decoration: none !important;
  transition: color var(--ncc-dur-fade) ease-out, background-color var(--ncc-dur-fade) ease-out;
}
.ncc-share-buttons :is(a, button)::before { content: ""; position: absolute; } /* 44px hit area */
.ncc-share-buttons svg { width: 16px; height: 16px; }
.ncc-share-buttons svg[fill="none"] { width: 18px; height: 18px; } /* the outline glyphs (email, text, link) sit 2px larger so they match the solid Facebook and X marks optically */
.ncc-share-note { flex: 1 1 100%; min-height: 0; text-align: start; }
.ncc-share-buttons .ncc-icon { stroke-width: 2; width: 16px; height: 16px; }
.ncc-share-note:empty { height: 0; margin-top: -8px; overflow: hidden; } /* stays in the tree so the status announces */
@media (max-width: 767px) {
  body.single-post .elementor-11993 [data-id="d3c9127"] { grid-template-columns: minmax(0, 1fr); }
  body.single-post .elementor-11993 [data-id="e4a2e3f"] { display: contents; } /* photo card and share row become grid items, so the share row can drop below the story */
  /* the photo fills the column, as its card does in the one-column grid: capped at 440px (until 2026-11-16) it shrank and sat to the left on screens from 480px, after a tap on a full-width card */
  .ncc-photo-frame .lglf-ph { aspect-ratio: auto; height: 140px; }
  .ncc-crumbs-row { flex-wrap: wrap; gap: 12px; }
  .ncc-crumbs > :not(a) { display: none; } /* phones: "Cases" alone; the h1 names the case just below, so the truncated repeat goes */
  .ncc-crumbs a > .ncc-icon { display: block; margin-left: -4px; } /* ‹ Cases: reads as back to the list */
  .ncc-crumbs { flex: 1 1 160px; }
  .ncc-photo-note { padding-inline: 0; }
  .ncc-story-foot { padding-inline: 0; }
  body.single-post .elementor-11993 [data-id="c90acd0"] { padding: 0; } /* phones: only the grid gap separates the photo and the title */ /* phones: the flat sections line up with the photo at the page gutter */
  .ncc-story { padding: 16px 0 24px; } /* flush with the title and photo at the page gutter */
  .ncc-share-buttons :is(a, button)::before { display: none; }
}
.ncc-case-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
body.single-post .elementor-11993 [data-id="c90acd0"] > .elementor-widget-container { flex-wrap: wrap; } /* name left, chips right; a long name pushes the chips to their own line */
body.single-post .elementor-11993 [data-id="c90acd0"] > .elementor-widget-container > h1 { flex: 1 1 auto; min-width: 0; }
@media (min-width: 768px) {
  body.single-post .elementor-11993 [data-id="d3c9127"] { display: flex; flex-direction: column; gap: 24px; max-width: 668px !important; padding: 20px var(--ncc-gutter) 56px; }
  body.single-post .elementor-11993 [data-id="e4a2e3f"] { display: contents; }
  body.single-post .elementor-11993 [data-id="c90acd0"] { padding: 0; }
  .ncc-story { padding: 20px 0 8px; }
  .ncc-story p { max-width: none; font-size: var(--ncc-text-base); line-height: 1.6; color: var(--ncc-secondary); }
  .ncc-story a { color: var(--ncc-secondary); text-decoration-color: var(--ncc-border-strong); text-underline-offset: 3px; }
  .ncc-story-foot, .ncc-photo-note { padding-inline: 0; }
  body.single-post .elementor-11993 [data-id="11ebf58"] { width: 100%; max-width: none; }
}
.ncc-share-note { font-variant-numeric: tabular-nums; } /* case numbers only; dates in chips and card meta stay proportional so the digits track like the words */
body.single-post .elementor-11993 :is([data-id="cc1df52"], [data-id="cc1df52"] > .elementor-widget-container):has(> .ncc-story) { display: flex; flex-direction: column; }
body.single-post .ncc-story { padding-block: 20px 0; }
body.single-post :is(.ncc-story-foot) { margin-block: 0; }
body.single-post :is(.ncc-story-foot) { padding-block: 0; }
.ncc-crumbs-row { max-width: var(--ncc-max) !important; padding: 24px var(--ncc-gutter) 0 !important; }
.ncc-crumbs { height: auto; gap: 8px; font-size: var(--ncc-step-small); }
.ncc-crumbs .ncc-icon { flex: none; }
.ncc-crumbs span[aria-current] { color: var(--ncc-ink); }
.ncc-crumb-all { display: none; }
html[data-theme] .ncc-pager a { gap: 4px; height: 36px !important; padding: 0 12px 0 8px !important; }
html[data-theme] .ncc-pager a[data-dir="next"] { padding: 0 8px 0 12px !important; }
.ncc-pager .ncc-icon { width: 16px; height: 16px; }
.ncc-pager a::before { inset: -4px 0; }
.ncc-more-cases { display: none; }

body.single-post .elementor-11993 [data-id="c90acd0"] > .elementor-widget-container { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 14px; }
html[data-theme] body.single-post .elementor-11993 [data-id="c90acd0"] h1 { color: var(--ncc-ink); font: 500 var(--ncc-step-display-case)/1.05 var(--ncc-serif) !important; letter-spacing: -0.01em; }
html[data-theme] body.single-post .elementor-11993 [data-id="11ebf58"] > .elementor-widget-container { padding: 0; border-radius: 0; background: none; box-shadow:none; }
html[data-theme] body.single-post .elementor-11993 [data-id="11ebf58"] > .elementor-widget-container > *, .ncc-photo-frame { border-radius: 0; }
html[data-theme] :is(.ncc-photo-card img, body.single-post .elementor-11993 .elementor-widget-theme-post-featured-image img) { aspect-ratio: 4 / 5; border-radius: 0; background: var(--ncc-media-bg); }
html[data-theme] :is(.ncc-photo-card, body.single-post .elementor-11993 .elementor-widget-theme-post-featured-image) img.ncc-fit { object-fit: scale-down; background: var(--ncc-media-bg) center / cover no-repeat; } /* small or wide photos (_lglf_fit): whole and never enlarged, over a blurred copy of themselves (the img's inline background-image) */
html[data-theme] .ncc-photo-note { max-width: 60ch; color: var(--ncc-muted); font-size: var(--ncc-step-small); line-height: 1.5; }
main p.ncc-photo-note a { color: var(--ncc-secondary) !important; text-underline-offset: 3px; }
html[data-theme] body.single-post .elementor-11993 :is([data-id="cc1df52"], [data-id="cc1df52"] > .elementor-widget-container):has(> .ncc-story) { gap: 32px; }
html[data-theme] body.single-post .ncc-story { padding: 0 !important; color: var(--ncc-body); }
html[data-theme] body.single-post .ncc-story p { max-width: 38em; /* about 75 characters a line (the 680px column ran 85; Inter's wide 0 makes 68ch the full 686px) */ margin: 0 0 18px; color: var(--ncc-body); font-size: var(--ncc-step-body); line-height: 1.7; }
.ncc-story p:last-child { margin-bottom: 0; }
html[data-theme] .ncc-share { flex-direction: column; align-items: flex-start; gap: 10px; padding: 0; color: var(--ncc-muted); font-size: var(--ncc-step-small); }
.ncc-share-label { font-weight: 500; }
html[data-theme] .ncc-share-buttons :is(a, button) { width: 40px; height: 40px; border-radius: var(--ncc-radius-control) !important; color: var(--ncc-secondary) !important; background: var(--ncc-muted-bg) !important; box-shadow:none !important; }
html[data-theme="dark"] .ncc-share-buttons :is(a, button) { box-shadow:none !important; }
@media (hover: hover) {
  html[data-theme] .ncc-share-buttons :is(a, button):hover { color: var(--ncc-ink) !important; background: var(--ncc-hover-btn) !important; }
}
.ncc-share-buttons :is(a, button)::before { inset: 0; }
@media (min-width: 768px) and (max-width: 1024px) {
  html[data-theme] body.single-post .elementor-11993 [data-id="d3c9127"] { padding: 32px var(--ncc-gutter) 80px; }
  html[data-theme] :is(.ncc-photo-card img, body.single-post .elementor-11993 .elementor-widget-theme-post-featured-image img) { aspect-ratio: 4 / 5; }
  html[data-theme] body.single-post .elementor-11993 [data-id="c90acd0"] h1 { font-size: var(--ncc-step-display-case) !important; }
}
@media (min-width: 768px) { /* photo beside the story from tablet width up: the name stays on the first screen */
  html[data-theme] body.single-post .elementor-11993 [data-id="d3c9127"] { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 4.4vw, 4rem); align-items: start; max-width: var(--ncc-max) !important; padding: 40px var(--ncc-gutter) 96px; }
  html[data-theme] body.single-post .elementor-11993 [data-id="e4a2e3f"] { display: flex; flex-direction: column; gap: 24px; grid-column: 1; grid-row: 1; } /* the media column is first in the template too (2026-11-12), so the source order and the screen agree */
  html[data-theme] body.single-post .elementor-11993 [data-id="fb7d3a5"] { display: flex; flex-direction: column; gap: 32px; grid-column: 2; grid-row: 1; max-width: 680px; }
  body.single-post .elementor-11993 [data-id="c90acd0"] h1 { text-box: trim-start cap alphabetic; } /* the name's cap height lines up with the top of the photo beside it */
}
@media (max-width: 767px) {
  .ncc-crumbs-row { padding: 12px var(--ncc-gutter) 0 !important; }
  .ncc-pager, .ncc-crumbs > a:not(.ncc-crumb-home) { display: none !important; }
  /* opened from the map (?from=map): the row's one link is Back to map, in the place and look of "All cases" */
  .ncc-crumbs-row:has(a[data-dir="map"]) .ncc-crumbs { display: none; }
  .ncc-crumbs-row:has(a[data-dir="map"]) .ncc-pager { display: flex !important; }
  html[data-theme] .ncc-crumbs-row .ncc-pager a[data-dir="map"] { gap: 4px; height: auto !important; min-height: 44px; margin-left: -4px; padding: 0 !important; background: none !important; color: var(--ncc-ink) !important; font-size: var(--ncc-step-body); font-weight: 500; }
  html[data-theme] .ncc-crumbs-row .ncc-pager a[data-dir="map"] .ncc-icon { width: 18px; height: 18px; }
  .ncc-crumb-cases { display: none; }
  .ncc-crumb-all { display: inline; }
  html[data-theme] .ncc-crumbs a.ncc-crumb-home { gap: 4px; min-height: 44px; margin-left: -4px; color: var(--ncc-ink) !important; font-size: var(--ncc-step-body); font-weight: 500; }
  .ncc-crumbs a.ncc-crumb-home > .ncc-icon { display: block; width: 18px; height: 18px; margin: 0; }
  html[data-theme] body.single-post .elementor-11993 [data-id="d3c9127"] { gap: 24px; padding: 8px var(--ncc-gutter) 0; }
  html[data-theme] :is(.ncc-photo-card img, body.single-post .elementor-11993 .elementor-widget-theme-post-featured-image img) { aspect-ratio: 4 / 5; border-radius: 0; }
  html[data-theme] body.single-post .elementor-11993 [data-id="11ebf58"] > .elementor-widget-container, .ncc-photo-frame { border-radius: 0 !important; }
  body.single-post .elementor-11993 [data-id="c90acd0"] > .elementor-widget-container { gap: 8px; }
  html[data-theme] body.single-post .elementor-11993 [data-id="fb7d3a5"] { gap: 20px; }
  html[data-theme] body.single-post .elementor-11993 [data-id="c90acd0"] h1 { font-size: var(--ncc-step-display-case) !important; line-height: 1.1 !important; }

  html[data-theme] body.single-post .ncc-story p { font-size: var(--ncc-step-body); line-height: 1.65; }
  html[data-theme] .ncc-share { flex-direction: column; align-items: stretch; gap: 10px; color: var(--ncc-secondary); font-size: var(--ncc-step-small); }
  .ncc-share-buttons { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  html[data-theme] .ncc-share-buttons :is(a, button) { width: auto; height: 48px; border-radius: var(--ncc-radius-control) !important; color: var(--ncc-ink) !important; box-shadow:none !important; }
  .ncc-share-buttons svg { width: 20px; height: 20px; }
  .ncc-share-buttons svg[fill="none"] { width: 22px; height: 22px; }
  .ncc-more-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 40px var(--ncc-gutter) 0; }
  .ncc-more-cases a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; color: var(--ncc-ink); text-decoration: none; -webkit-tap-highlight-color: transparent; }
  html[data-theme="dark"] .ncc-more-cases a { box-shadow:none; }
  .ncc-more-cases a.ncc-more-next { grid-column: 2; align-items: flex-end; text-align: right; }
}
@media (max-width: 767px) {
  @media (prefers-reduced-motion: no-preference) {
    .ncc-more-cases a:active { scale: 0.97; }
}
}
@media (min-width: 768px) and (max-width: 1024px) { /* tablets: previous/next close the page, as on phones; the pills above the name read as a label */
  .ncc-pager { display: none !important; }
  .ncc-more-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 48px var(--ncc-gutter) 0; }
  .ncc-more-cases a { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; color: var(--ncc-ink); text-decoration: none; }
  .ncc-more-cases a.ncc-more-next { grid-column: 2; align-items: flex-end; text-align: right; }
}
@media (max-width: 1024px) {
  .ncc-more-dir { display: inline-flex; align-items: center; gap: 2px; color: var(--ncc-secondary); font-size: var(--ncc-step-small); font-weight: 500; }
  .ncc-more-prev .ncc-more-dir { margin-left: -4px; }
  .ncc-more-next .ncc-more-dir { margin-right: -4px; }
  .ncc-more-dir .ncc-icon { width: 16px; height: 16px; }
  .ncc-more-name { font: 500 var(--ncc-step-body)/1.55 var(--ncc-serif); }
  .ncc-more-cases { margin-bottom: 34px; } /* with the links' own 14px: the 48px the other pages leave above the footer (it was 14px) */
}
html[data-theme] .ncc-more-cases a { padding-inline: 0; } /* phones: previous/next keep their 72px tap height */
html[data-theme] .ncc-more-cases a { border-radius: var(--ncc-radius-control); background: none; box-shadow:none; }

/* The case's photo and its placeholder: slightly rounded corners, as on the cards */
html[data-theme] :is(.ncc-photo-frame, .ncc-photo-frame img, .ncc-photo-frame .lglf-ph, .ncc-photo-card img) { border-radius: var(--ncc-media-radius) !important; }
html[data-theme] .ncc-photo-frame { overflow: hidden; }

/* Case photos: the old site's other pictures of a case, between the story and the tip ask. Justified rows: each photo
   keeps its own shape (no crop, no bars), a full row runs edge to edge at one height, and a short last row stays at the
   target height instead of stretching (the ::after filler takes its spare width). A lone photo fills the column. */
.ncc-photos { --row-h: 280px; display: flex; flex-direction: column; gap: 12px; margin: 0; } /* below: the same 50px the story leaves above the tip ask (its last paragraph's 18px + the column's 32px gap) */
.ncc-photos:has(li:only-child) { --row-h: 480px; }
html[data-theme] .ncc-photos-title { margin: 0 !important; color: var(--ncc-ink); font: 500 var(--ncc-text-xl)/1.4 var(--ncc-font) !important; letter-spacing: 0 !important; } /* 20px: the site's section-heading size, as "Case details" */
.ncc-photos-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px 12px; margin: 0 !important; padding: 0 !important; list-style: none; }
.ncc-photos-grid::after { content: ""; flex: 1000 1 0; } /* the last row's spare width */
.ncc-photos-grid > li { flex: var(--ar, 1) 1 calc(var(--ar, 1) * var(--row-h)); min-width: 0; max-width: 100%; margin: 0 !important; padding: 0; }
.ncc-photos figure { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.ncc-photos-open { display: block; border-radius: var(--ncc-media-radius); }
.ncc-photos-open img { display: block; width: 100%; height: auto !important; border-radius: var(--ncc-media-radius) !important; outline: 1px solid rgb(0 0 0 / 0.1); outline-offset: -1px; background: var(--ncc-media-bg); }
html[data-theme="dark"] .ncc-photos-open img { outline-color: rgb(255 255 255 / 0.1); }
.ncc-photos figcaption { color: var(--ncc-secondary); font-size: var(--ncc-step-small); line-height: 1.45; text-wrap: pretty; }
/* Photo lightbox (JS): the photo as large as the screen allows on a dark backdrop; close top right, previous/next at the
   sides when the case has several photos, the caption and "2 / 3" under the photo. Always dark, whatever the theme. */
.ncc-viewer { box-sizing: border-box; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; overflow: hidden; border: 0; color: #fff; background: rgb(0 0 0 / 0.94); } /* the shade is the dialog's own background, not ::backdrop: iOS Safari colours the strip behind the status bar from the fixed element at the top, and a backdrop left it white (2026-11-17) */
.ncc-viewer::backdrop { background: transparent; }
.ncc-viewer-stage { touch-action: pinch-zoom; } /* one-finger drags belong to the script (sideways for photos, down to close); pinching still zooms */
.ncc-viewer-stage:focus { outline: 0; }
.ncc-viewer-stage { display: grid; place-items: center; width: 100%; height: 100%; padding: 64px 72px 24px; box-sizing: border-box; }
.ncc-viewer-fig { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; margin: 0; }
.ncc-viewer img { display: block; width: auto; height: auto; max-width: min(100%, 1400px); max-height: calc(100dvh - 64px - 24px - 44px); border-radius: var(--ncc-media-radius); object-fit: contain; background: rgb(255 255 255 / 0.04); }
.ncc-viewer img.is-portrait-crop { height: min(calc(100dvh - 64px - 24px - 44px), 1000px); max-width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 767px) { .ncc-viewer img.is-portrait-crop { height: auto; width: 100%; max-height: calc(100dvh - 64px - 84px - 44px); } }
.ncc-viewer-bar { display: flex; align-items: baseline; justify-content: center; gap: 16px; max-width: 64ch; text-align: center; }
.ncc-viewer-bar[hidden] { display: none; }
.ncc-viewer-cap { color: rgb(255 255 255 / 0.85); font-size: var(--ncc-step-small); line-height: 1.45; text-wrap: pretty; }
.ncc-viewer-cap:empty { display: none; }
.ncc-viewer-count { flex: none; color: rgb(255 255 255 / 0.6); font-size: var(--ncc-step-small); font-variant-numeric: tabular-nums; }
.ncc-viewer-btn { position: fixed; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: rgb(255 255 255 / 0.12); cursor: pointer; transition: background-color var(--ncc-dur-fade) ease-out; -webkit-tap-highlight-color: transparent; }
.ncc-viewer-btn svg { width: 20px; height: 20px; }
.ncc-viewer-btn[hidden] { display: none; }
.ncc-viewer-btn:disabled { visibility: hidden; }
.ncc-viewer-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (hover: hover) { .ncc-viewer-btn:hover { background: rgb(255 255 255 / 0.22); } }
.ncc-viewer-close { top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); } /* clear of the notch and the status bar (the page sets viewport-fit=cover) */
.ncc-viewer-prev, .ncc-viewer-next { top: 50%; margin-top: -22px; }
.ncc-viewer-prev { left: max(16px, env(safe-area-inset-left)); }
.ncc-viewer-next { right: max(16px, env(safe-area-inset-right)); }
@media (max-width: 767px) {
  .ncc-viewer-stage { padding: 64px 12px 84px; } /* phones: the arrows sit under the photo, not over it */
  .ncc-viewer img { max-height: calc(100dvh - 64px - 84px - 44px); }
  .ncc-viewer-prev, .ncc-viewer-next { top: auto; bottom: max(20px, env(safe-area-inset-bottom)); margin: 0; }
  .ncc-viewer-prev { left: calc(50% - 56px); }
  .ncc-viewer-next { right: calc(50% - 56px); }
}
@media (prefers-reduced-motion: reduce) { .ncc-viewer-btn { transition: none; } }
@media (max-width: 767px) {
  .ncc-photos { --row-h: 200px; }
  .ncc-photos:has(li:only-child) { --row-h: 420px; }
  .ncc-photos-grid { gap: 16px 8px; }
  .ncc-photos-grid > li:only-child { flex-basis: 100%; } /* a lone photo fills the column instead of stopping short of its right edge */
}

/* ---------- Claude Design "Case page" (2026-11-12): a 400px photo with the case details under it, the category as a
   badge over the name, the tip ask as a grey panel. The details list (case-details.php) shows only what a case has.
   On phones the list follows the story: it is printed after the photo inside the media column, whose children become
   items of the page column there. ---------- */
html[data-theme] body.single-post :is(.ncc-photo-frame, .ncc-photo-frame img, .ncc-photo-frame .lglf-ph, .ncc-photo-card img) { border-radius: var(--ncc-radius-menu) !important; }
html[data-theme] .ncc-case-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; box-sizing: border-box; height: 28px; margin: 0 !important; padding: 0 12px; border: 1px solid var(--ncc-muted-bg); border-radius: var(--ncc-pill); color: var(--ncc-secondary); background: var(--ncc-muted-bg); font-size: var(--ncc-step-small); font-weight: 500; line-height: 1; }

.ncc-case-facts { display: flex; flex-direction: column; gap: 8px; box-sizing: border-box; min-width: 0; } /* in the story column, above the tip ask */
html[data-theme] .ncc-case-facts h2 { margin: 0 !important; color: var(--ncc-ink); font: 500 var(--ncc-text-xl)/1.4 var(--ncc-font) !important; letter-spacing: 0; } /* 20px: the site's section-heading size */
html[data-theme] .ncc-case-facts dl { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0 !important; } /* one fact per line: label, then value */
.ncc-case-facts dl > div { display: grid; grid-template-columns: minmax(0, 10em) minmax(0, 1fr); align-items: baseline; gap: 16px; min-width: 0; padding: 6px 0; } /* the value starts beside its label, however wide the column */
.ncc-case-facts dl > div.ncc-case-facts-wide { grid-template-columns: minmax(0, 1fr); gap: 2px; } /* a sentence of other details reads under its label, not squeezed beside it */
html[data-theme] .ncc-case-facts dt { margin: 0; color: var(--ncc-secondary); font-size: var(--ncc-step-small); font-weight: 400; line-height: 1.45; }
html[data-theme] .ncc-case-facts dd { min-width: 0; margin: 0; color: var(--ncc-ink); font-size: var(--ncc-step-small); font-weight: 500; line-height: 1.45; overflow-wrap: anywhere; }
html[data-theme] .ncc-case-facts-wide dd { font-weight: 400; }

html[data-theme] body.single-post .ncc-tip-card { box-sizing: border-box; gap: 16px; max-width: none; /* the story column's full width: one right edge for the story, the details and the ask */ padding: 24px; border-radius: var(--ncc-radius-menu); background: var(--ncc-muted-bg); }
html[data-theme] body.single-post .ncc-tip-card h2 { font: 500 var(--ncc-text-xl)/1.4 var(--ncc-font) !important; }
html[data-theme] body.single-post .ncc-tip-card p.ncc-muted { font-size: var(--ncc-step-small); line-height: 1.45; }
html[data-theme] body.single-post .ncc-tip-card p.ncc-urgent { display: flex; gap: 10px; margin-top: 10px !important; font-size: var(--ncc-step-small); line-height: 1.45; } /* a plain line with its warning icon: in a bordered box it looked like a third button above the two real ones */
.ncc-urgent > svg { flex: none; }
html[data-theme] body.single-post .ncc-tip-card .ncc-tip-buttons .ncc-button--ghost { box-sizing: border-box; border: 1px solid var(--ncc-control-border) !important; background: var(--ncc-surface) !important; box-shadow: none !important; } /* on the grey panel: a white button with a real border, as on the About page */
@media (hover: hover) {
  html[data-theme] body.single-post .ncc-tip-card .ncc-tip-buttons .ncc-button--ghost:hover { background: var(--ncc-band) !important; }
}
@media (min-width: 768px) {
  html[data-theme] body.single-post .elementor-11993 [data-id="d3c9127"] { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); column-gap: 56px; }
  html[data-theme] body.single-post .elementor-11993 [data-id="fb7d3a5"] { gap: 24px; }
  html[data-theme] body.single-post .ncc-share-buttons :is(a, button) { width: 44px; height: 44px; }
}
@media (min-width: 768px) and (min-height: 820px) {
  html[data-theme] body.single-post .elementor-11993 [data-id="e4a2e3f"] { position: sticky; top: var(--ncc-fixed-top); align-self: start; } /* the photo stays beside the story as it scrolls: the column under it is otherwise empty. Only where the window is tall enough to show the whole photo */
}
@media (min-width: 768px) and (max-width: 1023px) {
  html[data-theme] body.single-post .elementor-11993 [data-id="d3c9127"] { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 32px; } /* tablets: a fixed 400px photo left the story 264px, narrower than the photo */
}
@media (min-width: 1180px) {
  html[data-theme] body.single-post .elementor-11993 [data-id="d3c9127"] { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); } /* a larger portrait where the page is wide enough to keep the story at full measure */
}
@media (max-width: 767px) {
  html[data-theme] body.single-post .ncc-tip-card { padding: 20px; }
}
/* Case photo frame with more than one photo (lglf_case_gallery_html): a scroll-snap track, so phones swipe natively;
   arrows on hover-capable screens, dots under the frame everywhere */
.ncc-gallery .ncc-photo-frame { position: relative; }
.ncc-gallery-track { display: flex; gap: 12px; /* the photos sit apart while one slides in: touching, their rounded corners met in points (2026-11-17) */ margin: 0 !important; padding: 0 !important; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; list-style: none; touch-action: pan-x pan-y; }
.ncc-gallery-track::-webkit-scrollbar { display: none; }
.ncc-gallery-slide { position: relative; flex: 0 0 100%; min-width: 0; margin: 0 !important; scroll-snap-align: start; scroll-snap-stop: always; }
.ncc-gallery-slide > a { display: block; position: relative; overflow: hidden; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; } /* no long-press link menu: it fires mid-swipe */
.ncc-gallery-slide > a:focus-visible { outline: 2px solid var(--ncc-focus); outline-offset: -2px; }
html[data-theme] body .ncc-gallery-fit { aspect-ratio: 4 / 5; background: var(--ncc-media-bg); }
html[data-theme] body .ncc-gallery-fit img.ncc-gallery-bg { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0 !important; outline: 0; filter: blur(12px) brightness(0.6) saturate(0.85); scale: 1.2; } /* the photo's own blurred, darkened copy fills the portrait frame: drawn from the 150px thumbnail, already soft when stretched, so 12px of blur does what 24px did on the 300px file (Safari: blur cost grows with the radius) */
html[data-theme] body .ncc-gallery-fit img.ncc-gallery-img { position: relative; width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; border-radius: 0 !important; background: none !important; outline: 0; } /* !important: the portrait rule's grey fill would cover the blurred copy */ /* whole, never cropped */
.ncc-gallery-btn { position: absolute; top: 50%; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-top: -20px; padding: 0; border: 0; border-radius: 50%; color: #171717; background: rgb(255 255 255 / 0.92); box-shadow: 0 1px 2px rgb(0 0 0 / 0.2), 0 4px 12px -4px rgb(0 0 0 / 0.3); cursor: pointer; opacity: 0; transition: opacity var(--ncc-dur-fade) ease-out, scale var(--ncc-dur-release) var(--ncc-ease-out); }
.ncc-gallery-btn svg { width: 20px; height: 20px; }
.ncc-gallery-prev { left: 12px; }
.ncc-gallery-next { right: 12px; }
.ncc-gallery-btn:disabled { visibility: hidden; }
.ncc-gallery-btn:focus-visible { opacity: 1; outline: 2px solid var(--ncc-focus); outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .ncc-gallery-btn:active { scale: 0.97; } }
@media (hover: hover) {
  .ncc-gallery:hover .ncc-gallery-btn { opacity: 1; }
}
.ncc-gallery-foot { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; }
html[data-theme] .ncc-gallery-cap { margin: 0; color: var(--ncc-secondary); font-size: var(--ncc-step-small); line-height: 1.45; text-wrap: pretty; }
.ncc-gallery-dots { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; } /* the previews: one per photo, scrolling sideways if there are many */
.ncc-gallery-dots::-webkit-scrollbar { display: none; }
.ncc-gallery-dot { position: relative; flex: none; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: var(--ncc-media-bg); cursor: pointer; opacity: 0.55; transition: opacity var(--ncc-dur-fade) ease-out; -webkit-tap-highlight-color: transparent; }
html[data-theme] body.single-post .ncc-gallery .ncc-gallery-dot img { display: block; width: 100% !important; height: 100% !important; aspect-ratio: auto !important; object-fit: cover; border-radius: 6px !important; background: none !important; outline: 0 !important; } /* the photo frame's 13px corners and edge line are for the big photo, not these */
.ncc-gallery-dot::after { content: ""; position: absolute; inset: 0; border-radius: 6px; pointer-events: none; }
.ncc-gallery-dot[aria-current="true"] { opacity: 1; }
.ncc-gallery-dot[aria-current="true"]::after { box-shadow: inset 0 0 0 2px var(--ncc-ink), inset 0 0 0 4px var(--ncc-page); } /* the current photo: ringed inside its own edge (nothing outside it to clip), not only brighter */
.ncc-gallery-dot:focus-visible { opacity: 1; outline: 2px solid var(--ncc-focus); outline-offset: -2px; }
@media (hover: hover) {
  .ncc-gallery-dot:hover { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .ncc-gallery-btn, .ncc-gallery-dot { transition: none; }
}
html[data-theme] body .ncc-story > :last-child { margin-bottom: 0 !important; } /* the column's 32px gap is the space after the story, as between every other section (the last paragraph's 18px made it 50) */
@media (min-width: 768px) { html[data-theme] body.single-post .ncc-tip-card .ncc-tip-buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); } html[data-theme] body.single-post .ncc-tip-card .ncc-tip-buttons .ncc-button { width: auto; } } /* equal widths across the card; when two 280px buttons (the Crime Stoppers label's width) don't fit, they stack, still equal */
html[data-theme] body .ncc-case-badge { margin-bottom: 12px !important; } /* room between the category and the name: the name's tight leading left the tag nearly touching its capitals */

/* Phones: a case page arrives rising 12px as it fades in (base.css sets up the page transition): it has no entrances of
   its own, and on a phone it opens with the same photo the card had, so the rise is what shows the page changed. */
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  ::view-transition-new(root) { animation: var(--ncc-dur-travel) var(--ncc-ease-out) 60ms both ncc-vt-in; }
}
