/*!
 * Site header styles (sticky header, dropdowns, mobile menu) - scoped under .hb-header
 *
 * header/_design.scss is generated from the live design artifact "Hyams Bankruptcy Answers"
 * (hub-files/tools/generate-scoped-scss.js); theme-specific overrides live in _integrations.scss.
 *
 * Compile:  sass --no-source-map inc/assets/sass/header.scss inc/assets/css/header.css
 */
.hb-header {
  display: contents;
}
.hb-header ul {
  margin-bottom: 0;
}
.hb-header a:hover {
  text-decoration: none;
}
.hb-header .logo {
  padding: 0;
}
.hb-header :focus:not(:focus-visible) {
  outline: 0;
}

.hb-header ~ .main-content {
  padding-top: 0;
}

.admin-bar .hb-header .site-head {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .hb-header .site-head {
    top: 46px;
  }
}
@media screen and (max-width: 600px) {
  .admin-bar .hb-header .site-head {
    top: 0;
  }
}
.hb-header {
  color-scheme: light;
  --navy: #0b3c5d;
  --navy-700: #0f4a72;
  --navy-900: #082d47;
  --navy-overlay: #1b4f72;
  --blue: #328bc3;
  --blue-hover: #2878aa;
  --blue-soft: #f0f6fa;
  --yellow: #d9b310;
  --yellow-hover: #e2c43f;
  --yellow-soft: #fff8e0;
  --yellow-40: rgba(217,179,16,.4);
  --ink: #1e2631;
  --gray-700: #3f4953;
  --gray-600: #5c6670;
  --gray-500: #848d95;
  --gray-300: #a3b2bf;
  --gray-100: #e3e3e3;
  --white: #fff;
  --line: #eaf2f8;
  --border: #d6e4ee;
  --border-strong: #b8cddd;
  --success: #2e7d4f;
  --success-soft: #e5f4ec;
  --error: #b03a2e;
  --error-soft: #fbe9e7;
  --water: #a9d2ec;
  --navy-2: var(--navy-700);
  --navy-3: var(--navy-900);
  --gray: var(--gray-500);
  --gray-3: var(--gray-700);
  --elephant: var(--blue-soft);
  --pq-line: var(--line);
  --card-line: var(--line);
  --blue-line: var(--border-strong);
  --pq-bg: var(--blue-soft);
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-64: 64px;
  --space-80: 80px;
  --radius-xs: 4px;
  --radius-s: 6px;
  --radius-m: 8px;
  --radius-l: 12px;
  --radius-full: 999px;
  --serif: "PT Serif", Georgia, "Times New Roman", serif;
  --sans: Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-display: 56px;
  --lh-display: 64px;
  --t-display: 400 var(--fs-display)/var(--lh-display) var(--serif);
  --fs-h1: 44px;
  --lh-h1: 52px;
  --t-h1: 400 var(--fs-h1)/var(--lh-h1) var(--serif);
  --fs-h2: 32px;
  --lh-h2: 40px;
  --t-h2: 400 var(--fs-h2)/var(--lh-h2) var(--serif);
  --fs-h3: 24px;
  --lh-h3: 32px;
  --t-h3: 400 var(--fs-h3)/var(--lh-h3) var(--serif);
  --fs-h4: 20px;
  --lh-h4: 28px;
  --t-h4: 400 var(--fs-h4)/var(--lh-h4) var(--serif);
  --fs-nav: 16px;
  --lh-nav: 20px;
  --t-nav: 400 var(--fs-nav)/var(--lh-nav) var(--serif);
  --fs-body-l: 18px;
  --lh-body-l: 30px;
  --t-body-l: 400 var(--fs-body-l)/var(--lh-body-l) var(--sans);
  --fs-body: 16px;
  --lh-body: 24px;
  --t-body: 400 var(--fs-body)/var(--lh-body) var(--sans);
  --fs-body-s: 14px;
  --lh-body-s: 22px;
  --t-body-s: 400 var(--fs-body-s)/var(--lh-body-s) var(--sans);
  --fs-caption: 12px;
  --lh-caption: 16px;
  --t-caption: 500 var(--fs-caption)/var(--lh-caption) var(--sans);
  --fs-eyebrow: 14px;
  --lh-eyebrow: 20px;
  --t-eyebrow: 500 var(--fs-eyebrow)/var(--lh-eyebrow) var(--sans);
  --fs-label: 16px;
  --lh-label: 20px;
  --t-label: 500 var(--fs-label)/var(--lh-label) var(--sans);
  --fs-button-l: 18px;
  --lh-button-l: 24px;
  --t-button-l: 600 var(--fs-button-l)/var(--lh-button-l) var(--sans);
  --fs-button-m: 16px;
  --lh-button-m: 20px;
  --t-button-m: 600 var(--fs-button-m)/var(--lh-button-m) var(--sans);
  --fs-link-l: 18px;
  --lh-link-l: 24px;
  --t-link-l: 500 var(--fs-link-l)/var(--lh-link-l) var(--sans);
  --btn-h-l: 56px;
  --btn-px-l: 28px;
  --btn-ico-l: 20px;
  --btn-h-m: 48px;
  --btn-px-m: 24px;
  --btn-ico-m: 18px;
  --gutter: 100px;
}
@media (max-width: 640px) {
  .hb-header {
    --fs-display: 40px;
    --lh-display: 46px;
    --fs-h1: 32px;
    --lh-h1: 40px;
    --fs-h2: 26px;
    --lh-h2: 34px;
    --fs-h3: 20px;
    --lh-h3: 28px;
    --fs-h4: 18px;
    --lh-h4: 26px;
    --fs-body-l: 17px;
    --lh-body-l: 28px;
    --btn-px-l: 20px;
  }
}
.hb-header * {
  box-sizing: border-box;
}
.hb-header [hidden] {
  display: none !important;
}
.hb-header {
  font: var(--t-body);
  margin: 0;
  background: var(--white);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
.hb-header button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.hb-header .ico {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex: none;
  vertical-align: middle;
}
.hb-header :focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.hb-header .header {
  height: 72px;
  background: var(--white);
  border-bottom: 1px solid var(--pq-line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  padding-inline: clamp(48px, (100vw - 1240px) / 2, 100px);
  position: relative;
  z-index: 5;
}
.hb-header .header > .logo-link {
  justify-self: start;
}
.hb-header .header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: var(--space-16);
}
.hb-header .header .logo {
  width: 186px;
  height: 52px;
  display: block;
  flex: none;
}
.hb-header .nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.hb-header .nav-item {
  height: 44px;
  display: flex;
}
.hb-header .nav-link {
  font: 500 14px/20px var(--sans);
  position: relative;
  display: flex;
  gap: var(--space-8);
  align-items: center;
  height: 44px;
  padding: 10px 16px;
  border: 0;
  background: none;
  text-transform: uppercase;
  color: var(--gray);
  white-space: nowrap;
  cursor: default;
}
.hb-header .nav-link .ico {
  color: currentColor;
  width: 12px;
  height: 12px;
}
.hb-header .nav-link.active {
  color: var(--navy);
}
.hb-header .badges {
  width: 108px;
  height: 32px;
  display: block;
  flex: none;
}
.hb-header .burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 22px;
}
.hb-header .nav-link {
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
}
.hb-header .nav-link:hover,
.hb-header .has-dd:hover > .nav-link,
.hb-header .has-dd:focus-within > .nav-link {
  color: var(--navy);
}
.hb-header .nav-link.active:hover,
.hb-header .has-dd:hover > .nav-link.active {
  color: var(--navy);
}
.hb-header .nav-item {
  position: relative;
}
.hb-header .logo-link,
.hb-header .badges-link {
  display: block;
  flex: none;
}
.hb-header .dd {
  position: absolute;
  left: 0;
  top: calc(100% + 18px);
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  box-shadow: 0 18px 40px -12px rgba(11, 60, 93, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  z-index: 20;
}
.hb-header .has-dd:hover .dd,
.hb-header .has-dd:focus-within .dd,
.hb-header .has-dd.open .dd {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.hb-header .dd::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 20px;
}
.hb-header .dd-sub {
  position: relative;
}
.hb-header .dd-sub-btn {
  font: var(--t-body);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  width: 100%;
  height: 40px;
  padding: 0 12px;
  white-space: nowrap;
  border: 0;
  border-radius: var(--radius-s);
  background: none;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
}
.hb-header .dd-sub-btn .ico {
  width: 10px;
  height: 10px;
  color: var(--gray);
}
.hb-header .dd-sub:hover > .dd-sub-btn,
.hb-header .dd-sub:focus-within > .dd-sub-btn,
.hb-header .dd-sub.open > .dd-sub-btn {
  background: var(--blue-soft);
  color: var(--blue);
}
.hb-header .dd-sub:hover > .dd-sub-btn .ico,
.hb-header .dd-sub:focus-within > .dd-sub-btn .ico {
  color: var(--blue);
}
.hb-header .dd-fly {
  position: absolute;
  left: calc(100% + 8px);
  top: -9px;
  min-width: 220px;
  width: max-content;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  box-shadow: 0 18px 40px -12px rgba(11, 60, 93, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.hb-header .dd-fly::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 0;
  bottom: 0;
  width: 9px;
}
.hb-header .dd-sub:hover > .dd-fly,
.hb-header .dd-sub:focus-within > .dd-fly,
.hb-header .dd-sub.open > .dd-fly {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.hb-header .has-dd.dd-off .dd-fly {
  opacity: 0 !important;
  visibility: hidden !important;
}
.hb-header .dd a.is-cur,
.hb-header .dd-fly a.is-cur {
  color: var(--blue);
  background: var(--blue-soft);
}
.hb-header .has-dd.dd-off .dd {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(6px) !important;
}
.hb-header .has-dd.dd-off > .nav-link {
  color: var(--gray);
}
.hb-header .dd a {
  font: var(--t-body);
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-s);
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.hb-header .dd a:hover {
  background: var(--blue-soft);
  color: var(--blue);
}
.hb-header .mnav {
  position: relative;
  max-height: calc(100vh - 118px);
  overflow: auto;
  display: flex;
  flex-direction: column;
  padding: 8px 16px 16px;
  background: var(--white);
  border-top: 1px solid var(--pq-line);
  box-shadow: 0 12px 24px -12px rgba(11, 60, 93, 0.25);
  position: relative;
  z-index: 6;
}
.hb-header .mnav a,
.hb-header .mnav summary {
  font: var(--t-h4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--pq-line);
  cursor: pointer;
  list-style: none;
}
.hb-header .mnav summary::-webkit-details-marker {
  display: none;
}
.hb-header .mnav summary .ico {
  width: 12px;
  height: 12px;
  color: var(--blue);
}
.hb-header .mnav details a {
  font: var(--t-body);
  padding-left: 16px;
}
.hb-header .mnav .mnav-sub summary {
  font: var(--t-body);
  padding-left: 16px;
}
.hb-header .mnav .mnav-sub a {
  padding-left: 32px;
}
.hb-header .mnav .mnav-phone {
  justify-content: flex-start;
  gap: 10px;
  color: var(--blue);
  border-bottom: 0;
}
.hb-header .mnav .mnav-phone .ico {
  width: 16px;
  height: 16px;
}
@media (min-width: 1181px) {
  .hb-header .mnav {
    display: none !important;
  }
}
.hb-header .h-btn-blue {
  font: var(--t-button-m);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--btn-h-m);
  padding: 0 var(--btn-px-m);
  border-radius: var(--radius-m);
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  transition: background 0.15s;
}
.hb-header .h-btn-blue:hover {
  background: var(--blue-hover);
}
.hb-header .h-btn-blue .ico {
  width: var(--btn-ico-m);
  height: var(--btn-ico-m);
}
.hb-header .site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 6px 16px -10px rgba(11, 60, 93, 0.22);
  transition: transform 0.28s ease;
}
.hb-header .site-head.is-hidden-top {
  transform: translateY(-45px);
}
.hb-header .site-head.is-hidden-top .topbar {
  visibility: hidden;
  transition: visibility 0s 0.28s;
}
.hb-header .topbar {
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  border-bottom: 1px solid var(--pq-line);
  padding-inline: clamp(48px, (100vw - 1240px) / 2, 100px);
}
.hb-header .topbar-l {
  font: 400 14px/20px var(--sans);
  color: var(--gray-500);
  text-transform: uppercase;
  white-space: nowrap;
}
.hb-header .topbar-r {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}
.hb-header .top-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  font: 500 14px/22px var(--sans);
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}
.hb-header .top-phone .ico {
  width: 16px;
  height: 16px;
  color: var(--blue);
}
.hb-header .top-phone:hover {
  color: var(--blue);
}
.hb-header .nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.15s;
}
.hb-header .nav-link:hover::after,
.hb-header .has-dd:hover > .nav-link::after,
.hb-header .has-dd:focus-within > .nav-link::after {
  transform: none;
}
.hb-header .has-dd.dd-off > .nav-link::after {
  transform: scaleX(0);
}
.hb-header .nav-cta.h-btn-blue {
  height: 40px;
  padding: 0 16px;
  gap: 8px;
  font: 600 16px/20px var(--sans);
  white-space: nowrap;
}
@media (max-width: 1360px) {
  .hb-header .topbar .badges {
    display: block;
  }
}
@media (max-width: 1180px) {
  .hb-header .topbar {
    padding-inline: 48px;
  }
}
@media (max-width: 640px) {
  .hb-header .topbar {
    padding-inline: 16px;
  }
  .hb-header .topbar-l,
  .hb-header .topbar .badges-link {
    display: none;
  }
  .hb-header .topbar {
    justify-content: flex-end;
  }
  .hb-header .nav-cta {
    display: none !important;
  }
}
@media (max-width: 1360px) {
  .hb-header .header {
    padding-inline: 48px;
  }
  .hb-header .badges {
    display: none;
  }
}
@media (max-width: 1180px) {
  .hb-header {
    --gutter: 48px;
  }
  .hb-header .nav {
    display: none;
  }
  .hb-header .burger {
    display: flex;
  }
  .hb-header .header {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}
@media (max-width: 640px) {
  .hb-header {
    --gutter: 16px;
  }
  .hb-header .header {
    padding-inline: 16px;
  }
  .hb-header .header {
    height: 72px;
  }
  .hb-header .header .logo {
    width: 186px;
    height: 52px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hb-header * {
    transition: none !important;
  }
}

/* Calendly popup: keep it above the sticky site header and inside the viewport. */
.calendly-overlay {
  z-index: 100000 !important;
}
.calendly-overlay .calendly-popup {
  width: min(1000px, calc(100vw - 32px)) !important;
  height: min(700px, calc(100vh - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  max-height: calc(100vh - 32px) !important;
}
