/* BBK: blog article contents only; all other visual changes rolled back */

/* Article reading width and generated table of contents. */
.bbk-article-anchor-heading {
  scroll-margin-top: 120px;
}

.bbk-article-toc-shell {
  width: calc(100% - 40px);
  max-width: 780px;
  margin: 26px auto 42px;
}

.bbk-article-toc {
  padding: 22px 26px;
  border: 1px solid rgba(216, 164, 98, 0.55);
  border-radius: 24px;
  background: #f7f9f9;
  color: #173f36;
}

.bbk-article-toc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
}

.bbk-article-toc summary::-webkit-details-marker {
  display: none;
}

.bbk-article-toc summary::after {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: '';
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.bbk-article-toc details[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.bbk-article-toc-list {
  margin: 18px 0 0;
  padding-left: 24px;
}

.bbk-article-toc-list li {
  padding-left: 4px;
  break-inside: avoid;
  font-size: 16px;
  line-height: 1.45;
}

.bbk-article-toc-list li + li {
  margin-top: 9px;
}

.bbk-article-toc-list .bbk-toc-level-3 {
  margin-left: 18px;
}

.bbk-article-toc-list a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
}

.bbk-article-toc-list a:hover {
  text-decoration: underline;
}

.bbk-article-toc-list a:focus-visible,
.bbk-article-toc summary:focus-visible {
  outline: 2px solid #d8a462;
  outline-offset: 4px;
  border-radius: 4px;
}


@media screen and (min-width: 981px) {
  .bbk-article-toc-long .bbk-article-toc-list {
    column-count: 2;
    column-gap: 42px;
  }
}

@media screen and (max-width: 680px) {
  .bbk-article-toc-shell {
    width: calc(100% - 40px);
    margin-top: 20px;
    margin-bottom: 32px;
  }

  .bbk-article-toc {
    padding: 18px 20px;
    border-radius: 18px;
  }

  .bbk-article-toc summary {
    font-size: 18px;
  }

  .bbk-article-toc-list {
    padding-left: 20px;
  }

  .bbk-article-toc-list li {
    font-size: 15px;
  }

  .bbk-article-toc-list .bbk-toc-level-3 {
    margin-left: 0;
  }
}


/* BBK: mobile header menu fallback */
@media screen and (max-width: 980px) {
  html.bbk-mobile-global-header #t-header .t396__artboard[data-artboard-pos="fixed"] {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: none !important;
  }

  .t396__artboard[data-artboard-pos="fixed"] img[src*="Menu.svg"],
  .t396__artboard[data-artboard-pos="fixed"] img[src*="Group_427.svg"] {
    height: auto !important;
  }
}


/* BBK: mobile header click target */
@media screen and (max-width: 980px) {
  html.bbk-mobile-global-header #t-header .t396__artboard[data-artboard-pos="fixed"] .t396__filter,
  html.bbk-mobile-global-header #t-header .t396__artboard[data-artboard-pos="fixed"] .t396__carrier {
    pointer-events: none !important;
  }

  html.bbk-mobile-global-header #t-header .t396__artboard[data-artboard-pos="fixed"] a[href="#menu"] {
    position: relative !important;
    z-index: 5 !important;
    pointer-events: auto !important;
  }
}


/* BBK: global header fallback for detached Tilda headers */
html.bbk-mobile-global-header #t-header .t396__artboard[data-artboard-pos="fixed"] {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

html.bbk-mobile-global-header #t-header .t396__artboard[data-artboard-pos="fixed"] .t396__filter,
html.bbk-mobile-global-header #t-header .t396__artboard[data-artboard-pos="fixed"] .t396__carrier {
  pointer-events: none !important;
}

html.bbk-mobile-global-header-gap #allrecords {
  margin-top: 100px !important;
}

@media screen and (max-width: 980px) {
  html.bbk-mobile-global-header-gap #allrecords {
    margin-top: 80px !important;
  }
}


/* BBK: clickable restored global navigation and visible breadcrumbs */
html.bbk-mobile-global-header #t-header .t396__artboard[data-artboard-pos="fixed"] a[href],
html.bbk-mobile-global-header #t-header .t396__artboard[data-artboard-pos="fixed"] a[href] * {
  pointer-events: auto !important;
}

.article-breadcrumb {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* BBK: targeted image proportions and responsive blocks */
#rec803153218 .tn-atom__img,
#rec804027579 .tn-atom__img,
#rec804040209 .tn-atom__img {
  height: auto !important;
  object-fit: contain !important;
}

/* Compact the case-card SVGs without squeezing their content. */
#rec829154056 .t396__elem[data-elem-type="image"] {
  display: block !important;
  height: 500px !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  box-shadow: inset 0 -2px 0 #adc2bc;
}
#rec829154056 .t396__elem[data-elem-type="image"] > .tn-atom {
  display: block !important;
  height: 100% !important;
  overflow: hidden !important;
  border-radius: inherit !important;
}
#rec829154056 .t396__elem[data-elem-type="image"] img {
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  object-fit: initial !important;
  object-position: top left !important;
}
@media screen and (min-width: 1200px) {
  #rec829154056 .t396__artboard, #rec829154056 .t396__carrier, #rec829154056 .t396__filter { height: 540px !important; }
  #rec829154056 .t396__elem[data-elem-type="image"] { height: 500px !important; }
}
@media screen and (min-width: 640px) and (max-width: 1199px) {
  #rec829154056 .t396__artboard, #rec829154056 .t396__carrier, #rec829154056 .t396__filter { height: 443px !important; }
  #rec829154056 .t396__elem[data-elem-type="image"] { height: 403px !important; }
}
@media screen and (min-width: 370px) and (max-width: 639px) {
  #rec829154056 .t396__artboard, #rec829154056 .t396__carrier, #rec829154056 .t396__filter { height: 332px !important; }
  #rec829154056 .t396__elem[data-elem-type="image"] { height: 292px !important; }
}
@media screen and (max-width: 369px) {
  #rec829154056 .t396__artboard, #rec829154056 .t396__carrier, #rec829154056 .t396__filter { height: 288px !important; }
  #rec829154056 .t396__elem[data-elem-type="image"] { height: 248px !important; }
}

