/* Clinic website (builder pages, src/views/pages/portal/site.ejs + sections/). Colours come only from the theme
   variables (brand primary/accent from /<slug>/theme.css); the five presets change spacing, radius, weight and the hero. */
.ws-body { font-family: var(--site-font, var(--font-sans)); --radius-lg: var(--site-radius, 18px); --radius: calc(var(--site-radius, 18px) * .7); --ws-gap: 56px; --ws-hero-bg: var(--primary-soft); --ws-hero-ink: var(--text); --ws-title-weight: var(--fw-bold); }
.ws-page { padding-bottom: 32px; }
.ws-section { padding-block: calc(var(--ws-gap) / 2); }
.ws-head { margin-bottom: 18px; }
.ws-head p { color: var(--text-muted); margin: 6px 0 0; max-width: 70ch; }
.ws-title { font-size: clamp(20px, 2.4vw, 26px); font-weight: var(--ws-title-weight); margin: 0; }
.ws-narrow { max-width: 820px; }
.ws-empty { padding: 64px 0; text-align: center; color: var(--text-muted); }

/* Hero */
.ws-hero { background: var(--ws-hero-bg); color: var(--ws-hero-ink); padding-block: clamp(40px, 7vw, 88px); }
.ws-hero-inner { display: grid; gap: 32px; align-items: center; }
.ws-hero.has-image.ws-hero-split .ws-hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.ws-hero h1 { font-size: clamp(28px, 4.4vw, 46px); line-height: 1.15; margin: 0 0 12px; font-weight: var(--fw-bold); }
.ws-lead { font-size: clamp(15px, 1.6vw, 18px); color: inherit; opacity: .85; max-width: 60ch; margin: 0 0 22px; }
.ws-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ws-hero-media { margin: 0; }
.ws-hero-media img { width: 100%; height: auto; max-height: 460px; object-fit: cover; border-radius: var(--radius-lg); display: block; }
.ws-hero-centered .ws-hero-inner, .ws-hero-full .ws-hero-inner { text-align: center; justify-items: center; }
.ws-hero-centered .ws-lead, .ws-hero-full .ws-lead { margin-inline: auto; }
.ws-hero-centered .ws-hero-actions, .ws-hero-full .ws-hero-actions { justify-content: center; }
.ws-hero-full.has-image .ws-hero-media { order: -1; width: 100%; }
.ws-hero-full.has-image .ws-hero-media img { max-height: 380px; }

/* About */
.ws-about-inner.has-image { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.ws-about-media { margin: 0; }
.ws-about-media img { width: 100%; height: auto; border-radius: var(--radius-lg); display: block; }

/* Doctors / profile */
.ws-doctors-list { grid-template-columns: minmax(0, 1fr); }
.ws-doc-link { color: inherit; text-decoration: none; }
.ws-doc-link:hover { text-decoration: underline; }
.ws-doctor { display: flex; gap: 24px; align-items: flex-start; }
.doc-av-lg { width: 120px !important; height: 120px !important; font-size: 32px; flex: none; }
.ws-doctor h1 { margin: 0 0 4px; font-size: clamp(24px, 3vw, 32px); }

/* Booking call to action */
.ws-cta-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 28px; border-radius: var(--radius-lg); background: var(--primary-soft); }
.ws-cta-card .ws-cta-inner { background: var(--surface); border: 1px solid var(--border); }
.ws-cta p { margin: 6px 0 0; color: var(--text-muted); }

/* Gallery */
.ws-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.ws-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); display: block; }
.ws-gallery-strip { grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; }
.ws-gallery-strip li { scroll-snap-align: start; }

/* FAQ */
.ws-faq { display: flex; flex-direction: column; gap: 10px; }
.ws-faq details > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; font-weight: var(--fw-semibold); }
.ws-faq details > summary::-webkit-details-marker { display: none; }
.ws-faq details[open] > summary .icon { transform: rotate(180deg); }
.ws-faq details .lp-prose { margin-top: 10px; }

/* Insurance, features, hours, announcement */
.ws-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ws-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--pill); background: var(--surface); font-size: 14px; }
.ws-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.ws-features li { display: flex; flex-direction: column; gap: 6px; }
.ws-feature-icon { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: var(--radius); background: var(--primary-soft); color: var(--primary); }
.ws-hours { width: 100%; border-collapse: collapse; }
.ws-hours th, .ws-hours td { padding: 12px 18px; border-bottom: 1px solid var(--border); text-align: start; font-size: 14px; }
.ws-hours tr:last-child th, .ws-hours tr:last-child td { border-bottom: 0; }
.ws-hours th { font-weight: var(--fw-semibold); width: 40%; }
.ws-announce { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 16px; border-radius: var(--radius); background: var(--info-soft); font-size: 14px; }
.ws-announce-highlight { background: var(--accent-soft); font-weight: var(--fw-semibold); }

/* Taken-down page, preview bar */
.ws-offline { padding-block: 64px; }
.ws-offline-card { max-width: 560px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ws-offline-card .ws-hero-actions { justify-content: center; margin-top: 12px; }
.ws-preview-bar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--warning-soft); border-bottom: 1px solid var(--border); font-size: 13px; }

/* Theme presets (presentation only — the content is the same for every theme) */
.ws-theme-clinical { --ws-gap: 48px; --ws-hero-bg: var(--surface); --radius-lg: min(var(--site-radius, 10px), 10px); }
.ws-theme-clinical .ws-hero { border-bottom: 1px solid var(--border); }
.ws-theme-warm { --ws-gap: 60px; --ws-hero-bg: var(--accent-soft); }
.ws-theme-warm .btn { border-radius: var(--pill); }
.ws-theme-minimal { --ws-gap: 72px; --ws-hero-bg: transparent; --ws-title-weight: var(--fw-semibold); }
.ws-theme-minimal .portal-card, .ws-theme-minimal .doc-card { box-shadow: none; }
.ws-theme-minimal .ws-head { text-align: center; }
.ws-theme-minimal .ws-head p { margin-inline: auto; }
.ws-theme-bold { --ws-hero-bg: var(--primary); --ws-hero-ink: var(--primary-ink); --ws-title-weight: 800; }
.ws-theme-bold .ws-hero .btn-primary { background: var(--primary-ink); color: var(--primary); border-color: transparent; }
.ws-theme-bold .ws-hero .btn-secondary, .ws-theme-bold .ws-hero .btn-ghost { color: var(--primary-ink); border-color: currentColor; background: transparent; }

/* ---------------------------------------------------------------- section blocks: the look chosen per section */
.ws-block { position: relative; --ws-block-bg: var(--surface); }
.ws-block > .ws-section, .ws-block > section, .ws-block > .ws-divider { position: relative; z-index: 1; }
/* Background */
.ws-bg-none > .ws-hero, .ws-block:not(.ws-bg-auto) > .ws-hero { background: transparent; color: inherit; }
.ws-t-hero.ws-bg-auto { --ws-block-bg: var(--ws-hero-bg); }
.ws-bg-soft { --ws-block-bg: var(--primary-soft); background: var(--ws-block-bg); }
.ws-bg-accent { --ws-block-bg: var(--accent-soft); background: var(--ws-block-bg); }
.ws-bg-brand { --ws-block-bg: var(--primary); background: var(--ws-block-bg); color: var(--primary-ink); }
.ws-bg-dark { --ws-block-bg: color-mix(in srgb, var(--primary) 18%, black); background: var(--ws-block-bg); color: white; }
.ws-bg-brand .ws-head p, .ws-bg-dark .ws-head p, .ws-bg-brand .muted, .ws-bg-dark .muted, .ws-bg-brand .ws-cta p, .ws-bg-dark .ws-cta p { color: inherit; opacity: .82; }
.ws-bg-brand .btn-primary { background: var(--primary-ink); color: var(--primary); border-color: transparent; }
.ws-bg-brand .btn-secondary, .ws-bg-dark .btn-secondary, .ws-bg-brand .btn-ghost, .ws-bg-dark .btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.ws-bg-brand .portal-card, .ws-bg-dark .portal-card, .ws-bg-brand .doc-card, .ws-bg-dark .doc-card, .ws-bg-brand .ws-card, .ws-bg-dark .ws-card { color: var(--text); }
.ws-bg-image { --ws-block-bg: black; color: white; overflow: clip; }
.ws-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.ws-ov { position: absolute; inset: 0; z-index: 0; }
.ws-ov-dark > .ws-ov { background: rgba(5, 10, 18, .55); }
.ws-ov-light > .ws-ov { background: rgba(255, 255, 255, .72); }
.ws-ov-light { color: black; }
.ws-ov-brand > .ws-ov { background: color-mix(in srgb, var(--primary) 72%, transparent); }
.ws-bg-image .ws-head p, .ws-bg-image .muted { color: inherit; opacity: .85; }
.ws-bg-image .btn-secondary, .ws-bg-image .btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
/* Alignment */
.ws-a-start > section, .ws-a-start .ws-head { text-align: start; }
.ws-a-center > section, .ws-a-center .ws-head { text-align: center; }
.ws-a-end > section, .ws-a-end .ws-head { text-align: end; }
.ws-a-center .ws-head p, .ws-a-center .ws-lead, .ws-a-center .lp-prose, .ws-a-center .ws-text-box { margin-inline: auto; }
.ws-a-end .ws-head p, .ws-a-end .ws-lead, .ws-a-end .lp-prose { margin-inline-start: auto; }
.ws-a-center .ws-hero-actions, .ws-a-center .ws-cta-inner, .ws-a-center .ws-chips, .ws-a-center .ws-stats { justify-content: center; }
.ws-a-end .ws-hero-actions, .ws-a-end .ws-chips { justify-content: flex-end; }
.ws-a-center .ws-hero-inner { justify-items: center; }
.ws-a-center .ws-card, .ws-a-center .ws-features li { align-items: center; }
.ws-a-start .ws-hero-inner { justify-items: start; text-align: start; }
/* Spacing and width */
.ws-sp-compact > section, .ws-sp-compact > .ws-section { padding-block: 14px; }
.ws-sp-roomy > section, .ws-sp-roomy > .ws-section { padding-block: clamp(56px, 8vw, 104px); }
.ws-sp-none > section, .ws-sp-none > .ws-section { padding-block: 0; }
.ws-w-narrow .container { max-width: 780px; }
.ws-w-wide .container { max-width: 1360px; }
/* Shapes at a section's edges: drawn inside the section in the page colour, so its background ends in a wave, curve…
   and nothing of the neighbouring section is covered. They show on a section that has a background. */
