body.article-page {
  background:
    linear-gradient(rgba(254, 248, 235, 0.96), rgba(254, 248, 235, 0.96)),
    var(--color-surface-cream);
  color: var(--color-text-dark);
}

body.article-page::before,
body.article-page::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body.article-page::before {
  background-image: url('../../assets/textures/paper-overlay-tile.png');
  background-repeat: repeat;
  background-size: 280px 280px;
  opacity: 0.3;
  mix-blend-mode: multiply;
  filter: sepia(0.5) contrast(1.2) brightness(0.84);
}

body.article-page::after {
  background:
    radial-gradient(circle at 14% 20%, rgba(73, 56, 37, 0.06), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(52, 39, 24, 0.045), transparent 22%),
    radial-gradient(circle at 24% 78%, rgba(68, 52, 31, 0.035), transparent 26%),
    linear-gradient(rgba(255, 255, 255, 0.02), rgba(64, 48, 29, 0.03));
  opacity: 0.75;
}

.article-page-view {
  position: relative;
  z-index: 1;
  background: transparent;
}

.article-page-view .post-header {
  border-bottom: 1px solid rgba(74, 52, 32, 0.12);
  background: rgba(254, 248, 235, 0.88);
  backdrop-filter: blur(2px);
}

.article-page-view .post-header-inner,
.article-page-view .post-intro-inner,
.article-page-view .post-content-inner,
.article-page-view .newsletter-inner,
.article-page-view .footer-inner,
.article-page-view .footer-brand-row,
.article-page-view .post-hero-caption {
  width: min(calc(100% - 2rem), 1200px);
  margin: 0 auto;
}

.article-page-view .post-header-inner {
  min-height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.article-page-view .brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #000;
}

.article-page-view .brand-text {
  font-size: 1.5rem;
  line-height: 1;
}

.article-page-view .brand-line {
  display: block;
  width: 100%;
  height: 0.5rem;
  background: var(--color-accent);
}

.article-page-view .nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
}

.article-page-view .nav-list a {
  font-family: 'Inter', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: #000;
  transition: color var(--transition-default);
}

.article-page-view .nav-list a:hover,
.article-page-view .related-articles a:hover,
.article-page-view .footer-main a:hover {
  color: var(--color-accent);
}

.article-page-view .post-intro {
  padding: 4rem 0 2rem;
}

.article-page-view .post-intro-inner {
  width: min(calc(100% - 2rem), 1438px);
}

