/* Blog post detail (/blog/insight/:slug).
   All values are live getComputedStyle measurements (1440/991/768/375). */

.bd-section {
  padding: 60px 0;
}

/* Two-column layout: sidebar 3 : article 5 (live 391.5px/652.5px @1080). */
.bd-grid {
  display: grid;
  grid-template-columns: 3fr 5fr;
  gap: 36px;
  border-bottom: 1px solid #d4d4d4;
}

/* Sidebar --------------------------------------------------------------------- */
.bd-side-top {
  border-bottom: 1px solid #ebebeb;
  margin-bottom: 24px;
}

.bd-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 27 / 14;
  object-fit: cover;
  margin-bottom: 24px;
}

/* 48px = thumbnail 24px + card 24px on live (collapsed here). */
.bd-author {
  margin-top: 48px;
}

.bd-author-head {
  display: flex;
  gap: 16px;
}

.bd-author-photo {
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  background-size: cover;
  background-position: 50% 0;
}

.bd-author-name {
  margin: 10px 0 5px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  color: #161616;
}

.bd-author-role {
  margin: 4px 0 10px;
  font-size: 16px;
  line-height: 1.2;
  color: #7e8181;
}

.bd-author-career {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.3;
  color: #323232;
}

.bd-author-about {
  border-top: 1px solid #000;
  margin: 16px 0;
  padding: 16px 0 12px;
}

.bd-author-blurb {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #323232;
}

.bd-author-phone {
  margin: 16px 0 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  color: #323232;
}

.bd-sticky {
  position: sticky;
  top: 120px;
  margin-bottom: 24px;
}

.bd-side-cta {
  display: flow-root;
}

.bd-side-cta img {
  display: block;
  width: 100%;
  height: auto;
  margin: 20px 0 24px;
}

.bd-side-item {
  border-bottom: 1px solid #ebebeb;
  margin-top: 20px;
  padding-bottom: 20px;
}

.bd-side-item-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.5;
  color: #161616;
  text-decoration: none;
}

.bd-side-item-more {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.3;
  color: #f2542d;
  text-decoration: underline;
}

.bd-side-advisors {
  background-color: #fff;
  margin-top: 24px;
  padding: 16px 0;
}

.bd-side-advisors-title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.24px;
  color: #161616;
}

.bd-side-advisor {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  margin: 0 -8px;
  padding: 14px 8px;
  border-top: 1px solid #ebebeb;
  text-decoration: none;
  transition: background-color 0.2s;
}

.bd-side-advisor:hover {
  background-color: #fafafa;
}

.bd-side-advisor-photo {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.bd-side-advisor-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bd-side-advisor-name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #161616;
}

.bd-side-advisor-role {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.14px;
  color: #7e8181;
}

.bd-side-advisor-career {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: #323232;
}

.bd-side-advisors-more {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ebebeb;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: #f2542d;
  text-decoration: none;
}

/* Article --------------------------------------------------------------------- */
/* 36px = live's 32px breadcrumb margin + 4px h1 margin (separate wrappers
   there prevent the collapse we'd get here). */
.bd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-bottom: 10px;
  margin-bottom: 36px;
  border-bottom: 1px solid #d5d8de;
}

.bd-breadcrumb-home {
  font-size: 13px;
  line-height: 2.3;
  letter-spacing: 1.3px;
  color: #646464;
  text-transform: uppercase;
  text-decoration: none;
}

.bd-breadcrumb-sep,
.bd-breadcrumb-current {
  font-size: 12.8px;
  line-height: 1.3;
  color: #acacac;
}

