/*
Theme Name: Meadowlark Base
Author: Meadowlark IT
Description: Minimal structural theme. Content lives in the DB. Presentation lives here.
Version: 0.1
*/

/* =========================================================
   1. Reset / Base
   ========================================================= */

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

html {
  font-size: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #111;
  background: #fff;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}



.editor-visual-editor {
		width:1200px;
	margin:0 auto;
}



/* =========================================================
   2. Typography
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.25;
  margin: 0 0 0.75em 0;
  font-weight: 600;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.95rem; }

p {
  margin: 0 0 1.25em 0;
  max-width: 65ch;
}

ul,
ol {
  margin: 0 0 1.25em 1.5em;
}

li {
  margin-bottom: 0.5em;
}

a {
  color: inherit;
  text-decoration: underline;
}

a:hover {
  text-decoration-thickness: 2px;
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

/* =========================================================
   3. Layout Shell
   ========================================================= */

.site-header,
.site-footer {
  background: #f5f5f5;
}

.site-header-inner,
.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

#content {
  display: block;
}

/* =========================================================
   4. Sections (core building block)
   ========================================================= */

/* Base section */
.section,
.wp-block-group.is-style-section {
  padding: 4rem 1.5rem;
}

/* Tight section */
.wp-block-group.is-style-section-tight {
  padding: 2rem 1.5rem;
}

/* Dark section */
.wp-block-group.is-style-section-dark {
  padding: 4rem 1.5rem;
  background: #111;
  color: #fff;
}

.wp-block-group.is-style-section-dark a {
  color: #fff;
}

/* Optional visual separation */
.section + .section,
.wp-block-group.is-style-section + .wp-block-group.is-style-section {
  border-top: 1px solid #eee;
}

/* =========================================================
   5. Content Containers
   ========================================================= */

.section > *,
.wp-block-group.is-style-section > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   6. Archive + Post Baselines
   ========================================================= */

.archive-header {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid #eee;
}

.archive-list {
  padding: 2rem 1.5rem;
}

.archive-item {
  margin-bottom: 2rem;
}

.archive-item h2 {
  margin-bottom: 0.25em;
}

.archive-pagination {
  padding: 2rem 1.5rem;
}

/* =========================================================
   7. Utility Helpers (keep small)
   ========================================================= */

.text-center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   8. Editor Orientation (not truth)
   ========================================================= */

/* These help the block editor feel sane without pretending
   to be a perfect front-end mirror */

.editor-styles-wrapper {
  font-family: inherit;
  line-height: inherit;
}

.editor-styles-wrapper .wp-block {
  max-width: none;
}
