﻿/* NaturNest Desk — verification comparison desk */

:root {
  --naturnest-paper: #F2F4F3;
  --naturnest-paper-deep: #E6EBE8;
  --naturnest-ink: #15241F;
  --naturnest-ink-muted: #3E534C;
  --naturnest-line: #C5D0CA;
  --naturnest-accent: #0F6B63;
  --naturnest-accent-soft: #D7EDEA;
  --naturnest-surface: #FFFFFF;
  --naturnest-warning: #8A4B12;
}

body {
  background:
    radial-gradient(1200px 480px at 8% -10%, rgba(15, 107, 99, 0.08), transparent 55%),
    linear-gradient(180deg, var(--naturnest-paper) 0%, var(--naturnest-paper-deep) 100%);
  color: var(--naturnest-ink);
}

/* Independence bar */
.naturnest-independence-bar {
  border-bottom: 1px solid var(--naturnest-line);
}
.naturnest-independence {
  margin: 0;
  max-width: none;
}

/* Header brand weight */
.naturnest-site-header .wp-block-site-title a {
  text-decoration: none;
  color: var(--naturnest-ink);
}
.naturnest-site-header .wp-block-site-title a:hover {
  color: var(--naturnest-accent);
}

/* CTA / buttons */
.wp-element-button,
.wp-block-button__link,
a.button {
  border-radius: 4px !important;
  box-shadow: none !important;
}

/* Tables as primary interaction — scroll on small screens */
.wp-block-table,
figure.wp-block-table,
.entry-content table,
.wp-block-post-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--naturnest-line);
  background: var(--naturnest-surface);
  border-radius: 2px;
}

.wp-block-table table,
.entry-content table,
.wp-block-post-content table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.wp-block-table th,
.entry-content table th,
.wp-block-post-content table th {
  background: var(--naturnest-accent-soft);
  color: var(--naturnest-ink);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 650;
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--naturnest-line);
}

.wp-block-table td,
.entry-content table td,
.wp-block-post-content table td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--naturnest-line);
  vertical-align: top;
}

.wp-block-table tr:last-child td,
.entry-content table tr:last-child td {
  border-bottom: 0;
}

/* Conflict / verification callouts */
.naturnest-conflict,
.has-warning-color {
  color: var(--naturnest-warning);
}

/* Breadcrumbs-ish nav compactness if present */
.wp-block-breadcrumbs,
nav.breadcrumb {
  font-size: 0.85rem;
  color: var(--naturnest-ink-muted);
  margin: 0.5rem 0 1.25rem;
}

/* Search */
.search-form input[type="search"],
.wp-block-search__input {
  border: 1px solid var(--naturnest-line) !important;
  border-radius: 4px !important;
  background: var(--naturnest-surface) !important;
}

/* 404 / empty */
.error404 .wp-block-post-title,
.search-no-results .page-title {
  font-family: "Fraunces", Georgia, serif;
}

/* Footer links */
.naturnest-site-footer a {
  color: #D7EDEA;
  text-underline-offset: 3px;
}
.naturnest-site-footer a:hover {
  color: #ffffff;
}

/* Article rhythm */
.wp-block-post-content > p,
.entry-content > p {
  max-width: 65ch;
}

.wp-block-post-content > .wp-block-table,
.wp-block-post-content > figure.wp-block-table,
.entry-content > .wp-block-table {
  max-width: none;
}

/* Mobile nav / spacing */
@media (max-width: 782px) {
  .naturnest-site-header {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }
  .naturnest-independence {
    font-size: 0.78rem !important;
    line-height: 1.4;
  }
  .wp-block-table table,
  .entry-content table {
    min-width: 480px;
  }
}

/* Reduce card-like chrome if patterns introduce it */
.wp-block-group.has-background:not(.naturnest-independence-bar):not(.naturnest-site-footer) {
  border-radius: 2px;
}

