/* Header + footer (CR-008). Brand: Jost, clinic green #1a4d3c, champagne accent. Mirrors in RTL via logical
   properties. Breakpoint 1100px: below it the menu becomes a slide-down panel. */
:root {
  --vh-green: #1a4d3c; --vh-green-dark: #143d30; --vh-ink: #1f2623; --vh-muted: #5c6862;
  --vh-line: #e6ebe7; --vh-paper: #ffffff; --vh-soft: #f5f7f5; --vh-gold: #b8955a;
  --vh-h: 78px;
}
.vh { position: sticky; top: 0; z-index: 1000; background: var(--vh-paper); border-bottom: 1px solid var(--vh-line);
  font-family: Jost, "Almarai", system-ui, sans-serif; }
html[lang="ar"] .vh, html[lang="ar"] .vf { font-family: "Almarai", Jost, system-ui, sans-serif; }
.vh__bar { max-width: 1280px; margin: 0 auto; height: var(--vh-h); display: flex; align-items: center; gap: 28px;
  padding-inline: 24px; }
.vh__logo { display: flex; align-items: center; flex: none; }
.vh__logo img { height: 54px; width: auto; display: block; }
.vh__nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.vh__menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 26px; }
.vh__menu > li { position: relative; }
.vh__menu a, .vh__sub-toggle { color: var(--vh-ink); text-decoration: none; font-size: 15px; font-weight: 500;
  letter-spacing: .01em; padding: 8px 0; background: none; border: 0; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 6px; line-height: 1.2; }
.vh__menu a:hover, .vh__sub-toggle:hover, .vh__menu a[aria-current="page"] { color: var(--vh-green); }
.vh__menu > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--vh-gold); }
.vh__sub-toggle svg { transition: transform .2s ease; }
.vh__has-sub.is-open .vh__sub-toggle svg { transform: rotate(180deg); }
.vh__sub { position: absolute; inset-inline-start: 50%; top: calc(100% + 14px); transform: translateX(-50%);
  width: 520px; background: var(--vh-paper); border: 1px solid var(--vh-line); border-radius: 8px;
  box-shadow: 0 18px 40px rgba(20, 40, 32, .12); padding: 18px 20px; display: none; }
html[dir="rtl"] .vh__sub { transform: translateX(50%); }
.vh__has-sub.is-open .vh__sub { display: block; }
.vh__sub ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; }
.vh__sub a { display: block; padding: 9px 10px; border-radius: 5px; font-size: 15px; }
.vh__sub a:hover { background: var(--vh-soft); }
.vh__sub-extra { display: block; margin-top: 10px; padding: 10px 10px 2px !important; border-top: 1px solid var(--vh-line);
  color: var(--vh-green) !important; font-weight: 600 !important; }
.vh__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.vh__lang { color: var(--vh-green); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 4px; }
.vh__lang:hover { text-decoration: underline; }
.vh__lang-short { display: none; }
.vh__book { background: var(--vh-green); color: #fff !important; text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 12px 20px; border-radius: 4px; white-space: nowrap; letter-spacing: .02em; }
.vh__book:hover { background: var(--vh-green-dark); }
.vh__book--menu { display: none; }
.vh__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--vh-line); border-radius: 6px; background: var(--vh-paper);
  cursor: pointer; padding: 0; position: relative; }
.vh__toggle span { position: absolute; inset-inline-start: 12px; width: 18px; height: 2px; background: var(--vh-green);
  transition: transform .2s ease, opacity .2s ease; }
.vh__toggle span:nth-child(1) { top: 15px; } .vh__toggle span:nth-child(2) { top: 21px; } .vh__toggle span:nth-child(3) { top: 27px; }
.vh[data-open="true"] .vh__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.vh[data-open="true"] .vh__toggle span:nth-child(2) { opacity: 0; }
.vh[data-open="true"] .vh__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.vh a:focus-visible, .vh button:focus-visible, .vf a:focus-visible { outline: 2px solid var(--vh-gold); outline-offset: 3px; border-radius: 3px; }

