:root {
  /* Haresign brand palette — overrides Bixoo theme variables */
  --theme:   #0D5BB8;
  --header:  #111827;
  --text:    #4B5563;
  --text-2:  #6B7280;
  --border:  #D1D5DB;
  --bg:      #F4F6F8;
  --bg-2:    #F4F6F8;
  --bg-3:    #111827;
  --haresign-primary: #0D5BB8;
  --haresign-navy:    #111827;
  --haresign-coral:   #FF5B61;
  --haresign-light:   #F4F6F8;
  --haresign-white:   #FFFFFF;
}

/* =============================================================
   haresign.css — Haresign custom overrides for Bixoo Bootstrap 5
   ============================================================= */

/* ── Global input/textarea colour fix ────────────────────── */
/* Bixoo theme sets input { color: var(--white) } globally — override for all standard inputs */
input:not([type=submit]):not([type=button]):not([type=checkbox]):not([type=radio]),
input:not([type=submit]):not([type=button]):not([type=checkbox]):not([type=radio]):focus,
textarea,
textarea:focus,
select,
select:focus {
  color: #111827;
  background-color: #fff;
}
input::placeholder,
textarea::placeholder {
  color: #9ca3af;
}

/* ── Top bar tweaks ───────────────────────────────────────── */
.header-section-2 .header-top-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0;
  font-size: 13px;
}
.header-section-2 .contact-list {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.header-section-2 .contact-list li a {
  font-size: 13px;
}

/* ── Context selector (working-with) ─────────────────────── */
.hs-ctx-topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hs-ctx-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--theme);
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(14,165,233,.25);
}
.hs-ctx-dot.active {
  animation: ctx-pulse 2s infinite;
}
@keyframes ctx-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(14,165,233,.25); }
  50%       { box-shadow: 0 0 0 5px rgba(14,165,233,.1); }
}
.hs-ctx-select-topbar {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 28px 4px 12px;
  cursor: pointer;
  outline: none;
  max-width: 220px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23cbd5e1' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: background .2s, border-color .2s;
}
.hs-ctx-select-topbar:hover,
.hs-ctx-select-topbar:focus {
  background-color: rgba(255,255,255,.14);
  border-color: var(--theme);
  color: #fff;
}
.hs-ctx-select-topbar option,
.hs-ctx-select-topbar optgroup {
  background: #1e293b;
  color: #e2e8f0;
}
.hs-ctx-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 6px;
}
.hs-ctx-select-offcanvas {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #d1d9e0;
  border-radius: 8px;
  font-size: 14px;
  color: #111827;
  background: #fff;
  outline: none;
  transition: border-color .2s;
}
.hs-ctx-select-offcanvas:focus {
  border-color: var(--theme);
  box-shadow: 0 0 0 3px rgba(14,165,233,.15);
}

/* ── Workspace pill (sticky header) ───────────────────────── */
/* A visible, always-on indicator of the active practice/PCN. A real
   <select class="nav-ctx-select"> is overlaid transparently on top so the
   click opens the native picker and the shared context JS drives it. */
