/* ReadHarbour official brand — 2026-11-01
   Approved mark: lighthouse rising from an open book.
   Deep Ocean #0B2D4F / Sunlight #F6C15D / Warm Cream #F8F1E3 / Sky Blue #7CA7C7.
*/
.rh-brand-lockup,
.rh-top a.rh-brand-lockup,
.tx-brand a.rh-brand-lockup,
a.logo.rh-brand-lockup,
a.brand.rh-brand-lockup {
  display:inline-flex !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:10px !important;
  width:auto !important;
  max-width:min(74vw,390px);
  min-width:0;
  text-decoration:none !important;
  white-space:normal !important;
  vertical-align:middle;
  background:transparent !important;
  box-shadow:none !important;
  border:0 !important;
  line-height:1.2 !important;
}
.rh-logo-mark{
  display:block !important;
  flex:none !important;
  width:48px !important;
  height:48px !important;
  max-width:none !important;
  object-fit:cover;
  border-radius:10px;
  background:#0b2d4f;
  box-shadow:0 2px 7px rgba(11,45,79,.12);
}
.rh-brand-words{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:center !important;
  min-width:0;
  line-height:1.2 !important;
}
.rh-brand-words strong{
  display:block !important;
  color:#0b2d4f !important;
  font:700 clamp(20px,5.1vw,26px)/1.1 Georgia,'Times New Roman',serif !important;
  letter-spacing:-.7px !important;
  white-space:nowrap;
}
.rh-brand-words small{
  display:block !important;
  color:#6e7790 !important;
  font:750 8px/1.55 Arial,system-ui,sans-serif !important;
  letter-spacing:1.25px !important;
  margin:4px 0 0 !important;
  text-transform:uppercase;
  white-space:nowrap;
}
.rh-footer .rh-brand-lockup .rh-logo-mark,
.site-footer .rh-brand-lockup .rh-logo-mark,
footer a.rh-brand-lockup .rh-logo-mark{
  width:35px !important;
  height:35px !important;
  border-radius:8px;
}
.rh-footer .rh-brand-lockup .rh-brand-words strong,
.site-footer .rh-brand-lockup .rh-brand-words strong,
footer a.rh-brand-lockup .rh-brand-words strong{font-size:18px !important}
.rh-footer .rh-brand-lockup .rh-brand-words small,
.site-footer .rh-brand-lockup .rh-brand-words small,
footer a.rh-brand-lockup .rh-brand-words small{font-size:6px !important;letter-spacing:.8px !important}
body.rh-auth-page .rh-brand-lockup{justify-content:center}
body.rh-auth-page .rh-brand-lockup .rh-brand-words strong{font-size:23px !important}
.tx-brand .rh-brand-lockup{margin:0 auto !important}
.tx-brand .rh-brand-lockup .rh-logo-mark{width:50px !important;height:50px !important}
.rh-community-page .rh-top{min-height:78px}
.rh-cms-logo{
  display:block;
  width:50px;
  height:50px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  object-fit:cover;
  background:#0b2d4f;
  flex:none;
  box-shadow:0 2px 10px rgba(0,0,0,.22);
}
.topbar .brandline h1{letter-spacing:-.6px}
.topbar .brandline small{font-size:11px;letter-spacing:.25px}
.site-header .rh-brand-lockup .rh-logo-mark{width:42px !important;height:42px !important}
.site-header .rh-brand-lockup .rh-brand-words strong{font-size:21px !important}
.site-header .rh-brand-lockup .rh-brand-words small{font-size:7px !important;letter-spacing:1px !important}
@media(max-width:395px){
  .rh-top a.rh-brand-lockup{gap:7px !important;max-width:calc(100% - 77px)}
  .rh-top .rh-brand-lockup .rh-logo-mark{width:41px !important;height:41px !important}
  .rh-top .rh-brand-words strong{font-size:21px !important}
  .rh-top .rh-brand-words small{font-size:6.5px !important;letter-spacing:.8px !important}
  .rh-cms-logo{width:40px;height:40px}
  .topbar .brandline{gap:8px}
}
/* Preserve the horizontal logo lockup in older static library templates. */
.site-header > a.logo.rh-brand-lockup{flex:0 0 220px!important;width:220px!important;min-width:220px!important;max-width:220px!important;flex-wrap:nowrap!important}
.site-header > a.logo.rh-brand-lockup .rh-brand-words{flex:1 0 auto!important}
@media(max-width:700px){.site-header nav{display:none!important}.site-header > a.logo.rh-brand-lockup{flex-basis:214px!important;width:214px!important;min-width:214px!important;max-width:214px!important}}
/* Override the older library-polish stylesheet that hides the original wordmark. */
body.member-library .site-header .logo.rh-brand-lockup{display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important}
body.member-library .site-header .logo.rh-brand-lockup .rh-brand-words small{display:block!important;font:750 7px/1.5 Arial,system-ui,sans-serif!important;letter-spacing:1px!important}
body.member-library .site-footer .logo.rh-brand-lockup{display:inline-flex!important;flex-direction:row!important;align-items:center!important}
