:root {
  --bg: #030712;
  --panel: #111827;
  --panel-soft: rgba(31, 41, 55, 0.74);

  --text: #f3f4f6;
  --muted: #d1d5db;

  --accent: #60a5fa;
  --accent-strong: #93c5fd;

  --line: rgba(99, 102, 241, 0.30);
  --line-soft: rgba(148, 163, 184, 0.16);
}
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.14), transparent 30%),
    linear-gradient(135deg, #030712 0%, #111827 50%, #172554 100%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.36;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Global text color enforcement */
body, .site-nav, .site-nav a,
h1, h2, h3, h4, h5, h6,
p, li, span, div, td, th {
  color: var(--text);
}


.container {
  width: min(1280px, calc(100% - 56px));
  margin: 0 auto;
}

/* Header */

.site-header {
  background: rgba(3, 7, 18, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(49, 46, 129, 0.18);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.brand-block {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.brand {
  display: block;
}

.brand img {
  display: block;
  height: 86px;
  width: auto;
}

.brand-slogan {
  margin: -6px 0 0;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.98rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--accent);
}

/* Front page */

.frontpage {
  padding: 18px 0;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.15), transparent 34%);
}

.frontpage-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 54px;
  align-items: center;
}

.intro-panel {
  max-width: 760px;
}

.meta-line {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

h1 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(1.85rem, 2.7vw, 2.5rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.offer-list {
  columns: 2;
  column-gap: 34px;
  margin: 0 0 14px;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 1rem;
}

.offer-list li {
  break-inside: avoid;
  margin-bottom: 8px;
}

.closing-line {
  margin: 0;
  max-width: 760px;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #030712;
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
}

.button.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Side panels */

.side-panels {
  display: grid;
  gap: 14px;
}

.info-box {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.info-box h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  line-height: 1.1;
}

.dated-list,
.update-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dated-list li {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  padding: 8px 0;
  color: var(--text);
  font-size: 0.88rem;
  border-top: 1px solid var(--line-soft);
}

.dated-list li:first-child {
  border-top: 0;
}

.dated-list span,
.update-list span {
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
}

.compact {
  padding: 16px 18px;
}

.update-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 0;
  color: var(--text);
  font-size: 0.88rem;
  border-top: 1px solid var(--line-soft);
}

.update-list li:first-child {
  border-top: 0;
}

/* Quick facts */

.quickfacts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(3, 7, 18, 0.44);
}

.facts {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.facts div {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  border-left: 1px solid var(--line-soft);
  font-size: 0.82rem;
  text-align: center;
  padding: 0 8px;
}

.facts div:first-child {
  border-left: 0;
}

/* Footer */

.site-footer {
  padding: 8px 0;
}

.footer-inner {
  display: flex;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
}

/* Responsive */

@media (max-width: 980px) {
  .header-inner {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .brand-block {
    align-items: flex-start;
  }

  .brand img {
    height: 76px;
  }

  .brand-slogan {
    margin-top: -4px;
    text-align: left;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 18px;
  }

  .frontpage-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .facts {
    grid-template-columns: repeat(3, 1fr);
  }

  .facts div:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1280px);
  }

  .site-nav {
    font-size: 0.95rem;
  }

  .frontpage {
    padding: 20px 0;
  }

  .offer-list {
    columns: 1;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .dated-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .facts div {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }

  .facts div:first-child {
    border-top: 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
  }
}

/* -------------------------------------------------- */
/* Generic content pages */
/* -------------------------------------------------- */

.page-main {
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.13), transparent 30%),
    transparent;
}

.page-hero {
  padding: 24px 0 18px;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
}