.hs-ws-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 240px;
  padding: 7px 13px;
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  color: #eaf1fb;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.hs-ws-pill:hover,
.hs-ws-pill:focus-within {
  background: rgba(255,255,255,.16);
  border-color: var(--theme);
  color: #fff;
}
.hs-ws-pill.is-empty {
  border-style: dashed;
  border-color: rgba(255,255,255,.3);
  color: #cdd7e6;
  font-weight: 500;
}
.hs-ws-pill .hs-ws-ico { font-size: 12px; flex: 0 0 auto; opacity: .85; }
.hs-ws-pill.is-empty .hs-ws-ico { opacity: .7; }
.hs-ws-pill .hs-ws-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hs-ws-pill .hs-ws-caret { flex: 0 0 auto; font-size: 9px; opacity: .75; }
.hs-ws-pill select.nav-ctx-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/* ── Workspace strip (tool pages) ─────────────────────────── */
.hs-ws-strip {
  background: #eef4fb;
  border-top: 1px solid #dce6f2;
  border-bottom: 1px solid #dce6f2;
  padding: 9px 0;
  font-size: 14px;
}
.hs-ws-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.hs-ws-strip__text { color: #274a72; }
.hs-ws-strip__text i { color: var(--theme); margin-right: 6px; }
.hs-ws-strip__name { font-weight: 700; color: #12233f; }
.hs-ws-strip.is-empty { background: #fbf6ec; border-color: #f0e2c6; }
.hs-ws-strip.is-empty .hs-ws-strip__text i { color: #c9852a; }
/* the "Change" control — an overlaid select over a pill link */
.hs-ws-strip__change {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid #b7cbe4;
  background: #fff;
  color: #0d5bb8;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.hs-ws-strip__change:hover,
.hs-ws-strip__change:focus-within {
  border-color: var(--theme);
  background: #f4f9ff;
}
.hs-ws-strip__change select.nav-ctx-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
@media (max-width: 575px) {
  .hs-ws-strip .container { flex-direction: column; text-align: center; }
}

/* ── Scroll-reveal off ────────────────────────────────────── */
/* WOW.js init is disabled (main.js). This is the belt-and-braces guarantee that
   any element still tagged .wow stays visible and never animates in on scroll —
   a deliberate move away from the templated "fade-in as you scroll" look. */
.wow {
  visibility: visible !important;
  opacity: 1 !important;
  animation: none !important;
}

/* ── Compact hero on tool pages ───────────────────────────── */
/* Tool pages are working screens, not landing pages — shrink the breadcrumb
   hero so the tool starts higher up. Marketing inner pages (About, Blog, etc.)
   keep the full-height hero. Top padding still clears the absolute header. */
.is-tool-page .breadcrumb-wrapper .page-heading {
  padding: 180px 0 75px;
}
.is-tool-page .breadcrumb-wrapper .page-heading .breadcrumb-title {
  font-size: 46px;
}
.is-tool-page .breadcrumb-wrapper .page-heading .breadcrumb-list {
  margin-bottom: 18px;
  padding: 9px 18px;
}
.is-tool-page .breadcrumb-wrapper .page-heading .breadcrumb-list li {
  font-size: 15px;
}
@media (max-width: 1199px) {
  .is-tool-page .breadcrumb-wrapper .page-heading { padding: 175px 0 70px; }
  .is-tool-page .breadcrumb-wrapper .page-heading .breadcrumb-title { font-size: 40px; }
}
@media (max-width: 767px) {
  .is-tool-page .breadcrumb-wrapper .page-heading { padding: 140px 0 55px; }
}
@media (max-width: 575px) {
  .is-tool-page .breadcrumb-wrapper .page-heading .breadcrumb-title { font-size: 34px; }
}

/* ── Logo in sticky header ────────────────────────────────── */
.header-3 .logo img {
  max-height: 44px;
  width: auto;
  transition: max-height 0.3s ease;
}
.header-3.sticky-menu .logo img {
  max-height: 38px;
}

/* ── User avatar badge ────────────────────────────────────── */
.hs-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0D5BB8;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

/* ── Desktop mega-dropdown positioning ───────────────────── */
/* Ensure has-dropdown items are positioned containers */
.header-3 .main-menu nav ul li.has-dropdown {
  position: relative;
}
@media (min-width: 1200px) {
  /* Tools mega item is static so its .has-homemenu panel anchors to the
     position:relative .header-main and spans the full header container. */
  .header-3 .main-menu nav ul li.hs-mega-item {
    position: static;
  }
}

/* ── Nav submenu: position fix + hover delay ─────────────────── */

/* Give each submenu li a positioning context so nested submenus
   anchor to the correct row (not to the top of the whole panel) */
.header-main .main-menu ul li .submenu li {
  position: relative;
}

/* Delay hiding the submenu so users can move mouse into it without
   it snapping shut. Show instantly, hide after 200ms grace period. */
.header-main .main-menu ul li .submenu {
  transition: opacity 0.3s ease 0.2s, visibility 0.3s ease 0.2s,
              transform 0.3s ease 0.2s;
}
.header-main .main-menu ul li:hover > .submenu {
  transition: opacity 0.3s ease 0s, visibility 0.3s ease 0s,
              transform 0.3s ease 0s;
}

/* Nested submenu: same delay pattern, slightly faster animation */
.header-main .main-menu ul li .submenu li .submenu {
  transition: opacity 0.25s ease 0.15s, visibility 0.25s ease 0.15s,
              transform 0.25s ease 0.15s;
}
.header-main .main-menu ul li .submenu li:hover > .submenu {
  transition: opacity 0.25s ease 0s, visibility 0.25s ease 0s,
              transform 0.25s ease 0s;
}

/* ── Tools mega-menu (two-pane) ───────────────────────────────────
   Desktop (≥1200px): a left rail of category tabs + a right pane that
   swaps to the hovered/focused category (initToolsMenu() in main.js).
   Mobile: the rail is hidden and each group renders as a native <details>
   accordion in the MeanMenu clone — no JS dependency. */
.hs-tools-2pane {
  /* mobile default: stacked accordion */
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}
.hs-tools-rail {
  display: none;               /* desktop-only navigation rail */
}
.hs-tools-panes {
  display: flex;
  flex-direction: column;
}
.hs-tools-col--featured {
  order: -1;                   /* Start Here first on mobile */
}
.hs-tools-tagline {
  display: none;               /* desktop-only sub-line */
}
.hs-tools-link-desc {
  display: none;               /* desktop-only per-tool description */
}
.hs-tools-head {
  display: block;
  position: relative;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;                 /* light on the dark mobile drawer */
  margin: 14px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  list-style: none;            /* hide the default <details> triangle */
}
.hs-tools-head::-webkit-details-marker { display: none; }
.hs-tools-head i {
  color: var(--theme);
  margin-right: 7px;
}
/* Mobile: caret that flips when the group is open (border-drawn, no font dep) */
.hs-tools-head::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 3px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #9aa6b6;
  border-bottom: 2px solid #9aa6b6;
  transform: rotate(45deg);          /* points down */
  transition: transform 0.2s ease;
}
details.hs-tools-col[open] > .hs-tools-head::after {
  transform: rotate(225deg);         /* points up */
}
.hs-tools-links a {
  display: flex;
  align-items: flex-start;   /* icon top-aligned; text wraps with hanging indent */
  gap: 8px;
  padding: 4px 0;
  margin-bottom: 2px;
  font-size: 13px;
  line-height: 1.3;
  color: #3a4a5e;
  transition: color 0.15s ease;
}
/* Leading per-tool icon */
.hs-tools-links a > i {
  flex: 0 0 auto;
  width: 15px;
  margin-top: 2px;
  text-align: center;
  font-size: 11px;
  color: var(--theme);
}
.hs-tools-links a:hover {
  color: var(--theme);
}
.hs-tools-links a.active {
  color: var(--theme);
  font-weight: 600;
}

@media (min-width: 1200px) {
  .hs-tools-mega.has-homemenu {
    padding: 0 !important;
    border-radius: 0 0 12px 12px;
  }
  /* Two columns: fixed rail + flexible pane area */
  .hs-tools-2pane {
    flex-direction: row;
    align-items: stretch;
    padding: 0;
    min-height: 252px;
  }
  .hs-tools-rail {
    display: flex;
    flex-direction: column;
    flex: 0 0 290px;
    padding: 16px 0;
    background: #fafcff;
    border-right: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 0 0 0 12px;
  }
  .hs-tools-tab {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    text-align: left;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 600;
    color: #3a4a5e;
    background: none;
    border: 0;
    border-left: 3px solid transparent;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  }
  .hs-tools-tab > i:first-child {
    width: 18px;
    text-align: center;
    font-size: 13px;
    color: var(--theme);
  }
  .hs-tools-tab > span {
    flex: 1 1 auto;
    white-space: nowrap;        /* keep each category on one line */
  }
  .hs-tools-tab-caret {
    font-size: 10px;
    color: var(--theme);
    opacity: 0;
    transition: opacity 0.15s ease;
  }
  .hs-tools-tab:hover {
    color: var(--theme);
    background: rgba(13, 91, 184, 0.05);
  }
  .hs-tools-tab.is-active {
    color: var(--theme);
    background: #fff;
    border-left-color: var(--theme);
  }
  .hs-tools-tab.is-active .hs-tools-tab-caret {
    opacity: 1;
  }
  .hs-tools-tab--featured {
    margin-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    padding-top: 16px;
  }
  .hs-tools-tab--featured > i:first-child {
    color: #f4a41c;
  }

  .hs-tools-panes {
    flex: 1 1 auto;
    position: relative;
    padding: 28px 40px 32px;
  }
  /* Only the active category pane is visible on desktop. The .is-shown class
     is set in the template (first pane) and kept in sync by initToolsMenu(). */
  .hs-tools-panes .hs-tools-col {
    display: none;
  }
  .hs-tools-panes .hs-tools-col.is-shown {
    display: block;
  }
  .hs-tools-panes .hs-tools-col.is-shown > small {
    display: block;             /* override <details> collapse on desktop */
  }
  .hs-tools-panes .hs-tools-col::details-content {
    content-visibility: visible;
    height: auto;
    overflow: visible;
  }
  /* Pane title (re-uses .hs-tools-head, but as a heading not a toggle) */
  .hs-tools-panes .hs-tools-head {
    cursor: default;
    text-transform: none;
    letter-spacing: 0;
    font-size: 16px;
    color: #1c3461;
    border-bottom: 0;
    padding: 0;
    margin: 0 0 2px;
  }
  .hs-tools-panes .hs-tools-head::after {
    display: none;
  }
  .hs-tools-tagline {
    display: block;
    font-size: 12.5px;
    line-height: 1.4;
    color: #6b7a8d;
    margin-bottom: 16px;
  }
  /* Description cards in a two-up grid so wide panes use the full width */
  .hs-tools-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 20px;
  }
  /* High-specificity to beat the theme's .submenu li a (16px / 38px line /
     space-between, which otherwise blew up the font and split icon from text) */
  .header-main .main-menu ul li .hs-tools-mega .hs-tools-links a {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 11px;
    white-space: normal;
    line-height: 1.3;
    padding: 9px 12px;
    margin-bottom: 0;
    border-radius: 8px;
    color: #3a4a5e;
    transition: background 0.15s ease;
  }
  .header-main .main-menu ul li .hs-tools-mega .hs-tools-links a > i {
    flex: 0 0 auto;
    width: 18px;
    margin-top: 2px;
    text-align: center;
    font-size: 13px;
    color: var(--theme);
  }
  .hs-tools-link-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .hs-tools-link-label {
    font-size: 14px;
    font-weight: 600;
    color: #1c3461;
    line-height: 1.25;
  }
  .hs-tools-link-desc {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #6b7a8d;
    line-height: 1.3;
    margin-top: 1px;
  }
  .header-main .main-menu ul li .hs-tools-mega .hs-tools-links a:hover {
    background: rgba(13, 91, 184, 0.06);
  }
  .header-main .main-menu ul li .hs-tools-mega .hs-tools-links a:hover .hs-tools-link-label {
    color: var(--theme);
  }
  .header-main .main-menu ul li .hs-tools-mega .hs-tools-links a.active {
    background: #f0f5fc;
  }
  .header-main .main-menu ul li .hs-tools-mega .hs-tools-links a.active .hs-tools-link-label {
    color: var(--theme);
  }
}

/* ── Blog mega-menu (latest posts with feature images) ───────────
   Mobile (MeanMenu clone): stacked cards on the dark drawer.
   Desktop: wide panel, intro column + post cards. */
.hs-blog-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 10px 0;
}
.hs-blog-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--theme);
}
.hs-blog-heading {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 3px 0 6px;
}
.hs-blog-sub {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}
.hs-blog-allbtn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--theme);
}
.hs-blog-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #22344a;
}
.hs-blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.hs-blog-thumb i {
  color: rgba(255, 255, 255, 0.4);
  font-size: 22px;
}
.hs-blog-date {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}
.hs-blog-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  margin-top: 3px;
}