.ws-shape { position: absolute; inset-inline: 0; width: 100%; height: clamp(28px, 5vw, 64px); fill: var(--surface); z-index: 2; display: block; pointer-events: none; }
.ws-shape-top { top: -1px; }
.ws-shape-bottom { bottom: -1px; transform: scaleY(-1); }
.has-shape-top > section, .has-shape-top > .ws-section { padding-top: calc(var(--ws-gap) / 2 + clamp(28px, 5vw, 64px)); }
.has-shape-bottom > section, .has-shape-bottom > .ws-section { padding-bottom: calc(var(--ws-gap) / 2 + clamp(28px, 5vw, 64px)); }
.ws-t-hero.has-shape-bottom > .ws-hero { padding-bottom: calc(clamp(40px, 7vw, 88px) + clamp(28px, 5vw, 64px)); }

/* Pictures (hero / about / text with image) */
.ws-img { margin: 0; overflow: hidden; }
.ws-img img { width: 100%; height: 100%; display: block; border-radius: 0; }
.ws-img.ws-fit-cover img { object-fit: cover; } .ws-img.ws-fit-contain img { object-fit: contain; }
.ws-img.ws-ratio-landscape { aspect-ratio: 4 / 3; } .ws-img.ws-ratio-square { aspect-ratio: 1; } .ws-img.ws-ratio-portrait { aspect-ratio: 3 / 4; }
.ws-img.ws-ratio-auto img { height: auto; max-height: 520px; }
.ws-img-rounded { border-radius: var(--radius-lg); } .ws-img-square { border-radius: 0; }
.ws-img-circle { border-radius: 50%; aspect-ratio: 1; max-width: 420px; margin-inline: auto; }
.ws-img-circle img { height: 100%; max-height: none; object-fit: cover; }
.ws-img-arch { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); }
.ws-img-blob { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
.ws-hero-media.ws-img img, .ws-about-media.ws-img img { border-radius: 0; }
/* Hero / text-with-image over a full picture */
.ws-hero-image_back.has-image, .ws-it-image_back.has-image { position: relative; overflow: clip; color: white; background: black; }
.ws-hero-back { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.ws-hero-image_back .ws-hero-inner, .ws-it-image_back .ws-it-inner { position: relative; }
.ws-hero-image_back.has-image { padding-block: clamp(72px, 12vw, 160px); }
.ws-hero-image_back.has-image .btn-secondary, .ws-hero-image_back.has-image .btn-ghost { background: transparent; color: white; border-color: currentColor; }

/* Cards */
.ws-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ws-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ws-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ws-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--radius-lg); background: var(--surface); color: var(--text); min-width: 0; }
.ws-card h3 { margin: 0; font-size: 17px; } .ws-card p { margin: 0; color: var(--text-muted); font-size: 14px; }
.ws-card-body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; flex: 1; }
.ws-card-body .btn { margin-top: auto; }
.ws-card-shadow .ws-card { box-shadow: var(--shadow-md, 0 6px 24px rgba(0, 0, 0, .08)); }
.ws-card-outline .ws-card { border: 1px solid var(--border); }
.ws-card-filled .ws-card { background: var(--primary-soft); }
.ws-card-plain .ws-card { background: transparent; padding: 0; color: inherit; }
.ws-card-media { margin: -18px -18px 0; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.ws-card-plain .ws-card-media { margin: 0; border-radius: var(--radius-lg); }
.ws-card-media img { width: 100%; display: block; object-fit: cover; aspect-ratio: 4 / 3; }
.ws-ratio-square .ws-card-media img { aspect-ratio: 1; } .ws-ratio-portrait .ws-card-media img { aspect-ratio: 3 / 4; }
.ws-cards-list { grid-template-columns: minmax(0, 1fr) !important; }
.ws-cards-list .ws-card { flex-direction: row; align-items: center; }
.ws-cards-list .ws-card-media { margin: 0; width: 180px; flex: none; border-radius: var(--radius); }
.ws-cards-overlay .ws-card { position: relative; padding: 0; overflow: hidden; min-height: 240px; justify-content: flex-end; background: var(--text); }
.ws-cards-overlay .ws-card-media { position: absolute; inset: 0; margin: 0; border-radius: 0; }
.ws-cards-overlay .ws-card-media img { height: 100%; aspect-ratio: auto; opacity: .6; }
.ws-cards-overlay .ws-card-body { position: relative; padding: 18px; color: white; }
.ws-cards-overlay .ws-card p { color: inherit; opacity: .9; }
.ws-cards-overlay .ws-feature-icon { position: relative; margin: 18px 18px 0; }
.ws-cards-minimal .ws-card { background: transparent; box-shadow: none; padding: 0; color: inherit; border: 0; }
.ws-cards-minimal .ws-card-media { margin: 0; border-radius: var(--radius); }
/* Text with image */
.ws-it-inner { display: grid; gap: clamp(20px, 4vw, 48px); align-items: center; grid-template-columns: minmax(0, 1fr); }
.ws-it-image_start.has-image .ws-it-inner, .ws-it-image_end.has-image .ws-it-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ws-it-image_end .ws-it-media { order: 2; }
.ws-it-text { display: flex; flex-direction: column; gap: 12px; }
.ws-it-text .lp-prose p { margin: 0 0 10px; }
.ws-it-image_back.has-image { padding-block: clamp(56px, 9vw, 120px); }
/* Free text */
.ws-text-box { max-width: 72ch; }
.ws-text-boxed .ws-text-box { max-width: none; padding: clamp(20px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.ws-text-quote .ws-text-box { font-size: clamp(17px, 2vw, 22px); border-inline-start: 4px solid var(--primary); padding-inline-start: 22px; }
.ws-a-center .ws-text-quote .ws-text-box { border-inline-start: 0; padding-inline-start: 0; }
.ws-quote-mark { color: var(--primary); display: inline-flex; margin-bottom: 6px; }
.ws-text-columns .ws-text-box { max-width: none; } .ws-text-columns .ws-text-body { columns: 2 320px; column-gap: 40px; }
/* Numbers */
.ws-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: clamp(16px, 4vw, 48px); }
.ws-stats li { display: flex; flex-direction: column; gap: 4px; min-width: 120px; }
.ws-stats strong { font-size: clamp(30px, 4.6vw, 48px); line-height: 1; color: var(--primary); font-weight: 800; }
.ws-bg-brand .ws-stats strong, .ws-bg-dark .ws-stats strong, .ws-bg-image .ws-stats strong { color: inherit; }
.ws-stats span { color: inherit; opacity: .8; font-size: 14px; }
.ws-stats-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.ws-stats-cards li { padding: 20px; border-radius: var(--radius-lg); background: var(--surface); color: var(--text); border: 1px solid var(--border); }
/* Steps */
.ws-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.ws-steps li { display: flex; gap: 14px; align-items: flex-start; }
.ws-steps h3 { margin: 0 0 4px; font-size: 16px; } .ws-steps p { margin: 0; color: var(--text-muted); font-size: 14px; }
.ws-bg-brand .ws-steps p, .ws-bg-dark .ws-steps p, .ws-bg-image .ws-steps p, .ws-bg-brand .ws-it-text, .ws-bg-dark .lp-prose, .ws-bg-brand .lp-prose { color: inherit; opacity: .88; }
.ws-bg-brand .ws-step-n { background: var(--primary-ink); color: var(--primary); }
.ws-bg-brand .ws-steps-timeline li::after, .ws-bg-dark .ws-steps-timeline li::after { background: currentColor; opacity: .3; }
.ws-step-n { flex: none; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--primary); color: var(--primary-ink); font-weight: 700; }
.ws-steps-timeline { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 720px; }
.ws-steps-timeline li { position: relative; padding-bottom: 22px; }
.ws-steps-timeline li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 18px; top: 40px; bottom: 0; width: 2px; background: var(--border); }
.ws-a-center .ws-steps-timeline { margin-inline: auto; text-align: start; }
/* Divider section */
.ws-divider { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; }
.ws-divider .ws-shape { position: static; height: 100%; fill: var(--ws-div); }
.ws-dh-s { height: 32px; } .ws-dh-m { height: 64px; } .ws-dh-l { height: 110px; }
.ws-dc-soft { --ws-div: var(--primary-soft); } .ws-dc-accent { --ws-div: var(--accent-soft); } .ws-dc-brand { --ws-div: var(--primary); } .ws-dc-dark { --ws-div: color-mix(in srgb, var(--primary) 18%, black); }
.ws-divider.is-flipped .ws-shape { transform: scaleY(-1); }
.ws-divider-line hr { width: min(100% - 40px, 1100px); border: 0; border-top: 2px solid var(--ws-div); margin: 0; }
.ws-divider-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--ws-div); }
.ws-dc-soft.ws-divider-dots span, .ws-dc-soft.ws-divider-line hr { background: var(--primary); border-color: var(--primary); opacity: .35; }

@media (max-width: 820px) {
  .ws-hero.has-image.ws-hero-split .ws-hero-inner, .ws-about-inner.has-image, .ws-it-image_start.has-image .ws-it-inner, .ws-it-image_end.has-image .ws-it-inner { grid-template-columns: minmax(0, 1fr); }
  .ws-it-image_end .ws-it-media { order: 0; }
  .ws-cards, .ws-cols-2, .ws-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ws-cards-list .ws-card { flex-direction: column; align-items: stretch; } .ws-cards-list .ws-card-media { width: auto; }
  .ws-doctor { flex-direction: column; align-items: center; text-align: center; }
  .ws-doctor .ws-hero-actions { justify-content: center; }
}
@media (max-width: 520px) { .ws-cards, .ws-cols-2, .ws-cols-4 { grid-template-columns: minmax(0, 1fr); } }
/* Builder preview: outline and name of the section under the pointer / selected */
.ws-in-builder [data-ws-sec] { cursor: pointer; }
.ws-in-builder [data-ws-sec]::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; outline: 2px dashed transparent; outline-offset: -3px; }
.ws-in-builder [data-ws-sec]:hover::after { outline-color: var(--primary); }
.ws-in-builder [data-ws-sec].is-ws-selected::after { outline: 3px solid var(--primary); }
.ws-in-builder [data-ws-sec]:hover::before, .ws-in-builder [data-ws-sec].is-ws-selected::before { content: attr(data-ws-label); position: absolute; top: 6px; inset-inline-start: 6px; z-index: 6; pointer-events: none; padding: 4px 8px; border-radius: 6px; background: var(--primary); color: var(--primary-ink); font: 600 12px/1.2 var(--font-sans); }
.ws-in-builder .ws-preview-bar { display: none; }
.ws-placeholder-block { padding-block: 14px; }
.ws-placeholder { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 28px 16px; border: 2px dashed var(--border-strong, var(--border)); border-radius: var(--radius-lg); color: var(--text-muted); text-align: center; }
.ws-placeholder strong { color: var(--text); }

