/* ============================================================
   Maestro News – draft blog styles
   ============================================================ */

.news-page .nav__links a.is-active {
  color: var(--maestro-accent, #38bdf8);
}

.news-draft-banner {
  position: sticky;
  top: 72px;
  z-index: 40;
  background: linear-gradient(90deg, rgba(209, 168, 92, 0.18), rgba(56, 189, 248, 0.12));
  border-bottom: 1px solid rgba(209, 168, 92, 0.35);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 10px 16px;
}

.news-draft-banner code {
  font-weight: 500;
  color: var(--maestro-accent, #38bdf8);
}

.news-hero {
  position: relative;
  padding: 132px 0 48px;
  overflow: hidden;
}

.news-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(800px 420px at 15% -10%, rgba(56, 189, 248, 0.14), transparent 55%),
    radial-gradient(640px 360px at 90% 0%, rgba(209, 168, 92, 0.1), transparent 50%);
}

.news-hero .container {
  position: relative;
  z-index: 1;
}

.news-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--maestro-accent, #38bdf8);
  margin-bottom: 14px;
}

.news-hero__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 14px;
}

.news-hero h1 {
  font-size: clamp(32px, 4.5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.news-hero h1 .maestro-word {
  background: linear-gradient(135deg, #38bdf8, #6EA68C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.news-hero__discussions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(56, 189, 248, 0.1);
  color: var(--maestro-accent, #38bdf8);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.news-hero__discussions::after {
  content: "↗";
  font-size: 12px;
  opacity: 0.85;
}

.news-hero__discussions:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.55);
  color: #7dd3fc;
}

.news-hero__sub {
  max-width: 560px;
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
}

.news-list {
  padding: 24px 0 96px;
}

.news-empty {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px 28px;
  color: var(--text-muted);
  text-align: center;
}

.news-card {
  display: block;
  padding: 28px 28px 26px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.news-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-subtle);
}

.news-meta time {
  font-variant-numeric: tabular-nums;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  background: rgba(56, 189, 248, 0.08);
  color: var(--maestro-accent, #38bdf8);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-badge-draft {
  border-color: rgba(209, 168, 92, 0.35);
  background: rgba(209, 168, 92, 0.12);
  color: #e8c789;
}

.news-card h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.92);
}

.news-card p {
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 68ch;
}

.news-card__more {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--maestro-accent, #38bdf8);
}

.news-article {
  padding: 120px 0 96px;
}

.news-article__inner {
  max-width: 760px;
}

.news-back {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.news-back:hover {
  color: var(--maestro-accent, #38bdf8);
}

.news-article__header h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.92);
}

.news-article__summary {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.news-prose {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

.news-prose > * + * {
  margin-top: 1.1em;
}

.news-prose h2 {
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 1.8em;
}

.news-prose h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 1.5em;
}

.news-prose a {
  color: var(--maestro-accent, #38bdf8);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.news-prose ul,
.news-prose ol {
  padding-left: 1.25em;
}

.news-prose ul {
  list-style: disc;
}

.news-prose ol {
  list-style: decimal;
}

.news-prose li + li {
  margin-top: 0.35em;
}

.news-prose blockquote {
  border-left: 3px solid rgba(56, 189, 248, 0.45);
  padding: 4px 0 4px 16px;
  color: var(--text-muted);
}

.news-prose .news-figure {
  margin: 1.75em 0;
  border-radius: var(--radius, 14px);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.news-prose .news-figure img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.news-prose .news-figure figcaption {
  padding: 12px 16px 14px;
  font-size: 0.88em;
  line-height: 1.5;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.news-prose .news-figure figcaption strong {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 650;
}

.news-prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.news-prose pre {
  overflow-x: auto;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
}

.news-prose pre code {
  padding: 0;
  background: none;
}

.news-sources {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.news-sources h2 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 14px;
}

.news-sources ul {
  list-style: none;
  padding: 0;
}

.news-sources li + li {
  margin-top: 8px;
}

.news-sources a {
  color: var(--maestro-accent, #38bdf8);
  font-weight: 550;
}

.news-sources a:hover {
  text-decoration: underline;
}

@media (max-width: 720px) {
  .news-card {
    padding: 22px 18px;
  }

  .news-article {
    padding-top: 108px;
  }
}