@media (min-width: 1200px) {
  .hs-blog-mega.has-homemenu {
    padding: 0 !important;
    border-radius: 0 0 12px 12px;
  }
  .hs-blog-grid {
    flex-direction: row;
    align-items: stretch;
    gap: 28px;
    padding: 30px 44px 34px;
  }
  .hs-blog-intro {
    flex: 0 0 230px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    padding-right: 28px;
  }
  .hs-blog-heading { color: #1c3461; }
  .hs-blog-sub { color: #6b7280; }
  /* Cards: equal-width, beat the theme's .submenu li a styling */
  .header-main .main-menu ul li .hs-blog-mega li a.hs-blog-card {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    padding: 0;
    line-height: 1.3;
    font-weight: 500;
  }
  .hs-blog-mega .hs-blog-date { color: #97a3b4; }
  .hs-blog-mega .hs-blog-title { color: #1c3461; }
  .hs-blog-card:hover .hs-blog-thumb img { transform: scale(1.06); }
  .hs-blog-card:hover .hs-blog-title { color: var(--theme); }
}

/* Mobile clone: keep cards stacked & full width (beat MeanMenu's a styling) */
.mean-container .mean-nav ul li a.hs-blog-card,
.mean-container .mean-nav ul li a.hs-blog-allbtn {
  float: none;
  width: 100%;
  display: flex;
  padding: 0;
  border-top: 0;
  text-transform: none;
}
.mean-container .mean-nav ul li a.hs-blog-card {
  flex-direction: column;
  margin-bottom: 6px;
}

/* ── Compact dropdowns (Services, Documents) — match mega-menu look ──
   Icon + 14px text + theme hover, beating the theme's .submenu li a. */
.header-main .main-menu ul li .hs-menu li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  padding: 8px 22px;
  color: #3a4a5e;
  white-space: nowrap;
}
.header-main .main-menu ul li .hs-menu li a > i {
  flex: 0 0 auto;
  width: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--theme);
}
.header-main .main-menu ul li .hs-menu li a:hover {
  color: var(--theme);
  padding-left: 26px;
}
.header-main .main-menu ul li .hs-menu li.active > a {
  color: var(--theme);
  font-weight: 600;
}

/* ── Mobile: full-screen side drawer (reads as a menu, not a popup) ──
   The theme insets the panel 15px and shifts it -15px when open (rounded
   card look). On phones make it edge-to-edge with no gap. */
@media (max-width: 575px) {
  .offcanvas__info {
    width: 100%;
    top: 0;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
  }
  .offcanvas__info.info-open {
    transform: translateX(0);
  }
}

/* ── Sign-out button in Account submenu ──────────────────────── */
.hs-signout-li {
  border-top: 1px solid #f0f0f0;
  margin-top: 4px;
  padding-top: 4px;
}
.hs-signout-btn {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: #c0392b;
  padding: 9px 18px;
  font-size: 14px;
  font-family: inherit;
  display: block;
  transition: background 0.15s ease;
}
.hs-signout-btn:hover {
  background: rgba(192,57,43,0.06);
}

/* ── Account / login in the dark top bar (desktop ≥1200px) ──────── */
.header-top-section .contact-list .hs-acct-bell > a,
.header-top-section .contact-list .hs-acct-item > a,
.header-top-section .contact-list .hs-acct-login > a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
}
.header-top-section .contact-list .hs-acct-bell > a:hover,
.header-top-section .contact-list .hs-acct-item > a:hover,
.header-top-section .contact-list .hs-acct-login > a:hover {
  color: #fff;
}
.header-top-section .contact-list .hs-acct-bell .fa-bell {
  color: rgba(255,255,255,0.85);
}
/* Dropdown panel — a white card anchored to the right of the trigger */
.header-top-section .contact-list .hs-acct-item {
  position: relative;
}
.header-top-section .contact-list .hs-acct-item .submenu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 1000;
}
.header-top-section .contact-list .hs-acct-item:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.header-top-section .contact-list .hs-acct-item .submenu li {
  display: block;
}
.header-top-section .contact-list .hs-acct-item .submenu li a {
  display: block;
  padding: 9px 18px;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}
