/* Ghana Homefund — NHF-aligned palette (red + white) */
:root {
  /* Brand primary (token names kept for compatibility; values are NHF red) */
  --gh-blue-60: #c1121f;
  --gh-blue-70: #9a0e18;
  --gh-blue-10: #fdecec;
  --gh-blue-20: #f8c9cd;
  --gh-gold: #c1121f;
  --gh-gold-soft: #fff5f5;
  --gh-gray-10: #fff8f8;
  --gh-gray-20: #f0d5d7;
  --gh-gray-30: #d9a8ad;
  --gh-gray-50: #8a6064;
  --gh-gray-70: #5c383c;
  --gh-gray-100: #1a080a;
  --gh-white: #ffffff;
  --gh-green: #c1121f;
  --gh-red: #c1121f;
  --gh-header-h: 56px;
  --gh-portal-w: 256px;
  --gh-font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--gh-font);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--gh-gray-100);
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

a { color: var(--gh-blue-60); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--gh-gray-100);
}

.lead {
  margin: 0 0 1.5rem;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--gh-gray-70);
  font-weight: 400;
}

.gh-prose {
  max-width: 38rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--gh-gray-70);
}

.gh-prose p { margin: 0 0 0.75rem; }
.gh-prose p:last-child { margin-bottom: 0; }

.gh-fineprint {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--gh-gray-50);
}

.gh-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gh-gray-20);
}

.gh-page-head h1 {
  margin: 0 0 0.2rem;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 600;
}

.gh-page-head .lead,
.gh-page-head p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--gh-gray-70);
  max-width: 36rem;
  line-height: 1.4;
}

.gh-portal-content > h1 {
  margin: 0 0 0.2rem;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 600;
}

.gh-portal-content > .lead {
  margin-bottom: 0.9rem;
}

/* —— Header —— */
.gh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--gh-header-h);
  background: var(--gh-white);
  border-bottom: 1px solid var(--gh-gray-20);
}

.gh-header__inner {
  max-width: 1584px;
  margin: 0 auto;
  height: 100%;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.gh-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: 0.5rem;
  text-decoration: none !important;
}
.gh-logo img,
.gh-logo__img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}
.gh-logo__text,
.gh-logo__mark {
  display: none;
}

.gh-nav {
  display: flex;
  align-items: stretch;
  gap: 0.15rem;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.gh-nav a {
  padding: 0 0.85rem;
  height: var(--gh-header-h);
  display: inline-flex;
  align-items: center;
  color: var(--gh-gray-100);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.gh-nav a:hover { background: var(--gh-gray-10); text-decoration: none; }
.gh-nav a.is-active { border-bottom-color: var(--gh-blue-60); font-weight: 600; color: var(--gh-blue-70); }

.gh-header-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gh-gray-10);
  padding: 0 0.75rem;
  height: 2rem;
  min-width: 160px;
  max-width: 220px;
  flex: 0 1 200px;
}

.gh-header-search input {
  border: 0;
  background: transparent;
  outline: none;
  width: 100%;
  font: inherit;
  font-size: 0.8125rem;
}

.gh-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex: 0 0 auto;
}

/* Hamburger + mobile drawer */
.gh-hamburger {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--gh-gray-20);
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
}
.gh-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gh-gray-100);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
body.gh-drawer-open .gh-hamburger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
body.gh-drawer-open .gh-hamburger span:nth-child(2) {
  opacity: 0;
}
body.gh-drawer-open .gh-hamburger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.gh-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.45);
}
.gh-mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: min(22rem, 88vw);
  height: 100%;
  background: #fff;
  border-left: 1px solid var(--gh-gray-20);
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 2rem;
  transform: translateX(100%);
  transition: transform 0.22s ease;
}
body.gh-drawer-open .gh-drawer-backdrop {
  display: block;
}
body.gh-drawer-open .gh-mobile-drawer {
  display: block;
  transform: translateX(0);
}
.gh-mobile-drawer[hidden] {
  display: none !important;
}
body.gh-drawer-open .gh-mobile-drawer[hidden] {
  display: block !important;
}
.gh-mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid var(--gh-gray-20);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.gh-drawer-close {
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  background: var(--gh-gray-10);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--gh-gray-100);
}
.gh-mobile-drawer__user {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--gh-gray-20);
}
.gh-mobile-drawer__user img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.gh-mobile-drawer__user strong {
  display: block;
  font-size: 0.9rem;
}
.gh-mobile-drawer__user span {
  display: block;
  font-size: 0.75rem;
  color: var(--gh-gray-70);
  word-break: break-all;
}
.gh-mobile-drawer__label {
  margin: 1rem 1rem 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gh-gray-50);
}
.gh-mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  padding: 0 0.5rem;
}
.gh-mobile-drawer__nav a {
  display: block;
  padding: 0.75rem 0.75rem;
  color: var(--gh-gray-100);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  border-bottom: 1px solid var(--gh-gray-10);
}
.gh-mobile-drawer__nav a:hover {
  background: var(--gh-blue-10);
  color: var(--gh-blue-70);
}
.gh-mobile-drawer__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem 1rem 0;
}
.gh-mobile-drawer__actions .bx--btn {
  width: 100%;
  justify-content: center;
}

.gh-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--gh-gray-10);
  color: var(--gh-gray-70);
  text-decoration: none !important;
}

.gh-avatar img { width: 100%; height: 100%; object-fit: cover; }

.gh-avatar-settings__row {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.gh-avatar-settings__preview {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gh-blue-20);
  background: var(--gh-blue-10);
  flex-shrink: 0;
}

.gh-avatar-settings__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gh-avatar-settings__actions {
  flex: 1;
  min-width: 220px;
}

.gh-avatar-settings__form .bx--text-input {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

@media (max-width: 640px) {
  .gh-avatar-settings__row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* —— Flash —— */
.gh-flash {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}
.gh-flash--success { background: var(--gh-blue-10); color: var(--gh-blue-70); }
.gh-flash--error { background: #ffd7d9; color: #a2191f; }
.gh-flash--info { background: var(--gh-blue-20); color: var(--gh-blue-70); }

/* —— Footer —— */
.gh-footer {
  margin-top: auto;
  border-top: 1px solid var(--gh-gray-20);
  background: var(--gh-white);
  padding: 1.25rem 1.5rem;
}

.gh-footer__inner {
  max-width: 1584px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.gh-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--gh-gray-70);
}

.gh-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.75rem;
}

.gh-footer__links a { color: var(--gh-gray-70); }

/* —— Layout helpers —— */
.gh-container {
  max-width: 1584px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
}

.gh-section { padding: 2.75rem 1.5rem; }
.gh-section--gray { background: var(--gh-gray-10); }
.gh-section--tight { padding: 1.75rem 1.5rem; }
.gh-section--soft { background: var(--gh-gray-10); }
.gh-section--cta { padding-bottom: 2.5rem; }

/* Landing: avoid stacked container + section padding */
.gh-landing .gh-section .gh-container {
  padding-top: 0;
  padding-bottom: 0;
}

.gh-section__title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.gh-section__sub {
  color: var(--gh-gray-70);
  margin: 0 0 1.75rem;
  max-width: 32rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.gh-container--narrow {
  max-width: 1080px;
}

.gh-section-head {
  margin-bottom: 1.35rem;
}
.gh-section-head h2 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 600;
}
.gh-section-head p {
  margin: 0;
  color: var(--gh-gray-70);
  font-size: 0.9rem;
  max-width: 34rem;
}
.gh-section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
}
.gh-text-link {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

/* —— Landing hero (full-bleed, compact) —— */
.gh-landing .gh-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}

.gh-hero-bleed {
  position: relative;
  min-height: min(52vh, 420px);
  max-height: 460px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #9a0e18;
  color: #fff;
  isolation: isolate;
}

.gh-hero-bleed::before {
  content: "";
  position: absolute;
  inset: -5%;
  background: var(--hero-image) center/cover no-repeat;
  animation: gh-hero-pan 18s ease-in-out infinite alternate;
  z-index: -2;
}

.gh-hero-bleed__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(193, 18, 31, 0.92) 0%, rgba(154, 14, 24, 0.78) 42%, rgba(26, 8, 10, 0.35) 100%);
  z-index: -1;
}

.gh-hero-bleed__inner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 2.15rem;
  animation: gh-rise 0.7s ease both;
}

.gh-hero-bleed__brand {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.gh-hero-bleed__brand img {
  height: 36px;
  width: auto;
}

.gh-hero-bleed h1 {
  margin: 0 0 0.65rem;
  max-width: 14ch;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #fff;
}

.gh-hero-bleed__lead {
  margin: 0 0 1.25rem;
  max-width: 34rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.gh-hero-bleed__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  animation: gh-rise 0.7s ease 0.12s both;
}

.gh-btn-on-dark.bx--btn--tertiary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.gh-btn-on-dark.bx--btn--tertiary:hover {
  background: #fff;
  color: var(--gh-blue-70);
  border-color: #fff;
}

.gh-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--gh-gray-20);
  background: #fff;
}
.gh-trust-strip__item {
  padding: 0.9rem 1.15rem;
  border-right: 1px solid var(--gh-gray-20);
  animation: gh-rise 0.55s ease both;
}
.gh-trust-strip__item:nth-child(1) { animation-delay: 0.05s; }
.gh-trust-strip__item:nth-child(2) { animation-delay: 0.1s; }
.gh-trust-strip__item:nth-child(3) { animation-delay: 0.15s; }
.gh-trust-strip__item:nth-child(4) { animation-delay: 0.2s; }
.gh-trust-strip__item:last-child { border-right: 0; }
.gh-trust-strip__item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gh-gray-100);
  margin-bottom: 0.15rem;
}
.gh-trust-strip__item span {
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--gh-gray-70);
}

.gh-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 1.75rem;
}
.gh-pillars article {
  padding-top: 0.85rem;
  border-top: 2px solid var(--gh-blue-60);
}
.gh-pillars h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.gh-pillars p {
  margin: 0 0 0.65rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--gh-gray-70);
}
.gh-pillars a {
  font-size: 0.8125rem;
  font-weight: 600;
}

.gh-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: none;
}
.gh-steps li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.85rem 0.9rem;
  background: #fff;
  border: 1px solid var(--gh-gray-20);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.gh-steps li:hover {
  transform: translateY(-2px);
  border-color: var(--gh-blue-20);
}
.gh-steps span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gh-gold);
}
.gh-steps strong {
  font-size: 0.92rem;
  color: var(--gh-gray-100);
}
.gh-steps em {
  font-style: normal;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--gh-gray-70);
}

.gh-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gh-feature-card {
  display: block;
  text-decoration: none !important;
  color: inherit;
  background: #fff;
  border: 1px solid var(--gh-gray-20);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gh-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(193, 18, 31, 0.1);
}
.gh-feature-card__media {
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: var(--gh-gray-10);
}
.gh-feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gh-feature-card:hover .gh-feature-card__media img {
  transform: scale(1.04);
}
.gh-feature-card__body {
  padding: 0.85rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.gh-feature-card__body strong {
  font-size: 0.9rem;
  font-weight: 600;
}
.gh-feature-card__body span {
  font-size: 0.75rem;
  color: var(--gh-gray-70);
}
.gh-feature-card__body em {
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gh-blue-70);
  margin-top: 0.25rem;
}

.gh-band-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(120deg, var(--gh-blue-10), #fff 55%, var(--gh-gold-soft));
  border: 1px solid var(--gh-gray-20);
}
.gh-band-cta h2 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 600;
}
.gh-band-cta p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--gh-gray-70);
}
.gh-band-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

