/*
Theme Name: Clever Curl
Description: Lightweight, minimal classic theme for clevercurl.site. Built to host EBC Page Builder content and EBC Template Parts.
Author: Ethical Brand Co
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: clever-curl
*/

:root {
  --cc-text: #1f1f1f;
  --cc-muted: #6b6b6b;
  --cc-bg: #ffffff;
  --cc-accent: #7a3e9d;
  --cc-border: #e7e7e7;
  --cc-width: 1100px;
  --cc-narrow: 720px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cc-bg);
  color: var(--cc-text);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
img, video { max-width: 100%; height: auto; }
a { color: var(--cc-accent); }
h1, h2, h3, h4 { line-height: 1.2; margin: 1.4em 0 .5em; }
h1 { font-size: 2.2rem; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.cc-wrap { max-width: var(--cc-width); margin: 0 auto; padding: 0 20px; }
.cc-narrow { max-width: var(--cc-narrow); margin: 0 auto; padding: 0 20px; }

/* Header */
.cc-header { border-bottom: 1px solid var(--cc-border); }
.cc-header .cc-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; flex-wrap: wrap; }
.cc-brand { font-size: 1.3rem; font-weight: 700; text-decoration: none; color: var(--cc-text); }
.cc-brand img { display: block; max-height: 48px; width: auto; }
.cc-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.cc-nav a { text-decoration: none; color: var(--cc-text); }
.cc-nav a:hover, .cc-nav .current-menu-item > a { color: var(--cc-accent); }

/* Content */
.cc-main { padding: 40px 0; }
.cc-main.cc-fullwidth { padding: 0; }
.cc-entry { margin-bottom: 48px; }
.cc-entry-title a { color: inherit; text-decoration: none; }
.cc-meta { color: var(--cc-muted); font-size: .9rem; }
.cc-pagination { display: flex; justify-content: space-between; margin-top: 32px; }

/* Footer (fallback; replaced by an EBC Template Part when one is assigned) */
.cc-footer { border-top: 1px solid var(--cc-border); padding: 32px 0; color: var(--cc-muted); font-size: .9rem; }
