/* Shared styles for the standalone news article pages (public/news/assets/*.html).
   These pages are plain static HTML outside the React app, so they cannot use src/corp/styles.css. */

:root {
  --red: #e31c23;
  --red-deep: #b41218;
  --ink: #111827;
  --body: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --primary: #2a7553;
  --font: "Barlow", "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Barlow", sans-serif;
  --chrome: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  font-family: var(--chrome);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem;
}

.brand-logo {
  height: 2.5rem;
  width: auto;
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
  color: #374151;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--primary);
}

@media (max-width: 560px) {
  .nav {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .nav .nav-optional {
    display: none;
  }
}

/* Hero */
.article-hero {
  position: relative;
  padding: 5rem 1.25rem 4.5rem;
  color: #fff;
  background-color: #1f2937;
  background-size: cover;
  background-position: center;
}

.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.5), rgba(10, 10, 10, 0.72));
}

.article-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.article-back {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.article-back:hover {
  color: #ffd7d7;
  border-bottom-color: #ffd7d7;
}

.article-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffd7d7;
}

.article-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

/* Body */
.article-wrap {
  max-width: 48rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

.article-body {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--body);
}

.article-body h2,
.article-body h3 {
  margin: 2rem 0 0.75rem;
  font-family: var(--display);
  letter-spacing: 0.02em;
  color: var(--ink);
}

.article-body h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
}

.article-body p,
.article-body ul,
.article-body ol {
  margin: 0 0 1.15rem;
}

.article-body img {
  width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: 0.75rem;
}

.article-body a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.article-tags a {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f9fafb;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--body);
}

.article-tags a:hover {
  border-color: var(--red);
  color: var(--red);
}

/* Footer */
.site-footer {
  padding: 2rem 1.25rem;
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-align: center;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: #ffd7d7;
}
