/*
Theme Name: Godspace Recovery
Theme URI: https://godspace-msa.com/
Author: Godspace Recovery Project
Description: A lightweight, responsive theme for the Godspace spirituality and creation-care site.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: godspace-recovery
*/

:root{--ink:#233126;--muted:#5c6b60;--paper:#fbfaf6;--green:#315a40;--green-dark:#244732;--line:#e1e4dc;--warm:#f1efe5;--serif:Georgia,"Times New Roman",serif;--sans:system-ui,-apple-system,"Segoe UI",sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.72 var(--sans)}
a{color:var(--green-dark);text-decoration-thickness:.08em;text-underline-offset:.18em}
a:hover{color:#173422;text-decoration-thickness:.13em}
img{max-width:100%;height:auto}
.site-header{border-bottom:1px solid var(--line);background:#fff}
.header-inner,.main-inner,.footer-inner{width:min(1120px,calc(100% - 40px));margin-inline:auto}
.header-inner{min-height:100px;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:18px 0}
.brand{min-width:220px}
.site-title{display:inline-block;margin:0;color:var(--green-dark);font:700 34px/1.08 var(--serif);letter-spacing:.01em;text-decoration:none}
.site-description{margin:7px 0 0;color:var(--muted);font-size:14px;letter-spacing:.025em}
.primary-nav ul{display:flex;flex-wrap:wrap;gap:8px 22px;align-items:center;justify-content:flex-end;margin:0;padding:0;list-style:none}
.primary-nav a{color:var(--ink);font-size:14px;font-weight:650;text-decoration:none}
.primary-nav a:hover{color:var(--green)}
.header-tools{display:flex;align-items:center;gap:16px}
.search-form{display:flex;gap:6px;align-items:center}
.search-form input[type=search]{width:150px;border:1px solid var(--line);border-radius:5px;padding:8px 10px;background:#fff;font:inherit;font-size:14px}
.search-form button,.button{border:0;border-radius:5px;background:var(--green);color:white;padding:9px 13px;font:600 14px var(--sans);cursor:pointer}
.search-form button:hover,.button:hover{background:var(--green-dark);color:#fff}
.main-inner{padding-top:50px;padding-bottom:72px}
.page-heading{margin-bottom:32px;padding-bottom:22px;border-bottom:1px solid var(--line)}
.eyebrow{margin:0 0 9px;color:var(--green);font-size:12px;font-weight:750;letter-spacing:.13em;text-transform:uppercase}
h1,h2,h3,h4{color:var(--ink);font-family:var(--serif);line-height:1.22}
h1{font-size:clamp(34px,5vw,52px);margin:0 0 12px}
h2{font-size:clamp(25px,3vw,34px)}
.page-heading p{max-width:720px;margin:0;color:var(--muted)}
.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.post-card{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:8px}
.post-card .card-image{display:block;background:var(--warm);line-height:0}
.post-card .card-image img{display:block;width:100%;height:auto}
.post-card .card-body{padding:21px 22px 23px}
.post-meta{display:flex;flex-wrap:wrap;gap:5px 10px;color:var(--muted);font-size:13px}
.post-card h2{font-size:23px;margin:9px 0}
.post-card h2 a{color:var(--ink);text-decoration:none}
.post-card h2 a:hover{color:var(--green)}
.post-card p{margin:0;color:#4c5b51;font-size:15px}
.post-card .read-more{display:inline-block;margin-top:15px;font-weight:700;font-size:14px}
.breadcrumb{margin:0 0 22px;color:var(--muted);font-size:13px}
.breadcrumb ol{display:flex;flex-wrap:wrap;gap:7px;margin:0;padding:0;list-style:none}
.breadcrumb li+li:before{content:"/";margin-right:7px;color:#9aa399}
.article{max-width:820px;margin-inline:auto}
.article-header{margin:0 0 30px;padding:0 0 20px;border-bottom:1px solid var(--line)}
.article-header h1{max-width:780px}
.article-byline{margin:12px 0 0;color:var(--muted);font-size:14px}
.article-summary{margin:0 0 28px;padding:16px 20px;border-left:3px solid #9cac8e;background:#f4f4ec;color:#354b3c;font-size:18px}
.featured-image{margin:0 0 30px}
.featured-image img{display:block;width:100%;height:auto;border-radius:7px}
.featured-image figcaption{margin-top:8px;color:var(--muted);font-size:12px;line-height:1.5}
.entry-content{font-family:var(--serif);font-size:19px;line-height:1.8}
.entry-content h2,.entry-content h3{margin-top:1.7em}
.entry-content blockquote{margin:1.5em 0;padding:8px 22px;border-left:3px solid #a4b29a;color:#46564a}
.entry-content ul,.entry-content ol{padding-left:1.4em}
.entry-content hr{border:0;border-top:1px solid var(--line);margin:2.5em 0}
.related-posts{margin-top:50px;padding-top:24px;border-top:1px solid var(--line)}
.related-posts h2{font-size:25px}
.related-posts ul{padding-left:20px}
.post-pagination{display:flex;justify-content:space-between;gap:12px;margin-top:36px}
.post-pagination a,.post-pagination span{padding:9px 13px;border:1px solid var(--line);border-radius:5px;background:#fff}
.post-pagination .current{background:var(--green);border-color:var(--green);color:#fff}
.empty-state,.not-found{max-width:720px;padding:24px;border:1px solid var(--line);border-radius:8px;background:#fff}
.site-footer{border-top:1px solid var(--line);background:#f4f3ed;color:var(--muted)}
.footer-inner{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding:24px 0;font-size:13px}
.footer-inner p{margin:0}
.footer-nav ul{display:flex;flex-wrap:wrap;gap:8px 16px;margin:0;padding:0;list-style:none}
.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}
.screen-reader-text:focus{clip:auto;width:auto;height:auto;margin:8px;padding:10px;background:white;z-index:9999}
@media(max-width:850px){.header-inner{align-items:flex-start;flex-wrap:wrap}.header-tools{width:100%;justify-content:space-between}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){body{font-size:16px}.header-inner,.main-inner,.footer-inner{width:min(calc(100% - 28px),1120px)}.header-inner{gap:16px}.site-title{font-size:30px}.primary-nav{width:100%}.primary-nav ul{justify-content:flex-start;gap:8px 15px}.header-tools{align-items:flex-start;flex-direction:column}.search-form input[type=search]{width:min(65vw,260px)}.main-inner{padding-top:34px;padding-bottom:50px}.post-grid{grid-template-columns:1fr;gap:17px}.post-card .card-body{padding:18px}.entry-content{font-size:18px}.article-summary{font-size:16px}.footer-inner{flex-direction:column}}
