/*
 * navigatus's public site (V9A's P14g; docs/batches/v9a.md Q134–Q137; docs/decisions.md D48), over the site kit's
 * styles on every page the Cms draws (Shell's Site\SiteStyles).
 *
 * - The photographs are the kit's: in the navy duotone in the colour style, the palette on the site's grounds
 *   (config/app.php `brand.surfaces`, the site kit 1.1's U78; V27's Q365, docs/decisions.md D194), in its warm black and
 *   white in the monochrome style. D48's own rule drew them in full colour in the colour style (`--cw-photo-filter: none`,
 *   `brightness(.9)` in the dark theme): it is gone, so the kit's rule holds wherever the palette's grounds are off too.
 * - A member's screen is a page, not a photograph: never in the duotone (the mosaic's window, the closing call's, the
 *   bento's pictures and the parts' rows, which V9A's pages draw with a member's screens), in colour in the colour style.
 * - The cards of the platform's parts take the brand's navy, light, in the colour style; the kit's warm greys in the
 *   monochrome one.
 * - The parts' rows (the Shell's FamiliesBlock and its view, Application/Views/cms/blocks/families.php): a subtitle under
 *   the part's name, its paragraphs at the card's foot, and the member's screen drawn whole beside it (`nv-shot`), at its
 *   own proportions, nothing cropped and nothing on it.
 */

[data-cc-style="color"] {
  --cw-tint-1: color-mix(in srgb, var(--cc-pal-light) 16%, #f7f6f3);
  --cw-tint-2: color-mix(in srgb, var(--cc-pal-light) 26%, #f4f3ef);
  --cw-tint-3: color-mix(in srgb, var(--cc-pal-light) 36%, #f1f0ec);
}
[data-cc-style="color"][data-bs-theme="dark"],
[data-cc-style="color"] [data-bs-theme="dark"] {
  --cw-tint-1: color-mix(in srgb, var(--cc-pal-deep) 55%, #141414);
  --cw-tint-2: color-mix(in srgb, var(--cc-pal-deep) 70%, #141414);
  --cw-tint-3: color-mix(in srgb, var(--cc-pal-deep) 85%, #141414);
}

/* the part's card: its name, the subtitle under it, the paragraphs at its foot */
.cw-tint .nv-part-sub { margin: 12px 0 0; padding: 0; max-width: 30ch; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.35; letter-spacing: -.01em; color: var(--cc-ink); }
.cw-tint .nv-part-words { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.cw-tint .nv-part-words p { margin: 0; padding: 0; max-width: 46ch; font-size: 15px; line-height: 1.55; }
.nv-parts .cw-tint h3 { max-width: 14ch; }

/* the member's screen, whole: its own proportions, on the page's surface, framed */
.cw-fam-row > .cw-photo.nv-shot { min-height: 0; align-self: center; border: 1px solid var(--cc-line); background: var(--cc-surface); box-shadow: var(--cc-shadow-lg); }
.cw-fam-row .cw-photo.nv-shot:hover > img { transform: none; }
.cw-fam-row { min-height: 0; }

/* the mosaic's screen and the closing call's: a member's page, not a photograph */
.cw-window-body .cw-photo > img, .cw-cta2-ui .cw-photo > img { filter: none; }
/* the bento's and the parts' rows' screens on V9A's pages, in colour in the colour style as before, out of the duotone */
[data-cc-style="color"] :is(.cw-bento-visual > .cw-photo, .cw-photo.nv-shot) > img { filter: none; }

/* a part's row and its grid read as one: the grid right under the row */
.cw-section.nv-parts:has(+ .cw-section.is-tight) { padding-bottom: 20px; }
.nv-parts + .cw-section.is-tight { padding-top: 0; }

/* the closing call's number on the brand's navy, in the colour style */
[data-cc-style="color"] .cw-cta2-stat { background: var(--cc-pal-deep); }
[data-cc-style="color"] .cw-cta2-stat span { color: color-mix(in srgb, var(--cc-pal-light) 70%, #ffffff); }

/* a post's article: its blocks spaced as a page's are; the kit spaces those straight under .cw-amain alone, not those in a
   structured type's zone, .cw-part (CONCORDIA-ADOPTION.md A-04) */
.cw-amain > .cw-part > .cw-section, .cw-amain > .cw-part > .cms-block > .cw-section { margin: 0 0 40px; }
.cw-amain > .cw-part > .cw-section:last-child, .cw-amain > .cw-part > .cms-block:last-child > .cw-section { margin-bottom: 0; }


/* the site's film under Acasă's opening (V27's task 4; Q366; D86): the site kit 1.1's player, under the section's head */
.shl-site-video-player { max-width: 1040px; margin: 0 auto; }
