
/* Partner logos are a quiet footer to the text, never covers or stand-ins for photographs. */
.vff-logos{display:flex;align-items:center;justify-content:flex-start;gap:16px;flex-wrap:wrap;margin-top:20px;max-width:100%;}
.vff-logo-slot{display:flex;width:145px;height:55px;align-items:center;justify-content:flex-start;min-width:0;max-width:calc(50% - 8px)}
.vff-logo-slot .transparent-partner-logo{display:block;max-width:100%;max-height:100%;height:auto;width:auto;object-fit:contain;object-position:left center;border:0;background:transparent;border-radius:0;box-shadow:none;filter:none}
/* Studies overview: consistent bottom-aligned logos under text and action links. */
.story{display:flex;flex-direction:column}
.story .story-image-block{flex:0 0 auto}
.story .story-body{display:flex;flex-direction:column;flex:1}
.story-body .story-links{margin-top:20px}
.story-body .vff-logos--card{margin-top:auto;padding-top:23px;min-height:78px;gap:12px}
.story-body .vff-logos--card .vff-logo-slot{height:51px;width:140px}
/* Expanded story: small logo row follows every paragraph and navigation action. */
.detail-copy .vff-logos--detail{margin-top:30px;padding-top:15px;border-top:1px solid rgba(36,55,32,.12)}
.detail-copy .vff-logos--detail .vff-logo-slot{width:150px;height:56px}
/* Partners: single modest logo under each organization's descriptive text. */
.partner .vff-logos--partner{margin-top:14px;gap:0}
.partner .vff-logos--partner .vff-logo-slot{width:132px;height:44px;max-width:100%}
/* Donor gallery: native transparency, restrained uniform bounding boxes. */
.donor-logo-section{background:var(--sage-2);padding-top:70px;padding-bottom:75px}
.donor-logo-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 20px;align-items:center}
.donor-logo-item{min-width:0;min-height:64px;display:flex;align-items:center;justify-content:center;padding:6px;background:transparent;border:0;text-decoration:none;transition:transform .18s ease}
.donor-logo-item .transparent-partner-logo{display:block;max-width:100%;max-height:54px;width:auto;height:auto;object-fit:contain;object-position:center;border:0;background:transparent;box-shadow:none;filter:none}
.donor-logo-gallery--districts .donor-logo-item .transparent-partner-logo{max-height:49px}
.donor-logo-beyond{background:var(--forest);padding:24px 30px 30px;margin-top:36px;border-radius:26px}
.donor-logo-beyond .donor-logo-heading{color:#eef3e9;margin:2px 0 18px}
.donor-logo-gallery--beyond{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.donor-logo-gallery--beyond .donor-logo-item .transparent-partner-logo{max-height:56px}
.donor-logo-item:hover{transform:translateY(-2px)}
.donor-logo-item:focus-visible{outline:2px solid var(--brown);outline-offset:4px;border-radius:12px}
@media(max-width:760px){
  .donor-logo-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .donor-logo-gallery--beyond{grid-template-columns:1fr}
  .story-body .vff-logos--card .vff-logo-slot{width:140px;height:50px}
  .detail-copy .vff-logos--detail .vff-logo-slot{width:140px;height:52px}
}


/* 2026-10: School district and nonprofit partnership logos appear together. */
.partner .vff-logos--partner { gap: 14px; min-height: 58px; flex-wrap: nowrap; }
.partner .vff-logos--partner .vff-logo-slot { width: 139px; height: 48px; flex: 0 1 139px; max-width: calc(50% - 7px); }
.partner .vff-logos--partner .vff-logo-slot .transparent-partner-logo { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner > div:first-child { min-width: 0; flex: 1; display: flex; flex-direction: column; align-self: stretch; }
.partner > div:first-child .vff-logos--partner { margin-top: auto; padding-top: 18px; }

/* Studies overview: balanced photo area across every card; logos remain natural-sized below the text. */
.story-grid-wide .story > .story-image-block {
    display: flex;
    flex: 0 0 335px;
    height: 335px;
    width: 100%;
    min-width: 0;
    align-items: center;
    justify-content: center;
    padding: 18px 18px 0;
    background: transparent;
    overflow: hidden;
}
.story-grid-wide .story > .story-image-block > img.site-rounded-photo.demo-complete-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 26px;
    background: transparent !important;
}
.story-grid-wide .story > .story-image-block > .media-placeholder {
    display: flex;
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    border-radius: 26px;
}
/* A vertical report cover is not a photograph: show all of it, uncropped. */
.story-grid-wide .story > .story-image-block[href="national-park-foundation.html"] > img.site-rounded-photo.demo-complete-image {
    width: auto !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

/* Focus: align photos, captions, and heading tops in the existing 3-column layout. */
.focus-mosaic { align-items: stretch; }
.focus-mosaic .focus-panel { display: flex; flex-direction: column; min-width: 0; }
.focus-mosaic .focus-panel > img.site-rounded-photo.demo-complete-image {
    display: block;
    flex: 0 0 245px;
    height: 245px !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 26px;
    background: transparent !important;
}
.focus-mosaic .focus-panel .panel-copy { flex: 1; padding: 22px 2px 0; }
.focus-mosaic .focus-panel h3 { margin: 0 0 14px; line-height: 1.2; }
@media (max-width: 940px) {
    .focus-mosaic .focus-panel > img.site-rounded-photo.demo-complete-image { height: 260px !important; flex-basis: 260px; }
}
@media (max-width: 620px) {
    .story-grid-wide .story > .story-image-block { flex-basis: 250px; height: 250px; padding: 14px 14px 0; }
    .story-grid-wide .story > .story-image-block > img.site-rounded-photo.demo-complete-image,
    .story-grid-wide .story > .story-image-block > .media-placeholder { border-radius: 20px; }
    .focus-mosaic .focus-panel > img.site-rounded-photo.demo-complete-image { border-radius: 20px; }
}
