/*
 Theme Name:   ABTdomain
 Theme URI:    https://abtdomain.com
 Description:  Domain Intelligence Platform — lightweight, SEO-optimized WordPress theme for abtdomain.com.
 Author:       ABTdomain
 Author URI:   https://abtdomain.com
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  abtdomain
 Requires at least: 6.0
 Tested up to: 6.5
 Requires PHP: 7.4
*/

/* ==========================================================================
   Design System — Variables
   ========================================================================== */

:root {
  /* Color Palette */
  --paper: #f7f3ec;
  --paper-deep: #efe9df;
  --ink: #1a1612;
  --ink-soft: #3d3630;
  --muted: #9e948a;
  --rule: #e0d8cd;
  --signal: #c23a22;
  --signal-light: #e8654f;
  --accent-blue: #2a6496;
  --white: #ffffff;

  /* Typography */
  --sans: 'Inter', 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', 'Source Code Pro', 'Menlo', monospace;

  /* Spacing */
  --max-width: 1080px;
  --section-gap: 64px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--signal);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */

.site-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .site-container {
    padding: 0 16px;
  }
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.site-nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  text-decoration: none;
}

.site-logo-bold {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.site-logo-light {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 22px;
  color: var(--ink-soft);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links .current-menu-item a {
  color: var(--signal);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--ink);
  padding: 4px 8px;
  line-height: 1;
}

@media (max-width: 768px) {
  .site-nav {
    position: relative;
    padding: 16px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 16px;
    gap: 14px;
    border-bottom: 1px solid var(--rule);
    z-index: 100;
    box-shadow: 0 4px 12px rgba(26, 22, 18, 0.06);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

/* ==========================================================================
   Hero Section (Homepage)
   ========================================================================== */

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px 40px;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-divider-line {
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.hero-divider-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 16px;
}

.hero .highlight {
  color: var(--signal);
}

.hero-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* Search bar */
.hero-search {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
}

.hero-search-input {
  flex: 1;
  padding: 13px 20px;
  font-size: 14px;
  font-family: var(--sans);
  border: 1px solid var(--rule);
  border-right: none;
  border-radius: 6px 0 0 6px;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}

.hero-search-input:focus {
  border-color: var(--ink);
}

.hero-search-input::placeholder {
  color: var(--muted);
}

.hero-search-btn {
  padding: 13px 24px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--sans);
  letter-spacing: 0.3px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.hero-search-btn:hover {
  background: var(--ink-soft);
}

.hero-search-note {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
}

.hero-search-note a {
  color: var(--accent-blue);
  font-weight: 500;
}

@media (max-width: 768px) {
  .hero {
    padding: 36px 16px 24px;
  }

  .hero h1 {
    font-size: 30px;
  }
}

/* ==========================================================================
   Stat Ribbon
   ========================================================================== */

.stat-ribbon {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
}

.stat-item {
  text-align: center;
  padding: 4px 8px;
}

.stat-item:not(:last-child) {
  border-right: 1px solid var(--rule);
}

.stat-value {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}

.stat-value--date {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
}

.stat-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 768px) {
  .stat-ribbon {
    padding: 0 16px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-value {
    font-size: 22px;
  }
}

/* ==========================================================================
   Section Shared Styles
   ========================================================================== */

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px var(--section-gap);
}

.section--padded {
  padding-top: var(--section-gap);
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.section-eyebrow-line {
  height: 1px;
  width: 40px;
  background: var(--signal);
}

.section-eyebrow-text {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--signal);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}

.section h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.section-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-blue);
  letter-spacing: 0.3px;
  text-decoration: none;
  white-space: nowrap;
}

.section-link:hover {
  color: var(--signal);
}

.section-desc {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ==========================================================================
   Product Ecosystem Cards
   ========================================================================== */

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

.product-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  box-shadow: 0 8px 32px rgba(26, 22, 18, 0.08);
  transform: translateY(-2px);
  color: inherit;
}

.product-accent {
  height: 3px;
}

.product-accent--signal { background: var(--signal); }
.product-accent--blue { background: var(--accent-blue); }
.product-accent--ink { background: var(--ink-soft); }

