/* ============================================================
   Delaware Grown — Main Stylesheet
   Based on approved mockup designs (index.html / farm-to-table.html)
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    --blue:      #1469A0;
    --brown:     #483729;
    --rust:      #88431D;
    --taupe:     #C4BEB6;
    --dusty-blue:#8D9EBC;
    --gold:      #C59B54;
    --olive:     #595B3C;
    --gray:      #54565A;
    --plum:      #6A6278;
    --bg:        #FFFFFF;
    --bg-2:      #F4F2ED;
    --text:      #333333;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: Arial, Helvetica, sans-serif; margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
p { font-size: 18px; line-height: 1.75; margin-bottom: 1.25em; }
p:last-child { margin-bottom: 0; }

.label {
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    font-weight: 700;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 40px; }

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 13px 26px;
    min-width: 200px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border-radius: 2px;
    font-family: Arial, sans-serif;
    cursor: pointer;
    transition: opacity 0.2s;
}
.btn:hover { opacity: 0.88; }
.btn-blue  { background: var(--blue); color: #fff; }
.btn-rust  { background: var(--rust); color: #fff; }
.btn-line  { border: 1.5px solid var(--brown); color: var(--brown); margin-left: 10px; }


/* ============================================================
   NAVIGATION
   ============================================================ */
.nav-band {
    background: var(--blue);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-band-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 28px;
}
.nav-band-inner a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    opacity: 0.92;
    padding-bottom: 4px;
    border-bottom: 3px solid transparent;
    transition: border-color 0.2s, opacity 0.2s;
}
.nav-band-inner a:hover,
.nav-band-inner a.current-menu-item,
.nav-band-inner a.active {
    opacity: 1;
    border-bottom-color: var(--gold);
}

/* Strip list styles from wp_nav_menu() <ul><li> output */
.nav-band-inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-band-inner li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Home link — slightly separated so it reads as "back to start" */
.nav-band-inner .nav-home {
    margin-right: auto; /* pushes rest of links to the right */
    opacity: 0.75;
}
.nav-band-inner .nav-home:hover,
.nav-band-inner .nav-home[aria-current="page"] {
    opacity: 1;
    border-bottom-color: var(--gold);
}

.nav-band-inner .listen {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: var(--brown);
    padding: 6px 12px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 700;
    border-bottom: 3px solid transparent;
}
/* WordPress nav menu resets */
.nav-band-inner ul { list-style: none; display: contents; }
.nav-band-inner ul li { display: inline; }
.nav-band-inner ul li a { display: inline-block; }


/* ============================================================
   HOMEPAGE HERO
   ============================================================ */
.hero-logo-badge { display: block; margin-bottom: 20px; }
.hero-logo-badge img {
    height: 170px;
    filter: drop-shadow(0 12px 18px rgba(0,0,0,0.45));
}

.hero-full {
    position: relative;
    min-height: 64vh;
    background-color: var(--brown);
    background-image: url('../img/hero-default.jpg'); /* default — overridden by ACF hero image */
    background-size: cover;
    background-position: center 35%;
}
.hero-full::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(20,15,10,0.80) 0%, rgba(20,15,10,0.50) 40%, rgba(20,15,10,0.10) 70%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 40px 0;
}
.hero-content .inner { max-width: 600px; padding-bottom: 40px; }
.hero-content .label { color: var(--gold); margin-bottom: 16px; display: block; }
.hero-content h1 {
    font-size: clamp(32px, 4.8vw, 50px);
    color: #fff;
    line-height: 1.12;
    font-weight: 700;
}
.hero-content p {
    font-size: 16px;
    color: #F1EEE6;
    line-height: 1.6;
    margin: 18px 0 26px;
    max-width: 480px;
}

