.page--blog {
  --blog-gutter: var(--space-page-gutter);
  --blog-column-gap: var(--space-case-study-column-gap);
  --blog-content-width: min(760px, calc(100vw - (var(--blog-gutter) * 2)));
  --small: var(--type-size-body-small);
  --base: var(--type-size-body);
}

.page--blog .page {
  overflow: visible;
}

.page--blog .page-hero--blog-template {
  display: flex;
  align-items: flex-end;
  min-height: 42vh;
  padding-bottom: var(--blog-gutter);
}

.page--blog-archive .page-hero--blog-template {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 0;
  padding: var(--pad) var(--blog-gutter) 72px;
}

.page--blog .page-hero--blog-template > .page-hero__copy,
.page--blog .page-hero--blog-template > .page-hero__media {
  flex: 0 0 50%;
  width: 50%;
  min-width: 0;
  min-height: 0;
}

.page--blog .page-hero--blog-template > .page-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0;
  height: min(72vh, 760px);
  padding: var(--pad) var(--pad) 0;
}

.page--blog-archive .page-hero--blog-template > .page-hero__copy {
  width: 100%;
  height: auto;
  padding: 0;
}

.page--blog-archive .page-hero__identity:empty {
  display: none;
}

.page--blog .page-hero--blog-template > .page-hero__media {
  height: min(72vh, 760px);
  padding: 0 var(--blog-gutter) 0 calc(var(--blog-gutter) / 2);
}

.page--blog-archive .page-hero--blog-template > .page-hero__media {
  display: none;
}

.page--blog .page-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--soft);
}

.page--blog .page-hero__lead {
  display: grid;
  align-content: start;
  gap: 22px;
}

.page--blog .page-hero__identity {
  display: grid;
  gap: 6px;
}

.page--blog .page-hero__title-label {
  max-width: var(--measure-editorial-heading);
  color: var(--ink);
  font-size: var(--type-size-section-heading);
  font-family: var(--font-family-display);
  font-weight: var(--type-weight-wordmark);
  font-stretch: var(--type-stretch-wordmark);
  line-height: var(--type-line-wordmark);
  text-transform: uppercase;
}

.page--blog .page-hero__location,
.page--blog .page-hero__location a {
  color: var(--muted);
  font-size: var(--tiny);
  font-family: var(--font-family-ui);
  font-weight: var(--type-weight-section-label);
  font-stretch: var(--type-stretch-section-label);
  line-height: var(--type-line-section-label);
  text-transform: none;
}

.page--blog .page-hero__tags,
.page--blog .blog-hero__links {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.page--blog .page-hero__tags a,
.page--blog .blog-hero__links a {
  color: var(--muted);
  font-size: var(--tiny);
  font-family: var(--font-family-ui);
  font-weight: var(--type-weight-section-label);
  font-stretch: var(--type-stretch-section-label);
  line-height: var(--type-line-section-label);
  text-transform: none;
}

.page--blog .page-hero__tags a:hover,
.page--blog .page-hero__tags a.is-current,
.page--blog .blog-hero__links a:hover,
.page--blog .blog-hero__links a.is-current {
  color: var(--ink);
}

.page--blog .page-hero__intro {
  display: grid;
  align-content: end;
  gap: var(--space-stack-gap);
  min-height: 0;
}

.page--blog h1 {
  max-width: 20ch;
  font-size: var(--type-size-section-heading);
  font-family: var(--font-family-display);
  font-weight: 400;
  font-stretch: var(--type-stretch-wordmark);
  line-height: var(--type-line-wordmark);
  text-transform: uppercase;
  white-space: normal;
}

.page--blog .page-hero__summary {
  max-width: 34rem;
  color: var(--muted);
  font-size: var(--type-size-copy-support);
}

.blog-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--blog-column-gap);
  padding: 0 var(--blog-gutter) var(--space-section-pad-y);
  align-items: start;
}

.blog-list,
.blog-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--blog-column-gap);
}

.blog-card {
  display: grid;
  gap: 14px;
  align-content: start;
}

.blog-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft);
}

