/* Design tokens — per spec section 02/03 (BornToWin_Website_Spec 22.10.2026) */
:root {
    --purple: #63357B;
    --turquoise: #007C86; /* darkened from the brand #019CA8: white text on it needs 4.5:1 contrast (IS 5568 / WCAG AA) */
    --yellow: #FCB414;
    --text: #243044;
    --bg-light: #F8F6FA;
    --white: #FFFFFF;
    --line: #E5DDD8;

    --radius-img: 16px;
    --radius-btn: 10px;
    --content-max: 1180px;
    --gutter: 24px;
    --section-y: 80px;
    --font: "Assistant", "Segoe UI", Arial, sans-serif;
    --fs: 1; /* text size multiplier, set by the accessibility toolbar */
}

@media (max-width: 768px) {
    :root { --gutter: 20px; --section-y: 44px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: calc(var(--fs, 1) * 17px);
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--turquoise); }

h1, h2, h3 { color: var(--purple); line-height: 1.25; margin: 0 0 0.5em; }
/* --title-scale: section size preset (see .sec-title-*) */
h1 { font-size: calc(var(--fs, 1) * var(--title-scale, 1) * clamp(30px, 4.2vw, 50px)); font-weight: 800; }
h2 { font-size: calc(var(--fs, 1) * var(--title-scale, 1) * clamp(25px, 3vw, 34px)); font-weight: 700; }
h3 { font-size: calc(var(--fs, 1) * var(--title-scale, 1) * clamp(20px, 2vw, 24px)); font-weight: 700; }
p { margin: 0 0 1em; }
.center { text-align: center; }
.lead { font-size: 1.15em; }
.intro { max-width: 720px; margin-inline: auto; }

