/*
 * Blog index + post templates, measured off intellihost.co's Framer pages at
 * its three breakpoints: desktop >= 1200, tablet 810-1199, phone < 810.
 * Shared by marketing/blog/index and marketing/blog/show.
 */

@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/rubik-400.woff2') format('woff2'); }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/rubik-500.woff2') format('woff2'); }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/blog-rubik-700.woff2') format('woff2'); }
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/blog-rubik-800.woff2') format('woff2'); }
@font-face { font-family: 'Rubik'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/blog-rubik-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Rubik'; font-style: italic; font-weight: 500; font-display: swap; src: url('../fonts/blog-rubik-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Rubik'; font-style: italic; font-weight: 700; font-display: swap; src: url('../fonts/blog-rubik-700-italic.woff2') format('woff2'); }
/* Framer's blog pages load only Fontshare's Jakarta 800 (the layout's Google
   sheet would otherwise win, and its line box is 12px shorter). Declared last,
   so it takes precedence for this weight. */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/plus-jakarta-sans-800.woff2') format('woff2'); }
@font-face { font-family: 'Satoshi'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/satoshi-700.woff2') format('woff2'); }

.bl-page, .bl-page * { box-sizing: border-box; }
/* Framer's text boxes are white-space: pre-wrap, so a wrapped line keeps its
   trailing space inside the line box. */
.bl-hero h1, .bl-hero p, .bl-card-date, .bl-card-title, .bl-pill, .bl-cta-h, .bl-cta-p,
.bp-head h1, .bp-date, .bp-prose p, .bp-prose li, .bp-prose h2, .bp-prose h3, .bp-prose h4, .bp-prose h5,
.bp-latest-h, .bp-latest-sub, .bp-seeall, .bl-load { white-space: pre-wrap; }

/* ---------- Post card (index grid and the post carousel) ---------- */
.bl-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px;
  width: 100%; padding: 24px; border-radius: 32px; background: #F9FAFB;
  overflow: hidden; text-decoration: none; cursor: pointer;
}
.bl-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border: 1px solid rgba(15, 38, 28, .08); border-radius: 32px;
}
.bl-card--white { background: #fff; }
.bl-card-img { position: relative; width: 100%; aspect-ratio: 336 / 314; border-radius: 20px; overflow: hidden; }
.bl-card-img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.bl-card-body { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; width: 100%; }
.bl-card-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; }
.bl-card-row { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 24px; }
.bl-card-date {
  margin: 0; font-family: 'Rubik', sans-serif; font-size: 14px; font-weight: 500;
  line-height: 16.8px; letter-spacing: -.28px; color: #173657;
}
.bl-arrow { position: relative; flex-shrink: 0; width: 24px; height: 24px; overflow: hidden; }
.bl-arrow svg { position: absolute; display: block; width: 24px; height: 24px; transition: transform .25s ease; }
.bl-arrow svg + svg { transform: translate(-24px, 24px); }
.bl-card:hover .bl-arrow svg:first-child, .bl-cta-btn:hover .bl-arrow svg:first-child { transform: translate(24px, -24px); }
.bl-card:hover .bl-arrow svg + svg, .bl-cta-btn:hover .bl-arrow svg + svg { transform: none; }
.bl-card-title {
  margin: 0; max-width: 400px; font-family: 'Satoshi', sans-serif; font-size: 24px; font-weight: 700;
  line-height: 26.4px; letter-spacing: -.96px; color: #173657;
}
.bl-card-more { display: flex; align-items: center; width: 100%; }
.bl-card-more--none { height: 0; overflow: hidden; }
.bl-pill {
  display: flex; align-items: center; justify-content: center; padding: 8px 12px;
  border-radius: 24px; background: #173657;
  font-family: 'Rubik', sans-serif; font-size: 14px; font-weight: 500; line-height: 16.8px;
  letter-spacing: -.28px; color: #fff; text-align: center;
}

