/* Hub pages (/businesses, /offers-and-ads), see partials/directory-hub.blade.php.
   Text in the site's Inter, big headings in Manrope. --bh-cols is the number of modules. */
.bh-page {
  --bh-green: #2e7d32;
  --bh-green-dark: #1b5e20;
  --bh-navy: #16324f;
  --bh-text: #334155;
  --bh-muted: #64748b;
  --bh-line: #e2e8f0;
  --bh-radius: 16px;
  --bh-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  padding: 0 0 2.75rem;
  color: var(--bh-text);
}

/* Full width on every screen, with side padding */
.bh-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Shared bits ---------- */
.bh-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  padding: 1rem 0 .85rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--bh-muted);
}

.bh-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--bh-navy);
  text-decoration: none;
}

.bh-breadcrumb a:hover {
  color: var(--bh-green);
}

.bh-breadcrumb > .fa-chevron-right {
  font-size: .6rem;
  color: #94a3b8;
}

.bh-icon {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.05rem;
}

.bh-icon--green { background: #dcfce7; color: #16a34a; }
.bh-icon--orange { background: #ffedd5; color: #ea580c; }
.bh-icon--purple { background: #ede9fe; color: #7c3aed; }
.bh-icon--blue { background: #dbeafe; color: #2563eb; }
.bh-icon--red { background: #ffe4e6; color: #e11d48; }
.bh-icon--amber { background: #fef3c7; color: #d97706; }
.bh-icon--indigo { background: #e0e7ff; color: #4f46e5; }
.bh-icon--lime { background: #ecfccb; color: #65a30d; }
.bh-icon--cyan { background: #cffafe; color: #0891b2; }

.bh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 42px;
  padding: 0 1.15rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.bh-btn--light {
  background: #fff;
  color: var(--bh-navy);
}

.bh-btn--light:hover {
  background: #e8f5e9;
  color: var(--bh-green-dark);
}

.bh-btn--outline-light {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}

.bh-btn--outline-light:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

/* ---------- Hero ---------- */
.bh-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 2rem;
  align-items: center;
  padding: 2.25rem 2.5rem;
  border: 1px solid #d9eedd;
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 8%, rgba(46, 125, 50, .10) 0, rgba(46, 125, 50, 0) 42%),
    linear-gradient(135deg, #f0faf2 0%, #f5fbf6 50%, #f7fafc 100%);
}

.bh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .9rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d9eedd;
  color: var(--bh-green);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.bh-hero__title {
  margin: 0 0 .85rem;
  font-family: 'Manrope', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--bh-navy);
}

.bh-hero__title span {
  display: block;
  color: var(--bh-green);
}

.bh-hero__text {
  max-width: 38rem;
  margin: 0 0 1.4rem;
  font-size: 1rem;
  line-height: 1.6;
}

.bh-hero__jump {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.bh-jump {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 42px;
  padding: 0 1.05rem;
  border: 1px solid var(--bh-line);
  border-radius: 999px;
  background: #fff;
  color: var(--bh-navy);
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
  transition: border-color .15s ease, color .15s ease;
}

.bh-jump--orange i { color: #ea580c; }
.bh-jump--purple i { color: #7c3aed; }
.bh-jump--green i { color: #16a34a; }
.bh-jump--red i { color: #e11d48; }
.bh-jump--amber i { color: #d97706; }
.bh-jump--indigo i { color: #4f46e5; }
.bh-jump--lime i { color: #65a30d; }
.bh-jump--cyan i { color: #0891b2; }

.bh-jump:hover {
  border-color: var(--bh-green);
  color: var(--bh-green-dark);
}

.bh-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bh-stat {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-width: 0;
  padding: 1rem 1.1rem;
  border: 1px solid #e6efe8;
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--bh-shadow);
}

.bh-stat__text {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
}

.bh-stat strong {
  font-family: 'Manrope', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  color: var(--bh-navy);
}

.bh-stat__text span {
  font-size: .78rem;
  color: var(--bh-muted);
  line-height: 1.25;
}

/* ---------- Sections ---------- */
.bh-section {
  margin-top: 2rem;
}

.bh-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .35rem 1rem;
  margin-bottom: 1rem;
}

.bh-section__title {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--bh-navy);
}

.bh-section__lead {
  margin: 0;
  font-size: .85rem;
  color: var(--bh-muted);
}

/* ---------- Module cards ---------- */
.bh-modules {
  display: grid;
  grid-template-columns: repeat(var(--bh-cols, 3), minmax(0, 1fr));
  gap: 1.25rem;
}

.bh-module {
  --tone: #16a34a;
  --tone-dark: #15803d;
  --tone-soft: #dcfce7;
  --tone-wash: #f0fdf4;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
  padding: 1.4rem;
  border: 1px solid var(--bh-line);
  border-top: 4px solid var(--tone);
  border-radius: var(--bh-radius);
  background: #fff;
  box-shadow: var(--bh-shadow);
  transition: box-shadow .2s ease, transform .2s ease;
}

.bh-module {
  background: linear-gradient(180deg, var(--tone-wash) 0, #fff 160px);
}

.bh-module:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .10);
}

/* Tones also colour the featured listing rows, which aren't .bh-module cards */
.bh-module--green {
  --tone: #16a34a;
  --tone-dark: #15803d;
  --tone-soft: #dcfce7;
  --tone-wash: #f0fdf4;
}

.bh-module--orange {
  --tone: #ea580c;
  --tone-dark: #c2410c;
  --tone-soft: #ffedd5;
  --tone-wash: #fff7ed;
}

.bh-module--purple {
  --tone: #7c3aed;
  --tone-dark: #6d28d9;
  --tone-soft: #ede9fe;
  --tone-wash: #f5f3ff;
}

.bh-module--red {
  --tone: #e11d48;
  --tone-dark: #be123c;
  --tone-soft: #ffe4e6;
  --tone-wash: #fff1f2;
}

.bh-module--amber {
  --tone: #d97706;
  --tone-dark: #b45309;
  --tone-soft: #fef3c7;
  --tone-wash: #fffbeb;
}

/* The homepage's colours for businesses: indigo consultants, lime services */
.bh-module--indigo {
  --tone: #4f46e5;
  --tone-dark: #4338ca;
  --tone-soft: #e0e7ff;
  --tone-wash: #eef2ff;
}

.bh-module--lime {
  --tone: #65a30d;
  --tone-dark: #4d7c0f;
  --tone-soft: #ecfccb;
  --tone-wash: #f7fee7;
}

/* The homepage's colour for ads */
.bh-module--cyan {
  --tone: #0891b2;
  --tone-dark: #0e7490;
  --tone-soft: #cffafe;
  --tone-wash: #ecfeff;
}

.bh-module__main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.bh-module__head {
  display: flex;
  align-items: center;
  gap: .9rem;
}

.bh-module__icon {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--tone-soft);
  color: var(--tone);
  font-size: 1.4rem;
}

.bh-module__heading {
  min-width: 0;
}

.bh-module__title {
  margin: 0 0 .15rem;
  font-family: 'Manrope', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
}

.bh-module__title a {
  color: var(--bh-navy);
  text-decoration: none;
}

.bh-module__title a:hover {
  color: var(--tone-dark);
}

.bh-module__tagline {
  margin: 0;
  font-size: .82rem;
  font-weight: 600;
  color: var(--tone-dark);
}

.bh-module__desc {
  margin: 0;
  font-size: .9rem;
  line-height: 1.55;
}

.bh-module__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-radius: 12px;
  background: var(--tone-wash);
}

.bh-module__stats > div {
  padding: .7rem .85rem;
  min-width: 0;
}

.bh-module__stats > div + div {
  border-left: 1px solid rgba(15, 23, 42, .07);
}

.bh-module__stats dt {
  font-size: .72rem;
  font-weight: 600;
  color: var(--bh-muted);
}

.bh-module__stats dd {
  margin: .1rem 0 0;
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--bh-navy);
}

.bh-module__cats {
  flex: 1;
  min-width: 0;
}

.bh-module__cats-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .6rem;
}

.bh-module__label {
  margin: 0;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--bh-muted);
}

.bh-module__all {
  font-size: .8rem;
  font-weight: 700;
  color: var(--tone-dark);
  text-decoration: none;
}

.bh-module__all:hover {
  text-decoration: underline;
}

.bh-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bh-chips li {
  min-width: 0;
  max-width: 100%;
}

.bh-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  max-width: 100%;
  padding: .4rem .45rem .4rem .75rem;
  border: 1px solid var(--bh-line);
  border-radius: 999px;
  background: #fff;
  color: var(--bh-text);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.bh-chip:hover {
  border-color: var(--tone);
  background: var(--tone-wash);
  color: var(--tone-dark);
}

.bh-chip__count {
  flex-shrink: 0;
  min-width: 22px;
  padding: .1rem .4rem;
  border-radius: 999px;
  background: var(--tone-soft);
  color: var(--tone-dark);
  font-size: .7rem;
  font-weight: 800;
  text-align: center;
}

.bh-module__empty {
  margin: 0;
  padding: .75rem .9rem;
  border: 1px dashed var(--bh-line);
  border-radius: 10px;
  font-size: .82rem;
  color: var(--bh-muted);
}

.bh-module__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  padding-top: 1rem;
  border-top: 1px solid #eef2f7;
}

.bh-btn--tone {
  flex: 1 1 auto;
  background: var(--tone);
  color: #fff;
}

.bh-btn--tone:hover {
  background: var(--tone-dark);
  color: #fff;
}

.bh-btn--soft {
  background: var(--tone-wash);
  border-color: var(--tone-soft);
  color: var(--tone-dark);
}

.bh-btn--soft:hover {
  border-color: var(--tone);
  color: var(--tone-dark);
}

/* ---------- Featured listings: gradient panels in the homepage section colours ---------- */
.bh-featured--vendors {
  --panel-bg: linear-gradient(115deg, #bbf7d0 0%, #4ade80 50%, #16a34a 100%);
  --panel-accent: #14532d;
}

.bh-featured--consultants {
  --panel-bg: linear-gradient(115deg, #c7d2fe 0%, #818cf8 45%, #4f46e5 100%);
  --panel-accent: #312e81;
}

.bh-featured--services {
  --panel-bg: linear-gradient(115deg, #ecfccb 0%, #a3e635 45%, #65a30d 100%);
  --panel-accent: #365314;
}

.bh-featured--offers {
  --panel-bg: linear-gradient(115deg, #ffd0a8 0%, #ff9a62 45%, #ff5a36 100%);
  --panel-accent: #b42318;
}

.bh-featured--ads {
  --panel-bg: linear-gradient(115deg, #cffafe 0%, #67e8f9 45%, #06b6d4 100%);
  --panel-accent: #155e75;
}

.bh-featured {
  padding: 22px 20px 20px;
  border-radius: 24px;
  background: var(--panel-bg, linear-gradient(115deg, #bbf7d0 0%, #4ade80 50%, #16a34a 100%));
  box-shadow: 0 4px 14px rgba(15, 23, 42, .08);
}

.bh-featured__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
}

.bh-featured__title {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: #0f1111;
}

.bh-featured__icon {
  font-size: 1.35rem;
  color: #0f1111;
}

.bh-featured__accent {
  color: var(--panel-accent);
}

.bh-featured__more {
  flex-shrink: 0;
  padding-top: .3rem;
  font-size: .85rem;
  font-weight: 600;
  color: #0f1111;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.bh-featured__more i {
  font-size: .72rem;
}

.bh-featured__more:hover {
  color: var(--panel-accent);
}

/* One row of cards: as many as fit at each width; swipeable on phones */
.bh-rail {
  --bh-rail-cols: 6;
  display: grid;
  grid-template-columns: repeat(var(--bh-rail-cols), minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bh-rail__item {
  min-width: 0;
}

.bh-biz {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--bh-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--bh-shadow);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.bh-biz:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, .10);
}

.bh-biz__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  margin: 8px 8px 0;
  border-radius: 9px;
  overflow: hidden;
  background: #f1f5f9;
}

/* Out of the flow, so a tall photo can't stretch the 16:10 frame */
.bh-biz__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bh-biz__badge {
  position: absolute;
  top: .6rem;
  left: .6rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f6d365 0%, #e0a526 100%);
  color: #3b2a05;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

.bh-biz__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 0 .9rem .9rem;
}

.bh-biz__avatar {
  width: 44px;
  height: 44px;
  margin-top: -22px;
  margin-left: .1rem;
  margin-bottom: .45rem;
  border: 3px solid #fff;
  border-radius: 12px;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .12);
  position: relative;
}

.bh-biz__name {
  margin: 0 0 .2rem;
  font-family: 'Manrope', sans-serif;
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bh-biz__name a {
  color: var(--bh-navy);
  text-decoration: none;
}

/* The whole card opens the listing */
.bh-biz__name a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.bh-biz__name a:hover {
  color: var(--panel-accent);
}

.bh-biz__category {
  margin: 0 0 .35rem;
  font-size: .76rem;
  font-weight: 700;
  color: var(--panel-accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bh-biz__location {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin: 0 0 .7rem;
  font-size: .78rem;
  color: var(--bh-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bh-biz__location i {
  flex-shrink: 0;
  color: #94a3b8;
}

/* Its own box, so a long place name ends in "…" */
.bh-biz__location-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bh-biz__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: auto;
  padding-top: .65rem;
  border-top: 1px solid #eef2f7;
  font-size: .76rem;
}

.bh-biz__rating {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-weight: 800;
  color: var(--bh-navy);
}

.bh-biz__rating i {
  color: #f59e0b;
}

.bh-biz__rating span {
  font-weight: 500;
  color: var(--bh-muted);
}

.bh-biz__verified {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-weight: 700;
  color: #15803d;
  white-space: nowrap;
}

/* Offer and ad cards, like the homepage's: category tag on the image, deal badge, short text */
.bh-deal__tag {
  position: absolute;
  top: .55rem;
  left: .55rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  max-width: calc(100% - 1.1rem);
  padding: .3rem .6rem;
  border-radius: 999px;
  background: rgba(51, 65, 85, .88);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .16);
}

.bh-deal__tag--brown { background: rgba(120, 53, 15, .88); }
.bh-deal__tag--purple { background: rgba(109, 40, 217, .88); }
.bh-deal__tag--green { background: rgba(21, 128, 61, .9); }
.bh-deal__tag--blue { background: rgba(29, 78, 216, .9); }
.bh-deal__tag--teal { background: rgba(15, 118, 110, .9); }

.bh-deal__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
  padding: .75rem .9rem .9rem;
}

.bh-deal__body > * {
  max-width: 100%;
}

.bh-deal__badge {
  margin: .2rem 0 .45rem;
  padding: .25rem .55rem;
  border-radius: 6px;
  background: linear-gradient(135deg, #ff1744, #e11d48);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bh-deal__desc {
  margin: 0 0 .7rem;
  font-size: .8rem;
  line-height: 1.45;
  color: var(--bh-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bh-deal .bh-biz__foot {
  width: 100%;
}

.bh-deal .bh-biz__location {
  margin: 0;
  min-width: 0;
}

.bh-deal__valid {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--panel-accent);
  white-space: nowrap;
}

/* ---------- How it works ---------- */
.bh-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bh-step {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--bh-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--bh-shadow);
}

.bh-step__icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: .8rem;
  border-radius: 12px;
  background: #e8f5e9;
  color: var(--bh-green);
  font-size: 1rem;
}

.bh-step__number {
  display: block;
  margin-bottom: .2rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--bh-green);
}

.bh-step__title {
  margin: 0 0 .35rem;
  font-family: 'Manrope', sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--bh-navy);
}

.bh-step__text {
  margin: 0;
  font-size: .85rem;
  line-height: 1.5;
  color: var(--bh-muted);
}

/* ---------- Call to action ---------- */
.bh-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: 2rem;
  padding: 1.75rem 2rem;
  border-radius: 18px;
  background: linear-gradient(120deg, #16324f 0%, #1d4a6e 55%, #1f6b4a 100%);
  color: #fff;
}

.bh-cta__copy {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.bh-cta__icon {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .14);
  font-size: 1.25rem;
}

.bh-cta h2 {
  margin: 0 0 .3rem;
  font-family: 'Manrope', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.bh-cta p {
  margin: 0;
  font-size: .9rem;
  color: rgba(255, 255, 255, .82);
}

.bh-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  flex-shrink: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1599.98px) {
  .bh-rail { --bh-rail-cols: 5; }
  .bh-rail__item:nth-child(n+6) { display: none; }
}

@media (max-width: 1199.98px) {
  .bh-rail { --bh-rail-cols: 4; }
  .bh-rail__item:nth-child(n+5) { display: none; }
}

@media (max-width: 991.98px) {
  .bh-rail { --bh-rail-cols: 3; }
  .bh-rail__item:nth-child(n+4) { display: none; }
}

@media (max-width: 767.98px) {
  .bh-featured {
    padding: 18px 0 14px;
    border-radius: 20px;
    overflow: hidden;
  }

  .bh-featured__head {
    padding: 0 14px;
  }

  .bh-featured__title {
    gap: .55rem;
    font-size: 1.3rem;
  }

  .bh-featured__icon {
    font-size: 1.15rem;
  }

  .bh-featured__more {
    font-size: .8rem;
  }

  .bh-rail {
    display: flex;
    gap: .75rem;
    margin: 0;
    padding: .15rem 14px .4rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 14px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .bh-rail::-webkit-scrollbar {
    display: none;
  }

  .bh-rail__item,
  .bh-rail__item:nth-child(n+4) {
    display: block;
    flex: 0 0 min(72%, 260px);
    scroll-snap-align: start;
  }

  .bh-biz:hover {
    transform: none;
  }
}

@media (min-width: 1600px) {
  .bh-container {
    padding: 0 40px;
  }

  .bh-hero {
    padding: 2.5rem 3rem;
  }

  .bh-hero__title {
    font-size: 2.9rem;
  }
}

/* Tablets and small laptops: one card per row, details beside the categories */
@media (max-width: 1199.98px) {
  .bh-modules {
    grid-template-columns: minmax(0, 1fr);
  }

  .bh-module {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.1rem 1.75rem;
    align-items: start;
  }

  .bh-module__actions {
    grid-column: 1 / -1;
  }

  .bh-btn--tone {
    flex: 0 1 auto;
  }

  .bh-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .bh-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
  }

  .bh-hero__title {
    font-size: 2.1rem;
  }

  .bh-hero__text {
    margin-bottom: 1.1rem;
  }

  /* Counts in one slim row */
  .bh-hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .65rem;
  }

  .bh-stat {
    gap: .6rem;
    padding: .7rem .8rem;
  }

  .bh-stat .bh-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: .9rem;
  }

  .bh-stat strong {
    font-size: 1.2rem;
  }

  .bh-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .bh-container {
    padding: 0 12px;
  }

  .bh-breadcrumb {
    padding: .8rem 0 .7rem;
  }

  /* Compact hero on phones: heading, one row of links, one row of counts */
  .bh-hero {
    gap: .8rem;
    padding: 1rem;
    border-radius: 16px;
  }

  .bh-eyebrow,
  .bh-hero__text {
    display: none;
  }

  .bh-hero__title {
    margin-bottom: .8rem;
    font-size: 1.3rem;
    line-height: 1.25;
    text-wrap: balance;
  }

  .bh-hero__title span {
    display: inline;
  }

  .bh-hero__jump {
    flex-wrap: nowrap;
    gap: .4rem;
  }

  .bh-jump {
    flex: 1 1 0;
    justify-content: center;
    gap: .35rem;
    min-width: 0;
    min-height: 38px;
    padding: 0 .4rem;
    font-size: .78rem;
    white-space: nowrap;
  }

  .bh-jump i {
    font-size: .82rem;
  }

  .bh-hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border: 1px solid #e6efe8;
    border-radius: 12px;
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--bh-shadow);
  }

  .bh-stat {
    flex-direction: column;
    align-items: center;
    gap: .15rem;
    padding: .55rem .25rem;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    text-align: center;
  }

  .bh-stat + .bh-stat {
    border-left: 1px solid #eef2f7;
  }

  .bh-stat .bh-icon {
    display: none;
  }

  .bh-stat__text {
    align-items: center;
  }

  .bh-stat strong {
    font-size: 1.05rem;
  }

  .bh-stat__text span {
    font-size: .64rem;
    line-height: 1.2;
  }

  .bh-section {
    margin-top: 1.5rem;
  }

  .bh-section__title {
    font-size: 1.2rem;
  }

  .bh-modules {
    gap: 1rem;
  }

  .bh-module {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    padding: 1.15rem;
  }

  .bh-module__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 1.2rem;
  }

  .bh-module__title {
    font-size: 1.15rem;
  }

  .bh-module__desc {
    font-size: .86rem;
  }

  /* Explore button takes the room, Premium stays beside it */
  .bh-module__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .bh-module__actions .bh-btn {
    padding: 0 .9rem;
  }

  /* Steps as compact rows: icon beside the text */
  .bh-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: .6rem;
  }

  .bh-step {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: .85rem;
    align-items: start;
    padding: .9rem 1rem;
  }

  .bh-step__icon {
    grid-row: 1 / span 3;
    margin-bottom: 0;
  }

  .bh-step__title {
    margin-bottom: .2rem;
  }

  .bh-cta {
    padding: 1.35rem 1.15rem;
    border-radius: 16px;
  }

  .bh-cta__copy {
    align-items: flex-start;
  }

  .bh-cta__icon {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
  }

  .bh-cta h2 {
    font-size: 1.15rem;
  }

  .bh-cta__actions {
    width: 100%;
  }

  .bh-cta__actions .bh-btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 379.98px) {
  .bh-module__actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .bh-jump i {
    display: none;
  }

  .bh-featured__title {
    font-size: 1.15rem;
  }

  .bh-featured__title > span {
    text-wrap: balance;
  }
}
