/* One shared photo-card layout for the homepage and diet catalog. */
.home-photo-cards{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.home-photo-cards .diet-grid{display:grid}
/* Explicit ratio boxes also work when flexbox and native lazy loading interact. */
.home-photo-cards .photo-visual{position:relative;aspect-ratio:auto;height:0;padding-top:calc(75% - 2px);flex:none}
.home-photo-cards .photo-visual img{position:absolute;inset:0;width:100%;height:100%;opacity:1;-webkit-mask-image:none;mask-image:none}
.home-photo-cards .photo-featured .photo-visual{aspect-ratio:auto;height:0;padding-top:50%;align-self:start}
.unified-photo-catalog .program-content{width:min(1240px,calc(100% - 96px));padding:24px 0 40px}
.unified-photo-catalog .photo-card{cursor:pointer}
@media(min-width:1500px){.unified-photo-catalog .program-content{width:min(1320px,calc(100% - 120px))}}
@media(max-width:1100px){.unified-photo-catalog .program-content{width:calc(100% - 56px)}}
@media(max-width:1024px){
 .home-photo-cards .diet-card.photo-card.photo-featured{display:flex;flex-direction:column}
 .home-photo-cards .photo-featured .photo-heading{grid-template-columns:88px minmax(0,1fr);gap:14px;min-height:124px;padding:16px}
 .home-photo-cards .photo-featured .photo-price{width:86px;min-height:82px}
 .home-photo-cards .photo-featured .photo-price strong{font-size:30px}
 .home-photo-cards .diet-card.photo-featured h3{font-size:32px}
 .home-photo-cards .photo-featured .photo-visual{border-left:0;border-top:2px solid #be9149;padding-top:calc(50% - 2px);align-self:stretch}
}
@media(max-width:1024px) and (orientation:portrait){.home-photo-cards .diet-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:1024px) and (orientation:landscape){.home-photo-cards .diet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.unified-photo-catalog .program-content{width:calc(100% - 36px)}}
@media(max-width:700px) and (orientation:landscape){
 .home-photo-cards .photo-heading{grid-template-columns:62px minmax(0,1fr);gap:10px;padding:12px;min-height:112px}
 .home-photo-cards .photo-price{width:60px;min-height:72px}
 .home-photo-cards .photo-price strong{font-size:24px}
 .home-photo-cards .diet-card.photo-card h3{font-size:clamp(17px,3.4vw,23px)}
 .home-photo-cards .diet-card.photo-card h3.photo-title-long{font-size:clamp(16px,3vw,20px)}
 .home-photo-cards .diet-card.photo-featured h3{font-size:32px}
}
@media(max-width:360px) and (orientation:portrait){
 .home-photo-cards .photo-featured .photo-heading{grid-template-columns:80px minmax(0,1fr);gap:10px;padding:13px}
 .home-photo-cards .photo-featured .photo-price{width:78px}
 .home-photo-cards .diet-card.photo-featured h3{font-size:30px}
}
