.blog-page {
  background: var(--cream-light);
}

.blog-hero,
.category-hero,
.article-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(214, 162, 29, 0.16), transparent 30%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #080b10 0%, #10151f 52%, #07090d 100%);
  background-size: auto, 48px 48px, 48px 48px, auto;
  color: var(--text);
}

.blog-hero {
  padding: 104px 0 88px;
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.65fr);
  gap: 72px;
  align-items: end;
}

.blog-hero h1,
.category-hero h1,
.article-hero h1 {
  margin: 22px 0 20px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.blog-hero h1 {
  max-width: 820px;
  font-size: clamp(3.2rem, 6.4vw, 6.2rem);
  line-height: 0.97;
}

.blog-hero h1 em {
  color: var(--gold-2);
  font-weight: 500;
}

.blog-hero .lead,
.category-hero .lead {
  max-width: 760px;
  color: #d9e3f1;
}

.blog-hero-note {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(214, 162, 29, 0.28);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.06);
  padding: 30px;
}

.blog-hero-note span {
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.blog-hero-note strong {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.18;
}

.blog-hero-note p {
  margin: 0;
  color: #c8d1de;
  font-size: 0.96rem;
}

.blog-categories {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.category-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-top: 18px;
  padding-bottom: 18px;
  scrollbar-width: thin;
}

.category-list a,
.article-category {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: #49370d;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.category-list a:hover,
.category-list a[aria-current="page"],
.article-category:hover {
  border-color: var(--gold-dark);
  background: var(--gold-soft);
}

.blog-featured {
  background: var(--cream-light);
}

.featured-story {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  overflow: hidden;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.featured-story-image {
  display: grid;
  min-height: 100%;
  place-items: center;
  background: var(--ink-2);
}

.featured-story-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.featured-story-content {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 64px);
}

.featured-story h2,
.blog-section-heading h2,
.blog-index-cta h2,
.article-cta h2 {
  margin: 18px 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.featured-story h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.05;
}

.featured-story h2 a:hover,
.article-card h3 a:hover {
  color: var(--gold-dark);
}

.featured-story-content > p {
  margin: 0;
  color: var(--body-muted);
}

.article-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 22px;
  color: var(--body-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: #5f470f;
  font-weight: 850;
}

.text-link:hover {
  color: var(--gold-dark);
}

.blog-latest,
.category-articles {
  border-top: 1px solid var(--line);
}

.blog-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.blog-section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

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

.article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
  box-shadow: 0 12px 32px rgba(67, 49, 24, 0.07);
}

.article-card-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1200 / 630;
  background: var(--ink-2);
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.article-card:hover .article-card-image img {
  transform: scale(1.025);
}

.article-card-body {
  padding: 26px;
}

.article-card h3 {
  margin: 18px 0 12px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.15;
}

.article-card-body > p {
  margin: 0;
  color: var(--body-muted);
  font-size: 0.95rem;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 42px;
  font-size: 0.9rem;
  font-weight: 750;
}

.pagination a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  padding: 8px 18px;
}

.blog-index-cta,
.article-cta {
  background:
    radial-gradient(circle at 85% 30%, rgba(214, 162, 29, 0.15), transparent 28%),
    var(--ink);
  color: var(--text);
  padding: 72px 0;
}

.blog-index-cta-inner,
.article-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.blog-index-cta h2,
.article-cta h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.04;
}

.article-cta p {
  max-width: 720px;
  margin: 0;
  color: #c8d1de;
}

.article-cta-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
}

.category-hero {
  padding: 64px 0 76px;
}

.category-hero h1 {
  max-width: 900px;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.98;
}

.breadcrumbs {
  margin-bottom: 28px;
  color: #c8d1de;
  font-size: 0.82rem;
  font-weight: 700;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #7f8a99;
}

.breadcrumbs a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}

.breadcrumbs a:hover {
  color: var(--gold-2);
}

.blog-empty-state {
  max-width: 760px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
  padding: 40px;
}

.blog-empty-state h2 {
  margin-top: 0;
  font-family: var(--font-display);
  font-size: 2rem;
}

.article-hero {
  padding: 48px 0 104px;
}

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

.article-hero .article-category {
  border-color: rgba(214, 162, 29, 0.42);
  background: rgba(214, 162, 29, 0.1);
  color: #ffe4a8;
}

.article-hero h1 {
  max-width: 1020px;
  font-size: clamp(3rem, 6.2vw, 6rem);
  line-height: 0.98;
}

.article-deck {
  max-width: 820px;
  margin: 0;
  color: #d9e3f1;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.article-byline {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
}

.author-mark {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(214, 162, 29, 0.5);
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
}

.article-byline strong {
  display: block;
}

.article-byline > div > span {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  color: #bfc9d7;
  font-size: 0.82rem;
  font-weight: 650;
}

.draft-badge {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  margin-left: 10px;
  border-radius: 999px;
  background: #fff3cd;
  color: #664d03;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 850;
}

.article-visual {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin-top: -58px;
}

