/*
Theme Name: Minimalist
Theme URI: https://domainsqrl.com/
Author: DomainSqrl
Author URI: https://domainsqrl.com/
Description: A sober, typography-first, no-bloat classic theme inspired by Poema—clean, fast, and timeless.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: minimalist
Tags: one-column, blog, accessibility-ready, custom-logo, editor-style, featured-images, translation-ready
*/

/* CSS Reset (tiny, opinionated) */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }
ul, ol { margin: 0; padding-left: 1.25rem; }

/* Base */
:root {
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --max-w: 70ch;
  --space: 1rem;
  --space-lg: 2rem;
  --radius: 14px;

  --bg: #ffffff;
  --fg: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --link: #0ea5e9;
  --link-hover: #0284c7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f19;
    --fg: #e5e7eb;
    --muted: #94a3b8;
    --border: #1f2937;
    --link: #38bdf8;
    --link-hover: #7dd3fc;
  }
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-lg) var(--space);
}

header.site-header {
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-lg);
}

.site-title a {
  color: var(--fg);
}

.site-description { color: var(--muted); font-size: .95rem; }

nav.primary-nav {
  margin-top: .5rem;
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

nav.primary-nav a {
  color: var(--muted);
  padding: .25rem .5rem;
  border-radius: .5rem;
}

nav.primary-nav a:hover,
nav.primary-nav .current-menu-item > a {
  color: var(--fg);
  background: rgba(100,100,100,0.08);
}

.post, .page {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.post:last-child, .page:last-child { border-bottom: none; }

.post-title a { color: var(--fg); }
.post-meta { color: var(--muted); font-size: .9rem; margin-top: .25rem; }

.entry-content p { margin: .8rem 0; }
.entry-content blockquote {
  margin: 1rem 0;
  padding: .75rem 1rem;
  border-left: 3px solid var(--border);
  background: rgba(100,100,100,0.06);
  border-radius: .5rem;
}

.entry-content pre, .entry-content code, .wp-block-code code {
  font-family: var(--font-mono);
  font-size: .95rem;
}
.entry-content pre {
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: .75rem;
  overflow-x: auto;
}

.wp-caption-text, figcaption { color: var(--muted); font-size: .9rem; }

.pagination { display: flex; gap: .5rem; }
.pagination a, .pagination span {
  padding: .4rem .6rem;
  border: 1px solid var(--border);
  border-radius: .5rem;
  color: var(--muted);
}
.pagination a:hover { color: var(--fg); }

footer.site-footer {
  border-top: 1px solid var(--border);
  margin-top: var(--space-lg);
  padding-top: var(--space);
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
}

/* Forms */
input, textarea, select, button {
  font: inherit;
  color: inherit;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: .6rem;
  padding: .55rem .7rem;
}
input:focus, textarea:focus, select:focus, button:focus {
  outline: 2px solid var(--link);
  outline-offset: 1px;
}

/* Comments */
.comment-list { list-style: none; padding-left: 0; }
.comment { border-top: 1px solid var(--border); padding-top: 1rem; margin-top: 1rem; }
.comment-meta { color: var(--muted); font-size: .9rem; }
.comment-reply-link { color: var(--link); }
*/