.page-hero p:last-child {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.community-hero-grid {
    margin-top: -85px;
}

.hero-description {
    max-width: none !important;
}

.meta-line.secondary {
  margin-top: -4px;
  margin-bottom: 12px;
  opacity: 0.85;
  font-size: 0.72rem;
}

.content-section {
  padding: 24px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 14px;
}

.content-card,
.feature-card,
.quote-box {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.content-card.wide {
  grid-row: span 2;
}

.content-card h2,
.feature-card h3 {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 1.25rem;
  line-height: 1.15;
}

.content-card p,
.feature-card p,
.split-content p,
.closing-banner p {
  color: var(--muted);
  font-size: 0.98rem;
}

.content-card p:last-child,
.feature-card p:last-child,
.split-content p:last-child {
  margin-bottom: 0;
}

.muted-section {
  background: rgba(3, 7, 18, 0.38);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 2.7vw, 2.3rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-card-wide {
  grid-column: 1 / -1;
}

.split-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}

.split-content h2 {
  margin-top: 0;
  color: var(--text);
  font-size: clamp(1.6rem, 2.7vw, 2.3rem);
}

.quote-box p {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.25;
}

.quote-box span {
  color: var(--accent);
  font-weight: 800;
}

.closing-banner {
  text-align: center;
}

.closing-banner h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.closing-banner p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 0.98rem;
}

/* Content page responsive */

@media (max-width: 980px) {
  .content-grid,
  .feature-grid,
  .split-content {
    grid-template-columns: 1fr;
  }

  .content-card.wide {
    grid-row: auto;
  }
}

/* -------------------------------------------------- */
/* Download page */
/* -------------------------------------------------- */

.download-main {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: start;
}

.download-main.download-stacked {
    grid-template-columns: 1fr;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.download-section {
  padding-top: 26px;
}

.primary-download h1 {
  margin: 0 0 26px;
  font-size: clamp(2.15rem, 3.2vw, 3.05rem);
}

.primary-download p {
  max-width: 980px;
  font-size: 1.04rem;
}

.primary-download .download-info p {
  max-width: none;
}

.quick-notes-card {
  padding-top: 26px;
  padding-bottom: 26px;
}

.download-main.download-stacked .simple-list {
  font-size: 1.02rem;
}

.download-main.download-stacked .hero-actions {
  flex-wrap: wrap;
}

.download-main.download-stacked .simple-list {
  columns: 2;
  column-gap: 42px;
}

.download-main.download-stacked .simple-list li {
  break-inside: avoid;
}

.primary-download {
  min-width: 0;
}

.download-main aside {
  min-width: 0;
}

.primary-download h2 {
  color: var(--accent);
}

.download-info {
  margin: 18px 0;
}

.download-info p {
  margin: 10px 0;
}

.download-info code {
  display: block;

  margin-top: 8px;
  padding: 10px;

  background: rgba(0,0,0,0.18);
  border: 1px solid var(--line-soft);
  border-radius: 6px;

  font-family: ui-monospace,
               SFMono-Regular,
               Menlo,
               Consolas,
               monospace;

  font-size: 0.82rem;
  line-height: 1.45;

  white-space: pre-wrap;
  word-break: break-all;
  overflow-wrap: anywhere;

  color: var(--text);
}

.download-info span {
  color: var(--text);
  font-weight: 600;
}

.download-info {
  margin: 18px 0;
}

.download-info p {
  margin: 12px 0;
}



.download-card {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.download-card h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
}

.download-card p {
  color: var(--muted);
  font-size: 0.98rem;
}

.primary-download h2 {
  color: var(--accent);
}

.simple-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.simple-list li {
  margin-bottom: 8px;
}

.simple-list li:last-child {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .download-main {
    grid-template-columns: 1fr;
  }

  .download-main.download-stacked {
    max-width: none;
  }

  .download-main.download-stacked .simple-list {
    columns: 1;
  }
}

/* -------------------------------------------------- */
/* Docs philosophy box */
/* -------------------------------------------------- */

.philosophy-box {
  margin-top: 14px;
}

.philosophy-card {
  text-align: center;
}

.philosophy-card h2 {
  margin-bottom: 14px;
}

.philosophy-card p {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.philosophy-card p:last-child {
  margin-bottom: 0;
}


/* -------------------------------------------------- */
/* Docs page */
/* -------------------------------------------------- */

.docs-hero {
  padding: 24px 0;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.13), transparent 30%),
    transparent;
}

.docs-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
  align-items: center;
}

