/* Homepage editorial sections (approved A5-B design; markup in inc/home-editorial.php and
   patterns/hero-placeholder.php). Loaded on the front page only, after home.css and neighbor-journey.css.
   Shares the News / Events / Giving language: 76rem column, navy headings, orange accents, cream panels.
   Motion: transform/opacity only, <=250ms, none under prefers-reduced-motion; nothing animates layout. */
body.home {
	--hc-navy: var(--wp--preset--color--hcfb-navy, #262760);
	--hc-orange: var(--wp--preset--color--hcfb-orange, #f78d22);
	--hc-cream: var(--wp--preset--color--hcfb-cream, #faf5ec);
	--hc-border: #d8d3c6;
	--hc-text: #3a3b45;
	--hc-shadow: 0 1px 2px rgba(38, 39, 96, .06), 0 8px 24px rgba(38, 39, 96, .08);
}
body.home #hcfb-primary-content > :is(.hcfb-home-food, .hcfb-home-stories, .hcfb-home-give, .hcfb-wh) { max-width: none !important; width: 100% !important; margin: 0 !important; }
.hcfb-home-wrap { max-width: 76rem; margin: 0 auto; padding: 0 2rem; box-sizing: border-box; }
.hcfb-home-kicker { margin: 0 0 .75rem; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #6b3f00; }
.hcfb-home-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.5rem; border: 2px solid transparent; border-radius: 999px; font-weight: 800; text-decoration: none !important; line-height: 1.2; box-sizing: border-box; transition: transform .15s ease, background-color .15s ease; }
.hcfb-home-btn:hover { transform: translateY(-1px); }
.hcfb-home-btn--orange { background: var(--hc-orange); color: var(--hc-navy) !important; }
.hcfb-home-btn--ghost { border-color: rgba(255, 255, 255, .85); color: #fff !important; background: transparent; }
body.home #hcfb-primary-content :is(a, button, summary, [tabindex="0"]):focus-visible { outline: 3px solid var(--hc-orange); outline-offset: 3px; }

/* ---- Hero: visible intro, two actions, quieter video thumbnail ---- */
body.home .hcfb-home-hero__text { gap: 1.5rem; }
body.home .hcfb-home-hero__video-preview { width: 12rem; opacity: .95; }
body.home .hcfb-home-hero__intro { max-width: 30rem; margin: 0; font-size: 1.15rem; line-height: 1.55; color: rgba(255, 255, 255, .92); }
body.home .hcfb-home-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin: 0; }
body.home .hcfb-home-hero__actions .hcfb-home-hero__cta { padding: .75rem 1.6rem; min-height: 48px; }

/* ---- Food help: oversized heading beside an overlapping photo pair (the live finder, restyled) ---- */
.hcfb-home-food { padding: 5.5rem 0 6rem; background: var(--hc-cream); overflow: hidden; }
.hcfb-home-food__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 4rem; align-items: center; }
.hcfb-home-food__grid--solo { grid-template-columns: minmax(0, 1fr); }
body.home .hcfb-home-food .hcfb-neighbor-finder { margin: 0 !important; padding: 0 !important; max-width: none !important; width: auto !important; }
body.home .hcfb-home-food .hcfb-neighbor-finder::before, body.home .hcfb-home-food .hcfb-neighbor-finder__accent { display: none !important; }
body.home .hcfb-home-food :is(.hcfb-neighbor-finder__hero, .hcfb-neighbor-finder__hero-content) { align-items: flex-start !important; text-align: left !important; max-width: none !important; }
body.home .hcfb-home-food .hcfb-neighbor-finder__hero-content { gap: 1.25rem; }
body.home .hcfb-home-food .hcfb-neighbor-finder__heading { margin: 0 !important; font-size: clamp(3rem, 6vw, 5.25rem) !important; line-height: .95 !important; font-weight: 800; letter-spacing: -.03em; color: var(--hc-navy) !important; text-align: left !important; }
body.home .hcfb-home-food .hcfb-neighbor-finder__entry { margin: 0 !important; justify-content: flex-start !important; }
body.home .hcfb-home-food .hcfb-neighbor-finder__find-food-now { box-shadow: none !important; min-height: 52px; }
body.home .hcfb-home-food .hcfb-neighbor-finder__quick-links { order: 3; width: 100%; margin: .5rem 0 0 !important; }
body.home .hcfb-home-food .hcfb-neighbor-finder__quick-links-list { display: flex !important; flex-direction: column; flex-wrap: wrap; gap: 0 !important; justify-content: flex-start !important; grid-template-columns: none !important; margin: 0 !important; border-top: 1px solid rgba(38, 39, 96, .2); }
body.home .hcfb-home-food .hcfb-neighbor-finder__quick-links-list li { border-bottom: 1px solid rgba(38, 39, 96, .2); }
body.home .hcfb-home-food .hcfb-neighbor-finder__quick-path { display: inline-flex !important; align-items: center; justify-content: space-between; width: 100%; min-height: 56px !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; color: var(--hc-navy) !important; font-size: 1.2rem !important; font-weight: 700 !important; text-decoration: none !important; }
body.home .hcfb-home-food .hcfb-neighbor-finder__quick-path:hover { text-decoration: underline !important; }
body.home .hcfb-home-food .hcfb-neighbor-finder__quick-path::after { content: "→"; color: var(--hc-orange); transition: transform .15s ease; }
body.home .hcfb-home-food .hcfb-neighbor-finder__quick-path:hover::after { transform: translateX(4px); }
body.home .hcfb-home-food .hcfb-neighbor-finder__guided-link { order: 4; margin: 0 !important; font-size: .95rem; color: var(--hc-text) !important; text-align: left !important; }
body.home .hcfb-home-food .hcfb-neighbor-finder__guided-link a { color: var(--hc-navy) !important; font-weight: 800; }
body.home .hcfb-home-food .hcfb-neighbor-finder__funnel { flex-basis: 100%; width: 100%; margin-top: 1rem !important; }
.hcfb-home-food__collage { position: relative; min-height: 30rem; }
.hcfb-home-food__img { position: absolute; display: block; height: auto; object-fit: cover; border-radius: 6px; box-shadow: 0 18px 40px rgba(38, 39, 96, .18); }
.hcfb-home-food__img--1 { top: 0; right: 0; width: 82%; aspect-ratio: 4 / 3; }
.hcfb-home-food__img--2 { bottom: 0; left: 0; width: 52%; aspect-ratio: 1 / 1; border: 8px solid var(--hc-cream); }

/* ---- Neighbors we serve: magazine mosaic with a pull quote ---- */
.hcfb-home-stories { padding: 6rem 0; background: #fff; }
.hcfb-home-stories__heading { margin: 0 0 3rem; font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: .98; font-weight: 800; letter-spacing: -.03em; color: var(--hc-navy); }
.hcfb-home-stories__heading span { display: block; }
.hcfb-home-stories__heading span + span { padding-left: clamp(2rem, 9vw, 9rem); color: #b85500; }
.hcfb-home-mosaic { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 2.5fr) minmax(0, 2.5fr); grid-template-rows: auto auto; gap: 2rem 1.75rem; }
.hcfb-home-mosaic__item { margin: 0; }
.hcfb-home-mosaic__item a { display: block; color: inherit; text-decoration: none !important; }
.hcfb-home-mosaic__img { display: block; overflow: hidden; border-radius: 6px; background: var(--hc-cream); }
.hcfb-home-mosaic__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.hcfb-home-mosaic__item a:hover img { transform: scale(1.025); }
body.home #hcfb-primary-content .hcfb-home-mosaic__item a:focus-visible { outline-offset: 4px; border-radius: 6px; }
.hcfb-home-mosaic__item--lead { grid-column: 1; grid-row: 1 / 3; }
.hcfb-home-mosaic__item--lead .hcfb-home-mosaic__img { aspect-ratio: 4 / 3; }
.hcfb-home-mosaic__item--b { grid-column: 2; grid-row: 2; }
.hcfb-home-mosaic__item--c { grid-column: 3; grid-row: 2; }
.hcfb-home-mosaic__item--b .hcfb-home-mosaic__img, .hcfb-home-mosaic__item--c .hcfb-home-mosaic__img { aspect-ratio: 4 / 5; }
.hcfb-home-mosaic figcaption { display: grid; gap: .2rem; margin-top: .9rem; }
.hcfb-home-mosaic__name { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #6b3f00; }
.hcfb-home-mosaic__title { font-size: 1.05rem; font-weight: 800; line-height: 1.3; color: var(--hc-navy); }
.hcfb-home-mosaic__item--lead .hcfb-home-mosaic__title { font-size: 1.45rem; }
.hcfb-home-mosaic__quote { grid-column: 2 / 4; grid-row: 1; align-self: end; margin: 0; padding: 0 0 .5rem; }
.hcfb-home-mosaic__quote p { position: relative; margin: 0 0 .75rem; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.2; font-weight: 700; color: var(--hc-navy); }
.hcfb-home-mosaic__quote p::before { content: "“"; display: block; height: .6em; font: 900 4.5rem/1 Georgia, serif; color: var(--hc-orange); }
.hcfb-home-mosaic__quote footer { font-weight: 800; color: var(--hc-text); }

/* ---- Give hope: navy band, the child's photo on the right fading into it (above the text on phones) ---- */
.hcfb-home-give { position: relative; isolation: isolate; overflow: hidden; padding: 7rem 0; color: #fff; background: var(--hc-navy); }
.hcfb-home-give__media { position: absolute; top: 0; right: 0; bottom: 0; z-index: -1; width: 56%; }
.hcfb-home-give__photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }
.hcfb-home-give__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--hc-navy) 0%, rgba(38, 39, 96, .85) 14%, rgba(38, 39, 96, .4) 32%, rgba(38, 39, 96, 0) 55%); }
.hcfb-home-give__title { margin: 0 0 .75rem; font-size: clamp(3rem, 6vw, 5rem); line-height: .95; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.hcfb-home-give__copy { max-width: 26rem; margin: 0 0 2rem; font-size: 1.2rem; line-height: 1.5; color: #e8e9f4; }
.hcfb-home-give__cta { margin: 0 0 1rem; }
.hcfb-home-give__cta .hcfb-home-btn { box-sizing: content-box; }
/* Secondary giving destinations behind a native disclosure (no script). */
.hcfb-home-ways, .hcfb-home-ways a { color: #fff !important; }
.hcfb-home-ways summary { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; cursor: pointer; font-weight: 800; list-style: none; }
.hcfb-home-ways summary::-webkit-details-marker { display: none; }
.hcfb-home-ways summary::after { content: ""; width: .55rem; height: .55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s ease; }
.hcfb-home-ways[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.hcfb-home-ways ul { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin: .5rem 0 0; padding: 0; list-style: none; }
.hcfb-home-ways a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-underline-offset: .2em; }

/* ---- Hunger Across Every County (patterns/neighbor-map-bridge-placeholder.php): compact, on the 76rem column ---- */
body.home #hcfb-primary-content > .hcfb-neighbor-map-bridge { max-width: 76rem !important; padding: 4.75rem 2rem !important; box-sizing: border-box; }
body.home .hcfb-neighbor-map-bridge__heading { font-size: clamp(2rem, 3.2vw, 2.75rem) !important; line-height: 1.08 !important; }

/* ---- Feeding the Future (Hunger Action Center) banner ---- */
.hcfb-home-hac { padding: 6rem 0; background: var(--hc-cream); color: var(--hc-text); }
.hcfb-home-hac__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 4rem; align-items: center; }
.hcfb-home-hac__media { margin: 0; }
.hcfb-home-hac__photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; box-shadow: 0 18px 40px rgba(38, 39, 96, .18); }
.hcfb-home-hac__media figcaption { margin-top: .75rem; font-size: .85rem; color: #5b5c66; }
.hcfb-home-hac__title { margin: 0 0 1rem; font-size: clamp(2.2rem, 3.6vw, 3.25rem); line-height: 1.02; font-weight: 800; letter-spacing: -.025em; color: var(--hc-navy); }
.hcfb-home-hac__facility { margin: 0 0 1.25rem; padding-left: .85rem; border-left: 4px solid var(--hc-orange); font-size: 1.15rem; font-weight: 800; line-height: 1.3; color: var(--hc-navy); }
.hcfb-home-hac__copy { max-width: 32rem; margin: 0 0 2rem; font-size: 1.1rem; line-height: 1.6; }
.hcfb-home-hac__cta { margin: 0; }
.hcfb-home-btn--navy { background: var(--hc-navy); color: #fff !important; }

/* ---- What's happening: one scroll-snap carousel over the orange fruit-and-fork backdrop ---- */
.hcfb-wh { position: relative; isolation: isolate; padding: 5.5rem 0 !important; border-top: 1px solid var(--hc-border); overflow: hidden; color: var(--hc-text); background: #fff; }
.hcfb-wh__graphic { position: absolute; left: -1px; bottom: -3rem; z-index: -1; width: 18rem; height: auto; opacity: .8; pointer-events: none; }
.hcfb-wh__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.hcfb-wh__heading { margin: 0 0 .5rem; font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.1; font-weight: 800; letter-spacing: -.01em; color: var(--hc-navy); }
.hcfb-wh__intro { margin: 0; font-size: 1.05rem; }
.hcfb-wh__controls { display: flex; gap: .6rem; align-items: center; }
.hcfb-wh__btn { display: inline-grid; place-items: center; min-width: 48px; height: 48px; padding: 0 1rem; border: 2px solid var(--hc-navy); border-radius: 999px; background: #fff; color: var(--hc-navy); font: 800 1.1rem/1 inherit; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.hcfb-wh__btn[hidden] { display: none; }
.hcfb-wh__btn:hover:not(:disabled) { background: var(--hc-navy); color: #fff; }
.hcfb-wh__btn:disabled { opacity: .35; cursor: default; }
.hcfb-wh__btn--toggle { font-size: .95rem; }
.hcfb-wh__track { display: flex; gap: 1.5rem; margin: 0 -2rem; padding: .5rem 2rem 1.5rem; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2rem; scrollbar-width: thin; scrollbar-color: var(--hc-border) transparent; overscroll-behavior-x: contain; }
body.home #hcfb-primary-content .hcfb-wh__track:focus-visible { outline-offset: 2px; }
.hcfb-wh__card { position: relative; flex: 0 0 calc((100% - 4rem - 3 * 1.5rem) / 3.25); scroll-snap-align: start; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--hc-border); border-radius: 18px; background: #fff; box-shadow: var(--hc-shadow); }
.hcfb-wh__card:focus-within { outline: 3px solid var(--hc-orange); outline-offset: 3px; }
body.home #hcfb-primary-content .hcfb-wh__card a:focus-visible { outline: none; }
.hcfb-wh__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hc-cream); }
.hcfb-wh__media img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; }
.hcfb-wh__media .hcfb-wh__backdrop { position: absolute; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); max-width: none; padding: 0; object-fit: cover; filter: blur(14px); opacity: .35; }
.hcfb-wh__media--whole img:not(.hcfb-wh__backdrop) { object-fit: contain; padding: .5rem; box-sizing: border-box; }
.hcfb-wh__media--text { display: grid; place-items: center; font: 900 6rem/1 Georgia, serif; color: var(--hc-orange); background: #eef1fb; }
.hcfb-wh__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.25rem 1.3rem; }
.hcfb-wh__type { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin: 0 0 .6rem; font-size: .85rem; }
.hcfb-wh__chip { padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .02em; }
.hcfb-wh__chip--press { background: var(--hc-orange); color: var(--hc-navy); }
.hcfb-wh__chip--news { background: var(--hc-navy); color: #fff; }
.hcfb-wh__chip--event, .hcfb-wh__chip--fund { background: #e7f0cf; color: #3b5200; }
.hcfb-wh__chip--social { background: #e5eaf8; color: #1f2d6b; }
.hcfb-wh__meta { font-weight: 700; color: #5b5c66; }
.hcfb-wh__card--fund .hcfb-wh__meta { color: var(--hc-navy); }
.hcfb-wh__title { margin: 0 0 .75rem; font-size: 1.12rem; line-height: 1.32; }
.hcfb-wh__card--social .hcfb-wh__title { font-weight: 600; font-size: 1.02rem; }
.hcfb-wh__title a { color: var(--hc-navy); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.hcfb-wh__title a::after { content: ""; position: absolute; inset: 0; }
.hcfb-wh__sub { margin: -.4rem 0 .75rem; font-weight: 700; color: #4d6b00; }
.hcfb-wh__cta { margin: auto 0 0; font-weight: 800; color: var(--hc-navy); }
/* The link row starts beside the backdrop artwork so no text sits on the orange. */
.hcfb-wh__links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2rem; margin: 1.5rem 0 0 max(0px, calc(14rem - max(2rem, (100vw - 76rem) / 2 + 2rem))); padding-top: 1rem; border-top: 2px solid var(--hc-navy); }
.hcfb-wh__links span { margin-right: auto; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #6b3f00; }
.hcfb-wh__links a { display: inline-flex; align-items: center; gap: .4rem; min-height: 48px; font-size: 1.1rem; font-weight: 800; color: var(--hc-navy) !important; text-decoration: none; }
.hcfb-wh__links a::after { content: "→"; color: var(--hc-orange); transition: transform .15s ease; }
.hcfb-wh__links a:hover::after { transform: translateX(3px); }

/* ---- Email signup: same form, calmer frame ---- */
body.home .hcfb-home-get-in-touch { padding-top: 5rem !important; padding-bottom: 5rem !important; }
body.home .hcfb-home-get-in-touch img[aria-hidden="true"], body.home .hcfb-home-get-in-touch [class*="graphic"] { display: none !important; }

/* ---- Responsive ---- */
@media (max-width: 1100px) { .hcfb-wh__card { flex-basis: calc((100% - 4rem - 1.5rem) / 2.2); } }
@media (max-width: 900px) {
	.hcfb-home-food__grid { grid-template-columns: 1fr; gap: 3rem; }
	.hcfb-home-food__collage { min-height: 0; aspect-ratio: 5 / 4; }
	.hcfb-home-hac__grid { grid-template-columns: 1fr; gap: 2rem; }
	.hcfb-home-mosaic { grid-template-columns: 1fr 1fr; }
	.hcfb-home-mosaic__item--lead, .hcfb-home-mosaic__quote { grid-column: 1 / 3; grid-row: auto; }
	.hcfb-home-mosaic__item--b, .hcfb-home-mosaic__item--c { grid-column: auto; grid-row: auto; }
}
@media (max-width: 700px) {
	.hcfb-home-wrap { padding: 0 1rem; }
	body.home .hcfb-home-hero__actions .hcfb-home-btn { flex: 1 1 100%; }
	.hcfb-home-food, .hcfb-home-stories { padding: 3.5rem 0; }
	.hcfb-home-give { padding: 0 0 3.5rem; }
	.hcfb-home-give__media { position: relative; z-index: 0; width: 100%; aspect-ratio: 806 / 720; max-height: 26rem; }
	.hcfb-home-give__photo { object-position: 60% 30%; }
	.hcfb-home-give__media::after { background: linear-gradient(180deg, rgba(38, 39, 96, 0) 55%, var(--hc-navy) 100%); }
	.hcfb-home-give__inner { padding-top: 1.25rem; }
	.hcfb-home-hac { padding: 3.5rem 0; }
	body.home #hcfb-primary-content > .hcfb-neighbor-map-bridge { padding: 3.75rem 1rem !important; }
	.hcfb-wh__graphic { width: 8rem; bottom: -2rem; }
	.hcfb-wh__links { margin-left: 0; }
	.hcfb-wh { padding: 3.5rem 0 7.5rem !important; }
	.hcfb-wh__head { align-items: flex-start; }
	.hcfb-wh__track { margin: 0 -1rem; padding: .5rem 1rem 1.25rem; scroll-padding-inline: 1rem; gap: 1rem; }
	.hcfb-wh__card { flex-basis: 82%; }
	.hcfb-wh__links span { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.hcfb-home-btn, .hcfb-home-ways summary::after, .hcfb-home-mosaic__img img, .hcfb-wh__btn, .hcfb-wh__links a::after, body.home .hcfb-home-food .hcfb-neighbor-finder__quick-path::after { transition: none !important; }
	.hcfb-home-btn:hover, .hcfb-home-mosaic__item a:hover img, .hcfb-wh__links a:hover::after, body.home .hcfb-home-food .hcfb-neighbor-finder__quick-path:hover::after { transform: none; }
	.hcfb-wh__track { scroll-behavior: auto; }
}
