/*
Theme Name: Simple Content
Theme URI: https://draweasy.local
Description: Blank canvas theme. No site header or footer — only the page content, with comfortable spacing. Uses the classic editor and expects ACF Pro.
Version: 1.0.0
Author: Draw Easy
Text Domain: simple-content
Requires at least: 6.0
Requires PHP: 7.4
*/

:root {
  --content-max: 42rem;
  --ink: #1c1917;
  --muted: #57534e;
  --line: #e7e5e4;
  --paper: #f7f6f3;
  --link: #1d4ed8;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 1.125rem;
  line-height: 1.75;
}

.site-content {
  width: min(100% - 3rem, var(--content-max));
  margin-inline: auto;
  padding-block: 3.5rem 5rem;
}

.entry + .entry {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.entry-title {
  margin: 0 0 1.5rem;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content pre,
.entry-content table,
.entry-content figure,
.entry-content hr {
  margin: 0 0 1.35rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin: 2.25rem 0 0.75rem;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.entry-content h2 { font-size: 1.6rem; }
.entry-content h3 { font-size: 1.3rem; }
.entry-content h4 { font-size: 1.1rem; }

.entry-content ul,
.entry-content ol {
  padding-left: 1.4rem;
}

.entry-content li + li {
  margin-top: 0.45rem;
}

.entry-content a {
  color: var(--link);
  text-underline-offset: 0.15em;
}

.entry-content blockquote {
  margin-left: 0;
  padding: 0.15rem 0 0.15rem 1.1rem;
  border-left: 3px solid #d6d3d1;
  color: var(--muted);
}

.entry-content img,
.entry-content video,
.entry-content iframe {
  max-width: 100%;
  height: auto;
}

.entry-content img {
  border-radius: 8px;
}

.entry-content pre {
  overflow: auto;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.entry-empty {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 640px) {
  .site-content {
    width: min(100% - 2rem, var(--content-max));
    padding-block: 2.25rem 3.5rem;
  }
}