/* Reflow the four homepage benefit cards at the missing 640–959 breakpoint. */
@media screen and (min-width: 641px) and (max-width: 959px) {
  #rec803153218 .t396__artboard, #rec803153218 .t396__carrier, #rec803153218 .t396__filter { height: 1000px !important; }
  #rec803153218 [data-elem-id="1727299061951"],
  #rec803153218 [data-elem-id="1727300738593"],
  #rec803153218 [data-elem-id="1727300737153"],
  #rec803153218 [data-elem-id="1727300735623"] { left: calc(50% - 282.5px) !important; width: 565px !important; height: 225px !important; display: block !important; }
  #rec803153218 [data-elem-id="1727299061951"] > .tn-atom,
  #rec803153218 [data-elem-id="1727300738593"] > .tn-atom,
  #rec803153218 [data-elem-id="1727300737153"] > .tn-atom,
  #rec803153218 [data-elem-id="1727300735623"] > .tn-atom { display: block !important; width: 100% !important; height: 100% !important; }
  #rec803153218 [data-elem-id="1727299061951"] { top: 20px !important; }
  #rec803153218 [data-elem-id="1727300738593"] { top: 265px !important; }
  #rec803153218 [data-elem-id="1727300737153"] { top: 510px !important; }
  #rec803153218 [data-elem-id="1727300735623"] { top: 755px !important; }
  #rec803153218 [data-elem-id="1727300269968"],
  #rec803153218 [data-elem-id="1727301109532"],
  #rec803153218 [data-elem-id="1727301108721"],
  #rec803153218 [data-elem-id="1727301107896"],
  #rec803153218 [data-elem-id="1727300268690"],
  #rec803153218 [data-elem-id="1727301348908"],
  #rec803153218 [data-elem-id="1727301348007"],
  #rec803153218 [data-elem-id="1727301347167"] { left: calc(50% - 162.5px) !important; width: 405px !important; }
  #rec803153218 [data-elem-id="1727300269968"] { top: 59px !important; }
  #rec803153218 [data-elem-id="1727301109532"] { top: 305px !important; }
  #rec803153218 [data-elem-id="1727301108721"] { top: 550px !important; }
  #rec803153218 [data-elem-id="1727301107896"] { top: 795px !important; }
  #rec803153218 [data-elem-id="1727300268690"] { top: 132px !important; }
  #rec803153218 [data-elem-id="1727301348908"] { top: 377px !important; }
  #rec803153218 [data-elem-id="1727301348007"] { top: 622px !important; }
  #rec803153218 [data-elem-id="1727301347167"] { top: 867px !important; }
  #rec803153218 [data-elem-id="1727303368624"],
  #rec803153218 [data-elem-id="1727303367470"],
  #rec803153218 [data-elem-id="1727303366254"],
  #rec803153218 [data-elem-id="1727303362327"] { left: calc(50% - 252.5px) !important; }
  #rec803153218 [data-elem-id="1727303368624"] { top: 59px !important; }
  #rec803153218 [data-elem-id="1727303367470"] { top: 305px !important; }
  #rec803153218 [data-elem-id="1727303366254"] { top: 550px !important; }
  #rec803153218 [data-elem-id="1727303362327"] { top: 795px !important; }
  #rec803153218 [data-elem-id="1727730650663"] { display: none !important; }
}

/* BBK: compact company hero (rec805108504 only) */
#rec805108504 {
  --bbk-company-hero-height: 560px;
}

#rec805108504 .t396__artboard,
#rec805108504 .t396__carrier,
#rec805108504 .t396__filter {
  height: var(--bbk-company-hero-height) !important;
  min-height: 0 !important;
}

#rec805108504 [data-elem-id="1727722497110"] {
  top: 0 !important;
  height: 100% !important;
}

#rec805108504 [data-elem-id="1727722651158"] {
  top: auto !important;
  bottom: 32px !important;
  height: auto !important;
}

#rec805108504 [data-elem-id="1727722651158"] h1 {
  line-height: 1.2 !important;
}

@media screen and (min-width: 1600px) {
  #rec805108504 {
    --bbk-company-hero-height: 600px;
  }
}

@media screen and (max-width: 1199px) {
  #rec805108504 {
    --bbk-company-hero-height: 500px;
  }

  #rec805108504 [data-elem-id="1727722497110"] {
    top: 80px !important;
    height: calc(100% - 80px) !important;
  }
}

@media screen and (max-width: 639px) {
  #rec805108504 {
    --bbk-company-hero-height: 480px;
  }

  #rec805108504 [data-elem-id="1727722497110"] {
    top: 70px !important;
    height: calc(100% - 70px) !important;
  }

  #rec805108504 [data-elem-id="1727722651158"] {
    left: 20px !important;
    width: calc(100% - 40px) !important;
    bottom: 24px !important;
  }
}
