/* Stellar Times · newspaper front page (dark paper, classic density) */
.gazette-page {
  padding-bottom: 72px;
}

.gazette-wrap {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
  padding-top: calc(var(--nav-h) + 36px);
}

.gazette-paper {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(168, 85, 247, 0.04), transparent 120px),
    #08080e;
  padding: clamp(20px, 3.5vw, 40px) clamp(18px, 3vw, 36px) clamp(36px, 5vw, 56px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.gazette-masthead {
  text-align: center;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(242, 242, 245, 0.22);
}

.gazette-masthead .flag {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 10px;
}

.gazette-masthead h1 {
  font-family: var(--font-gazette);
  font-size: clamp(2.6rem, 9vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: lowercase;
  line-height: 0.95;
  color: var(--text);
  margin: 0 0 10px;
}

.gazette-tagline {
  font-family: var(--font-gazette);
  font-size: clamp(0.78rem, 1.6vw, 0.95rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  max-width: 42ch;
  margin: 0 auto 14px;
  line-height: 1.45;
}

.gazette-dateline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  align-items: center;
  padding: 10px 0 12px;
  border-bottom: 1px solid rgba(168, 85, 247, 0.35);
  border-top: 1px solid rgba(242, 242, 245, 0.12);
  margin-top: 2px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--text-muted);
}

.gazette-dateline strong {
  color: var(--purple-bright);
  font-weight: 500;
  letter-spacing: 0.1em;
}

.gazette-dateline a {
  color: var(--purple-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(192, 132, 252, 0.35);
}

.gazette-dateline a:hover {
  color: #fff;
}

.gazette-front {
  display: grid;
  gap: 28px;
  padding-top: 28px;
}

@media (min-width: 880px) {
  .gazette-front {
    grid-template-columns: 1.55fr 1fr;
    gap: 0 32px;
    align-items: start;
  }

  .gazette-lead {
    padding-right: 32px;
    border-right: 1px solid rgba(242, 242, 245, 0.12);
  }
}

.gazette-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-bright);
  font-weight: 500;
  margin-bottom: 10px;
}

.gazette-lead h2 {
  font-family: var(--font-gazette);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text);
}

.gazette-dek {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 18px;
  max-width: 48ch;
}

.gazette-body {
  column-count: 1;
  column-gap: 28px;
  column-rule: 1px solid rgba(242, 242, 245, 0.08);
}

@media (min-width: 640px) {
  .gazette-body.two-col {
    column-count: 2;
  }
}

.gazette-body p {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 12px;
  text-align: justify;
  hyphens: auto;
}

.gazette-body p:first-of-type::first-letter {
  font-family: var(--font-gazette);
  font-size: 2.8em;
  float: left;
  line-height: 0.85;
  padding: 6px 8px 0 0;
  color: var(--purple-bright);
  font-weight: 700;
}

.gazette-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  break-inside: avoid;
}

.gazette-secondary-links {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 300;
  width: 100%;
  margin-top: 4px;
}

.gazette-secondary-links a {
  color: var(--purple-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(192, 132, 252, 0.35);
}

.gazette-briefs {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.brief {
  padding: 0 0 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(242, 242, 245, 0.1);
}

.brief:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.brief h3 {
  font-family: var(--font-gazette);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 8px;
}

.brief h3 a:hover {
  color: var(--purple-bright);
}

.brief p {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

.brief .brief-meta {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 6px;
  font-weight: 500;
}

.gazette-rail-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.45), transparent);
  margin: 8px 0 22px;
}

.gazette-notes {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 2px solid rgba(242, 242, 245, 0.14);
}

.gazette-notes > h2 {
  font-family: var(--font-gazette);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: lowercase;
  margin-bottom: 6px;
}

.gazette-notes > .notes-lede {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 0.9rem;
  margin-bottom: 18px;
  max-width: 58ch;
}

.gazette-notes details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 10px;
  overflow: hidden;
}

.gazette-notes summary {
  cursor: pointer;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: lowercase;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gazette-notes summary::-webkit-details-marker { display: none; }

.gazette-notes summary::after {
  content: "+";
  color: var(--purple-bright);
  font-size: 1.1rem;
  line-height: 1;
}

.gazette-notes details[open] summary::after {
  content: "–";
}

.gazette-notes details[open] summary {
  border-bottom: 1px solid var(--line);
}

.gazette-notes .note-body {
  padding: 16px 18px 20px;
  color: var(--text-muted);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.65;
}

.gazette-notes .note-body p + p {
  margin-top: 12px;
}

.gazette-notes .note-body a {
  color: var(--purple-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gazette-subscribe {
  margin-top: 40px;
}

.gazette-subscribe .subscribe-box {
  margin-top: 0;
}

.note-page {
  padding: calc(var(--nav-h) + 48px) 0 80px;
}

.note-page .note-paper {
  width: min(720px, calc(100% - 40px));
  margin-inline: auto;
  border: 1px solid var(--line);
  background: #08080e;
  padding: clamp(28px, 4vw, 48px);
}

.note-page .back-link {
  font-size: 0.85rem;
  color: var(--purple-bright);
  margin-bottom: 20px;
  display: inline-block;
}

.note-page .back-link:hover { color: #fff; }

.note-page h1 {
  font-family: var(--font-gazette);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.note-page .note-meta {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.note-page .note-meta strong {
  color: var(--purple-bright);
  font-weight: 500;
}

.note-page .prose p {
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 14px;
}

.note-page .prose h2 {
  font-size: 1.1rem;
  font-weight: 400;
  text-transform: lowercase;
  margin: 28px 0 10px;
  color: var(--text);
}

/* soft lead emphasis */
.gazette-dek { letter-spacing: -0.005em; }
