
    :root {
      --bg: #f1f5f9;
      --card: #ffffff;
      --text: #334155;
      --heading: #0f172a;
      --muted: #556070;
      --line: #cbd5e1;
      --primary: #1e40af;
      --primary-hover: #1e3a8a;
      --primary-bg: #dbeafe;
      --accent: #3b82f6;
      --danger: #b91c1c;
      --danger-bg: #fef2f2;
      --danger-border: #fecaca;
      --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
      --radius: 8px;
      --transition: all 0.25s ease-in-out;
    }

    @media (prefers-color-scheme: dark) {
      :root {
        --bg: #0f172a; --card: #1e293b; --text: #cbd5e1; --heading: #f8fafc;
        --muted: #94a3b8; --line: #334155; --primary: #60a5fa; --primary-hover: #93c5fd;
        --primary-bg: #1e3a8a; --accent: #38bdf8; --danger: #ef4444; --danger-bg: #450a0a;
        --danger-border: #7f1d1d; --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
      }
    }

    * { box-sizing: border-box; }
    html, body { 
      margin: 0; padding: 0; background: var(--bg); color: var(--text); 
      font-family: "Heebo", "Noto Sans Hebrew", "Rubik", system-ui, sans-serif; 
      line-height: 1.6; scroll-behavior: smooth;
    }

    a { color: var(--primary); text-decoration: none; font-weight: 600; transition: var(--transition); }
    a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

    .skip-link { position: absolute; top: -50px; left: 10px; background: var(--primary); color: white; padding: 8px 16px; border-radius: var(--radius); z-index: 1000; transition: top 0.2s; }
    .skip-link:focus { top: 10px; outline: 3px solid var(--accent); }

    .container { width: min(1900px, 98vw); margin: 0 auto; padding: 40px 0; }
    .card[id], section[id] { scroll-margin-top: 170px; }

    header { position: sticky; top: 0; z-index: 50; background: var(--primary); color: #ffffff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
    .utility-bar { background: #0f172a; color: #ffffff; border-bottom: 1px solid rgba(255,255,255,0.12); }
    .utility-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; }
    .top-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
    .utility-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.16); color: #ffffff; background: rgba(255,255,255,0.08); font-size: 13px; font-weight: 700; text-decoration: none !important; white-space: nowrap; }
    .utility-btn:hover { background: rgba(255,255,255,0.16); color: #ffffff; text-decoration: none; }
    .utility-btn.primary { background: #ffffff; color: var(--primary); }
    .utility-btn.primary:hover { background: #dbeafe; color: var(--primary-hover); }
    .language-switcher { display: inline-flex; align-items: center; gap: 8px; }
    .language-switcher span { font-size: 12px; color: rgba(255,255,255,0.72); font-weight: 600; }
    .lang-btn { border: 1px solid rgba(255,255,255,0.2); background: transparent; color: #ffffff; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 700; cursor: pointer; transition: var(--transition); }
    .lang-btn:hover { background: rgba(255,255,255,0.12); }
    .lang-btn.active { background: #ffffff; color: var(--primary); border-color: #ffffff; }
    .header-main { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; flex-wrap: wrap; gap: 16px; }
    .brand { font-weight: 700; font-size: 22px; color: #ffffff; letter-spacing: 0.5px; }
    
    nav { display:flex; flex-wrap:wrap; gap:12px; }
    nav a { padding: 6px 0; font-size: 13px; color: rgba(255,255,255,0.8); font-weight: 500; border-bottom: 2px solid transparent; }
    nav a:hover, nav a.active { color: #ffffff; text-decoration: none; border-bottom: 2px solid #ffffff; }

    .card { background: var(--card); border-radius: var(--radius); padding: 40px; margin-bottom: 24px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: var(--transition); }
    
    .alert-card { background: var(--danger-bg); border: 1px solid var(--danger-border); border-inline-start: 8px solid var(--danger); box-shadow: none; }
    .alert-card h2 { color: var(--danger); margin-top: 0; border-bottom: none; }

    .quote-card { background: var(--primary-bg); border-inline-start: 6px solid var(--primary); font-style: italic; }

    .btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 4px; font-size: 15px; font-weight: 600; cursor: pointer; transition: var(--transition); text-align: center; border: 2px solid transparent; text-decoration: none !important; }
    .btn-primary { background: var(--primary); color: #ffffff; }
    .btn-primary:hover { background: var(--primary-hover); color: #ffffff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2); }
    .btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
    .btn-outline:hover { background: var(--primary-bg); color: var(--primary-hover); }

    .hero-section { display: flex; gap: 40px; align-items: center; background: linear-gradient(135deg, var(--bg) 0%, var(--card) 100%); padding: 32px; border-radius: var(--radius); margin-bottom: 32px; border: 1px solid var(--line); }
    .hero-text { flex: 1; }
    .hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
    .hero-image { width: clamp(220px, 18vw, 280px); height: clamp(220px, 18vw, 280px); border-radius: 12px; background: var(--line); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; text-align: center; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); flex-shrink: 0; overflow: hidden; }

    h1, h2, h3 { color: var(--heading); }
    h1 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 12px; font-weight: 800; line-height: 1.2; }
    h2 { font-size: 24px; margin: 0 0 20px; font-weight: 700; border-bottom: 2px solid var(--primary); padding-bottom: 10px; display: inline-block; }
    h3 { font-size: 18px; margin: 0 0 12px; font-weight: 700; }
    
    p { margin: 0 0 16px; }
    .muted { color: var(--muted); }
    .note { font-size: 13px; color: var(--muted); font-style: italic; border-inline-start: 3px solid var(--line); padding-inline-start: 10px; margin-top: 16px; }

    .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
    .chip { background: transparent; color: var(--primary); border: 1px solid var(--primary); border-radius: 4px; padding: 6px 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.5px; }
    .profile-inline-image { display: block; width: 100%; max-width: 340px; margin-top: 18px; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); object-fit: cover; }
    html[dir="rtl"] .profile-inline-image { margin-inline-start: auto; margin-inline-end: 72px; }
    html[dir="ltr"] .profile-inline-image { margin-inline-start: 72px; margin-inline-end: auto; }

    .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
    @media (max-width: 768px) { 
      .grid { grid-template-columns: 1fr; gap: 32px; } 
      .hero-section { flex-direction: column-reverse; text-align: center; padding: 24px; }
      .hero-image { width: 220px; height: 220px; }
      .hero-actions { justify-content: center; }
      h2 { display: block; text-align: right; }
      .card { padding: 20px; }
      .container { width: 98vw; }
      .top-actions { display: none; }
      .brand { display: none; }
      .header-main { padding: 6px 0; gap: 6px; }
      .a11y-controls button { padding: 3px 7px; font-size: 12px; margin-inline-start: 6px; }
      nav { gap: 10px; }
      nav a { white-space: nowrap; font-size: 12px; padding: 3px 0; }
      .conference-marquee { pointer-events: none; }
    }

    .list { margin: 0; padding-inline-start: 24px; }
    .list li { margin-bottom: 12px; position: relative; }

    .checklist { list-style: none; padding: 0; }
    .checklist li { position: relative; padding-inline-start: 32px; margin-bottom: 12px; }
    .checklist li::before { content: "✔"; position: absolute; inset-inline-start: 0; color: #ffffff; background: var(--primary); width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 12px; }

    details { background: transparent; border-bottom: 1px solid var(--line); margin-bottom: 8px; transition: var(--transition); }
    details[open] { padding-bottom: 16px; }
    summary { cursor: pointer; font-weight: 600; font-size: 16px; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; color: var(--heading); list-style: none; }
    summary::-webkit-details-marker { display: none; }
    summary::after { content: '+'; font-size: 24px; color: var(--muted); font-weight: 300; transition: transform 0.3s ease; }
    details[open] summary::after { transform: rotate(45deg); color: var(--primary); }
    .details-content { padding: 8px 0 16px 0; color: var(--text); }

    .map-container { position: relative; padding-bottom: 40%; height: 0; overflow: hidden; border-radius: 8px; margin-top: 16px; border: 1px solid var(--line); }
    .map-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

    .btn-links { display: flex; gap: 12px; margin-top: 16px; }
    .btn-link { background: var(--bg); color: var(--text); border: 1px solid var(--line); padding: 6px 16px; border-radius: 4px; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; text-decoration: none !important; }
    .btn-link:hover { background: var(--primary-bg); color: var(--primary); border-color: var(--primary); }

    .insurance-grid, .media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .insurance-card, .media-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(241,245,249,0.8) 100%); box-shadow: var(--shadow); }
    .insurance-body, .media-body { padding: 20px; }
    .insurance-card h3, .media-card h3 { margin-bottom: 10px; }
    .insurance-logo { height: 88px; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; color: #ffffff; letter-spacing: 0.4px; }
    .logo-maccabi { background: linear-gradient(135deg, #005eb8 0%, #1d7ee8 100%); }
    .logo-meuhedet { background: linear-gradient(135deg, #d85a1a 0%, #f08b34 100%); }
    .logo-clalit { background: linear-gradient(135deg, #208a55 0%, #41b47b 100%); }
    .logo-private { background: linear-gradient(135deg, #475569 0%, #64748b 100%); }

    .media-thumb { height: 180px; position: relative; overflow: hidden; }
    .media-thumb::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,23,42,0.05) 0%, rgba(15,23,42,0.68) 100%); }
    .thumb-guides { background: linear-gradient(135deg, rgba(59,130,246,0.22), rgba(14,165,233,0.1)), url('/rima.jpg') center/cover no-repeat; }
    .thumb-research { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 48%, #38bdf8 100%); }
    .thumb-profile { background: linear-gradient(135deg, #1f2937 0%, #475569 55%, #94a3b8 100%); }
    .media-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
    .conference-strip { margin-top: 28px; }
    .conference-strip-header { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 16px; }
    .conference-strip-header h3 { margin-bottom: 0; }
    .conference-strip-header p { margin-bottom: 0; max-width: 620px; }
    .conference-marquee { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(226,232,240,0.72) 100%); padding: 16px 0; direction: ltr; }
    .conference-marquee::before, .conference-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 72px; z-index: 2; pointer-events: none; }
    .conference-marquee::before { inset-inline-start: 0; background: linear-gradient(90deg, var(--card) 0%, rgba(255,255,255,0) 100%); }
    .conference-marquee::after { inset-inline-end: 0; background: linear-gradient(270deg, var(--card) 0%, rgba(255,255,255,0) 100%); }
    .conference-track { display: flex; width: max-content; will-change: transform; transform: translate3d(0,0,0); direction: ltr; }
    .conference-group { display: flex; gap: 18px; padding-inline: 18px; direction: ltr; flex: 0 0 auto; }
    .conference-card { width: 340px; flex: 0 0 auto; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
    .conference-card img { display: block; width: 100%; height: 380px; object-fit: contain; object-position: center; padding: 6px; background: linear-gradient(135deg, #dbeafe 0%, #e2e8f0 100%); pointer-events: none; user-select: none; -webkit-user-drag: none; }
    .conference-card iframe { display: block; width: 100%; height: 380px; border: 0; padding: 6px; background: linear-gradient(135deg, #dbeafe 0%, #e2e8f0 100%); pointer-events: none; }
    .conference-card-body { min-height: 68px; padding: 12px 16px 14px; }
    .conference-card-body h4 { margin: 0 0 4px; color: var(--heading); font-size: 15px; line-height: 1.25; }
    .conference-card-body p { margin: 0; font-size: 13px; line-height: 1.35; color: var(--muted); }
    .thanks-strip .conference-card { width: 300px; }
    .certificate-strip .conference-card { width: 420px; }
    .thanks-strip .conference-card img { height: 420px; padding: 10px; background: #ffffff; object-fit: contain; object-position: center; }
    .certificate-strip .conference-card img { height: 320px; padding: 10px; background: #ffffff; object-fit: contain; object-position: center; }
    .thanks-strip .conference-card.marquee-landscape { width: 420px; }
    .certificate-strip .conference-card.marquee-landscape { width: 560px; }
    .thanks-strip .conference-card.marquee-landscape img { height: 300px; }
    .certificate-strip .conference-card.marquee-landscape img { height: 300px; }
    .thanks-strip .conference-card-body, .certificate-strip .conference-card-body { display: none; }
    html[dir="rtl"] .conference-card, html[dir="rtl"] .conference-card-body { direction: rtl; text-align: right; }
    html[dir="ltr"] .conference-card, html[dir="ltr"] .conference-card-body { direction: ltr; text-align: left; }

    .faq-topic { margin: 28px 0 12px; color: var(--primary); }

    .mobile-bar { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 80; display: none; background: rgba(15,23,42,0.96); border-top: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(10px); }
    .mobile-bar-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
    .mobile-action { color: #ffffff; text-decoration: none !important; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; text-align: center; font-size: 13px; font-weight: 700; padding: 10px; }
    .mobile-action.primary { background: #ffffff; color: var(--primary); }
    .mobile-action:hover { color: inherit; text-decoration: none; }

    .a11y-controls button { margin-inline-start: 8px; padding: 4px 8px; border: 1px solid rgba(255,255,255,0.3); background: transparent; color: #ffffff; border-radius: 4px; cursor:pointer; font-size: 13px; font-weight: 600; transition: var(--transition); }
    .a11y-controls button:hover { background: rgba(255,255,255,0.2); }
    .high-contrast { filter: contrast(1.3) saturate(1.2); }

    /* FIX 9 — visible keyboard focus indicator */
    a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
      outline: 3px solid #1e40af; outline-offset: 2px; border-radius: 2px;
    }
    /* keep a visible focus ring on form fields for keyboard users */
    .form-group input:focus-visible, .form-group textarea:focus-visible { outline: 3px solid #1e40af; outline-offset: 2px; border-color: var(--primary); }

    /* FIX 11 — pause automatic motion */
    body.motion-paused *, body.motion-paused *::before, body.motion-paused *::after {
      animation-play-state: paused !important; transition: none !important;
    }
    #motionToggle { margin-inline-start: 8px; padding: 4px 8px; border: 1px solid rgba(255,255,255,0.3); background: transparent; color: #ffffff; border-radius: 4px; cursor: pointer; font-size: 13px; font-weight: 600; transition: var(--transition); white-space: nowrap; }
    #motionToggle:hover { background: rgba(255,255,255,0.2); }

    /* FIX 5 — consent checkbox */
    .consent { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 20px; font-size: 14px; line-height: 1.5; font-weight: 500; }
    .consent input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--primary); }

    .form-group { margin-bottom: 16px; }
    .form-group label { display: block; margin-bottom: 8px; font-weight: 600; }
    .form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); color: var(--text); font-family: inherit; }
    .form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-bg); }

    .contact-block { background: var(--primary); color: white; border-radius: var(--radius); padding: 32px; text-align: center; margin-top: 40px; box-shadow: var(--shadow); }
    .contact-block h3 { color: white; border-bottom: none; }

    footer { text-align: center; margin-top: 60px; padding: 32px 0; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
    footer a { margin: 0 8px; color: var(--muted); text-decoration: none; }
    footer a:hover { color: var(--primary); }

    .whatsapp-float { position: fixed; bottom: 30px; left: 30px; width: 56px; height: 56px; background-color: #25D366; color: #ffffff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); z-index: 1000; transition: transform 0.2s ease, box-shadow 0.2s ease; }
    .whatsapp-float:hover { transform: translateY(-5px); box-shadow: 0 8px 15px rgba(37, 211, 102, 0.4); }
    .whatsapp-icon { width: 32px; height: 32px; fill: currentColor; }
    @media (max-width: 900px) {
      .insurance-grid, .media-grid { grid-template-columns: 1fr; }
    }

    @media (max-width: 768px) {
      .utility-bar .container { flex-direction: column; align-items: stretch; padding: 10px 0; }
      .top-actions { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
      .language-switcher { justify-content: center; }
      nav { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
      .conference-strip-header { flex-direction: column; align-items: flex-start; }
      .conference-card { width: 280px; }
      .conference-card img { height: 320px; }
      .conference-card iframe { height: 320px; }
      .conference-card-body { min-height: 62px; padding: 10px 14px 12px; }
      .thanks-strip .conference-card { width: 240px; }
      .certificate-strip .conference-card { width: 320px; }
      .thanks-strip .conference-card img { height: 340px; }
      .certificate-strip .conference-card img { height: 250px; }
      .thanks-strip .conference-card.marquee-landscape { width: 320px; }
      .certificate-strip .conference-card.marquee-landscape { width: 380px; }
      .thanks-strip .conference-card.marquee-landscape img { height: 240px; }
      .certificate-strip .conference-card.marquee-landscape img { height: 220px; }
      .mobile-bar { display: block; }
      body { padding-bottom: 84px; }
      .whatsapp-float { display: none; }
    }

    html[dir="ltr"] main, html[dir="ltr"] footer, html[dir="ltr"] .contact-block, html[dir="ltr"] .hero-section, html[dir="ltr"] details, html[dir="ltr"] .card { text-align: left; }
    html[dir="ltr"] h1, html[dir="ltr"] h2, html[dir="ltr"] h3, html[dir="ltr"] p, html[dir="ltr"] li { text-align: left; }
    html[dir="ltr"] summary { text-align: left; }
    html[dir="ltr"] .chips, html[dir="ltr"] .hero-actions, html[dir="ltr"] .btn-links, html[dir="ltr"] .media-actions, html[dir="ltr"] .top-actions, html[dir="ltr"] .language-switcher { justify-content: flex-start; }
  

    .svr-rail {
      display: none !important;
    }
    .has-attached-video {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 250px;
      gap: 28px;
      align-items: start;
    }
    #philosophy.has-attached-video,
    #urgent-care.has-attached-video,
    #patient-guide.has-attached-video,
    #preparation.has-attached-video,
    #faq.has-attached-video,
    #publications.has-attached-video,
    #when-to-see-doctor.has-attached-video,
    #glossary.has-attached-video {
      grid-template-columns: minmax(0, 1fr) 320px;
      gap: 24px;
    }
    #urgent-care.has-attached-video {
      grid-template-columns: minmax(0, 1fr) 456px;
    }
    #insurance.has-attached-video {
      grid-template-columns: minmax(0, 1fr) 344px;
    }
    .section-attached-video-content {
      grid-column: 1;
      min-width: 0;
    }
    .section-attached-video-content h2,
    .section-attached-video-content h3,
    .section-attached-video-content p,
    .section-attached-video-content li,
    .section-attached-video-content summary {
      overflow-wrap: anywhere;
      word-break: break-word;
    }
    .svr-inline {
      grid-column: 2;
      display: grid;
      gap: 14px;
      position: relative;
      align-self: center;
      justify-self: center;
      min-width: 0;
    }
    .svr-inline::before {
      content: "";
      position: absolute;
      inset-inline-end: calc(100% + 8px);
      inset-block-start: 44px;
      width: 18px;
      height: 1px;
      background: rgba(15,23,42,0.12);
    }
    .has-attached-video::before {
      grid-column: 1 / -1;
    }
    .svr-shell {
      position: relative;
      overflow: hidden;
      width: 100%;
      border-radius: 18px;
      border: 1px solid rgba(15,23,42,0.08);
      background:
        radial-gradient(circle at top left, rgba(59,130,246,0.18), transparent 36%),
        rgba(15,23,42,0.04);
      box-shadow: 0 14px 32px rgba(15,23,42,0.16);
    }
    .svr-shell::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(15,23,42,0.04) 0%, rgba(15,23,42,0.18) 100%);
      pointer-events: none;
    }
    .svr-player {
      width: 100%;
      height: auto;
      display: block;
      background: transparent;
    }
    @media (max-width: 1180px) {
      .has-attached-video {
        grid-template-columns: 1fr 220px;
        gap: 22px;
      }
      #philosophy.has-attached-video,
      #urgent-care.has-attached-video,
      #patient-guide.has-attached-video,
      #preparation.has-attached-video,
      #faq.has-attached-video,
      #publications.has-attached-video,
      #when-to-see-doctor.has-attached-video,
      #glossary.has-attached-video {
        grid-template-columns: 1fr 280px;
      }
      #urgent-care.has-attached-video {
        grid-template-columns: 1fr 372px;
      }
      #insurance.has-attached-video {
        grid-template-columns: 1fr 280px;
      }
    }
    @media (max-width: 900px) {
      .has-attached-video {
        grid-template-columns: 1fr !important;
      }
      .section-attached-video-content,
      .svr-inline {
        grid-column: 1;
      }
      .svr-inline {
        max-width: min(100%, 340px);
        width: 100%;
        margin-inline: 0 auto;
      }
      #insurance .svr-inline {
        max-width: min(100%, 420px);
      }
      #philosophy .svr-inline,
      #urgent-care .svr-inline,
      #patient-guide .svr-inline,
      #preparation .svr-inline,
      #faq .svr-inline,
      #publications .svr-inline,
      #when-to-see-doctor .svr-inline,
      #glossary .svr-inline {
        max-width: min(100%, 420px);
      }
      #urgent-care .svr-inline {
        max-width: min(100%, 536px);
      }
      .svr-inline::before {
        display: none;
      }
    }
  
/* Shared fixes preserve the existing blue/white site and carousel layout. */
[hidden] { display: none !important; }
html { scroll-padding-bottom: calc(var(--mobile-bar-height, 0px) + var(--notice-height, 0px) + 20px); }
body { padding-bottom: calc(var(--mobile-bar-height, 0px) + var(--notice-height, 0px)); }
#cookieNotice { position:fixed; z-index:90; inset-inline:0; bottom:var(--mobile-bar-height, 0px); padding:14px 18px; display:flex; gap:14px; align-items:center; justify-content:center; background:#0f172a; color:#f1f5f9; font-size:14px; line-height:1.5; box-shadow:0 -2px 12px #0004; }
#cookieNotice span { max-width:1000px; }
#cookieNotice a { color:#93c5fd; text-decoration:underline; }
#cookieNotice button { flex-shrink:0; background:#2563eb; color:white; border:0; border-radius:8px; padding:10px 22px; font:inherit; font-weight:700; cursor:pointer; min-height:44px; }
.whatsapp-float { bottom:calc(30px + var(--notice-height, 0px)); }
.high-contrast { filter:none; --bg:#fff; --card:#fff; --text:#111; --heading:#000; --muted:#222; --primary:#17378f; --primary-bg:#e6ecff; --line:#555; }
:where(header,#mobileBar,#cookieNotice) :focus-visible { outline-color:#facc15; }
.hero-text, .grid > div { min-width:0; }
.hero-text h1 { overflow-wrap:anywhere; }
.profile-inline-image { height:auto; max-width:min(340px, calc(100% - 72px)); }
.conference-marquee { pointer-events:auto; }
.gallery-image-link { display:block; cursor:zoom-in; }
.gallery-open { margin:0 0 12px; }
.topic-links, .professional-profiles, .patient-references { margin-top:24px; }
.topic-links { display:flex; flex-wrap:wrap; gap:12px; }
.image-viewer { width:min(1100px, 96vw); max-height:94dvh; padding:20px; background:var(--card); color:var(--text); border:1px solid var(--line); border-radius:12px; }
.image-viewer::backdrop { background:#000b; }
.viewer-toolbar { display:flex; flex-wrap:wrap; gap:12px; align-items:center; position:sticky; top:0; background:var(--card); padding-bottom:12px; }
.viewer-toolbar button { min-height:44px; padding:8px 14px; border:1px solid var(--primary); border-radius:6px; background:var(--card); color:var(--primary); font:inherit; cursor:pointer; }
.viewer-image { display:block; width:auto; height:auto; max-width:100%; max-height:72dvh; margin:auto; object-fit:contain; }
.viewer-open { overflow:hidden; }
.article-page { max-width:1100px; }
.article-intro { border-top:5px solid var(--primary); }
.breadcrumbs { color:var(--muted); margin:0 0 24px; align-items:center; }
.breadcrumbs a, .breadcrumbs a:hover { color:var(--primary); font-size:14px; border:0; }
.language-home-links { text-align:center; }
.article-page .btn-links { margin-top:20px; }
.svr-player { aspect-ratio:var(--video-ratio, 1); }
@media(max-width:768px) {
  html[dir] .profile-inline-image { margin-inline:auto; max-width:min(340px, 100%); }
  #cookieNotice { flex-wrap:wrap; gap:10px; padding:12px; text-align:start; }
  #cookieNotice span { flex:1 1 240px; }
  h2 { text-align:start; }
  .image-viewer { padding:12px; }
  .lang-btn { min-width:44px; min-height:40px; display:inline-flex; align-items:center; justify-content:center; font-size:14px; }
  .article-page { width:96vw; }
}
@media(prefers-reduced-motion:reduce) { html,body { scroll-behavior:auto; } }
.consent > span { min-width:0; overflow-wrap:anywhere; }
.btn-links { flex-wrap:wrap; }
.article-page summary { overflow-wrap:anywhere; }
#private-consultation { scroll-margin-top:170px; }
.article-intro .local-context { margin:18px 0; }
#care-information .topic-links { width:auto; overflow:visible; flex-wrap:wrap; }
#care-information .topic-links a { white-space:normal; max-width:100%; }

#private-consultation .private-inquiry { width:100%; white-space:normal; text-align:center; }

/* Guide-language controls remain readable outside the header navigation. */
.article-page .language-home-links { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:8px; width:100%; overflow:visible; }
.article-page .language-home-links a { color:var(--primary); border:1px solid var(--line); padding:8px 12px; }
.article-page .language-home-links a[aria-current="page"] { background:var(--primary-bg); }
.article-page h1, .article-page h2 { overflow-wrap:anywhere; }