/* Hero heights and slider */
.ws-hero.ws-h-tall { min-height: 70vh; display: flex; align-items: center; }
.ws-hero.ws-h-screen { min-height: calc(100svh - 64px); display: flex; align-items: center; }
.ws-hero.ws-h-tall > .container, .ws-hero.ws-h-screen > .container { width: 100%; }
.ws-hero-slider { position: relative; overflow: clip; padding: 0 !important; background: black; color: white; min-height: clamp(380px, 60vh, 640px); }
.ws-hero-slider .ws-slides { position: relative; min-height: inherit; height: 100%; display: grid; }
.ws-slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; min-height: inherit; opacity: 0; visibility: hidden; transition: opacity .8s ease, transform .8s ease, visibility 0s .8s; }
.ws-slide.is-on { opacity: 1; visibility: visible; transition: opacity .8s ease, transform .8s ease, visibility 0s; }
.ws-slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
/* A slide shown without words: the picture at full strength (no dimming behind absent text). */
.ws-slide.is-bare .ws-slide-img { opacity: 1; }
.ws-slide .ws-hero-inner { position: relative; padding-block: clamp(64px, 10vw, 120px); width: 100%; }
.ws-slide-title { font-size: clamp(28px, 4.4vw, 46px); line-height: 1.15; margin: 0 0 12px; font-weight: var(--fw-bold); }
.ws-hero-slider .btn-secondary, .ws-hero-slider .btn-ghost { background: transparent; color: white; border-color: currentColor; }
.ws-tr-slide .ws-slide { transform: translateX(6%); } .ws-tr-slide .ws-slide.is-on { transform: none; }
[dir="rtl"] .ws-tr-slide .ws-slide { transform: translateX(-6%); } [dir="rtl"] .ws-tr-slide .ws-slide.is-on { transform: none; }
.ws-tr-zoom .ws-slide .ws-slide-img { transform: scale(1.08); transition: transform 6s ease; } .ws-tr-zoom .ws-slide.is-on .ws-slide-img { transform: scale(1); }
.ws-slider-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid color-mix(in srgb, white 40%, transparent); background: color-mix(in srgb, black 30%, transparent); color: white; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ws-slider-nav.is-prev { inset-inline-start: 14px; } .ws-slider-nav.is-next { inset-inline-end: 14px; }
.ws-dots { position: absolute; bottom: 18px; inset-inline: 0; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.ws-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: color-mix(in srgb, white 50%, transparent); cursor: pointer; transition: width .3s; }
.ws-dots button.is-on { width: 26px; background: white; }
@media (max-width: 640px) { .ws-slider-nav { display: none; } }

/* Entrance motion (website-site.js adds is-waiting / is-in; reduced motion: nothing moves) */
.ws-anim.is-waiting { opacity: 0; }
.ws-anim.is-waiting.ws-anim-up { transform: translateY(28px); }
.ws-anim.is-waiting.ws-anim-zoom { transform: scale(.96); }
.ws-anim.is-waiting.ws-anim-side { transform: translateX(-36px); }
[dir="rtl"] .ws-anim.is-waiting.ws-anim-side { transform: translateX(36px); }
.ws-anim.is-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.ws-motion-lively .ws-anim.is-in { transition-duration: .9s; }
.ws-motion-lively .ws-anim.is-in .ws-card, .ws-motion-lively .ws-anim.is-in .ws-features li, .ws-motion-lively .ws-anim.is-in .ws-steps li, .ws-motion-lively .ws-anim.is-in .ws-stats li { animation: ws-rise .6s cubic-bezier(.2, .7, .2, 1) both; }
.ws-motion-lively .ws-anim.is-in li:nth-child(2) { animation-delay: .08s; } .ws-motion-lively .ws-anim.is-in li:nth-child(3) { animation-delay: .16s; } .ws-motion-lively .ws-anim.is-in li:nth-child(4) { animation-delay: .24s; } .ws-motion-lively .ws-anim.is-in li:nth-child(n+5) { animation-delay: .3s; }
@keyframes ws-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.ws-motion-subtle .ws-card, .ws-motion-lively .ws-card, .ws-motion-lively .doc-card { transition: transform .25s ease, box-shadow .25s ease; }
.ws-motion-subtle .ws-card:hover, .ws-motion-lively .ws-card:hover, .ws-motion-lively .doc-card:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
  .ws-anim.is-waiting { opacity: 1; transform: none; }
  .ws-slide, .ws-slide-img, .ws-card { transition: none !important; animation: none !important; }
}
.ws-hero-slider .ws-slides { width: 100%; flex: 1 1 auto; }
/* A picture hero keeps its dark picture background and light text whatever the section's background choice */
.ws-block > .ws-hero.ws-hero-slider, .ws-block > .ws-hero.ws-hero-image_back.has-image { background: black; color: white; }
.ws-t-hero:has(> .ws-hero-slider), .ws-t-hero:has(> .ws-hero-image_back.has-image) { --ws-block-bg: black; }

/* Builder site header (doc.header) */
.ws-nav-links { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); min-width: 0; overflow: hidden; }
.ws-nav-links a { color: inherit; text-decoration: none; font-weight: var(--fw-semibold); font-size: 14px; white-space: nowrap; opacity: .85; padding-block: 6px; border-bottom: 2px solid transparent; }
.ws-nav-links a:hover { opacity: 1; }
.ws-nav-links a[aria-current="page"] { opacity: 1; border-bottom-color: var(--primary); }
.ws-nav-menu { display: none; }
@media (max-width: 900px) { .ws-nav-links { display: none; } .ws-nav-menu { display: block; } }
.ws-nav.is-static { position: relative; }
.ws-nav-minimal { border-bottom-color: transparent; background: var(--surface); backdrop-filter: none; }
.ws-nav-minimal .inner { height: 58px; }
.ws-nav-centered .inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.ws-nav-centered .portal-brand { grid-column: 2; grid-row: 1; justify-self: center; }
.ws-nav-centered .ws-nav-links { grid-column: 1; grid-row: 1; }
.ws-nav-centered .right { grid-column: 3; grid-row: 1; }
/* Transparent: over the first section until the page scrolls */
.ws-nav-transparent:not(.is-scrolled) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.ws-nav-transparent { position: fixed; inset-inline: 0; top: 0; }
.ws-nav-transparent.is-static { position: absolute; }
.ws-nav-transparent ~ main .ws-page > .ws-block:first-child > section { padding-top: calc(clamp(40px, 7vw, 88px) + 68px); }
/* Pages without a builder hero (a doctor's page, articles, booking): start below the floating menu. */
.ws-nav-transparent ~ main:not(:has(> .ws-page)) { padding-top: 68px; }
.ws-nav-transparent ~ main .ws-page > .ws-block:first-child > .ws-hero-slider .ws-slide .ws-hero-inner { padding-top: calc(clamp(64px, 10vw, 120px) + 68px); }
body.ws-body:has(.ws-hero-slider, .ws-hero-image_back.has-image) .ws-nav-transparent:not(.is-scrolled) { color: white; }
body.ws-body:has(.ws-hero-slider, .ws-hero-image_back.has-image) .ws-nav-transparent:not(.is-scrolled) .btn-ghost { color: white; }

