.photo-scene {
    --photo-rgb: 246, 236, 218;
    --photo-tone: #f6ecda;
    isolation: isolate;
    position: relative;
    display: grid;
    align-items: center;
    min-height: 23rem;
    overflow: hidden;
    border-radius: 24px;
    background: var(--photo-tone);
    color: #25352a;
}
.photo-scene .scene-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    object-position: var(--scene-position, center);
}
.photo-scene::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(var(--photo-rgb), .98) 0%,
        rgba(var(--photo-rgb), .94) 32%,
        rgba(var(--photo-rgb), .84) 43%,
        rgba(var(--photo-rgb), .38) 56%, transparent 70%);
    pointer-events: none;
    content: "";
}
.photo-scene .scene-copy {
    z-index: 1;
    position: relative;
    box-sizing: border-box;
    width: 52%;
    padding: clamp(1.35rem, 4vw, 3.4rem);
}
.photo-scene .scene-copy p { color: #38473c; }
.photo-scene .scene-kicker {
    margin: 0 0 .5rem;
    color: #671d39;
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.photo-scene h2,
.photo-scene h3 {
    margin: 0 0 .55rem;
    text-align: left;
    color: #25352a;
    letter-spacing: -.045em;
}
.photo-scene h2 { font: 700 clamp(2.25rem, 4.5vw, 4.35rem)/1.04 var(--site-font); }
.photo-scene h3 { font: 700 clamp(1.65rem, 3.15vw, 2.6rem)/1.06 var(--site-font); }
.photo-scene .scene-link {
    color: #781638;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: .2em;
}
.photo-baby { --scene-position: 70% 47%; }
.photo-adults {
    --photo-rgb: 232, 237, 222;
    --photo-tone: #e8edde;
    --scene-position: 67% 54%;
}
.photo-baby .scene-copy,
.photo-adults .scene-copy {
    width: 55%;
    padding: clamp(1.25rem, 2.6vw, 2.5rem);
}
.photo-baby p:not(.scene-kicker),
.photo-adults p:not(.scene-kicker) {
    margin: 0 0 1rem;
    font-size: .98rem;
}
.photo-formula {
    --photo-rgb: 231, 237, 215;
    --photo-tone: #e7edd7;
    --scene-position: center 59%;
    min-height: clamp(31rem, 45vw, 36rem);
}
.photo-formula .scene-copy { width: 49%; padding-block: 1.9rem; }
.photo-formula h2 { max-width: 11ch; }
.photo-formula dl { margin: 1.05rem 0 1.2rem; }
.photo-formula dl > div { padding: .47rem 0; border-bottom: 1px solid #52634753; }
.photo-formula dt { color: #263b2e; font-weight: 800; }
.photo-formula dd { margin: .14rem 0 0; color: #38473c; font-size: .91rem; line-height: 1.36; }

.photo-buy {
    --photo-rgb: 249, 239, 224;
    --photo-tone: #f9efe0;
    --scene-position: center 73%;
    min-height: clamp(25rem, 41vw, 34rem);
}
.photo-buy h2 { max-width: 13ch; }
.photo-buy .scene-copy p { max-width: 29ch; }
.photo-buy .cta-button { display: inline-block; }

.photo-guides .editorial-feed a {
    isolation: isolate;
    position: relative;
    display: grid;
    min-height: clamp(12.5rem, 19.5vw, 17rem);
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    gap: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #273b30;
}
.photo-guides .editorial-feed img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    object-position: center 44%;
}
.photo-guides .editorial-feed a::after {
    position: absolute;
    inset: auto 0 0;
    height: 57%;
    background: linear-gradient(transparent, #18241de8 65%, #18241d);
    content: "";
}
.photo-guides .editorial-feed h3,
.photo-guides .editorial-feed a:hover h3 {
    z-index: 1;
    position: relative;
    margin: 0;
    padding: 2.35rem .95rem .9rem;
    color: #fff9ef;
    font-size: clamp(1.05rem, 1.55vw, 1.3rem);
    line-height: 1.23;
}
.photo-guides .editorial-feed a:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.photo-guides .editorial-feed a:focus-visible { outline-offset: -4px; }

@media (max-width: 870px) {
    .photo-baby,
    .photo-adults { min-height: 20rem; }
    .photo-baby .scene-copy,
    .photo-adults .scene-copy { width: 63%; }
    .photo-formula .scene-copy { width: 56%; }
}
@media (max-width: 740px) {
    .photo-scene { min-height: auto; border-radius: 17px; }
    .photo-scene::after { display: none; }
    .photo-scene .scene-image {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
        object-position: var(--mobile-position, center);
    }
    .photo-scene .scene-copy {
        width: 100%;
        max-width: none;
        margin-top: -4.05rem;
        padding: 2.25rem 1.05rem 1.25rem;
        background: linear-gradient(transparent, rgba(var(--photo-rgb), .95) 2.05rem, var(--photo-tone) 4.25rem);
    }
    .photo-baby { --mobile-position: 76% center; }
    .photo-formula h2, .photo-buy h2 { max-width: 18ch; }
    .photo-formula dl { margin: .75rem 0 .95rem; }
    .photo-guides .editorial-feed a { height: auto; min-height: clamp(11.5rem, 56vw, 17rem); }
    .photo-guides .editorial-feed h3 { font-size: 1.18rem; }
}

.scene-media {
    display: contents;
}

.photo-baby { --scene-position: 62% 46%; }
.photo-adults { --scene-position: 69% 42%; }

@media (min-width: 741px) and (max-width: 920px) {
    .editorial-uses .editorial-use-grid { grid-template-columns: minmax(0, 1fr); }
    .photo-baby .scene-copy,
    .photo-adults .scene-copy { width: 46%; }
}

@media (max-width: 740px) {
    :is(.photo-baby, .photo-adults, .photo-formula) .scene-image {
        object-position: center;
    }

    :is(.photo-baby, .photo-adults, .photo-formula) .scene-copy {
        margin-top: -2.25rem;
        padding-top: 2.05rem;
        background: linear-gradient(transparent, var(--photo-tone) 2.25rem);
    }
}