.container { max-width: var(--content-max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.tone-light { background: var(--bg-light); }

.skip-link { position: absolute; inset-inline-start: -9999px; }
.skip-link:focus { inset-inline-start: 8px; top: 8px; z-index: 100; background: var(--white); padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; box-shadow: 0 0 0 2px var(--text); } /* visible on light and dark backgrounds */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 50px; padding: 0 26px;
    border-radius: var(--radius-btn); border: 2px solid transparent;
    font-weight: 700; font-size: calc(var(--fs, 1) * 17px); text-decoration: none;
    transition: filter .15s, background .15s;
}
.btn:hover { filter: brightness(1.08); }
.btn-primary { background: var(--purple); color: var(--white); }
.btn-secondary { background: var(--turquoise); color: var(--white); }
.btn-outline { background: var(--white); color: var(--purple); border-color: var(--purple); }
.btn-outline:hover { background: var(--bg-light); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: calc(var(--fs, 1) * 15px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-row.center { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 20px; flex: 1; justify-content: space-between; }
.nav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.nav ul a { color: var(--text); text-decoration: none; font-weight: 600; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--purple); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch { font-weight: 600; color: var(--text); text-decoration: none; padding-inline: 8px; }
.nav-burger { display: none; background: none; border: 0; padding: 0; }

@media (max-width: 1080px) {
    .nav-burger { display: block; margin-inline-start: auto; width: 44px; height: 44px; cursor: pointer; position: relative; }
    .nav-burger span, .nav-burger span::before, .nav-burger span::after {
        position: absolute; inset-inline: 10px; height: 2px; background: var(--purple); content: "";
    }
    .nav-burger span { top: 21px; }
    .nav-burger span::before { top: -7px; inset-inline: 0; }
    .nav-burger span::after { top: 7px; inset-inline: 0; }
    .nav {
        display: none; position: absolute; top: 100%; inset-inline: 0;
        flex-direction: column; align-items: stretch; gap: 16px;
        background: var(--white); padding: 16px var(--gutter) 24px; border-bottom: 1px solid var(--line);
    }
    .nav ul { flex-direction: column; gap: 4px; }
    .nav ul a { display: block; padding: 10px 0; }
    .site-header.nav-open .nav { display: flex; }
    /* The action buttons stay visible: beside the logo, or as a second row on phones */
    .header-row { gap: 12px; }
    .header-actions { margin-inline-start: auto; }
    .nav-burger { order: 1; margin-inline-start: 0; }
}
@media (max-width: 640px) {
    .header-row { flex-wrap: wrap; row-gap: 0; }
    .nav-burger { margin-inline-start: auto; }
    .header-actions { order: 2; flex-basis: 100%; padding-bottom: 10px; }
    .header-actions .btn { flex: 1 1 0; min-width: 0; padding-inline: 6px; white-space: nowrap; }
}

/* Hero */
.hero { padding-block: calc(var(--section-y) * 0.75) var(--section-y); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-media { aspect-ratio: 4 / 3; object-fit: cover; }

/* Page header (inner pages) */
.page-header { padding-top: 32px; }
.page-header-box { background: var(--bg-light); border-radius: var(--radius-img); padding: 40px; }
.page-header-box h1 { margin-bottom: 4px; }
.page-header-box .lead { margin: 0; }

/* Image + text */
.media { width: 100%; border-radius: var(--radius-img); aspect-ratio: 3 / 2; object-fit: cover; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-img-start > .media { order: -1; }
.hero-grid > *, .split > * { min-width: 0; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 24px; }
.card-stack { display: grid; gap: 14px; }
.card {
    display: block; background: var(--white); border: 1px solid var(--line); border-radius: 12px;
    color: inherit; text-decoration: none; overflow: hidden;
}
.card-body { padding: 18px 22px; }
.card-body p { margin: 0; }
.card-body h3 { font-size: calc(var(--fs, 1) * var(--title-scale, 1) * 21px); margin-bottom: 4px; }
.card-link, .card-multi { display: flex; flex-direction: column; }
.card-link { transition: border-color .15s, box-shadow .15s, transform .15s; }
.card-link > *, .card-multi > * { flex-shrink: 0; }
.card-link .card-body, .card-multi .card-body { flex: 1 0 auto; display: flex; flex-direction: column; }
.card-link:hover, .card-link:focus-visible { border-color: var(--turquoise); box-shadow: 0 6px 18px rgba(36, 48, 68, .12); transform: translateY(-2px); }
/* pinned to the bottom, so the cue lines up across a row of cards */
.card-links { margin-top: auto; padding-top: 14px; display: grid; gap: 6px; justify-items: start; }
.card-more { color: var(--turquoise); font-weight: 700; }
a.card-more { text-decoration: none; }
a.card-more:hover { text-decoration: underline; }
.card-more span[aria-hidden] { display: inline-block; transition: transform .15s; }
.card-link:hover .card-more span[aria-hidden], a.card-more:hover span[aria-hidden] { transform: translateX(-4px); }
[dir="ltr"] .card-link:hover .card-more span[aria-hidden], [dir="ltr"] a.card-more:hover span[aria-hidden] { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .card-link, .card-more span[aria-hidden] { transition: none; } .card-link:hover { transform: none; } }
.card-media { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* Logos: each whole (contain, never cropped) in a same-size box, with an optional line of text under it */
.logo-grid { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px 20px; }
.logo-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.logo-link { display: flex; flex-direction: column; align-items: center; width: 100%; color: inherit; text-decoration: none; border-radius: 12px; }
.logo-box {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 110px; padding: 14px;
    background: var(--white); border: 1px solid var(--line); border-radius: 12px;
}
.logo-box img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.logo-text { margin-top: 10px; font-size: .94em; line-height: 1.4; }
.logo-link { transition: transform .15s; }
.logo-link:hover .logo-box, .logo-link:focus-visible .logo-box { border-color: var(--turquoise); box-shadow: 0 6px 18px rgba(36, 48, 68, .12); }
.logo-link:hover .logo-text { text-decoration: underline; }
@media (max-width: 640px) { .logo-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 18px 14px; } .logo-box { height: 90px; padding: 10px; } }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 32px 0 0;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.steps li { counter-increment: step; background: var(--white); border-radius: 12px; padding: 24px; border: 1px solid var(--line); }
.steps li::before {
    content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px;
    border-radius: 50%; background: var(--turquoise); color: var(--white); font-weight: 800;
}
.steps p { margin: 0; }

/* Rich text */
.prose { max-width: 820px; overflow-wrap: anywhere; } /* long URLs in legal text must wrap at 320px (WCAG 1.4.10) */
.prose ul { padding-inline-start: 1.2em; }
/* Preset text sizes editors can choose for part of a text, relative to the text around it (in body text: 15/21/26px) */
.text-sm { font-size: .88em; }
.text-lg { font-size: 1.25em; }
.text-xl { font-size: 1.5em; line-height: 1.4; }
.text-md { font-size: calc(var(--fs, 1) * 17px); } /* older content only: "normal" inside a larger span */
/* Text style presets (lib/textStyle.ts), on spans around any part of any text */
.ts-f-rubik { font-family: "Rubik", var(--font); }
.ts-f-heebo { font-family: "Heebo", var(--font); }
.ts-f-frank { font-family: "Frank Ruhl Libre", var(--font); }
.ts-f-varela { font-family: "Varela Round", var(--font); }
.ts-f-secular { font-family: "Secular One", var(--font); }
.ts-f-amatic { font-family: "Amatic SC", var(--font); }
.ts-w-400 { font-weight: 400; }
.ts-w-600 { font-weight: 600; }
.ts-w-700 { font-weight: 700; }
.ts-w-800 { font-weight: 800; }
.ts-c-purple { color: #63357B; }
.ts-c-turquoise { color: #007C86; }
.ts-c-dark { color: #243044; }
.ts-c-gray { color: #5B6474; }
.ts-c-red { color: #B42318; }
.ts-c-orange { color: #B54708; }
.ts-c-green { color: #2E7D32; }
.ts-c-blue { color: #1F5FA8; }

/* Section size presets chosen in the editor ("גודל כותרות" / "גודל טקסט"); buttons keep their own size */
.sec-title-sm { --title-scale: .82; }
.sec-title-lg { --title-scale: 1.2; }
.sec-text-sm { font-size: calc(var(--fs, 1) * 15px); }
.sec-text-lg { font-size: calc(var(--fs, 1) * 20px); }

/* Embedded (existing) forms */
.embed { width: 100%; border: 0; display: block; }

/* Site forms (components/FormView.tsx, run by /scripts/forms.js) */
.container.narrow { max-width: 820px; }
.site-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-img); padding: clamp(18px, 4vw, 36px); }
.site-form [hidden] { display: none !important; }
.form-steps { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0 0 24px; padding: 0 0 16px; border-bottom: 1px solid var(--line); counter-reset: step; font-size: calc(var(--fs, 1) * 15px); color: #5b6474; }
.form-steps li { counter-increment: step; }
.form-steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 26px; height: 26px; margin-inline-end: 8px; border-radius: 50%; background: var(--bg-light); border: 1px solid var(--line); font-weight: 700; }
.form-steps li[aria-current] { color: var(--purple); font-weight: 700; }
.form-steps li[aria-current]::before { background: var(--purple); border-color: var(--purple); color: var(--white); }
.form-page { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-page-title { padding: 0; margin-bottom: 12px; font-size: calc(var(--fs, 1) * 22px); font-weight: 700; color: var(--purple); }
.form-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px 20px; }
.form-grid > * { grid-column: 1 / -1; }
.form-grid > .form-field.half { grid-column: span 3; }
.form-grid > .form-field.third { grid-column: span 2; }
.form-heading { margin: 18px 0 6px; font-size: calc(var(--fs, 1) * 19px); }
.form-text p { margin: 0 0 .6em; }
.form-field { margin-bottom: 10px; }
.form-field > label, .form-group legend { display: block; margin-bottom: 4px; font-weight: 700; padding: 0; }
.form-field .req { color: #B3261E; }
.form-field :is(input:not([type=checkbox], [type=radio], [type=file]), select, textarea) {
    width: 100%; min-height: 46px; padding: 8px 12px; border: 1px solid #8A93A3; border-radius: 8px;
    font: inherit; color: var(--text); background: var(--white);
}
.form-field textarea { min-height: 90px; resize: vertical; }
.form-field input[dir=ltr] { text-align: right; } /* numbers typed left to right, aligned with the Hebrew fields */
.form-field.invalid :is(input, select, textarea, canvas) { border-color: #B3261E; }
.form-error { margin: 4px 0 0; color: #B3261E; font-size: calc(var(--fs, 1) * 15px); }
.form-error:empty { display: none; }
.form-help, .form-computed { display: block; margin: 4px 0 0; font-size: calc(var(--fs, 1) * 15px); color: #5b6474; }
.form-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px 16px; }
.form-options.inline { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.form-check { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; cursor: pointer; }
.form-check input { width: 20px; height: 20px; accent-color: var(--purple); flex: none; }
.form-signature canvas { display: block; width: 100%; max-width: 480px; height: 170px; border: 1px dashed #8A93A3; border-radius: 8px; background: var(--white); touch-action: none; }
.form-clear { margin-top: 6px; padding: 4px 0; border: 0; background: none; color: var(--turquoise); text-decoration: underline; font: inherit; cursor: pointer; }
.form-ages ol { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.form-ages li { display: flex; align-items: center; gap: 8px; }
.form-ages label { display: flex; align-items: center; gap: 6px; font-weight: 400; }
.form-field .form-ages input { width: 70px; min-height: 40px; padding: 6px 8px; border: 1px solid #8A93A3; border-radius: 8px; font: inherit; }
.form-hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 16px 0 0; font-weight: 700; color: #B3261E; }
.form-status:empty { display: none; }
.form-nav { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; margin-top: 20px; }
.form-nav [data-back] { margin-inline-end: auto; }
.form-nav .btn:disabled { opacity: .6; cursor: wait; }
.form-done { padding: 32px; text-align: center; font-size: 1.2em; font-weight: 700; color: var(--purple); background: var(--bg-light); border-radius: var(--radius-img); }
@media (max-width: 640px) {
    .form-grid > .form-field.half { grid-column: 1 / -1; }
    .form-nav .btn { flex: 1 1 100%; }
    .form-nav [data-back] { order: 1; }
}

/* CTA band */
.cta { background: var(--bg-light); }

/* Footer */
.site-footer { background: var(--purple); color: #E6E9EF; padding-block: 48px 20px; margin-top: 0; }
.site-footer a { color: #E6E9EF; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid p { margin: 0 0 6px; }
.footer-logo { height: 40px; width: auto; margin-bottom: 12px; background: var(--white); border-radius: 8px; padding: 4px 8px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.copyright { border-top: 1px solid rgba(255,255,255,.15); margin-top: 32px; padding-top: 16px; font-size: calc(var(--fs, 1) * 14px); }

@media (max-width: 768px) {
    .hero-grid, .split { grid-template-columns: 1fr; gap: 24px; }
    .hero-grid .hero-media { order: -1; }
    .split-img-start > .media { order: 0; }
    .split > .media { order: -1; }
    .btn-row .btn { flex: 1 1 100%; }
    .page-header-box { padding: 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Image framed in the editor (Img.frame): the frame clips, the image keeps its full original */
.media-frame { position: relative; overflow: hidden; background: var(--bg-light); }
.media-video { aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.media-video > iframe { width: 100%; height: 100%; border: 0; display: block; }
.media-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; aspect-ratio: auto; border-radius: 0; transform-origin: center; }

/* Accessibility toolbar (Document.tsx). Options are classes on <html>; zoom/filter go on the page parts,
   not <body>, so the toolbar itself stays fixed, unzoomed and unfiltered. */
.a11y { position: fixed; bottom: 16px; inset-inline-end: 16px; z-index: 60; }
.a11y-toggle {
    width: 56px; height: 56px; border-radius: 50%; border: 2px solid #fff; background: #63357B; color: #fff;
    display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(36, 48, 68, .3);
}
.a11y-toggle:focus-visible, .a11y-panel :focus-visible { outline: 3px solid #FCB414; outline-offset: 2px; }
.a11y-panel {
    position: absolute; bottom: 68px; inset-inline-end: 0; width: 440px; max-width: calc(100vw - 32px);
    max-height: calc(100vh - 110px); overflow-y: auto; padding: 14px;
    background: #F8F6FA; color: #243044; border: 1px solid #E5DDD8; border-radius: 16px;
    box-shadow: 0 10px 32px rgba(36, 48, 68, .3); font: 15px/1.3 Arial, Helvetica, sans-serif;
}
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 18px; }
.a11y-head button { background: none; border: 0; font: inherit; font-size: 15px; color: inherit; cursor: pointer; padding: 4px 8px; border-radius: 6px; }
.a11y-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.a11y-grid button {
    display: grid; justify-items: center; align-content: center; gap: 6px; min-height: 92px; padding: 10px 6px;
    background: #fff; color: #243044; border: 2px solid transparent; border-radius: 12px; cursor: pointer;
    font: inherit; text-align: center; box-shadow: 0 1px 3px rgba(36, 48, 68, .12);
}
.a11y-grid button:hover { border-color: #007C86; }
.a11y-grid button[aria-pressed="true"] { border-color: #63357B; background: #63357B; color: #fff; }
.a11y-grid button:disabled { opacity: .4; cursor: default; border-color: transparent; }
.a11y-grid svg { width: 30px; height: 30px; }
.a11y-level { font-size: 12px; opacity: .8; min-height: 1em; }
.a11y-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 12px; }
.a11y-foot button { font: inherit; background: #fff; border: 1px solid #E5DDD8; border-radius: 8px; padding: 8px 14px; cursor: pointer; color: inherit; }
.a11y-foot a { color: #007C86; font-weight: 700; }
@media (max-width: 480px) { .a11y-grid { grid-template-columns: repeat(2, 1fr); } .a11y-grid button { min-height: 80px; } }
@media print { .a11y { display: none; } }

/* sizes: text only (--fs), or the whole page (zoom) */
html.a11y-text-m1 { --fs: .9; }
html.a11y-text-1 { --fs: 1.15; }
html.a11y-text-2 { --fs: 1.3; }
html.a11y-text-3 { --fs: 1.5; }
html.a11y-zoom-m1 :is(.site-header, main, .site-footer) { zoom: .9; }
html.a11y-zoom-1 :is(.site-header, main, .site-footer) { zoom: 1.15; }
html.a11y-zoom-2 :is(.site-header, main, .site-footer) { zoom: 1.3; }
html.a11y-zoom-3 :is(.site-header, main, .site-footer) { zoom: 1.5; }

/* colors: filters combine (monochrome/sepia + invert) */
html.a11y-gray { --a11y-gray: grayscale(1); }
html.a11y-sepia { --a11y-sepia: sepia(1); }
html.a11y-invert { --a11y-invert: invert(1) hue-rotate(180deg); }
html:is(.a11y-gray, .a11y-sepia, .a11y-invert) :is(.site-header, main, .site-footer) {
    filter: var(--a11y-gray,) var(--a11y-sepia,) var(--a11y-invert,);
}
html.a11y-invert :is(img, iframe:not(.embed), video) { filter: invert(1) hue-rotate(180deg); } /* photos keep their colors; forms invert with the page */
html.a11y-contrast { --purple: #3B1250; --turquoise: #004A50; --text: #000; --line: #000; --bg-light: #fff; }
html.a11y-contrast main :is(p, li) { color: #000; }
html.a11y-yellow :is(.site-header, main, .site-footer),
html.a11y-yellow :is(.site-header, main, .site-footer) *:not(img, svg, svg *) {
    background-color: #000 !important; background-image: none !important; color: #FFEB3B !important; border-color: #FFEB3B !important;
}
html.a11y-yellow :is(.site-header, main, .site-footer) a { text-decoration: underline !important; }

/* reading aids */
html.a11y-headings :is(main, .site-footer) :is(h1, h2, h3, h4) { outline: 2px dashed currentColor; outline-offset: 6px; }
html.a11y-links a:not(.btn) { text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 2px; }
html.a11y-links :is(.site-header, main, .site-footer) a { outline: 2px solid #FCB414; outline-offset: 2px; }
html.a11y-font :is(.site-header, main, .site-footer), html.a11y-font :is(.site-header, main, .site-footer) * {
    font-family: Arial, Helvetica, sans-serif !important; letter-spacing: .01em;
}
html.a11y-keyboard :focus { outline: 4px solid #FCB414 !important; outline-offset: 3px !important; box-shadow: 0 0 0 8px #243044 !important; }
.a11y-caption { /* image description shown on the image ("fixed descriptions"); not .a11y-alt, that is an <html> class */
    position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding: 4px 8px;
    background: rgba(0, 0, 0, .78); color: #fff; font: calc(var(--fs, 1) * 14px)/1.4 Arial, sans-serif; text-align: start;
}
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
}
html.a11y-motion .card-link:hover { transform: none; }

/* cursors (48px arrows) */
html.a11y-cursor, html.a11y-cursor * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 11.5-6.6.9 3.8 7.4-2.7 1.4-3.8-7.5L4 20z' fill='%23fff' stroke='%23000' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto !important;
}
html.a11y-cursorBlack, html.a11y-cursorBlack * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 11.5-6.6.9 3.8 7.4-2.7 1.4-3.8-7.5L4 20z' fill='%23000' stroke='%23fff' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto !important;
}
