@import url("./posts.css?v=35");

.portfolio-post .masthead .logo {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.portfolio-post .cp-post-layout,
.portfolio-post .cp-post-layout:has(.cp-post-related) {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.portfolio-post .wp-page,
.portfolio-post .cp-post-related {
  width: 100%;
  min-width: 0;
  max-width: 48rem;
  margin-inline: auto;
}

.portfolio-post article.wp-page h1 {
  color: #f3f3f0;
  font: 900 clamp(2.45rem, 6.8vw, 5.5rem)/.98 var(--post-display);
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
}

.portfolio-post .wp-page .wp-meta,
.portfolio-post .cp-portfolio-byline {
  color: var(--muted);
  font: 600 .9rem/1.55 'DM Sans', Arial, sans-serif;
}

.portfolio-post .wp-page .entry-content {
  color: #dedee0;
  font: clamp(1.05rem, 1.8vw, 1.2rem)/1.75 'DM Sans', Arial, sans-serif;
  overflow-wrap: anywhere;
}

.portfolio-post .entry-content :is(h2, h3, h4) {
  font: 800 clamp(1.55rem, 3.6vw, 2.5rem)/1.1 var(--post-display);
}

.portfolio-post .entry-content :is(img, video, iframe) {
  max-width: 100%;
}

.portfolio-post .entry-content img {
  height: auto;
}

.portfolio-post .entry-content .wp-block-table {
  overflow-x: auto;
}

.portfolio-post .entry-content a:any-link {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: .24em;
}
