/* Article-only editorial header. Shared navigation and body styles stay in blog.css. */
.rs-article-hero {
  padding: clamp(36px, 4vw, 64px) 0 48px;
  background: linear-gradient(145deg, #fffdf8 0%, var(--rs-paper) 100%);
}

.rs-article-hero__inner {
  max-width: 1240px;
}

.rs-article-hero h1 {
  width: 100%;
  max-width: none;
  margin: 0 0 24px;
  font-size: clamp(38px, 4.6vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.rs-article-meta {
  margin: 0 0 24px;
  text-transform: none;
  letter-spacing: normal;
}

.rs-article-category,
.rs-article-type {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid var(--rs-line);
  border-radius: 3px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.rs-article-hero .rs-article-category {
  margin-right: 6px;
  background: #eee3c9;
  border-color: #d9c59a;
  color: var(--rs-ink);
  text-decoration: none;
}

.rs-article-type {
  color: var(--rs-muted);
  font-weight: 500;
}

.rs-article-category:hover {
  background: #e4d4b2;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rs-article-category:focus-visible {
  outline: 2px solid var(--rs-gold-dark);
  outline-offset: 4px;
}

.rs-article-meta .rs-post-dates {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 0;
  margin: 14px 0 0;
  font-family: "Karla", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.rs-article-date + .rs-article-date::before {
  content: "·";
  margin-inline: 10px;
}

.rs-article-lead {
  max-width: 740px;
  margin: 0;
  color: #494034;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.6;
}

.rs-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1000px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-family: "Karla", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

.rs-article-tags li {
  padding: 4px 9px;
  border: 1px solid var(--rs-line);
  border-radius: 3px;
  color: var(--rs-muted);
}

.rs-article-hero + .rs-featured-image {
  width: min(1240px, calc(100% - 48px));
  max-height: 680px;
  margin: 0 auto;
  border: 1px solid var(--rs-line);
  border-radius: 3px;
  box-shadow: none;
}

/* The short, image-free article starts with the same restrained spacing. */
.rs-article-hero + .rs-article-layout,
.rs-article-hero + .rs-featured-image + .rs-article-layout {
  padding-top: 48px;
}

@media (max-width: 780px) {
  .rs-article-hero { padding-bottom: 32px; }
  .rs-article-hero h1 { margin-bottom: 20px; }
  .rs-article-meta { margin-bottom: 20px; }
  .rs-article-tags { gap: 6px; margin-top: 20px; }
  .rs-article-hero + .rs-featured-image { width: calc(100% - 32px); }
  .rs-article-hero + .rs-article-layout,
  .rs-article-hero + .rs-featured-image + .rs-article-layout { padding-top: 32px; }
}
