/* 2.2.0 — the simple fix list. Loaded after community-care.css on every page except /give.
   Switches: Appearance > Customize > Site fix list. Sections are numbered like the list.
   2.2.1 — cookie notice holds two lines on every phone; the 14px floor now covers Answers, Transparency, Reports,
   the home give box and the Water Drive labels.
   2.2.2 — pictures: the About photo is shown whole; six cropped pictures keep the person's face in view.
   2.2.3 — pictures that fit their section: captions sit under the pictures; new pictures on the program pages and Impact. */

/* ---------- 5. Cookie bar: one thin line on a wide screen, two short lines on a phone ---------- */
body.community-care-theme .tracking-consent{inset:auto 0 0;width:100%;max-width:none;margin:0;padding:7px 12px calc(7px + env(safe-area-inset-bottom,0px));gap:10px;border:0;border-top:1px solid rgba(255,255,255,.14);border-radius:0;flex-direction:row;align-items:center;justify-content:center;box-shadow:0 -6px 24px rgba(8,13,32,.16)}
body.community-care-theme .tracking-consent-copy{flex:0 1 auto;min-width:0;max-width:none}
body.community-care-theme .tracking-consent-copy p{margin:0;font-size:13px;line-height:1.3;color:rgba(255,255,255,.9)}
body.community-care-theme .tracking-consent-copy a{font-size:inherit;white-space:nowrap}
body.community-care-theme .tracking-consent-actions{flex:none;flex-wrap:nowrap;gap:6px}
body.community-care-theme .tracking-consent .button{flex:none;width:auto;min-height:32px;height:32px;padding:0 11px;font-size:13px;border-radius:999px;white-space:nowrap}
/* 2.2.1: a little less padding on phones, so the sentence fits in two lines from 360px wide. */
@media (max-width:420px){
  body.community-care-theme .tracking-consent{padding-left:10px;padding-right:10px;gap:8px}
  body.community-care-theme .tracking-consent-actions{gap:5px}
  body.community-care-theme .tracking-consent .button{padding:0 9px}
}