/* Find Delaware Grown search bar */
.hero-search-wrap {
    position: relative;
    z-index: 6;
    padding: 20px 0 0;
    margin-bottom: -60px; /* overlap into the stat strip below */
}
.hero-search-wrap .label {
    color: #fff;
    display: block;
    margin-bottom: 14px;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.hero-search-bar {
    background: #fff;
    border-radius: 4px;
    padding: 14px;
    display: flex;
    gap: 14px;
    align-items: stretch;
    box-shadow: 0 16px 34px rgba(20,15,10,0.35);
    width: 100%;
}
/* Reset form defaults */
#dg-find-form {
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    gap: 14px;
    align-items: stretch;
}
.hero-search-bar select {
    flex: 1;
    background: var(--bg-2);
    border: 1px solid #D8D3C8;
    border-radius: 2px;
    padding: 0 14px;
    height: 52px;
    font-family: Arial, sans-serif;
    font-size: 15px;
    color: var(--text);
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23483729' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.hero-search-bar .btn-search {
    background: var(--rust);
    color: #fff;
    border: none;
    padding: 0 30px;
    height: 52px;
    font-weight: 700;
    border-radius: 2px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 13px;
    font-family: Arial, sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.hero-search-bar .btn-search:hover { background: #6e3416; }


/* ============================================================
   STAT STRIP
   ============================================================ */
.strip2 {
    background: var(--blue);
    padding: 80px 0 26px; /* top padding clears the overlapping search bar */
    margin-top: 0;
}
.strip2-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    color: #fff;
    text-align: center;
}
.strip2-inner .num {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}
.strip2-inner .cap {
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-top: 2px;
    font-weight: 700;
}


/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-2); }

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 12px;
}
.section-head h2 { font-size: 28px; font-weight: 700; color: var(--brown); }
.section-head p { font-size: 18px; color: var(--text); margin-top: 6px; max-width: 520px; }
.section-head .more {
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
    white-space: nowrap;
}
.section-head .more.underline {
    color: var(--rust);
    border-bottom: 2px solid var(--rust);
    padding-bottom: 3px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 12px;
}


/* ============================================================
   TRENDING NOW CARDS
   ============================================================ */
.cardsrow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(20,20,15,0.07);
    border: 1px solid #EDEAE1;
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(20,20,15,0.12);
}
.card .thumb {
    height: 160px;
    background: var(--bg-2);
    display: block;
    text-decoration: none;
}
.card .body { padding: 16px; }
.card .body .label { display: block; margin-bottom: 6px; color: var(--rust); }
.card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--brown);
}
.card h3 a { text-decoration: none; color: inherit; }
.card h3 a:hover { color: var(--rust); }


/* ============================================================
   PICK FRESH PREVIEW
   ============================================================ */
.pf-preview {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
}
.pf-preview .label { color: var(--rust); }
.pf-preview h2 { font-size: 28px; font-weight: 700; color: var(--brown); margin-top: 8px; }
.pf-preview p { font-size: 18px; color: var(--text); line-height: 1.75; margin: 16px 0 24px; }

