.article-single-page {
  overflow: clip;
}

.article-single-hero {
  position: relative;
  padding: 58px 0 44px;
  background:
    radial-gradient(circle at 14% 16%, rgba(198,161,91,.12), transparent 24%),
    radial-gradient(circle at 82% 22%, rgba(6,26,58,.08), transparent 25%),
    linear-gradient(180deg, #f7f8fb 0%, #f5f7fa 100%);
}

.article-single-hero-inner {
  max-width: 980px;
}

.article-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
  color: #6a7890;
  font-size: .95rem;
}

.article-breadcrumbs a:hover {
  color: var(--navy);
}

.article-single-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.article-single-category,
.article-single-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.article-single-category {
  background: rgba(6,26,58,.95);
  color: #fff;
}

.article-single-pill {
  background: rgba(198,161,91,.14);
  color: #9a7734;
}

.article-single-pill-soft {
  background: rgba(6,26,58,.06);
  color: #5f6d82;
}

.article-single-hero h1 {
  margin: 0 0 16px;
  max-width: 900px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 6vw, 4.7rem);
  line-height: .96;
  color: #12213a;
}

.article-single-excerpt {
  margin: 0 0 22px;
  max-width: 820px;
  color: #5d6c82;
  font-size: 1.15rem;
  line-height: 1.78;
}

.article-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.article-single-meta div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid #dfe5ec;
  color: #5b6a81;
}

.article-single-main {
  padding-top: 44px;
}

.article-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.article-single-content-card,
.article-sidebar-card,
.article-not-found-card {
  background: #fff;
  border: 1px solid #dde4eb;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(10,25,56,.05);
}

.article-single-content-card {
  overflow: hidden;
}

.article-single-image-wrap {
  aspect-ratio: 16 / 8;
  background: linear-gradient(180deg, #e8edf4, #d8e0ea);
}

.article-single-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-single-content {
  padding: 34px;
}

.prose-content {
  color: #22324b;
  line-height: 1.78;
  font-size: 1.06rem;
}

.prose-content > *:first-child {
  margin-top: 0;
}

.prose-content h2,
.prose-content h3,
.prose-content h4 {
  margin: 1.8em 0 .6em;
  color: #12213a;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.02;
}

.prose-content h2 {
  font-size: 2.55rem;
}

.prose-content h3 {
  font-size: 2rem;
}

.prose-content h4 {
  font-size: 1.6rem;
}

.prose-content p,
.prose-content ul,
.prose-content ol,
.prose-content blockquote,
.prose-content table {
  margin: 0 0 1.1em;
}

.prose-content ul,
.prose-content ol {
  padding-left: 1.3rem;
}

.prose-content li + li {
  margin-top: .45em;
}

.prose-content a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose-content blockquote {
  margin-left: 0;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: rgba(6,26,58,.04);
  border-radius: 0 14px 14px 0;
  color: #40506a;
}

.prose-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #dbe2ea;
}

.prose-content th,
.prose-content td {
  padding: 12px 14px;
  border-bottom: 1px solid #e7edf4;
  text-align: left;
}

.prose-content th {
  background: #f8fafc;
  color: #20314a;
}

.article-single-sidebar {
  position: sticky;
  top: 144px;
  display: grid;
  gap: 18px;
}

.article-sidebar-card {
  padding: 24px;
}

.article-sidebar-card h3 {
  margin: 0 0 10px;
  color: #13223b;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1.02;
}

.article-sidebar-card p {
  margin: 0 0 16px;
  color: #5f6e84;
  line-height: 1.7;
}

.article-sidebar-card-muted {
  background: linear-gradient(180deg, #ffffff, #f9fbfd);
}

.article-sidebar-btn {
  width: 100%;
  justify-content: center;
}

.article-related-section {
  padding-top: 78px;
  padding-bottom: 82px;
}

.article-related-grid {
  margin-top: 26px;
}

.article-not-found-wrap {
  padding-top: 82px;
  padding-bottom: 86px;
}

.article-not-found-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 34px;
  text-align: center;
}

.article-not-found-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(6,26,58,.06);
  color: var(--navy);
  font-size: 1.6rem;
}

.article-not-found-card h1 {
  margin: 0 0 12px;
  color: #13223b;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: .98;
}

.article-not-found-card p {
  margin: 0;
  color: #5f6e84;
  line-height: 1.7;
}

.article-not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 26px;
}

@media (max-width: 1080px) {
  .article-single-layout {
    grid-template-columns: 1fr;
  }

  .article-single-sidebar {
    position: static;
  }
}

@media (max-width: 780px) {
  .article-single-content {
    padding: 26px 22px;
  }

  .prose-content h2 {
    font-size: 2.15rem;
  }

  .prose-content h3 {
    font-size: 1.8rem;
  }

  .article-sidebar-card,
  .article-not-found-card {
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .article-single-hero {
    padding-top: 42px;
  }

  .article-single-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-breadcrumbs {
    gap: 6px;
    font-size: .9rem;
  }
}
