/* ============================================================
   Burgtec Home Widgets — Shared Styles
   ============================================================ */

:root {
  --bh-bg: #ffffff;
  --bh-surface: #ffffff;
  --bh-surface-soft: #f5f5f2;
  --bh-surface-softer: #faf9f7;
  --bh-line: #e6e3de;
  --bh-line-strong: #d8d3cc;
  --bh-text: #1d1d1b;
  --bh-muted: #6f716a;
  --bh-green: #16302a;
  --bh-radius-btn: 7px;
  --bh-radius-sm: 10px;
  --bh-radius-md: 16px;
  --bh-radius-lg: 22px;
  --bh-shadow: 0 14px 34px rgba(18,18,15,.05);
}

.bh-widget {
  font-family: 'Fonetika', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--bh-text);
  line-height: 1.45;
}
.bh-widget *, .bh-widget *::before, .bh-widget *::after { box-sizing: border-box; }
.bh-widget img { max-width: 100%; display: block; }
/* Do NOT use color:inherit on links — buttons set their own colour explicitly */
.bh-widget a:not(.bh-btn) { color: inherit; text-decoration: none; }

/* Shared typography */
.bh-eyebrow {
  color: var(--bh-muted);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}
.bh-widget h1 {
  margin: 0 0 22px;
  font-size: clamp(52px, 6.5vw, 90px);
  line-height: .95;
  letter-spacing: -.04em;
  font-weight: 800;
  color: var(--bh-text);
}
.bh-widget h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 600;
}
.bh-widget h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -.02em;
  font-weight: 600;
}
.bh-widget p {
  margin: 0 0 14px;
  color: var(--bh-muted);
  font-size: 15px;
}
.bh-lead {
  font-size: 17px;
  color: #343530;
  max-width: 56ch;
  margin-bottom: 14px;
  font-family: 'Fonetika', Arial, sans-serif;
}