.map-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(20,20,15,0.1);
}
.map-card-link { text-decoration: none; display: block; }
.map-card-link:hover .map-visual { opacity: 0.9; }
.map-visual {
    height: 260px;
    /* ESRI public topo basemap centered on Delaware — no API key required */
    background:
        linear-gradient(rgba(20, 70, 130, 0.55), rgba(20, 70, 130, 0.55)),
        url('https://services.arcgisonline.com/arcgis/rest/services/World_Topo_Map/MapServer/export?bbox=-75.8%2C38.45%2C-74.95%2C39.85&bboxSR=4326&size=800%2C520&format=png&f=image')
        center / cover no-repeat;
    position: relative;
    overflow: hidden;
    transition: opacity 0.2s;
}
.map-visual-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.map-filters {
    padding: 16px 18px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    border-top: 1px solid #EDEAE1;
}
.chip {
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 6px 13px;
    border-radius: 12px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.chip:hover { opacity: 0.8; }
.chip-taupe { background: var(--taupe);     color: #2c2620; }
.chip-gold  { background: var(--gold);      color: #2c2013; }
.chip-blue  { background: var(--dusty-blue); color: #1c2635; }


/* ============================================================
   FARM TO TABLE SPOTLIGHT
   ============================================================ */
.ft-spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.ft-photo {
    height: 320px;
    border-radius: 6px;
    background: linear-gradient(150deg, var(--olive), #3E4028);
    box-shadow: 0 14px 30px rgba(30,25,15,0.15);
    background-size: cover;
    background-position: center;
}
.ft-text .label { color: var(--olive); }
.ft-text h2 { font-size: 28px; font-weight: 700; color: var(--brown); margin-top: 8px; }
.ft-text p { font-size: 18px; color: var(--text); line-height: 1.75; margin: 16px 0 24px; }


/* ============================================================
   RECIPES
   ============================================================ */
.recipe-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.recipecard {
    position: relative;
    height: 380px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(20,20,15,0.14);
    display: flex;
    align-items: flex-end;
    background: var(--olive);
    transition: transform 0.2s, box-shadow 0.2s;
}
.recipecard:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(20,20,15,0.2);
}
.recipecard::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(20,15,10,0.82) 0%, rgba(20,15,10,0.15) 55%, rgba(20,15,10,0) 100%);
}
.recipecard .body {
    position: relative;
    z-index: 1;
    padding: 26px 28px;
    color: #fff;
}
.recipecard .featured {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}
.recipecard h3 {
    font-size: 23px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 14px;
    max-width: 420px;
}
.recipecard .view-link {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 4px;
    display: inline-block;
}
.recipecard .recipe-county {
    font-size: 12px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 10px;
}

/* Single recipe */
.recipe-meta {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    border-bottom: 2px solid var(--bg-2);
    margin-bottom: 36px;
    font-size: 14px;
    color: var(--gray);
    flex-wrap: wrap;
}
.recipe-meta span strong { color: var(--brown); }
.recipe-body {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}
.recipe-ingredients h2,
.recipe-instructions h2 {
    font-size: 20px;
    color: var(--brown);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--bg-2);
}


/* ============================================================
   INTERIOR HERO (Farm to Table + inner pages)
   ============================================================ */
.interior-hero {
    background: linear-gradient(rgba(20,15,10,0.55), rgba(20,15,10,0.55)),
                var(--brown) center/cover no-repeat;
    padding: 80px 40px 70px;
}
.interior-hero .breadcrumb {
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    margin-bottom: 14px;
    letter-spacing: 0.04em;
}
.interior-hero .breadcrumb a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
}
.interior-hero .breadcrumb a:hover { color: #fff; }
.interior-hero h1 {
    color: #fff;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
}
.interior-hero .tagline {
    color: var(--gold);
    font-size: 16px;
    margin-top: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.interior-logo { margin-top: -70px; margin-bottom: 20px; }
.interior-logo img {
    height: 140px;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.4));
}


/* ============================================================
   FARM TO TABLE PAGE
   ============================================================ */
.intro-section { padding: 70px 0; }
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.intro-grid .label {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 14px;
}
.intro-grid h2 {
    font-size: clamp(22px, 3vw, 30px);
    color: var(--brown);
    line-height: 1.3;
    margin-bottom: 20px;
}
.intro-grid p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 16px;
}
.pull-quote {
    background: var(--bg-2);
    border-left: 4px solid var(--gold);
    padding: 32px 36px;
    border-radius: 4px;
    position: sticky;
    top: 80px;
}
.pull-quote blockquote {
    font-size: 20px;
    line-height: 1.5;
    color: var(--brown);
    font-style: italic;
    font-weight: 700;
}
.pull-quote cite {
    display: block;
    margin-top: 16px;
    font-size: 13px;
    color: var(--gray);
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.video-section { background: var(--bg-2); padding: 70px 0; }
.video-section .section-label {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    display: block;
    margin-bottom: 14px;
}
.video-section h2 {
    text-align: center;
    font-size: clamp(20px, 2.8vw, 28px);
    color: var(--brown);
    margin-bottom: 36px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 16px 40px rgba(20,15,10,0.2);
    max-width: 860px;
    margin: 0 auto;
}
.video-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

/* ============================================================
   NOTE SECTION (Farm to Table)
   ============================================================ */
.note-section { padding: 70px 0; background: var(--bg-2); }
.note-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}
.note-sidebar .label {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 14px;
}
.note-sidebar h2 {
    font-size: clamp(22px, 2.8vw, 30px);
    color: var(--brown);
    line-height: 1.3;
}
.note-body p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 16px;
}

/* ============================================================
   SINGLE POST (Trending Now, Farm to Table posts)
   Force site font on all content — overrides inline styles
   from content migrated from the old site.
   ============================================================ */
