/*
Theme Name: Momspirational
Version: 1.2.1
Description: A parenting journal for the early years.
*/
:root{--forest:#354b3c;--cream:#fbf7f0;--sage:#dce4d5;--rose:#e7b8a9;--gold:#eacf9c;--line:#cfcabf}*{box-sizing:border-box}body{margin:0;color:var(--forest);background:var(--cream);font:17px/1.55 'DM Sans',Arial,sans-serif}header{border-bottom:1px solid var(--line)}.mast,main,footer{max-width:1360px;margin:auto;padding-inline:clamp(20px,5vw,80px)}.mast,footer,nav,.actions,.chips,.bar{display:flex;align-items:center;gap:1.3rem}.mast{min-height:82px;justify-content:space-between}.brand,h1,h2,h3,summary,.sectionnav{font-family:'Playfair Display',Georgia,serif}.brand{font-size:clamp(27px,3vw,43px);font-weight:700;letter-spacing:-.07em}.brand span{color:#a45143}a{color:inherit;text-underline-offset:4px}header a,footer .brand,.btn,.card,.sectionnav{text-decoration:none}header nav a{font-size:15px}.searchlink{font-size:15px;border:1px solid #899584;border-radius:2em;padding:6px 20px}.mast nav a:hover,.mast a[aria-current],footer a:hover{text-decoration:underline}#menu{display:none}.skip{position:absolute;left:8px;top:-90px}.skip:focus{top:8px;z-index:5;background:white;padding:10px}.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:5vw;padding-block:clamp(32px,5vw,72px)}.hero figure{margin:0;aspect-ratio:1.22;overflow:hidden;border-radius:48% 48% 5px 5px;background:var(--sage)}.hero img{width:100%;height:100%;object-fit:cover}.eyebrow,.meta{font-size:.8rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.eyebrow{color:#626d55}.hero h1,h1{font-weight:400;line-height:1.01;letter-spacing:-.055em;font-size:clamp(52px,7vw,105px);margin:.22em 0}.hero h1 em{color:#8a5446;display:block}h2,h3{font-weight:400;line-height:1.13;letter-spacing:-.035em}h2{font-size:clamp(32px,4vw,56px);margin:0 0 1rem}h3,summary{font-size:clamp(24px,2.3vw,34px);margin:.4em 0}.lead{font-size:clamp(18px,1.7vw,23px);max-width:53ch}.actions,.chips,.bar{flex-wrap:wrap}.btn,button{color:white;background:var(--forest);border:1px solid var(--forest);border-radius:2em;padding:10px 22px;font:inherit;cursor:pointer}.actions{margin-top:26px}.band,.panel{padding:clamp(22px,3vw,42px);border-radius:6px;background:var(--sage)}.band{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.band h2{font-size:1.7rem;margin:0}.chips{gap:8px}.chips a,.pill{border:1px solid #83917e;padding:7px 17px;border-radius:3em;color:inherit;text-decoration:none;font-size:.92rem}.chips a:hover{background:var(--forest);color:white}.block{margin:clamp(36px,5vw,72px) 0}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{display:block;padding:24px;background:#efe5d7;border-top:3px solid #ba9270}.card:nth-child(3n+2){background:#e2e8dc;border-color:#84977b}.card:nth-child(3n){background:#f3e1db;border-color:#ba8a7e}.card:hover h3{text-decoration:underline}.card p{margin-bottom:0}.meta{font-size:.78rem}.pagehead{padding:50px 0 20px}.pagehead h1,.article h1{font-size:clamp(44px,6vw,82px)}.article{max-width:760px;margin:48px auto 75px}.article h2{font-size:2rem;margin-top:1.3em}.article p{line-height:1.7}.article .meta{margin:20px 0}.panel p{max-width:65ch}.filters{display:flex;gap:12px;flex-wrap:wrap;align-items:end;background:var(--sage);padding:20px;border-radius:5px}label{display:grid;gap:4px;font-size:.9rem;font-weight:600}input,select,textarea{font:inherit;color:var(--forest);background:#fffdf8;border:1px solid #90998a;border-radius:4px;padding:10px;max-width:100%}.filters label:first-child{flex:2 1 180px}.filters label{flex:1 1 125px}.filters select{width:100%}.count{font-size:.9rem}.stack details{border-top:1px solid var(--line);padding:12px 0}.stack details p{max-width:70ch}.stack details p strong{display:block}summary{cursor:pointer;font-size:1.55rem}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:18px}.twocol .panel:last-child{background:#eedac3}footer{border-top:1px solid var(--line);padding-block:32px;justify-content:space-between;flex-wrap:wrap}footer p{margin:0}footer nav{flex-wrap:wrap;font-size:15px}.source{overflow-wrap:anywhere}.skip:focus-visible,:focus-visible{outline:3px solid #924b39;outline-offset:3px}[hidden]{display:none!important}main{min-height:65vh}main:focus{outline:none}#results{margin-bottom:45px}.muted{color:#556252}.site-form{display:grid;gap:15px;max-width:34rem}.site-form button{justify-self:start}.site-form .check{display:flex;align-items:baseline;gap:8px}
@media(max-width:920px){.mast{flex-wrap:wrap;gap:12px;padding-block:12px;min-height:65px}.mast .brand{margin-right:auto}#menu{display:block;background:transparent;color:inherit;padding:5px 15px;font-size:15px}.mast nav{display:none;width:100%;order:3;flex-wrap:wrap}.mast nav.open{display:flex}.grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.hero,.twocol,.grid{grid-template-columns:1fr}.hero{gap:24px}.hero figure{aspect-ratio:1.6}.brand{font-size:30px}.searchlink{padding:5px 12px}.hero h1{font-size:58px}.band{display:block}.band h2{margin-bottom:1rem}.pagehead{padding-top:30px}.card{padding:20px}}
.pagebody{display:grid;gap:1.3rem;margin:1rem 0 4rem}.pagebody .panel h2{font-size:clamp(1.65rem,3vw,2.6rem)}.pagebody fieldset{border:0;padding:0}.tick{display:flex;align-items:center;padding:.4rem 0;gap:.6rem}.tick input{width:1.1rem;height:1.1rem}.pagebody .card{height:100%}footer nav{max-width:55rem}.pagebody details p{line-height:1.7}
main{padding-bottom:3rem}.article img{max-width:100%;height:auto}footer nav{max-width:58rem}.pagehead h1:empty{display:none}.search-form{display:flex;align-items:end;gap:0.5rem;flex-wrap:wrap}.wp-block-image img{max-width:100%;height:auto}
:root {
  --forest: #233f34;
  --cream: #fcfaf5;
  --sage: #e5ecdf;
  --line: #d8d9ce;
  --berry: #853c49;
}
body { color: var(--forest); background: var(--cream); }
header { background: #fffef9; border-bottom: 1px solid var(--line); }
.mast, main, footer { max-width: 1440px; padding-inline: clamp(1rem, 4.5vw, 5rem); }
.mast { gap: 1rem; }
.brand { font-weight: 600; letter-spacing: -.072em; }
.brand span { color: #a74c5a; }
.mast nav { gap: clamp(.65rem, 1.4vw, 1.5rem); }
.mast nav a, .searchlink, #menu { display: inline-flex; align-items: center; min-height: 44px; }
#menu { display: none; }
.searchlink { gap: .55em; border-color: #adb9aa; }
.searchlink::before { content: ''; width: .7em; height: .7em; border: 1.7px solid; border-radius: 50%; box-shadow: 4px 5px 0 -4px currentColor; }
.hero {
  position: relative; isolation: isolate; overflow: hidden; gap: clamp(1rem, 4vw, 4rem);
  grid-template-columns: 1.04fr 1fr; margin-block: clamp(1rem, 2vw, 2.5rem) 0;
  padding: clamp(1.5rem, 4vw, 4rem); border-radius: 1.6rem;
  background: radial-gradient(ellipse at 83% 80%, #f1d8c2, transparent 53%), #f4e7dd;
}
.hero figure { position: relative; isolation: isolate; width: 100%; margin: 0; overflow: visible; background: transparent; border-radius: 0; aspect-ratio: 1.18; }
.hero figure::before { content: ''; position: absolute; inset: 5% -2% -2% 4%; border-radius: 45% 45% 8% 8%; background: #ccaa82; transform: rotate(4deg); z-index: -1; }
.hero img { display: block; border: 6px solid #fffcf2; border-radius: 45% 45% 7% 7%; transform: rotate(-2deg); box-shadow: 0 10px 25px #4d361920; }
.hero .eyebrow { color: #64483e; letter-spacing: .14em; }
.hero h1 { font-size: clamp(3.25rem, 6vw, 6.6rem); line-height: .99; margin-block: .28em; }
.hero h1 em { color: var(--berry); }
.hero .lead { font-size: clamp(1rem, 1.45vw, 1.28rem); max-width: 40ch; }
.actions { gap: .85rem 1.25rem; }
.actions a { display: inline-flex; min-height: 44px; align-items: center; }
.btn, button, .search-submit { background: var(--forest); border-color: var(--forest); color: white; }
.btn:hover, button:hover, .search-submit:hover { background: #345843; color: white; }
.band { border-radius: 1.15rem; background: var(--forest); color: #fffdf2; padding: 1.2rem clamp(1.25rem, 3vw, 3rem); }
.hero + .band { margin-top: .75rem; }
.chips a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.band .chips a { background: #f2f3e3; border-color: transparent; color: #254131; }
.band .chips a:hover { background: #f4d6ac; color: #254131; }
.grid,.twocol { gap: clamp(.9rem, 2vw, 1.7rem); }
.card { border: 1px solid #dfd7c8; border-radius: 1rem; padding: clamp(1.3rem, 2.4vw, 2.3rem); background: #f4ebdc; }
.card:nth-child(3n+2) { background: #e7edde; border-color: #cbd7c0; }
.card:nth-child(3n) { background: #f6e6e2; border-color: #e1cbc4; }
.card .meta { display: inline-block; color: #425141; margin-bottom: .4rem; }
.card h3 { font-size: clamp(1.6rem, 2.6vw, 2.45rem); }
.card:hover { box-shadow: 0 5px 18px #28372812; border-color: #768773; }
.panel { border-radius: 1rem; }
.twocol .panel:has(a[download]) { overflow: hidden; position: relative; padding-right: 40%; min-height: 15rem; background: #e2eadb; }
.twocol .panel:has(a[download])::after {
  content: ''; position: absolute; width: 32%; aspect-ratio: 210 / 297; top: 22%; right: 3%;
  background: white center / cover no-repeat; box-shadow: 0 3px 12px #283a2726; transform: rotate(6deg); pointer-events: none;
}
.twocol .panel:has(a[download*="routine"])::after { background-image: url('images/routine-preview.png'); }
.twocol .panel:has(a[download*="emotion"]) { background: #f4dfcf; }
.twocol .panel:has(a[download*="emotion"])::after { background-image: url('images/emotions-preview.png'); transform: rotate(-5deg); }
.panel a[download] { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.pagehead { border-bottom: 1px solid var(--line); margin-bottom: 1.6rem; }
.pagehead .lead { margin-bottom: .5rem; }
.pagehead h1 { max-width: 23ch; }
.article { max-width: 43rem; font-size: 1.13rem; }
.article p { line-height: 1.75; }
.filters { border-radius: 1rem; background: #e5ecdf; }
input,select,textarea,.search-submit { min-height: 44px; }
.stack details { background: #fffefa; border: 1px solid var(--line); border-radius: .8rem; margin: .65rem 0; padding: .2rem 1.3rem; }
.stack summary { padding: .65rem 0; min-height: 44px; }
.stack details[open] { background: #f0f4ec; }
#site-search { scroll-margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 2rem; }
footer { align-items: flex-start; gap: 1.5rem 3rem; background: #233f34; color: #fffdf2; padding-block: 2.8rem; }
footer .brand span { color: #eab4a4; }
footer nav { flex: 1 1 25rem; gap: .1rem 1.35rem; }
footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
:focus-visible { outline: 3px solid #966000; outline-offset: 3px; }
footer :focus-visible,.band :focus-visible { outline-color: #fcd98e; }
@media(max-width:1050px) {
  .mast { flex-wrap: wrap; min-height: 70px; padding-block: .55rem; }
  .mast .brand { margin-right: auto; }
  #menu { display: inline-flex; background: transparent; color: var(--forest); padding: .3rem .9rem; }
  .mast nav { display: none; width: 100%; order: 3; }
  .mast nav.open { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 .8rem; border-top: 1px solid var(--line); }
  .mast nav a { padding: .25rem .5rem; }
}
@media(max-width:720px) {
  .hero,.twocol,.grid { grid-template-columns: 1fr; }
  .hero { padding: 1.6rem 1.35rem 1.35rem; gap: 1rem; }
  .hero figure { aspect-ratio: 1.95; width: 94%; justify-self: center; }
  .hero img,.hero figure::before { border-radius: 4rem 4rem .75rem .75rem; }
  .hero h1 { font-size: clamp(2.8rem, 10vw, 4.4rem); }
  .band { display: grid; gap: .7rem; }
  .band h2 { margin: 0; }
  .twocol .panel:has(a[download]) { min-height: 11rem; }
  .hero .actions { margin-top: .8rem; }
  .mast { gap: .45rem; }
}
@media(max-width:370px) {
  .mast .brand { font-size: 1.6rem; }
  .mast { padding-inline: .65rem; }
  .searchlink { padding-inline: .65rem; }
}

.nursery-feature{background:#f2e1d4;margin-block:1.5rem}.nursery-feature a{display:inline-flex;align-items:center;min-height:44px;font-weight:600}