/* Builder site footer (doc.footer) */
.ws-footer { padding-block: 36px 20px; border-top: 1px solid var(--border); }
.ws-footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 28px; margin-bottom: 24px; }
.ws-footer-brand { display: flex; flex-direction: column; gap: 10px; }
.ws-footer-brand strong { font-size: 17px; }
/* footer brand: logo (own proportions, exact height) and name — under the logo or beside it */
.ws-fbrand { display: flex; gap: 10px; min-width: 0; }
.ws-fbrand-below { flex-direction: column; align-items: flex-start; }
.ws-fbrand-beside { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ws-fbrand-beside strong { white-space: nowrap; }
.ws-footer-centered .ws-fbrand-below { align-items: center; }
.ws-flogo { display: inline-flex; align-items: center; height: var(--ws-flogo-h, 48px); max-width: min(320px, 80vw); }
.ws-flogo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
/* the footer logo always stands on its own (no tile) */
.ws-footer-brand p { margin: 0; color: var(--text-muted); font-size: 14px; max-width: 44ch; white-space: pre-line; }
.ws-footer-col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: var(--text-subtle); margin: 0 0 10px; }
.ws-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ws-footer-col p { margin: 0; font-size: 14px; color: var(--text-muted); }
.ws-footer-col a { color: inherit; }
.ws-social { display: flex; gap: 2px; flex-wrap: wrap; }
.ws-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-muted); }
.ws-footer-simple .ws-footer-bottom { border-top: 0; padding-top: 0; }
.ws-footer-centered .ws-footer-grid { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
.ws-footer-centered .ws-footer-brand { align-items: center; }
.ws-footer-centered .ws-footer-col ul { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
.ws-footer-centered .ws-footer-bottom { justify-content: center; }
@media (max-width: 820px) { .ws-footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .ws-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ws-footer-grid { grid-template-columns: minmax(0, 1fr); } }
.ws-in-builder [data-ws-sec="__header"], .ws-in-builder [data-ws-sec="__footer"] { position: relative; }
.ws-in-builder .ws-nav-transparent { position: absolute; }

/* Typography of the site (Theme & brand): text font and size, heading font and weight, light-mode colours */
.ws-page { font-size: var(--site-fs, 16px); color: var(--site-text, inherit); }
.ws-body :is(h1, h2, h3, .ws-title, .ws-slide-title), .ws-body .ws-nav .portal-brand-name { font-family: var(--site-font-head, var(--site-font)); font-weight: var(--site-hw, 700); }
.ws-block:is(.ws-bg-auto, .ws-bg-none, .ws-bg-soft, .ws-bg-accent) :is(h1, h2, h3, .ws-title) { color: var(--site-heading, inherit); }
.ws-block .ws-hero-slider :is(h1, .ws-slide-title), .ws-block .ws-hero-image_back.has-image h1, .ws-block .ws-cards-overlay h3 { color: inherit; }
.ws-page .lp-prose a, .ws-page .ws-text a, .ws-page .link, .ws-footer a:hover { color: var(--site-link, var(--primary)); }

/* Header logo: size, and a free shape for wide logos (as uploaded, no tile) */
.ws-nav .ws-logo-s .portal-mark { width: 28px; height: 28px; }
.ws-nav .ws-logo-m .portal-mark { width: 36px; height: 36px; }
.ws-nav .ws-logo-l .portal-mark { width: 48px; height: 48px; border-radius: 12px; }
.ws-nav .ws-logo-xl .portal-mark { width: 60px; height: 60px; border-radius: 14px; }
.ws-nav .ws-logo-free .portal-mark:has(img) { width: auto; max-width: 240px; background: transparent; border-radius: 0; }
.ws-nav .ws-logo-free .portal-mark img { width: auto; height: 100%; background: transparent; }
.ws-nav .ws-logo-l .portal-brand-name, .ws-nav .ws-logo-xl .portal-brand-name { font-size: 18px; }
.ws-nav:has(.ws-logo-xl) .inner { height: 84px; }
.ws-nav:has(.ws-logo-l) .inner { height: 74px; }

/* Hero: where the words and buttons sit, button size and arrangement */
.ws-btn-l .ws-hbtn { height: 50px; padding: 0 24px; font-size: 15px; }
.ws-btn-m .ws-hbtn { height: 42px; padding: 0 18px; font-size: 14px; }
.ws-btn-s .ws-hbtn { height: 34px; padding: 0 12px; font-size: 13px; }
.ws-btns-stack .ws-hero-actions { flex-direction: column; align-items: stretch; max-width: 320px; }
.ws-cx-start .ws-hero-text { text-align: start; } .ws-cx-start .ws-hero-actions { justify-content: flex-start; }
.ws-cx-center .ws-hero-text { text-align: center; margin-inline: auto; } .ws-cx-center .ws-hero-actions { justify-content: center; } .ws-cx-center .ws-lead { margin-inline: auto; }
.ws-cx-center.ws-btns-stack .ws-hero-actions { margin-inline: auto; }
.ws-cx-end .ws-hero-text { text-align: end; margin-inline-start: auto; } .ws-cx-end .ws-hero-actions { justify-content: flex-end; } .ws-cx-end .ws-lead { margin-inline-start: auto; }
.ws-cx-end.ws-btns-stack .ws-hero-actions { margin-inline-start: auto; }
.ws-hero-slider .ws-hero-text, .ws-hero-image_back .ws-hero-text { max-width: 720px; }
.ws-hero-slider.ws-cx-center .ws-hero-text, .ws-hero-image_back.ws-cx-center .ws-hero-text { margin-inline: auto; }
.ws-hero-slider.ws-cx-end .ws-hero-text, .ws-hero-image_back.ws-cx-end .ws-hero-text { margin-inline-start: auto; }
.ws-cy-top .ws-slide, .ws-hero.ws-cy-top { align-items: flex-start; }
.ws-cy-bottom .ws-slide, .ws-hero.ws-cy-bottom { align-items: flex-end; }
.ws-hero-slider.ws-cy-bottom .ws-slide .ws-hero-inner { padding-bottom: 72px; }
.ws-branches-title { font-size: 1rem; margin: 18px 0 8px; }

/* header logo: an image keeps its own proportions (never squeezed into a square); the height comes from the size
   choice or the exact px value (--ws-logo-h). badge = on a rounded light tile with a little padding; free = as it is. */
.ws-nav .ws-logo-s { --ws-logo-auto: 32px; } .ws-nav .ws-logo-m { --ws-logo-auto: 44px; } .ws-nav .ws-logo-l { --ws-logo-auto: 60px; } .ws-nav .ws-logo-xl { --ws-logo-auto: 80px; }
.ws-nav .ws-logo-img .portal-mark { width: auto; height: var(--ws-logo-h, var(--ws-logo-auto, 44px)); max-width: min(320px, 55vw); aspect-ratio: auto; }
.ws-nav .ws-logo-img .portal-mark img { width: auto; height: 100%; max-width: 100%; object-fit: contain; background: transparent; }
/* an image logo always stands on its own: no tile, no frame */
.ws-nav .ws-logo-img .portal-mark { padding: 0; background: transparent; border-radius: 0; box-shadow: none; }
.ws-nav:has(.ws-logo-img) .inner { height: auto; min-height: calc(var(--ws-logo-h, var(--ws-logo-auto, 44px)) + 24px); }
.ws-nav .ws-logo-px:not(.ws-logo-img) .portal-mark { width: var(--ws-logo-h); height: var(--ws-logo-h); }
@media (max-width: 640px) { .ws-nav .ws-logo-img .portal-mark { height: min(var(--ws-logo-h, var(--ws-logo-auto, 44px)), 56px); max-width: 52vw; } }
.ws-footer-simple .ws-footer-bottom { align-items: center; }
.ws-footer-simple-brand { margin-inline-end: auto; }
.ws-footer-simple-brand .ws-fbrand-below { align-items: flex-start; gap: 4px; }
.ws-flogo img { background: transparent; }
.wsb-dark-row { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface-muted); }

/* Images block: 2 / 3 / 4 per row, captions */
.ws-images { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ws-images.ws-cols-2, .ws-columns.ws-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ws-images.ws-cols-4, .ws-columns.ws-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ws-images figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ws-images img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--surface-sunken); }
.ws-images.ws-ratio-square img { aspect-ratio: 1; } .ws-images.ws-ratio-portrait img { aspect-ratio: 3 / 4; } .ws-images.ws-ratio-auto img { aspect-ratio: auto; }
.ws-images.ws-fit-contain img { object-fit: contain; }
.ws-images figcaption { font-size: 14px; color: var(--text-muted); text-align: center; }
.ws-images-framed figure { padding: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.ws-images-tight { gap: 4px; } .ws-images-tight img { border-radius: 0; }
/* Columns block */
.ws-columns { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.ws-columns.ws-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ws-column { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; min-width: 0; }
.ws-column h3 { margin: 0; font-size: 18px; } .ws-column p { margin: 0; color: var(--text-muted); }
.ws-column-media { margin: 0; width: 100%; } .ws-column-media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.ws-columns.ws-ratio-square .ws-column-media img { aspect-ratio: 1; } .ws-columns.ws-ratio-portrait .ws-column-media img { aspect-ratio: 3 / 4; }
.ws-columns-boxed .ws-column { padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.ws-columns-divided { gap: 0; } .ws-columns-divided .ws-column { padding-inline: 20px; } .ws-columns-divided .ws-column + .ws-column { border-inline-start: 1px solid var(--border); }
@media (max-width: 860px) { .ws-images.ws-cols-4, .ws-images.ws-cols-3, .ws-columns.ws-cols-3, .ws-columns.ws-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ws-columns-divided .ws-column:nth-child(odd) { border-inline-start: 0; } }
@media (max-width: 520px) { .ws-images:not(.ws-cols-4), .ws-columns { grid-template-columns: minmax(0, 1fr); } .ws-columns-divided .ws-column { border-inline-start: 0 !important; padding-inline: 0; } }

/* ---------------------------------------------------------------- dark mode: clearer surfaces, borders and text */
:root[data-theme="dark"] .ws-body :is(.ws-card, .ws-column, .ws-images-framed figure, .ws-stat, .ws-faq details, .doc-card, .ws-text-boxed, .portal-card, .svc-list, .ws-cta-card, .ws-doc-card) { border-color: color-mix(in srgb, white 14%, transparent); }
:root[data-theme="dark"] .ws-body :is(.ws-card, .ws-column, .ws-images-framed figure) { background: color-mix(in srgb, white 5%, var(--surface)); }
:root[data-theme="dark"] .ws-body .ws-footer-brand strong, :root[data-theme="dark"] .ws-body .ws-fbrand strong { color: var(--text); }
:root[data-theme="dark"] .ws-body .ws-card p, :root[data-theme="dark"] .ws-body .ws-column p, :root[data-theme="dark"] .ws-body .ws-head p { color: color-mix(in srgb, var(--text) 78%, transparent); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ws-body :is(.ws-card, .ws-column, .ws-images-framed figure, .ws-stat, .ws-faq details, .doc-card, .ws-text-boxed, .portal-card, .svc-list, .ws-cta-card, .ws-doc-card) { border-color: color-mix(in srgb, white 14%, transparent); }
  :root:not([data-theme="light"]) .ws-body :is(.ws-card, .ws-column, .ws-images-framed figure) { background: color-mix(in srgb, white 5%, var(--surface)); }
  :root:not([data-theme="light"]) .ws-body .ws-footer-brand strong, :root:not([data-theme="light"]) .ws-body .ws-fbrand strong { color: var(--text); }
  :root:not([data-theme="light"]) .ws-body .ws-card p, :root:not([data-theme="light"]) .ws-body .ws-column p, :root:not([data-theme="light"]) .ws-body .ws-head p { color: color-mix(in srgb, var(--text) 78%, transparent); }
}
.ws-review-g { margin-top: 10px; align-self: flex-start; justify-self: start; width: auto; max-width: max-content; }

/* The white logo (Theme & brand → logo for dark backgrounds) wherever the header sits on a dark picture — the
   transparent header over the hero image or slider — whether dark mode is on or off. */
body.ws-body:has(.ws-hero-slider, .ws-hero-image_back.has-image) .ws-nav-transparent:not(.is-scrolled) .logo-light { display: none; }
body.ws-body:has(.ws-hero-slider, .ws-hero-image_back.has-image) .ws-nav-transparent:not(.is-scrolled) .logo-dark { display: block; }

/* Alignment (section style "align") reaches every part of every section: headings, cards, doctors, columns,
   steps, numbers, pictures' captions, reviews, buttons and icons — not only the heading. */
.ws-a-center .ws-section, .ws-a-center > .container { text-align: center; }
.ws-a-end .ws-section, .ws-a-end > .container { text-align: end; }
.ws-a-start .ws-section, .ws-a-start > .container { text-align: start; }
.ws-a-center :is(.ws-card-body, .ws-column, .ws-features li, .doc-info, .ws-step, .portal-card) { align-items: center; text-align: center; }
.ws-a-end :is(.ws-card-body, .ws-column, .ws-features li, .doc-info, .ws-step, .portal-card) { align-items: flex-end; text-align: end; }
.ws-a-center .doc-card { flex-direction: column; align-items: center; text-align: center; }
.ws-a-end .doc-card { flex-direction: column; align-items: flex-end; text-align: end; }
.ws-a-center :is(.doc-foot, .ws-stats, .ws-chips, .ws-partners, .ws-hero-actions, .row-sm) { justify-content: center; }
.ws-a-end :is(.doc-foot, .ws-stats, .ws-chips, .ws-partners, .ws-hero-actions, .row-sm) { justify-content: flex-end; }
.ws-a-center :is(.ws-feature-icon, .svc-icon) { margin-inline: auto; }
.ws-a-end :is(.ws-feature-icon, .svc-icon) { margin-inline-start: auto; }
.ws-a-center .ws-column .btn, .ws-a-center .ws-card-body .btn { align-self: center; }
.ws-a-end .ws-column .btn, .ws-a-end .ws-card-body .btn { align-self: flex-end; }
.ws-a-center .ws-faq summary, .ws-a-end .ws-faq summary { text-align: start; } /* questions stay readable */
.ws-a-center figcaption { text-align: center; } .ws-a-end figcaption { text-align: end; }

/* Carousel sections: one sliding row (JS adds .ws-track); --ws-per items at once, fewer on small screens. */
.ws-car { position: relative; }
.ws-carousel .ws-track { display: flex !important; flex-wrap: nowrap !important; grid-template-columns: none !important; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 4px 8px; }
.ws-carousel .ws-track::-webkit-scrollbar { display: none; }
.ws-carousel .ws-track.ws-track > * { flex: 0 0 calc((100% - (var(--ws-per, 3) - 1) * 20px) / var(--ws-per, 3)); min-width: 0; scroll-snap-align: start; }
@media (max-width: 960px) { .ws-carousel { --ws-per: 2 !important; } .ws-carousel[data-per="1"] { --ws-per: 1 !important; } .ws-carousel.ws-t-partners { --ws-per: 3 !important; } }
@media (max-width: 600px) { .ws-carousel .ws-track.ws-track > * { flex-basis: 82%; } .ws-carousel[data-per="5"] .ws-track.ws-track > *, .ws-carousel[data-per="6"] .ws-track.ws-track > * { flex-basis: 42%; } }
.ws-car-nav { display: flex; justify-content: center; gap: 10px; margin-top: 14px; direction: ltr; }
.ws-car-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.ws-car-btn:hover { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.ws-car-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Partners: logos (grid, or a sliding row when the carousel is on). */
.ws-partners { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; }
.ws-partner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-width: 0; text-align: center; }
.ws-partners-logos .ws-partner { flex: 0 1 160px; }
.ws-partners-cards .ws-partner { flex: 0 1 200px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); color: var(--text); }
.ws-partner img { display: block; max-width: 100%; height: 56px; width: auto; object-fit: contain; }
.ws-logo-s .ws-partner img { height: 40px; } .ws-logo-l .ws-partner img { height: 80px; }
.ws-partners.is-gray .ws-partner img { filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.ws-partners.is-gray .ws-partner:hover img { filter: none; opacity: 1; }
.ws-carousel .ws-partners.ws-track { justify-content: flex-start; align-items: center; }
.ws-car-nav[hidden] { display: none; }

/* ===================================================================== new blocks: team, before/after, testimonials,
   tabs, video, marquee; more slider transitions; more entrance motions. Theme tokens only. */
/* Team / doctors photo cards */
.ws-team { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ws-team.ws-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ws-team.ws-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ws-person { position: relative; min-width: 0; }
.ws-person-in { position: relative; height: 100%; border-radius: var(--site-radius, 18px); overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease; }
.ws-person-photo { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface-sunken); display: grid; place-items: center; }
.ws-pr-square .ws-person-photo { aspect-ratio: 1; } .ws-pr-landscape .ws-person-photo { aspect-ratio: 4 / 3; }
.ws-person-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .6s ease; }
.ws-person-initials { font-size: clamp(32px, 5vw, 56px); font-weight: 800; color: var(--primary); }
.ws-person-cap { padding: 14px 16px 4px; }
.ws-person-cap h3, .ws-person-more h3 { margin: 0; font-size: 1.1rem; }
.ws-person-role { color: var(--primary); font-size: .9rem; font-weight: 600; margin-top: 2px; }
.ws-person-more { padding: 6px 16px 16px; display: grid; gap: 10px; }
.ws-person-more p { margin: 0; color: var(--text-muted); font-size: .92rem; }
.ws-person-actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* lift: the card rises, the photo zooms slowly */
.ws-team-lift .ws-person:hover .ws-person-in, .ws-team-lift .ws-person:focus-within .ws-person-in { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ws-team-lift .ws-person:hover .ws-person-photo img { transform: scale(1.07); }
/* reveal: name over the photo; the details slide up from the bottom on hover / focus */
.ws-team-reveal .ws-person-in { border: 0; }
.ws-team-reveal .ws-person-cap { position: absolute; inset-inline: 0; bottom: 0; padding: 48px 16px 16px; color: white; background: linear-gradient(to top, color-mix(in srgb, black 72%, transparent), transparent); transition: opacity .35s ease; }
.ws-team-reveal .ws-person-cap .ws-person-role { color: inherit; opacity: .9; }
.ws-team-reveal .ws-person-more { position: absolute; inset: 0; align-content: end; color: white; background: linear-gradient(to top, color-mix(in srgb, var(--primary) 92%, black), color-mix(in srgb, var(--primary) 55%, transparent)); transform: translateY(101%); transition: transform .55s cubic-bezier(.2, .7, .2, 1); }
.ws-team-reveal .ws-person-more p { color: inherit; }
.ws-team-reveal .ws-person-more .btn-ghost { color: white; }
.ws-team-reveal .ws-person:hover .ws-person-more, .ws-team-reveal .ws-person:focus-within .ws-person-more { transform: none; }
.ws-team-reveal .ws-person:hover .ws-person-cap, .ws-team-reveal .ws-person:focus-within .ws-person-cap { opacity: 0; }
.ws-team-reveal .ws-person:hover .ws-person-photo img { transform: scale(1.06); filter: saturate(1.1); }
/* flip: the card turns over on hover / focus / tap to show the details on its back */
.ws-team-flip .ws-person { perspective: 1200px; outline: none; }
.ws-team-flip .ws-person-in { display: grid; background: transparent; border: 0; box-shadow: none; overflow: visible; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.3, .7, .2, 1); }
.ws-team-flip .ws-person-front, .ws-team-flip .ws-person-more { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--site-radius, 18px); overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); }
.ws-team-flip .ws-person-more { transform: rotateY(180deg); align-content: center; text-align: center; padding: 22px; background: color-mix(in srgb, var(--primary) 8%, var(--surface)); }
.ws-team-flip .ws-person-actions { justify-content: center; }
.ws-team-flip .ws-person:hover .ws-person-in, .ws-team-flip .ws-person:focus-within .ws-person-in, .ws-team-flip .ws-person:focus .ws-person-in { transform: rotateY(180deg); }
[dir="rtl"] .ws-team-flip .ws-person:hover .ws-person-in, [dir="rtl"] .ws-team-flip .ws-person:focus-within .ws-person-in, [dir="rtl"] .ws-team-flip .ws-person:focus .ws-person-in { transform: rotateY(-180deg); }
[dir="rtl"] .ws-team-flip .ws-person-more { transform: rotateY(-180deg); }
/* circle: round photos with a ring that turns on hover */
.ws-team-circle .ws-person-in { background: transparent; border: 0; box-shadow: none; text-align: center; overflow: visible; }
.ws-team-circle .ws-person-photo { width: min(200px, 78%); margin: 8px auto 0; aspect-ratio: 1 !important; border-radius: 50%; position: relative; overflow: visible; background: transparent; }
.ws-team-circle .ws-person-photo img, .ws-team-circle .ws-person-initials { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--surface-sunken); position: relative; z-index: 1; border: 5px solid var(--surface); }
.ws-team-circle .ws-person-photo::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; background: conic-gradient(var(--primary), var(--accent, var(--primary)), transparent 70%, var(--primary)); opacity: .55; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), opacity .4s; }
.ws-team-circle .ws-person:hover .ws-person-photo::before { transform: rotate(200deg); opacity: 1; }
.ws-team-circle .ws-person:hover .ws-person-photo img { transform: scale(1.04); }
.ws-team-circle .ws-person-actions { justify-content: center; }
/* the cards arrive one after another when the section scrolls in */
.ws-anim.is-in .ws-person { animation: ws-rise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(min(var(--i, 0), 8) * 90ms); }
@media (max-width: 900px) { .ws-team, .ws-team.ws-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ws-team, .ws-team.ws-cols-2, .ws-team.ws-cols-4 { grid-template-columns: minmax(0, 1fr); } }