/* Shared buttons */
.bh-widget .bh-btn,
a.bh-btn {
  appearance: none;
  border: 0px solid var(--bh-line-strong);
  background: #fff;
  color: var(--bh-text);
  border-radius: var(--bh-radius-btn);
  min-height: 36px;
  height: 36px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fonetika', Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.bh-widget .bh-btn:hover,
a.bh-btn:hover { transform: translateY(-1px); border-color: #c7c1b8; color: #a0a09a !important; }

/* Primary — dark green, white text. Both selectors + !important beat any theme a{color} rule */
.bh-widget a.bh-btn-primary,
.bh-widget .bh-btn-primary,
a.bh-btn.bh-btn-primary { background: var(--bh-green) !important; color: #ffffff !important; border-color: var(--bh-green) !important; }
.bh-widget a.bh-btn-primary:hover,
.bh-widget .bh-btn-primary:hover,
a.bh-btn.bh-btn-primary:hover { background: #1d4238 !important; border-color: #1d4238 !important; color: #c8d4d2 !important; }

/* Soft */
.bh-widget a.bh-btn-soft,
.bh-widget .bh-btn-soft,
a.bh-btn.bh-btn-soft { background: var(--bh-surface-soft) !important; color: #7b7b78 !important; border-color: #f0efeb !important; }
.bh-widget a.bh-btn-soft:hover,
.bh-widget .bh-btn-soft:hover,
a.bh-btn.bh-btn-soft:hover { color: #a0a09a !important; }

/* Section head */
.bh-section-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(280px,440px);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}
.bh-section-note { font-size: 15px; color: var(--bh-muted); }
.bh-section-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ── 1. Hero Slider (full-width background) ──────────────── */
:root { --bh-container: 1600px; }

.bh-hero-full {
  position: relative;
  overflow: hidden;
  background: var(--bh-green);
  /* Full-bleed even inside a boxed Elementor container */
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.bh-hero-h-standard { height: clamp(480px, 72vh, 760px); }
.bh-hero-h-short    { height: clamp(400px, 56vh, 600px); }
.bh-hero-h-full     { height: 100vh; }

.bh-hero-full .bh-slides { position: relative; height: 100%; }
.bh-hero-full .bh-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility .9s ease;
}
.bh-hero-full .bh-slide.active { opacity: 1; visibility: visible; }

/* Elementor editor: JS may not run, so show first slide via CSS */
.elementor-editor-active .bh-hero-full .bh-slide:first-child { opacity: 1; visibility: visible; }

/* Background media + gradient overlay */
.bh-slide-bg { position: absolute; inset: 0; overflow: hidden; }
.bh-widget .bh-slide-bg img,
.bh-widget .bh-slide-bg video {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  display: block;
}
.bh-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(12,14,12, calc(var(--bh-hero-overlay, .55) + .07)) 0%,
    rgba(12,14,12, calc(var(--bh-hero-overlay, .55) * .58)) 55%,
    rgba(12,14,12, calc(var(--bh-hero-overlay, .55) * .15)) 100%);
}

/* Slide content */
.bh-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  width: min(var(--bh-container), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  color: #fff;
  font-family: 'Fonetika', Arial, sans-serif;
}
.bh-hero-small {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}
.bh-widget .bh-hero-title {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: .98;
  letter-spacing: -.04em;
  font-weight: 600;
  color: #fff;
}
.bh-widget .bh-hero-title a {
  color: #fff !important;
  text-decoration: none;
  transition: opacity .18s ease;
}
.bh-widget .bh-hero-title a:hover { opacity: .82; }

.bh-widget a.bh-hero-btn {
  margin-top: 10px;
  min-height: 44px;
  height: 44px;
  padding: 0 30px;
  font-size: 13px;
  background: #fff !important;
  color: var(--bh-text) !important;
  border-color: #fff !important;
}
.bh-widget a.bh-hero-btn:hover {
  background: rgba(255,255,255,.9) !important;
  color: var(--bh-text) !important;
}

/* Slider controls (overlaid, bottom) */
.bh-hero-full .bh-slider-nav {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 28px;
  width: min(var(--bh-container), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.bh-slider-dots { display: flex; gap: 8px; align-items: center; }
.bh-hero-full .bh-dot {
  width: 32px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
}
.bh-hero-full .bh-dot.active { background: #fff; }
.bh-slider-arrows { display: flex; gap: 8px; margin-left: auto; }
.bh-hero-full .bh-slider-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  backdrop-filter: blur(6px);
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
  font-family: Arial, sans-serif;
}
.bh-hero-full .bh-slider-arrow:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.7);
}
.bh-hero-full .bh-slider-counter {
  font-size: 12px;
  color: rgba(255,255,255,.75);
  font-family: 'Fonetika', Arial, sans-serif;
  letter-spacing: .04em;
}

/* ── 2. Proof Strip ──────────────────────────────────────── */
.bh-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-bottom: 56px;
}
.bh-proof-card {
  background: var(--bh-surface-softer);
  border: 0px solid var(--bh-line);
  border-radius: var(--bh-radius-md);
  padding: 22px 20px 24px;
  font-family: 'Fonetika', Arial, sans-serif;
}
.bh-proof-label {
  display: block;
  color: var(--bh-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
}
.bh-proof-value {
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--bh-text);
}
.bh-proof-card p { margin: 0; font-size: 14px; color: var(--bh-muted); line-height: 1.5; }

/* ── 3. Fast Paths ───────────────────────────────────────── */
.bh-fast-paths-section {
  padding: 60px 0;
  border-top: 1px solid var(--bh-line);
}
.bh-path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.bh-path-card {
  display: flex;
  flex-direction: column;
  background: var(--bh-surface-softer);
  border: 0px solid var(--bh-line);
  border-radius: var(--bh-radius-md);
  padding: 24px 22px;
  min-height: 220px;
  font-family: 'Fonetika', Arial, sans-serif;
}
.bh-path-card p { margin: 0 0 auto; }
.bh-path-actions { margin-top: 18px; }

/* ── 4. Category Browser ─────────────────────────────────── */
.bh-category-section {
  padding: 56px 0 64px;
  border-top: 1px solid var(--bh-line);
}
.bh-category-heading {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  margin: 0 0 40px;
  color: var(--bh-text);
  font-family: 'Fonetika', Arial, sans-serif;
}
.bh-category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.bh-category-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  text-decoration: none;
  color: var(--bh-text);
  font-family: 'Fonetika', Arial, sans-serif;
}
.bh-category-thumb {
  border-radius: var(--bh-radius-md);
  overflow: hidden;
  background: var(--bh-surface-softer);
  border: 0px solid var(--bh-line);
  aspect-ratio: 4/5;
  position: relative;
  transition: border-color .18s, box-shadow .18s;
}
.bh-category-card:hover .bh-category-thumb {
  border-color: #c7c1b8;
  box-shadow: 0 8px 24px rgba(18,18,15,.10);
}
.bh-widget .bh-category-thumb img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  display: block;
}
.bh-category-label { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }

/* Category hover overlay — brightens the tile, black links, divider lines */
.bh-category-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  overflow-y: auto;
}
.bh-category-card:hover .bh-category-overlay,
.bh-category-card:focus-within .bh-category-overlay {
  opacity: 1;
  visibility: visible;
}
.bh-category-overlay-inner { margin: auto 0; width: 100%; }
.bh-widget .bh-category-overlay a {
  display: block;
  color: var(--bh-text) !important;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  padding: 6px 2px;
  line-height: 1.3;
  border-bottom: 1px solid rgba(29,29,27,.16);
  text-decoration: none;
  transition: opacity .15s ease;
}
.bh-widget .bh-category-overlay a:last-child { border-bottom: 0; }
.bh-widget .bh-category-overlay a:hover { opacity: .6; }

/* ── 5. Featured Projects ────────────────────────────────── */
.bh-projects-section {
  padding: 60px 0;
  border-top: 1px solid var(--bh-line);
}
.bh-project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.bh-project-card {
  display: flex;
  flex-direction: column;
  font-family: 'Fonetika', Arial, sans-serif;
}
.bh-project-image {
  border-radius: var(--bh-radius-md);
  overflow: hidden;
  border: 0px solid var(--bh-line);
  margin-bottom: 16px;
  background: var(--bh-surface-softer);
}
.bh-project-image img { width: 100%; aspect-ratio: 1.22/1; object-fit: cover; display: block; }
.bh-project-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.bh-meta-pill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 0px solid var(--bh-line);
  background: var(--bh-surface-softer);
  color: #4a4c45;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-family: 'Fonetika', Arial, sans-serif;
}

/* ── 6. Markets + Resources (Split Band) ─────────────────── */
.elementor-widget-bhome_markets_resources,
.elementor-widget-bhome_markets_resources > .elementor-widget-container,
.bh-split-band {
  background: transparent !important;
}
.bh-split-band {
  border-top: 1px solid var(--bh-line);
  border-bottom: 1px solid var(--bh-line);
}
.bh-split-band-inner {
  padding: 60px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.bh-market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}
.bh-market-card { display: flex; flex-direction: column; font-family: 'Fonetika', Arial, sans-serif; }
.bh-market-image {
  border-radius: var(--bh-radius-md);
  overflow: hidden;
  border: 0px solid var(--bh-line);
  margin-bottom: 16px;
  background: var(--bh-surface-softer);
}
.bh-market-image img { width: 100%; aspect-ratio: 1.18/1; object-fit: cover; display: block; }