.product-body {
  padding: 24px 24px 20px;
}

.product-role {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.product-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink);
}

.product-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-tag {
  font-size: 11px;
  font-family: var(--mono);
  font-weight: 500;
  padding: 3px 10px;
  background: var(--paper-deep);
  border-radius: 4px;
  color: var(--ink-soft);
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   TLD Table
   ========================================================================== */

.tld-table-wrap {
  background: var(--white);
  border-radius: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tld-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.tld-table thead tr {
  border-bottom: 2px solid var(--ink);
}

.tld-table th {
  padding: 14px 20px;
  text-align: left;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--sans);
  white-space: nowrap;
}

.tld-table td {
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.tld-table tbody tr {
  border-bottom: 1px solid var(--rule);
}

.tld-table tbody tr:last-child {
  border-bottom: none;
}

.tld-table tbody tr:first-child {
  background: var(--paper-deep);
}

.tld-table .tld-name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
}

.tld-table .tld-new {
  color: var(--signal);
}

.tld-table .tld-nonactive {
  color: var(--muted);
}

/* ==========================================================================
   Reports List (Homepage + Archive)
   ========================================================================== */

.reports-list {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
}

.report-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

.report-row:not(:last-child) {
  border-bottom: 1px solid var(--rule);
}

.report-row:hover {
  background: var(--paper-deep);
  color: inherit;
}

.report-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  padding: 4px 10px;
  border-radius: 3px;
  white-space: nowrap;
  min-width: 72px;
  text-align: center;
  flex-shrink: 0;
}

.report-tag--tld { background: var(--ink); }
.report-tag--expired { background: var(--signal); }
.report-tag--nrd { background: var(--accent-blue); }

.report-content {
  flex: 1;
  min-width: 0;
}

.report-content h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 3px;
  color: var(--ink);
}

.report-content p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-date {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .report-row {
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px;
  }

  .report-date {
    display: none;
  }

  .report-content p {
    white-space: normal;
  }
}

/* ==========================================================================
   Capabilities Grid
   ========================================================================== */

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.capability {
  padding: 24px 20px;
  border-top: 2px solid var(--ink);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}

.capability:hover {
  background: var(--paper-deep);
  color: inherit;
}

.capability h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
}

.capability p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */

.cta {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 80px;
}

.cta-inner {
  background: var(--ink);
  border-radius: 10px;
  padding: 56px 48px;
  text-align: center;
}

.cta-inner h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--paper);
  margin: 0 0 12px;
}

.cta-inner p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 auto 28px;
  max-width: 460px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .cta-inner {
    padding: 40px 24px;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-primary {
  display: inline-block;
  padding: 13px 32px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--sans);
  letter-spacing: 0.3px;
  background: var(--signal);
  color: var(--white);
  border: none;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--signal-light);
  color: var(--white);
}

.btn-outline {
  display: inline-block;
  padding: 13px 32px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--sans);
  letter-spacing: 0.3px;
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--muted);
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.btn-outline:hover {
  border-color: var(--paper);
  color: var(--paper);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px 48px;
  border-top: 1px solid var(--rule);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand p {
  font-size: 12px;
  color: var(--muted);
  max-width: 280px;
  line-height: 1.6;
  margin: 8px 0 0;
}

.footer-columns {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col-title {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 6px;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--signal);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
}

.footer-legal a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 20px;
}

.footer-legal a:first-child {
  margin-left: 0;
}

.footer-legal a:hover {
  color: var(--signal);
}

@media (max-width: 768px) {
  .site-footer {
    padding: 24px 16px 40px;
  }

  .footer-columns {
    gap: 32px;
  }
}

/* ==========================================================================
   Single Post / Article
   ========================================================================== */

.article-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 0;
}

.article-breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

.article-breadcrumb a {
  color: var(--muted);
}

.article-breadcrumb a:hover {
  color: var(--signal);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.article-header h1 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.article-date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.article-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.article-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--ink);
}

.article-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--ink);
}

.article-content p {
  margin: 0 0 20px;
}

