body.product-layout.blog-listing-page .product-inner-main {
  background: #ffffff;
}

body.product-layout.inner-page main.blog-page > .blog-layout {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 12px 0 96px;
}

.blog-section-heading {
  padding: 0;
  border-bottom: 1px solid var(--product-line, #d8dee3);
}

.blog-topic-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  min-height: 38px;
}

.blog-topic-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0;
  color: var(--product-muted, #5b6770);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.blog-topic-nav a + a {
  padding-left: 30px;
}

.blog-topic-nav a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--product-line, #d8dee3);
}

.blog-topic-nav a:hover,
.blog-topic-nav a[aria-current="page"] {
  color: var(--product-text, #1c252c);
}

.blog-posts {
  display: grid;
  gap: 0;
}

.post-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  column-gap: 30px;
  align-items: start;
  padding: 28px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--product-line, #d8dee3);
}

a.post-card {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.post-card:hover h3 {
  text-decoration: underline;
  text-underline-offset: 5px;
}

a.post-card:focus-visible {
  outline: 2px solid var(--product-dark, #111820);
  outline-offset: 4px;
}

.post-card.hidden {
  display: none;
}

.post-card img {
  grid-column: 1;
  grid-row: 1 / span 5;
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #f7f8f9;
  filter: saturate(0.85);
}

.post-card > :not(img) {
  grid-column: 2;
}

.post-card.featured-post {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.82fr);
  column-gap: 44px;
  align-items: stretch;
  margin-top: 28px;
  padding: 0;
  background: #f7f8f9;
  border: 1px solid var(--product-line, #d8dee3);
}

.post-card.featured-post img {
  height: 100%;
  min-height: 430px;
  object-fit: contain;
  padding: 28px;
  background: #ffffff;
}

.post-card.featured-post > :not(img) {
  grid-column: 2;
  margin-left: 0;
  margin-right: 36px;
}

.post-card.featured-post .post-meta {
  margin-top: 42px;
}

.post-meta {
  margin: 0;
  color: var(--product-muted, #5b6770);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-flag {
  display: inline-flex;
  margin-right: 8px;
  padding: 4px 7px;
  color: #ffffff;
  background: var(--product-dark, #111820);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.post-card h3 {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--product-text, #1c252c);
  font-family: var(--font-sans);
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.16;
  letter-spacing: -0.026em;
}

.post-card.featured-post h3 {
  margin-top: 18px;
  margin-right: 36px;
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.044em;
}

.post-card p:not(.post-meta) {
  max-width: 720px;
  margin: 12px 0 0;
  color: #3f474e;
  font-size: 17px;
  line-height: 1.55;
}

.post-card.featured-post p:not(.post-meta) {
  margin-top: 18px;
  margin-right: 36px;
  font-size: 19px;
}

.blog-recent-heading {
  margin-top: 58px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--product-line, #d8dee3);
}

body.product-layout.inner-page main.blog-page .blog-recent-heading h2 {
  margin: 0;
  color: var(--product-text, #1c252c);
  font-family: var(--font-sans);
  font-size: 30px;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.empty-posts {
  padding: 24px;
  color: var(--product-muted, #5b6770);
  background: #f7f8f9;
  border: 1px dashed var(--product-line, #d8dee3);
}

@media (max-width: 920px) {
  body.product-layout.inner-page main.blog-page > .blog-layout {
    width: calc(100% - 32px);
    padding-top: 42px;
  }

  .blog-topic-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .blog-topic-nav a {
    flex: 0 0 auto;
    min-width: max-content;
  }

  .post-card,
  .post-card.featured-post {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .post-card img,
  .post-card.featured-post img,
  .post-card > :not(img),
  .post-card.featured-post > :not(img) {
    grid-column: 1;
  }

  .post-card img,
  .post-card.featured-post img {
    grid-row: auto;
    height: 230px;
    min-height: 0;
    padding: 18px;
  }

  .post-card.featured-post {
    margin-top: 28px;
  }

  .post-card > :not(img),
  .post-card.featured-post > :not(img) {
    margin-left: 0;
    margin-right: 0;
  }

  .post-card.featured-post .post-meta,
  .post-card .post-meta {
    margin-top: 22px;
  }

  .post-card.featured-post h3 {
    margin-right: 0;
    font-size: 30px;
  }

  .post-card.featured-post p:not(.post-meta) {
    margin-right: 0;
    font-size: 17px;
  }

  .post-card.featured-post .post-meta,
  .post-card.featured-post h3,
  .post-card.featured-post p {
    margin-left: 24px;
    margin-right: 24px;
  }
}