@keyframes gh-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes gh-hero-pan {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .gh-hero-bleed::before,
  .gh-hero-bleed__inner,
  .gh-hero-bleed__actions,
  .gh-trust-strip__item,
  .gh-feature-card,
  .gh-feature-card__media img,
  .gh-steps li {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .gh-trust-strip { grid-template-columns: 1fr 1fr; }
  .gh-trust-strip__item:nth-child(2) { border-right: 0; }
  .gh-pillars,
  .gh-steps,
  .gh-feature-grid { grid-template-columns: 1fr 1fr; }
  .gh-band-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .gh-hero-bleed { min-height: 48vh; max-height: none; }
  .gh-hero-bleed__inner { padding: 2rem 1.15rem 1.75rem; }
  .gh-trust-strip,
  .gh-pillars,
  .gh-steps,
  .gh-feature-grid { grid-template-columns: 1fr; }
  .gh-trust-strip__item { border-right: 0; border-bottom: 1px solid var(--gh-gray-20); }
  .gh-section-head--row { flex-direction: column; align-items: flex-start; }
}

/* Legacy landing blocks kept for other pages */
.gh-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1584px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  min-height: auto;
}

.gh-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  background: var(--gh-blue-10);
  color: var(--gh-blue-70);
  border: 1px solid var(--gh-blue-20);
  margin-bottom: 1rem;
}

.gh-hero h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  max-width: 18ch;
}

.gh-hero h1 em {
  font-style: normal;
  color: var(--gh-blue-70);
}

.gh-hero p {
  color: var(--gh-gray-70);
  font-size: 0.9375rem;
  line-height: 1.5;
  max-width: 28rem;
  margin: 0 0 1.25rem;
}

.gh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.gh-hero__media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.gh-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  max-height: 360px;
}

/* Advantage grid */
.gh-advantage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 960px;
}

.gh-tile {
  background: var(--gh-white);
  border: 1px solid var(--gh-gray-20);
  padding: 1.25rem;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.gh-tile--blue {
  background: var(--gh-blue-60);
  color: var(--gh-white);
  border-color: var(--gh-blue-60);
}

.gh-tile--blue a { color: var(--gh-white); }

.gh-tile--muted { background: var(--gh-gray-10); border-color: var(--gh-gray-10); }

.gh-tile--image {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 160px;
}

.gh-tile--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 160px;
  max-height: 200px;
}

.gh-tile--image span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: var(--gh-white);
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

.gh-tile h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.gh-tile p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.4;
  flex: 1;
  color: inherit;
  opacity: 0.9;
}

.gh-tile__links {
  display: flex;
  gap: 1rem;
  font-size: 0.8125rem;
}

/* Path stepper */
.gh-path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
  max-width: 1100px;
}

.gh-path::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--gh-gray-30);
}

.gh-path__step { position: relative; text-align: left; padding-top: 0; }

.gh-path__num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--gh-white);
  border: 2px solid var(--gh-blue-60);
  color: var(--gh-blue-60);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.gh-path__step h4 {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
}

.gh-path__step p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--gh-gray-70);
  line-height: 1.4;
}

.gh-cta-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--gh-white);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--gh-gray-20);
}

.gh-cta-card h2 { margin: 0 0 0.5rem; font-size: 1.35rem; font-weight: 600; }
.gh-cta-card p { color: var(--gh-gray-70); margin: 0 0 1.25rem; font-size: 0.9375rem; }
.gh-cta-card__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0;
}
.gh-cta-card__note {
  font-size: 0.75rem;
  color: var(--gh-gray-50);
  margin: 0;
}

/* —— Auth (login / register) —— */
.gh-auth-page {
  min-height: 100vh;
  background: #9a0e18;
}

.gh-auth {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem;
  isolation: isolate;
  overflow: hidden;
}

.gh-auth::before {
  content: "";
  position: absolute;
  inset: -4%;
  background: var(--auth-image) center/cover no-repeat;
  z-index: -2;
  animation: gh-hero-pan 22s ease-in-out infinite alternate;
}

.gh-auth__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(145deg, rgba(193, 18, 31, 0.92) 0%, rgba(154, 14, 24, 0.82) 45%, rgba(26, 8, 10, 0.55) 100%);
}

.gh-auth__card {
  width: 100%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 1.5rem 1.4rem 1.25rem;
  box-shadow: 0 16px 40px rgba(8, 40, 28, 0.28);
  animation: gh-rise 0.55s ease both;
}

.gh-auth__brand {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gh-blue-70);
  text-decoration: none !important;
}

.gh-auth__card h1 {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gh-gray-100);
}

.gh-auth__lead {
  margin: 0 0 1rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--gh-gray-70);
}

.gh-auth__card .gh-flash {
  margin-bottom: 0.85rem;
}

.gh-auth__divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.85rem 0;
  color: var(--gh-gray-50);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.gh-auth__divider::before,
.gh-auth__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gh-gray-20);
}

.gh-auth form .bx--form-item { margin-bottom: 0.75rem; }

.gh-auth__label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.gh-auth__label-row a {
  font-size: 0.75rem;
  color: var(--gh-blue-60);
}

.gh-auth__password {
  position: relative;
}
.gh-auth__password .bx--text-input { padding-right: 2.5rem; }
.gh-auth__password .gh-icon-btn {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gh-gray-70);
}

.gh-auth__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.gh-optional {
  font-weight: 400;
  color: var(--gh-gray-50);
  text-transform: none;
  letter-spacing: 0;
}

.gh-auth__submit {
  width: 100%;
  margin-top: 0.35rem;
}

.gh-auth__alt {
  margin: 0.9rem 0 0;
  font-size: 0.8125rem;
  color: var(--gh-gray-70);
  text-align: center;
}
.gh-auth__alt a {
  font-weight: 600;
  color: var(--gh-blue-70);
}

.gh-auth__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1rem;
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--gh-gray-20);
  font-size: 0.7rem;
  color: var(--gh-gray-50);
}
.gh-auth__foot a { color: var(--gh-gray-50); }

@media (prefers-reduced-motion: reduce) {
  .gh-auth::before { animation: none !important; }
}

@media (max-width: 480px) {
  .gh-auth__row { grid-template-columns: 1fr; }
  .gh-auth__card { padding: 1.25rem 1.1rem 1rem; }
}

/* Legacy login split (kept for any old markup) */
.gh-login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.gh-login__hero {
  position: relative;
  background: #9a0e18 center/cover no-repeat;
  color: var(--gh-white);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gh-login__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55));
}

.gh-login__hero > * { position: relative; z-index: 1; }

.gh-login__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  text-decoration: none;
}
.gh-login__brand:hover,
.gh-login__brand:focus {
  color: #fff;
  text-decoration: none;
  opacity: 0.92;
}
.gh-login__brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.gh-login__copy h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.25;
  max-width: 18ch;
  margin: 0 0 1rem;
  color: #fff;
}

.gh-login__copy p {
  max-width: 36ch;
  opacity: 0.9;
  line-height: 1.5;
  color: #fff;
}

.gh-login__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
}

.gh-login__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}

.gh-login__panel h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.gh-login__panel > .lead {
  color: var(--gh-gray-70);
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  max-width: none;
}

.gh-login form .bx--form-item { margin-bottom: 1.25rem; }

.gh-login__label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.gh-login__continue {
  width: 100%;
  margin-top: 0.5rem;
}

.gh-login__divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--gh-gray-50);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

.gh-login__divider::before,
.gh-login__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gh-gray-20);
}

.gh-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.gh-btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 2.75rem;
  margin: 0 0 0.25rem;
  padding: 0 1rem;
  border: 1px solid var(--gh-gray-20);
  background: var(--gh-white);
  color: var(--gh-gray-100);
  font-family: var(--gh-font);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.gh-btn-google:hover {
  background: var(--gh-gray-10);
  border-color: var(--gh-gray-30);
}
.gh-btn-google.is-disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.gh-btn-google__icon {
  flex-shrink: 0;
}

.gh-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--gh-blue-10);
  color: var(--gh-blue-70);
  font-size: 0.75rem;
  font-weight: 500;
}

.gh-login__register {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--gh-gray-70);
}

.gh-login__foot {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 2rem;
  font-size: 0.75rem;
  color: var(--gh-gray-50);
}

.gh-login__foot a { color: var(--gh-gray-50); margin-left: 1rem; }

/* —— Properties browse —— */
.gh-page-head__meta {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gh-blue-70);
  white-space: nowrap;
}

.gh-empty {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--gh-gray-70);
  line-height: 1.45;
}

.gh-fineprint {
  font-size: 0.75rem;
  color: var(--gh-gray-70);
  line-height: 1.45;
}

.gh-saved-card {
  text-decoration: none !important;
  color: inherit;
}

.gh-upload-zone {
  border: 1px dashed var(--gh-gray-30);
  background: var(--gh-gray-10);
  padding: 1rem;
  text-align: center;
  margin-top: 0.85rem;
}
.gh-upload-zone p {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  color: var(--gh-gray-70);
}
.gh-upload-zone input[type="file"] {
  margin: 0 auto 0.65rem;
  display: block;
  font-size: 0.75rem;
}


.gh-filter-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 0.75rem;
  align-items: end;
  background: var(--gh-white);
  border: 1px solid var(--gh-gray-20);
  padding: 0.75rem 1rem;
  margin-bottom: 0.85rem;
}
.gh-filter-bar label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--gh-gray-70);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.gh-filter-bar select,
.gh-filter-bar input {
  width: 100%;
  height: 2.25rem;
  border: 0;
  border-bottom: 1px solid var(--gh-gray-100);
  background: var(--gh-gray-10);
  padding: 0 0.75rem;
  font: inherit;
  font-size: 0.8125rem;
}
.gh-filter-bar__submit {
  display: flex;
  align-items: end;
}

.gh-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--gh-gray-20);
}
.gh-cat-tabs__item {
  padding: 0.55rem 0.7rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gh-gray-70);
  text-decoration: none !important;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.gh-cat-tabs__item:hover { color: var(--gh-blue-70); }
.gh-cat-tabs__item.is-active {
  color: var(--gh-blue-70);
  font-weight: 600;
  border-bottom-color: var(--gh-gold);
}

.gh-property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gh-property-card {
  border: 1px solid var(--gh-gray-20);
  background: var(--gh-white);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gh-property-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(193, 18, 31, 0.08);
}

.gh-property-card__media {
  position: relative;
  display: block;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: var(--gh-gray-10);
}
.gh-property-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gh-property-card:hover .gh-property-card__media img {
  transform: scale(1.03);
}

.gh-property-card__badge {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  background: rgba(193, 18, 31, 0.92);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.45rem;
}

.gh-property-card__body {
  padding: 0.75rem 0.85rem 0.9rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gh-property-card__title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}
.gh-property-card__title-row h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}
.gh-property-card__title-row h3 a {
  color: inherit;
  text-decoration: none;
}
.gh-property-card__title-row form { margin: 0; }

.gh-icon-btn {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gh-gray-70);
  cursor: pointer;
  flex-shrink: 0;
}
.gh-icon-btn:hover { color: var(--gh-blue-60); }

.gh-property-card__loc {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  color: var(--gh-gray-70);
}
.gh-property-card__price {
  margin: 0 0 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gh-blue-70);
}
.gh-property-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  font-size: 0.75rem;
  color: var(--gh-gray-70);
  margin-bottom: 0.65rem;
}

.gh-progress { margin-top: auto; }
.gh-progress--compact .gh-progress__meta { margin-bottom: 0.25rem; }
.gh-progress__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  margin-bottom: 0.35rem;
}
.gh-progress__meta span:last-child { color: var(--gh-blue-60); font-weight: 600; }
.gh-progress__bar {
  height: 4px;
  background: var(--gh-gray-20);
  overflow: hidden;
}
.gh-progress__bar > span {
  display: block;
  height: 100%;
  background: var(--gh-blue-60);
}

.gh-browse-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gh-gray-20);
}
.gh-browse-notes h2 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.gh-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gh-blue-60);
  color: var(--gh-white);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(193, 18, 31, 0.35);
  z-index: 50;
}

/* legacy chips (other pages) */
.gh-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.gh-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  background: var(--gh-gray-10);
  color: var(--gh-gray-100);
  font-size: 0.8125rem;
  text-decoration: none !important;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.gh-chip.is-active,
.gh-chip:hover {
  background: var(--gh-blue-60);
  color: var(--gh-white);
}