.blog-card__media img,
.blog-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-card__media img {
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card__media:hover img {
  transform: scale(1.025);
}

.blog-card__placeholder {
  background: var(--soft);
}

.blog-card__copy {
  display: grid;
  gap: 10px;
  align-content: start;
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: var(--tiny);
  font-family: var(--font-family-ui);
  line-height: 1.35;
}

.blog-card__meta span + span::before {
  content: "|";
  margin-right: 8px;
  color: var(--line);
}

.blog-card__title {
  max-width: none;
  margin: 0;
  font-size: var(--type-size-title-default);
  font-family: var(--font-family-display);
  font-weight: var(--type-weight-title);
  font-stretch: var(--type-stretch-title);
  line-height: var(--type-line-title);
  text-transform: uppercase;
}

.blog-card__title a {
  color: inherit;
}

.page--blog-archive .blog-card__title {
  max-width: var(--measure-editorial-heading);
}

.blog-card__excerpt {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
  font-size: var(--type-size-copy-support);
}

.blog-card__link {
  width: fit-content;
  color: var(--muted);
  border-bottom: 1px solid currentColor;
  font-size: var(--type-size-link-utility);
  line-height: 1.35;
  text-transform: uppercase;
  transition: color 0.16s ease;
}

.blog-card__link:hover {
  color: var(--ink);
}

.blog-side {
  position: -webkit-sticky;
  position: sticky;
  top: calc(88px + var(--blog-gutter));
  display: grid;
  gap: 34px;
  width: min(100%, 320px);
  justify-self: end;
  padding-top: 2px;
  text-align: left;
  align-self: start;
}

.blog-side__group {
  display: grid;
  gap: 10px;
}

.blog-side__group h2 {
  margin: 0;
  color: var(--ink);
  font-size: var(--type-size-copy-support);
  font-family: var(--font-family-display);
  font-weight: 500;
  font-stretch: var(--type-stretch-title);
  line-height: 1.2;
  text-transform: uppercase;
}

.blog-side__group a {
  width: fit-content;
  color: var(--muted);
  font-size: var(--type-size-copy-support);
  line-height: 1.3;
}

.blog-side__group a:hover,
.blog-side__group a.is-current {
  color: var(--ink);
}

.pagination--blog {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0 var(--blog-gutter) var(--space-section-pad-y);
}

.pagination--blog .page-numbers {
  display: inline-flex;
  min-width: 28px;
  justify-content: center;
  align-items: center;
  padding: 6px 0;
  color: var(--muted);
  font-size: var(--type-size-copy-support);
  border-bottom: 1px solid transparent;
}

.pagination--blog .current {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.blog-article {
  display: grid;
  gap: calc(var(--space-section-pad-y) * 0.7);
  padding: 0;
}

.blog-featured-image {
  width: 100%;
  margin: 0 0 var(--space-section-pad-y);
  background: var(--soft);
}

.blog-featured-image img {
  display: block;
  width: 100%;
  height: auto;
}

.blog-main {
  display: grid;
  gap: 36px;
  min-width: 0;
}

.blog-article-header {
  display: grid;
  gap: var(--space-stack-gap);
}

.blog-article-header h1 {
  max-width: none;
  margin: 0;
  font-size: var(--type-size-blog-title);
  font-weight: var(--type-weight-blog-title);
  font-stretch: var(--type-stretch-blog-title);
  line-height: var(--type-line-blog-title);
}

.blog-article-header p {
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: var(--type-size-copy-support);
}

.blog-content-block {
  width: 100%;
}

.blog-rich-text {
  width: var(--blog-content-width);
  margin: 0 auto;
  color: var(--ink);
  font-size: var(--type-size-body);
  line-height: var(--type-line-body);
}

.blog-shell--single .blog-rich-text,
.blog-shell--single .blog-media,
.blog-shell--single .blog-gallery,
.blog-shell--single .blog-split {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

.blog-rich-text > * + *,
.blog-rich-text .fusion-text > * + * {
  margin-top: 1.05em;
}

.blog-rich-text p,
.blog-rich-text li {
  color: var(--muted);
}

.blog-rich-text h2,
.blog-rich-text h3,
.blog-rich-text h4 {
  max-width: none;
  margin-bottom: 0.6em;
  color: var(--ink);
  font-family: var(--font-family-display);
  font-weight: var(--type-weight-title);
  font-stretch: var(--type-stretch-title);
  line-height: var(--type-line-title);
  text-transform: uppercase;
}

.blog-rich-text h2 {
  font-size: var(--type-size-blog-content-heading);
  font-weight: var(--type-weight-blog-content-heading);
}

.blog-rich-text h3 {
  font-size: var(--type-size-blog-content-subheading);
  font-weight: var(--type-weight-blog-content-subheading);
}

.blog-rich-text h4 {
  font-size: var(--type-size-body);
}

.blog-rich-text a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.blog-rich-text ul,
.blog-rich-text ol {
  margin: 1.1em 0 0;
  padding-left: 1.2em;
}

.blog-rich-text blockquote {
  margin: 1.5em 0;
  padding-left: 1em;
  max-width: none;
  border-left: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-family-display);
  font-size: var(--type-size-title-default);
  line-height: var(--type-line-title);
  text-transform: uppercase;
}

.blog-media {
  display: grid;
  gap: 10px;
  width: calc(100% - (var(--blog-gutter) * 2));
  margin: 0 auto;
}

.blog-media img,
.blog-media video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--soft);
}