.header-top-section .contact-list .hs-acct-item .submenu li a:hover {
  background: #f5f7fa;
  color: #0D5BB8;
}
/* Auth group wraps both pills in one list item so the 50px contact-list gap
   only separates it from the selector, not the two buttons from each other */
.header-top-section .contact-list .hs-acct-auth {
  display: flex;
  align-items: center;
  gap: 8px;
}
/* Log In / Register rendered as compact pill buttons in the top bar */
.header-top-section .contact-list .hs-acct-login,
.header-top-section .contact-list .hs-acct-register {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
/* Log In — outlined */
.header-top-section .contact-list .hs-acct-login {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
}
.header-top-section .contact-list .hs-acct-login:hover {
  background: #fff;
  color: #111827;
  border-color: #fff;
}
/* Register — filled accent */
.header-top-section .contact-list .hs-acct-register {
  color: #fff;
  background: #0D5BB8;
  border: 1px solid #0D5BB8;
}
.header-top-section .contact-list .hs-acct-register:hover {
  background: #0a4a99;
  border-color: #0a4a99;
  color: #fff;
}

/* ── Home hero height: trim the theme's very tall padding ────────
   Default .hero-1 .hero-height is 300px/320px which leaves a large
   empty band below the slide content. Scale it down across breakpoints. */
/* Dark fallback behind the hero so no white shows through while the
   background image is still downloading or Swiper is sizing the slides.
   Matches the image overlay tone (rgba(12,30,33)). */
.hero-section-1.hero-1 {
  background-color: #0c1e21;
}
.hero-1 .hero-height {
  padding: 190px 0 70px;
}
@media (max-width: 1399px) {
  .hero-1 .hero-height { padding: 170px 0 66px; }
}
@media (max-width: 1199px) {
  .hero-1 .hero-height { padding: 150px 0 60px; }
}
@media (max-width: 575px) {
  .hero-1 .hero-height { padding: 130px 0 55px; }
}

/* ── Side drawer: secondary links (About / Newsletter / Contact) ── */
.hs-offcanvas-links {
  list-style: none;
  margin: 0 0 28px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.hs-offcanvas-links li + li {
  margin-top: 2px;
}
.hs-offcanvas-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.hs-offcanvas-links a:hover {
  color: var(--theme);
  padding-left: 10px;
}
.hs-offcanvas-links a i {
  width: 18px;
  text-align: center;
  color: var(--theme);
  font-size: 14px;
}

/* ── Scrolling capability pills — float over the hero bottom ──────
   Positioning is inherited from the theme's .hero-section-1 .marquee-section-2
   rule (absolute, bottom:40px). These are just pill tweaks. */
.hs-hero-pills .marquee-icon .text {
  white-space: nowrap;
}
.hs-hero-pills .marquee-icon i {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}
/* Hide the scrolling pills on mobile — too cramped over the shorter hero */
@media (max-width: 991px) {
  .hs-hero-pills {
    display: none;
  }
}

/* ── Blog news cards — uniform height + correct overlay colour ── */
.news-box-main-area .news-box-items {
  height: 420px;
}
.news-box-main-area .news-box-items img {
  object-fit: cover;
}
/* Replace dark-green overlay gradient with brand navy */
.news-box-main-area .news-box-items::before {
  background: linear-gradient(180deg, rgba(17,24,39,0.20) 0%, rgba(17,24,39,0.88) 100%);
}

/* ── Blog detail — image sizing ──────────────────────────────── */
/* Cap the hero/featured image so it doesn't dominate the page */
.post-featured-thumb {
  height: 460px;
  overflow: hidden;
  border-radius: 8px;
}
.post-featured-thumb img {
  width: 100%;
  height: 130%; /* extra height lets parallax scroll without white edges */
  object-fit: cover;
  object-position: center top;
  will-change: transform;
}
/* Mobile — drop the parallax extra height so the full image is visible */
@media (max-width: 767px) {
  .post-featured-thumb {
    height: 220px;
  }
  .post-featured-thumb img {
    height: 100%;
    object-position: center center;
    will-change: auto;
  }
}
/* Tablet — moderate height, less parallax overhead */
@media (min-width: 768px) and (max-width: 991px) {
  .post-featured-thumb {
    height: 300px;
  }
  .post-featured-thumb img {
    height: 115%;
  }
}
/* Constrain any images embedded inside article body content */
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  margin: 1.25rem auto;
}
/* Sidebar recent-post thumbnails — fixed small square */
.main-sideber .single-sideber-widget .recent-post-area .recent-items .recent-thumb {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  overflow: hidden;
  border-radius: 8px;
}
.main-sideber .single-sideber-widget .recent-post-area .recent-items .recent-thumb img {
  width: 90px !important;
  height: 90px !important;
  max-width: 90px;
  object-fit: cover;
}

/* ── Footer ───────────────────────────────────────────────── */
.hs-footer-logo {
  max-height: 60px;
  width: auto;
}
/* Footer bottom bar: override Bixoo's dark-green with brand navy */
.footer-bottom-3 {
  background-color: #111827;
}
.hs-nl-msg { font-size: 13px; margin-bottom: 8px; }
.hs-nl-success { color: #7ecfa0; }
.hs-nl-error   { color: #e07070; }

/* ── Page hero (inner pages) ──────────────────────────────── */
.page-hero {
  position: relative;
  padding: 90px 0 60px;
  background: linear-gradient(135deg, #111827 0%, #111827 100%);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero h1,
.page-hero .page-title {
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}
.page-hero p,
.page-hero .page-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin: 0;
}
.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}
.breadcrumb-item a { color: rgba(255,255,255,0.7); }
.breadcrumb-item.active { color: rgba(255,255,255,0.5); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* Bixoo-style breadcrumb-wrapper background fallback */
.breadcrumb-wrapper {
  background-color: #111827;
}

/* Reduce breadcrumb hero height — default is far too tall */
.breadcrumb-wrapper .page-heading {
  padding: 190px 0 80px;
}
@media (max-width: 1199px) {
  .breadcrumb-wrapper .page-heading {
    padding-top: 120px;
    padding-bottom: 70px;
  }
}
@media (max-width: 767px) {
  .breadcrumb-wrapper .page-heading {
    padding-top: 100px;
    padding-bottom: 60px;
  }
}

/* ── Legacy Bootstrap 4 spacing utilities (bridge) ───────── */
.mr-0 { margin-right: 0 !important; }
.mr-1 { margin-right: 0.25rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.mr-3 { margin-right: 1rem !important; }
.mr-4 { margin-right: 1.5rem !important; }
.mr-5 { margin-right: 3rem !important; }
.ml-0 { margin-left: 0 !important; }
.ml-1 { margin-left: 0.25rem !important; }
.ml-2 { margin-left: 0.5rem !important; }
.ml-3 { margin-left: 1rem !important; }
.ml-4 { margin-left: 1.5rem !important; }
.ml-5 { margin-left: 3rem !important; }
.pr-0 { padding-right: 0 !important; }
.pr-1 { padding-right: 0.25rem !important; }
.pr-2 { padding-right: 0.5rem !important; }
.pr-3 { padding-right: 1rem !important; }
.pl-0 { padding-left: 0 !important; }
.pl-1 { padding-left: 0.25rem !important; }
.pl-2 { padding-left: 0.5rem !important; }
.pl-3 { padding-left: 1rem !important; }

/* ── .btn-common → .theme-btn bridge ─────────────────────── */
.btn-common {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: #0D5BB8;
  color: #fff !important;
  border: 2px solid #0D5BB8;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}
.btn-common:hover {
  background: transparent;
  color: #0D5BB8 !important;
  text-decoration: none;
}
.btn-common-border {
  background: transparent;
  color: #0D5BB8 !important;
}
.btn-common-border:hover {
  background: #0D5BB8;
  color: #fff !important;
}

/* ── Content section padding fix ─────────────────────────── */
.section-padding {
  padding: 80px 0;
}

/* ── Alert/message styling ────────────────────────────────── */
.alert { border-radius: 4px; }

/* ── Ensure form controls render properly ────────────────── */
.form-control:focus {
  border-color: #0D5BB8;
  box-shadow: 0 0 0 0.2rem rgba(13, 91, 184, 0.25);
}

/* ── Smooth scroll adjustments ───────────────────────────── */
#smooth-wrapper { overflow: hidden; position: relative; }
#smooth-content { will-change: transform; }

/* Bixoo already hides header-top-section at ≤1199px via its own CSS */
@media screen and (max-width: 1199px) {
  .documents-dropdown-menu,
  .services-dropdown-menu,
  .tools-dropdown-menu {
    left: auto; right: auto; width: auto;
    min-width: 0; max-width: none; transform: none;
  }
}

@media screen and (max-width: 767px) {
  .section-padding { padding: 50px 0; }
  .page-hero { padding: 70px 0 40px; }
}

/* ── About page: credentials card h2 on dark bg ──────────── */
.service-section-inners .service-box-items-style-2 .service-content h2 {
  color: var(--white);
}

/* ── About page: project cards without images ─────────────── */
.about-project-thumb {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bg-3);
}

/* ── Section titles on dark service-section-inners bg ─────── */
.service-section-inners .section-title h2,
.service-section-inners .section-title p {
  color: var(--white);
}

/* ── Team cards — fixed thumb height so all cards match ────── */
.team-section-4 .team-box-items-style-4 .thumb {
  height: 360px;
}

/* ── Tools page: light-bg tool cards ─────────────────────── */
.haresign-tool-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 10px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.haresign-tool-card:hover {
  box-shadow: 0 8px 32px rgba(13,91,184,.12);
  transform: translateY(-3px);
}
.haresign-tool-card--clickable {
  cursor: pointer;
}
.haresign-tool-card--clickable:focus-visible {
  outline: 3px solid rgba(13,91,184,.25);
  outline-offset: 4px;
}
.haresign-tool-card--clickable .theme-btn {
  position: relative;
  z-index: 1;
}
.haresign-tool-icon {
  width: 54px;
  height: 54px;
  background: var(--theme);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.haresign-tool-icon i {
  font-size: 22px;
  color: #fff;
}
.haresign-tool-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111827;
}
.haresign-tool-card > p {
  color: #6b7c85;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.haresign-tool-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  flex: 1;
}
.haresign-tool-card ul li {
  font-size: 13px;
  color: #6b7c85;
  padding: 3px 0;
}
.haresign-tool-card ul li i {
  color: var(--theme);
  font-size: 11px;
  margin-right: 8px;
}
.tools-quick-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px auto 0;
  max-width: 980px;
}
.tools-quick-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid #dbe3ec;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(13,91,184,.06);
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.tools-quick-nav a i {
  color: var(--theme);
  font-size: 13px;
}
.tools-quick-nav a .qn-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(13,91,184,.10);
  color: var(--theme);
  font-size: 11px;
  font-weight: 800;
  transition: background .18s ease, color .18s ease;
}
.tools-quick-nav a:hover {
  background: var(--theme);
  border-color: var(--theme);
  color: #fff;
  transform: translateY(-1px);
}
.tools-quick-nav a:hover i {
  color: #fff;
}
.tools-quick-nav a:hover .qn-count {
  background: rgba(255,255,255,.22);
  color: #fff;
}
.tools-section-anchor {
  scroll-margin-top: 120px;
}

/* ── Tools page: intro stats strip ───────────────────────── */
.tools-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 30px auto 4px;
  max-width: 820px;
}
.tools-stat {
  flex: 1 1 160px;
  max-width: 200px;
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  box-shadow: 0 6px 22px rgba(13,91,184,.05);
}
.tools-stat-num {
  display: block;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--theme);
}
.tools-stat-label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7c85;
}

