@import url("pages.css");
@import url("project.css");

.page-events .page-hero h1 {
  text-shadow: 0 0 28px rgba(88, 184, 255, 0.12);
}

.docs-section,
.docs-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 0;
}

.docs-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.docs-card,
.table-wrap,
.action-card {
  padding: 1.6rem;
}

.table-wrap {
  overflow-x: auto;
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.docs-table th,
.docs-table td {
  padding: 0.95rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.docs-table th {
  font-family: "Orbitron", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  color: var(--white-soft);
}

.docs-table td {
  color: var(--muted);
  line-height: 1.6;
}

.docs-table code,
.action-card code,
.docs-card code {
  display: inline-block;
  padding: 0.12rem 0.42rem;
  border-radius: 6px;
  background: rgba(53, 242, 255, 0.1);
  border: 1px solid rgba(53, 242, 255, 0.14);
  color: var(--cyan);
}

.code-block {
  padding: 1.5rem;
  overflow-x: auto;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 8, 20, 0.9);
  color: var(--white-soft);
  line-height: 1.6;
}

.code-block code {
  display: block;
  white-space: pre;
  font-family: "Courier New", monospace;
  font-size: 0.92rem;
}

.action-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  padding-bottom: 3rem;
}

.action-card h3,
.subheading {
  font-family: "Orbitron", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.action-card h3 {
  margin-bottom: 0.9rem;
  font-size: 1rem;
}

.action-card p {
  color: var(--muted);
  line-height: 1.6;
}

.action-card p + p {
  margin-top: 0.7rem;
}

.subheading {
  margin: 1.6rem 0 1rem;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .docs-layout,
  .action-grid {
    grid-template-columns: 1fr;
  }
}