/* —— Property detail —— */
.gh-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.85fr);
  gap: 1.5rem;
  align-items: start;
}

.gh-detail-back {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
}
.gh-detail-back a {
  color: var(--gh-gray-70);
  text-decoration: none;
}
.gh-detail-back a:hover { color: var(--gh-blue-70); }

.gh-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.gh-detail-head h1 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.2;
}
.gh-detail-head .loc {
  color: var(--gh-gray-70);
  font-size: 0.8125rem;
  margin: 0;
}
.gh-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.gh-detail-actions form { margin: 0; }

.gh-gallery {
  margin-bottom: 0.85rem;
}
.gh-gallery__main {
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: var(--gh-gray-10);
  padding: 0;
  border: 0;
  width: 100%;
  cursor: zoom-in;
}
.gh-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gh-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-top: 0.4rem;
}
.gh-gallery__thumb {
  display: block;
  padding: 0;
  border: 2px solid transparent;
  background: var(--gh-gray-10);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: pointer;
}
.gh-gallery__thumb.is-active,
.gh-gallery__thumb:hover {
  border-color: var(--gh-blue-60);
}
.gh-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gh-notif__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.gh-notif__icon .gh-svg { width: 14px; height: 14px; }

.gh-specs-row {
  display: flex;
  border: 1px solid var(--gh-gray-20);
  margin-bottom: 1.15rem;
}
.gh-specs-row > div {
  flex: 1;
  padding: 0.65rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  border-right: 1px solid var(--gh-gray-20);
}
.gh-specs-row > div:last-child { border-right: 0; }
.gh-specs-row strong { font-size: 1.05rem; }
.gh-specs-row span { font-size: 0.6875rem; color: var(--gh-gray-70); text-transform: uppercase; letter-spacing: 0.03em; }

.gh-detail-block {
  margin-bottom: 1.15rem;
}
.gh-detail-block h2 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.gh-detail-block p {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--gh-gray-100);
}
.gh-detail-muted {
  color: var(--gh-gray-70) !important;
  font-size: 0.8125rem !important;
}

.gh-amenity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem 1rem;
}
.gh-amenity-list li {
  font-size: 0.8125rem;
  color: var(--gh-gray-70);
  padding-left: 0.85rem;
  position: relative;
}
.gh-amenity-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--gh-gold);
}

.gh-fee-grid--compact {
  gap: 0.65rem;
}
.gh-fee-grid--compact .gh-fee-item {
  padding: 0.65rem 0.75rem;
}

.gh-detail-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}
.gh-detail-steps li {
  font-size: 0.8125rem;
  color: var(--gh-gray-70);
  line-height: 1.4;
  padding: 0.5rem 0.65rem;
  border-left: 2px solid var(--gh-blue-60);
  background: var(--gh-gray-10);
}
.gh-detail-steps strong {
  color: var(--gh-gray-100);
  margin-right: 0.25rem;
}

.gh-detail-hood {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--gh-gray-70);
  padding: 0.75rem 0.85rem;
  background: var(--gh-blue-10);
}

.gh-funding-status {
  background: var(--gh-blue-10);
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
}
.gh-funding-status h3 { margin: 0 0 0.5rem; font-size: 0.9rem; }
.gh-funding-status p { margin: 0.5rem 0 0; font-size: 0.8125rem; color: var(--gh-gray-70); }

.gh-amenities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 0.75rem 0 1.25rem;
}
.gh-amenity {
  border: 1px solid var(--gh-gray-20);
  padding: 0.65rem 0.75rem;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gh-calc {
  background: var(--gh-white);
  border: 1px solid var(--gh-gray-20);
  padding: 1.1rem 1.15rem;
  margin-bottom: 0.85rem;
  position: sticky;
  top: calc(var(--gh-header-h) + 0.75rem);
}
.gh-calc__price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gh-blue-70);
  margin-bottom: 0.25rem;
}
.gh-calc__hint {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--gh-gray-70);
}
.gh-calc .bx--form-item { margin-bottom: 0.65rem; }
.gh-calc__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.gh-calc #calc-years {
  width: 100%;
  height: 2.5rem;
  border: 0;
  border-bottom: 1px solid #161616;
  background: #f4f4f4;
  padding: 0 0.75rem;
  font: inherit;
}
.gh-calc__result {
  margin: 0.75rem 0;
  font-size: 0.75rem;
  color: var(--gh-gray-70);
}
.gh-calc__result strong {
  display: block;
  font-size: 1.25rem;
  color: var(--gh-blue-60);
  margin-top: 0.15rem;
}
.gh-calc .bx--btn { width: 100%; margin-bottom: 0.4rem; }

.gh-advisor-mini {
  border: 1px solid var(--gh-gray-20);
  padding: 0.75rem 0.85rem;
  display: flex;
  gap: 0.65rem;
  align-items: center;
}
.gh-advisor-mini img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.gh-advisor-mini strong {
  display: block;
  font-size: 0.8125rem;
}
.gh-advisor-mini span {
  font-size: 0.72rem;
  color: var(--gh-gray-70);
}

.gh-advisor-mini strong { display: block; font-size: 0.875rem; }
.gh-advisor-mini span { font-size: 0.75rem; color: var(--gh-gray-70); }

/* —— Wizard —— */
.gh-wizard {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: calc(100vh - var(--gh-header-h));
}

.gh-wizard__side {
  background: var(--gh-gray-10);
  padding: 2rem 1.25rem;
  border-right: 1px solid var(--gh-gray-20);
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--gh-header-h));
}

.gh-wizard__side h2 {
  font-size: 0.875rem;
  margin: 0 0 0.35rem;
}

.gh-wizard__side .sub {
  font-size: 0.75rem;
  color: var(--gh-gray-70);
  margin: 0 0 2rem;
}

.gh-wizard-steps { list-style: none; padding: 0; margin: 0; flex: 1; }

.gh-wizard-steps li {
  padding: 0.85rem 0.75rem;
  border-left: 3px solid transparent;
  margin-bottom: 0.25rem;
}

.gh-wizard-steps li.is-active {
  border-left-color: var(--gh-blue-60);
  background: var(--gh-white);
}

.gh-wizard-steps li.is-done { opacity: 0.85; }

.gh-wizard-steps strong {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.15rem;
}

.gh-wizard-steps span {
  font-size: 0.75rem;
  color: var(--gh-gray-70);
}

.gh-wizard-help {
  background: var(--gh-white);
  border: 1px solid var(--gh-gray-20);
  padding: 1rem;
  font-size: 0.8125rem;
}

.gh-wizard-help strong { display: block; margin-bottom: 0.35rem; }

.gh-wizard__main {
  padding: 2.5rem 3rem;
  max-width: 720px;
}

.gh-wizard__main h1 {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}

.gh-wizard__main > .lead {
  color: var(--gh-gray-70);
  margin: 0 0 2rem;
  font-size: 0.875rem;
}

.gh-id-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.gh-id-tile {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid var(--gh-gray-20);
  padding: 0.85rem 1rem;
  cursor: pointer;
  background: var(--gh-white);
  text-align: left;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gh-gray-100);
  margin: 0;
  min-height: 3rem;
  box-sizing: border-box;
}

.gh-id-tile input[type="radio"] {
  width: 1.1rem !important;
  height: 1.1rem !important;
  min-width: 1.1rem;
  max-width: 1.1rem;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--gh-blue-60);
}

.gh-id-tile.is-selected {
  outline: 2px solid var(--gh-blue-60);
  outline-offset: -2px;
  background: var(--gh-blue-10);
  border-color: var(--gh-blue-60);
}

.gh-wizard-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}

.gh-wizard-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.gh-info-box {
  padding: 1rem 1.25rem;
  font-size: 0.8125rem;
}

.gh-info-box--blue { background: var(--gh-blue-10); }
.gh-info-box--gray { background: var(--gh-gray-10); }
.gh-info-box strong { display: block; margin-bottom: 0.35rem; }

/* —— Portal layout —— */
.has-portal .gh-main-with-portal {
  display: grid;
  grid-template-columns: var(--gh-portal-w) 1fr;
  min-height: calc(100vh - var(--gh-header-h));
}

.gh-portal-nav {
  background: var(--gh-gray-10);
  border-right: 1px solid var(--gh-gray-20);
  display: flex;
  flex-direction: column;
  padding: 0;
  min-height: calc(100vh - var(--gh-header-h));
  overflow-y: auto;
}

.gh-portal-nav__brand {
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--gh-gray-20);
  margin-bottom: 0;
}

.gh-portal-nav__brand strong {
  display: block;
  font-size: 0.875rem;
  color: var(--gh-blue-70);
}

.gh-portal-nav__brand span {
  font-size: 0.75rem;
  color: var(--gh-gray-70);
}

.gh-portal-nav__menu {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 0.75rem;
}

.gh-portal-nav__menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  color: var(--gh-gray-100);
  font-size: 0.875rem;
  text-decoration: none;
  border-left: 3px solid transparent;
  margin-bottom: 0.15rem;
}

.gh-portal-nav__menu a:hover {
  background: var(--gh-white);
  text-decoration: none;
}

.gh-portal-nav__menu a.is-active {
  background: var(--gh-white);
  border-left-color: var(--gh-blue-60);
  font-weight: 600;
}

.gh-portal-nav--settings .gh-portal-nav__menu a.is-active,
.gh-portal-nav__menu a.is-active.solid {
  background: var(--gh-blue-60);
  color: var(--gh-white);
  border-left-color: transparent;
}

.gh-header-link {
  font-size: 0.8125rem;
  color: var(--gh-gray-100);
  text-decoration: none;
  white-space: nowrap;
}
.gh-header-link:hover { text-decoration: underline; }
.gh-header-link--muted { color: var(--gh-gray-70); }

.gh-portal-user {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--gh-gray-20);
}

.gh-portal-user img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.gh-portal-user strong {
  display: block;
  font-size: 0.8125rem;
}

.gh-portal-user span {
  font-size: 0.6875rem;
  color: var(--gh-gray-70);
  word-break: break-all;
}

.gh-portal-quick {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--gh-gray-20);
}

.gh-portal-quick a {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gh-blue-60);
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  background: var(--gh-white);
  border: 1px solid var(--gh-gray-20);
}

.gh-portal-quick a:hover {
  border-color: var(--gh-blue-60);
  text-decoration: none;
}

.gh-portal-nav__group {
  margin: 0.85rem 0.85rem 0.35rem;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gh-gray-50);
  font-weight: 600;
}

.gh-portal-nav__menu a {
  justify-content: flex-start;
}

.gh-portal-nav__label { flex: 1; }

.gh-portal-badge {
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--gh-blue-60);
  color: var(--gh-white);
  font-size: 0.6875rem;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
}

.gh-portal-side-card {
  display: none;
}

.gh-portal-side-card strong { display: block; margin-bottom: 0.35rem; }
.gh-portal-side-card p { margin: 0 0 0.5rem; color: var(--gh-gray-70); }

.gh-portal-nav__footer {
  padding: 0.75rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border-top: 1px solid var(--gh-gray-20);
  margin-top: auto;
  background: var(--gh-gray-10);
}

.gh-portal-nav__footer .bx--btn--primary {
  display: none;
}

.gh-portal-nav__footer .bx--btn {
  width: 100%;
  justify-content: center;
}

.gh-portal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--gh-gray-70);
  text-decoration: none;
  padding: 0.35rem 0;
}

.gh-portal-link:hover {
  color: var(--gh-blue-60);
  text-decoration: underline;
}

.gh-portal-link--danger {
  color: var(--gh-red) !important;
  font-weight: 600;
}

.gh-btn-signout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.5rem;
  padding: 0 1rem;
  background: transparent;
  border: 1px solid var(--gh-red);
  color: var(--gh-red);
  font-family: var(--gh-font);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
}

.gh-btn-signout:hover {
  background: var(--gh-red);
  color: #fff;
}

.gh-header-link--danger {
  color: var(--gh-red) !important;
  font-weight: 600;
}