.article-content a {
  color: var(--accent-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-content a:hover {
  color: var(--signal);
}

.article-content ul,
.article-content ol {
  margin: 0 0 20px 24px;
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content blockquote {
  border-left: 3px solid var(--signal);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--paper-deep);
  color: var(--ink-soft);
  font-style: italic;
}

.article-content pre {
  background: var(--ink);
  color: var(--paper);
  padding: 20px 24px;
  border-radius: 6px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 20px;
}

.article-content code {
  font-family: var(--mono);
  font-size: 13px;
  background: var(--paper-deep);
  padding: 2px 6px;
  border-radius: 3px;
}

.article-content pre code {
  background: none;
  padding: 0;
}

.article-content img {
  border-radius: 6px;
  margin: 24px 0;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.article-content table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid var(--ink);
}

.article-content table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 13px;
}

.article-content table tbody tr:first-child {
  background: var(--paper-deep);
}

/* Related posts */
.related-posts {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px 64px;
  border-top: 1px solid var(--rule);
  padding-top: 40px;
}

.related-posts h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* ==========================================================================
   Archive Pages
   ========================================================================== */

.archive-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 32px;
}

.archive-header h1 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 8px;
}

.archive-header p {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 560px;
  line-height: 1.7;
}

.archive-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 64px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 40px 0 0;
  font-size: 14px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-family: var(--mono);
  transition: all 0.2s;
}

.pagination a {
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--rule);
}

.pagination a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.pagination .current {
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
}

/* ==========================================================================
   Static Pages
   ========================================================================== */

.page-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 0;
}

.page-header h1 {
  font-size: 30px;
  font-weight: 800;
}

.page-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* Inherit article content styles for page content */
.page-content h2,
.page-content h3,
.page-content p,
.page-content a,
.page-content ul,
.page-content ol,
.page-content li,
.page-content blockquote,
.page-content pre,
.page-content code,
.page-content pre code,
.page-content img,
.page-content table,
.page-content table th,
.page-content table td {
  /* Inherits same styles as .article-content counterparts */
}

.page-content h2 { font-size: 22px; font-weight: 700; margin: 40px 0 16px; color: var(--ink); }
.page-content h3 { font-size: 18px; font-weight: 600; margin: 32px 0 12px; color: var(--ink); }
.page-content p { margin: 0 0 20px; }
.page-content ul, .page-content ol { margin: 0 0 20px 24px; }
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li { margin-bottom: 8px; }

/* ==========================================================================
   404 Page
   ========================================================================== */

.error-404 {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.error-404 h1 {
  font-family: var(--mono);
  font-size: 72px;
  font-weight: 700;
  color: var(--rule);
  margin-bottom: 16px;
}

.error-404 h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.error-404 p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.error-404 .error-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.error-404 .error-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-blue);
}

/* ==========================================================================
   Search Results
   ========================================================================== */

.search-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 32px;
}

.search-header h1 {
  font-size: 24px;
  font-weight: 700;
}

.search-header h1 span {
  color: var(--signal);
}

/* ==========================================================================
   Animations (page load stagger)
   ========================================================================== */

.animate-in {
  opacity: 0;
  transform: translateY(20px);
  animation: riseIn 0.7s ease forwards;
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.32s; }
.delay-5 { animation-delay: 0.40s; }
.delay-6 { animation-delay: 0.48s; }
.delay-7 { animation-delay: 0.56s; }
.delay-8 { animation-delay: 0.64s; }
.delay-9 { animation-delay: 0.72s; }

/* ==========================================================================
   WordPress Specific — Gutenberg Blocks
   ========================================================================== */

.wp-block-image {
  margin: 24px 0;
}

.wp-block-table {
  margin: 24px 0;
}

.wp-block-separator {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 40px 0;
}

.wp-block-quote {
  border-left: 3px solid var(--signal);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--paper-deep);
}

.alignwide {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

.screen-reader-text:focus {
  background-color: var(--paper-deep);
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.1);
  clip: auto;
  clip-path: none;
  color: var(--ink);
  display: block;
  font-size: 14px;
  font-weight: 600;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
