@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght,SOFT,WONK@9..144,600,30,1;9..144,700,30,1&display=swap');
:root{--cream:#fff9ed;--ink:#493124;--teal:#447e78;--peach:#f7d9c7;--sage:#e3edda;--yellow:#f9e8b8}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:'DM Sans',sans-serif;line-height:1.55}a{color:inherit}header{background:#fffdf8;border-bottom:1px solid #e9dfd1;position:sticky;top:0;z-index:5}.nav{max-width:1160px;margin:auto;padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font-family:Fraunces,Georgia,serif;font-weight:700;font-size:25px;text-decoration:none;line-height:1.05}.brand span{color:#d98368}.links{display:flex;gap:24px;flex-wrap:wrap}.links a{text-decoration:none;font-weight:600;font-size:14px}.links a:hover,.links a:focus{color:#a95b47}main{max-width:1160px;margin:auto;padding:28px 24px 70px}.hero{background:linear-gradient(115deg,#fbe5d1,#fdf4df 60%,#e7f0e4);border-radius:28px;padding:50px;display:grid;grid-template-columns:1.05fr .95fr;gap:32px;align-items:center;overflow:hidden}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-weight:700;color:var(--teal);font-size:13px}h1,h2,h3{font-family:Fraunces,Georgia,serif;line-height:1.15;margin:12px 0}h1{font-size:clamp(40px,5vw,68px)}h2{font-size:clamp(30px,3.6vw,44px)}h3{font-size:24px}.hero p{font-size:18px;max-width:540px}.hero img{width:100%;height:380px;object-fit:cover;object-position:center 35%;border:9px solid #fff;border-radius:24px;box-shadow:0 12px 28px #6c514333;transform:rotate(2deg)}.btn{display:inline-block;background:var(--teal);color:white;text-decoration:none;font-weight:700;border-radius:40px;padding:13px 23px;margin:10px 10px 0 0}.btn.secondary{background:white;color:var(--teal);border:2px solid var(--teal)}.section{margin-top:58px}.intro{max-width:700px;font-size:17px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:24px}.card{background:#fff;border:1px solid #ecdfd1;border-radius:22px;padding:23px;box-shadow:0 5px 18px #6c51430b}.card:nth-child(2){background:#e8f1ed}.card:nth-child(3){background:#fff1d4}.card .emoji{font-size:36px}.feature{background:#f9ebdf;border-radius:28px;padding:32px;display:grid;grid-template-columns:.8fr 1.2fr;gap:28px;align-items:center}.photos{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.photo{background:white;padding:8px 8px 14px;border-radius:9px;box-shadow:0 5px 14px #51392320;min-width:0}.photo img{width:100%;height:180px;object-fit:cover;border-radius:4px}.photo b{display:block;text-align:center;padding-top:8px;font-family:Fraunces,Georgia,serif}.small{font-size:13px;color:#765d4d}.story{max-width:770px;margin:28px auto;font-size:18px}.story p{margin-bottom:20px}.video{background:#e7f0e9;border-radius:24px;padding:30px;text-align:center}.video iframe{width:100%;max-width:340px;height:560px;border:0;border-radius:18px;background:#222}.footer{background:#3f6e68;color:white;padding:35px 24px;text-align:center}.footer a{color:white}.note{font-size:13px;color:#6e5a4a}.sketch{font-size:70px;line-height:1.2} @media(max-width:800px){.hero,.feature{grid-template-columns:1fr}.hero{padding:28px}.hero img{height:300px}.cards{grid-template-columns:1fr}.links{gap:12px}.nav{align-items:flex-start;flex-direction:column}.photo img{height:130px}}@media(max-width:470px){.photos{gap:6px}.photo{padding:5px}.photo img{height:100px}.photo b{font-size:12px}.hero{padding:22px}main{padding:16px 14px 45px}}/* Keep Merlin's entire face and ears visible in the story photographs. */
.photo img{height:220px;object-fit:contain;object-position:center center;background:#f8f0e6;display:block}
.hero img{object-position:center top}
@media(max-width:800px){.photo img{height:190px}}
@media(max-width:470px){.photo img{height:125px}}

/* Whimsical banner-led homepage update */
.banner-hero{width:100%;overflow:hidden;border-radius:24px;background:#f7e8d7;box-shadow:0 8px 25px #6c51431c}.banner-hero img{width:100%;height:auto;display:block}.welcome{text-align:center;padding:30px 24px 12px;max-width:820px;margin:auto}.welcome h1{font-size:clamp(34px,4vw,52px);margin:8px 0}.welcome p{font-size:18px;margin:10px auto;max-width:680px}.welcome .btn{margin-top:12px}.about{background:#e8f1ed;border-radius:24px;padding:30px 36px}.about p{max-width:760px;font-size:17px}.card{transition:transform .15s ease}.card:hover{transform:translateY(-2px)}@media(max-width:600px){.banner-hero{border-radius:14px}.welcome{padding:25px 8px 4px}.welcome p{font-size:16px}.about{padding:24px}}

/* Samson story page */
.samson-hero{background:linear-gradient(115deg,#f8e4e9,#fff9ef 55%,#dcecf6)}
.samson-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:24px}
.samson-gallery .photo{margin:0}.samson-gallery .photo img{width:100%;height:245px;object-fit:contain;background:#faf1ee}
.samson-gallery figcaption{text-align:center;padding:12px 4px 3px;font-family:Fraunces,Georgia,serif;font-weight:700}
.samson-story{background:#fffdf8;border-radius:24px;padding:22px 32px;max-width:860px}
.samson-videos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:820px;margin:20px auto}
.samson-videos article{background:#fffefa;border-radius:22px;padding:14px}.samson-videos h3{font-size:22px}
.samson-videos iframe{height:480px;max-width:280px}
.samson-feature{background:#e7eef5}.samson-feature .photos{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:850px){.samson-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.samson-gallery .photo img{height:210px}}
@media(max-width:520px){.samson-gallery .photo img{height:165px}.samson-videos{grid-template-columns:1fr}.samson-story{padding:18px}.samson-feature .photos{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Samson story: compact, responsive photo gallery. Scoped to Samson only. */
.samson-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:start;margin-top:18px}
.samson-gallery .photo{padding:7px 7px 9px;margin:0;overflow:hidden}
.samson-gallery .photo img{width:100%;height:190px;object-fit:cover;object-position:center center;background:#f8f0e6;display:block;border-radius:5px}
.samson-gallery figcaption{font-family:'DM Sans',sans-serif;font-size:13px;line-height:1.25;padding:8px 2px 2px;text-align:center}
@media(max-width:800px){.samson-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.samson-gallery .photo img{height:180px}}
@media(max-width:470px){.samson-gallery{gap:9px}.samson-gallery .photo img{height:145px}.samson-gallery figcaption{font-size:12px}}

/* Merlin gallery: portrait-fitted frames with no wasted beige letterboxing. */
.merlin-gallery{max-width:790px;margin:24px auto 0;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}
.merlin-gallery .photo{margin:0;padding:7px 7px 10px;overflow:hidden}
.merlin-gallery .photo img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;object-position:center;background:transparent;border-radius:4px}
.merlin-gallery .photo b{padding-top:7px;line-height:1.2}
@media(max-width:600px){.merlin-gallery{gap:9px}.merlin-gallery .photo{padding:5px 5px 8px}.merlin-gallery .photo b{font-size:13px}}

/* HOMEPAGE FEATURED FOSTERS ONLY: snug frames around original photos. */
body > main .feature .photos {display:flex;align-items:flex-start;justify-content:center;gap:12px;flex-wrap:nowrap}
body > main .feature .photos .photo {flex:0 1 auto;width:max-content;max-width:33.33%;padding:5px 5px 7px;margin:0;min-width:0;border-radius:9px}
body > main .feature .photos .photo img {display:block;width:auto;max-width:100%;height:165px;object-fit:contain;object-position:center;background:transparent;border-radius:4px}
body > main .feature .photos .photo b {padding-top:5px;line-height:1.2;font-size:13px}
@media(max-width:900px){body > main .feature .photos .photo img{height:145px}}
@media(max-width:470px){body > main .feature .photos{gap:6px}body > main .feature .photos .photo{padding:3px 3px 5px}body > main .feature .photos .photo img{height:105px}body > main .feature .photos .photo b{font-size:11px}}

/* Ebony and Ash additions */
.coloring-preview{display:block;width:min(100%,660px);height:auto;margin:24px auto;border-radius:16px;border:1px solid #e6dce8;box-shadow:0 8px 25px rgba(60,45,70,.09)}

/* Compact photo spacing across homepage and every foster story. */
.section{margin-top:36px}
.feature{padding:22px;gap:18px}
.feature .photos{gap:8px}
.feature .photos .photo{padding:4px 4px 6px;max-width:100%}
.feature .photos .photo img{height:165px;width:100%;object-fit:cover;object-position:center 38%;background:transparent}
.feature .photos .photo b{padding-top:4px}
body > main .feature .photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:start}
body > main .feature .photos .photo{width:auto;max-width:none;min-width:0;padding:4px 4px 6px}
body > main .feature .photos .photo img{width:100%;height:160px;object-fit:cover;object-position:center 32%;background:transparent}
body > main .sabel-feature .photos{grid-template-columns:repeat(2,minmax(0,1fr))}
body > main .sabel-feature .photos .photo img{height:200px}
.photo{padding:5px 5px 8px}
.photo img{display:block;width:100%;height:220px;object-fit:cover;object-position:center 30%;background:transparent}
.photo b,.photo figcaption{padding-top:5px;margin:0;text-align:center;line-height:1.25}
.merlin-gallery{max-width:850px;margin:16px auto 0;gap:10px}
.merlin-gallery .photo{padding:5px 5px 8px}
.merlin-gallery .photo img{width:100%;height:260px;aspect-ratio:auto;object-fit:contain;background:transparent}
.samson-gallery{gap:9px;margin-top:14px}
.samson-gallery .photo{padding:5px 5px 7px}
.samson-gallery .photo img{height:205px;object-fit:cover}
.sabel-gallery{grid-template-columns:repeat(2,minmax(0,1fr));max-width:650px;margin:16px auto;gap:12px}
.sabel-gallery .photo img{height:320px;object-fit:cover;object-position:center 35%}
.sabel-gallery figcaption{font-weight:700;font-family:Fraunces,Georgia,serif;padding-top:5px}
.sabel-hero{background:linear-gradient(115deg,#f1e5f7,#fff8ef 60%,#e8f3ee)}
.story{margin:22px auto}.story p{margin-bottom:13px}
@media(max-width:800px){.feature{padding:18px}.feature .photos .photo img{height:155px}body > main .feature .photos .photo img{height:145px}.samson-gallery .photo img{height:175px}}
@media(max-width:470px){.feature{padding:15px}body > main .feature .photos{gap:5px}body > main .feature .photos .photo{padding:3px 3px 5px}body > main .feature .photos .photo img{height:120px}body > main .sabel-feature .photos .photo img{height:155px}.merlin-gallery{gap:6px}.merlin-gallery .photo img{height:160px}.samson-gallery .photo img{height:150px}.sabel-gallery .photo img{height:225px}}


/* Weekly spotlight: show only one featured foster on the homepage. */
section.feature[hidden]{display:none!important}
.all-stories{margin-top:26px;text-align:center}
.all-stories h2{font-size:clamp(25px,3vw,35px)}
.story-links{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:14px}
.story-links a{display:inline-block;padding:9px 15px;border:1px solid #dcc9b7;background:#fffdf8;border-radius:25px;text-decoration:none;font-weight:700}
.story-links a:hover{background:#e7f0e9}
/* Unified, tight photo galleries with minimal frame padding and no letterboxing. */
.feature{padding:18px;gap:16px}
.feature .photos,body > main .feature .photos{gap:6px!important}
.feature .photos .photo,body > main .feature .photos .photo{padding:3px 3px 5px!important;border-radius:7px}
.feature .photos .photo img,body > main .feature .photos .photo img{display:block;width:100%;height:175px;object-fit:cover;object-position:center 32%;background:transparent}
.feature .photos .photo b{padding-top:3px;font-size:12px}
body > main .sabel-feature .photos .photo img{height:205px}
.merlin-gallery,.samson-gallery,.sabel-gallery{gap:7px!important;margin-top:12px!important}
.merlin-gallery .photo,.samson-gallery .photo,.sabel-gallery .photo{padding:3px 3px 5px!important}
.merlin-gallery .photo img{width:100%;height:250px;object-fit:cover;object-position:center 28%;background:transparent}
.samson-gallery .photo img{height:200px;object-fit:cover;object-position:center 30%}
.sabel-gallery .photo img{height:275px;object-fit:cover;object-position:center 32%}
/* Story-page galleries not using a named gallery class. */
.story ~ .photos,.photos:not(.merlin-gallery):not(.sabel-gallery){gap:7px}
.photo{padding:3px 3px 5px!important}
.photo img{background:transparent;object-fit:cover}
.photo b,.photo figcaption{padding-top:4px}
@media(max-width:800px){.feature .photos .photo img,body > main .feature .photos .photo img{height:145px}.merlin-gallery .photo img{height:200px}.sabel-gallery .photo img{height:225px}}
@media(max-width:470px){.feature{padding:12px}.feature .photos,body > main .feature .photos{gap:4px!important}.feature .photos .photo img,body > main .feature .photos .photo img{height:112px}.merlin-gallery .photo img{height:145px}.samson-gallery .photo img{height:145px}.sabel-gallery .photo img{height:190px}}

/* Unified edge-to-edge photo presentation throughout the website. */
.photo, .feature .photos .photo, body > main .feature .photos .photo,
.merlin-gallery .photo,.samson-gallery .photo,.sabel-gallery .photo {padding:0!important;margin:0!important;overflow:hidden!important;}
.photos,.feature .photos,body > main .feature .photos,.merlin-gallery,.samson-gallery,.sabel-gallery {gap:5px!important;}
.photo img,.feature .photos .photo img {display:block!important;margin:0!important;border:0!important;border-radius:4px!important;}
.photo b,.photo figcaption{display:block;padding:5px 2px!important;margin:0!important;}
.foster-directory{max-width:1080px;margin:24px auto;padding:18px;text-align:center;}
.foster-directory>p{margin:0 auto 20px;max-width:650px;}
.foster-directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.foster-directory-card{display:block;text-decoration:none;color:inherit;background:#fffdf8;border:1px solid #eaded2;border-radius:12px;overflow:hidden;}
.foster-directory-card img{display:block;width:100%;height:245px;object-fit:cover;object-position:center 30%;margin:0;}
.foster-directory-card h2{margin:12px 10px 4px;font-size:clamp(19px,2.4vw,27px);}
.foster-directory-card p{margin:0 12px 15px;}
.foster-directory-card:hover{box-shadow:0 5px 18px #00000018;}
@media(max-width:600px){.foster-directory{padding:10px}.foster-directory-grid{gap:8px}.foster-directory-card img{height:170px}.foster-directory-card p{font-size:13px}}

/* Foster directory: crop each authentic photo around the kittens' faces. */
.foster-directory-card img {object-fit:cover;object-position:center center;}
.foster-directory-card[href="/merlin/"] img {object-position:50% 8%;}
.foster-directory-card[href="/samson/"] img {object-position:50% 43%;}
.foster-directory-card[href="/sabel/"] img {object-position:50% 46%;}
.foster-directory-card[href="/ebony-and-ash/"] img {object-position:50% 24%;}

/* October 2026: compact foster directory, faces remain centered */
.foster-directory{max-width:820px!important;margin:18px auto!important;padding:10px!important}
.foster-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.foster-directory-card img{height:155px!important;object-fit:cover!important}
.foster-directory-card h2{font-size:21px!important;margin:8px 8px 3px!important}
.foster-directory-card p{font-size:13px!important;line-height:1.35!important;margin:0 10px 10px!important}
.foster-directory-card[href="/merlin/"] img{object-position:50% 8%!important}
.foster-directory-card[href="/samson/"] img{object-position:50% 43%!important}
.foster-directory-card[href="/sabel/"] img{object-position:50% 46%!important}
.foster-directory-card[href="/ebony-and-ash/"] img{object-position:50% 24%!important}
section.feature[hidden]{display:none!important}
@media(max-width:600px){.foster-directory-card img{height:115px!important}.foster-directory-grid{gap:7px!important}.foster-directory-card h2{font-size:18px!important}}

/* APPROVED DESIGN BASELINE: directory thumbnails stay small, edge-to-edge,
   photo reuse must reference the same asset, no frames/padding on photos.
   Do not override these settings in future releases. */
.foster-directory {max-width:1080px!important;margin:16px auto!important;padding:10px 14px!important;}
.foster-directory>h1 {margin:0 0 8px!important;}
.foster-directory>p {margin:0 auto 16px!important;}
.foster-directory-grid {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;align-items:start!important;}
.foster-directory-card {min-width:0!important;overflow:hidden!important;}
.foster-directory-card img {display:block!important;width:100%!important;height:135px!important;object-fit:cover!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;}
.foster-directory-card h2 {font-size:18px!important;margin:7px 5px 2px!important;}
.foster-directory-card p {font-size:12px!important;line-height:1.3!important;margin:0 6px 8px!important;}
.photo,.feature .photos .photo,.merlin-gallery .photo,.samson-gallery .photo,.sabel-gallery .photo {padding:0!important;margin:0!important;}
.photo img,.feature .photos .photo img {padding:0!important;margin:0!important;border:0!important;}
@media(max-width:760px) {
 .foster-directory-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
 .foster-directory-card img {height:120px!important;}
}
@media(max-width:400px) {
 .foster-directory-card img {height:100px!important;}
 .foster-directory-card h2 {font-size:16px!important;}
 .foster-directory-card p {font-size:11px!important;}
}

/* FIXED APPROVAL: all stories directory is four compact cards desktop, two mobile. */
.foster-directory-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
.foster-directory-card img{height:150px!important;max-height:150px!important;object-fit:cover!important;padding:0!important;margin:0!important;border:0!important}
@media(max-width:700px){.foster-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.foster-directory-card img{height:125px!important;max-height:125px!important}}

/* NON-NEGOTIABLE PHOTO RULE: preserve entire kitten face, ears, and whiskers.
   Never use cover-cropping on kitten photographs. Preserve compact layouts. */
.foster-directory-card img,
.foster-directory-grid .foster-directory-card img {
  object-fit:contain!important;
  object-position:center center!important;
  height:150px!important;
  max-height:150px!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  background:#fffdf9!important;
}
.feature .photos .photo img,
body > main .feature .photos .photo img,
.merlin-gallery .photo img,
.samson-gallery .photo img,
.sabel-gallery .photo img,
.photo img,
.hero img {
  object-fit:contain!important;
  object-position:center center!important;
}
@media(max-width:700px){
 .foster-directory-card img,
 .foster-directory-grid .foster-directory-card img{
  height:125px!important;max-height:125px!important;
 }
}

/* FINAL APPROVED PHOTO PRESENTATION: no blank image frames, no cut-off faces. */
.foster-directory-card img,.foster-directory-grid .foster-directory-card img{
 width:100%!important;height:auto!important;max-height:none!important;
 aspect-ratio:8/5!important;object-fit:cover!important;object-position:center!important;
 display:block!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;
}
/* Story photos show natural proportions; no contain letterboxing or forced-height crop. */
.feature .photos .photo img,body > main .feature .photos .photo img,
.merlin-gallery .photo img,.samson-gallery .photo img,.sabel-gallery .photo img,
.photo img,.hero img{
 width:100%!important;height:auto!important;max-height:none!important;
 object-fit:initial!important;object-position:initial!important;
 display:block!important;margin:0!important;padding:0!important;border:0!important;
 background:transparent!important;
}
.photo,.feature .photos .photo,.merlin-gallery .photo,.samson-gallery .photo,.sabel-gallery .photo{
 padding:0!important;margin:0!important;
}

/* APPROVED OCT 2026: unified full-bleed photo crops, consistent galleries and compact story banners.
   The -gallery.jpg assets are manually composed 4:3 derivatives of authentic original photos.
   Keep originals untouched. Never reintroduce contain letterboxing or padding. */
.hero,.samson-hero,.sabel-hero {padding:24px!important;gap:22px!important;min-height:0!important;align-items:center!important}
.hero img,.samson-hero img,.sabel-hero img {display:block!important;width:100%!important;height:235px!important;max-height:235px!important;object-fit:cover!important;object-position:center!important;transform:none!important;border:0!important;padding:0!important;margin:0!important;border-radius:13px!important;box-shadow:none!important}
.hero h1{font-size:clamp(30px,3.5vw,46px)!important}
.hero p{font-size:16px!important}
/* Universal galleries: equal-height edge-to-edge pictures and aligned captions. */
.photos,.merlin-gallery,.samson-gallery,.sabel-gallery,body > main .feature .photos {display:grid!important;align-items:stretch!important;gap:10px!important}
.photos .photo,.merlin-gallery .photo,.samson-gallery .photo,.sabel-gallery .photo,body > main .feature .photos .photo {display:flex!important;flex-direction:column!important;width:auto!important;max-width:none!important;min-width:0!important;padding:0!important;margin:0!important;overflow:hidden!important;border-radius:10px!important;background:#fffdf9!important;align-self:stretch!important}
.photos .photo img,.merlin-gallery .photo img,.samson-gallery .photo img,.sabel-gallery .photo img,body > main .feature .photos .photo img {display:block!important;width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:4/3!important;object-fit:cover!important;object-position:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
.photos .photo b,.photos .photo figcaption,.merlin-gallery .photo b,.samson-gallery .photo figcaption,.sabel-gallery .photo figcaption {display:block!important;margin:0!important;padding:5px 4px 7px!important;text-align:center!important;font-size:13px!important;line-height:1.25!important}
.merlin-gallery{max-width:850px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
.samson-gallery{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.sabel-gallery{max-width:700px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
body > main .feature .photos{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body > main .sabel-feature .photos{grid-template-columns:repeat(2,minmax(0,1fr))!important}
/* Four tidy directory cards; all original faces in precomposed crop */
.foster-directory-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.foster-directory-card{display:block!important;overflow:hidden!important;min-width:0!important;background:#fffdf9!important;border-radius:12px!important}
.foster-directory-card img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:4/3!important;object-fit:cover!important;object-position:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important}
.foster-directory-card h2{font-size:20px!important;margin:7px 5px 2px!important}
.foster-directory-card p{font-size:12px!important;line-height:1.3!important;margin:0 7px 10px!important}
@media(max-width:750px){.hero{grid-template-columns:1fr!important}.hero img{height:auto!important;max-height:none!important;aspect-ratio:4/3!important}.foster-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.samson-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:470px){.hero{padding:16px!important}.photos,.merlin-gallery,.samson-gallery,.sabel-gallery{gap:6px!important}.photos .photo b,.photos .photo figcaption{font-size:11px!important}}

/* FINAL FACE-SAFE LAYOUT — fixed 4:3 images, individually composed from originals. */
.foster-directory-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.foster-directory-card{min-width:0!important;overflow:hidden!important}
.foster-directory-card img,.foster-directory-grid .foster-directory-card img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:1/1!important;object-fit:fill!important;object-position:center!important;padding:0!important;margin:0!important;border:0!important}
.photos .photo img,.merlin-gallery .photo img,.samson-gallery .photo img,.sabel-gallery .photo img,body > main .feature .photos .photo img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:1/1!important;object-fit:fill!important;padding:0!important;margin:0!important;border:0!important}
.photos .photo,.merlin-gallery .photo,.samson-gallery .photo,.sabel-gallery .photo{padding:0!important;margin:0!important}
.hero{min-height:0!important;height:auto!important;padding:24px!important;align-items:center!important}
.hero img,.samson-hero img,.sabel-hero img{width:100%!important;height:auto!important;max-height:240px!important;aspect-ratio:1/1!important;object-fit:cover!important;object-position:center!important}
@media(max-width:700px){.foster-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.hero{padding:15px!important}}
/* Hero thumbnails are square, matching validated face-safe square assets. */
.hero img,.samson-hero img,.sabel-hero img{display:block!important;width:min(100%,260px)!important;height:auto!important;max-height:none!important;aspect-ratio:1/1!important;object-fit:fill!important;justify-self:center!important}
.hero{min-height:0!important;max-height:none!important}