/* ---------- 10. Year-end strip ---------- */
.fx-yearend{display:flex;align-items:center;justify-content:center;gap:14px;padding:9px 16px;background:#ffc629;color:#1f1600;font-weight:700;font-size:14.5px;line-height:1.25;text-decoration:none}
.fx-yearend b{flex:none;display:inline-flex;align-items:center;gap:5px;padding:7px 13px;border-radius:999px;background:#1f1600;color:#fff;font-size:14px;white-space:nowrap}
.fx-yearend i{font-style:normal}
.fx-yearend:hover b{background:#000}
@media (max-width:640px){.fx-yearend{justify-content:space-between;padding-inline:12px;font-size:14px}}

/* ---------- 1. Home page: amounts and a Give button ---------- */
.fx-give{display:grid;gap:9px;max-width:540px}
.fx-row{display:none;margin:0}
.fx-amts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.fx-amt{display:grid;place-items:center;height:46px;padding:0;border:1.5px solid #c9d2e6;border-radius:7px;background:#fff;color:var(--ink);font:700 16px/1 var(--font-sans);text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.fx-amt:hover{border-color:var(--care-blue)}
.fx-amt[aria-pressed="true"]{border:2px solid var(--care-blue);background:#e4efff;color:#0036c9}
.community-care-theme .care-hero-copy .fx-what{margin:1px 0 0;max-width:none;color:#0036c9;font-size:14.5px;line-height:1.35;font-weight:700;letter-spacing:0}
.fx-what::before{content:"\2713\00a0"}
.community-care-theme .fx-give .fx-go{width:100%;min-height:52px;font-size:1.03rem}
.community-care-theme .care-hero-copy .fx-links{display:flex;flex-wrap:wrap;gap:6px 20px;margin:3px 0 0;max-width:none;font-size:14.5px;font-weight:700;letter-spacing:0}
.fx-links a{color:#0036c9;text-decoration:underline;text-underline-offset:3px}
.community-care-theme .care-hero-copy>p:has(+ .fx-give){margin-bottom:18px}

/* ---------- 12. Gift type on the checkout page ---------- */
.give-selection .fx-gift-type{display:block;font-style:normal;font-weight:700;color:#0036c9}
.food-gift-review .fx-gift-type{display:block;margin-top:2px;font-weight:700}

/* ---------- 8. Shorter Impact and Updates pages ---------- */
/* Lists are cut only when the page script is running (html.fx-js), so nothing is lost without it. */
.fx-js .fx-fold [data-project-grid]:not([data-fx-open])>:nth-child(n+4),
.fx-js .fx-fold .impact-evidence-grid:not([data-fx-open])>:nth-child(n+4),
.fx-js .fx-fold .field-notes-update-grid:not([data-fx-open])>:nth-child(n+7),
.fx-js .fx-fold .story-index-grid:not([data-fx-open])>:nth-child(n+4),
.fx-js .fx-fold .early-record-section:not([data-fx-open]) .mission-record-grid,
.fx-js .fx-fold .early-record-section:not([data-fx-open]) .archive-evidence-note,
.fx-js .fx-fold .metric-method-section:not([data-fx-open]) .metric-methods,
.fx-js .fx-fold .impact-principles:not([data-fx-open]) .principle-list,
.fx-js .fx-fold .project-archive-method:not([data-fx-open]) .project-method-grid{display:none!important}
.fx-more-row{display:flex;justify-content:flex-start;margin-top:22px}
.fx-more-btn{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:12px 20px;border:1.5px solid currentColor;border-radius:999px;background:transparent;color:inherit;font:700 15px/1.2 var(--font-sans);cursor:pointer}
.fx-more-btn:hover{background:rgba(6,70,238,.07)}
.section-pad-dark .fx-more-btn:hover,.page-hero-ink .fx-more-btn:hover{background:rgba(255,255,255,.1)}
.fx-js .fx-fold .early-record-section:not([data-fx-open]),
.fx-js .fx-fold .metric-method-section:not([data-fx-open]),
.fx-js .fx-fold .impact-principles:not([data-fx-open]),
.fx-js .fx-fold .project-archive-method:not([data-fx-open]){padding-block:clamp(30px,4vw,48px)}

/* No text under 14px. Only labels that are small everywhere are listed, so nothing larger is ever pulled down. */
.community-care-theme :is(.eyebrow,.footer-grid h3,.footer-bottom a,.footer-bottom p,.footer-link-button,.legal-note,.button-small,.back-link,.header-login-link,
.care-story-meta,.care-story-meta *,.care-community-image figcaption,.care-community-band .button,.project-journey-home-note,.project-journey-dial-ends span,.project-journey-category span,.project-journey-year-copy span,
.project-journey-caption b,.project-journey-caption em,.project-journey-event strong,.project-journey-event p,.project-journey-event p b,.project-journey-evidence-button,
.project-card-meta span,.project-card-meta b,.project-archive-card-copy strong,.impact-jumpnav a,.impact-ledger-copy span,.impact-special-projects-list strong,
.field-evidence-image figcaption :is(span,p),.field-evidence-card figcaption :is(span,p),.image-frame figcaption :is(span,p),.impact-hero-figure figcaption :is(span,p),.impact-evidence-wide figcaption :is(span,p),.page-hero-image figcaption span,
.mission-record-copy span,.archive-evidence-note :is(a,span),.metric-methods article span,.field-note-meta :is(span,time),.field-note-source,.field-note-observation span,.field-note-card .text-link,
.story-card-footer time,.story-card .text-link,.story-meta :is(span,time),.field-notes-switcher small,.famidi-watch-label,.steps-grid article span,.reason-list span,.values-grid article span,.team-grid article span,
.identity-grid :is(span,p),.accountability-list article span,.registry-links a,.give-help :is(span,strong,a),.give-back-link,.give-selection span,.give-program-photo figcaption,
.project-journey .text-link,.impact-program-ledger dl dt,.answer-card span,.answer-cluster-heading span,.answer-load-more,.answer-load-more span,.answer-search label span,.answer-search p,
.impact-ledger-actions .text-link,.answer-cluster-nav a,.answer-cluster-nav a span,.answer-review-line>:is(span,time),.answer-editorial-note,.answer-aside dl dt,.answer-related-grid a>span,
.disclosure-grid article>span,.report-grid article>div>span){font-size:14px!important}
.community-care-theme :is(.eyebrow,.project-card-meta span,.project-card-meta b,.field-note-meta span,.field-note-meta time,.field-note-source,.field-note-observation span,.identity-grid span,.metric-methods article span,.mission-record-copy span,.impact-ledger-copy span,.project-journey-year-copy span,.project-journey-caption b,.footer-grid h3,.answer-aside dl dt,.answer-related-grid a>span,.disclosure-grid article>span){letter-spacing:.06em}
/* 2.2.1: the Water Drive plugin's own small labels. They live here until the plugin's next release carries them itself. */
body.community-care-theme .fwd :is(.fwd-eyebrow,.fwd-card-kicker,.fwd-badge span,.fwd-card-image-kind,.fwd-card-media-label,.fwd-card-facts span,.fwd-card-location span,.fwd-price-label,.fwd-price-note,.fwd-result-count,
.fwd-journey-nav a,.fwd-project-nav a,.fwd-video-indicator span,.fwd-video-duration,.fwd-video-label,.fwd-hero-caption span,.fwd-directory-footer :is(p,span),.fwd-handoff-note,.fwd-verified-date,.fwd-gallery-hint,
.fwd-detail-cover figcaption,.fwd-gallery-image figcaption,.fwd-province-list summary,.fwd-province-list-name,.fwd-province-list-count,.fwd-map-legend li,.fwd-coverage-top .fwd-text-link,
.fwd-availability-notice,.fwd-detail-facts dt,.fwd-budget-table thead th,.fwd-budget-table tbody td,.fwd-budget-rate,.fwd-sponsor-secondary,.fwd-archive-stats span,.fwd-province-reset,.fwd-view-label,.fwd-hero-assurance span){font-size:14px!important}

/* ---------- 9. One look: the give page's type, gold and photo-first top on the rest of the site ---------- */
.fx-look{--font-display:"Bricolage Grotesque","Avenir Next",system-ui,sans-serif;--fx-ink:#0b1416;--fx-ink-2:#142125;--fx-paper:#fbf8f1;--fx-gold:#ffc629;--fx-gold-2:#ffd45c;--fx-gold-ink:#1f1600;
  --fx-serif:"Instrument Serif","Iowan Old Style",Palatino,Georgia,serif;--fx-mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace}
.fx-look.community-care-theme :is(h1,h2,h3){font-family:var(--font-display);font-weight:800;letter-spacing:-.035em}
.fx-look.community-care-theme h3{letter-spacing:-.02em}

/* Buttons: one shape; gold is the action colour, as on the give page. */
.fx-look.community-care-theme .button{border-radius:16px;font-family:var(--font-display);font-weight:800;letter-spacing:-.01em}
.fx-look.community-care-theme :is(.button-ink,.button-saffron){background:var(--fx-gold);color:var(--fx-gold-ink)}
.fx-look.community-care-theme :is(.button-ink,.button-saffron):hover{background:var(--fx-gold-2);color:var(--fx-gold-ink)}
.fx-look.community-care-theme .button-soft{background:rgba(11,20,22,.07);color:var(--fx-ink)}
.fx-look.community-care-theme .button-soft:hover{background:rgba(11,20,22,.12)}
.fx-look.community-care-theme .button-outline{color:var(--fx-ink);border-color:rgba(11,20,22,.32)}
.fx-look.community-care-theme .button-outline:hover{background:rgba(11,20,22,.05);border-color:var(--fx-ink)}
.fx-look.community-care-theme :is(.section-pad-dark,.page-hero-ink,.site-footer,.field-notes-next) .button-outline{color:#fff;border-color:rgba(255,255,255,.4)}
.fx-look.community-care-theme :is(.section-pad-dark,.page-hero-ink,.site-footer,.field-notes-next) .button-outline:hover{background:rgba(255,255,255,.1);border-color:#fff}
.fx-look .fx-more-btn{font-family:var(--font-display);font-weight:800;border-radius:16px}

/* Top bar: dark, white logo, gold Donate. */
.fx-look.community-care-theme .site-header{background:var(--fx-ink);border-bottom-color:rgba(255,255,255,.1)}
.fx-look .site-header .brand-link img{filter:brightness(0) invert(1)}
.fx-look.community-care-theme .desktop-nav a{color:rgba(251,248,241,.84)}
.fx-look.community-care-theme .desktop-nav a:hover{color:#fff}
.fx-look.community-care-theme .header-login-link{color:rgba(251,248,241,.7)}
.fx-look.community-care-theme .site-header .button{border-radius:999px}
.fx-look.community-care-theme .menu-button span{background:var(--fx-paper)}
.fx-look.community-care-theme .menu-button:focus-visible{outline-color:var(--fx-gold)}

/* Dark bands share the give page's ink. */
.fx-look.community-care-theme .site-footer{background:var(--fx-ink)}
.fx-look.community-care-theme :is(.field-evidence-section,.field-notes-next,.section-pad-dark){background:var(--fx-ink-2)}
.fx-look .care-community-band{background:var(--fx-ink)}
.fx-look.community-care-theme .tracking-consent{background:var(--fx-ink)}
.fx-look.community-care-theme .tracking-consent .button-ink{background:var(--fx-gold);color:var(--fx-gold-ink)}

/* Home top: photo first, one gold phrase, amounts and the Give button. */
.fx-look .care-hero{background:var(--fx-ink);color:var(--fx-paper)}
.fx-look.community-care-theme .care-hero-copy h1{color:var(--fx-paper);font-weight:800;letter-spacing:-.04em}
.fx-look .care-hero-copy h1 span{display:inline-block;margin-top:.06em;padding:0 .2em .08em;background:var(--fx-gold);color:var(--fx-gold-ink);font-family:var(--fx-serif);font-style:italic;font-weight:400;font-size:1.16em;line-height:1.02;letter-spacing:-.01em}
.fx-look.community-care-theme .care-hero-copy>p{color:rgba(251,248,241,.92)}
.fx-look .fx-give{gap:10px}
.fx-look .fx-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.fx-look .fx-lbl{font:600 14px/1.2 var(--fx-mono);letter-spacing:.08em;text-transform:uppercase;color:rgba(251,248,241,.78)}
.fx-look .fx-cap{font:500 14px/1.3 var(--font-sans);letter-spacing:0;color:rgba(251,248,241,.72);white-space:nowrap}
.fx-look .fx-amt{height:52px;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:rgba(255,255,255,.1);color:var(--fx-paper);font:700 19px/1 var(--font-display)}
.fx-look .fx-amt:hover{border-color:rgba(255,255,255,.4)}
.fx-look .fx-amt[aria-pressed="true"]{border:1px solid var(--fx-gold);background:var(--fx-gold);color:var(--fx-gold-ink)}
.fx-look.community-care-theme .fx-give .fx-go{order:3;min-height:56px;border-radius:18px;background:#fff;color:var(--fx-ink);font-size:19px}
.fx-look.community-care-theme .fx-give .fx-go:hover{background:var(--fx-paper)}
.fx-look.community-care-theme .care-hero-copy .fx-what{order:4;margin:0;text-align:center;color:rgba(251,248,241,.9);font:600 14.5px/1.35 var(--font-sans);letter-spacing:0}
.fx-look .fx-what::before{content:none}
.fx-look.community-care-theme .care-hero-copy .fx-links{order:5;justify-content:center;gap:6px 22px;margin-top:2px;font:600 14px/1.2 var(--font-sans)}
.fx-look .fx-links a{color:var(--fx-paper)}
.fx-look .care-hero-media{border-radius:14px}
@media (max-width:860px){
  .fx-look .care-hero{padding:0}
  .fx-look.community-care-theme .care-hero-grid{position:relative;display:block;width:100%;max-width:none;min-height:clamp(560px,calc(100svh - 67px),780px)}
  .fx-look .care-hero-media{position:absolute;inset:0;margin:0;max-width:none;border-radius:0}
  .fx-look .care-hero-media img{width:100%;height:62%;object-fit:cover;object-position:54% 50%;background:var(--fx-ink)}
  .fx-look .care-hero-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,20,22,.28) 0%,rgba(11,20,22,0) 14%,rgba(11,20,22,0) 34%,rgba(11,20,22,.62) 50%,rgba(11,20,22,.93) 62%,rgba(11,20,22,.985) 100%)}
  .fx-look .care-hero-copy{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:flex-end;min-height:inherit;padding:20px 16px 18px}
  .fx-look.community-care-theme .care-hero-copy h1{margin:0;font-size:clamp(2.5rem,10.8vw,3.4rem);line-height:.98}
  .fx-look.community-care-theme .care-hero-copy>p{max-width:none;margin:10px 0 16px;font-size:15px;line-height:1.4;letter-spacing:0}
  .fx-look .fx-give{max-width:none}
  /* 2.2.1: at 14px the label and the photo caption no longer share a row on a phone; the caption goes under the links. */
  .fx-look .fx-row{display:contents}
  .fx-look .fx-cap{order:6;text-align:center;white-space:normal}
}
@media (min-width:861px){
  .fx-look .care-hero{padding-block:44px}
  .fx-look .fx-give{max-width:500px}
}
/* Small labels on dark bands use the gold, so they can be read. */
.fx-look.community-care-theme :is(.section-pad-dark,.field-notes-next,.field-evidence-section,.site-footer,.care-community-band) .eyebrow{color:var(--fx-gold)}
.fx-look.community-care-theme .mobile-menu-inner .button{border-radius:16px}
.fx-look.community-care-theme :is(.page-hero-warm,.page-hero-ink,.impact-hero-record,.field-notes-hero) .button-outline-light{color:var(--fx-ink);border-color:rgba(11,20,22,.32);background:transparent}
.fx-look.community-care-theme :is(.page-hero-warm,.page-hero-ink,.impact-hero-record,.field-notes-hero) .button-outline-light:hover{background:rgba(11,20,22,.05);border-color:var(--fx-ink)}

/* ---------- 2.2.2 — pictures: nothing important cut off ---------- */
/* A page-top picture marked "whole" keeps its own shape; the page never crops it. Used on About. */
.community-care-theme .page-hero-figure{min-width:0;margin:0}
.community-care-theme .page-hero-image.is-whole{width:100%;max-width:min(100%,520px);max-height:none;margin-inline:auto}
.community-care-theme .page-hero-image.is-whole img{width:100%;height:100%;object-fit:contain}
.community-care-theme .page-hero-figure figcaption{max-width:520px;margin:10px auto 0;font-size:14px;line-height:1.45;color:var(--muted)}
@media (min-width:861px){.community-care-theme .page-hero-image.is-whole,.community-care-theme .page-hero-figure figcaption{max-width:min(100%,460px)}}
/* Where a page crops a tall picture into a wide box, keep the person's face in the window. One line per picture. */
.community-care-theme img[src*="food-package-april-2024"]{object-position:50% 12%}
.community-care-theme img[src*="food-delivery-branded-june-2026"]{object-position:50% 16%}
.community-care-theme img[src*="food-box-open-june-2026"]{object-position:50% 15%}
.community-care-theme img[src*="food-package-complete-august-2025"]{object-position:50% 12%}
.community-care-theme img[src*="naan-2026-daily-bread"]{object-position:50% 22%}
.community-care-theme img[src*="naan-bakery"]{object-position:50% 28%}
/* In the year panel big text sits on the picture, so it shows the bread at the bottom of this photo: no face under
   text and nobody cut off at the neck (2.2.3). */
.community-care-theme .project-journey-year img[src*="naan-bakery"]{object-position:50% 100%}
/* Signed-in admins on a phone: WordPress's own bar scrolls away under 600px, so the site bar and the sticky rows
   sit where visitors see them instead of leaving a gap above. */
@media (max-width:600px){
  .community-care-theme.admin-bar .site-header{top:0}
  .community-care-theme.admin-bar :is(.answer-cluster-nav,.impact-jumpnav){top:72px}
}

/* ---------- 2.2.3 — pictures that fit their section ---------- */
/* "See the work" cards and the Impact field photos: the caption sits under the picture, so it never covers what the
   picture shows. */
.community-care-theme .field-evidence-card .field-evidence-image{aspect-ratio:auto;overflow:visible;background:transparent;border-radius:0}
.community-care-theme .field-evidence-card .field-evidence-image img{aspect-ratio:3 / 4;height:auto;border-radius:12px}
.community-care-theme .field-evidence-card .field-evidence-image:hover img{transform:none}
.community-care-theme .field-evidence-card figcaption{position:static;padding:14px 2px 0;background:none}
.community-care-theme .field-evidence-card figcaption p{max-width:none}
.community-care-theme .impact-evidence-grid{grid-auto-rows:auto;align-items:start}
.community-care-theme .impact-evidence-grid figure.image-frame{display:block;height:auto;overflow:visible;background:transparent;border-radius:0}
.community-care-theme .impact-evidence-grid figure.image-frame>img{height:330px;border-radius:12px}
.community-care-theme .impact-evidence-grid figure.image-frame:hover>img{transform:none}
.community-care-theme .impact-evidence-grid figcaption{position:static;inset:auto;padding:12px 2px 0;background:none}
@media (max-width:760px){.community-care-theme .impact-evidence-grid figure.image-frame>img{height:auto;aspect-ratio:16 / 10}}
/* The new "See the work" pictures are cut to 2:3: tall enough for a standing person and the items at their feet. */
.community-care-theme .field-evidence-card .field-evidence-image img[src*="-work-"]{aspect-ratio:2 / 3}
/* A project record with no true photo on file shows a short icon strip, not a tall empty box. */
.community-care-theme .project-archive-card-media-empty{aspect-ratio:auto;min-height:0;height:84px}
/* Water Drive cards crop tall frames into a wide box. Until the plugin's next release, keep the useful part in view:
   the lane and village on the Kama survey photo; the mason, not the burned-in title, on the Dand video frame. */
body.community-care-theme .fwd img[src*="kama-water-well-c6894f16-site-assessment"]{object-position:50% 18%}
body.community-care-theme .fwd img[src*="well-75-dand-update-1"]{object-position:50% 20%}
