/*
Theme Name: FoodBank.us Directory
Theme URI: https://foodbank.us/
Author: FoodBank.us
Description: A calm, accessible national food-assistance directory.
Version: 2.0.2
Text Domain: foodbank-directory
*/

:root {
  --navy: #102a43;
  --navy-soft: #334e68;
  --green: #147d64;
  --green-dark: #0c5d4c;
  --green-soft: #e8f5f1;
  --orange-soft: #fff3e8;
  --paper: #fff;
  --canvas: #f5f8f7;
  --line: #dbe7e3;
  --muted: #5e7180;
  --shadow-sm: 0 8px 24px rgba(16,42,67,.07);
  --shadow-lg: 0 24px 64px rgba(16,42,67,.13);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--navy); background: var(--canvas); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--green-dark); text-underline-offset: 3px; }
a:hover { color: var(--green); }
button, input, select { font: inherit; }
.screen-reader-text { position: absolute !important; 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 { z-index: 10000; top: 10px; left: 10px; width: auto; height: auto; padding: 12px 16px; clip: auto; color: var(--navy); background: white; border-radius: 8px; box-shadow: var(--shadow-sm); }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-header { position: sticky; top: 0; z-index: 9999; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(16,42,67,.08); backdrop-filter: blur(14px); }
.header-inner, .page-width, .footer-inner { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); font-size: 1.3rem; font-weight: 850; letter-spacing: -.035em; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 13px 13px 13px 5px; box-shadow: 0 8px 18px rgba(20,125,100,.22); }
.brand-mark svg { width: 23px; height: 23px; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { color: var(--navy-soft); font-size: .93rem; font-weight: 720; text-decoration: none; }
.site-nav a:hover { color: var(--green-dark); }
.header-help { padding: 10px 16px; color: white !important; background: var(--green-dark); border-radius: 999px; box-shadow: 0 6px 18px rgba(12,93,76,.16); }
.site-main { flex: 1; }
.hero-wrap { padding: 30px 0 18px; }
.hero { position: relative; overflow: hidden; min-height: 420px; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); align-items: center; gap: 48px; padding: clamp(38px,6vw,76px); color: white; background: radial-gradient(circle at 88% 15%,rgba(244,162,97,.35),transparent 28%), linear-gradient(132deg,#0d3f37 0%,#126b58 56%,#178b6d 100%); border-radius: 30px; box-shadow: var(--shadow-lg); }
.hero::before, .hero::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.hero::before { width: 360px; height: 360px; right: -120px; top: -190px; }
.hero::after { width: 220px; height: 220px; right: 110px; bottom: -155px; }
.hero-copy, .hero-panel { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 12px; color: #c8f2e6; font-size: .78rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 0; color: white; font-size: clamp(2.55rem,5.5vw,5rem); line-height: .99; letter-spacing: -.062em; }
.hero-copy > p:not(.eyebrow) { max-width: 690px; margin: 22px 0 0; color: #e8fff8; font-size: clamp(1.02rem,1.6vw,1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 19px; border-radius: 12px; font-weight: 800; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: var(--navy) !important; background: #ffc277; box-shadow: 0 8px 24px rgba(76,44,8,.18); }
.button-secondary { color: white !important; border: 1px solid rgba(255,255,255,.42); background: rgba(255,255,255,.08); }
.hero-panel { padding: 25px; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.2); border-radius: 20px; backdrop-filter: blur(9px); }
.hero-panel-label { margin: 0 0 15px; color: #d9fff4; font-size: .78rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.hero-stat { display: flex; align-items: baseline; gap: 9px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.hero-stat:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-stat strong { font-size: 1.8rem; line-height: 1; }
.hero-stat span { color: #ddf8f0; font-size: .9rem; }
.trust-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; padding: 18px 0 30px; }
.trust-card { display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: start; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.trust-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--green-dark); background: var(--green-soft); border-radius: 12px; font-size: 1.05rem; font-weight: 900; }
.trust-card strong { display: block; margin-bottom: 2px; font-size: .98rem; }
.trust-card span { color: var(--muted); font-size: .87rem; line-height: 1.45; }
.directory-section { padding: 34px 0 76px; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(300px,560px); align-items: end; gap: 40px; margin-bottom: 22px; }
.section-heading .eyebrow { color: var(--green); }
.section-heading h2 { margin: 0; font-size: clamp(2rem,4vw,3.2rem); line-height: 1.05; letter-spacing: -.048em; }
.section-heading > p { margin: 0; color: var(--muted); }
.directory-surface { padding: clamp(16px,2.5vw,30px); background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); }
.directory-tip { display: flex; align-items: flex-start; gap: 11px; margin: 0 0 20px; padding: 13px 15px; color: #745122; background: var(--orange-soft); border: 1px solid #f5d5b4; border-radius: 12px; font-size: .9rem; }
.directory-tip strong { color: #583b17; }
.page-content { min-width: 0; }
.page-content > p:first-child { margin-top: 0; }
.content-wrap { width: min(1240px,calc(100% - 40px)); margin: 0 auto; padding: 46px 0 72px; }
.content-wrap h1 { font-size: clamp(2rem,5vw,3.6rem); letter-spacing: -.05em; }

/* Simple Business Directory Pro presentation layer */
.qcpd-list-wrapper, .qcpd-list-hoder, .sbd-filter-area, .qcpd-list-column { font-family: inherit !important; }
.qcpd-list-wrapper { color: var(--navy) !important; }
.qcpd-list-wrapper .pd_search_filter, .qcpd-list-wrapper .sbd_search_filter, .qcpd-list-wrapper .sbd_location_name, .qcpd-list-wrapper .sbd_distance, .qcpd-list-wrapper .sdb_distance_cal { min-height: 48px !important; color: var(--navy) !important; background: #fff !important; border: 1px solid #cbdad5 !important; border-radius: 10px !important; box-shadow: none !important; }
.qcpd-list-wrapper input:focus, .qcpd-list-wrapper select:focus { outline: 3px solid rgba(20,125,100,.16) !important; border-color: var(--green) !important; }
.qcpd-list-wrapper .pd_search_filter, .qcpd-list-wrapper .sbd_search_filter { width: min(100%,500px) !important; padding: 0 15px !important; }
.qcpd-list-wrapper .sbd-distance-search, .qcpd-list-wrapper .sbd_distance_search { padding: 18px !important; background: var(--canvas) !important; border: 1px solid var(--line) !important; border-radius: 14px !important; }
.qcpd-list-wrapper .sbd_radius_find, .qcpd-list-wrapper .sbd_radius_clear, .qcpd-list-wrapper .pd-add-btn { min-height: 44px !important; padding: 0 18px !important; color: white !important; background: var(--green-dark) !important; border: 0 !important; border-radius: 10px !important; font-weight: 800 !important; box-shadow: none !important; cursor: pointer; }
.qcpd-list-wrapper .sbd_radius_clear { color: var(--navy-soft) !important; background: #e7efec !important; }
.sbd-filter-area { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; margin: 22px 0 !important; padding: 18px !important; background: var(--canvas) !important; border: 1px solid var(--line) !important; border-radius: 16px !important; }
.sbd-filter-area .filter-btn, .sbd-filter-area .filter-btn[style] { display: inline-flex !important; align-items: center !important; gap: 5px !important; margin: 0 !important; padding: 8px 12px !important; color: var(--navy-soft) !important; background: white !important; border: 1px solid #cfddd8 !important; border-radius: 999px !important; font-size: .86rem !important; font-weight: 720 !important; line-height: 1.2 !important; text-decoration: none !important; transition: background .16s ease,color .16s ease,border-color .16s ease !important; }
.sbd-filter-area .filter-btn:hover, .sbd-filter-area .filter-btn.active, .sbd-filter-area .filter-btn.pd-active { color: white !important; background: var(--green) !important; border-color: var(--green) !important; }
.opd-item-count-fil, .opd-item-count { opacity: .68; font-size: .75em !important; }
.qcpd-list-hoder { margin-top: 20px !important; }
.qcpd-list-column { width: 100% !important; padding: 0 !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.qcpd-single-list-pd { padding: 20px !important; background: #f9fbfa !important; border: 1px solid var(--line) !important; border-radius: 18px !important; }
.qcpd-single-list-pd > h2 { margin: 0 0 15px !important; color: var(--navy) !important; font-size: 1.35rem !important; letter-spacing: -.025em !important; }
.qcpd-single-list-pd > ul { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 12px !important; margin: 0 !important; padding: 0 !important; }
.qcpd-single-list-pd > ul > li { position: relative !important; min-height: 150px !important; margin: 0 !important; padding: 17px 16px 50px !important; background: white !important; border: 1px solid #dbe6e2 !important; border-radius: 14px !important; box-shadow: 0 4px 14px rgba(16,42,67,.045) !important; transition: transform .17s ease,border-color .17s ease,box-shadow .17s ease !important; }
.qcpd-single-list-pd > ul > li:hover { transform: translateY(-2px); border-color: #a9cec2 !important; box-shadow: 0 10px 24px rgba(16,42,67,.09) !important; }
.qcpd-single-list-pd > ul > li > a:first-of-type { display: flex !important; align-items: flex-start !important; gap: 12px !important; color: var(--navy) !important; font-size: .98rem !important; font-weight: 800 !important; line-height: 1.25 !important; text-decoration: none !important; }
.qcpd-single-list-pd .list-img { flex: 0 0 38px !important; width: 38px !important; height: 38px !important; display: grid !important; place-items: center !important; margin: 0 !important; color: var(--green-dark) !important; background: var(--green-soft) !important; border-radius: 11px !important; }
.qcpd-single-list-pd .list-img i { font-size: 16px !important; }
.qcpd-single-list-pd .sld_simple_description { margin-top: 5px !important; color: var(--muted) !important; font-weight: 550 !important; }
.qcpd-single-list-pd .top-address { font-size: .78rem !important; line-height: 1.35 !important; }
.qcpd-single-list-pd .sbd_custom_content { display: none !important; }
.qcpd-single-list-pd > ul > li > span { margin-top: 10px !important; padding: 0 !important; color: var(--muted) !important; font-size: .77rem !important; }
.qcpd-single-list-pd .sbd_phone a { color: var(--green-dark) !important; font-weight: 750 !important; text-decoration: none !important; }
.pd-bottom-area { position: absolute !important; right: 13px !important; bottom: 12px !important; display: flex !important; gap: 6px !important; margin: 0 !important; }
.pd-bottom-area p { margin: 0 !important; }
.pd-bottom-area a { width: 30px !important; height: 30px !important; display: grid !important; place-items: center !important; color: var(--navy-soft) !important; background: #edf3f1 !important; border-radius: 8px !important; text-decoration: none !important; }
.pd-bottom-area a:hover { color: white !important; background: var(--green) !important; }
.sbd_map, #sbd_all_location { min-height: 430px !important; overflow: hidden !important; border: 1px solid var(--line) !important; border-radius: 18px !important; box-shadow: var(--shadow-sm) !important; }
.sbd-page-numbers-container { display: flex !important; flex-wrap: wrap !important; gap: 7px !important; margin-top: 18px !important; }
.sbd-page-numbers-item { margin: 0 !important; }
.sbd-page-numbers-item .page-numbers { min-width: 36px !important; height: 36px !important; display: grid !important; place-items: center !important; padding: 0 9px !important; color: var(--navy-soft) !important; background: white !important; border: 1px solid var(--line) !important; border-radius: 9px !important; text-decoration: none !important; }
.sbd-page-numbers-item .current, .sbd-page-numbers-item a:hover { color: white !important; background: var(--green) !important; border-color: var(--green) !important; }
.white-popup { max-width: 760px !important; padding: 26px !important; border-radius: 18px !important; box-shadow: var(--shadow-lg) !important; }
.sbd_business_container h2, .sbd_business_container h3 { color: var(--navy) !important; letter-spacing: -.03em !important; }
.sbd_direction_btn { color: white !important; background: var(--green-dark) !important; border-radius: 9px !important; text-decoration: none !important; }
.sbd_radius_find, .sbd_radius_clear, .pd-add-btn {
  min-height: 44px !important; padding: 0 18px !important; border: 0 !important; border-radius: 10px !important;
  font-weight: 800 !important; box-shadow: none !important; cursor: pointer !important;
}
.sbd_radius_find { color: white !important; background: var(--green-dark) !important; }
.sbd_radius_clear { color: var(--navy-soft) !important; background: #e7efec !important; }
.info-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 25px; background: #eef5f3; border-radius: 18px; }
.info-band h3 { margin: 0 0 6px; font-size: 1.1rem; }
.info-band p { margin: 0; color: var(--muted); font-size: .92rem; }
.site-footer { color: #d9e7e3; background: #0d2f29; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; padding: 42px 0; }
.footer-brand { color: white; font-size: 1.15rem; font-weight: 850; }
.footer-inner p { margin: 5px 0 0; color: #b8ccc6; font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a { color: white; font-size: .9rem; font-weight: 700; text-decoration: none; }
.donation-placeholder { pointer-events: none; cursor: not-allowed; opacity: .82; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-panel { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
  .hero-panel-label { grid-column: 1/-1; margin-bottom: 0; }
  .hero-stat { display: block; border-bottom: 0; padding: 0; }
  .hero-stat span { display: block; margin-top: 5px; }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 720px) {
  .header-inner, .page-width, .footer-inner, .content-wrap { width: min(100% - 24px,1240px); }
  .header-inner { min-height: 66px; }
  .site-nav > a:not(.header-help) { display: none; }
  .header-help { padding: 9px 12px; font-size: .8rem !important; }
  .brand { font-size: 1.12rem; }
  .brand-mark { width: 37px; height: 37px; }
  .hero-wrap { padding-top: 14px; }
  .hero { gap: 30px; padding: 34px 24px; border-radius: 22px; }
  .hero h1 { font-size: clamp(2.35rem,12vw,3.6rem); }
  .hero-panel { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .directory-section { padding-top: 22px; }
  .directory-surface { padding: 12px; border-radius: 18px; }
  .sbd-filter-area { max-height: 290px; overflow-y: auto; padding: 12px !important; }
  .qcpd-single-list-pd { padding: 14px !important; }
  .qcpd-single-list-pd > ul { grid-template-columns: 1fr !important; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .info-band { align-items: flex-start; flex-direction: column; }
}