.bx--btn--danger {
  background: var(--gh-red);
  border-color: var(--gh-red);
  color: #fff;
}
.bx--btn--danger:hover {
  background: #a2191f;
  border-color: #a2191f;
  color: #fff;
}

.gh-wizard__side {
  gap: 0;
}

.gh-wizard__brand {
  margin-bottom: 1rem;
}

.gh-wizard-progress {
  background: var(--gh-white);
  border: 1px solid var(--gh-gray-20);
  padding: 0.85rem;
  margin-bottom: 1rem;
}

.gh-wizard-progress__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
}

.gh-wizard-side-links {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.gh-wizard-side-links a {
  font-size: 0.8125rem;
  color: var(--gh-blue-60);
  text-decoration: none;
  padding: 0.25rem 0;
}

.gh-wizard-side-links a:hover { text-decoration: underline; }

.gh-wizard-side-foot {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* widen portal slightly for richer sidebar */
:root {
  --gh-portal-w: 260px;
}
.gh-portal-content {
  padding: 1.15rem 1.35rem 2rem;
  background: var(--gh-white);
}

.gh-portal-content h1 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 600;
  margin: 0 0 0.2rem;
}

.gh-portal-content .lead {
  color: var(--gh-gray-70);
  margin: 0 0 0.9rem;
  font-size: 0.8125rem;
  max-width: 34rem;
  line-height: 1.4;
}

.gh-portal-content .gh-callout {
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.78rem;
}

.gh-portal-content .gh-announce {
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.8125rem;
}

.gh-dash-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.gh-card {
  border: 1px solid var(--gh-gray-20);
  background: var(--gh-white);
  padding: 0.9rem 1rem;
}

.gh-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.gh-card__head h2 {
  margin: 0;
  font-size: 0.9375rem;
}

.gh-request {
  border: 1px solid var(--gh-gray-20);
  padding: 1rem;
  margin-bottom: 0.75rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.gh-request:last-child { margin-bottom: 0; }
.gh-request__id { font-size: 0.75rem; color: var(--gh-gray-70); margin: 0 0 0.25rem; }
.gh-request h3 { margin: 0 0 0.25rem; font-size: 0.9375rem; }
.gh-request__meta { font-size: 0.8125rem; color: var(--gh-gray-70); margin: 0; }

.gh-status {
  text-align: right;
  min-width: 140px;
}

.gh-status__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.gh-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gh-blue-60);
}

.gh-status--awaiting .gh-status__dot { background: var(--gh-gray-50); }

.gh-task {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gh-gray-20);
  font-size: 0.875rem;
}

.gh-task:last-child { border-bottom: 0; }
.gh-task__due { display: block; font-size: 0.75rem; color: var(--gh-gray-70); margin-top: 0.2rem; }

.gh-saved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gh-saved-card {
  border: 1px solid var(--gh-gray-20);
}

.gh-saved-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.gh-saved-card__body { padding: 0.85rem; }
.gh-saved-card h3 { margin: 0 0 0.25rem; font-size: 0.875rem; }
.gh-saved-card p { margin: 0; font-size: 0.75rem; color: var(--gh-gray-70); }
.gh-saved-card strong { display: block; margin-top: 0.5rem; color: var(--gh-blue-60); font-size: 0.875rem; }

.gh-resource-promo {
  background: var(--gh-blue-60);
  color: var(--gh-white);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
}

.gh-resource-promo h2 { margin: 0 0 0.75rem; font-size: 1.125rem; }
.gh-resource-promo p { margin: 0 0 1.25rem; font-size: 0.875rem; opacity: 0.95; }
.gh-resource-promo .bx--btn { align-self: flex-start; }

.gh-bottom-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.25rem;
}

/* —— Documents —— */
.gh-docs-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.gh-doc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--gh-gray-20);
  margin-bottom: 0.75rem;
}

.gh-doc-item--missing {
  border-style: dashed;
}

.gh-doc-item h3 { margin: 0 0 0.25rem; font-size: 0.9375rem; }
.gh-doc-item p { margin: 0; font-size: 0.8125rem; color: var(--gh-gray-70); }

.gh-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.45rem;
  margin-left: 0.5rem;
}

.gh-tag--verified { background: var(--gh-blue-10); color: var(--gh-blue-70); }
.gh-tag--pending { background: var(--gh-blue-20); color: var(--gh-blue-70); }
.gh-tag--rejected { background: #ffd7d9; color: #a2191f; }

.gh-upload-zone {
  border: 1px dashed var(--gh-gray-30);
  background: var(--gh-gray-10);
  padding: 1rem;
  text-align: center;
  margin-top: 0.85rem;
}

.gh-upload-zone p { margin: 0 0 0.65rem; font-size: 0.8125rem; color: var(--gh-gray-70); }
.gh-upload-zone input[type="file"] {
  margin: 0 auto 0.65rem;
  display: block;
  font-size: 0.75rem;
}

.gh-activity-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gh-gray-20);
  font-size: 0.8125rem;
}

.gh-activity-item strong { display: block; }
.gh-activity-item span { color: var(--gh-gray-70); font-size: 0.75rem; }

.gh-protip {
  background: var(--gh-gray-100);
  color: var(--gh-white);
  padding: 1.25rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
}

.gh-protip a { color: var(--gh-blue-20); }

.gh-help-mini {
  border: 1px solid var(--gh-gray-20);
  padding: 1rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
}

/* —— Financial profile —— */
.gh-profile-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.gh-stat-row {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 0.8fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.gh-stat-card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gh-gray-70);
}

.gh-stat-card .value {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
}

.gh-stat-card .hint {
  font-size: 0.75rem;
  color: var(--gh-green);
  margin: 0.5rem 0 0;
}

.gh-borrow-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--gh-gray-70);
}

.gh-mid-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.gh-tier {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gh-gray-20);
  margin-bottom: 0.5rem;
}

.gh-tier.is-premium {
  background: var(--gh-blue-60);
  color: var(--gh-white);
  border-color: var(--gh-blue-60);
}

.gh-tier strong { font-size: 1.125rem; }

.gh-dti {
  text-align: center;
}

.gh-dti__ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0.5rem auto 1rem;
  background: conic-gradient(var(--gh-blue-60) 0 28%, var(--gh-gray-20) 28% 100%);
  display: grid;
  place-items: center;
}

.gh-dti__ring > span {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gh-white);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.9375rem;
}

.gh-health {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gh-health__item h4 { margin: 0 0 0.35rem; font-size: 0.875rem; }
.gh-health__item .status { font-size: 0.75rem; font-weight: 600; color: var(--gh-blue-60); margin-bottom: 0.5rem; display: block; }
.gh-health__item p { margin: 0.5rem 0 0; font-size: 0.75rem; color: var(--gh-gray-70); }

/* —— Resources —— */
.gh-help-banner {
  background: var(--gh-blue-60);
  color: var(--gh-white);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.gh-help-banner h1 { margin: 0 0 0.5rem; font-size: 2rem; }
.gh-help-banner p { margin: 0 0 1.25rem; opacity: 0.95; }
.gh-help-banner input {
  width: 100%;
  height: 3rem;
  border: 0;
  padding: 0 1rem;
  font: inherit;
}

/* —— Resources (sidebar layout) —— */
.gh-resources-search {
  margin-bottom: 1.15rem;
}
.gh-resources-search .bx--label {
  margin-bottom: 0.25rem;
}
.gh-resources-search__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.gh-resources-search__row .bx--text-input {
  flex: 1;
  min-width: 12rem;
}

.gh-resources {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.gh-resources__nav {
  position: sticky;
  top: calc(var(--gh-header-h) + 0.75rem);
  padding: 0.75rem 0;
  border-right: 1px solid var(--gh-gray-20);
  max-height: calc(100vh - var(--gh-header-h) - 1.5rem);
  overflow-y: auto;
}
.gh-resources__nav-label {
  margin: 0 0 0.5rem;
  padding: 0 0.75rem 0 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gh-gray-50);
}
.gh-resources__nav nav {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.gh-resources__nav a {
  display: block;
  padding: 0.4rem 0.75rem 0.4rem 0;
  font-size: 0.8125rem;
  color: var(--gh-gray-70);
  text-decoration: none;
  border-right: 2px solid transparent;
  margin-right: -1px;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.gh-resources__nav a:hover {
  color: var(--gh-blue-70);
  background: var(--gh-gray-10);
}
.gh-resources__nav a.is-active {
  color: var(--gh-blue-70);
  font-weight: 600;
  border-right-color: var(--gh-gold);
  background: var(--gh-blue-10);
}
.gh-resources__nav-cta {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--gh-gray-20);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.gh-resources__nav-cta a {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gh-blue-70);
  padding: 0.25rem 0.75rem 0.25rem 0;
  border: 0;
}

.gh-resources__section {
  margin-bottom: 1.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--gh-gray-20);
  scroll-margin-top: calc(var(--gh-header-h) + 1rem);
}
.gh-resources__section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.gh-resources__section h2 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  font-weight: 600;
}
.gh-resources__section h3 {
  margin: 1rem 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.gh-resources__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.gh-resources__cards article {
  padding: 0.85rem 0.9rem;
  border-top: 2px solid var(--gh-blue-60);
  background: var(--gh-gray-10);
}
.gh-resources__cards h3 {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
}
.gh-resources__cards p {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--gh-gray-70);
}
.gh-resources__cards ul {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.78rem;
  line-height: 1.55;
}

.gh-resources__actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.gh-resources__actions > div {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--gh-gray-20);
  background: #fff;
}
.gh-resources__actions strong {
  font-size: 0.875rem;
}
.gh-resources__actions span {
  font-size: 0.75rem;
  color: var(--gh-gray-70);
  line-height: 1.35;
  margin-bottom: 0.25rem;
}
.gh-resources__actions .bx--btn {
  align-self: flex-start;
  margin-top: auto;
}

.gh-resources__offices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.gh-resources__offices article {
  padding: 0.75rem 0.85rem;
  border-left: 2px solid var(--gh-gold);
  background: var(--gh-gray-10);
}
.gh-resources__offices h3 {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
}
.gh-resources__offices p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--gh-gray-70);
}

@media (max-width: 900px) {
  .gh-resources {
    grid-template-columns: 1fr;
  }
  .gh-resources__nav {
    position: static;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid var(--gh-gray-20);
    padding: 0 0 0.85rem;
    overflow-x: auto;
  }
  .gh-resources__nav nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  .gh-resources__nav a {
    border-right: 0;
    border-bottom: 2px solid transparent;
    padding: 0.4rem 0.65rem;
    white-space: nowrap;
  }
  .gh-resources__nav a:hover,
  .gh-resources__nav a.is-active {
    border-bottom-color: var(--gh-gold);
    border-right-color: transparent;
  }
  .gh-resources__nav-cta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .gh-resources__nav-cta a {
    padding: 0;
  }
  .gh-resources__cards,
  .gh-resources__actions,
  .gh-resources__offices {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .gh-resources__cards,
  .gh-resources__actions,
  .gh-resources__offices {
    grid-template-columns: 1fr 1fr;
  }
}

.gh-knowledge {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.gh-knowledge .gh-card h3 { margin: 0 0 0.5rem; }
.gh-knowledge .gh-card p { font-size: 0.875rem; color: var(--gh-gray-70); }
.gh-knowledge ul { padding-left: 1.1rem; margin: 0.75rem 0 0; font-size: 0.8125rem; }

.gh-support-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.gh-support-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--gh-gray-20);
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.gh-support-media {
  position: relative;
  min-height: 240px;
  overflow: hidden;
}

.gh-support-media img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.gh-support-media__overlay {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: var(--gh-white);
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

.gh-accordion details {
  border-bottom: 1px solid var(--gh-gray-20);
  padding: 1rem 0;
}

.gh-accordion summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9375rem;
}

.gh-accordion details p {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--gh-gray-70);
  line-height: 1.5;
}

/* —— Notifications —— */
.gh-notif-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 1.5rem;
}

.gh-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--gh-gray-20);
  margin-bottom: 1.25rem;
}

