/* Hallmark · v2.0.0 · component: layout of the shared library blocks (blocks.mjs), from the approved therapy sample · every colour, font, radius and photo ratio comes from the site's tokens in its own style.css */
/* tokens a site sets: --paper --paper-2 --white --ink --soft --line --accent --accent-2 --on-accent --accent-soft --night --night-soft --shade --shade-0 --glass --wa --focus --focus-day --err --display --body --r --r-card --wrap --gap --shadow --pic (card photo ratio) --head-w (display weight) */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.7 var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: var(--head-w); line-height: 1.12; margin: 0; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h2 { font-size: var(--h2); }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.sl-btn:hover { background: var(--accent-2); }
.btn-line, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: var(--r); font: 600 17px/1.2 var(--body); text-decoration: none; cursor: pointer; background: transparent; transition: background-color .15s ease, color .15s ease; }
.btn-line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-ghost { border: 1.5px solid var(--white); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-line:focus-visible, .btn-ghost:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; transition: none; }

.top { position: sticky; top: 0; z-index: 30; background: var(--glass); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.mark { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.mark-dot { width: 34px; height: 34px; border-radius: var(--mark-r, 50%); background: var(--accent); flex: none; }
.mark-dot.big { width: 56px; height: 56px; }
.mark b { font: var(--head-w) 26px/1 var(--display); }
/* a wide logo (any shape): fixed height, width capped so the menu always fits */
.mark-logo { display: block; height: var(--logo-h, 52px); width: auto; max-width: var(--logo-max, 280px); object-fit: contain; object-position: center; }
@media (max-width: 480px) { .mark-logo { height: 40px; max-width: 62vw; } }
.mark span { font-size: 15px; color: var(--soft); }
#nav { margin-inline-start: auto; }
#nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
#nav a { display: block; padding: 8px 12px; font-size: 16px; text-decoration: none; border-radius: 8px; transition: background-color .15s ease; }
#nav a:hover { background: var(--paper-2); }
#nav a[aria-current] { font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.lang-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.lang-link:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
/* many languages (the international versions): one button that opens the list (sitelib/shared/retext.mjs) */
.lang-menu { position: relative; }
.lang-menu > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px; font-weight: 600; font-size: 15px; color: var(--ink); cursor: pointer; list-style: none; white-space: nowrap; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); margin-inline-start: 2px; }
.lang-menu[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.lang-menu > summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.lang-list { position: absolute; top: 100%; inset-inline-end: 0; z-index: 60; display: grid; grid-template-columns: repeat(2, max-content); gap: 2px 8px; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .14); }
.lang-list .lang-link { min-height: 40px; text-decoration: none; }
.lang-list .lang-link:hover { text-decoration: underline; }
/* the phone button of a site with 2-3 languages: hidden on a computer, on a phone it takes the links' place */
.lang-phone { display: none; }
@media (max-width: 560px) { .lang-phone { display: block; } .top-in:has(.lang-phone) > .lang-link { display: none; } }
/* a phone: the globe alone (the language's name stays for screen readers), so a long business name keeps its place */
@media (max-width: 560px) { .lang-menu > summary { padding: 0 6px; gap: 4px; } .lang-menu > summary span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .top-in:has(.lang-menu) .mark { min-width: 0; } .top-in:has(.lang-menu) .mark b { overflow: hidden; text-overflow: ellipsis; } }
.top-cta { min-height: 44px; padding: 12px 20px; font-size: 16px; }
.menu-btn { display: none; min-height: 44px; padding: 8px 16px; background: none; border: 1.5px solid var(--ink); border-radius: var(--r); color: var(--ink); font: 600 16px/1 var(--body); cursor: pointer; }
.menu-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
/* the menu button: three lines, understood in every language (the word stays for screen readers) */
.menu-btn { width: 48px; height: 48px; padding: 0; align-items: center; justify-content: center; }
/* the header never breaks a label onto two lines (English labels are longer than Hebrew ones). When the row doesn't fit,
   tools.js marks the header: .tight-1 hides the tagline beside the name, .tight-2 also folds the menu into the button,
   as on a phone (the same rules as the 1080px query below) */
