/* Shares .ac-static-page styles defined in page-static.php.
   Duplicated here so this template is self-contained. */

.ac-static-page {
  padding-block: var(--space-10) var(--space-20);
}

.ac-static-page .ac-breadcrumb {
  background: transparent;
  border: none;
  padding-inline: 0;
  padding-block: var(--space-4) var(--space-2);
}

.ac-static-page .ac-breadcrumb__inner { padding: 0; }

.ac-static-page__header {
  padding-bottom: var(--space-6);
  border-bottom: 2px solid var(--color-border);
  margin-bottom: var(--space-8);
}

.ac-static-page__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--color-ink);
  line-height: 1.15;
  margin-bottom: var(--space-3);
}

.ac-static-page__intro {
  font-size: var(--text-md);
  color: var(--color-muted);
  line-height: var(--leading-relaxed);
  max-width: 620px;
  margin-bottom: 0;
}

.ac-static-page__content.post-entry h2:first-child,
.ac-static-page__content.post-entry h3:first-child {
  margin-top: 0;
}

.ac-static-page__content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
}

.ac-static-page__content th,
.ac-static-page__content td {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  text-align: left;
}

.ac-static-page__content th {
  background: var(--color-bg-alt);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-ink);
}

.ac-static-page__content tr:nth-child(even) td {
  background: var(--color-bg);
}

/* Page links (<!--nextpage-->) */
.ac-page-links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
}

.ac-page-links__label {
  font-weight: 700;
  color: var(--color-muted);
  margin-right: var(--space-2);
}

.ac-page-links span a,
.ac-page-links > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding-inline: var(--space-3);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--color-body);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.ac-page-links span a:hover,
.ac-page-links > a:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}

.ac-page-links > span:not(.ac-page-links__label) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding-inline: var(--space-3);
  background: var(--color-red);
  border: 1.5px solid var(--color-red);
  border-radius: var(--radius-md);
  font-weight: 700;
  color: #fff;
}