.gh-tabs a {
  padding: 0.75rem 1rem;
  color: var(--gh-gray-70);
  border-bottom: 2px solid transparent;
  font-size: 0.875rem;
  text-decoration: none;
}

.gh-tabs a.is-active {
  color: var(--gh-gray-100);
  border-bottom-color: var(--gh-blue-60);
  font-weight: 600;
}

.gh-notif-group { margin-bottom: 1.5rem; }
.gh-notif-group h3 {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--gh-gray-70);
  margin: 0 0 0.75rem;
}

.gh-notif {
  border: 1px solid var(--gh-gray-20);
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
}

.gh-notif__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.gh-notif--success .gh-notif__icon { background: var(--gh-blue-10); color: var(--gh-blue-70); }
.gh-notif--alert .gh-notif__icon { background: #ffd7d9; color: #a2191f; }
.gh-notif--info .gh-notif__icon { background: var(--gh-blue-20); color: var(--gh-blue-70); }
.gh-notif--system .gh-notif__icon { background: var(--gh-gray-10); color: var(--gh-gray-70); }

.gh-notif h4 { margin: 0 0 0.25rem; font-size: 0.9375rem; }
.gh-notif p { margin: 0 0 0.5rem; font-size: 0.8125rem; color: var(--gh-gray-70); }

.gh-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--gh-gray-20);
}

.gh-recommend img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.gh-recommend__body { padding: 1rem; }
.gh-recommend__label {
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--gh-blue-60);
  font-weight: 600;
}

/* —— Advisor —— */
.gh-advisor-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.gh-advisor-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  border: 1px solid var(--gh-gray-20);
  padding: 1.5rem;
}

.gh-advisor-card__photo {
  position: relative;
}

.gh-advisor-card__photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.gh-advisor-card__photo .gh-lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gh-advisor-card__photo span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gh-blue-60);
  color: var(--gh-white);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem;
}

.gh-advisor-card .role {
  color: var(--gh-blue-60);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.gh-advisor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.gh-advisor-tags span {
  background: var(--gh-gray-10);
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
}

.gh-contact-card {
  background: var(--gh-blue-60);
  color: var(--gh-white);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.gh-contact-card h3 { margin: 0 0 1rem; }
.gh-contact-card .bx--btn { width: 100%; margin-bottom: 0.5rem; }

.gh-online {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--gh-green);
}

.gh-online::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gh-green);
}

.gh-closed-deals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.gh-closed-card {
  border: 1px solid var(--gh-gray-20);
  display: grid;
  grid-template-columns: 120px 1fr;
}

.gh-closed-card img { height: 100%; object-fit: cover; min-height: 100px; width: 100%; display: block; }
.gh-closed-card .gh-lightbox-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.gh-closed-card__body { padding: 0.85rem; }
.gh-closed-card .badge {
  display: inline-block;
  background: var(--gh-gray-100);
  color: var(--gh-white);
  font-size: 0.625rem;
  padding: 0.15rem 0.4rem;
  margin-bottom: 0.35rem;
}

/* —— Packed content modules —— */
.gh-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gh-gray-20);
  border-top: 1px solid var(--gh-gray-20);
  border-bottom: 1px solid var(--gh-gray-20);
}

.gh-trust-bar__item {
  background: var(--gh-white);
  padding: 1rem 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--gh-gray-70);
}

.gh-trust-bar__item strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--gh-gray-100);
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.gh-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.gh-kpi {
  background: var(--gh-gray-10);
  border: 1px solid var(--gh-gray-20);
  padding: 0.7rem 0.85rem;
}

.gh-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}
.gh-kpi-grid .gh-kpi strong {
  display: block;
  font-size: 1.35rem;
  color: var(--gh-blue-70);
}
.gh-kpi-grid .gh-kpi span {
  display: block;
  font-size: 0.7rem;
  color: var(--gh-gray-70);
  margin-top: 0.2rem;
}

.gh-kpi__value {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  color: var(--gh-blue-70);
}

.gh-kpi__label {
  margin: 0.15rem 0 0;
  font-size: 0.7rem;
  line-height: 1.3;
  color: var(--gh-gray-70);
}

.gh-table-wrap { overflow-x: auto; margin: 1rem 0; }

.gh-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.gh-table th,
.gh-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--gh-gray-20);
  text-align: left;
  vertical-align: top;
}

.gh-table th {
  background: var(--gh-gray-10);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gh-gray-70);
}

.gh-table__accent {
  color: var(--gh-blue-60);
  font-weight: 700;
  white-space: nowrap;
}

.gh-fineprint {
  font-size: 0.75rem;
  color: var(--gh-gray-50);
  line-height: 1.45;
  margin: 0.5rem 0 0;
}

.gh-quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gh-quote {
  border: 1px solid var(--gh-gray-20);
  padding: 1.25rem;
  background: var(--gh-white);
}

.gh-quote p {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0 0 1rem;
  color: var(--gh-gray-100);
}

.gh-quote footer {
  font-size: 0.8125rem;
  color: var(--gh-gray-70);
}

.gh-quote strong { display: block; color: var(--gh-gray-100); }

.gh-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gh-checklist li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.75rem;
  border-bottom: 1px solid var(--gh-gray-20);
  font-size: 0.875rem;
  line-height: 1.4;
}

.gh-svg {
  display: inline-block;
  vertical-align: -0.2em;
  flex-shrink: 0;
}

.gh-icon {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.gh-icon .gh-svg { display: block; }

.gh-portal-quick a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.gh-announce__icon,
.gh-task__icon,
.gh-inline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--gh-blue-60);
  flex-shrink: 0;
}

.gh-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gh-blue-60);
  border-radius: 1px;
}

.gh-split-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.gh-split-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gh-callout {
  border-left: 3px solid var(--gh-blue-60);
  background: var(--gh-blue-10);
  padding: 0.85rem 1rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  margin: 0 0 1.25rem;
  color: var(--gh-gray-70);
  max-width: 48rem;
}

.gh-callout--warn {
  border-left-color: var(--gh-blue-60);
  background: var(--gh-blue-10);
}

.gh-callout strong {
  display: inline;
  margin-right: 0.35rem;
  color: var(--gh-gray-100);
}

.gh-featured-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gh-market-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  color: var(--gh-gray-70);
  line-height: 1.55;
}

.gh-market-list li { margin-bottom: 0.5rem; }

.gh-inline-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1rem 0 1.5rem;
  font-size: 0.875rem;
}

.gh-inline-stats strong {
  display: block;
  font-size: 1.25rem;
  color: var(--gh-blue-70);
}

.gh-prose {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--gh-gray-70);
}

.gh-prose h3 {
  color: var(--gh-gray-100);
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}

.gh-prose p { margin: 0 0 0.85rem; }

.gh-fee-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.gh-fee-item {
  border: 1px solid var(--gh-gray-20);
  padding: 0.85rem 1rem;
  font-size: 0.8125rem;
}

.gh-fee-item strong { display: block; margin-bottom: 0.2rem; }
.gh-fee-item span { color: var(--gh-blue-60); font-weight: 600; }

.gh-timeline {
  border-left: 2px solid var(--gh-blue-20);
  margin: 1rem 0 0 0.5rem;
  padding-left: 1.25rem;
}

.gh-timeline__item {
  position: relative;
  padding-bottom: 1.25rem;
}

.gh-timeline__item::before {
  content: "";
  position: absolute;
  left: -1.55rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gh-blue-60);
}

.gh-timeline__item h4 {
  margin: 0 0 0.25rem;
  font-size: 0.875rem;
}

.gh-timeline__item p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--gh-gray-70);
}

.gh-announce {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: var(--gh-white);
  border: 1px solid var(--gh-gray-20);
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--gh-gray-70);
}

.gh-announce strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--gh-gray-100);
  font-size: 0.875rem;
}

.gh-wizard-tip {
  background: var(--gh-blue-10);
  border: 1px solid var(--gh-blue-20);
  padding: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.gh-wizard-tip h3 {
  margin: 0 0 0.4rem;
  font-size: 0.875rem;
}

.gh-wizard-doc-row {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--gh-gray-20);
}
.gh-wizard-doc-row:last-of-type {
  border-bottom: 0;
  margin-bottom: 0.5rem;
}
.gh-wizard-doc-row__check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  cursor: pointer;
}
.gh-wizard-doc-row__check strong {
  font-weight: 600;
}
.gh-wizard-doc-row__file input[type="file"] {
  font-size: 0.8125rem;
  max-width: 100%;
}
.gh-wizard-doc-row__file .gh-fineprint {
  display: block;
  margin-top: 0.2rem;
}

.gh-glossary dt {
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: 0.85rem;
}

.gh-glossary dd {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--gh-gray-70);
  line-height: 1.45;
}

.gh-office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 1100px) {
  .gh-trust-bar,
  .gh-kpi-strip,
  .gh-quote-grid,
  .gh-featured-row,
  .gh-split-2,
  .gh-split-3,
  .gh-fee-grid,
  .gh-office-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .gh-trust-bar,
  .gh-kpi-strip,
  .gh-quote-grid,
  .gh-featured-row,
  .gh-split-2,
  .gh-split-3,
  .gh-fee-grid,
  .gh-office-grid {
    grid-template-columns: 1fr;
  }
}

/* Carbon tweaks — force NHF red over IBM blue/green */
.bx--btn { font-family: var(--gh-font); }
.bx--btn--primary,
.bx--btn--primary:focus,
.bx--btn--primary:active {
  background-color: var(--gh-blue-60) !important;
  border-color: transparent !important;
}
.bx--btn--primary:hover {
  background-color: var(--gh-blue-70) !important;
}
.bx--btn--primary:focus {
  box-shadow: inset 0 0 0 1px var(--gh-blue-70), inset 0 0 0 2px var(--gh-white) !important;
}
.bx--btn--secondary,
.bx--btn--secondary:hover,
.bx--btn--secondary:focus {
  background-color: var(--gh-blue-70) !important;
  border-color: var(--gh-blue-70) !important;
  color: #fff !important;
}
.bx--btn--tertiary {
  color: var(--gh-blue-60) !important;
  border-color: var(--gh-blue-60) !important;
  background: transparent !important;
}
.bx--btn--tertiary:hover {
  background-color: var(--gh-blue-60) !important;
  color: var(--gh-white) !important;
}
.bx--btn--ghost {
  color: var(--gh-blue-60) !important;
}
.bx--btn--ghost:hover {
  background-color: var(--gh-blue-10) !important;
  color: var(--gh-blue-70) !important;
}
.bx--link {
  color: var(--gh-blue-60) !important;
}
.bx--text-input:focus,
.bx--text-area:focus,
.bx--select-input:focus {
  outline: 2px solid var(--gh-blue-60) !important;
  outline-offset: -2px;
}
.bx--text-input,
.bx--text-area,
.bx--select-input {
  font-family: var(--gh-font);
}
.bx--label { font-size: 0.75rem; }

/* Kill IBM Carbon success greens */
.bx--inline-notification--success,
.bx--toast-notification--success {
  border-left-color: var(--gh-blue-60) !important;
}
.bx--checkbox:checked .bx--checkbox-label::before,
.bx--radio-button:checked + .bx--radio-button__label .bx--radio-button__appearance {
  background-color: var(--gh-blue-60) !important;
  border-color: var(--gh-blue-60) !important;
}

.gh-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none !important;
}
.gh-logo img,
.gh-logo__img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}
.gh-logo__mark,
.gh-logo__text {
  display: none;
}

.gh-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none !important;
  color: inherit;
}
.gh-brand-lockup img {
  height: 40px;
  width: auto;
}
.gh-brand-lockup strong {
  display: block;
  font-size: 0.95rem;
}
.gh-brand-lockup span {
  display: block;
  font-size: 0.7rem;
  opacity: 0.85;
}

.gh-portal-nav__brand .gh-brand-lockup img {
  height: 32px;
}
.gh-login__brand img,
.gh-auth__brand img {
  height: 42px;
  width: auto;
}
.gh-footer__brand .gh-brand-lockup {
  margin-bottom: 0.35rem;
}
.gh-footer__brand img {
  height: 34px;
}

