.article-page-hero {
  padding: 28px 0 18px;
  border-bottom: 1px solid var(--color-border);
}

.article-page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: end;
}

.article-page-hero__content {
  max-width: 980px;
}

.article-page-hero__title {
  font-family: "Heebo", sans-serif;
  font-weight: 900;
  font-size: clamp(1.9rem, 4vw, 3.05rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0;
}

.article-page-hero__title span {
  display: block;
  margin-top: 8px;
  color: var(--color-text-soft);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.92rem, 1.5vw, 1.18rem);
  line-height: 1.34;
  letter-spacing: -0.01em;
}

.article-page-hero__text {
  margin-top: 12px;
  max-width: 760px;
  color: var(--color-text-soft);
  font-size: 0.92rem;
  line-height: 1.72;
}

.article-page-main {
  padding: 48px 0 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 42px;
}

.article-paper-wrap {
  max-width: 1100px;
  width: 100%;
  margin-left: 100px;
  margin-right: -10px;
  position: relative;
}

.article-paper-wrap::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(200,169,110,0.09), transparent 30%),
    radial-gradient(circle at bottom left, rgba(200,169,110,0.05), transparent 34%);
  pointer-events: none;
}

.article-paper {
  position: relative;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.10'/%3E%3C/svg%3E"),
    radial-gradient(circle at center, rgba(160, 132, 80, 0.055) 0%, rgba(160,132,80,0.028) 18%, transparent 46%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)),
    radial-gradient(rgba(0,0,0,0.02) 0.8px, transparent 0.8px),
    linear-gradient(180deg, #f2ede3 0%, #ebe3d5 100%);
  background-size:
    220px 220px,
    100% 100%,
    auto,
    5px 5px,
    auto;
  background-blend-mode:
    overlay,
    soft-light,
    normal,
    normal,
    normal;
  color: #171512;
  border-radius: 28px;
  padding: 34px 40px 30px;
  box-shadow: 0 34px 84px rgba(0,0,0,0.38);
  border: 1px solid rgba(64, 52, 29, 0.12);
  overflow: hidden;
}

.article-paper::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22), transparent 18%, transparent 82%, rgba(0,0,0,0.03)),
    linear-gradient(90deg, rgba(255,255,255,0.06), transparent 12%, transparent 88%, rgba(0,0,0,0.03));
  mix-blend-mode: soft-light;
  opacity: 0.7;
}

.article-paper::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 18px;
  border: 1px solid rgba(82, 64, 35, 0.10);
  pointer-events: none;
}

.article-paper__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(73, 60, 39, 0.12);
  color: #6e6252;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-paper__content h2 {
  margin: 24px 0 10px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.38;
  color: #111;
}

.article-paper__content p {
  margin: 0 0 10px;
  color: #2c2822;
  font-size: 0.95rem;
  line-height: 1.72;
}

.article-callout {
  border-right: 4px solid var(--color-accent);
  background: rgba(200, 169, 110, 0.05);
  padding: 20px;
  margin: 30px 0;
  border-radius: 0 12px 12px 0;
  position: relative;
  z-index: 1;
}

.article-callout p:first-child {
  margin: 0;
  font-weight: 700;
  color: #111;
  font-size: 0.95rem;
  line-height: 1.6;
}

.article-callout p:nth-child(2) {
  margin: 5px 0 15px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #2f2a24;
}

.article-paper__divider {
  width: 180px;
  height: 1px;
  margin: 34px auto 18px;
  background: linear-gradient(90deg, transparent, rgba(111,88,48,0.65), transparent);
}

.article-paper__stamp {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

.article-paper__stamp img {
  width: 68px;
  opacity: 0.82;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.14));
}

.article-related {
  padding: 88px 0 0;
}

.article-related__head {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

.article-related__head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.article-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-related-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 24px 22px 22px;
  border: 1px solid rgba(200, 169, 110, 0.26);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0.01)),
    linear-gradient(135deg, rgba(200,169,110,0.065), rgba(200,169,110,0.018) 42%, rgba(255,255,255,0.01) 100%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.article-related-card:hover,
.article-related-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(200, 169, 110, 0.52);
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.24);
}

.article-related-card__tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(200, 169, 110, 0.26);
  border-radius: 999px;
  color: var(--color-accent);
  font-size: 0.76rem;
  background: rgba(255,255,255,0.02);
}

.article-related-card h3 {
  font-family: "Heebo", sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--color-text);
}

.article-related-card p {
  color: var(--color-text-soft);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 18px;
}

.article-related-card__more {
  margin-top: auto;
  color: var(--color-accent);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1200px) {
  .article-related__head,
  .article-related__grid {
    grid-template-columns: 1fr;
  }

  .article-paper-wrap {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 960px) {
  .article-page-hero {
    padding: 18px 0 14px;
  }

  .article-page-hero__grid {
    gap: 10px;
  }

  .article-page-hero__title {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
    line-height: 1.05;
  }

  .article-page-hero__title span {
    margin-top: 7px;
    font-size: clamp(0.88rem, 4vw, 1rem);
    line-height: 1.32;
  }

  .article-page-hero__text {
    margin-top: 10px;
    font-size: 0.86rem;
    line-height: 1.65;
  }

  .article-paper-wrap {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .article-paper {
    padding: 30px 22px 24px;
    border-radius: 24px;
  }

  .article-paper__content p {
    font-size: 0.88rem;
    line-height: 1.68;
    margin-bottom: 9px;
  }

  .article-paper__content h2 {
    font-size: 0.96rem;
    line-height: 1.34;
    margin: 20px 0 8px;
  }

  .article-callout {
    padding: 16px;
    margin: 24px 0;
  }

  .article-callout p:first-child {
    font-size: 0.9rem;
  }

  .article-callout p:nth-child(2) {
    font-size: 0.84rem;
  }

  .article-paper__stamp img {
    width: 58px;
  }

  .article-related {
    padding-top: 64px;
  }

  .article-related__grid {
    grid-template-columns: 1fr;
  }

  .article-related-card {
    min-height: 220px;
    padding: 22px 18px 18px;
    border-radius: 24px;
  }

  .article-related-card h3 {
    font-size: 1.3rem;
  }
}
