/*
Theme Name: Dprime
Theme URI: https://dprime.dev/
Author: Dprime
Description: A deliberately bare, fast foundation for sites assembled with Dprime AI.
Version: 0.1.1
Requires at least: 6.5
Requires PHP: 8.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dprime
*/

:root {
  --dprime-content: 72rem;
  --dprime-gutter: clamp(1rem, 3vw, 2rem);
  --dprime-text: #151515;
  --dprime-bg: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--dprime-text);
  background: var(--dprime-bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.dprime-container { width: min(100% - (2 * var(--dprime-gutter)), var(--dprime-content)); margin-inline: auto; }
.dprime-site-header, .dprime-site-footer { padding-block: 1.25rem; }
.dprime-header-inner, .dprime-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dprime-brand { font-weight: 700; text-decoration: none; }
.dprime-nav ul { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.dprime-main { min-height: 60vh; }
.dprime-standard-content { padding-block: clamp(2rem, 6vw, 5rem); }
.dprime-entry + .dprime-entry { margin-top: 3rem; }
.dprime-entry-title { line-height: 1.15; }
.dprime-pagination { margin-top: 3rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