.blog-media--video video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-media figcaption {
  color: var(--muted);
  font-size: var(--tiny);
  line-height: 1.35;
}

.blog-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--blog-column-gap);
  width: calc(100% - (var(--blog-gutter) * 2));
  margin: 0 auto;
}

.blog-gallery .blog-media {
  width: 100%;
}

.blog-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--blog-column-gap);
  width: calc(100% - (var(--blog-gutter) * 2));
  margin: 0 auto;
  align-items: start;
}

.blog-split--media-right .blog-split__media {
  order: 2;
}

.blog-split__copy,
.blog-split .blog-media {
  width: 100%;
  margin: 0;
}

.blog-rich-text--legacy {
  display: grid;
  gap: 1.1em;
}

.blog-rich-text--legacy .fusion-fullwidth,
.blog-rich-text--legacy .fusion-builder-row,
.blog-rich-text--legacy .fusion-layout-column,
.blog-rich-text--legacy .fusion-column-wrapper {
  display: contents;
}

.blog-rich-text--legacy .fusion-text {
  display: block;
}

.blog-rich-text--legacy img,
.blog-rich-text--legacy video {
  display: block;
  max-width: min(100%, calc(100vw - (var(--blog-gutter) * 2)));
  height: auto;
  margin: 1.5em auto;
  background: var(--soft);
}

.blog-rich-text--legacy video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-rich-text--legacy .fusion-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--blog-column-gap);
  margin: 1.5em auto;
}

.blog-rich-text--legacy .fusion-gallery a,
.blog-rich-text--legacy .fusion-gallery img {
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
}

.blog-rich-text--legacy .fusion-gallery img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-related {
  display: grid;
  gap: var(--blog-column-gap);
  padding: var(--space-section-pad-y) var(--blog-gutter) var(--space-section-pad-y);
}

.blog-related .section-label {
  padding: 0;
}

.blog-related__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1080px) {
  .blog-shell {
    grid-template-columns: 1fr;
  }

  .blog-side {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    justify-self: stretch;
  }

  .blog-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .blog-list,
  .blog-gallery,
  .blog-split,
  .blog-related__grid,
  .blog-side,
  .page--blog-archive .page-hero--blog-template {
    grid-template-columns: 1fr;
  }

  .blog-split--media-right .blog-split__media {
    order: 0;
  }
}

@media (max-width: 720px) {
  .page--blog .page-hero--blog-template {
    flex-direction: column;
    align-items: stretch;
  }

  .page--blog .page-hero--blog-template > .page-hero__copy,
  .page--blog .page-hero--blog-template > .page-hero__media {
    width: 100%;
    flex: 0 0 auto;
  }

  .page--blog .page-hero--blog-template > .page-hero__copy {
    height: auto;
    min-height: 52vh;
    padding: var(--pad) var(--blog-gutter) 0;
  }

  .page--blog .page-hero--blog-template > .page-hero__media {
    height: auto;
    min-height: 0;
    padding: var(--pad) var(--blog-gutter) 0;
  }

  .page--blog .page-hero__media img {
    aspect-ratio: 16 / 10;
  }

  .page--blog h1 {
    max-width: none;
  }
}
