.blog-page main {
  min-height: 70vh;
}

.blog-page h1,
.blog-page h2,
.blog-page h3 {
  font-family: "Syne", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.blog-wrap {
  width: min(100%, calc(var(--fam-max) + 2 * var(--fam-gutter)));
  margin: 0 auto;
  padding-inline: var(--fam-gutter);
}

.blog-preview-banner {
  padding: 11px var(--fam-gutter);
  background: #fff1cf;
  color: #49360c;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-align: center;
}

.blog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 28px;
  color: var(--fam-muted);
  font-size: 13px;
}

.blog-breadcrumb a:hover,
.blog-breadcrumb a:focus-visible {
  color: var(--fam-blue);
  text-decoration: underline;
}

.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: clamp(30px, 6vw, 110px);
  align-items: end;
  padding-top: clamp(74px, 9vw, 140px);
  padding-bottom: clamp(70px, 9vw, 130px);
}

.blog-hero h1,
.blog-article-header h1 {
  max-width: 990px;
  margin: 20px 0 26px;
  font-size: clamp(52px, 6.5vw, 102px);
  line-height: 0.99;
}

.blog-hero p:not(.section-code),
.blog-article-header .blog-lede {
  max-width: 680px;
  margin: 0;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.45;
}

.blog-hero .blog-hero-aside {
  padding: 25px 0 8px 25px;
  border-left: 1px solid var(--fam-line);
  color: var(--fam-muted);
  font-size: 15px;
}

.blog-hero-aside strong {
  display: block;
  margin-bottom: 13px;
  color: var(--fam-blue);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-listing {
  padding-block: 66px 110px;
  border-top: 1px solid var(--fam-line);
}

.blog-listing-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 44px;
}

.blog-listing-head h2 {
  max-width: 650px;
  margin: 16px 0 0;
  font-size: clamp(35px, 4vw, 62px);
  line-height: 1.03;
}

.blog-listing-head > p {
  max-width: 330px;
  margin: 0;
  color: var(--fam-muted);
}

.blog-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--fam-line);
  background: white;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.blog-card:hover,
.blog-card:focus-within {
  transform: translateY(-2px);
  border-color: var(--fam-blue);
}

.blog-card .blog-card-top,
.blog-kicker,
.blog-meta {
  color: var(--fam-blue);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.blog-card h3 {
  max-width: 870px;
  margin: 18px 0 14px;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.1;
}

.blog-card p {
  max-width: 700px;
  margin: 0;
  color: var(--fam-muted);
  font-size: 16px;
}

.blog-card .blog-card-arrow {
  align-self: start;
  color: var(--fam-blue);
  font-size: 29px;
}

.blog-article-header {
  max-width: 1080px;
  padding-top: clamp(68px, 8vw, 128px);
  padding-bottom: 56px;
}

.blog-article-header h1 {
  font-size: clamp(49px, 5.9vw, 86px);
}

.blog-article-header .blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 25px;
  margin-top: 32px;
  color: var(--fam-muted);
}

.blog-rule {
  border: 0;
  border-top: 1px solid var(--fam-line);
}

.blog-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(210px, 280px);
  gap: clamp(45px, 7vw, 135px);
  align-items: start;
  padding-top: 70px;
  padding-bottom: 115px;
}

.blog-body {
  font-size: 18px;
  line-height: 1.78;
}

.blog-body > p:first-child {
  font-size: 22px;
  line-height: 1.55;
}

.blog-body h2 {
  margin: 55px 0 15px;
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.15;
}

.blog-body h3 {
  margin: 32px 0 12px;
  font-size: 25px;
  line-height: 1.2;
}

.blog-body p,
.blog-body ul,
.blog-body ol {
  margin: 0 0 20px;
}

.blog-body ul,
.blog-body ol {
  padding-left: 27px;
}

.blog-body li {
  padding-left: 5px;
  margin-bottom: 10px;
}

.blog-body a {
  color: var(--fam-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-callout {
  margin: 35px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--fam-blue);
  background: var(--fam-blue-pale);
  font-size: 17px;
}

.blog-callout p:last-child {
  margin-bottom: 0;
}

.blog-outline {
  position: sticky;
  top: 100px;
  padding: 24px 0 24px 25px;
  border-left: 1px solid var(--fam-line);
}

.blog-outline h2 {
  margin: 0 0 18px;
  color: var(--fam-blue);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-outline a {
  display: block;
  padding: 7px 0;
  color: var(--fam-muted);
  font-size: 13px;
}

.blog-outline a:hover,
.blog-outline a:focus-visible {
  color: var(--fam-blue);
  text-decoration: underline;
}

.blog-end-cta {
  padding-block: 60px 90px;
  border-top: 1px solid var(--fam-line);
}

.blog-end-cta h2 {
  max-width: 850px;
  margin: 16px 0 18px;
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1.05;
}

.blog-end-cta p:not(.section-code) {
  max-width: 620px;
  margin: 0 0 26px;
  color: var(--fam-muted);
}

@media (max-width: 850px) {
  .blog-hero,
  .blog-article-grid {
    grid-template-columns: 1fr;
  }
  .blog-hero .blog-hero-aside {
    max-width: 530px;
  }
  .blog-outline {
    position: static;
    order: -1;
    padding-top: 0;
  }
}

@media (max-width: 560px) {
  .blog-listing-head {
    display: block;
  }
  .blog-listing-head > p {
    margin-top: 20px;
  }
  .blog-card {
    grid-template-columns: 1fr;
  }
  .blog-card .blog-card-arrow {
    display: none;
  }
  .blog-article-grid {
    padding-top: 42px;
  }
}
/* Use FAM's approved 369 symbol in the new blog preview header. */
.blog-page .brand-mark {
  display: block;
  object-fit: contain;
  background: transparent;
}