.bd-title {
  margin: 0 0 26px;
  font-size: clamp(24px, 2.6vw + 13px, 48px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.8px;
  color: #161616;
  word-break: keep-all;
}

.bd-dates {
  display: flex;
  gap: 16px;
  margin: 0;
}

.bd-date-row {
  display: flex;
  gap: 8px;
}

.bd-date-text {
  font-size: 18px;
  line-height: 1.3;
  color: #c5c5c5;
}

/* CTA banners (mobile variants show at ≤479) ---------------------------------- */
.bd-banner-top-m,
.bd-banner-bottom-m,
.bd-banners-mid-m {
  display: none;
}

.bd-banner-top-m img,
.bd-banner-bottom-m img,
.bd-banners-mid-m img,
.bd-banner-bottom img {
  display: block;
  width: 100%;
  height: auto;
}

.bd-banners-mid {
  display: flex;
  gap: 2%;
  margin: 16px 0;
}

.bd-banners-mid a {
  display: block;
  width: 49%;
}

.bd-banners-mid img {
  display: block;
  width: 100%;
  height: auto;
}

.bd-banner-bottom {
  display: block;
}

/* Rich text body (live Webflow measurements). flow-root contains the child
   margins the way live's animation wrappers do — first ul/last p margins
   must not escape the block (banner gaps are exactly 16px from the box). */
.bd-richtext {
  display: flow-root;
  font-size: 18px;
  line-height: 1.6;
  color: #161616;
}

.bd-richtext p {
  margin: 16px 0 28px;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.2px;
  color: #323232;
}

.bd-richtext h2 {
  margin: 48px 0 20.8px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.5px;
  color: #141414;
}

.bd-richtext h3 {
  margin: 30px 0 16px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.5px;
  color: #141414;
}

.bd-richtext ul,
.bd-richtext ol {
  display: flow-root;
  margin: 30px 0 24px;
  padding-left: 32px;
}

.bd-richtext li {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.2px;
  color: #323232;
}

.bd-richtext a {
  color: #f64114;
  line-height: 1.6;
  text-decoration: none;
}

.bd-richtext strong {
  font-weight: 600;
}

.bd-richtext figure {
  max-width: 100%;
  margin: 54px auto 72px;
  text-align: center;
  clear: both;
}

.bd-richtext figure img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.bd-richtext figure.w-richtext-align-fullwidth {
  width: 100%;
  display: block;
}

.bd-richtext figure.w-richtext-figure-type-video > div,
.bd-richtext figure[data-rt-type='video'] > div {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}

.bd-richtext figure.w-richtext-figure-type-video iframe,
.bd-richtext figure[data-rt-type='video'] iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.bd-richtext figcaption {
  margin-top: 5px;
  text-align: center;
}

/* Post w-embed tables carry their own inline styles; keep them fluid and
   contain the table's 16px margins like live. */
.bd-richtext .w-embed {
  display: flow-root;
}

.bd-richtext .w-embed table {
  max-width: 100%;
}

/* Form section ----------------------------------------------------------------- */
.bd-form {
  margin-top: 40px;
}

.bd-form-header {
  margin-bottom: 24px;
}

.bd-form-heading {
  margin: 0 0 4px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  color: #323232;
}

.bd-form-sub {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: #7e8181;
}

/* Related posts ---------------------------------------------------------------- */
.bd-related {
  background-color: #fafafa;
  padding: 60px 0;
}

.bd-related-heading {
  margin: 0;
  font-size: 44px;
  font-weight: 400;
  line-height: 1.3;
  color: #161616;
}

.bd-related-more {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  color: #f2542d;
  text-decoration: none;
}

.bd-related-more img {
  display: block;
}

.bd-related-grid {
  margin-top: 40px;
}

/* Responsive ------------------------------------------------------------------- */
@media (max-width: 991px) {
  .bd-grid {
    grid-template-columns: 1fr;
  }

  .bd-side {
    order: 2;
  }

  .bd-side-lists {
    display: none;
  }

  .bd-sticky {
    position: static;
  }
}

@media (max-width: 479px) {
  .bd-section {
    padding: 40px 0;
  }

  .bd-breadcrumb {
    display: none;
  }

  .bd-title {
    margin-top: 0;
  }

  .bd-dates {
    flex-direction: column;
    gap: 4px;
  }

  .bd-date-text {
    font-size: 16px;
  }

  .bd-banner-top-m {
    display: block;
    margin-top: 16px;
  }

  .bd-banners-mid {
    display: none;
  }

  .bd-banners-mid-m {
    display: block;
    margin: 16px 0;
  }

  .bd-banners-mid-m a {
    display: block;
  }

  .bd-banners-mid-m a + a {
    margin-top: 16px;
  }

  .bd-banner-bottom {
    display: none;
  }

  .bd-banner-bottom-m {
    display: block;
  }

  .bd-richtext h2 {
    font-size: 22px;
    line-height: 1.4;
  }

  .bd-richtext h3 {
    font-size: 19px;
    line-height: 1.4;
  }

  .bd-richtext p {
    font-size: 16px;
  }

  .bd-richtext li {
    font-size: 15px;
    line-height: 1.6;
  }

  .bd-richtext ul,
  .bd-richtext ol {
    padding-left: 20px;
  }

  .bd-related {
    padding: 40px 0;
  }

  .bd-related-heading {
    font-size: 32px;
  }
}