/* Before / after */
.ws-ba-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ws-ba-list.ws-cols-1 { grid-template-columns: minmax(0, 1fr); max-width: 900px; margin-inline: auto; } .ws-ba-list.ws-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ws-ba { --ba: 50%; position: relative; overflow: hidden; border-radius: var(--site-radius, 18px); aspect-ratio: 4 / 3; background: var(--surface-sunken); user-select: none; touch-action: pan-y; cursor: ew-resize; box-shadow: var(--shadow-sm); }
.ws-ba.is-vertical { cursor: ns-resize; touch-action: pan-x; }
.ws-ratio-square .ws-ba, .ws-ratio-square .ws-ba-side figure { aspect-ratio: 1; } .ws-ratio-portrait .ws-ba, .ws-ratio-portrait .ws-ba-side figure { aspect-ratio: 3 / 4; } .ws-ratio-landscape .ws-ba-side figure { aspect-ratio: 4 / 3; }
.ws-ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ws-ba-top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--ba)) 0 0); }
.ws-ba.is-vertical .ws-ba-top { clip-path: inset(0 0 calc(100% - var(--ba)) 0); }
.ws-ba:not(.is-dragging) .ws-ba-top, .ws-ba:not(.is-dragging) .ws-ba-line { transition: clip-path .25s ease, left .25s ease, top .25s ease; }
.ws-ba-line { position: absolute; top: 0; bottom: 0; left: var(--ba); width: 3px; margin-left: -1.5px; background: white; box-shadow: 0 0 0 1px color-mix(in srgb, black 20%, transparent); pointer-events: none; }
.ws-ba.is-vertical .ws-ba-line { top: var(--ba); bottom: auto; left: 0; right: 0; width: auto; height: 3px; margin: -1.5px 0 0; }
.ws-ba-knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: white; color: var(--primary); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); transition: transform .2s; }
.ws-ba-knob .icon { width: 16px; height: 16px; margin: 0 -3px; }
.ws-ba:hover .ws-ba-knob, .ws-ba.is-dragging .ws-ba-knob { transform: translate(-50%, -50%) scale(1.1); }
.ws-ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: inherit; }
.ws-ba-range:focus-visible ~ .ws-ba-line .ws-ba-knob, .ws-ba:focus-within .ws-ba-knob { outline: 3px solid var(--primary); outline-offset: 2px; }
.ws-ba-tag { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: color-mix(in srgb, black 55%, transparent); color: white; pointer-events: none; }
.ws-ba-tag.is-after { left: auto; right: 12px; background: color-mix(in srgb, var(--primary) 85%, black); }
.ws-ba.is-vertical .ws-ba-tag.is-after { top: auto; bottom: 12px; right: 12px; }
.ws-ba-side { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ws-ba-side figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--site-radius, 18px); aspect-ratio: 4 / 3; }
.ws-ba-side img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.ws-ba-side figure:hover img { transform: scale(1.05); }
.ws-ba-side .ws-ba-tag { left: 10px; right: auto; }
.ws-ba-cap { margin: 10px 0 0; text-align: center; font-weight: 600; }
@media (max-width: 800px) { .ws-ba-list, .ws-ba-list.ws-cols-3 { grid-template-columns: minmax(0, 1fr); } }