/* Responsive */
@media (max-width: 1100px) {
  .gh-hero,
  .gh-login,
  .gh-wizard,
  .gh-detail-layout,
  .gh-dash-grid,
  .gh-bottom-row,
  .gh-docs-layout,
  .gh-notif-layout,
  .gh-advisor-layout,
  .gh-support-split,
  .gh-stat-row,
  .gh-mid-row,
  .has-portal .gh-main-with-portal {
    grid-template-columns: 1fr;
  }

  .gh-property-grid,
  .gh-advantage,
  .gh-path,
  .gh-knowledge,
  .gh-health,
  .gh-saved-grid,
  .gh-amenities,
  .gh-amenity-list,
  .gh-browse-notes,
  .gh-closed-deals {
    grid-template-columns: 1fr 1fr;
  }

  .gh-filter-bar { grid-template-columns: 1fr 1fr; }
  .gh-filter-bar__submit { grid-column: 1 / -1; }
  .gh-gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .gh-nav { display: none; }
  .gh-mobile-nav { display: flex; }
  .gh-advisor-card { grid-template-columns: 1fr; }
  .gh-calc { position: static; }
  .gh-page-head { flex-direction: column; align-items: flex-start; }
  .gh-kpi-strip { grid-template-columns: repeat(2, 1fr); }

  .gh-portal-nav {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--gh-gray-20);
    max-height: none;
    overflow: visible;
  }
  .gh-portal-nav__brand { display: none; }
  .gh-portal-user {
    padding: 0.75rem 1rem;
  }
  .gh-portal-user span {
    display: block !important; /* keep email visible on mobile */
    word-break: break-all;
  }
  .gh-portal-quick {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
  }
  .gh-portal-quick a {
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
  }
  /* Show ALL portal links — wrap, never clip off-screen */
  .gh-portal-nav__menu {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    flex-direction: unset;
    flex-wrap: unset;
    overflow: visible;
    padding: 0.35rem 0.65rem 0.85rem;
    gap: 0.35rem;
  }
  .gh-portal-nav__group {
    display: block;
    grid-column: 1 / -1;
    margin: 0.5rem 0 0.15rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gh-gray-50);
    padding: 0 0.35rem;
  }
  .gh-portal-nav__menu a {
    flex: unset;
    border-left: 0;
    border-bottom: 0;
    border: 1px solid var(--gh-gray-20);
    background: #fff;
    padding: 0.65rem 0.55rem;
    white-space: normal;
    font-size: 0.75rem;
    line-height: 1.25;
    min-width: 0;
    height: auto;
  }
  .gh-portal-nav__menu a.is-active {
    border-left-color: transparent;
    border-color: var(--gh-blue-60);
    border-bottom-color: var(--gh-blue-60);
    background: var(--gh-blue-10);
  }
  .gh-portal-nav__footer {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.65rem 1rem 1rem;
  }
  .gh-portal-nav__footer a {
    white-space: normal;
  }

  /* Admin tabs: wrap so every tab is visible */
  .gh-admin-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
    gap: 0.25rem;
    max-width: 100%;
  }
  .gh-admin-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .gh-portal-nav__footer {
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  .gh-portal-content { padding: 1rem 1rem 1.75rem; }
  .gh-login__hero { min-height: 180px; padding: 1.25rem; }
  .gh-login__copy h1 { font-size: 1.5rem; }
}

@media (max-width: 640px) {
  .gh-property-grid,
  .gh-advantage,
  .gh-path,
  .gh-knowledge,
  .gh-health,
  .gh-saved-grid,
  .gh-amenities,
  .gh-amenity-list,
  .gh-browse-notes,
  .gh-id-tiles,
  .gh-wizard-info,
  .gh-closed-deals,
  .gh-resources__cards,
  .gh-resources__actions,
  .gh-resources__offices,
  .gh-split-2,
  .gh-split-3,
  .gh-fee-grid,
  .gh-office-grid {
    grid-template-columns: 1fr;
  }

  .gh-filter-bar { grid-template-columns: 1fr; }
  .gh-gallery__main { aspect-ratio: 16 / 10; }
  .gh-specs-row { flex-wrap: wrap; }
  .gh-specs-row > div { flex: 1 1 45%; border-bottom: 1px solid var(--gh-gray-20); }
  .gh-login__hero { display: none; }
  .gh-login { grid-template-columns: 1fr; }
  .gh-login__panel { padding: 1.5rem 1.15rem; max-width: none; }
  .gh-wizard__main { padding: 1.25rem 1rem; }
  .gh-inbox { grid-template-columns: 1fr; }
  .gh-header__actions .bx--btn--tertiary { display: none; }
  .gh-header-search { display: none; }
  .gh-portal-user span { display: none; }
}

.gh-mobile-nav {
  display: none;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid var(--gh-gray-20);
  background: var(--gh-gray-10);
  font-size: 0.78rem;
}
.gh-mobile-nav a {
  color: var(--gh-gray-70);
  text-decoration: none;
  font-weight: 500;
}
.gh-mobile-nav a:hover,
.gh-mobile-nav a.is-active {
  color: var(--gh-blue-70);
}

/* —— Feature pack UI —— */
.gh-admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.5rem;
  border-bottom: 1px solid var(--gh-gray-20);
  padding-bottom: 0.5rem;
}
.gh-admin-tab {
  padding: 0.45rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gh-gray-70);
  text-decoration: none !important;
  border-bottom: 2px solid transparent;
}
.gh-admin-tab:hover { color: var(--gh-blue-70); background: var(--gh-blue-10); }
.gh-admin-tab.is-active {
  color: var(--gh-blue-70);
  border-bottom-color: var(--gh-blue-60);
  font-weight: 600;
}

.gh-timeline-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}
.gh-timeline-steps li {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  background: var(--gh-gray-10);
  color: var(--gh-gray-50);
  border: 1px solid var(--gh-gray-20);
}
.gh-timeline-steps li.is-done {
  background: var(--gh-blue-10);
  color: var(--gh-blue-70);
  border-color: var(--gh-blue-20);
}
.gh-timeline-steps li.is-current {
  background: var(--gh-blue-60);
  color: #fff;
  border-color: var(--gh-blue-60);
}
.gh-timeline-steps li.is-rejected {
  background: #ffd7d9;
  color: #a2191f;
  border-color: #ffb3b8;
}

.gh-inbox {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1rem;
  align-items: start;
}
.gh-inbox__thread {
  display: block;
  padding: 0.75rem;
  border: 1px solid var(--gh-gray-20);
  margin-bottom: 0.5rem;
  text-decoration: none !important;
  color: inherit;
}
.gh-inbox__thread strong { display: block; font-size: 0.875rem; }
.gh-inbox__thread span { display: block; font-size: 0.75rem; color: var(--gh-gray-70); margin-top: 0.15rem; }
.gh-inbox__thread.is-active {
  border-color: var(--gh-blue-60);
  background: var(--gh-blue-10);
}
.gh-inbox__messages {
  max-height: 420px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.gh-chat {
  padding: 0.75rem;
  border: 1px solid var(--gh-gray-20);
  background: var(--gh-gray-10);
  font-size: 0.875rem;
}
.gh-chat--staff { background: var(--gh-blue-10); border-color: var(--gh-blue-20); }
.gh-chat p { margin: 0.35rem 0 0; }

.gh-offer__actions {
  display: flex;
  gap: 0.75rem;
  margin: 1.5rem auto;
  max-width: 720px;
  padding: 0 1rem;
}
.gh-offer__sheet {
  max-width: 720px;
  margin: 0 auto 2rem;
  background: #fff;
  border: 1px solid var(--gh-gray-20);
  padding: 2rem;
}
.gh-offer__sheet header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  color: var(--gh-blue-70);
}
.gh-offer__sheet h1 { font-size: 1.5rem; margin: 0 0 0.35rem; }
.gh-offer__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.gh-offer__meta dt { font-size: 0.75rem; color: var(--gh-gray-50); }
.gh-offer__meta dd { margin: 0.15rem 0 0; font-weight: 600; }
@media print {
  .gh-header, .gh-footer, .gh-offer__actions, .gh-flash { display: none !important; }
  .gh-offer__sheet { border: 0; padding: 0; }
}

/* —— Public org pages (About / Schemes / Projects / Contact) —— */
.gh-org-page {
  padding: 1.5rem 1rem 2.5rem;
}
.gh-org-block {
  margin: 0 0 1.75rem;
}
.gh-org-block h2 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gh-gray-100);
}
.gh-org-mvv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 0 1.75rem;
}
.gh-org-mvv article {
  padding: 1rem 0;
  border-top: 2px solid var(--gh-blue-60);
}
.gh-org-mvv h3 {
  margin: 0 0 0.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
}
.gh-org-mvv p,
.gh-org-mvv .gh-checklist {
  margin: 0;
  font-size: 0.875rem;
  color: var(--gh-gray-70);
  line-height: 1.45;
}

.gh-scheme-grid {
  display: grid;
  gap: 1.25rem;
}
.gh-scheme-card {
  padding: 1.25rem 0 1.5rem;
  border-bottom: 1px solid var(--gh-gray-20);
}
.gh-scheme-card:last-child { border-bottom: 0; }
.gh-scheme-card__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gh-blue-60);
}
.gh-scheme-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}
.gh-scheme-card > p {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  color: var(--gh-gray-70);
  line-height: 1.45;
  max-width: 42rem;
}
.gh-scheme-card .gh-checklist { margin-bottom: 1rem; }

.gh-project-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--gh-gray-20);
}
.gh-project-list article {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--gh-gray-20);
}
.gh-project-list strong {
  display: block;
  font-size: 0.9375rem;
}
.gh-project-list span {
  display: block;
  font-size: 0.75rem;
  color: var(--gh-gray-70);
  margin-top: 0.15rem;
}
.gh-project-list em {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gh-blue-60);
  white-space: nowrap;
}

.nhf-project-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 2px solid var(--gh-blue-60);
}
.nhf-project-board__col {
  padding: 1.15rem 1.1rem 0.35rem;
  border-right: 1px solid var(--gh-gray-20);
}
.nhf-project-board__col:last-child {
  border-right: 0;
}
.nhf-project-board__col > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gh-gray-20);
}
.nhf-project-board__col h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gh-gray-100);
}
.nhf-project-board__col header p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--gh-gray-70);
  max-width: 14rem;
}
.nhf-project-board__count {
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gh-blue-60);
  font-variant-numeric: tabular-nums;
}
.nhf-project-board__col ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: project-item;
}
.nhf-project-board__col li {
  position: relative;
  padding: 0;
  border-bottom: 1px solid var(--gh-gray-10);
  counter-increment: project-item;
}
.nhf-project-board__col li:last-child {
  border-bottom: 0;
}
.nhf-project-board__col li::before {
  content: counter(project-item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.95rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gh-gray-50);
  font-variant-numeric: tabular-nums;
  z-index: 1;
  pointer-events: none;
}
.nhf-project-board__link {
  display: block;
  padding: 0.75rem 0.35rem 0.75rem 1.65rem;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s ease;
}
.nhf-project-board__link:hover {
  background: var(--gh-blue-10);
  text-decoration: none;
}
.nhf-project-board__link:hover strong {
  color: var(--gh-blue-70);
}
.nhf-project-board__col strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--gh-gray-100);
}
.nhf-project-board__col li span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: var(--gh-gray-70);
}
.nhf-project-board__col[data-status="ongoing"] .nhf-project-board__count {
  color: #a16207;
}
.nhf-project-board__col[data-status="upcoming"] .nhf-project-board__count {
  color: var(--gh-gray-70);
}

