body.post-body {
  scroll-snap-type: none;
  background: var(--pantone-8245c);
}

*::selection {
  background: #fff !important;
  background-color: rgb(255 255 255 / 1) !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  text-shadow: none;
}

*::-moz-selection {
  background: #fff !important;
  background-color: rgb(255 255 255 / 1) !important;
  color: #000 !important;
  text-shadow: none;
}

.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--pantone-8245c, #3a777a);
  z-index: 10040;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}

main.post-page {
  scroll-snap-type: none;
  min-height: 100vh;
  padding: clamp(6rem, 12vh, 8rem) clamp(1.5rem, 6vw, 5rem) 6rem;
  display: flex;
  justify-content: center;
}

.post-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  padding: 1.5rem 2.25rem 1rem;
  background: transparent;
  z-index: 10;
}

.site-brand-link {
  color: #fff;
  text-decoration: none;
}

.post-article {
  width: min(780px, 100%);
  background: rgba(11, 11, 11, 0.12);
  border-radius: 24px;
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-head);
  margin-bottom: 1.25rem;
}

.post-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.post-hero {
  margin: 0 0 2rem;
}

.post-hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  object-fit: cover;
}

.post-content {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

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

.post-content h2,
.post-content h3,
.post-content h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: #fff;
  margin: 2rem 0 1rem;
  letter-spacing: 0.02em;
}

.post-content ul,
.post-content ol {
  margin: 0 0 1.5rem 1.5rem;
  padding: 0;
}

.post-content li {
  margin-bottom: 0.6rem;
}

.post-content a {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.post-content blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-style: italic;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

@media (max-width: 768px) {
  .post-header {
    padding: 1.25rem 1.5rem 0.75rem;
  }

  .nav-links {
    gap: 0.6rem;
  }

  .nav-link {
    font-size: var(--nav-link-size-mobile);
    letter-spacing: var(--nav-link-letter-spacing-mobile);
    padding: 0.35rem 0.5rem;
  }

  .post-article {
    border-radius: 18px;
  }
}

@media (max-width: 540px) {
  .post-header {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .post-header .nav-links {
    flex-wrap: nowrap;
  }
}