.mark b, .mark span, #nav a, .top-cta { white-space: nowrap; }
.top.tight-1 .mark span:not(.mark-dot) { display: none; }
.top.tight-2 .menu-btn { display: inline-flex; margin-inline-start: auto; }
.top.tight-2 #nav { position: absolute; top: 100%; inset-inline: 0; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
.top.tight-2 #nav.open { display: block; }
.top.tight-2 #nav ul { flex-direction: column; padding: 8px 24px 16px; }
.top.tight-2 #nav a { padding: 12px 8px; font-size: 18px; }
.top.tight-2 .top-in { position: relative; }
.top.tight-2 .lang-link, .top.tight-2 .lang-menu { order: 1; margin-inline-start: auto; }
.top.tight-2 .lang-menu ~ .top-cta { order: 2; }
.top.tight-2 .top-in:has(.lang-menu) .menu-btn { order: 3; margin-inline-start: 0; }
.top.tight-2 .lang-link ~ .top-cta { order: 2; }
.top.tight-2 .top-in:has(.lang-link) .menu-btn { order: 3; margin-inline-start: 0; }
.menu-ic { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.hero { position: relative; min-height: min(80svh, 680px); display: flex; color: var(--white); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, 50% 45%); }
/* contrast (IS 5568): where the text sits, the site's shade is mixed with black (--shade-x), so white text keeps 4.5:1 even over a
   bright photo; it fades to the plain shade and then to the photo away from the text */
.hero, .ph { --shade-x: color-mix(in oklab, var(--shade) 66%, black); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to left, var(--shade-x) 0%, var(--shade-x) 42%, var(--shade) 58%, var(--shade-0) 85%); }
[dir=ltr] .hero::before { background: linear-gradient(to right, var(--shade-x) 0%, var(--shade-x) 42%, var(--shade) 58%, var(--shade-0) 85%); }
.hero-in { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-block: 96px 32px; width: 100%; }
.hero-txt { max-width: 640px; }
.hero h1 { font-size: var(--h1); line-height: 1.02; color: var(--white); }
.hero p { font-size: 21px; margin: 16px 0 28px; color: var(--white); }
.hero-act { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.facts li { display: flex; align-items: center; gap: 12px; background: var(--glass); color: var(--ink); border-radius: var(--r); padding: 16px 20px; font-size: 16px; font-weight: 600; }
.facts .ic { width: 26px; height: 26px; }

.sec { padding: 88px 0; }
.tint { background: var(--paper-2); }
.sec-head { margin-bottom: 40px; max-width: 720px; }
.sec-head p { margin-top: 8px; font-size: 19px; color: var(--soft); }
.more { margin-top: 32px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; transition: transform .2s ease; }
.card:hover { transform: translateY(-3px); }
.card > a { display: block; height: 100%; text-decoration: none; }
.card > a:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: var(--r-card); }
.card-pic { display: block; aspect-ratio: var(--pic); overflow: hidden; }
.card-pic img { width: 100%; height: 100%; object-fit: cover; }
.card-txt { display: grid; gap: 4px; padding: 20px 24px 24px; }
.card-txt b, .card.pad b { font: var(--head-w) var(--card-h)/1.2 var(--display); }
.card-txt span, .card.pad p { color: var(--soft); font-size: 16px; }
.card-txt small { color: var(--ink); font-size: 15px; font-weight: 600; margin-top: 4px; }
.card.pad { padding: 28px; display: grid; gap: 8px; align-content: start; }
.plain .card:hover { transform: none; }

.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.step-list li { position: relative; background: var(--white); border-radius: var(--r-card); padding: 28px; border: 1px solid var(--line); }
.step-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--ic-r, 50%); background: var(--accent-soft); color: var(--ink); margin-bottom: 8px; }
.step-ic .ic { width: 26px; height: 26px; }
.step-n { position: absolute; top: 20px; inset-inline-end: 24px; font: var(--head-w) 40px/1 var(--display); color: color-mix(in oklab, var(--line), var(--ink) 45%); } /* contrast: the step number is text, so at least 3:1 (large) on the card; the border colour alone was 1.4:1 */
.step-list b { display: block; font: var(--head-w) var(--card-h)/1.2 var(--display); margin: 8px 0 4px; }
.step-list p { color: var(--soft); font-size: 16px; }

.me-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.me-pic { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); }
.me-pic img { width: 100%; height: 100%; object-fit: cover; }
.me-txt p { font-size: 19px; margin: 16px 0 20px; max-width: 58ch; }
.ticks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.ticks .ic { color: var(--ink); background: var(--accent-soft); border-radius: 50%; padding: 4px; width: 28px; height: 28px; }

.ask-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.ask-side p { color: var(--soft); margin: 12px 0 24px; font-size: 18px; }
.ask-pic { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); }
.ask-pic img { width: 100%; height: 100%; object-fit: cover; }
.qs { display: grid; gap: 12px; }
.qs details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 0 24px; }
.qs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font: 600 18px/1.35 var(--body); }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background:
  linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat, var(--accent-soft); transition: transform .25s ease; }
.qs details[open] summary::after { transform: rotate(45deg); }
.qs details p { padding: 0 0 20px; font-size: 17px; color: var(--soft); max-width: 62ch; }