.docs-hero-main h1 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.docs-hero-main .hero-description {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.docs-hero-quote {
  align-self: center;
}

.docs-philosophy-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.docs-philosophy-row .philosophy-card {
  text-align: left;
}

.docs-philosophy-row .philosophy-card p {
  max-width: none;
}

.docs-learning-card h2 {
  color: var(--accent);
}

@media (max-width: 980px) {
  .docs-hero-grid,
  .docs-philosophy-row {
    grid-template-columns: 1fr;
  }
}

.community-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  align-items: center;
}

.community-contact-card {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.community-contact-card h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
}

@media (max-width: 980px) {
  .community-hero-grid {
    grid-template-columns: 1fr;
  }
}

.community-contact {
  display: block;
  max-height: 100px;
  width: auto;
  margin: 0 auto 14px auto;
  opacity: 0.9;
}

.community-right-column {
    display: flex;
    flex-direction: column;
    gap: 14px;

    position: relative;
    top: -58px;
}

.compact-quote {
  padding: 16px 20px;
}

.compact-quote p {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.compact-quote span {
  font-size: 1.1rem;
}

/* -------------------------------------------------- */
/* Development page */
/* -------------------------------------------------- */

.development-right-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  top: -63px;
}

.development-hero {
  position: relative;
  top: -100px;
}

.development-hero + .content-section {
    margin-top: -100px;
}

/* -------------------------------------------------- */
/* Generated Markdown pages */
/* -------------------------------------------------- */

.generated-page {
  max-width: 1300px;
}

.generated-page h1 {
  margin-bottom: 22px;
}

.generated-page h2 {
  margin-top: 28px;
  color: var(--accent);
}

.generated-page h3 {
  margin-top: 20px;
  color: var(--accent);
}

.generated-page p {
  max-width: 980px;
  color: var(--muted);
  font-size: 1.02rem;
}

.generated-page a {
  color: var(--accent-strong);
  font-weight: 700;
}

.generated-page code {
  padding: 0.12rem 0.32rem;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.generated-page blockquote.quote-box {
  margin: 24px 0 0;
  max-width: 760px;
}

.generated-page blockquote.quote-box p {
  margin: 0 0 8px;
  color: var(--text);
  font-weight: 800;
}


/* -------------------------------------------------- */
/* News page */
/* -------------------------------------------------- */

.news-list {
  display: grid;
  gap: 14px;
}

.news-item {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.news-item time {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 800;
}

.news-item h3 {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 1.2rem;
}

.news-item p {
  margin: 0;
  color: var(--muted);
}

.compact-card {
  padding: 16px 20px;
}

.compact-card h3 {
  margin-bottom: 8px;
}


/* -------------------------------------------------- */
/* Moonbase commits journal */
/* -------------------------------------------------- */

.moonbase-section .container {
  max-width: 1280px;
}

.moonbase-journal {
  margin-top: 18px;
  padding: 14px 16px;
  background:
    linear-gradient(180deg,
      rgba(31, 41, 55, 0.88),
      rgba(17, 24, 39, 0.84));
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  overflow-x: auto;
}

.moonbase-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 0.92rem;
  line-height: 1.35;
}

.moonbase-col-commit {
  width: 10rem;
}

.moonbase-col-repository {
  width: 5rem;
}

.moonbase-col-module {
  width: 11rem;
}

.moonbase-col-comment {
  width: auto;
}

.moonbase-table th,
.moonbase-table td {
  padding: 9px 14px;
  text-align: left;
  vertical-align: top;
}

.moonbase-table th {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(3, 7, 18, 0.40);
  border-bottom: 1px solid var(--line);
}

.moonbase-table td {
  color: var(--text);
  border-bottom: 1px solid var(--line-soft);
}

.moonbase-table tbody tr:hover {
  background: rgba(96, 165, 250, 0.085);
}

.moonbase-table tbody tr:last-child td {
  border-bottom: 0;
}

.moonbase-table .commit-id {
  white-space: nowrap;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  font-size: 0.82rem;
}

.moonbase-table .commit-id a,
.moonbase-table .commit-id a:visited {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;

  padding: 2px 7px;

  color: var(--accent-strong) !important;

  background: rgba(96, 165, 250, 0.10);
  border: 1px solid rgba(147, 197, 253, 0.42);
  border-radius: 999px;

  font-weight: 900;
  text-decoration: none !important;
}

.moonbase-table .commit-id a::after {
  content: "↗";
  color: var(--accent);
  font-size: 0.70rem;
  font-weight: 900;
  line-height: 1;
}

.moonbase-table .commit-id a:hover {
  color: #030712 !important;
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.moonbase-table .commit-id a:hover::after {
  color: #030712;
}

.moonbase-table .repository-name {
  color: var(--accent-strong);
  font-weight: 800;
  white-space: normal;
  overflow-wrap: anywhere;
}

.moonbase-table .module-name {
  color: var(--text);
  font-weight: 800;
  white-space: normal;
  overflow-wrap: anywhere;
}

.moonbase-table .commit-comment {
  color: var(--muted);
  white-space: normal;
  overflow-wrap: break-word;
}

@media (max-width: 760px) {
  .moonbase-table {
    min-width: 860px;
  }

  .moonbase-table th,
  .moonbase-table td {
    padding: 8px 12px;
  }
}


/* -------------------------------------------------- */
/* Community news journal */
/* -------------------------------------------------- */

.community-news-journal {
  margin-top: 18px;
  padding: 14px 16px;
  background:
    linear-gradient(180deg,
      rgba(31, 41, 55, 0.88),
      rgba(17, 24, 39, 0.84));
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  overflow-x: auto;
}

.community-news-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 0.92rem;
  line-height: 1.35;
}

.community-news-col-meta {
  width: 14rem;
}

.community-news-col-content {
  width: auto;
}

.community-news-table th,
.community-news-table td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}