.single-post-content,
.single-post-content * {
    font-family: Arial, Helvetica, sans-serif !important;
    color: var(--text);
}
.single-post-content p  { font-size: 18px; line-height: 1.75; margin-bottom: 1.25em; }
.single-post-content ul,
.single-post-content ol { font-size: 18px; line-height: 1.75; padding-left: 24px; margin-bottom: 1.25em; }
.single-post-content li { margin-bottom: 6px; }
.single-post-content h1,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4 { color: var(--brown); margin-bottom: 12px; margin-top: 32px; }
.single-post-content a  { color: var(--blue); }

/* ============================================================
   SINGLE RECIPE PAGE
   ============================================================ */
.recipe-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: start;
}
.recipe-meta-box {
    background: var(--bg-2);
    border-radius: 6px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}
.recipe-meta-item { display: flex; justify-content: space-between; align-items: center; }
.meta-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
}
.meta-value { font-size: 14px; font-weight: 700; color: var(--brown); }
.recipe-ingredients { margin-bottom: 28px; }
.recipe-ingredients h2,
.recipe-instructions h2 {
    font-size: 20px;
    color: var(--brown);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--taupe);
}
.recipe-ingredients ul,
.recipe-instructions ol,
.recipe-instructions ul {
    padding-left: 24px;
    line-height: 1.75;
    color: var(--text);
    font-size: 18px;
}
.recipe-ingredients ul li,
.recipe-instructions ol li,
.recipe-instructions ul li {
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 8px;
    color: var(--text);
}
.recipe-instructions p,
.recipe-instructions h2,
.recipe-instructions h3 {
    font-size: 18px;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 16px;
}
.recipe-instructions h2,
.recipe-instructions h3 {
    font-size: 20px;
    color: var(--brown);
    font-weight: 700;
    margin-top: 32px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--taupe);
}
.recipe-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.recipe-back { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--taupe); }
.recipe-back a { color: var(--blue); font-weight: 700; text-decoration: none; font-size: 14px; }
.recipe-back a:hover { text-decoration: underline; }

/* ============================================================
   PICK FRESH — MAP EMBED
   ============================================================ */
.pf-map-wrap {
    position: relative;
    width: 100%;
    height: 680px; /* tall enough to actually use the map */
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(20,15,10,0.15);
}
.pf-map-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}
.pf-find-wrap { margin-bottom: 32px; }
.pickfresh-intro { margin-bottom: 28px; }
.pickfresh-intro .lead { font-size: 18px; line-height: 1.75; color: var(--text); max-width: 800px; }

/* ============================================================
   LOCAL RECIPES — Search + Filter Bar
   ============================================================ */
.recipe-search-section {
    background: #fff;
    padding: 40px 0 24px;
    border-bottom: 1px solid var(--taupe);
}
.recipe-search-label {
    display: block;
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
    margin-bottom: 10px;
}
.recipe-search-row {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
}
.recipe-search-input {
    flex: 1;
    padding: 14px 16px;
    font-size: 16px;
    border: 2px solid var(--blue);
    border-right: none;
    border-radius: 3px 0 0 3px;
    outline: none;
    color: var(--text);
}
.recipe-search-input:focus { border-color: var(--blue); }
.recipe-search-btn {
    background: var(--blue);
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 0 3px 3px 0;
    transition: opacity 0.2s;
}
.recipe-search-btn:hover { opacity: 0.88; }
.recipe-filter-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.filter-by-label {
    font-size: 15px;
    color: var(--text);
    white-space: nowrap;
}
.recipe-filter-select {
    flex: 1;
    min-width: 180px;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 700;
    color: var(--blue);
    border: 2px solid var(--blue);
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231469A0' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.recipe-filter-select:focus { outline: none; border-color: var(--blue); }
.recipe-result-count {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: var(--brown);
    display: inline-block;
    padding: 8px 20px;
    margin-bottom: 28px;
    border-radius: 2px;
}

/* ============================================================
   SECRETARY QUOTE BAND (Farm to Table)
   ============================================================ */
.secretary-section {
    background: var(--blue);
    padding: 60px 0;
}
.secretary-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 40px;
}
.secretary-inner .label {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}
.secretary-inner blockquote {
    font-size: clamp(18px, 2.5vw, 24px);
    color: #fff;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 20px;
}
.secretary-inner cite {
    color: rgba(255,255,255,0.7);
    font-style: normal;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stories-section { padding: 70px 0; }
.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.story-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(20,15,10,0.10);
    transition: transform 0.2s, box-shadow 0.2s;
}
.story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(20,15,10,0.15);
}
.story-card .card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.story-card .card-img-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    background: var(--bg-2);
}
.story-card .card-body { padding: 22px; }
.story-card .card-tag {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}
.story-card h3 { font-size: 17px; color: var(--brown); line-height: 1.35; margin-bottom: 10px; }
.story-card h3 a { color: inherit; text-decoration: none; }
.story-card h3 a:hover { color: var(--rust); }
.story-card p { font-size: 13px; color: var(--gray); line-height: 1.6; }