/* ---------- CTA band ---------- */
.bl-cta-sec { display: flex; justify-content: center; padding: 100px 16px; overflow: hidden; }
.bl-cta-sec--white { background: #fff; }
.bl-cta {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 42px;
  width: 1200px; max-width: 100%; height: 500px; padding: 24px; border-radius: 32px; overflow: hidden;
  background: radial-gradient(88% 88% at 100% 100%, rgb(20, 47, 86) 0%, rgb(13, 28, 43) 100%);
}
.bl-cta-text { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; }
.bl-cta-tag {
  position: relative; flex-shrink: 0; padding: 8px 24px; border-radius: 100px;
  background: rgba(88, 176, 224, .29); white-space: nowrap;
}
.bl-cta-tag::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border: 1px solid rgba(15, 38, 28, .08); border-radius: 100px;
}
.bl-cta-tag p {
  margin: 0; font-family: 'Rubik', sans-serif; font-size: 14px; font-weight: 500; line-height: 16.8px;
  letter-spacing: -.28px; color: rgba(255, 255, 255, .75); text-align: center; white-space: pre;
}
.bl-cta-tag em { font-style: italic; }
.bl-cta-h {
  width: 100%; margin: 0; font-family: 'Poppins', sans-serif; font-weight: 600; text-align: center;
  font-size: 48px; line-height: 52.8px; letter-spacing: -1.92px; color: #58B0E0;
}
.bl-cta-h .w { color: #F9FAFB; }
.bl-cta-h--t, .bl-cta-h--m { display: none; color: #F9FAFB; }
.bl-cta-h .b { color: #58B0E0; }
.bl-cta-h .w2 { color: #fff; }
.bl-cta-p {
  width: 100%; margin: 0; font-family: 'Rubik', sans-serif; font-size: 18px; font-weight: 400;
  line-height: 21.6px; letter-spacing: -.36px; color: rgba(255, 255, 255, .75); text-align: center;
}
.bl-cta-p b { font-weight: 700; }
.bl-cta-p--m { display: none; }
.bl-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0;
  height: 56px; padding: 16px 24px; border-radius: 10px; background: #FF914D; text-decoration: none;
  font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 500; line-height: 19.2px;
  letter-spacing: -.32px; color: #F9FAFB;
}

/* ---------- Blog index ---------- */
.bl-hero {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 180px 16px 100px; background: #F9FAFB; overflow: hidden; text-align: center;
}
.bl-hero h1 {
  width: 100%; margin: 0; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
  font-size: 60px; line-height: 66px; letter-spacing: -2.4px; color: #173657;
}
.bl-hero p {
  width: 600px; max-width: 100%; margin: 0; font-family: 'Rubik', sans-serif; font-weight: 400;
  font-size: 18px; line-height: 21.6px; letter-spacing: -.36px; color: rgba(23, 54, 87, .75);
}
.bl-list { display: flex; justify-content: center; padding: 100px 16px; background: #fff; overflow: hidden; }
.bl-grid {
  position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  align-items: start; width: 1200px; max-width: 100%; padding-bottom: 80px;
}
.bl-grid > .is-more { display: none; }
.bl-load {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center; width: 158px; height: 56px;
  margin: 0; padding: 0; border: 0; border-radius: 16px; background: #fff; cursor: pointer;
  font-family: 'Rubik', sans-serif; font-size: 18px; font-weight: 400; line-height: 21.6px;
  letter-spacing: -.36px; color: rgb(15, 38, 28);
}
.bl-load[hidden] { display: none; }

/* ---------- Blog post ---------- */
.bp-top {
  display: flex; flex-direction: column; align-items: center; gap: 42px;
  padding: 180px 16px 100px; background: #F9FAFB; overflow: hidden;
  box-shadow: inset 0 -1px 0 rgba(15, 38, 28, .08);
}
.bp-head { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; padding-top: 16px; }
.bp-head h1 {
  width: 750px; max-width: 100%; margin: 0; text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
  font-size: 60px; line-height: 66px; letter-spacing: -2.4px; color: #173657;
}
.bp-date {
  width: 600px; max-width: 100%; margin: 0; text-align: center;
  font-family: 'Rubik', sans-serif; font-weight: 400; font-size: 18px; line-height: 21.6px;
  letter-spacing: -.36px; color: rgba(23, 54, 87, .75);
}
.bp-body { display: flex; flex-direction: column; gap: 80px; width: 1200px; max-width: 100%; overflow: hidden; }
.bp-hero { display: flex; align-items: center; width: 100%; aspect-ratio: 1200 / 730; border-radius: 32px; }
.bp-hero img { display: block; width: 100%; height: auto; border-radius: 32px; }
.bp-prose-wrap { display: flex; justify-content: center; padding: 32px; overflow: hidden; }
.bp-prose {
  --bp-fs: 18px; --bp-lh: 21.6px; --bp-ls: -.36px;
  width: 800px; max-width: 100%;
  font-family: 'Rubik', sans-serif; font-weight: 400; font-size: var(--bp-fs); line-height: var(--bp-lh);
  letter-spacing: var(--bp-ls); color: rgba(23, 54, 87, .75); overflow-wrap: break-word;
}
.bp-prose * { margin: 0; }
/* Framer's paragraph spacing: 20px above any paragraph and 40px above any
   heading that is not the first thing in its box; lists and images get none. */
.bp-prose p:not(:first-child) { margin-top: 20px; }
.bp-prose h2:not(:first-child), .bp-prose h3:not(:first-child), .bp-prose h4:not(:first-child), .bp-prose h5:not(:first-child) { margin-top: 40px; }
.bp-prose li > ul:not(:first-child), .bp-prose li > ol:not(:first-child) { margin-top: 20px; }
.bp-prose li > ul:nth-child(2), .bp-prose li > ol:nth-child(2) { margin-top: 0; }
.bp-prose strong, .bp-prose b { font-weight: 800; }
.bp-prose em, .bp-prose i { font-style: italic; }
/* Framer's bold-italic cut is 700, not the 800 upright bold. */
.bp-prose em strong, .bp-prose strong em, .bp-prose em b, .bp-prose b em { font-weight: 700; }
/* Paragraphs keep the body style even inside a heading-styled list item. */
.bp-prose p {
  font-family: 'Rubik', sans-serif; font-weight: 400; color: rgba(23, 54, 87, .75);
  font-size: var(--bp-fs); line-height: var(--bp-lh); letter-spacing: var(--bp-ls);
}
.bp-prose a { color: #58B0E0; text-decoration: none; }
.bp-prose ul, .bp-prose ol { position: relative; padding: 0; list-style: none; }
.bp-prose li { padding-inline-start: 2ch; }
.bp-prose ul > li::before { content: "2"; position: absolute; inset-inline-start: 0; }
.bp-prose ol > li::before { content: counter(list-item) "."; font-variant-numeric: tabular-nums; position: absolute; inset-inline-start: 0; }
.bp-prose img { display: block; max-width: 100%; height: auto; }
/* A list item takes the style of the block it wraps, marker included. */
.bp-prose li[data-preset-tag="h4"] { font-family: 'Satoshi', sans-serif; font-weight: 700; color: #173657; font-size: 32px; line-height: 35.2px; letter-spacing: -1.28px; }
.bp-prose li[data-preset-tag="h5"] { font-family: 'Poppins', sans-serif; font-weight: 400; color: #173657; font-size: 28px; line-height: 30.8px; letter-spacing: -1.12px; }
.bp-prose h2 {
  font-family: 'Satoshi', sans-serif; font-weight: 700; text-align: center; color: #173657;
  font-size: 68px; line-height: 74.8px; letter-spacing: -2.72px;
}
.bp-prose h3 {
  font-family: 'Poppins', sans-serif; font-weight: 600; text-align: left; color: #173657;
  font-size: 48px; line-height: 52.8px; letter-spacing: -1.92px;
}
.bp-prose h4 {
  font-family: 'Satoshi', sans-serif; font-weight: 700; text-align: left; color: #173657;
  font-size: 32px; line-height: 35.2px; letter-spacing: -1.28px;
}
.bp-prose h5 {
  font-family: 'Poppins', sans-serif; font-weight: 400; text-align: left; color: #173657;
  font-size: 28px; line-height: 30.8px; letter-spacing: -1.12px;
}

.bp-latest { display: flex; justify-content: center; padding: 100px 0; background: #F9FAFB; overflow: hidden; }
.bp-latest-in { display: flex; flex-direction: column; align-items: center; gap: 42px; width: 1200px; max-width: 100%; }
.bp-latest-head { display: flex; flex-direction: column; gap: 16px; width: 100%; padding: 0 20px; text-align: center; }
.bp-latest-h {
  margin: 0; font-family: 'Poppins', sans-serif; font-weight: 600; color: #58B0E0;
  font-size: 48px; line-height: 52.8px; letter-spacing: -1.92px;
}
.bp-latest-h span { color: rgb(15, 38, 28); }
.bp-latest-sub {
  margin: 0; font-family: 'Poppins', sans-serif; font-weight: 400; color: rgba(15, 38, 28, .75);
  font-size: 28px; line-height: 30.8px; letter-spacing: -1.12px;
}
.bp-carousel { position: relative; display: flex; width: 100%; overflow: hidden; }
.bp-track {
  display: flex; align-items: center; width: 100%; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 12.5%, #000 87.5%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 12.5%, #000 87.5%, transparent 100%);
}
.bp-track::-webkit-scrollbar { display: none; }
.bp-track[data-pos="mid"] {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12.5%, #000 87.5%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 12.5%, #000 87.5%, transparent 100%);
}
.bp-track[data-pos="end"] {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12.5%, #000 87.5%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 12.5%, #000 87.5%, #000 100%);
}
.bp-slide {
  display: flex; justify-content: center; flex-shrink: 0; width: 33.333333%; padding: 0 8px;
  scroll-snap-align: center; scroll-snap-stop: always;
}
.bp-slide:first-child { padding: 0 8px 0 16px; }
.bp-slide:last-child { padding: 0 16px; }
.bp-nav {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between;
  padding: 20px; pointer-events: none;
}
.bp-nav button {
  display: block; width: 40px; height: 40px; margin: 0; padding: 0; border: 0; border-radius: 40px;
  background: rgba(15, 38, 28, .75); overflow: hidden; cursor: pointer; pointer-events: auto;
  transition: opacity .2s ease;
}
.bp-nav button[data-off="true"] { opacity: 0; pointer-events: none; cursor: default; }
.bp-nav svg { display: block; width: 40px; height: 40px; }
.bp-seeall {
  position: relative; display: flex; align-items: center; justify-content: center; height: 56px;
  padding: 16px 24px; border-radius: 10px; background: #fff; text-decoration: none;
  font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 500; line-height: 19.2px;
  letter-spacing: -.32px; color: #173657;
}
.bp-seeall::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border: 1px solid rgba(15, 38, 28, .08); border-radius: 10px;
}

/* ---------- Tablet: 810-1199 ---------- */
@media (max-width: 1199px) {
  .bl-card-title { font-size: 18px; line-height: 19.8px; letter-spacing: -.72px; }

  .bl-cta-sec { padding: 50px 16px; }
  .bl-cta { height: 380px; padding: 24px 24px 40px; gap: 0; }
  .bl-cta-text { padding: 19px 0; gap: 18px; }
  .bl-cta-h--d { display: none; }
  .bl-cta-h--t { display: block; font-size: 40px; line-height: 44px; letter-spacing: -1.6px; }

  .bl-hero { padding: 180px 16px 50px; }
  .bl-hero h1 { font-size: 32px; line-height: 35.2px; letter-spacing: -1.28px; }
  .bl-hero p { font-size: 16px; line-height: 19.2px; letter-spacing: -.32px; }
  .bl-list { padding: 50px 16px; }
  .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bl-load { font-size: 16px; line-height: 19.2px; letter-spacing: -.32px; }

  .bp-top { padding: 180px 16px 50px; }
  .bp-head h1 { font-size: 32px; line-height: 35.2px; letter-spacing: -1.28px; }
  .bp-date { font-size: 16px; line-height: 19.2px; letter-spacing: -.32px; }
  .bp-prose { --bp-fs: 16px; --bp-lh: 19.2px; --bp-ls: -.32px; }
  .bp-prose h2 { font-size: 48px; line-height: 52.8px; letter-spacing: -1.92px; }
  .bp-prose h3 { font-size: 38px; line-height: 41.8px; letter-spacing: -1.52px; }
  .bp-prose h4, .bp-prose li[data-preset-tag="h4"] { font-size: 28px; line-height: 30.8px; letter-spacing: -1.12px; }
  .bp-prose h5, .bp-prose li[data-preset-tag="h5"] { font-size: 20px; line-height: 22px; letter-spacing: -.8px; }
  .bp-latest { padding: 50px 0; }
  .bp-latest-in { width: 100%; }
  .bp-latest-head { padding: 0 16px; }
  .bp-latest-h { font-size: 38px; line-height: 41.8px; letter-spacing: -1.52px; }
  .bp-latest-sub { font-size: 20px; line-height: 22px; letter-spacing: -.8px; }
  .bp-slide { width: 47.6%; }
}

/* ---------- Phone: < 810 ---------- */
@media (max-width: 809px) {
  .bl-cta { height: 364px; padding: 24px; gap: 30px; }
  .bl-cta-text { padding: 0; gap: 16px; }
  .bl-cta-h--t { display: none; }
  .bl-cta-p--dt { display: none; }
  .bl-cta-p--m { display: block; }
  .bl-cta-h--m { display: block; white-space: pre-wrap; font-size: 24px; line-height: 26.4px; letter-spacing: -.96px; }

  .bl-hero { padding: 108px 16px 50px; }
  .bl-hero h1 { line-height: 33.92px; letter-spacing: -.96px; }
  .bl-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }

  .bp-top { padding: 108px 16px 50px; }
  .bp-head h1 { line-height: 33.92px; letter-spacing: -.96px; }
  .bp-body { gap: 32px; }
  .bp-hero { aspect-ratio: auto; height: 346px; }
  .bp-hero img { height: 100%; object-fit: cover; }
  .bp-prose-wrap { padding: 0 24px; }
  .bp-prose h2 { font-size: 40px; line-height: 44px; letter-spacing: -1.6px; }
  .bp-prose h3 { font-size: 28px; line-height: 33.6px; letter-spacing: -1.12px; }
  .bp-prose h4, .bp-prose li[data-preset-tag="h4"] { font-size: 24px; line-height: 26.4px; letter-spacing: -.96px; }
  .bp-prose h5, .bp-prose li[data-preset-tag="h5"] { font-size: 18px; line-height: 21.6px; letter-spacing: -.72px; }
  .bp-latest-in { gap: 24px; }
  .bp-latest-h { font-size: 28px; line-height: 33.6px; letter-spacing: -1.12px; }
  .bp-latest-sub { font-size: 18px; line-height: 21.6px; letter-spacing: -.72px; }
  .bp-slide { width: 90.909091%; }
}
