/* Or Hachaim | the Donate Now button and the slim footer (Nov 10 2026).
   Self-contained colours (Direction A), so it also works on pages that load only
   theme.css (/privacy/). Used by index.html, donate/, privacy/, congregant/. */
.oh-dn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; text-decoration: none; font-family: "Assistant", system-ui, sans-serif; font-weight: 800; font-size: 16px; line-height: 1; white-space: nowrap; box-sizing: border-box; cursor: pointer;
  border: 1px solid #9c7a45; background: linear-gradient(180deg, #c9a46a, #b48e56); color: #0e2c4c;
  box-shadow: 0 6px 14px -8px rgba(80, 60, 30, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35); transition: filter .15s ease, transform .15s ease; }
.oh-dn:hover { filter: brightness(1.06); color: #0e2c4c; }
.oh-dn:active { transform: translateY(1px); }
.oh-dn .ic { width: 20px; height: 20px; flex: none; }
.oh-dn:focus-visible { outline: 3px solid #0e2c4c; outline-offset: 2px; }
.oh-dn[hidden] { display: none !important; }
/* on navy (footers) */
.oh-dn.on-navy { background: transparent; color: #e6cb92; border-color: rgba(230, 203, 146, 0.75); box-shadow: none; }
.oh-dn.on-navy:hover { background: rgba(230, 203, 146, 0.12); color: #fff; filter: none; }
.oh-dn.on-navy:focus-visible { outline-color: #e6cb92; }
.oh-dn.small { min-height: 44px; padding: 0 16px; font-size: 15px; }
/* in the shared top bar (/congregant/ only) */
.oha-topbar .oh-dn.in-bar { margin-inline: 6px; flex-shrink: 0; }
/* /congregant/ only (body[data-oh-donate-bar]): with Donate Now in the bar, "Back to home" and
   "Davening Times" show as icons up to 1599px (their words stay for screen readers), like
   the gear already does there, so the bar never wraps or overflows; the management pages
   are untouched */
@media (min-width: 641px) and (max-width: 1599px) {
  body[data-oh-donate-bar] .oha-topbar a.tb-link { font-size: 0; gap: 0; padding: 0; width: 48px; justify-content: center; flex-shrink: 0; }
}
@media (min-width: 641px) and (max-width: 1399px) {
  .oha-topbar .oh-dn.in-bar { padding: 0 14px; font-size: 15px; }
  .oha-topbar .oh-dn.in-bar .ic { display: none; }
}
@media (min-width: 1600px) { body[data-oh-donate-bar] .oha-topbar a.tb-link { white-space: nowrap; flex-shrink: 0; } }

/* the slim footer */
.oh-slimfoot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 0; padding: 16px 28px; background: #0e2c4c; color: rgba(246, 236, 214, 0.8); font-family: "Assistant", system-ui, sans-serif; font-size: 14.5px; line-height: 1.4; box-sizing: border-box; border-top: 3px solid transparent; border-image: linear-gradient(90deg, transparent, #b48e56, transparent) 1; }
.oh-slimfoot a:not(.oh-dn) { color: #e6cb92; text-decoration: underline; text-underline-offset: 3px; }
.oh-slimfoot a:not(.oh-dn):hover { color: #fff; }
/* the builder's credit (2026-11-15): a full-width last line, smaller and quieter than the rest */
.oh-slimfoot .oh-sf-credit { flex: 1 1 100%; order: 10; margin: 2px 0 0; text-align: center; font-size: 12.5px; line-height: 1.6; color: rgba(246, 236, 214, 0.45); }
.oh-slimfoot .oh-sf-credit a { color: rgba(230, 203, 146, 0.72); text-decoration: none; padding: 2px 1px; }
.oh-slimfoot .oh-sf-credit a:hover, .oh-slimfoot .oh-sf-credit a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
  .oh-slimfoot { justify-content: center; text-align: center; padding: 16px; }
  .site-header .oh-dn, .oha-topbar .oh-dn.in-bar { min-height: 44px; padding: 0 12px; font-size: 14.5px; gap: 6px; }
  .site-header .oh-dn .ic, .oha-topbar .oh-dn.in-bar .ic { display: none; }
}
@media print { .oh-slimfoot, .oh-dn { display: none !important; } }