.cta-band {
    background: var(--bg-2);
    padding: 60px 40px;
    text-align: center;
}
.cta-band h2 { font-size: clamp(22px, 3vw, 32px); color: var(--brown); margin-bottom: 12px; }
.cta-band p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 28px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
    padding: 64px 0 80px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}
.contact-blurb .label {
    color: var(--gold);
    display: block;
    margin-bottom: 16px;
    font-size: 11px;
    letter-spacing: 0.1em;
}
.contact-blurb h2 {
    font-size: clamp(24px, 3vw, 32px);
    color: var(--brown);
    margin-bottom: 20px;
}
.contact-blurb p {
    color: var(--text);
    line-height: 1.75;
}
/* Contact detail blocks (address, phone, email) */
.contact-detail {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--taupe);
}
.contact-detail strong {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray);
    margin-bottom: 6px;
}
.contact-detail p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}
.contact-detail a {
    color: var(--blue);
    text-decoration: none;
}
.contact-detail a:hover { text-decoration: underline; }

/* Form column — style the form plugin's output to match the theme */
.contact-form-col input[type="text"],
.contact-form-col input[type="email"],
.contact-form-col input[type="tel"],
.contact-form-col textarea,
.contact-form-col select {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border: 1.5px solid #ccc;
    border-radius: 3px;
    margin-bottom: 16px;
    font-family: Arial, sans-serif;
    color: var(--text);
    background: #fff;
}
.contact-form-col input:focus,
.contact-form-col textarea:focus {
    outline: none;
    border-color: var(--blue);
}
.contact-form-col textarea {
    min-height: 140px;
    resize: vertical;
}
.contact-form-col input[type="submit"],
.contact-form-col button[type="submit"] {
    background: var(--blue);
    color: #fff;
    border: none;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 3px;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: Arial, sans-serif;
}
.contact-form-col input[type="submit"]:hover,
.contact-form-col button[type="submit"]:hover {
    opacity: 0.88;
}
/* CF7 / Gravity Forms label styling */
.contact-form-col label,
.contact-form-col .gfield_label {
    font-weight: 700;
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
    color: var(--text);
}

