/* Litter galleries are scoped; approved site colors, tabs and spacing stay unchanged. */
.pl-section{padding-top:8px}
.pl-mother-nav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.pl-mother-nav a{padding:8px 14px;border:1px solid #b7b4ac;border-radius:6px;background:#f4f3ee;color:#292b30;text-decoration:none}
.pl-mother-nav a[aria-current="page"]{background:#e7e5df;font-weight:600}
.pl-mother{margin:0 0 24px;scroll-margin-top:150px}
.pl-mother-heading{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.pl-mother-heading>img{flex:0 0 72px;width:72px;height:72px;object-fit:cover;border-radius:8px}
.pl-mother-heading h2{margin:0 0 3px}.pl-mother-heading p{margin:0}
.pl-litter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.pl-litter{min-width:0;border:1px solid #b7b4ac;background:#f4f3ee;border-radius:9px;overflow:hidden;scroll-margin-top:150px}
.pl-litter-link{display:block;height:100%;color:#292b30;text-decoration:none}
.pl-preview-photos{display:flex;gap:3px;height:170px;overflow:hidden;background:#e7e5df}
.pl-preview-photos>img{flex:1 1 0;min-width:0;width:0;height:100%;object-fit:cover}
.pl-litter-text{padding:14px 16px}.pl-litter-text h3{margin:0 0 5px;font-size:26px}.pl-litter-text p{margin:4px 0;font-size:14px;line-height:1.5}
.pl-open{display:block;margin-top:10px;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.pl-litter-link:focus-visible,.pl-mother-nav a:focus-visible,.litter-parent:focus-visible{outline:3px solid #454644;outline-offset:6px}.litter-kitten a:focus-visible,.pl-waitlist-strip:focus-visible{outline:3px solid #454644;outline-offset:-4px}
.litter-back{display:inline-block;margin:0 0 12px}
.litter-parents{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:20px 28px;margin-top:20px}
.litter-parent{display:flex;flex-direction:row;align-items:center;gap:14px;padding:0;min-width:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#292b30;text-decoration:none}
.litter-parent-father{flex-direction:row-reverse}
.litter-parent-text{display:flex;flex-direction:column;justify-content:center;min-width:0}
.litter-parent-mother .litter-parent-text{text-align:left;align-items:flex-start}
.litter-parent-father .litter-parent-text{text-align:right;align-items:flex-end}
/* Site eyebrows have a left hairline; mirror Father's so the line sits toward his portrait. */
.litter-parent-father .eyebrow::before{content:none;display:none}
.litter-parent-father .eyebrow::after{content:"";width:28px;height:1px;background:#141518;opacity:.55}
.litter-parent h2{margin:3px 0 6px;font-size:30px}.litter-parent-text span:last-child{font-size:14px}
/* Frame lives on a wrapper so v3.css `main img:not(.v3-cat){border-radius:2px !important;border:none !important;box-shadow:...}` cannot square the portrait. */
.litter-parent-frame{display:block;box-sizing:border-box;width:164px;height:164px;flex:0 0 164px;padding:0;border:2px solid #b7b4ac;border-radius:50%;overflow:hidden;background:#e7e5df}
body.litter-page main .litter-parent-frame>img{width:160px !important;height:160px !important;max-width:160px !important;max-height:160px !important;min-width:160px;min-height:160px;aspect-ratio:1/1;object-fit:cover !important;object-position:50% 28%;border-radius:50% !important;border:none !important;background:#e7e5df;box-shadow:none !important}
.litter-kittens-section{padding-top:0}.litter-kittens-section>.wrap{background:#f4f3ee;border:1px solid #b7b4ac;border-radius:9px;padding:24px}
.litter-kittens-section h2{margin:0 0 8px}.litter-kittens-section>.wrap>p{margin:0 0 18px}
.litter-kittens{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}
.litter-kitten{min-width:0;margin:0;border:1px solid #d0cdc4;border-radius:8px;overflow:hidden;background:#fffefa}
.litter-kitten>a{display:block;color:#292b30;text-decoration:none}.litter-kitten img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}
.litter-kitten-text{padding:13px 15px}.litter-kitten-text h3{margin:0 0 5px;font-size:27px}.litter-kitten-text p{margin:5px 0;font-size:14px;line-height:1.5}.litter-kitten-text span{display:inline-block;margin-top:6px;font-size:14px;text-decoration:underline}
.litter-photo-placeholder{min-height:150px;display:grid;place-items:center;background:#e7e5df;color:#454644}
.pl-waitlist-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 16px}
.pl-waitlist-strip{display:flex;align-items:center;gap:10px;min-width:0;padding:10px;border:1px solid #b7b4ac;border-radius:6px;background:#f4f3ee;color:#292b30;text-decoration:none}
.pl-strip-photos{display:flex;flex:0 0 72px;width:72px;height:42px;overflow:hidden;border-radius:4px;gap:2px}.pl-strip-photos img{width:0;min-width:0;flex:1 1 0;height:42px;object-fit:cover}
.pl-waitlist-strip strong{display:block;font-size:13px;line-height:1.4}.pl-waitlist-strip small{display:block;font-size:12px;line-height:1.4;text-decoration:underline;margin-top:3px}
@media(max-width:1000px){.pl-litter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pl-waitlist-previews{grid-template-columns:1fr}.pl-strip-photos{flex-basis:90px;width:90px}}
@media(max-width:760px){.litter-parents{flex-direction:column;align-items:stretch;gap:18px}.litter-parent{justify-content:center}.litter-parent-frame{width:136px;height:136px;flex-basis:136px}body.litter-page main .litter-parent-frame>img{width:132px !important;height:132px !important;max-width:132px !important;max-height:132px !important;min-width:132px;min-height:132px}.litter-parent h2{font-size:26px}.litter-kittens{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.litter-kittens-section>.wrap{padding:18px}.litter-kitten-text{padding:10px}.litter-kitten-text h3{font-size:23px}}
@media(max-width:520px){.pl-litter-grid{grid-template-columns:1fr}.pl-preview-photos{height:185px}.pl-mother-heading>img{flex-basis:58px;width:58px;height:58px}.pl-mother-heading h2{font-size:26px}}
@media(max-width:360px){.litter-kittens{grid-template-columns:1fr}.litter-parent-frame{width:124px;height:124px;flex-basis:124px}body.litter-page main .litter-parent-frame>img{width:120px !important;height:120px !important;max-width:120px !important;max-height:120px !important;min-width:120px;min-height:120px}}

.litter-kitten-text h3,.litter-kitten-text p{overflow-wrap:anywhere}

.litter-meet-parents{margin:22px 0 0;text-align:center}
.litter-meet-parents .btn{display:inline-block}
@media(max-width:760px){.litter-meet-parents{margin-top:18px}}

/* Listing letter badge lives in the card heading, never over the photos. */
.pl-litter-head{display:flex;align-items:center;gap:10px;padding:12px 16px 0}
.pl-letter-badge{flex:0 0 auto;display:inline-grid;place-items:center;min-width:1.7em;height:1.7em;padding:0 6px;border:1px solid #b7b4ac;border-radius:999px;background:#fffef8;color:#141518;font-family:var(--serif);font-weight:600;font-size:16px;line-height:1}
.pl-litter-head h3{margin:0;font-size:26px}
.pl-litter-text{padding:10px 16px 14px}

/* Kitten listings on litter pages: max 3 columns; a single card uses the full row. */
.litter-kittens{display:grid;gap:18px;align-items:start;grid-template-columns:repeat(3,minmax(0,1fr))}
.litter-kittens:has(> .litter-kitten:only-child){grid-template-columns:1fr}
.litter-kittens:has(> .litter-kitten:first-child:nth-last-child(2)){grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1000px){
  .litter-kittens{grid-template-columns:repeat(2,minmax(0,1fr))}
  .litter-kittens:has(> .litter-kitten:only-child){grid-template-columns:1fr}
}
@media(max-width:760px){
  .litter-kittens{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .litter-kittens:has(> .litter-kitten:only-child){grid-template-columns:1fr}
  .pl-litter-head{padding:10px 14px 0}
  .pl-litter-head h3{font-size:23px}
}
@media(max-width:520px){
  .litter-kittens{grid-template-columns:1fr}
}

/* Previous litters: one litter per row, then kitten cards in the available-card style. */
.pl-litter-grid{grid-template-columns:1fr;gap:28px}
.pl-litter{overflow:visible}
.pl-litter-head{padding:12px 16px 10px}
.pl-litter-head h3 a{color:inherit;text-decoration:none}
.pl-litter-head h3 a:hover{text-decoration:underline}
.pl-litter .pl-litter-kittens{margin:0;padding:0 16px 16px}
.pl-litter .pl-litter-kittens .acard{background:#fffefa}
@media(max-width:1000px){.pl-litter-grid{grid-template-columns:1fr}}
@media(max-width:520px){.pl-litter-grid{grid-template-columns:1fr}}

/* Tighten the gap under the mother filter row (~30% less). */
.pl-mother-nav{margin:0 0 12px}

/* Mother names are section headers, not cards: taller serif, thin rule, more space above. */
body.previous-litters-page .pl-mother{margin:0 0 28px}
body.previous-litters-page .pl-mother-heading{
  display:flex;
  align-items:center;
  gap:16px;
  margin:28px 0 16px;
  padding:0 0 12px;
  border:0;
  border-bottom:1px solid #d2d2bf;
  border-radius:0;
  background:none;
  box-shadow:none;
}
body.previous-litters-page .pl-litters > .pl-mother:first-of-type .pl-mother-heading,
body.previous-litters-page #litters > .pl-mother:first-of-type .pl-mother-heading,
body.previous-litters-page .pl-mother:first-of-type .pl-mother-heading{margin-top:4px}
body.previous-litters-page .pl-mother-heading h2{
  font-family:"Cormorant Garamond",Georgia,serif;
  font-weight:500;
  font-size:clamp(36px,4vw,48px);
  line-height:1.15;
  letter-spacing:-0.01em;
  margin:0 0 3px;
  color:#141518;
}
body.previous-litters-page .pl-mother-heading h2::before{
  content:"Mother";
  display:block;
  font-family:Inter,system-ui,sans-serif;
  font-size:11px;
  font-weight:500;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#5E636B;
  margin:0 0 4px;
  line-height:1.2;
}
@media (max-width:520px){
  body.previous-litters-page .pl-mother-heading h2{font-size:36px}
}

#litters .wrap > .pl-mother:first-of-type .pl-mother-heading{margin-top:4px}

#litters .wrap > .pl-mother:first-of-type{padding-top:90px}
@media (max-width:760px){
  #litters .wrap > .pl-mother:first-of-type{padding-top:53px}
}