.article-page-view .post-kicker {
  margin-bottom: 1rem;
  color: var(--color-accent);
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.article-page-view .post-title {
  margin-bottom: 1rem;
  max-width: 15ch;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(3.5rem, 7vw, 5.75rem);
  line-height: 0.89;
  letter-spacing: -0.04em;
}

.article-page-view .post-dek {
  max-width: 75rem;
  margin-bottom: 1.5rem;
  font-family: 'Martel', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.42;
}

.article-page-view .post-meta {
  max-width: 1275px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.article-page-view .post-meta p {
  margin: 0;
}

.article-page-view .post-hero-media {
  margin: 0 0 4rem;
}

.article-page-view .post-hero-media img {
  display: block;
  width: 100%;
  min-height: 24rem;
  object-fit: cover;
}

.article-page-view .post-hero-caption {
  padding: 0.35rem 0 0;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.375;
  color: rgba(49, 47, 47, 0.92);
}

.article-page-view .post-content {
  padding: 2.8rem 0 5.5rem;
}

.article-page-view .post-intro,
.article-page-view .post-content {
  background: transparent;
}

.article-page-view .post-content-inner {
  display: grid;
  grid-template-columns: 760px 1px 295px;
  column-gap: 24px;
  align-items: start;
}

.article-page-view .post-body {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  line-height: 1.444;
}

.article-page-view .post-body p,
.article-page-view .post-body h1,
.article-page-view .post-body h2,
.article-page-view .post-body h3,
.article-page-view .post-body h4 {
  margin: 0 0 1.15rem;
}

.article-page-view .post-body a {
  color: inherit;
  text-decoration: underline;
}

.article-page-view .post-body blockquote {
  margin: 1.5rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--color-accent);
}

.article-page-view .post-body ul,
.article-page-view .post-body ol {
  margin: 0 0 1.15rem 1.25rem;
  padding-left: 1rem;
}

.article-page-view .post-divider {
  min-height: 100%;
  background: rgba(131, 102, 102, 0.32);
}

.article-page-view .post-aside {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding-left: 1px;
}

.article-page-view .pull-quote {
  margin: 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.article-page-view .pull-quote-primary {
  margin-top: 13.5rem;
}

.article-page-view .pull-quote-secondary {
  margin-top: 28rem;
}

.article-page-view .related-articles {
  margin-top: auto;
  padding-top: 14rem;
}

.article-page-view .related-articles h2 {
  margin-bottom: 0.9rem;
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
}

.article-page-view .related-articles ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.article-page-view .related-articles li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.article-page-view .related-articles a {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.25rem;
  line-height: 1.2;
  color: #000;
}

.article-page-view .related-articles time {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.444;
}

.article-page-view .post-footer {
  background: #000;
  color: var(--color-text-light);
}

.article-page-view .newsletter-band {
  background: var(--color-surface-dark);
  padding: 2.25rem 0 2.35rem;
}

.article-page-view .newsletter-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.article-page-view .newsletter-title {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 2.4;
  color: var(--color-text-light);
}

.article-page-view .newsletter-form {
  display: flex;
  gap: 0.75rem;
  width: min(100%, 993px);
}

.article-page-view .newsletter-input {
  flex: 1;
  min-height: 4.1875rem;
  border: 0;
  padding: 0 0.85rem;
  background: #d9d9d9;
  color: #645757;
}

.article-page-view .newsletter-button {
  min-width: 15.0625rem;
  border: 0;
  background: var(--color-accent);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.article-page-view .footer-main {
  padding: 4rem 0 4.1875rem;
}

.article-page-view .footer-inner {
  display: grid;
  grid-template-columns: 441px 495px;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 4rem;
}

.article-page-view .footer-column h3 {
  margin-bottom: 1.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-light);
}

.article-page-view .footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.article-page-view .footer-column a {
  color: var(--color-text-light);
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.article-page-view .footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 217px));
  gap: 1rem 6.3125rem;
}

.article-page-view .footer-brand-row {
  padding-top: 0.25rem;
}

.article-page-view .brand-footer {
  color: var(--color-text-light);
}

@media (max-width: 1280px) {
  .article-page-view .post-content-inner {
    grid-template-columns: minmax(0, 1fr) 1px 280px;
  }

  .article-page-view .pull-quote {
    font-size: 2.5rem;
  }
}

@media (max-width: 980px) {
  .article-page-view .post-header-inner,
  .article-page-view .newsletter-form {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-page-view .post-content-inner,
  .article-page-view .footer-inner,
  .article-page-view .footer-links-grid {
    grid-template-columns: 1fr;
  }

  .article-page-view .post-divider {
    display: none;
  }

  .article-page-view .post-aside {
    gap: 3rem;
    padding-top: 1.5rem;
  }

  .article-page-view .pull-quote-primary,
  .article-page-view .pull-quote-secondary,
  .article-page-view .related-articles {
    margin-top: 0;
    padding-top: 0;
  }

  .article-page-view .newsletter-button {
    min-height: 4.1875rem;
    width: 100%;
  }
}

@media (max-width: 700px) {
  .article-page-view .post-nav {
    display: none;
  }

  .article-page-view .site-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .article-page-view .post-header-inner {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .article-page-view .post-intro {
    padding-top: 2.5rem;
  }

  .article-page-view .post-title {
    font-size: 3.2rem;
  }

  .article-page-view .post-dek,
  .article-page-view .post-meta,
  .article-page-view .post-body {
    font-size: 1rem;
  }

  .article-page-view .pull-quote {
    font-size: 2rem;
  }

  .article-page-view .newsletter-title,
  .article-page-view .footer-column h3,
  .article-page-view .related-articles h2 {
    font-size: 1.7rem;
  }
}