@media ( max-width: 768px ) {
    .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: var(--brown);
    color: #fff;
    padding: 50px 0 30px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 36px;
}
.footer-top img { height: 168px; }
.footer-links {
    display: flex;
    gap: 26px;
    font-size: 17px;
    font-weight: 700;
    flex-wrap: wrap;
    list-style: none;
}
.footer-links a { text-decoration: none; color: #fff; opacity: 0.85; }
.footer-links a:hover { opacity: 1; }
/* WP nav menu resets in footer */
.footer-links ul { list-style: none; display: contents; }
.footer-links ul li { display: inline; }
.footer-social { font-size: 13px; }
.footer-social .label { color: var(--gold); display: block; margin-bottom: 8px; }
.footer-social a { text-decoration: none; color: #fff; opacity: 0.85; margin-right: 16px; }
.footer-social a:hover { opacity: 1; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 20px;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}


/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .cardsrow { grid-template-columns: repeat(2, 1fr); }
    .ft-spotlight { grid-template-columns: 1fr; }
    .pf-preview { grid-template-columns: 1fr; }
    .recipe-body { grid-template-columns: 1fr; }
    /* Single recipe: stack sidebar above instructions on tablet/mobile */
    .recipe-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .recipe-sidebar {
        /* show meta/ingredients first, full width */
        width: 100%;
    }
}

/* ============================================================
   NAV — desktop defaults
   ============================================================ */
.nav-toggle { display: none; }
.nav-menu-wrap {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
    justify-content: flex-end;
}
/* strip <ul><li> from wp_nav_menu output */
.nav-menu-wrap ul { list-style: none; margin: 0; padding: 0; display: contents; }
.nav-menu-wrap li { display: contents; }

/* ============================================================
   MOBILE — max-width: 768px
   ============================================================ */
@media only screen and (max-width: 768px) {

    .wrap { padding: 0 20px; }

    /* --- Hamburger button --- */
    .nav-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        flex-shrink: 0;
    }
    .nav-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background: #fff;
        border-radius: 2px;
        transition: transform 0.25s, opacity 0.25s;
    }
    .nav-toggle.open span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

    /* --- Nav band layout on mobile --- */
    .nav-band-inner {
        padding: 14px 16px;
        justify-content: space-between;
        flex-wrap: nowrap;
        position: relative;
    }

    /* --- Hide menu by default; show when .open --- */
    .nav-menu-wrap {
        display: none !important;
        flex-direction: column !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--blue);
        padding: 8px 0 16px;
        z-index: 999;
        box-shadow: 0 6px 16px rgba(0,0,0,0.25);
        gap: 0;
    }
    .nav-menu-wrap.open {
        display: flex !important;
    }
    .nav-menu-wrap ul { display: block; }
    .nav-menu-wrap li { display: block; }
    .nav-menu-wrap a,
    .nav-menu-wrap li a {
        display: block !important;
        padding: 14px 20px;
        font-size: 16px;
        font-weight: 700;
        color: #fff;
        text-decoration: none;
        border-bottom: 1px solid rgba(255,255,255,0.12);
        border-radius: 0;
    }
    .nav-menu-wrap a:last-child { border-bottom: none; }
    .nav-menu-wrap .listen {
        display: flex !important;
        align-items: center;
        gap: 8px;
        margin: 12px 20px 0;
        border: 1.5px solid rgba(255,255,255,0.5);
        border-radius: 20px;
        padding: 10px 16px;
        width: fit-content;
        font-size: 14px;
    }

    /* --- Hero --- */
    .hero-content { padding: 24px 20px 80px; }
    .hero-logo-badge img { height: 120px; }
    .hero-content h1 { font-size: clamp(26px, 7vw, 36px); }
    .hero-content .btn { display: block; width: 100%; margin: 0 0 12px; min-width: 0; }
    .btn-line { margin-left: 0; }

    .hero-search-wrap { left: 0; right: 0; bottom: -40px; padding: 0 16px; }
    .hero-search-bar { padding: 16px; }
    #dg-find-form { flex-direction: column; gap: 10px; }
    .hero-search-bar select { width: 100%; height: 48px; flex: none; }
    .hero-search-bar .btn-search { width: 100%; height: 48px; padding: 0; }

    /* --- Stats strip --- */
    .strip2 { padding-top: 60px; }
    .strip2-inner { grid-template-columns: repeat(2, 1fr); }

    /* --- Cards --- */
    .cardsrow { grid-template-columns: 1fr; }
    .recipe-grid { grid-template-columns: 1fr; }
    .stories-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

    /* --- Sections --- */
    .section { padding: 48px 0; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .intro-grid { grid-template-columns: 1fr; gap: 32px; }
    .pull-quote { position: static; }

    /* --- Interior hero --- */
    .interior-hero { padding: 50px 20px 44px; }
    .interior-logo { margin-top: 0; }
    .interior-logo img { height: 80px; }

    /* --- Footer --- */
    .footer-top { flex-direction: column; align-items: flex-start; }
    .footer-top img { height: 100px; }

    /* --- Recipe filters --- */
    .recipe-filter-row { flex-direction: column; align-items: stretch; }
    .recipe-filter-select { min-width: 0; }
}

@media (max-width: 540px) {
    .stories-grid { grid-template-columns: 1fr; }
    .strip2-inner { grid-template-columns: repeat(2, 1fr); }
}

