/*
Theme Name: GardenFizz
Description: Garden blog with category archives and editable gardening quizzes.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: gardenfizz
*/

:root{--ink:#20392b;--muted:#52664f;--cream:#fbf8ef;--line:#d5ddcd;--green:#193b2d}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.55 system-ui,sans-serif}a{color:inherit}button{font:inherit;cursor:pointer}a:focus-visible,button:focus-visible{outline:3px solid #9f481e;outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3,.brand{font-family:Georgia,serif}h2{font-size:clamp(2rem,5vw,3.5rem);line-height:1.05;letter-spacing:-.035em}h3{font-size:1.45rem;line-height:1.17}.wrap{width:min(1120px,calc(100% - 40px));margin:auto}.top{border-bottom:1px solid var(--line)}.top .wrap,footer .wrap{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;padding-block:20px}.brand{font-size:1.5rem;font-weight:bold;text-decoration:none}.brand span{color:#ac4f36}nav{display:flex;gap:22px;font-size:.9rem}nav a{text-decoration:none}.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(28px,6vw,85px);padding-block:clamp(44px,7vw,88px)}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:.72rem;font-weight:750;margin-bottom:12px}.hero h1{font-size:clamp(3.4rem,8vw,7rem);line-height:.93;letter-spacing:-.075em}.hero p:not(.eyebrow){max-width:32ch;margin:19px 0 25px;font-size:1.17rem;color:var(--muted)}.hero svg{display:block;width:100%;height:auto;border-radius:150px 150px 18px 18px}.actions{display:flex;align-items:center;gap:17px;flex-wrap:wrap}.button{display:inline-block;border:1px solid var(--green);border-radius:7px;background:var(--green);color:white;padding:10px 16px;text-decoration:none;font-weight:650}.link{font-weight:650;text-underline-offset:4px}.quizzes{background:#e6edda}.section{padding-block:clamp(44px,6vw,70px)}.lead{color:var(--muted);margin:12px 0 25px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{border:1px solid var(--line);background:var(--cream);border-radius:13px;overflow:hidden;display:flex;flex-direction:column}.card svg{width:100%;height:137px;object-fit:cover;display:block;background:#efe1bd}.card .inner{padding:18px;display:flex;align-items:flex-start;flex-direction:column;flex:1}.card .inner p:not(.eyebrow){color:var(--muted);margin:8px 0 16px;flex:1}.card button{margin-top:auto}.quiz-panel{max-width:720px;border:1px solid var(--line);background:var(--cream);border-radius:12px;padding:clamp(18px,4vw,34px)}.quiz-panel p:not(.eyebrow){margin-top:12px}.options{display:grid;gap:8px;margin:16px 0}.option{padding:10px;text-align:left;background:#fff;border:1px solid #839482;border-radius:6px;color:var(--ink)}.option[aria-pressed=true]{background:#d8e6cf;border-color:var(--green)}.quiz-panel .actions{margin-top:18px}.secondary{background:transparent;color:var(--green)}.blog .card{background:#fffdf8}.blog .inner{padding:22px}.blog .eyebrow{color:#78533a}footer{background:var(--green);color:#fff8e5}footer .brand span{color:#ffc49d}[hidden]{display:none!important}@media(max-width:730px){.hero{grid-template-columns:1fr;gap:24px}.hero svg{max-height:320px}.grid{grid-template-columns:1fr}.card svg{height:145px}}@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}

.hero{padding-block:clamp(35px,5vw,64px);border-bottom:1px solid var(--line)}.hero svg{max-height:320px;background:#e9aa85}.quizzes{background:transparent}.section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:24px}.section-head .lead{max-width:30ch;margin:0}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.card{display:grid;grid-template-columns:minmax(95px,34%) minmax(0,1fr);background:#fffdf7}.card svg{height:100%;min-height:165px;object-fit:cover}.card .inner{padding:17px}.card .eyebrow{color:#69573c;margin-bottom:6px}.card:first-child{grid-column:1/-1;grid-template-columns:minmax(120px,42%) minmax(0,1fr);background:#f4e8d4}.card:first-child svg{max-height:210px}.card:first-child .inner{justify-content:center;padding:clamp(18px,3vw,32px)}.card:first-child .inner p:not(.eyebrow){flex:0}.card:first-child button{margin-top:0}.quiz-panel{margin-top:20px;background:#ecf0e2}.blog{border-top:1px solid var(--line)}.reading{border-top:1px solid var(--line)}.reading details{border-bottom:1px solid var(--line);scroll-margin-top:18px}.reading summary{padding:15px 0;cursor:pointer}.reading summary span{display:inline-block}.reading .eyebrow{width:12rem;margin:0 10px 0 4px;color:#78533a}.guide-title{font:700 1.24rem Georgia,serif}.reading details p{max-width:65ch;margin:0 0 18px 20px;color:var(--muted)}@media(max-width:730px){.section-head{display:block}.section-head .lead{margin-top:10px}.grid{grid-template-columns:1fr}.card:first-child{grid-column:auto;grid-template-columns:minmax(95px,34%) minmax(0,1fr)}.card:first-child svg{max-height:none}.reading .eyebrow{width:auto;margin-right:10px}}@media(max-width:380px){.wrap{width:calc(100% - 26px)}.card,.card:first-child{grid-template-columns:1fr}.card svg,.card:first-child svg{height:100px;min-height:0}.card .inner{padding:14px}}



nav a[aria-current="page"]{font-weight:750;text-decoration:underline;text-underline-offset:5px}#quizzes h1{font:700 clamp(2.4rem,6vw,4.5rem)/1.05 Georgia,serif;letter-spacing:-.045em}.hero+.blog{border-top:0}.category-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.category-filters button{padding:7px 13px;border-radius:999px;border:1px solid #839482;background:#fffdf7;color:var(--green);font-size:.87rem;font-weight:650}.category-filters button[aria-pressed="true"]{background:var(--green);border-color:var(--green);color:#fff}.post-count{font-size:.87rem;color:var(--muted);margin-bottom:14px}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.post-card{background:#fffdf7;border:1px solid var(--line);border-radius:12px;overflow:hidden}.post-card svg{display:block;width:100%;height:142px;object-fit:cover;background:#e7dcc4}.post-copy{padding:17px}.post-copy .eyebrow{color:#78533a}.post-copy summary{margin-top:12px;color:var(--green);cursor:pointer;font-weight:650}.post-copy details p{margin-top:8px;color:var(--muted)}@media(max-width:780px){.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:475px){.post-grid{grid-template-columns:1fr}}

.site-brand{display:inline-flex;align-items:center}.site-brand img,.custom-logo-link img{width:clamp(145px,29vw,200px);height:auto;display:block}.top .wrap{padding-block:10px;min-height:64px}footer .site-name{color:#fff8e5}.category-filters a{display:inline-block;padding:7px 13px;border-radius:999px;border:1px solid #839482;background:#fffdf7;color:var(--green);font-size:.87rem;font-weight:650;text-decoration:none}.category-filters a[aria-current]{background:var(--green);border-color:var(--green);color:#fff}.post-cover{display:block;width:100%;height:160px;object-fit:cover}.post-copy h2{font-size:1.45rem;line-height:1.2;letter-spacing:0}.post-copy a{text-underline-offset:3px}.post-copy p:not(.eyebrow){margin-top:10px;color:var(--muted)}.post-copy .eyebrow a{display:inline-block;margin-right:7px}.post-pagination{margin-top:25px}.entry{max-width:760px;padding-block:50px;overflow-wrap:anywhere}.entry h1,.archive-title{font-size:clamp(2.3rem,6vw,4rem);line-height:1.05}.entry-content{margin-top:24px;text-align:start}.entry-content p,.entry-content ul,.entry-content ol{margin-block:0 1em}.entry-content h2,.entry-content h3{margin:1em 0 .4em}.entry-content h2{font-size:2rem}.entry img{max-width:100%;height:auto}.post-date{display:block;margin-top:8px;color:var(--muted);font-size:.88rem}.quiz-panel{scroll-margin-top:20px}.skip-link{position:absolute;left:1rem;top:-6rem;background:white;padding:8px;z-index:99}.skip-link:focus{top:1rem}.empty{margin-top:18px;color:var(--muted)}
.hero-image{display:block;width:100%;height:auto;max-height:320px;object-fit:cover;border-radius:150px 150px 18px 18px}.quiz-art{display:block;width:100%;height:100%;min-height:165px;object-fit:cover}.card:first-child .quiz-art{max-height:210px}.category-filters{margin-top:20px}.quiz-panel .option:disabled{cursor:default}@media(max-width:380px){.quiz-art,.card:first-child .quiz-art{height:100px;min-height:0}}
.quiz-card-title{font-size:1.45rem;line-height:1.17;letter-spacing:0}

/* GardenFizz visual refresh */
:root{--ink:#243e31;--muted:#4d6253;--cream:#faf8ef;--line:#dce5d4;--green:#234e3b}
.top{background:#fffdf6}
.top .wrap{min-height:74px;gap:.65rem 1rem}
.top nav{gap:.3rem}
.top nav a{padding:.5rem .75rem;border-radius:999px}
.top nav a:hover,.top nav a[aria-current]{background:#e6eedc;text-decoration:none}
.hero{margin-top:clamp(12px,3vw,32px);border:1px solid var(--line);border-radius:24px;background:#ecf1e2;padding:clamp(22px,5vw,56px);gap:clamp(18px,5vw,56px)}
.hero h1{font-size:clamp(2.55rem,7vw,5.75rem);letter-spacing:-.055em}
.hero-image{border-radius:45% 45% 12px 12px;max-height:280px}
.button{border-radius:999px;padding:.65rem 1rem}
.button:hover{background:#33674d;border-color:#33674d}
#quizzes .section-head{padding:clamp(18px,4vw,34px);background:#e8eedb;border-radius:20px}
#quiz-list{gap:clamp(14px,2vw,22px)}
#quiz-list .card{border-radius:17px;box-shadow:0 8px 22px #193b2d0b}
#quiz-list .card:first-child{background:#fff5e3}
#quiz-list .card .inner{gap:4px}
.quiz-card-title a,.post-copy h2 a{text-decoration:none}
.quiz-card-title a:hover,.post-copy h2 a:hover{text-decoration:underline}
.post-grid{gap:clamp(14px,2vw,22px)}
.post-card{border-radius:17px;background:#fffdf8;box-shadow:0 6px 20px #193b2d0b}
.quiz-page{max-width:920px}
.quiz-crumb{margin-bottom:16px;font-size:.92rem}
.quiz-intro{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);align-items:center;gap:20px;padding:clamp(20px,4vw,42px);border-radius:20px;background:#e8eedb}
.quiz-intro img{display:block;width:100%;height:auto;border-radius:14px}
.quiz-intro h1{font-size:clamp(2.1rem,5.5vw,4rem);line-height:1.08;letter-spacing:-.035em}
.quiz-panel{max-width:none;background:#fffdf8}
.quiz-panel h2{font-size:clamp(1.35rem,4vw,2rem);letter-spacing:0;line-height:1.2}
.option:hover:not(:disabled){background:#edf3e5}
@media(max-width:620px){
 .wrap{width:calc(100% - 28px)}
 .top nav a{padding:.42rem .55rem}
 .hero,.quiz-intro{grid-template-columns:1fr}
 .hero-image,.quiz-intro img{max-height:185px;object-fit:cover}
 #quiz-list .card,#quiz-list .card:first-child{grid-template-columns:1fr}
 #quiz-list .quiz-art,#quiz-list .card:first-child .quiz-art{height:clamp(116px,33vw,170px);min-height:0}
}