.nhf-project-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: var(--gh-gray-70);
}
.nhf-project-crumb a {
  color: var(--gh-blue-60);
  font-weight: 600;
}
.nhf-project-head {
  align-items: flex-start;
}
.nhf-project-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  color: var(--gh-gray-70);
}
.nhf-project-head__status {
  display: inline-block;
  font-weight: 700;
  color: var(--gh-blue-60);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.6875rem;
}
.nhf-project-head__status[data-status="ongoing"] { color: #a16207; }
.nhf-project-head__status[data-status="upcoming"] { color: var(--gh-gray-70); }
.nhf-project-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.nhf-project-hero {
  margin: 0 0 1.5rem;
}
.nhf-project-hero .gh-lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.nhf-project-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  background: var(--gh-gray-10);
}

.gh-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
  align-items: start;
}
.gh-contact-dl {
  margin: 0 0 1rem;
}
.gh-contact-dl dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gh-gray-50);
  margin-top: 0.85rem;
}
.gh-contact-dl dt:first-child { margin-top: 0; }
.gh-contact-dl dd {
  margin: 0.2rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.4;
}
.gh-contact-dl a { color: var(--gh-blue-70); }

.gh-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0 0.25rem;
}
.gh-partners span {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gh-gray-70);
  padding: 0.5rem 0.75rem;
  border-bottom: 2px solid var(--gh-gray-20);
}

@media (max-width: 768px) {
  .gh-org-mvv,
  .gh-contact-grid {
    grid-template-columns: 1fr;
  }
  .gh-project-list article {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .nhf-project-board {
    grid-template-columns: 1fr;
  }
  .nhf-project-board__col {
    padding: 1rem 0 0.25rem;
    border-right: 0;
    border-bottom: 1px solid var(--gh-gray-20);
  }
  .nhf-project-board__col:last-child {
    border-bottom: 0;
  }
}

/* —— NHF-aligned marketing —— */
.nhf-hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #1a1a1a;
  color: #fff;
}
.nhf-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  cursor: zoom-in;
}
.nhf-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(18, 10, 10, 0.28) 0%, rgba(18, 10, 10, 0.78) 100%);
  pointer-events: none;
}
.nhf-hero__inner {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  padding: 3rem 1.25rem 2.75rem;
  margin: 0 auto;
  pointer-events: none;
}
.nhf-hero__inner a,
.nhf-hero__inner .bx--btn {
  pointer-events: auto;
}
.nhf-hero__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.85rem;
  color: #fff;
}
.nhf-hero__brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.nhf-hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  max-width: 16ch;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}
.nhf-hero__lead {
  margin: 0 0 1.25rem;
  max-width: 36rem;
  font-size: 1.05rem;
  opacity: 0.95;
  color: #fff;
}
.nhf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.nhf-hero .bx--btn--tertiary,
.nhf-hero .gh-btn-on-dark.bx--btn--tertiary {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.12) !important;
}
.nhf-hero .bx--btn--tertiary:hover,
.nhf-hero .gh-btn-on-dark.bx--btn--tertiary:hover {
  color: var(--gh-blue-70) !important;
  background: #fff !important;
  border-color: #fff !important;
}

.nhf-ceo {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.nhf-ceo--compact { grid-template-columns: 140px 1fr; }
.nhf-ceo__photo img {
  width: 100%;
  display: block;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--gh-gray-10);
}
.nhf-ceo__photo .gh-lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.nhf-ceo__photo strong,
.nhf-ceo__photo span {
  display: block;
  margin-top: 0.45rem;
}
.nhf-ceo__photo span {
  font-size: 0.8rem;
  color: var(--gh-gray-70);
}
.nhf-ceo__copy h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}
.nhf-ceo__copy p {
  margin: 0 0 0.75rem;
  color: var(--gh-gray-70);
  line-height: 1.5;
  font-size: 0.9375rem;
}

.nhf-scheme-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.nhf-scheme-cards article {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.nhf-scheme-cards__media,
.nhf-scheme-hero {
  display: block;
  width: 100%;
  height: 180px;
  padding: 0;
  border: 0;
  background: var(--gh-gray-20) center/cover no-repeat;
  margin-bottom: 0.35rem;
  cursor: zoom-in;
}
.nhf-scheme-hero { height: 220px; margin-bottom: 0.85rem; }
.nhf-scheme-cards h3 { margin: 0; font-size: 1.1rem; }
.nhf-scheme-cards p {
  margin: 0;
  color: var(--gh-gray-70);
  font-size: 0.9rem;
  line-height: 1.45;
  flex: 1;
}

.nhf-amenities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.nhf-amenities li {
  padding: 0.85rem 0.75rem;
  border-top: 2px solid var(--gh-blue-60);
  font-weight: 600;
  font-size: 0.875rem;
}

.nhf-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.nhf-gallery .gh-lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.nhf-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: var(--gh-gray-10);
}

.nhf-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.nhf-board article {
  text-align: center;
}
.nhf-board .gh-lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  margin-bottom: 0.5rem;
}
.nhf-board img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--gh-gray-10);
}
.nhf-board strong {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.3;
}
.nhf-board span {
  display: block;
  font-size: 0.75rem;
  color: var(--gh-gray-70);
  margin-top: 0.15rem;
}

.nhf-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  justify-content: center;
  align-items: center;
}
.nhf-partners__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.5rem 0.75rem;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.nhf-partners__item img {
  max-height: 2.5rem;
  max-width: 8rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.gh-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.88);
  cursor: zoom-out;
}
.gh-lightbox-overlay[hidden] { display: none; }
.gh-lightbox-overlay img {
  max-width: min(96vw, 1200px);
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.gh-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.gh-property-card__media img[data-lightbox],
.gh-saved-card img[data-lightbox] {
  cursor: zoom-in;
}
.gh-gallery__main.gh-lightbox-trigger,
.gh-advisor-mini .gh-lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.gh-advisor-mini .gh-lightbox-trigger img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
}

.nhf-mvv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.nhf-mvv article {
  border-top: 2px solid var(--gh-blue-60);
  padding-top: 0.85rem;
}
.nhf-mvv h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}
.nhf-mvv p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--gh-gray-70);
  line-height: 1.45;
}