/* Help panel */
.bh-help-panel {
  background: rgba(255,255,255,.96);
  border: 0px solid var(--bh-line);
  border-radius: var(--bh-radius-lg);
  padding: 28px;
  box-shadow: var(--bh-shadow);
  font-family: 'Fonetika', Arial, sans-serif;
  align-self: center;
}
.bh-resource-list { display: grid; gap: 14px; margin-top: 24px; }
.bh-resource-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: var(--bh-radius-md);
  background: rgba(255,255,255,.9);
  border: 0px solid var(--bh-line);
  box-shadow: 0 8px 22px rgba(24,24,18,.04);
}
.bh-resource-icon {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f3f1;
  flex: 0 0 96px;
}
.bh-resource-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── 7. People ───────────────────────────────────────────── */
.bh-people-section {
  padding: 60px 0;
  border-top: 1px solid var(--bh-line);
}
.bh-people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.bh-people-card { display: flex; flex-direction: column; font-family: 'Fonetika', Arial, sans-serif; }
.bh-people-image {
  border-radius: var(--bh-radius-md);
  overflow: hidden;
  border: 0px solid var(--bh-line);
  margin-bottom: 16px;
  background: var(--bh-surface-softer);
}
.bh-people-image img { width: 100%; aspect-ratio: 1.1/1; object-fit: cover; display: block; }

/* ── 8. Final CTA ────────────────────────────────────────── */
.bh-final-cta {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 38px 0 72px;
  border-top: 1px solid var(--bh-line);
  font-family: 'Fonetika', Arial, sans-serif;
}
.bh-final-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1080px) {
  .bh-section-head,
  .bh-split-band-inner,
  .bh-final-cta { grid-template-columns: 1fr; }
  .bh-proof-strip,
  .bh-path-grid,
  .bh-project-grid,
  .bh-market-grid,
  .bh-people-grid { grid-template-columns: 1fr 1fr; }
  .bh-category-grid { grid-template-columns: repeat(3, 1fr); }
  .bh-final-actions { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .bh-proof-strip,
  .bh-path-grid,
  .bh-project-grid,
  .bh-market-grid,
  .bh-people-grid { grid-template-columns: 1fr; }
  .bh-category-grid { grid-template-columns: repeat(2, 1fr); }
  .bh-resource-row { grid-template-columns: 1fr; }
  .bh-btn { width: 100%; }
  .bh-section-actions, .bh-final-actions { width: 100%; }
  .bh-hero-h-standard, .bh-hero-h-short { height: clamp(420px, 68vh, 560px); }
  .bh-slide-content { width: min(var(--bh-container), calc(100% - 28px)); padding-bottom: 56px; }
  .bh-hero-full .bh-slider-nav { width: min(var(--bh-container), calc(100% - 28px)); bottom: 20px; }
  .bh-widget a.bh-hero-btn { width: auto; }
}

/* ══ v2.2 — Approved homepage redesign (2026-08) ══════════════ */

/* ── Category tiles: whole tile links, image swap on hover ── */
a.bh-category-card { display: flex; }
.bh-category-card { gap: 18px; } /* more air between tile and label */
.bh-category-thumb .bh-category-swap {
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 2;
}
a.bh-category-card:hover .bh-category-swap { opacity: 1; }
a.bh-category-card .bh-category-label {
  display: block;
  color: var(--bh-text);
  text-decoration: none;
}
.bh-category-overlay { display: none !important; } /* retired design */

/* ── Work With Burgtec — image cards ── */
.bh-widget .bh-path-card-img {
  position: relative;
  background-size: cover;
  background-position: center;
  border: none;
  min-height: 300px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.bh-path-card-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22,48,42,.92) 0%, rgba(22,48,42,.5) 45%, rgba(22,48,42,.08) 75%);
}
.bh-path-card-img > * { position: relative; z-index: 1; }
.bh-widget .bh-path-card-img h3 { color: #fff; font-size: 22px; }
.bh-widget .bh-path-card-img p { color: rgba(255,255,255,.85); }
.bh-widget .bh-path-card-img .bh-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff !important; color: #16302a !important;
  border: 1px solid #fff !important; border-radius: 7px;
  min-height: 24px; padding: 0 22px;
  font-size: 11px; font-weight: 600; line-height: 1;
  text-decoration: none;
  transition: background .15s ease;
}
.bh-widget .bh-path-card-img .bh-btn:hover { background: #f0efeb !important; border-color: #f0efeb !important; }

/* ── Recent projects — masonry ── */
.bh-pm-masonry { columns: 3; column-gap: 14px; }
@media (max-width: 1000px) { .bh-pm-masonry { columns: 2; } }
@media (max-width: 620px)  { .bh-pm-masonry { columns: 1; } }

.bh-widget .bh-pm-card {
  position: relative;
  display: block;
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  background: #16302a;
}
.bh-widget .bh-pm-card img {
  width: 100% !important;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform .45s ease;
}
/* varied crop heights for the masonry rhythm (6-card pattern) */
.bh-pm-masonry .bh-pm-card:nth-child(6n+1) img { aspect-ratio: 4 / 5; }
.bh-pm-masonry .bh-pm-card:nth-child(6n+2) img { aspect-ratio: 3 / 2; }
.bh-pm-masonry .bh-pm-card:nth-child(6n+3) img { aspect-ratio: 1 / 1; }
.bh-pm-masonry .bh-pm-card:nth-child(6n+4) img { aspect-ratio: 1 / 1; }
.bh-pm-masonry .bh-pm-card:nth-child(6n+5) img { aspect-ratio: 3 / 2; }
.bh-pm-masonry .bh-pm-card:nth-child(6n)   img { aspect-ratio: 4 / 5; }

.bh-pm-card:hover img { transform: scale(1.045); }

.bh-pm-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 10px;
  padding: 22px;
  background: linear-gradient(to top, rgba(22,48,42,.92) 0%, rgba(22,48,42,.55) 34%, rgba(22,48,42,0) 62%);
  opacity: 0;
  transition: opacity .3s ease;
}
.bh-pm-card:hover .bh-pm-overlay { opacity: 1; }

