body.product-layout.blog-post-page {
  background: #ffffff;
}

.post-main {
  background: #ffffff;
}

.post-topic-heading {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 12px;
  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);
}

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

.post-header {
  display: grid;
  gap: 12px;
  align-items: start;
  padding: 16px 0 22px;
  border-bottom: 1px solid var(--product-line, #d8dee3);
}

.post-header .post-meta {
  margin: 0;
}

.post-header h1 {
  max-width: none;
  margin: 0;
  color: var(--product-text, #1c252c);
  font-family: var(--font-sans);
  font-size: clamp(27px, 2.35vw, 32px);
  line-height: 1.06;
  letter-spacing: -0.032em;
}

.post-meta {
  color: #5f6468;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-brief {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) minmax(0, 1fr);
  column-gap: 48px;
  margin-top: 24px;
  padding: 28px 32px;
  background: #ffffff;
  border: 1px solid var(--product-line, #d8dee3);
  border-top: 4px solid #111820;
}

.post-brief-label {
  margin: 3px 0 0;
  color: #5f6468;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-brief-dek {
  max-width: 880px;
  margin: 0;
  color: #3f474e;
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0;
}

.post-brief-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 26px;
  border-top: 1px solid var(--product-line, #d8dee3);
}

.post-brief-grid > div {
  padding: 20px 22px 0 0;
  border-right: 1px solid var(--product-line, #d8dee3);
}

.post-brief-grid > div + div {
  padding-left: 22px;
}

.post-brief-grid > div:last-child {
  border-right: 0;
}

.post-brief-grid span {
  display: block;
  margin-bottom: 18px;
  color: #8a9299;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.post-brief-grid strong {
  display: block;
  color: var(--product-text, #1c252c);
  font-size: 17px;
  line-height: 1.25;
}

.post-brief-grid p {
  margin: 8px 0 0;
  color: #4b555d;
  font-size: 14px;
  line-height: 1.48;
}

.post-content {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) minmax(0, 760px);
  column-gap: 48px;
  padding-top: 56px;
}

.post-content > * {
  grid-column: 2;
}

.post-content::before {
  content: attr(data-section-label);
  grid-column: 1;
  grid-row: 1 / span 16;
  align-self: start;
  position: sticky;
  top: 112px;
  color: #5f6468;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-content:not([data-section-label])::before {
  content: "Article";
}

.post-content.no-section-label::before {
  content: none;
}

.post-content.no-section-label {
  grid-template-columns: minmax(0, 1fr);
  width: min(960px, 100%);
  margin: 0 auto;
  column-gap: 0;
}

.post-content.no-section-label > * {
  grid-column: 1;
}

.post-content > h2 {
  margin: 46px 0 14px;
  color: var(--product-text, #1c252c);
  font-family: var(--font-sans);
  font-size: 30px;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.post-content > h2:first-child {
  margin-top: 0;
}

.post-content p,
.post-content li {
  color: #3f474e;
  font-size: 18px;
  line-height: 1.72;
}

.post-content p {
  margin: 0 0 20px;
}

.post-content .post-lede {
  color: var(--product-text, #1c252c);
  font-size: 20px;
  line-height: 1.62;
}

.post-content ul,
.post-content ol {
  margin: 0 0 22px;
  padding-left: 24px;
}

.post-content li + li {
  margin-top: 10px;
}

.post-content strong {
  color: var(--product-text, #1c252c);
}

.post-author {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) minmax(0, 760px);
  column-gap: 48px;
  margin-top: 56px;
  padding: 28px 0;
  border-top: 1px solid var(--product-line, #d8dee3);
  border-bottom: 1px solid var(--product-line, #d8dee3);
}

.post-author > * {
  grid-column: 2;
}

.post-author-label {
  grid-column: 1;
  grid-row: 1 / span 3;
  margin: 0;
  color: #5f6468;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-author-name {
  margin: 0 0 8px;
  color: var(--product-text, #1c252c);
  font-size: 20px;
  font-weight: 800;
}

.post-author p:last-child {
  margin: 0;
  color: #485057;
  font-size: 16px;
  line-height: 1.55;
}

.post-next {
  display: flex;
  width: min(760px, 100%);
  margin: 34px 0 0 auto;
  padding: 24px 28px;
  background: #111820;
  border: 1px solid #111820;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.post-next:hover {
  background: #ffffff;
  color: #111820;
  text-decoration: none;
}

@media (max-width: 820px) {
  .post-topic-heading {
    width: calc(100% - 32px);
    padding-top: 10px;
  }

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

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

  body.product-layout.inner-page .post-main > .post-wrap {
    width: calc(100% - 32px);
    padding-top: 32px;
  }

  .post-header,
  .post-brief,
  .post-content,
  .post-author {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .post-content > *,
  .post-author > *,
  .post-author-label,
  .post-content::before {
    grid-column: 1;
  }

  .post-content::before {
    position: static;
    grid-row: auto;
    margin-bottom: 18px;
  }

  .post-author-label {
    grid-row: auto;
    margin-bottom: 10px;
  }

  .post-header h1 {
    margin-top: 14px;
    font-size: 28px;
  }

  .post-header {
    padding: 24px;
  }

  .post-brief {
    padding: 24px;
  }

  .post-brief-label {
    margin-bottom: 12px;
  }

  .post-brief-grid {
    grid-template-columns: 1fr;
  }

  .post-brief-grid > div,
  .post-brief-grid > div + div {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--product-line, #d8dee3);
  }

  .post-brief-grid > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .post-content p,
  .post-content li {
    font-size: 17px;
  }

  .post-next {
    width: 100%;
  }
}
