/* Home crops share the existing card and carousel dimensions. */
.portrait-section .image-link { overflow: hidden; aspect-ratio: 1.55; }
.portrait-section .image-link > img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.portrait-section img[src$="/family-personal-hero.webp"] { object-position: 50% 35%; }
.portrait-section img[src$="/maternity-story-hero.webp"] { object-position: 50% 65%; }
.portrait-section img[src$="/birthday-portfolio-hero-lit.webp"] { object-position: 50% 35%; }
.home-hero img[src$="/family-personal-hero.webp"] { object-fit: cover; object-position: 50% 24%; }
@media (max-width: 635px) {
  .portrait-section .image-link { aspect-ratio: 1.7; }
  .home-hero img[src$="/family-personal-hero.webp"] { object-fit: contain; object-position: center top; }
}

.home-hero img[src$="/christmas-personal-hero.webp"] { object-fit: cover; object-position: 50% 30%; }
.home-hero img[src$="/maternity-story-hero.webp"] { object-fit: cover; object-position: 50% 62%; }
@media (max-width: 635px) {
  .home-hero img[src$="/christmas-personal-hero.webp"] { object-fit: contain; object-position: center top; }
  .home-hero img[src$="/maternity-story-hero.webp"] { object-position: 54% 55%; }
  .pills { grid-template-columns: repeat(3, minmax(0, 1fr)); width: calc(100% - 28px); }
  .pills button { padding-inline: 8px; }
}

#journal .journal-meta { font-size: 12px !important; letter-spacing: .015em; white-space: normal; line-height: 1.5; margin-top: 10px; }

/* Wide photographs get a compact editorial caption on phones. */
@media(max-width:635px){
 .slide.slide-wide{height:auto;background:var(--paper)}
 .slide.slide-wide:not([hidden]){display:block}
 .slide.slide-wide>img{position:static;inset:auto;width:100%;height:auto;object-fit:contain;object-position:center;aspect-ratio:auto}
 .slide.slide-wide>.shade{display:none}
 .slide.slide-wide .slide-content{width:100%;padding:22px 20px 44px;background:var(--paper);color:var(--ink)}
 .slide.slide-wide .eyebrow{font-size:11px;letter-spacing:.16em;color:#725336;margin:0 0 10px}
 .slide.slide-wide :is(h1,h2){font-size:clamp(28px,8.2vw,34px);line-height:1.08;letter-spacing:-.025em;max-width:22ch;margin:0 0 12px;text-wrap:balance}
 .slide.slide-wide .slide-content>p:not(.eyebrow){font-size:16px;line-height:1.5;max-width:36ch;margin:0 0 18px;color:var(--muted)}
 .slide.slide-wide .slide-action{text-align:left}
 .slide.slide-wide .slide-action .button{min-height:44px;padding:10px 16px;font-size:14px;line-height:1.35;max-width:100%;background:var(--brown);border-color:var(--brown);color:#fff8ee}
 .home-hero[data-feature="Christmas"] .arrow{top:21.27vw}
 .home-hero[data-feature="Family"] .arrow{top:28.14vw}
 .home-hero:is([data-feature="Christmas"],[data-feature="Family"]) .arrow{width:44px;height:44px;background:#241b14b8;border-color:#fff8e8c0}
 .home-hero:is([data-feature="Christmas"],[data-feature="Family"]) .prev{left:10px}
 .home-hero:is([data-feature="Christmas"],[data-feature="Family"]) .next{right:10px}
}