.community-news-table th {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(3, 7, 18, 0.40);
  border-bottom: 1px solid var(--line);
}

.community-news-table td {
  color: var(--text);
  border-bottom: 1px solid var(--line-soft);
}

.community-news-table tbody tr:hover {
  background: rgba(96, 165, 250, 0.085);
}

.community-news-table tbody tr:last-child td {
  border-bottom: 0;
}

.community-news-table .news-meta {
  white-space: normal;
}

.community-news-table .news-meta time {
  display: block;
  color: var(--accent);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.25;
}

.community-news-table .news-meta span {
  display: block;
  margin-top: 5px;
  color: var(--accent-strong);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.community-news-table .news-content {
  color: var(--text);
}

.community-news-table .news-title-link,
.community-news-table .news-title-link:visited {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--accent-strong);
  font-weight: 900;
  text-decoration-line: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.community-news-table .news-title-link::after {
  content: "↗";
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.community-news-table .news-title-link:hover {
  color: var(--accent);
}

.community-news-table .news-content p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 72rem;
}

.news-article-page {
  max-width: 980px;
}

.news-article-page .hero-actions {
  margin-top: 24px;
}

/* -------------------------------------------------- */
/* News compact layout */
/* -------------------------------------------------- */

.news-compact-hero {
  padding-bottom: 8px;
}

.news-main .content-section {
  padding-top: 18px;
}

.news-main .section-title {
  margin-bottom: 10px;
}

@media (max-width: 760px) {
  .community-news-table {
    min-width: 680px;
  }

  .community-news-col-meta {
    width: 12rem;
  }

  .community-news-table th,
  .community-news-table td {
    padding: 8px 12px;
  }
}

/* -------------------------------------------------- */
/* Archive page */
/* -------------------------------------------------- */

.archive-main .generated-page code,
.archive-section code {
  padding: 0.12rem 0.32rem;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.archive-journal {
  margin-top: 16px;
}

.archive-commits-table,
.archive-news-table {
  font-size: 0.9rem;
}

.archive-explore-section .section-title {
  margin-bottom: 10px;
}

.archive-explore-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.archive-explore-card {
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(10, 15, 28, 0.72);
  padding: 22px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.archive-explore-card h3 {
  margin-top: 0;
}

.archive-explore-card .hero-actions {
  margin-top: 16px;
}

.archive-explore-card .button {
  width: fit-content;
}

@media (max-width: 760px) {
  .archive-explore-grid {
    grid-template-columns: 1fr;
  }
}

.archive-section-actions {
  margin-top: 18px;
}
