.bgt-blog-hero {
  --bgt-blog-overlay: rgba(0, 18, 43, .20);
  --bgt-blog-vignette: rgba(0, 25, 62, .98);
  --bgt-blog-vignette-width: 58%;
  --bgt-blog-decor-color: rgba(72, 160, 207, .22);
  position: relative;
  display: flex;
  width: 100%;
  /* v52: compact inner-page hero. Existing saved 680px settings are safely capped. */
  height: min(var(--bgt-blog-hero-height, 300px), 300px);
  min-height: 0 !important;
  max-height: 300px;
  overflow: hidden;
  isolation: isolate;
  background-color: #06253a;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.bgt-blog-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--bgt-blog-overlay);
}

.bgt-blog-hero--vignette .bgt-blog-hero__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--bgt-blog-vignette) 0%,
    rgba(0, 24, 45, .92) 24%,
    rgba(0, 24, 45, .68) 42%,
    rgba(0, 24, 45, .20) var(--bgt-blog-vignette-width),
    rgba(0, 24, 45, 0) 84%
  );
}

.bgt-blog-hero__container {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 1340px;
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  padding: 26px 0;
}

.bgt-blog-hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 520px;
}

.bgt-blog-hero__title,
.bgt-blog-hero .bgt-blog-hero__title {
  margin: 0 0 18px;
  padding: 0;
  color: #fff;
  font-family: inherit;
  font-size: 76px;
  line-height: .98;
  font-weight: 700;
  letter-spacing: -2px;
  text-transform: none;
}

.bgt-blog-hero__accent {
  display: block;
  width: 54px;
  height: 4px;
  margin: 0 0 26px;
  border-radius: 999px;
  background: #38c83d;
}

.bgt-blog-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: #fff;
  font-family: inherit;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 400;
}

.bgt-blog-hero__breadcrumb-link,
.bgt-blog-hero__breadcrumb-current,
.bgt-blog-hero__breadcrumb-separator {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.bgt-blog-hero__breadcrumb-link {
  color: #fff;
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}

.bgt-blog-hero__breadcrumb-link:hover,
.bgt-blog-hero__breadcrumb-link:focus-visible {
  color: #9be25c;
}

.bgt-blog-hero__breadcrumb-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}

.bgt-blog-hero__breadcrumb-link--text {
  cursor: default;
}

.bgt-blog-hero__breadcrumb-current {
  color: #fff;
}

.bgt-blog-hero__breadcrumb-separator {
  color: #38c83d;
  font-weight: 600;
}

.bgt-blog-hero__decoration {
  position: absolute;
  z-index: 1;
  left: -10px;
  bottom: -8px;
  width: 760px;
  height: 520px;
  opacity: .7;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 66%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 66%, transparent 100%);
  background-image:
    radial-gradient(circle, var(--bgt-blog-decor-color) 1.1px, transparent 1.35px),
    linear-gradient(var(--bgt-blog-decor-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--bgt-blog-decor-color) 1px, transparent 1px);
  background-size: 9px 9px, 100px 100px, 100px 100px;
  background-position: 74px 84px, 0 0, 0 0;
}

.bgt-blog-hero__decoration::before,
.bgt-blog-hero__decoration::after {
  content: "";
  position: absolute;
  border: 1px solid var(--bgt-blog-decor-color);
  opacity: .65;
}

.bgt-blog-hero__decoration::before {
  left: 70px;
  top: 56px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(0,0,0,0), inset 0 0 0 34px rgba(0,0,0,0);
}

.bgt-blog-hero__decoration::after {
  left: 98px;
  top: 84px;
  width: 62px;
  height: 62px;
  transform: rotate(45deg);
}

/* v2026.65: desktop/laptop inner content follows the exact same left/right
   alignment model as the already-correct FAQ hero. Background remains full width. */
@media (min-width: 1025px) {
  .bgt-blog-hero__container {
    max-width: 1340px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (min-width: 1025px) and (max-width: 1390px) {
  .bgt-blog-hero__container {
    max-width: calc(100% - 56px) !important;
  }
}

@media (max-width: 1024px) {
  .bgt-blog-hero {
    height: min(var(--bgt-blog-hero-height, 270px), 300px);
    min-height: 0 !important;
    max-height: 300px;
  }

  .bgt-blog-hero__container {
    max-width: 100%;
    padding: 24px 30px;
  }

  .bgt-blog-hero__title,
  .bgt-blog-hero .bgt-blog-hero__title {
    font-size: clamp(56px, 7vw, 64px);
  }

  .bgt-blog-hero--vignette .bgt-blog-hero__overlay::after {
    background: linear-gradient(90deg, var(--bgt-blog-vignette) 0%, rgba(0, 24, 45, .87) 38%, rgba(0, 24, 45, .18) 80%, transparent 100%);
  }
}

@media (max-width: 767px) {
  .bgt-blog-hero {
    height: min(var(--bgt-blog-hero-height, 230px), 300px);
    min-height: 0 !important;
    max-height: 300px;
    background-position: 64% center;
  }

  .bgt-blog-hero__container {
    padding: 20px 20px;
  }

  .bgt-blog-hero__content {
    max-width: 100%;
  }

  .bgt-blog-hero__title,
  .bgt-blog-hero .bgt-blog-hero__title {
    margin-bottom: 18px;
    font-size: clamp(44px, 13vw, 52px);
    line-height: 1.02;
    letter-spacing: -1.5px;
  }

  .bgt-blog-hero__accent {
    width: 50px;
    height: 3px;
    margin-bottom: 20px;
  }

  .bgt-blog-hero__breadcrumb {
    gap: 8px;
    font-size: 20px;
  }

  .bgt-blog-hero--vignette .bgt-blog-hero__overlay::after {
    background: linear-gradient(90deg, var(--bgt-blog-vignette) 0%, rgba(0, 24, 45, .86) 60%, rgba(0, 24, 45, .50) 100%);
  }

  .bgt-blog-hero__decoration {
    opacity: .42;
  }
}
