:root {
  --pxm-post-ink: #090909;
  --pxm-post-muted: rgba(0, 0, 0, 0.58);
  --pxm-post-soft: #f4f4f4;
  --pxm-post-line: rgba(0, 0, 0, 0.12);
  --pxm-post-header-space: 5.5rem;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body.pxm-post-page {
  margin: 0;
  background: #ffffff;
  color: var(--pxm-post-ink);
  font-family: 'Google Sans Flex', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

#header-container {
  width: 100%;
  position: relative;
  z-index: 999;
}

.pxm-post-page-main {
  width: 100%;
  padding-top: 0;
}

.pxm-post-wrapper {
  width: 100%;
  padding: calc(var(--pxm-post-header-space) + clamp(2rem, 4vw, 4rem)) clamp(1rem, 3vw, 2.75rem) clamp(4rem, 8vw, 7rem);
  background: #ffffff;
}

.pxm-post-container {
  width: 100%;
  max-width: min(100%, 1700px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2vw, 2.5rem);
}

.pxm-post-hero {
  grid-column: 1 / span 5;
  position: sticky;
  top: calc(var(--pxm-post-header-space) + 1.5rem);
  align-self: start;
  min-height: calc(100vh - var(--pxm-post-header-space) - 3rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-right: clamp(0rem, 2vw, 2rem);
}

.pxm-post-main {
  grid-column: 7 / span 6;
  min-width: 0;
}

.pxm-post-breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pxm-post-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(0, 0, 0, 0.62);
  text-decoration: none;
  font-size: clamp(0.84rem, 0.4vw + 0.75rem, 1rem);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.pxm-post-back::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 0.34rem solid transparent;
  border-bottom: 0.34rem solid transparent;
  border-right: 0.52rem solid currentColor;
}

.pxm-post-back:hover,
.pxm-post-back:focus-visible {
  color: #000000;
}

.pxm-post-title {
  margin: clamp(1.6rem, 4vw, 4rem) 0 clamp(1.2rem, 2.6vw, 2rem);
  max-width: 13ch;
  font-family: inherit;
  font-size: clamp(2.2rem, 4.3vw, 4.9rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

.pxm-post-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  color: var(--pxm-post-muted);
  font-size: clamp(0.9rem, 0.35vw + 0.82rem, 1.05rem);
  font-weight: 500;
}

.pxm-post-author-link {
  color: inherit;
  text-decoration: none;
}

.pxm-post-author-link:hover,
.pxm-post-author-link:focus-visible {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.pxm-post-share {
  display: grid;
  gap: 0.8rem;
}

.pxm-post-share__label,
.pxm-post-author__label,
.pxm-post-author__role {
  color: rgba(0, 0, 0, 0.48);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pxm-post-share__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pxm-post-share__links a,
.pxm-post-author__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.46rem 0.8rem;
  background: var(--pxm-post-soft);
  color: rgba(0, 0, 0, 0.68);
  border: 0;
  border-radius: 0;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.pxm-post-share__links a:hover,
.pxm-post-share__links a:focus-visible,
.pxm-post-author__link:hover,
.pxm-post-author__link:focus-visible {
  background: #000000;
  color: #ffffff;
}

.pxm-post-featured-media {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  border-radius: 0.65rem;
  background: #ececec;
}

.pxm-post-featured-media img,
.pxm-post-content figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.pxm-post-content {
  margin-top: clamp(2rem, 4vw, 4rem);
  color: rgba(0, 0, 0, 0.76);
  font-size: clamp(1.05rem, 0.45vw + 0.92rem, 1.28rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
}

.pxm-post-content p {
  margin: 0 0 1.25em;
}

.pxm-post-content strong {
  color: #000000;
  font-weight: 600;
}

.pxm-post-content h2 {
  margin: clamp(2.6rem, 5vw, 4.6rem) 0 0.75em;
  color: #000000;
  font-family: inherit;
  font-size: clamp(1.7rem, 1.6vw, 2.65rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

.pxm-post-content ul {
  margin: 0 0 1.5em;
  padding-left: 1.2em;
}

.pxm-post-content li {
  margin: 0 0 0.7em;
}

.pxm-post-content a {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.pxm-post-content figure {
  margin: clamp(2.2rem, 4vw, 3.5rem) 0;
  overflow: hidden;
  border-radius: 0.65rem;
  background: #ececec;
}

.pxm-post-content figure img {
  aspect-ratio: 3 / 2;
}

.pxm-post-content blockquote {
  margin: clamp(2.4rem, 4vw, 3.5rem) 0;
  padding: 0 0 0 clamp(1rem, 2vw, 1.5rem);
  border-left: 2px solid #000000;
  color: #000000;
  font-size: clamp(1.35rem, 1.2vw, 2rem);
  font-weight: 500;
  line-height: 1.18;
}

.pxm-post-separator {
  width: 100%;
  height: 1px;
  margin: clamp(3rem, 6vw, 5rem) 0 clamp(1.25rem, 2vw, 1.75rem);
  border: 0;
  background: var(--pxm-post-line);
}

.pxm-post-author {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pxm-post-author__image {
  width: clamp(4rem, 6vw, 5.5rem);
  aspect-ratio: 1;
  border-radius: 999px;
  overflow: hidden;
  background: #ececec;
  flex: none;
}

.pxm-post-author__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.pxm-post-author__info {
  min-width: 0;
  display: grid;
  gap: 0.35rem;
}

.pxm-post-author__name {
  color: #000000;
  font-size: clamp(1rem, 0.45vw + 0.9rem, 1.2rem);
  font-weight: 600;
  line-height: 1.1;
}

.pxm-post-author__link {
  justify-self: start;
  margin-top: 0.35rem;
}

@media (max-width: 1024px) {
  .pxm-post-container {
    grid-template-columns: 1fr;
    row-gap: clamp(2rem, 5vw, 4rem);
  }

  .pxm-post-hero,
  .pxm-post-main {
    grid-column: 1;
  }

  .pxm-post-hero {
    position: static;
    min-height: 0;
    gap: 2.5rem;
    padding-right: 0;
  }

  .pxm-post-title {
    max-width: 15ch;
  }
}

@media (max-width: 768px) {
  :root {
    --pxm-post-header-space: 4.9rem;
  }

  .pxm-post-wrapper {
    padding: calc(var(--pxm-post-header-space) + 1.4rem) 0.9rem 4rem;
  }

  .pxm-post-title {
    margin-top: 2.2rem;
    font-size: clamp(2.15rem, 10vw, 3.4rem);
  }

  .pxm-post-featured-media {
    aspect-ratio: 1 / 0.95;
    border-radius: 0.5rem;
  }

  .pxm-post-content {
    font-size: clamp(1rem, 4vw, 1.16rem);
    line-height: 1.5;
  }

  .pxm-post-share__links a,
  .pxm-post-author__link {
    min-height: 2.3rem;
    padding-inline: 0.9rem;
  }

  .pxm-post-author {
    align-items: flex-start;
  }
}