/* Testimonials */
.ws-tm { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ws-tm-item { display: grid; gap: 16px; align-content: space-between; padding: 22px; border-radius: var(--site-radius, 18px); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .4s ease, box-shadow .4s ease; }
.ws-tm-cards .ws-tm-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ws-tm-quote { margin: 0; position: relative; }
.ws-tm-quote p { margin: 0; font-size: 1.02rem; line-height: 1.7; }
.ws-tm-mark { width: 30px; height: 30px; color: var(--primary); opacity: .35; margin-bottom: 6px; }
.ws-tm-who { display: flex; gap: 12px; align-items: center; }
.ws-tm-who > span:last-child { display: grid; gap: 2px; }
.ws-tm-av { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex: none; display: grid; place-items: center; background: color-mix(in srgb, var(--primary) 14%, var(--surface)); color: var(--primary); font-weight: 700; }
.ws-tm-av img { width: 100%; height: 100%; object-fit: cover; }
.ws-tm-stars { display: inline-flex; gap: 2px; } .ws-tm-stars .icon { width: 14px; height: 14px; color: var(--border-strong, var(--border)); } .ws-tm-stars .icon.is-on { color: var(--warning); fill: currentColor; }
/* one big quote at a time */
.ws-tm-quote-list, .ws-tm.ws-tm-quote { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 820px; margin-inline: auto; }
.ws-tm.ws-tm-quote .ws-tm-item { grid-area: 1 / 1; text-align: center; justify-items: center; background: transparent; border: 0; box-shadow: none; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease, visibility 0s .7s; }
.ws-tm.ws-tm-quote .ws-tm-item.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .7s ease, transform .7s ease, visibility 0s; }
.ws-tm.ws-tm-quote .ws-tm-quote p { font-size: clamp(1.15rem, 2.4vw, 1.5rem); }
.ws-tm.ws-tm-quote .ws-tm-mark { width: 44px; height: 44px; margin-inline: auto; }
.ws-tm-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.ws-tm-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: var(--border); cursor: pointer; transition: width .3s, background .3s; }
.ws-tm-dots button.is-on { width: 26px; background: var(--primary); }
/* speech bubbles */
.ws-tm-bubbles .ws-tm-item { background: transparent; border: 0; box-shadow: none; padding: 0; }
.ws-tm-bubbles .ws-tm-quote { padding: 20px; border-radius: var(--site-radius, 18px); background: color-mix(in srgb, var(--primary) 9%, var(--surface)); }
.ws-tm-bubbles .ws-tm-quote::after { content: ""; position: absolute; bottom: -10px; inset-inline-start: 28px; width: 20px; height: 20px; background: inherit; transform: rotate(45deg); border-radius: 4px; }
.ws-tm-bubbles .ws-tm-who { padding-inline-start: 14px; }

/* Tabs */
.ws-tabs { display: grid; gap: 18px; }
.ws-tab-list { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--border); }
.ws-tab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 0; background: transparent; color: var(--text-muted); font: inherit; font-weight: 600; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; transition: color .25s, border-color .25s, background .25s; }
.ws-tab:hover { color: var(--text); } .ws-tab.is-on { color: var(--primary); border-bottom-color: var(--primary); }
.ws-tab:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.ws-tabs-pills .ws-tab-list { border: 0; justify-content: center; }
.ws-tabs-pills .ws-tab { border: 1px solid var(--border); border-radius: 999px; margin: 0; padding: 9px 18px; }
.ws-tabs-pills .ws-tab.is-on { background: var(--primary); color: var(--primary-ink, white); border-color: var(--primary); }
.ws-tabs-side { grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); align-items: start; }
.ws-tabs-side .ws-tab-list { flex-direction: column; border: 0; border-inline-end: 1px solid var(--border); }
.ws-tabs-side .ws-tab { border-bottom: 0; border-inline-end: 3px solid transparent; margin: 0 -1px 0 0; justify-content: flex-start; text-align: start; }
.ws-tabs-side .ws-tab.is-on { border-inline-end-color: var(--primary); background: color-mix(in srgb, var(--primary) 7%, transparent); }
.ws-tab-panel { display: grid; gap: 24px; align-items: center; }
.ws-tab-panel.has-image { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ws-tab-panel.ws-tab-img-start .ws-tab-media { order: -1; }
.ws-tab-panel.ws-tab-img-top { grid-template-columns: minmax(0, 1fr); } .ws-tab-panel.ws-tab-img-top .ws-tab-media { order: -1; }
.ws-tab-panel.is-shown { animation: ws-rise .5s cubic-bezier(.2, .7, .2, 1) both; }
.ws-tab-text h3 { margin: 0 0 8px; } .ws-tab-text p { margin: 0 0 14px; white-space: pre-line; color: var(--text-muted); }
.ws-tab-media { margin: 0; border-radius: var(--site-radius, 18px); overflow: hidden; aspect-ratio: 4 / 3; } .ws-tab-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .ws-tabs-side { grid-template-columns: minmax(0, 1fr); } .ws-tabs-side .ws-tab-list { flex-direction: row; border-inline-end: 0; overflow-x: auto; } .ws-tab-panel.has-image { grid-template-columns: minmax(0, 1fr); } .ws-tab-list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } }

/* Video */
.ws-video-wrap { display: grid; gap: 22px; }
.ws-video-card .ws-video-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; }
.ws-video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--site-radius, 18px); overflow: hidden; background: black; box-shadow: var(--shadow-lg); }
.ws-vr-4x3 { aspect-ratio: 4 / 3; } .ws-vr-1x1 { aspect-ratio: 1; } .ws-vr-9x16 { aspect-ratio: 9 / 16; max-width: 420px; margin-inline: auto; }
.ws-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ws-video-wide .ws-video-text { text-align: center; max-width: 760px; margin-inline: auto; }
.ws-video-text p { color: var(--text-muted); white-space: pre-line; }
@media (max-width: 800px) { .ws-video-card .ws-video-wrap { grid-template-columns: minmax(0, 1fr); } }