/* ── Tools page: per-category accent system ──────────────── */
.tools-cat { --cat: var(--theme); }
.tools-cat--access     { --cat: #0d5bb8; }
.tools-cat--funding    { --cat: #0e9f6e; }
.tools-cat--contract   { --cat: #7c3aed; }
.tools-cat--compliance { --cat: #e8590c; }
.tools-cat--population  { --cat: #0e7490; }
.tools-cat .haresign-tool-icon {
  background: var(--cat);
}
.tools-cat .haresign-tool-card ul li i {
  color: var(--cat);
}
.tools-cat .haresign-tool-card:hover {
  box-shadow: 0 8px 32px color-mix(in srgb, var(--cat) 18%, transparent);
}

/* ── Tools page: section eyebrow label ───────────────────── */
.tools-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--cat, var(--theme)) 12%, #fff);
  color: var(--cat, var(--theme));
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.tools-eyebrow i {
  font-size: 12px;
}

/* ── Tools page: coming-soon card + badge ────────────────── */
.haresign-tool-card.is-coming-soon {
  opacity: .82;
}
.haresign-tool-card.is-coming-soon .haresign-tool-icon {
  background: color-mix(in srgb, var(--cat, var(--theme)) 14%, #fff);
}
.haresign-tool-card.is-coming-soon .haresign-tool-icon i {
  color: var(--cat, var(--theme));
}
.tool-badge-soon {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background: var(--cat, var(--theme));
  color: #fff;
  border-radius: 4px;
  padding: 2px 8px;
  margin-left: 6px;
  vertical-align: middle;
}
.theme-btn.is-disabled {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Tools page: dark service card list items ─────────────── */
.service-box-items-style-2 .service-content ul li {
  font-size: 12px;
  display: block;
  line-height: 1.6;
  padding: 2px 0;
}

/* ── Blog article cards: style-2 flat card with always-visible Learn More ── */
.news-box-items-style-2 .thumb {
  height: 220px;
}
.news-box-items-style-2 .thumb img {
  height: 220px;
  object-fit: cover;
  object-position: center top;
}

/* Equal-height cards — stretch to tallest in each row */
#articles-grid .article-card {
  display: flex;
  flex-direction: column;
}
#articles-grid .news-box-items-style-2 {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}
#articles-grid .news-box-items-style-2 .content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
#articles-grid .news-box-items-style-2 .content h3 {
  flex: 1;
}
#articles-grid .news-box-items-style-2 .content .link-btn {
  margin-top: auto;
  padding-top: 18px;
  display: inline-block;
}

/* ── CTA section-3 colour fixes ──────────────────────────── */
/* All text inside the contact info block should be white */
.cta-wrapper-3 .cta-first-items .content p,
.cta-wrapper-3 .cta-first-items .content p a,
.cta-wrapper-3 .cta-first-items .content .mail-text {
  color: var(--white);
}
/* "Let's Work Together" button: white bg, theme-coloured text */
.cta-wrapper-3 .theme-btn,
.cta-wrapper-3 .theme-btn .btn-title {
  background-color: var(--white);
  color: var(--theme);
}
.cta-wrapper-3 .theme-btn .btn-arrow-left,
.cta-wrapper-3 .theme-btn .btn-arrow-right {
  background-color: var(--theme);
  color: var(--white);
}
.cta-wrapper-3 .theme-btn:hover {
  background-color: var(--heading);
  color: var(--white);
}
.cta-wrapper-3 .theme-btn:hover .btn-title {
  color: var(--white);
}
.cta-wrapper-3 .theme-btn:hover .btn-arrow-left,
.cta-wrapper-3 .theme-btn:hover .btn-arrow-right {
  background-color: var(--white);
  color: var(--heading);
}

/* ── News right-column card sizing ───────────────────────── */
/* Give thumb a fixed square so it renders alongside content */
.news-right-thumb-style-3 {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.news-right-thumb-style-3 li {
  flex: 1;
  display: flex;
}
.news-right-thumb-style-3 li .news-thumb-items {
  flex: 1;
  align-items: stretch;
}
.news-right-thumb-style-3 li .news-thumb-items .thumb {
  flex: 0 0 180px;
  width: 180px;
  min-height: 160px;
}
.news-right-thumb-style-3 li .news-thumb-items .content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: unset;
}
.news-right-thumb-style-3 li .news-thumb-items .content .link-btn {
  margin-top: auto;
  padding-top: 12px;
}

/* ── Hero circle-box — lift above heading text on desktop ─────── */
.hero-3 .circle-box {
  top: 14%;
}
@media (max-width: 1899px) {
  .hero-3 .circle-box {
    top: 12%;
  }
}

/* ── Auth pages (login / register) ───────────────────────────── */
.auth-form-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 44px 40px;
  height: 100%;
}
.auth-info-panel {
  background: #111827;
  border-radius: 10px;
  padding: 44px 40px;
  height: 100%;
}
.auth-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.auth-info-list li {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.auth-info-list li:last-child { border-bottom: none; }
.auth-info-list li i {
  color: #0D5BB8;
  font-size: 15px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}
/* Labels */
.auth-form-section .form-clt label {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
  display: block;
}
/* Inputs */
.auth-form-section .form-clt input[type=text],
.auth-form-section .form-clt input[type=email],
.auth-form-section .form-clt input[type=password],
.auth-form-section .auth-option-box input[type=text] {
  border-radius: 5px;
  border: 1px solid rgba(88,109,145,0.22);
  background: #fff;
  padding: 14px 18px;
  width: 100%;
  color: #111827;
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
  display: block;
}
.auth-form-section .form-clt input:focus,
.auth-form-section .auth-option-box input[type=text]:focus {
  border-color: #0D5BB8;
  box-shadow: 0 0 0 3px rgba(13,91,184,0.08);
  outline: none;
}
/* Info aside strip */
.auth-info-aside {
  background: #eff6ff;
  border-left: 4px solid #0D5BB8;
  border-radius: 0 6px 6px 0;
  padding: 12px 16px;
  font-size: 13px;
  color: #374151;
  line-height: 1.7;
}
/* Option boxes (newsletter / practice search) */
.auth-option-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 16px 18px;
}
.auth-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.auth-checkbox-row input[type=checkbox] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: #0D5BB8;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
/* Helper text / errors */
.auth-required   { color: #e74c3c; }
.auth-field-hint { font-size: 12px; color: #9ca3af; margin: 4px 0 0; }
.auth-field-error{ font-size: 13px; color: #e74c3c; margin: 4px 0 0; }
/* Responsive */
@media (max-width: 767px) {
  .auth-form-box,
  .auth-info-panel { padding: 32px 24px; }
}

/* ── Article body — Bootstrap 5 brand colour integration ──────── */
/* Scope all overrides to .article-body so the rest of the site is unaffected */
.article-body {
  color: #374151;
  font-size: 16px;
  line-height: 1.8;
  /* Map Bootstrap's --bs-primary to the Haresign brand blue */
  --bs-primary: #0D5BB8;
  --bs-primary-rgb: 13, 91, 184;
  --bs-link-color: #0D5BB8;
  --bs-link-hover-color: #0a4a9c;
}
.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
  color: #111827;
  font-weight: 700;
  line-height: 1.3;
}
/* Tame the display-6 jumbo heading used in article intros */
.article-body .display-6,
.article-body h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}
/* Inline links within article prose */
.article-body a:not(.btn):not(.btn-common) {
  color: #0D5BB8;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body a:not(.btn):not(.btn-common):hover {
  color: #0a4a9c;
}
/* Primary colour utilities */
.article-body .text-primary       { color: #0D5BB8 !important; }
.article-body .bg-primary         { background-color: #0D5BB8 !important; }
.article-body .border-primary     { border-color: #0D5BB8 !important; }
.article-body .badge.bg-primary   { background-color: #0D5BB8 !important; }
/* Alert — primary */
.article-body .alert-primary {
  background-color: #dbeafe;
  border-color: #93c5fd;
  color: #1e3a5f;
}
/* Cards — lighten borders to match site palette */
.article-body .card {
  border-color: #e5e7eb;
}
/* Section breathing room */
.article-body > section,
.article-body article > section {
  margin-bottom: 2rem;
}
/* Restore list styles stripped by the global ul { list-style: none } theme reset */
.article-body ul {
  list-style: disc;
  margin: 0 0 18px 24px;
  padding: 0;
}
.article-body ol {
  list-style: decimal;
  margin: 0 0 18px 24px;
  padding: 0;
}
.article-body ul li,
.article-body ol li {
  margin-bottom: 6px;
}
/* Nested lists */
.article-body ul ul { list-style: circle; margin-bottom: 0; }
.article-body ul ul ul { list-style: square; }

/* Responsive tables inside articles */
.article-body table {
  font-size: 14px;
  width: 100%;
}

/* --- Donation widgets ----------------------------------------------------- */
.hs-donate-widget p {
  margin: 0 0 1rem;
  font-size: 14px;
  line-height: 1.6;
}

/* Slim donation banner shown on tool pages */
.hs-donate-banner {
  position: relative;
  background: #eef6f7;
  border-top: 1px solid #d4e7ea;
  border-bottom: 1px solid #d4e7ea;
  padding: 10px 0;
  font-size: 14px;
}
.hs-donate-banner[hidden] {
  display: none !important;
}
.hs-donate-banner__close {
  position: absolute;
  top: 6px;
  right: 10px;
  background: transparent;
  border: 0;
  color: #1f4d54;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: .55;
  padding: 4px 6px;
}
.hs-donate-banner__close:hover {
  opacity: 1;
}
.hs-donate-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  /* leave room for the absolutely-positioned close button */
  padding-right: 34px;
  padding-left: 34px;
}
.hs-donate-banner__text {
  color: #1f4d54;
}
@media (max-width: 575px) {
  .hs-donate-banner .container {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}
.hs-donate-banner__text i {
  color: #c0392b;
  margin-right: 6px;
}
.hs-donate-banner__btn {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: #0b7285;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.hs-donate-banner__btn:hover {
  background: #095c6b;
  color: #fff;
}

/* ── "Try the dashboard view" bubble ──────────────────────── */
/* Floating prompt on marketing tool pages pointing at the same tool on the app
   subdomain. See partials/_app_switch_bubble.html. Deliberately small and quiet —
   it sits over a working tool, so it must never cover the tool's own controls. */
.hs-app-switch {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;                 /* over page content, under the cookie bar (9999) */
  display: flex;
  align-items: stretch;
  background: #12233f;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.28);
  overflow: hidden;
  max-width: calc(100vw - 40px);
  transition: bottom 0.2s ease;
}
.hs-app-switch.is-raised {
  bottom: 110px;                 /* clear of the cookie bar while it's showing */
}
.hs-app-switch__link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px 11px 14px;
  color: #fff;
  text-decoration: none;
}
.hs-app-switch__link:hover {
  background: #1b3054;
  color: #fff;
}
.hs-app-switch__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #0d5bb8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.hs-app-switch__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.hs-app-switch__text strong {
  font-size: 13.5px;
  font-weight: 700;
}
.hs-app-switch__text span {
  font-size: 11.5px;
  color: #9fb0d0;
}
@media (max-width: 575px) {
  .hs-app-switch {
    right: 12px;
    bottom: 12px;
  }
  .hs-app-switch__text span {
    display: none;              /* keep the pill to one line on a phone */
  }
}