.gal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 16px; }
.gal-big { grid-column: span 2; grid-row: span 2; }
.gal li:nth-child(4) { grid-column: span 2; }
.gal figure { position: relative; margin: 0; height: 100%; border-radius: var(--r-card); overflow: hidden; }
.gal img { width: 100%; height: 100%; object-fit: cover; }
.gal figcaption { position: absolute; bottom: 12px; inset-inline-start: 12px; background: var(--glass); padding: 4px 12px; border-radius: 99px; font-size: 14px; font-weight: 600; }
.gal-gap { height: 16px; }

.feat-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.feat-in.flip .feat-pic { order: 2; }
.feat-pic { margin: 0; aspect-ratio: 3 / 2; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); }
.feat-pic img { width: 100%; height: 100%; object-fit: cover; }
.feat p { font-size: 19px; margin: 12px 0 24px; }

.book { background: var(--night); color: var(--paper); padding: 88px 0; --focus: var(--accent-soft); }
.book h2 { color: var(--paper); }
.book-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.book-txt p { font-size: 18px; margin: 12px 0 24px; max-width: 46ch; color: var(--night-soft); }
.book .ticks .ic { background: var(--accent); color: var(--on-accent); }
.book .book-alt { margin: 0; } .book-alt a { color: var(--paper); }
.book-box { background: var(--paper); color: var(--ink); border-radius: var(--r-card); padding: 32px; --focus: var(--focus-day); }
.box-h { font-size: 28px; margin-bottom: 16px; }

.where { padding: 88px 0; }
.where-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: stretch; }
.where-txt { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px; }
.where-txt h2 { margin-bottom: 16px; }
.where-txt p { display: flex; gap: 12px; align-items: center; font-size: 17px; margin-bottom: 8px; }
.where-txt .ic { color: var(--soft); }
.where-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.vcard { background: var(--night); color: var(--paper); border-radius: var(--r-card); padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; --focus: var(--accent-soft); }
.vcard-in { display: flex; gap: 16px; align-items: center; }
.vcard b { display: block; font: var(--head-w) 28px/1.2 var(--display); } .vcard span { color: var(--night-soft); font-size: 15px; }
.vcard-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 16px; }
.vcard-rows li { display: flex; gap: 12px; align-items: center; } .vcard-rows .ic { color: var(--accent-soft); }
.vcard-act { display: flex; flex-wrap: wrap; gap: 12px; }
.vcard .btn-line { border-color: var(--paper); color: var(--paper); }
.vcard .btn-line:hover { background: var(--paper); color: var(--ink); }

.reviews .rv-note { display: flex; gap: 20px; align-items: flex-start; padding: 28px 32px; border: 1.5px dashed var(--line); border-radius: var(--r-card); background: var(--white); max-width: 860px; }
.rv-note .ic { width: 32px; height: 32px; color: var(--accent); }
.rv-note b { display: block; font-size: 19px; margin-bottom: 4px; } .rv-note p { color: var(--soft); }

.foot-news { background: var(--accent-soft); padding: 56px 0; }
.foot-news-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.foot-news h2 { font-size: calc(var(--h2) * .8); } .foot-news p { color: var(--soft); margin-top: 8px; font-size: 18px; }
.foot-news form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; align-items: end; }
.foot-news .sl-field { margin: 0 0 12px; } .foot-news .sl-btn { margin-bottom: 12px; }
.foot-news .sl-check, .foot-news .sl-err { grid-column: 1 / -1; }

.ph { position: relative; min-height: 360px; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, var(--shade-x) 0%, var(--shade-x) 55%, var(--shade) 75%, var(--shade-0) 100%); }
.ph-in { position: relative; z-index: 2; padding-block: 64px 48px; }
.ph h1 { font-size: var(--h1-ph); color: var(--white); }
.ph p { font-size: 20px; margin-top: 12px; max-width: 60ch; color: var(--white); }
.read { padding: 48px 0 72px; }
.read-in { max-width: 780px; }
.read h1 { font-size: var(--h1-ph); margin: 24px 0 12px; }
.read-lead { font-size: 21px; color: var(--soft); }
.read-pic { margin: 32px 0; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16 / 8; }
.read-pic img { width: 100%; height: 100%; object-fit: cover; }
.read h2 { font-size: calc(var(--h2) * .75); margin: 36px 0 8px; }
.read p { font-size: 19px; line-height: 1.8; }
.read-by { margin-top: 40px !important; padding-top: 16px; border-top: 1px solid var(--line); color: var(--soft); font-size: 16px !important; }
.forms-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.form-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px; }
.form-lead { margin: -8px 0 16px; color: var(--soft); }
.legal-in { max-width: 780px; }
.legal-in h2 { font-size: calc(var(--h2) * .7); margin: 28px 0 8px; } .legal-in p { font-size: 18px; }