/* Marquee band */
.ws-marquee { overflow: hidden; padding-block: 14px; --mq-dur: 32s; }
.ws-mq-s-s { --mq-dur: 48s; } .ws-mq-s-l { --mq-dur: 20s; }
.ws-mq-c-brand { background: var(--primary); color: var(--primary-ink, white); } .ws-mq-c-dark { background: color-mix(in srgb, black 86%, var(--primary)); color: white; }
.ws-mq-c-soft { background: color-mix(in srgb, var(--primary) 10%, var(--surface)); color: var(--text); } .ws-mq-c-accent { background: var(--accent, var(--primary)); color: white; }
.ws-mq-outline { background: transparent !important; color: var(--primary); border-block: 1px solid var(--border); }
.ws-mq-track { display: flex; width: max-content; animation: ws-mq var(--mq-dur) linear infinite; }
.ws-mq-to-right .ws-mq-track { animation-direction: reverse; }
.ws-marquee:hover .ws-mq-track { animation-play-state: paused; }
.ws-mq-row { list-style: none; margin: 0; padding: 0; display: flex; flex: none; }
.ws-mq-row li { display: inline-flex; align-items: center; gap: 12px; padding-inline: 22px; font-weight: 700; font-size: clamp(1rem, 2vw, 1.35rem); white-space: nowrap; }
.ws-mq-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .7; }
@keyframes ws-mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* More hero slider transitions (ws-tr-*), text entrance (ws-ta-*), indicators (ws-ind-*), arrows (ws-arw-*) */
.ws-tr-kenburns .ws-slide .ws-slide-img { transform: scale(1); transition: transform 9s ease-out; } .ws-tr-kenburns .ws-slide.is-on .ws-slide-img { transform: scale(1.14) translate(-1.5%, -1.5%); }
.ws-tr-wipe .ws-slide { opacity: 1; clip-path: inset(0 0 0 100%); transition: clip-path 1s cubic-bezier(.7, 0, .2, 1), visibility 0s 1s; }
.ws-tr-wipe .ws-slide.is-on { clip-path: inset(0); z-index: 1; transition: clip-path 1s cubic-bezier(.7, 0, .2, 1), visibility 0s; }
.ws-tr-wipe .ws-slide.is-leaving { visibility: visible; clip-path: inset(0); }
[dir="rtl"] .ws-tr-wipe .ws-slide:not(.is-on):not(.is-leaving) { clip-path: inset(0 100% 0 0); }
.ws-tr-curtain .ws-slide { opacity: 1; clip-path: inset(0 50% 0 50%); transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1), visibility 0s 1.1s; }
.ws-tr-curtain .ws-slide.is-on { clip-path: inset(0); z-index: 1; transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1), visibility 0s; }
.ws-tr-curtain .ws-slide.is-leaving { visibility: visible; clip-path: inset(0); }
.ws-tr-blur .ws-slide .ws-slide-img { filter: blur(14px); transform: scale(1.06); transition: filter 1.1s ease, transform 1.1s ease; } .ws-tr-blur .ws-slide.is-on .ws-slide-img { filter: none; transform: none; }
.ws-tr-rise .ws-slide { transform: translateY(8%); } .ws-tr-rise .ws-slide.is-on { transform: none; } .ws-tr-rise .ws-slide.is-leaving { transform: translateY(-6%); }
.ws-tr-flip .ws-slides { perspective: 1600px; } .ws-tr-flip .ws-slide { transform: rotateY(18deg) scale(.94); transform-origin: center; } .ws-tr-flip .ws-slide.is-on { transform: none; } .ws-tr-flip .ws-slide.is-leaving { transform: rotateY(-18deg) scale(.94); }
.ws-hero-slider .ws-slide .ws-hero-text > * { transition: opacity .8s ease .35s, transform .8s cubic-bezier(.2, .7, .2, 1) .35s; }
.ws-hero-slider .ws-slide .ws-hero-text > :nth-child(2) { transition-delay: .5s; } .ws-hero-slider .ws-slide .ws-hero-text > :nth-child(3) { transition-delay: .65s; }
.ws-ta-up .ws-slide:not(.is-on) .ws-hero-text > * { opacity: 0; transform: translateY(26px); }
.ws-ta-fade .ws-slide:not(.is-on) .ws-hero-text > * { opacity: 0; }
.ws-ta-zoom .ws-slide:not(.is-on) .ws-hero-text > * { opacity: 0; transform: scale(.92); }
.ws-slider-progress { position: absolute; inset-inline: 0; bottom: 0; height: 4px; z-index: 4; background: color-mix(in srgb, white 20%, transparent); }
.ws-slider-progress span { display: block; height: 100%; width: 0; background: white; }
[dir="rtl"] .ws-slider-progress span { margin-inline-start: 0; }
.ws-ind-lines .ws-dots button { width: 34px; height: 4px; border-radius: 2px; } .ws-ind-lines .ws-dots button.is-on { width: 54px; }
.ws-ind-numbers .ws-dots { gap: 14px; } .ws-ind-numbers .ws-dots button { width: auto; height: auto; background: transparent; color: color-mix(in srgb, white 60%, transparent); font: inherit; font-weight: 700; font-size: .9rem; padding: 4px 2px; border-bottom: 2px solid transparent; border-radius: 0; }
.ws-ind-numbers .ws-dots button.is-on { width: auto; background: transparent; color: white; border-bottom-color: white; }
.ws-arw-square .ws-slider-nav { border-radius: 10px; } .ws-arw-minimal .ws-slider-nav { background: transparent; border: 0; width: 52px; height: 52px; } .ws-arw-minimal .ws-slider-nav .icon { width: 30px; height: 30px; }
.ws-slider-nav { transition: background .25s, transform .25s; } .ws-slider-nav:hover { background: color-mix(in srgb, black 55%, transparent); transform: translateY(-50%) scale(1.06); }

/* More entrance motions (section Design → animation) */
.ws-anim.is-waiting.ws-anim-blur { filter: blur(12px); transform: scale(1.02); }
.ws-anim.is-waiting.ws-anim-flip { transform: perspective(1200px) rotateX(14deg) translateY(30px); transform-origin: top center; }
.ws-anim.is-in.ws-anim-blur { filter: none; transition: opacity .8s ease, transform .8s ease, filter .8s ease; }
.ws-anim.is-waiting.ws-anim-stagger { opacity: 1; }
.ws-anim.is-waiting.ws-anim-stagger :is(li, article) { opacity: 0; transform: translateY(24px); }
.ws-anim.is-in.ws-anim-stagger :is(.ws-cards, .ws-features, .ws-steps, .ws-stats, .ws-images, .ws-columns, .ws-team, .ws-tm, .ws-ba-list, .portal-doctors, .ws-partners) > * { animation: ws-rise .65s cubic-bezier(.2, .7, .2, 1) both; }
.ws-anim.is-in.ws-anim-stagger :is(.ws-cards, .ws-features, .ws-steps, .ws-stats, .ws-images, .ws-columns, .ws-team, .ws-tm, .ws-ba-list, .portal-doctors, .ws-partners) > :nth-child(2) { animation-delay: .1s; }
.ws-anim.is-in.ws-anim-stagger :is(.ws-cards, .ws-features, .ws-steps, .ws-stats, .ws-images, .ws-columns, .ws-team, .ws-tm, .ws-ba-list, .portal-doctors, .ws-partners) > :nth-child(3) { animation-delay: .2s; }
.ws-anim.is-in.ws-anim-stagger :is(.ws-cards, .ws-features, .ws-steps, .ws-stats, .ws-images, .ws-columns, .ws-team, .ws-tm, .ws-ba-list, .portal-doctors, .ws-partners) > :nth-child(4) { animation-delay: .3s; }
.ws-anim.is-in.ws-anim-stagger :is(.ws-cards, .ws-features, .ws-steps, .ws-stats, .ws-images, .ws-columns, .ws-team, .ws-tm, .ws-ba-list, .portal-doctors, .ws-partners) > :nth-child(n+5) { animation-delay: .38s; }
@media (prefers-reduced-motion: reduce) {
  .ws-mq-track { animation: none; flex-wrap: wrap; width: auto; } .ws-mq-row[aria-hidden="true"] { display: none; }
  .ws-person, .ws-person-in, .ws-person-photo img, .ws-person-more, .ws-tm-item, .ws-tab-panel, .ws-ba-top, .ws-ba-line { animation: none !important; transition: none !important; }
  .ws-anim.is-waiting.ws-anim-stagger :is(li, article) { opacity: 1; transform: none; }
}
/* fixes: a hidden tab panel stays hidden; circle photos stay round whatever the picture's size */
.ws-tab-panel[hidden] { display: none !important; }
.ws-team-circle .ws-person-photo { display: block; height: auto; min-height: 0; }
.ws-team-circle .ws-person-photo img, .ws-team-circle .ws-person-photo .ws-person-initials { position: absolute; inset: 0; box-sizing: border-box; }
.ws-marquee { direction: ltr; }
.ws-mq-row li { direction: rtl; } [lang="en"] .ws-mq-row li { direction: ltr; }
@media (max-width: 520px) {
  .ws-team, .ws-team.ws-cols-2, .ws-team.ws-cols-3, .ws-team.ws-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ws-person-cap { padding: 10px 10px 2px; } .ws-person-more { padding: 4px 10px 12px; } .ws-person-cap h3, .ws-person-more h3 { font-size: .95rem; }
  .ws-team-reveal .ws-person-cap { padding: 32px 10px 10px; }
}

/* ===================================================================== doctors as profile cards (doctors section,
   "cards" layout): a large photo, the social profiles floating on it, name, specialty, rating, short bio, booking. */
.ws-dcards { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ws-dcards.ws-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ws-dcards.ws-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .ws-dcards.ws-cols-3, .ws-dcards.ws-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ws-dcards { grid-template-columns: minmax(0, 1fr) !important; } }
.ws-dcard { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--site-radius, 20px); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden; isolation: isolate;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s ease, border-color .4s ease; }
.ws-dcard::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px; background: linear-gradient(135deg, var(--primary), transparent 45%, transparent 60%, var(--accent, var(--primary)));
  -webkit-mask: linear-gradient(black 0 0) content-box, linear-gradient(black 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.ws-dcard:hover, .ws-dcard:focus-within { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ws-dcard:hover::before, .ws-dcard:focus-within::before { opacity: 1; }
.ws-dcard-media { position: relative; }
.ws-dcard-photo { display: grid; place-items: center; aspect-ratio: 3 / 4; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--primary) 22%, var(--surface)), var(--surface-sunken)); }
.ws-pr-square .ws-dcard-photo { aspect-ratio: 1; } .ws-pr-landscape .ws-dcard-photo { aspect-ratio: 4 / 3; }
.ws-dcard-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1), filter .6s ease; }
.ws-dcard:hover .ws-dcard-photo img { transform: scale(1.07); filter: saturate(1.08); }
.ws-dcard-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, black 55%, transparent), transparent 42%); opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.ws-dcard:hover .ws-dcard-photo::after, .ws-dcard:focus-within .ws-dcard-photo::after { opacity: 1; }
.ws-dcard-initials { font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: .02em; color: var(--primary); }
/* The social icons sit on the photo and rise one after another on hover (always shown on touch screens). */
.ws-dcard-social { position: absolute; inset-inline: 0; bottom: 14px; z-index: 2; justify-content: center; margin: 0; }
.ws-dcard-social .doc-soc { background: color-mix(in srgb, var(--surface) 88%, transparent); border-color: transparent; color: var(--text); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .5s cubic-bezier(.2, .7, .2, 1), background .25s, color .25s; }
.ws-dcard-social .doc-soc:nth-child(2) { transition-delay: 50ms; } .ws-dcard-social .doc-soc:nth-child(3) { transition-delay: 100ms; } .ws-dcard-social .doc-soc:nth-child(4) { transition-delay: 150ms; }
.ws-dcard-social .doc-soc:nth-child(5) { transition-delay: 200ms; } .ws-dcard-social .doc-soc:nth-child(n+6) { transition-delay: 250ms; }
.ws-dcard:hover .ws-dcard-social .doc-soc, .ws-dcard:focus-within .ws-dcard-social .doc-soc { opacity: 1; transform: none; }
.ws-dcard-social .doc-soc:hover, .ws-dcard-social .doc-soc:focus-visible { background: var(--primary); color: var(--primary-ink); transform: translateY(-3px) !important; }
@media (hover: none) { .ws-dcard-social .doc-soc { opacity: 1; transform: none; } }
.ws-dcard-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; flex: 1; }
.ws-dcard-spec { align-self: flex-start; font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, transparent); }
.ws-dcard-body h3 { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.ws-dcard-body h3 a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1.5px; transition: background-size .35s ease; }
[dir="rtl"] .ws-dcard-body h3 a { background-position: 100% 100%; }
.ws-dcard-body h3 a:hover { background-size: 100% 1.5px; }
.ws-dcard-bio { margin: 0; color: var(--text-muted); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ws-dcard-foot { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--border); }
.ws-dcard-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-inline-start: auto; }
.ws-anim.is-in .ws-dcard { animation: ws-rise .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(min(var(--i, 0), 8) * 90ms); }