@media (max-width: 900px) {
  .nhf-ceo,
  .nhf-ceo--compact,
  .nhf-scheme-cards,
  .nhf-mvv { grid-template-columns: 1fr; }
  .nhf-amenities { grid-template-columns: repeat(2, 1fr); }
  .nhf-gallery { grid-template-columns: repeat(2, 1fr); }
  .nhf-board { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .nhf-amenities { grid-template-columns: 1fr; }
}

/* —— Global mobile safety: every page —— */
html {
  overflow-x: hidden;
}
body {
  overflow-x: hidden;
  max-width: 100vw;
}
img,
video,
iframe,
svg,
table {
  max-width: 100%;
}
.gh-container,
.gh-section,
.gh-portal-content,
.gh-wizard__main,
.gh-main-with-portal,
.gh-page-head,
.bx--form-item,
form {
  max-width: 100%;
  box-sizing: border-box;
}
.gh-table-wrap,
.gh-scroll-x {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

@media (max-width: 1100px) {
  .gh-hamburger {
    display: inline-flex;
  }
  .gh-header__inner {
    gap: 0.5rem;
    padding: 0 0.75rem;
  }
  .gh-header__actions {
    gap: 0.35rem;
    max-width: none;
    justify-content: flex-end;
    flex-shrink: 0;
    min-width: 0;
  }
  /* Keep CTAs; move text links into hamburger (still available there) */
  .gh-header__actions .gh-header-link {
    display: none;
  }
  .gh-header__actions .gh-header-cta-secondary {
    display: none;
  }
  .gh-header__actions .bx--btn--sm {
    min-height: 2rem;
    padding: 0 0.65rem;
    font-size: 0.75rem;
    white-space: nowrap;
  }
  .gh-logo img,
  .gh-logo__img {
    height: 34px;
    max-width: 110px;
  }

  /* Keep admin tabs — wrap so every item is visible */
  .gh-admin-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    gap: 0.25rem;
  }
  .gh-admin-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .gh-portal-content,
  .gh-main-with-portal,
  .has-portal .gh-main-with-portal {
    min-width: 0;
    max-width: 100%;
  }

  /* Stack common multi-column layouts site-wide */
  .gh-wizard,
  .gh-detail-layout,
  .gh-dash-grid,
  .gh-bottom-row,
  .gh-docs-layout,
  .gh-notif-layout,
  .gh-advisor-layout,
  .gh-support-split,
  .gh-stat-row,
  .gh-mid-row,
  .gh-inbox,
  .gh-login,
  .gh-auth__row,
  .gh-social,
  .gh-resources,
  .gh-contact-grid,
  .gh-org-mvv,
  .gh-split-2,
  .gh-split-3,
  .nhf-ceo,
  .nhf-ceo--compact,
  .gh-advisor-card,
  .gh-financial-grid,
  .gh-settings-grid,
  .gh-offer-grid,
  .gh-ops-grid,
  .gh-desk-grid,
  .gh-profile-grid,
  .gh-calc-layout,
  .gh-support-grid {
    grid-template-columns: 1fr !important;
  }

  .gh-wizard__side {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--gh-gray-20);
    padding: 1rem 1rem 0.75rem;
  }
  .gh-wizard-steps {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
  }
  .gh-wizard-steps li {
    flex: 0 0 auto;
    border-left: 0;
    border-bottom: 2px solid transparent;
    padding: 0.5rem 0.65rem;
    white-space: nowrap;
    font-size: 0.75rem;
  }
  .gh-wizard-steps li.is-active,
  .gh-wizard-steps li.is-current {
    border-bottom-color: var(--gh-blue-60);
  }

  .gh-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .gh-footer__links {
    gap: 0.75rem 1rem;
  }

  .gh-page-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .gh-page-head .bx--btn {
    width: auto;
  }

  .gh-kpi-strip {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .gh-trust-strip {
    grid-template-columns: 1fr 1fr !important;
  }
  .gh-trust-strip__item {
    border-right: 0;
    border-bottom: 1px solid var(--gh-gray-20);
  }

  .gh-filter-bar {
    grid-template-columns: 1fr 1fr !important;
  }

}

@media (max-width: 640px) {
  .gh-container,
  .gh-section,
  .gh-section--tight,
  .gh-section--cta {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nhf-hero {
    min-height: auto;
    align-items: flex-end;
  }
  .nhf-hero__inner {
    padding: 3.25rem 1rem 1.35rem;
    width: 100%;
  }
  .nhf-hero h1 {
    font-size: clamp(1.4rem, 7vw, 1.9rem);
    max-width: none;
  }
  .nhf-hero__lead {
    font-size: 0.95rem;
    max-width: none;
  }
  .nhf-hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .nhf-hero__actions .bx--btn {
    width: 100%;
    justify-content: center;
    max-width: none;
  }

  body.has-portal .gh-header__actions .bx--btn--primary {
    display: none;
  }

  .gh-mobile-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
  .gh-mobile-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .gh-page-head h1 {
    font-size: 1.3rem;
  }

  /* Force single column for remaining grids */
  .gh-property-grid,
  .gh-advantage,
  .gh-path,
  .gh-knowledge,
  .gh-health,
  .gh-saved-grid,
  .gh-amenities,
  .gh-amenity-list,
  .gh-browse-notes,
  .gh-id-tiles,
  .gh-wizard-info,
  .gh-closed-deals,
  .gh-resources__cards,
  .gh-resources__actions,
  .gh-resources__offices,
  .gh-split-2,
  .gh-split-3,
  .gh-fee-grid,
  .gh-office-grid,
  .gh-scheme-grid,
  .gh-feature-grid,
  .gh-stat-row,
  .gh-kpi-strip,
  .gh-trust-strip,
  .gh-filter-bar,
  .gh-social,
  .nhf-scheme-cards,
  .nhf-amenities,
  .nhf-gallery,
  .nhf-board,
  .nhf-mvv,
  .gh-partners,
  .gh-card-grid,
  .gh-rate-grid,
  .gh-faq-grid,
  .gh-gallery__thumbs,
  .gh-timeline-steps,
  .gh-desk-grid,
  .gh-ops-kpis,
  .gh-ops-grid,
  .gh-doc-grid,
  .gh-notif-grid {
    grid-template-columns: 1fr !important;
  }

  .gh-id-tiles {
    display: grid !important;
  }

  .gh-filter-bar,
  .gh-wizard-actions,
  .gh-page-head,
  .gh-card__head,
  .gh-docs-actions,
  .gh-form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .gh-wizard-actions .bx--btn,
  .gh-page-head .bx--btn,
  .gh-form-actions .bx--btn {
    width: 100%;
    justify-content: center;
  }

  .gh-filter-chips,
  .gh-chip-row,
  .gh-status-filters,
  .gh-pill-row {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    gap: 0.4rem;
  }
  .gh-filter-chips > *,
  .gh-chip-row > *,
  .gh-status-filters > *,
  .gh-pill-row > * {
    flex: 0 0 auto;
  }

  .bx--btn {
    max-width: 100%;
  }
  .bx--text-input,
  .bx--text-area,
  .bx--select-input,
  select,
  input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),
  textarea {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .gh-id-tiles {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.5rem;
  }
  .gh-id-tile {
    width: 100%;
  }
  .gh-fineprint {
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
  }

  .gh-wizard-doc-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .gh-wizard-doc-row__file input[type="file"] {
    width: 100%;
  }

  .gh-login__panel {
    padding: 1.25rem 1rem;
  }
  .gh-login__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .gh-specs-row {
    flex-wrap: wrap;
  }
  .gh-specs-row > div {
    flex: 1 1 45%;
  }

  .gh-portal-quick {
    display: grid !important;
    grid-template-columns: 1fr !important;
    overflow: visible;
    flex-wrap: unset;
  }
  .gh-portal-quick a {
    flex: unset;
    width: 100%;
    white-space: normal;
  }

  .gh-status-filters,
  .gh-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    max-width: 100%;
  }
}

@media (max-width: 400px) {
  .gh-header__actions .bx--btn--primary {
    padding: 0 0.55rem;
    font-size: 0.7rem;
  }
  .gh-kpi-strip {
    grid-template-columns: 1fr 1fr !important;
  }
  .gh-avatar {
    width: 28px;
    height: 28px;
  }
}

/* ============================================================
   FINAL RESPONSIVE OVERRIDE — phone/tablet (≤900px)
   Desktop layouts above are unchanged. This block wins last.
   ============================================================ */

@media (max-width: 900px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .gh-header,
  .gh-header__inner,
  .gh-main-with-portal,
  .gh-portal-content,
  .gh-wizard,
  .gh-wizard__main,
  .gh-container,
  .gh-section,
  .gh-footer,
  .gh-footer__inner,
  .nhf-hero,
  .nhf-hero__inner,
  .gh-login,
  .gh-login__panel {
    max-width: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .gh-header__inner {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0 0.75rem !important;
  }

  .gh-nav { display: none !important; }
  .gh-hamburger { display: inline-flex !important; }
  .gh-header-search { display: none !important; }
  .gh-header__actions .gh-header-link,
  .gh-header__actions .gh-header-cta-secondary { display: none !important; }
  .gh-header__actions {
    margin-left: auto !important;
    gap: 0.35rem !important;
    flex: 0 0 auto !important;
  }
  .gh-header__actions .bx--btn--sm {
    min-height: 2rem !important;
    padding: 0 0.65rem !important;
    font-size: 0.75rem !important;
  }
  .gh-logo img, .gh-logo__img {
    height: 32px !important;
    max-width: 100px !important;
  }

  .gh-login,
  .gh-wizard,
  .gh-detail-layout,
  .gh-dash-grid,
  .gh-bottom-row,
  .gh-docs-layout,
  .gh-notif-layout,
  .gh-advisor-layout,
  .gh-support-split,
  .gh-stat-row,
  .gh-mid-row,
  .gh-inbox,
  .gh-resources,
  .gh-contact-grid,
  .gh-org-mvv,
  .gh-split-2,
  .gh-split-3,
  .nhf-ceo,
  .nhf-ceo--compact,
  .gh-advisor-card,
  .has-portal .gh-main-with-portal,
  .gh-property-grid,
  .gh-advantage,
  .gh-path,
  .gh-knowledge,
  .gh-health,
  .gh-saved-grid,
  .gh-amenities,
  .gh-amenity-list,
  .gh-browse-notes,
  .gh-closed-deals,
  .gh-id-tiles,
  .gh-wizard-info,
  .gh-resources__cards,
  .gh-resources__actions,
  .gh-resources__offices,
  .gh-fee-grid,
  .gh-office-grid,
  .gh-scheme-grid,
  .gh-feature-grid,
  .gh-filter-bar,
  .gh-social,
  .nhf-scheme-cards,
  .nhf-amenities,
  .nhf-gallery,
  .nhf-board,
  .nhf-mvv,
  .gh-card-grid,
  .gh-rate-grid,
  .gh-faq-grid,
  .gh-desk-grid,
  .gh-ops-grid,
  .gh-doc-grid,
  .gh-notif-grid,
  .gh-trust-strip,
  .gh-kpi-strip {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .gh-kpi-strip,
  .gh-trust-strip {
    grid-template-columns: 1fr 1fr !important;
  }

  .gh-page-head,
  .gh-wizard-actions,
  .gh-footer__inner,
  .gh-card__head,
  .gh-form-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }
  .gh-page-head .bx--btn,
  .gh-wizard-actions .bx--btn,
  .gh-form-actions .bx--btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .gh-container,
  .gh-section,
  .gh-section--tight,
  .gh-section--cta,
  .gh-portal-content,
  .gh-wizard__main {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .nhf-hero { min-height: auto !important; }
  .nhf-hero__inner {
    padding: 3rem 1rem 1.25rem !important;
    width: 100% !important;
  }
  .nhf-hero h1 {
    font-size: clamp(1.35rem, 6.5vw, 1.85rem) !important;
    max-width: none !important;
  }
  .nhf-hero__lead {
    font-size: 0.95rem !important;
    max-width: none !important;
  }
  .nhf-hero__actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.5rem !important;
  }
  .nhf-hero__actions .bx--btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .nhf-hero .bx--btn--tertiary,
  .nhf-hero .gh-btn-on-dark.bx--btn--tertiary {
    color: #fff !important;
    border-color: #fff !important;
    background: rgba(255,255,255,0.14) !important;
  }

  .gh-id-tiles { gap: 0.5rem !important; }
  .gh-id-tile {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.65rem !important;
    width: 100% !important;
    min-height: 2.75rem !important;
    padding: 0.75rem 0.9rem !important;
    margin: 0 !important;
  }
  .gh-id-tile input[type="radio"] {
    width: 1.15rem !important;
    height: 1.15rem !important;
    min-width: 1.15rem !important;
    max-width: 1.15rem !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
  }
  .gh-id-tile span {
    flex: 1 1 auto !important;
    font-size: 0.9rem !important;
  }

  .gh-portal-nav {
    width: 100% !important;
    min-height: auto !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--gh-gray-20) !important;
  }
  .gh-portal-nav__brand { display: none !important; }
  .gh-portal-user { padding: 0.75rem 1rem !important; }
  .gh-portal-user span {
    display: block !important;
    word-break: break-all !important;
  }
  .gh-portal-quick {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.4rem !important;
    padding: 0.65rem 1rem !important;
  }
  .gh-portal-quick a {
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
  }
  .gh-portal-nav__menu {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.4rem !important;
    padding: 0.5rem 0.75rem 0.85rem !important;
    overflow: visible !important;
    flex-direction: unset !important;
    flex-wrap: unset !important;
  }
  .gh-portal-nav__group {
    display: block !important;
    grid-column: 1 / -1 !important;
    margin: 0.35rem 0 0 !important;
    padding: 0 0.25rem !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: var(--gh-gray-50) !important;
  }
  .gh-portal-nav__menu a {
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    border: 1px solid var(--gh-gray-20) !important;
    background: #fff !important;
    padding: 0.7rem 0.55rem !important;
    margin: 0 !important;
    white-space: normal !important;
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
    min-width: 0 !important;
    height: auto !important;
  }
  .gh-portal-nav__menu a.is-active {
    border-color: var(--gh-blue-60) !important;
    background: var(--gh-blue-10) !important;
  }
  .gh-portal-nav__footer {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    padding: 0.65rem 1rem 1rem !important;
  }

  .gh-admin-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    overflow: visible !important;
    gap: 0.25rem !important;
    max-width: 100% !important;
  }
  .gh-admin-tab { flex: 0 0 auto !important; }

  .gh-wizard__side {
    min-height: auto !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--gh-gray-20) !important;
    padding: 0.85rem 1rem !important;
  }
  .gh-wizard-steps {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 0.35rem !important;
    overflow: visible !important;
  }
  .gh-wizard-steps li {
    flex: 1 1 auto !important;
    border-left: 0 !important;
    border: 1px solid var(--gh-gray-20) !important;
    padding: 0.5rem 0.6rem !important;
    margin: 0 !important;
    white-space: normal !important;
    font-size: 0.72rem !important;
    background: #fff !important;
  }
  .gh-wizard-steps li.is-active,
  .gh-wizard-steps li.is-current {
    border-color: var(--gh-blue-60) !important;
    background: var(--gh-blue-10) !important;
  }
  .gh-wizard__main {
    padding: 1.25rem 1rem !important;
    max-width: 100% !important;
  }

  .bx--text-input,
  .bx--text-area,
  .bx--select-input,
  select,
  textarea,
  input:not([type="radio"]):not([type="checkbox"]):not([type="button"]):not([type="submit"]):not([type="file"]):not([type="image"]):not([type="hidden"]) {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .gh-fineprint {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    max-width: 100% !important;
  }

  /* Tables → stacked cards (no page-wide horizontal scroll) */
  .gh-table-wrap,
  .gh-card {
    overflow-x: visible !important;
    max-width: 100% !important;
  }
  table.gh-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
  }
  table.gh-table thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
  }
  table.gh-table tbody {
    display: block !important;
    width: 100% !important;
  }
  table.gh-table tr {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 0 0.75rem !important;
    padding: 0.75rem 0.85rem !important;
    border: 1px solid var(--gh-gray-20) !important;
    background: #fff !important;
  }
  table.gh-table th,
  table.gh-table td {
    display: grid !important;
    grid-template-columns: minmax(5rem, 34%) 1fr !important;
    align-items: start !important;
    gap: 0.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.4rem 0 !important;
    border-bottom: 1px solid var(--gh-gray-10) !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
  table.gh-table td:last-child {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  table.gh-table td::before {
    content: attr(data-label);
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    color: var(--gh-gray-50) !important;
    line-height: 1.35 !important;
    padding-top: 0.15rem;
  }
  table.gh-table td:not([data-label]) {
    display: block !important;
  }
  table.gh-table td:not([data-label])::before {
    content: none !important;
  }
  table.gh-table td form {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  table.gh-table td select,
  table.gh-table td .bx--text-input,
  table.gh-table td input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  table.gh-table td .bx--btn {
    width: auto !important;
  }
  .gh-card code,
  .gh-fineprint code {
    overflow-wrap: anywhere !important;
    word-break: break-all !important;
  }

  .gh-mobile-nav {
    display: flex !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
    max-width: 100% !important;
  }
  body.has-portal .gh-mobile-nav { display: none !important; }
  .gh-mobile-nav a {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }

  body.has-portal .gh-header__actions .bx--btn--primary {
    display: none !important;
  }

  .gh-login__hero { display: none !important; }
  .gh-login { grid-template-columns: 1fr !important; }
  .gh-login__panel {
    padding: 1.25rem 1rem !important;
    max-width: 100% !important;
  }
}

@media (max-width: 560px) {
  .gh-kpi-strip,
  .gh-trust-strip {
    grid-template-columns: 1fr 1fr !important;
  }
  .gh-portal-nav__menu {
    grid-template-columns: 1fr !important;
  }
  .nhf-gallery,
  .nhf-board,
  .nhf-amenities {
    grid-template-columns: 1fr !important;
  }
}
