/*
Theme Name: Grocery Finds Daily
Description: A lightweight newsroom theme for U.S. grocery reporting, price checks and shopping guides.
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 7.4
Author: Grocery Finds Daily
Text Domain: grocery-finds-daily
License: GPL-2.0-or-later
*/
:root{--paper:#fcf9f1;--surface:#fffdf8;--ink:#182c24;--green:#183e30;--soft:#4f6258;--line:#d9dfd4;--mint:#e6eee1;--gold:#e7ae67;--sans:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--serif:Georgia,"Times New Roman",serif;--max:72rem}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 var(--sans);overflow-wrap:anywhere}
img,video{display:block;max-width:100%;height:auto}
iframe{max-width:100%}
a{color:inherit;text-underline-offset:.17em}
a:hover{text-decoration-thickness:.13em}
:focus-visible{outline:3px solid #8a5117;outline-offset:3px}
button,input,textarea,select{font:inherit}
.wrap{width:min(var(--max),calc(100% - 3rem));margin-inline:auto}
.screen-reader-text,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip-link:focus{position:fixed;z-index:99;top:.7rem;left:.7rem;background:#fff;padding:.65rem 1rem;color:var(--green)}
.masthead{background:var(--surface)}
.masthead-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem 3rem;min-height:88px;padding-block:1rem}
.brand{display:inline-flex;align-items:center;gap:.72rem;text-decoration:none;color:inherit;font:700 clamp(1.35rem,3vw,2rem)/1.02 var(--serif);letter-spacing:-.045em}
.brand img{width:48px;height:48px;flex:0 0 48px}
.brand small{display:block;font:700 .64rem/1.1 var(--sans);letter-spacing:.15em;margin-top:.38rem}
.custom-logo{max-width:240px;width:auto;max-height:66px}
.search-form{display:flex;align-items:stretch;max-width:100%;min-height:44px;border-radius:6px;border:1px solid #809289;background:#fff}
.search-form label{min-width:0;display:flex}
.search-form input{border:0;background:transparent;min-width:0;width:100%;color:var(--ink);padding:.45rem .7rem}
.search-form button{display:grid;place-items:center;min-width:44px;color:var(--green);background:transparent;border:0;cursor:pointer}
.primary-nav{background:var(--green);color:var(--paper)}
.link-list{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:.15rem .7rem}
.primary-nav .link-list a{font-size:.84rem;font-weight:650;min-height:44px;display:flex;align-items:center;text-decoration:none;padding:.25rem .5rem}
.primary-nav a:hover,.primary-nav [aria-current="page"]{text-decoration:underline}
.primary-nav a:focus-visible,.site-footer a:focus-visible{outline-color:var(--gold)}
.listing{padding-bottom:5rem;min-height:55vh}
.intro{padding:clamp(1.5rem,4vw,3rem);margin-top:clamp(1rem,3vw,2rem);background:var(--mint);border:1px solid #cbd9c8;border-radius:12px}
.intro h1,.listing-heading h1,.article-head h1,.empty-state h1{max-width:24ch;margin:.25rem 0 .6rem;font:700 clamp(2.25rem,6vw,4.65rem)/1.02 var(--serif);letter-spacing:-.05em;color:var(--green)}
.intro>p:last-child{color:var(--soft);margin:0;font-size:1rem}
.kicker{font-size:.72rem;letter-spacing:.13em;line-height:1.4;text-transform:uppercase;font-weight:780;color:var(--green);margin:0}
.browse-strip{display:grid;grid-template-columns:1fr 1fr;gap:1rem 2rem;margin-top:1rem;padding-block:.5rem 1rem;border-bottom:1px solid var(--line)}
.browse-strip strong{font-size:.8rem;color:var(--soft)}
.browse-strip .link-list:empty{display:none}
.browse-strip>div:has(.link-list:empty){display:none}
.browse-strip a{display:flex;min-height:44px;align-items:center;padding:0 .23rem;font-size:.9rem;font-weight:700}
.section-heading{margin-top:1.6rem;margin-bottom:.8rem}
.section-heading h2{margin:0;font:700 clamp(1.7rem,4vw,2.35rem)/1.05 var(--serif);color:var(--green);letter-spacing:-.035em}
.listing-heading{margin:clamp(2rem,6vw,4rem) 0 1.5rem}
.listing-heading h1{font-size:clamp(2.15rem,6vw,3.75rem)}
.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.15rem}
.story-card{background:var(--surface);border:1px solid var(--line);border-radius:10px;min-width:0}
.story-art{aspect-ratio:16 / 9;background:var(--mint);overflow:hidden;border-radius:9px 9px 0 0}
.story-art img{width:100%;height:100%;object-fit:cover}
.story-card-body{padding:1rem 1.05rem 1.15rem}
.story-card-body>p{font-size:.92rem;color:var(--soft);margin:.6rem 0 0}
.story-title{margin:.4rem 0 .5rem;font:700 clamp(1.27rem,2.6vw,1.75rem)/1.13 var(--serif);letter-spacing:-.025em}
.story-title a,.story-category a{text-decoration:none}
.story-title a:hover,.story-category a:hover{text-decoration:underline}
.story-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:.15rem .5rem;color:var(--soft);font-size:.82rem}
.story-meta .byline{font-weight:700}
.story-meta .byline + time{border-inline-start:1px solid var(--line);padding-inline-start:.5rem}
.pagination{margin-top:2rem}
.nav-links{display:flex;gap:.55rem;flex-wrap:wrap}
.page-numbers{min-width:44px;min-height:44px;display:grid;place-items:center;border:1px solid #a4b2a6;border-radius:6px;padding:.2rem .5rem}
.page-numbers.current{color:white;background:var(--green)}
.empty-state{margin:4rem auto 1rem;padding:clamp(1rem,4vw,2.4rem);background:var(--mint);border-radius:12px}
.article-main{padding-block:clamp(2rem,5vw,4rem) 4rem}
.article-head,.prose{width:min(100%,44rem);margin-inline:auto}
.article-head{margin-bottom:1.3rem}
.article-head h1{max-width:100%;margin-top:.35rem}
.article-hero{width:min(100%,58rem);margin:0 auto 2rem}
.article-hero img{width:100%;border-radius:9px}
.article-hero figcaption{font-size:.85rem;color:var(--soft);margin-top:.45rem}
.prose{font:1.125rem/1.7 var(--serif)}
.prose h1,.prose h2,.prose h3,.prose h4{color:var(--green);line-height:1.17;margin:1.4em 0 .55em;letter-spacing:-.025em}
.prose p,.prose ol,.prose ul{margin:0 0 1em}
.prose figure{margin:1.25rem 0}
.prose .aligncenter{margin-inline:auto}
.prose .alignleft,.prose .alignright{max-width:55%}
.prose .alignleft{float:left;margin:0 1rem .7rem 0}
.prose .alignright{float:right;margin:0 0 .7rem 1rem}
.prose blockquote{margin-inline:0;padding-inline-start:1.2rem;border-inline-start:3px solid var(--green)}
.prose pre{overflow:auto;max-width:100%;background:var(--mint);padding:.8rem}
.prose table{width:100%;border-collapse:collapse}
.prose th,.prose td{border:1px solid var(--line);padding:.4rem;text-align:left}
.prose .wp-block-table{overflow-x:auto}
.article-end,.comments{clear:both;margin-top:2rem;padding-top:1rem;border-top:1px solid var(--line)}
.article-end .nav-links{justify-content:space-between}
.site-footer{background:var(--green);color:var(--paper);padding:2.2rem 0 1rem}
.site-footer .brand img{border:1px solid #82988e;border-radius:11px}
.footer-inner{display:flex;justify-content:space-between;align-items:flex-start;gap:1.3rem 3rem;flex-wrap:wrap}
.footer-inner p,.colophon{font-size:.85rem;margin:.7rem 0}
.footer-inner a:not(.brand){font-size:.9rem;display:flex;min-height:44px;align-items:center}
.colophon{margin-inline:auto;padding-top:1rem;border-top:1px solid #597d6e}
@media(max-width:990px){.story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.wrap{width:calc(100% - 1.5rem)}.masthead-inner{align-items:stretch;flex-direction:column;gap:.6rem}.search-form label{flex:1}.brand img{width:42px;height:42px;flex-basis:42px}.story-grid,.browse-strip{grid-template-columns:minmax(0,1fr)}.intro h1{max-width:20ch}.prose{font-size:1.06rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}

.gfd-browse.browse-strip{gap:1rem;border:0;padding:0;margin-top:1.2rem}.gfd-browse-panel{min-width:0;padding:clamp(.95rem,2.25vw,1.45rem);border-radius:14px;border:1px solid #e5d8c5;background:#fff3e4}.gfd-browse-panel.gfd-stores{background:#edf1e5;border-color:#d5dfcc}.gfd-browse-panel h2,.site-footer h2{font:700 clamp(1.3rem,2.7vw,1.75rem)/1.12 var(--serif);color:var(--green);margin:.25rem 0;letter-spacing:-.025em}.gfd-browse-panel p:not(.kicker){font-size:.89rem;color:var(--soft);margin:.25rem 0 .7rem}.gfd-browse-panel.gfd-topics .link-list a{background:#fff9ef;border-color:#e6cfb6}.gfd-browse-panel.gfd-stores .link-list a{background:#f8faf3;border-color:#cad9c5}.gfd-browse-panel .link-list a:hover{background:#294e3d;color:#fff8e9;border-color:#294e3d}.gfd-browse-panel:has(.link-list:empty),.gfd-footer-stores:has(.link-list:empty){display:none}
.site-footer .footer-inner{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,.9fr);gap:1.3rem 2rem}.site-footer nav .link-list{margin-top:.3rem;gap:.08rem .75rem}.site-footer .gfd-footer-info .link-list{display:grid;grid-template-columns:1fr}.site-footer nav .link-list a{font-weight:650;text-underline-offset:.16em}.site-footer .colophon{margin-top:1.4rem}
#gfd-contact{background:#faefdf;border:1px solid #e2d3bd;border-radius:14px;padding:clamp(.95rem,3vw,1.6rem);margin:1.3rem 0 2rem;font:1rem/1.5 var(--sans)}#gfd-contact input:not([type=hidden]),#gfd-contact textarea{width:100%;margin:.35rem 0 .2rem;border:1px solid #7c9280;border-radius:9px;background:#fffdf6;padding:.55rem .7rem;color:var(--ink)}#gfd-contact input{min-height:44px}#gfd-contact button{min-height:44px;padding:.55rem 1.1rem;border:0;border-radius:999px;background:#294e3d;color:#fff8e9;font-weight:700;cursor:pointer}#gfd-contact button:hover{background:#1b382b}
@media(max-width:850px){.site-footer .footer-inner{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.site-footer .footer-inner>div:first-child{grid-column:1/-1}}
@media(max-width:680px){.gfd-browse.browse-strip{gap:.75rem}.gfd-browse-panel .link-list{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding:.15rem .2rem .28rem}.gfd-browse-panel .link-list>li{flex:0 0 auto}.gfd-browse-panel .link-list a{white-space:nowrap}.gfd-browse-panel .link-list a:focus-visible{outline-offset:-3px}}
