/* Latest article hero — NSI editorial field-note treatment */
.article-hero-shell {
  position: relative;
  margin: 26px calc(50% - 50vw) 54px;
  padding: 0 max(24px, calc((100vw - 960px) / 2));
}

.article-hero-shell::before {
  content: "";
  position: absolute;
  inset: 28px 0 22px;
  background:
    radial-gradient(circle at 82% 20%, rgba(201,162,77,.18), transparent 30%),
    linear-gradient(135deg, rgba(11,28,45,.92), rgba(5,8,12,.22));
  border-top: 1px solid rgba(201,162,77,.45);
  border-bottom: 1px solid rgba(26,45,69,.9);
  pointer-events: none;
}

.article-hero-frame {
  position: relative;
  max-width: 960px;
  margin: auto;
  overflow: hidden;
  border: 1px solid #294866;
  border-radius: 14px;
  background: #07121E;
  box-shadow: 0 24px 70px rgba(0,0,0,.42), 0 0 0 1px rgba(201,162,77,.08);
}

.article-hero-topline,
.article-hero-bottomline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  color: #A8855A;
  background: #07121E;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.article-hero-topline { border-bottom: 1px solid #1A2D45; }
.article-hero-bottomline { border-top: 1px solid #1A2D45; color: #8FA2B6; }
.article-hero-bottomline strong { color: #C9A24D; font-weight: 500; }

.article-hero-shell .hero-img {
  display: block;
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  margin: 0;
  filter: saturate(.94) contrast(1.04);
}

@media (min-width: 900px) {
  .container:has(.article-hero-shell) { max-width: 960px; }
  .container:has(.article-hero-shell) > h1 {
    max-width: 900px;
    font-size: clamp(40px, 5vw, 58px);
    letter-spacing: -1.5px;
    line-height: 1.08;
  }
  .container:has(.article-hero-shell) > .meta-line { max-width: 900px; }
}

@media (max-width: 600px) {
  .article-hero-shell { margin: 22px -16px 42px; padding: 0; }
  .article-hero-shell::before { inset: 18px 0 16px; }
  .article-hero-frame { border-radius: 0; border-left: 0; border-right: 0; }
  .article-hero-topline,
  .article-hero-bottomline { font-size: 8px; padding: 10px 14px; }
  .article-hero-topline span:last-child,
  .article-hero-bottomline span:last-child { text-align: right; }
}

@media (prefers-reduced-motion: no-preference) {
  .article-hero-frame { animation: hero-arrive .7s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes hero-arrive {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