/* Reading progress line at the top of the page and a "back to top" button (added by website-site.js). */
.ws-progress { position: fixed; inset-inline: 0; top: 0; height: 3px; z-index: 60; pointer-events: none; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--primary), var(--accent, var(--primary))); }
[dir="rtl"] .ws-progress { transform-origin: 100% 50%; }
.ws-totop { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 55; width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: var(--primary-ink); background: var(--primary); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); transition: opacity .35s ease, transform .4s cubic-bezier(.2, .7, .2, 1), visibility 0s .4s; }
.ws-totop.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .4s cubic-bezier(.2, .7, .2, 1), visibility 0s; }
.ws-totop:hover { transform: translateY(-3px); }
@media print { .ws-progress, .ws-totop { display: none; } }
@media (prefers-reduced-motion: reduce) { .ws-dcard, .ws-dcard-photo img, .ws-dcard-social .doc-soc { transition: none !important; animation: none !important; } }

/* Contact section with an embedded map beside the details. */
.ws-contact.has-map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; align-items: stretch; }
.ws-contact-map { min-height: 320px; border-radius: var(--site-radius, 18px); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); background: var(--surface-sunken); }
.ws-contact-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
@media (max-width: 820px) { .ws-contact.has-map { grid-template-columns: 1fr; } }

/* Maps section: one card per place. */
.ws-maps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.ws-maps-wide { grid-template-columns: 1fr; }
.ws-map-card { display: flex; flex-direction: column; border-radius: var(--site-radius, 18px); overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: box-shadow .35s ease, transform .35s ease; }
.ws-map-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.ws-map-frame { position: relative; height: 300px; background: var(--surface-sunken); }
.ws-map-h-s .ws-map-frame { height: 220px; } .ws-map-h-l .ws-map-frame { height: 420px; }
.ws-maps-wide .ws-map-frame { height: 380px; } .ws-maps-wide.ws-map-h-l .ws-map-frame { height: 520px; }
.ws-map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ws-map-body { display: grid; gap: 8px; padding: 16px 18px 18px; justify-items: start; }
.ws-map-body h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.05rem; }
.ws-map-body h3 .icon { color: var(--primary); }
.ws-map-body p { margin: 0; color: var(--text-muted); }

/* Instagram: the profile widget, or chosen posts in a grid. */
.ws-ig-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ws-ig-feed { max-width: 760px; margin-inline: auto; border-radius: var(--site-radius, 18px); overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); }
.ws-ig-feed iframe { width: 100%; height: 760px; border: 0; display: block; }
.ws-ig-posts { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ws-ig-posts.ws-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ws-ig-posts.ws-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .ws-ig-posts { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 520px) { .ws-ig-posts { grid-template-columns: 1fr !important; } .ws-ig-feed iframe { height: 620px; } }
.ws-ig-post { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.ws-ig-post iframe { width: 100%; height: 560px; border: 0; display: block; }

/* Menu position (header): centred between the logo and the buttons, beside the logo, or beside the buttons. */
.ws-nav:not(.ws-nav-centered).ws-menu-center .ws-nav-links { margin-inline: auto; }
.ws-nav:not(.ws-nav-centered).ws-menu-center .right, .ws-nav:not(.ws-nav-centered).ws-menu-end .right { margin-inline-start: 0; }
.ws-nav:not(.ws-nav-centered).ws-menu-end .ws-nav-links { margin-inline-start: auto; }
@media (max-width: 900px) { .ws-nav:not(.ws-nav-centered) .right { margin-inline-start: auto !important; } }

/* ===================================================================== phones: compact, two-up lists so a page is
   not one endless column; hover-only details shown on touch screens. Same in Arabic and English. */
@media (max-width: 600px) {
  .ws-section { padding-block: clamp(36px, 9vw, 56px); }
  .ws-head { margin-bottom: 18px; }
  .ws-title { font-size: clamp(22px, 6.4vw, 28px); }
  /* doctors as two compact cards per row */
  .ws-dcards, .ws-dcards.ws-cols-2, .ws-dcards.ws-cols-3, .ws-dcards.ws-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
  .ws-dcard:hover, .ws-dcard:focus-within { transform: none; }
  .ws-dcard-body { padding: 12px 12px 14px; gap: 6px; }
  .ws-dcard-body h3 { font-size: .95rem; }
  .ws-dcard-spec { font-size: .7rem; padding: 3px 8px; }
  .ws-dcard-bio, .ws-dcard-body .doc-online { display: none; }
  .ws-dcard-foot { flex-direction: column; align-items: stretch; gap: 6px; padding-top: 8px; }
  .ws-dcard-actions { margin: 0; display: grid; grid-template-columns: 1fr; gap: 4px; }
  .ws-dcard-actions .btn { justify-content: center; width: 100%; }
  .ws-dcard-actions .btn-ghost { padding-block: 4px; }
  .ws-dcard-social { bottom: 8px; gap: 4px; flex-wrap: wrap; padding-inline: 6px; }
  .ws-dcard-social .doc-soc { width: 28px; height: 28px; }
  .ws-dcard-initials { font-size: 34px; }
  /* cards with icons (services): two per row, the text kept short */
  .ws-cards:not(.ws-cards-list):has(> .ws-card > .ws-feature-icon) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  .ws-cards:has(> .ws-card > .ws-feature-icon) .ws-card { padding: 14px; gap: 8px; }
  .ws-cards:has(> .ws-card > .ws-feature-icon) .ws-card h3 { font-size: 15px; }
  .ws-cards:has(> .ws-card > .ws-feature-icon) .ws-card p { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .ws-cards:has(> .ws-card > .ws-feature-icon) .ws-card .btn { width: 100%; justify-content: center; }
  /* features grid two-up too */
  .ws-features { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }
  /* team cards: two per row */
  .ws-team, .ws-team.ws-cols-2, .ws-team.ws-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
  .ws-person-cap { padding: 10px 10px 2px; } .ws-person-more { padding: 4px 10px 12px; }
  .ws-person-more p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .85rem; }
  .ws-person-actions .btn { width: 100%; justify-content: center; }
  /* hero buttons full width, stacked */
  .ws-hero-text { max-width: 100%; min-width: 0; }
  .ws-hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 100%; }
  .ws-hero-actions .btn { justify-content: center; width: 100%; }
  .ws-hero-actions .btn:only-child { grid-column: 1 / -1; }
  /* booking band */
  .ws-t-booking_cta .container { text-align: center; }
  /* map and Instagram heights */
  .ws-map-frame { height: 240px; }
  .ws-ig-head { align-items: stretch; flex-direction: column; }
}
/* Touch screens have no hover: the details that appear on hover are always shown. */
@media (hover: none) {
  .ws-team-reveal .ws-person-cap { position: static; color: inherit; background: none; padding: 10px 12px 2px; }
  .ws-team-reveal .ws-person-cap .ws-person-role { color: var(--primary); }
  .ws-team-reveal .ws-person-more { position: static; transform: none; background: none; color: inherit; }
  .ws-team-reveal .ws-person-more p { color: var(--text-muted); }
  .ws-team-reveal .ws-person-more .btn-ghost { color: inherit; }
  .ws-team-reveal .ws-person-in { border: 1px solid var(--border); }
}
/* The phone menu reads on its own panel whatever the header's colour (a transparent header over a photo is white). */
.ws-nav .site-menu-panel { color: var(--text); }
.ws-nav .site-menu-panel a { display: flex; align-items: center; gap: 8px; color: var(--text); }
.ws-nav .site-menu-panel .sep { height: 1px; background: var(--border); margin: 6px 4px; }
/* …and with the menu open over the photo, the bar turns solid so its buttons read too. */
body.ws-body .ws-nav-transparent:not(.is-scrolled):has(.site-menu[open]),
body.ws-body:has(.ws-hero-slider, .ws-hero-image_back.has-image) .ws-nav-transparent:not(.is-scrolled):has(.site-menu[open]) { background: var(--surface); color: var(--text); border-bottom-color: var(--border); }
body.ws-body:has(.ws-hero-slider, .ws-hero-image_back.has-image) .ws-nav-transparent:not(.is-scrolled):has(.site-menu[open]) .btn-ghost { color: var(--text); }
/* the logo for a light bar again (light theme; in dark the bar is dark and the light-on-dark logo stays) */
:root[data-theme="light"] body.ws-body:has(.ws-hero-slider, .ws-hero-image_back.has-image) .ws-nav-transparent:not(.is-scrolled):has(.site-menu[open]) .logo-light { display: block; }
:root[data-theme="light"] body.ws-body:has(.ws-hero-slider, .ws-hero-image_back.has-image) .ws-nav-transparent:not(.is-scrolled):has(.site-menu[open]) .logo-dark { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) body.ws-body:has(.ws-hero-slider, .ws-hero-image_back.has-image) .ws-nav-transparent:not(.is-scrolled):has(.site-menu[open]) .logo-light { display: block; }
  :root:not([data-theme="dark"]) body.ws-body:has(.ws-hero-slider, .ws-hero-image_back.has-image) .ws-nav-transparent:not(.is-scrolled):has(.site-menu[open]) .logo-dark { display: none; }
}