@media (max-width: 1100px) {
  :root { --vh-h: 64px; }
  .vh__bar { gap: 12px; padding-inline: 16px; }
  .vh__logo img { height: 42px; }
  .vh__toggle { display: block; }
  .vh__actions .vh__book { display: none; }
  .vh__lang-long { display: none; } .vh__lang-short { display: inline; font-size: 16px; }
  .vh__lang { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--vh-line); border-radius: 6px; padding: 0; }
  .vh__actions { margin-inline-start: auto; gap: 8px; }
  .vh__nav { position: fixed; inset: var(--vh-h) 0 0 0; background: var(--vh-paper); display: none; flex-direction: column;
    justify-content: flex-start; overflow-y: auto; padding: 8px 16px 28px; border-top: 1px solid var(--vh-line); }
  .vh[data-open="true"] .vh__nav { display: flex; }
  .vh__menu { flex-direction: column; align-items: stretch; gap: 0; }
  .vh__menu > li { border-bottom: 1px solid var(--vh-line); }
  .vh__menu a, .vh__sub-toggle { width: 100%; justify-content: space-between; font-size: 17px; padding: 15px 4px; min-height: 52px; }
  .vh__menu > li > a[aria-current="page"] { box-shadow: none; color: var(--vh-green); font-weight: 600; }
  .vh__sub { position: static; transform: none !important; width: auto; border: 0; box-shadow: none; padding: 0 0 10px; }
  .vh__sub ul { grid-template-columns: 1fr; }
  .vh__sub a { font-size: 16px; padding: 12px 12px; min-height: 44px; color: var(--vh-muted); }
  .vh__book--menu { display: block; text-align: center; margin-top: 20px; padding: 15px; font-size: 16px; }
  body.vh-lock { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .vh *, .vh { transition: none !important; } }

/* Footer */
.vf { background: var(--vh-soft); border-top: 1px solid var(--vh-line); color: var(--vh-ink); font-size: 15px;
  font-family: Jost, "Almarai", system-ui, sans-serif; }
.vf__grid { max-width: 1280px; margin: 0 auto; padding: 48px 24px 28px; display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; }
.vf__logo img { height: 64px; width: auto; display: block; margin-bottom: 14px; }
.vf h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--vh-green); margin: 6px 0 14px;
  font-weight: 600; font-family: inherit; }
html[lang="ar"] .vf h2 { letter-spacing: 0; text-transform: none; font-size: 15px; }
.vf p { margin: 0 0 8px; color: var(--vh-muted); line-height: 1.6; }
.vf ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vf a { color: var(--vh-ink); text-decoration: none; }
.vf a:hover { color: var(--vh-green); text-decoration: underline; }
.vf__base { max-width: 1280px; margin: 0 auto; padding: 18px 24px 26px; border-top: 1px solid var(--vh-line);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13px; }
.vf__base p { margin: 0; }
.vf__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 1100px) { .vf__grid { grid-template-columns: 1fr 1fr; } .vf__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .vf__grid { grid-template-columns: 1fr; padding: 36px 16px 20px; gap: 24px; } .vf__base { padding-inline: 16px; } }

/* The theme's global reset paints every hovered/focused button pink (#c36): neutralise it inside the header */
.vh button, .vh button:hover, .vh button:focus, .vh button:active,
.vh [type="button"], .vh [type="button"]:hover, .vh [type="button"]:focus {
  background-color: transparent; color: inherit; box-shadow: none; text-decoration: none; }
.vh .vh__sub-toggle, .vh .vh__sub-toggle:hover, .vh .vh__sub-toggle:focus { color: var(--vh-ink); border: 0; border-radius: 0; }
.vh .vh__has-sub.is-open .vh__sub-toggle, .vh .vh__sub-toggle:hover { color: var(--vh-green); }
.vh .vh__toggle, .vh .vh__toggle:hover, .vh .vh__toggle:focus { background-color: var(--vh-paper); border: 1px solid var(--vh-line); border-radius: 6px; }