.foot { background: var(--night); color: var(--night-soft); padding: 64px 0 28px; --focus: var(--accent-soft); font-size: 16px; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 36px; }
.foot-mark { font: var(--head-w) 30px/1 var(--display); color: var(--paper); margin-bottom: 16px !important; }
.foot-h { color: var(--paper); font-weight: 600; margin-bottom: 12px !important; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot a { color: var(--paper); text-decoration-color: var(--soft); }
.foot a:hover { text-decoration-color: var(--accent); }
.foot-legal { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--soft); font-size: 15px; }
.foot-legal span { margin-inline-start: auto; }
.wa-float { position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .15s ease; }
.wa-float svg { width: 30px; height: 30px; fill: var(--white); }
.wa-float:hover { transform: translateY(-2px); }
.wa-float:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; transition: none; }

@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; margin-inline-start: auto; }
  #nav { position: absolute; top: 100%; inset-inline: 0; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  #nav.open { display: block; }
  #nav ul { flex-direction: column; padding: 8px 24px 16px; }
  #nav a { padding: 12px 8px; font-size: 18px; }
  .top-in { position: relative; }
  .top-in .lang-link, .top-in .lang-menu { order: 1; margin-inline-start: auto; }
  .top-in .lang-menu ~ .top-cta { order: 2; }
  .top-in:has(.lang-menu) .menu-btn { order: 3; margin-inline-start: 0; }
  .top-in .lang-link ~ .top-cta { order: 2; }
  .top-in:has(.lang-link) .menu-btn { order: 3; margin-inline-start: 0; }
  .c4, .step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .top-cta { display: none; }
  .hero { min-height: 0; }
  .hero::before, [dir=ltr] .hero::before { background: linear-gradient(to top, var(--shade-x) 0%, var(--shade-x) 62%, var(--shade) 80%, var(--shade-0) 100%); }
  .hero-in { padding-block: 160px 20px; gap: 28px; }
  .facts, .c3, .c2, .me-in, .ask-in, .feat-in, .book-in, .where-in, .foot-news-in, .forms-in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .feat-in.flip .feat-pic { order: 0; }
  .sec, .book, .where { padding: 64px 0; }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .book-box, .form-box, .where-txt, .vcard { padding: 24px; }
  .me-pic { max-width: 420px; }
  .ph { min-height: 280px; }
}
@media (max-width: 480px) {
  .wrap { padding-inline: 16px; }
  .mark span { display: none; }
  .c4, .step-list { grid-template-columns: minmax(0, 1fr); }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .foot-news form { grid-template-columns: minmax(0, 1fr); }
  .hero p { font-size: 18px; }
  /* phone: the opening is centred, and its actions are one width, stacked */
  .hero-txt { text-align: center; margin-inline: auto; }
  .hero-act { flex-direction: column; align-items: stretch; }
  .hero-act > a, .book .sl-btn, .where-links > a { width: 100%; text-align: center; }
  .facts li { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .qs summary::after, #nav a, .btn-line, .btn-ghost, .wa-float { transition: none; }
  .card:hover { transform: none; }
}

/* the home-page videos: one or two, side by side on a computer, stacked on a phone */
.vids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.vids.one { grid-template-columns: minmax(0, 1fr); max-width: 880px; margin-inline: auto; }
.vid { margin: 0; }
.vid video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-card); background: var(--ink); box-shadow: var(--shadow); }
.vid video:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.vid figcaption { margin-top: 12px; font-size: 16px; color: var(--soft); }
@media (max-width: 860px) { .vids { grid-template-columns: minmax(0, 1fr); } }
/* signature boxes shared by the standard sites (each site may restyle them): a filtered list or a calculator on a card */
.finder-box, .calc-box { background: var(--white); border-radius: var(--r-card); padding: 28px 32px; box-shadow: var(--shadow); }
.finder-box .sl-mn-tags { padding: 16px 0 8px; border-bottom: 1px solid var(--line); }
.finder-box .sl-mn-item strong { color: var(--accent-2); }
.finder-box .sl-mn-tag { border-color: var(--accent-soft); background: var(--accent-soft); color: var(--ink); }
.calc-box .sl-mg-main { background: var(--ink); color: var(--paper); }
.calc-box .sl-mg-main b { font: var(--head-w) 44px/1.1 var(--display); }
@media (max-width: 860px) { .finder-box, .calc-box { padding: 20px; } }
/* menu items, the language link and the call button never break into two lines (learned on Batel Green's site) */
#nav a, .top-cta, .lang-link { white-space: nowrap; }
.top-cta { flex: none; }