.bh-widget .bh-pm-name {
  color: #fff;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -.01em;
  transform: translateY(6px);
  transition: transform .3s ease;
}
.bh-pm-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: #16302a;
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  transform: translateY(6px);
  transition: transform .3s ease, background .15s;
}
.bh-pm-card:hover .bh-pm-name, .bh-pm-card:hover .bh-pm-btn { transform: translateY(0); }
.bh-pm-btn:hover { background: #f0efeb; }

@media (hover: none) {
  .bh-pm-overlay { opacity: 1; }
  .bh-pm-name, .bh-pm-btn { transform: none; }
}

/* bottom band: wide 2-column card + square card */
.bh-pm-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 0;
}
.bh-pm-bottom .bh-pm-card { margin-bottom: 0; }
.bh-pm-wide { grid-column: span 2; min-height: 100%; }
.bh-widget .bh-pm-square img { aspect-ratio: 1 / 1; }
.bh-widget .bh-pm-wide img { height: 100% !important; position: absolute; inset: 0; }
@media (max-width: 620px) {
  .bh-pm-bottom { grid-template-columns: 1fr; }
  .bh-pm-wide { grid-column: auto; }
  .bh-widget .bh-pm-wide img { position: static; aspect-ratio: 3 / 2; height: auto !important; }
}

/* ── v2.2.3 — uniform masonry gaps ──
   CSS multicol truncates margins at column breaks, which made vertical
   gaps uneven and let the tallest tile touch the bottom band. Spacing
   now lives INSIDE an unbreakable cell (padding survives breaks). */
.bh-pm-cell {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  padding-bottom: 14px;
}
.bh-pm-cell .bh-pm-card { margin-bottom: 0; }
.bh-pm-bottom { margin-top: 0; }

/* v2.2.4 — Work With Burgtec: gradient + copy moved to the TOP */
.bh-path-card-img::before {
  background: linear-gradient(to bottom, rgba(22,48,42,.92) 0%, rgba(22,48,42,.5) 45%, rgba(22,48,42,.08) 75%) !important;
}
.bh-widget .bh-path-card-img { justify-content: flex-start !important; }