/* Find bar filter notice on recipe pages */
.filter-notice {
    background: #f0ece0;
    border-left: 4px solid var(--gold, #C59B54);
    padding: 10px 16px;
    margin-bottom: 24px;
    border-radius: 0 4px 4px 0;
    font-size: 0.95rem;
}
.filter-notice .chip { margin-left: 8px; font-size: 0.8rem; }

/* ============================================================
   SITE SEARCH OVERLAY + RESULTS
   ============================================================ */
.nav-search-toggle {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    align-self: center;
    opacity: 0.85;
    transition: opacity 0.2s;
    flex-shrink: 0;
    margin-bottom: 4px; /* match nav link padding-bottom offset */
}
.nav-search-toggle:hover { opacity: 1; }

.site-search-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(20,15,10,0.85);
    z-index: 500;
    align-items: center;
    justify-content: center;
}
.site-search-overlay.open { display: flex; }
.site-search-inner {
    width: 100%;
    max-width: 680px;
    padding: 0 24px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}
.site-search-inner form {
    display: flex;
    flex: 1;
    gap: 0;
}
.site-search-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 20px;
    border: none;
    border-radius: 3px 0 0 3px;
    outline: none;
    font-family: Arial, sans-serif;
    color: var(--text);
}
.site-search-submit {
    background: var(--blue);
    border: none;
    color: #fff;
    padding: 0 24px;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.site-search-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    padding: 0 8px;
    opacity: 0.75;
    transition: opacity 0.2s;
    flex-shrink: 0;
}
.site-search-close:hover { opacity: 1; }

/* Search results page */
.search-bar-section {
    background: var(--bg-2);
    padding: 24px 0;
    border-bottom: 1px solid var(--taupe);
}
.search-results-form {
    display: flex;
    gap: 0;
    max-width: 680px;
}
.search-results-input {
    flex: 1;
    padding: 13px 16px;
    font-size: 16px;
    border: 2px solid var(--blue);
    border-right: none;
    border-radius: 3px 0 0 3px;
    outline: none;
    font-family: Arial, sans-serif;
    color: var(--text);
}
.search-results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 24px;
}
.search-result-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    align-items: start;
    border-bottom: 1px solid var(--taupe);
    padding-bottom: 32px;
}
.search-result-thumb img {
    width: 200px;
    height: 140px;
    object-fit: cover;
    border-radius: 3px;
}
.search-result-body h2 {
    font-size: 22px;
    color: var(--brown);
    margin: 8px 0 10px;
}
.search-result-body h2 a { text-decoration: none; color: inherit; }
.search-result-body h2 a:hover { color: var(--blue); }
.search-result-body p { color: var(--text); margin-bottom: 12px; }
.no-results { font-size: 18px; color: var(--gray); padding: 40px 0; }

@media (max-width: 768px) {
    .search-result-card { grid-template-columns: 1fr; }
    .search-result-thumb img { width: 100%; height: 200px; }
    .site-search-input { font-size: 16px; }
}

/* Social icon links in footer */
.footer-social a {
    display: inline-flex;
    align-items: center;
    color: rgba(255,255,255,0.75);
    transition: color 0.2s;
    margin-right: 12px;
}
.footer-social a:hover { color: var(--gold); }

/* ============================================================
   PRINT STYLES — Recipe pages only
   ============================================================ */
@media print {
    /* Hide everything except the recipe content */
    header,
    footer,
    .interior-hero,
    .cta-band,
    .recipe-back,
    .recipe-print-btn,
    .recipe-tags,
    nav {
        display: none !important;
    }

    body {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    /* Make recipe layout single column for print */
    .recipe-layout {
        display: block;
    }
    .recipe-sidebar {
        margin-bottom: 24pt;
    }

    /* Clean up meta box */
    .recipe-meta-box {
        border: 1pt solid #ccc;
        padding: 12pt;
        margin-bottom: 16pt;
    }

    /* Recipe title from the hero — print it at the top */
    #readSpeak_content {
        margin: 0;
        padding: 0;
    }

    h1, h2, h3 {
        color: #000;
        page-break-after: avoid;
    }

    ul, ol, p {
        page-break-inside: avoid;
    }

    a { color: #000; text-decoration: none; }
}