.article-visual img {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1200 / 630;
  border: 1px solid rgba(214, 162, 29, 0.24);
  border-radius: var(--radius-card);
  background: var(--ink-2);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 760px);
  justify-content: center;
  gap: 56px;
  padding-top: 72px;
  padding-bottom: 88px;
}

.article-rail {
  position: sticky;
  top: 112px;
  display: flex;
  height: fit-content;
  flex-direction: column;
  gap: 10px;
}

.article-rail > span {
  color: var(--body-muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.copy-link-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--body);
  padding: 8px 14px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.copy-link-button:hover {
  border-color: var(--gold-dark);
  background: var(--gold-soft);
}

.article-content {
  min-width: 0;
  color: #202936;
  font-size: 1.08rem;
  line-height: 1.76;
}

.article-content > :first-child {
  margin-top: 0;
  font-size: 1.18rem;
}

.article-content h2,
.article-content h3 {
  color: #111827;
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.025em;
  text-wrap: balance;
  scroll-margin-top: 104px;
}

.article-content h2 {
  margin: 2.25em 0 0.7em;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.12;
}

.article-content h3 {
  margin: 1.8em 0 0.6em;
  font-size: 1.55rem;
  line-height: 1.2;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote,
.article-content table {
  margin-top: 0;
  margin-bottom: 1.35em;
}

.article-content ul,
.article-content ol {
  padding-left: 1.35em;
}

.article-content li {
  margin-bottom: 0.55em;
  padding-left: 0.25em;
}

.article-content a {
  color: #6c4d00;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(155, 115, 22, 0.45);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.article-content a:hover {
  color: var(--gold-dark);
  text-decoration-color: currentColor;
}

.article-content blockquote {
  margin-inline: 0;
  border-left: 4px solid var(--gold);
  background: var(--paper-2);
  padding: 20px 24px;
  color: #374151;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.article-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 0.92rem;
}

.article-content th,
.article-content td {
  min-width: 190px;
  border: 1px solid var(--line);
  padding: 13px 15px;
  text-align: left;
  vertical-align: top;
}

.article-content th {
  background: var(--paper-2);
  color: #111827;
  font-weight: 850;
}

.article-content code {
  border-radius: 5px;
  background: #ece7dd;
  padding: 0.12em 0.35em;
  font-size: 0.88em;
}

.article-content img {
  border-radius: 16px;
}

.article-content figure {
  margin: 2em 0;
}

.article-content figcaption {
  margin-top: 8px;
  color: var(--body-muted);
  font-size: 0.8rem;
}

.article-callout,
.article-disclaimer {
  border: 1px solid rgba(155, 115, 22, 0.3);
  border-radius: 16px;
  background: var(--gold-soft);
  padding: 24px;
}

.article-callout {
  margin: 2em 0;
}

.article-callout strong,
.article-disclaimer strong {
  color: #49370d;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-callout p,
.article-disclaimer p {
  margin: 8px 0 0;
}

.article-disclaimer {
  margin-top: 56px;
  background: var(--paper-2);
}

.article-author {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}

.author-mark-large {
  width: 58px;
  height: 58px;
}

.article-author p {
  margin: 0;
}

.article-author .article-author-label {
  margin-bottom: 5px;
  color: #111827;
  font-weight: 850;
}

.article-author p:last-child {
  color: var(--body-muted);
  font-size: 0.9rem;
}

.blog-related {
  background: var(--cream);
}

@media (max-width: 1100px) {
  .blog-hero-grid,
  .featured-story {
    grid-template-columns: 1fr;
  }

  .blog-hero-note {
    max-width: 720px;
  }

  .featured-story-image img {
    min-height: 0;
  }

  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: minmax(0, 760px);
  }

  .article-rail {
    position: static;
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 760px) {
  .blog-hero {
    padding: 72px 0 64px;
  }

  .blog-hero h1,
  .article-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .article-hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .article-hero .breadcrumbs li:last-child {
    display: none;
  }

  .article-hero .breadcrumbs li:nth-last-child(2)::after {
    display: none;
  }

  .blog-hero-grid {
    gap: 42px;
  }

  .blog-hero-note,
  .featured-story-content,
  .article-card-body,
  .blog-empty-state {
    padding: 24px;
  }

  .category-list {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .featured-story h2 {
    font-size: 2.25rem;
  }

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

  .blog-section-heading,
  .blog-index-cta-inner,
  .article-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .article-cta-actions .btn {
    width: 100%;
  }

  .category-hero {
    padding: 48px 0 58px;
  }

  .article-hero {
    padding: 36px 0 82px;
  }

  .article-hero h1 {
    margin-top: 16px;
  }

  .article-byline span {
    line-height: 1.7;
  }

  .article-visual {
    margin-top: -38px;
  }

  .article-visual img {
    border-radius: 16px;
  }

  .article-layout {
    gap: 34px;
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .article-content {
    font-size: 1rem;
  }

  .article-content > :first-child {
    font-size: 1.08rem;
  }

  .article-content h2 {
    font-size: 2rem;
  }

  .blog-index-cta,
  .article-cta {
    padding: 58px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-card-image img {
    transition: none;
  }

  .article-card:hover .article-card-image img {
    transform: none;
  }
}
