.article-detail-page {
  background:
    radial-gradient(circle at top left, rgba(255, 198, 151, 0.26), transparent 30%),
    linear-gradient(180deg, #fff9f3 0%, #fffdfb 100%);
  padding: 2rem 0 5rem;
}

.article-detail-shell,
.related-articles__shell {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.article-detail-shell {
  display: grid;
  gap: 1.5rem;
}

.article-detail-topbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  color: #8b6b56;
  font-size: 0.92rem;
}

.article-meta span {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #f8efe8;
}

.article-meta--compact {
  justify-content: flex-end;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 148, 98, 0.28);
  background: rgba(255, 255, 255, 0.92);
  color: #9a5525;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-ghost:hover {
  transform: translateY(-1px);
  background: #ff9f72;
  color: #ffffff;
}

.article-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 1.4rem;
  align-items: stretch;
}

.article-detail-hero__copy,
.article-detail-hero__cover,
.article-detail-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(227, 184, 147, 0.28);
  border-radius: 28px;
  box-shadow: 0 18px 46px rgba(80, 47, 24, 0.08);
}

.article-detail-hero__copy {
  padding: 2rem;
}

.article-detail-hero__eyebrow {
  display: inline-flex;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 159, 114, 0.16);
  color: #b15d29;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-detail-hero__copy h1 {
  margin: 1rem 0 0.8rem;
  color: #281810;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.06;
  font-weight: 800;
}

.article-detail-hero__copy p {
  margin: 0;
  max-width: 54ch;
  color: #6a5242;
  font-size: 1.05rem;
  line-height: 1.75;
}

.article-detail-hero__cover {
  overflow: hidden;
  min-height: 320px;
  background: linear-gradient(145deg, #ffd2aa 0%, #ffb47f 46%, #fff2e1 100%);
}

.article-detail-hero__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-detail-hero__placeholder,
.related-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(110, 57, 25, 0.78);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-detail-card {
  padding: 2rem;
}

.article-text {
  color: #433128;
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.8;
}

.article-text > *:first-child {
  margin-top: 0;
}

.article-text p,
.article-text ul,
.article-text ol,
.article-text blockquote,
.article-text table {
  margin: 1.1rem 0;
}

.article-text h2,
.article-text h3,
.article-text h4 {
  margin: 2rem 0 0.9rem;
  color: #271810;
  line-height: 1.2;
  font-weight: 800;
}

.article-text h2 {
  font-size: clamp(1.5rem, 2.3vw, 2rem);
}

.article-text h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.article-text ul,
.article-text ol {
  padding-left: 1.4rem;
}

.article-text li + li {
  margin-top: 0.45rem;
}

.article-text img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
  margin: 1.6rem auto;
}

.article-text blockquote {
  padding: 1rem 1.2rem;
  border-left: 4px solid #ff9f72;
  background: #fff7ef;
  border-radius: 0 16px 16px 0;
  color: #5f4738;
}

.article-text a {
  color: #b55d27;
  text-decoration-color: rgba(181, 93, 39, 0.34);
}

.related-articles {
  padding-bottom: 5rem;
}

.related-articles__header {
  margin-bottom: 1.25rem;
}

.related-articles__header h2 {
  margin: 0 0 0.45rem;
  color: #281810;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  font-weight: 800;
}

.related-articles__header p {
  margin: 0;
  color: #745a4a;
  line-height: 1.7;
}

.related-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.related-card {
  display: grid;
  grid-template-rows: 190px 1fr;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 182, 146, 0.28);
  border-radius: 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 16px 38px rgba(87, 50, 25, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px rgba(100, 58, 28, 0.15);
}

.related-card__media {
  background: linear-gradient(145deg, #ffe0c4 0%, #ffc693 46%, #fff5ea 100%);
}

.related-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.related-card__text {
  display: grid;
  gap: 0.8rem;
  padding: 1.15rem;
}

.related-card__text h3 {
  margin: 0;
  color: #281912;
  font-size: 1.15rem;
  line-height: 1.25;
  font-weight: 800;
}

.related-card__text p {
  margin: 0;
  color: #685243;
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .article-detail-hero,
  .related-articles__grid {
    grid-template-columns: 1fr;
  }

  .article-detail-hero__cover {
    min-height: 260px;
  }

  .related-card {
    grid-template-rows: 220px 1fr;
  }
}

@media (max-width: 720px) {
  .article-detail-page {
    padding-bottom: 4rem;
  }

  .article-detail-shell,
  .related-articles__shell {
    width: min(100% - 1rem, 1100px);
  }

  .article-detail-hero__copy,
  .article-detail-card {
    padding: 1.3rem;
  }

  .article-detail-topbar {
    align-items: flex-start;
  }

  .article-meta--compact {
    justify-content: flex-start;
  }
}
