/* Approved Estrella components. No legacy section descendants permitted. */
.villa-study .suite-photo-pair{display:grid;grid-template-columns:1fr 1fr;gap:36px;margin-bottom:44px}.villa-study .suite-photo-pair figure{margin:0}.villa-study .suite-photo-pair .photo{width:100%;aspect-ratio:1.5}.villa-study .suite-photo-pair img{width:100%;height:100%;object-fit:cover}
.villa-study .bedroom-inventory{grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 36px}.villa-study .bedroom-inventory-card{min-width:0;border-top:1px solid #20392c33;padding-top:22px}.villa-study .bedroom-inventory-card:has(.photo){border:0;padding:0}.villa-study .bedroom-inventory:has(.photo){grid-template-columns:repeat(2,minmax(0,1fr))}.villa-study .bedroom-inventory-card .room-label{margin-top:0;align-items:baseline}.villa-study .bedroom-inventory-card:has(.photo) .room-label{margin-top:20px}.villa-study .room-label h3{line-height:1.35}.villa-study .room-label span{flex-shrink:0}.villa-study .bedroom-inventory-card .room-bed{line-height:1.55}.villa-study .bedroom-inventory-card .room-detail{line-height:1.6}.villa-study .hero-scroll svg{width:18px;height:18px;stroke:currentColor;fill:none}.villa-study .hero-scroll{display:flex;gap:14px;align-items:center}.villa-study .opening-copy{max-width:calc(100% - var(--gutter)*2)}.villa-study .opening-copy h1{max-width:100%;white-space:nowrap}.villa-study .hero-note{max-width:750px}.villa-study .photo-caption{line-height:1.6}
@media(max-width:1100px){.villa-study .bedroom-inventory{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.villa-study .suite-photo-pair{display:block;margin-bottom:32px}.villa-study .suite-photo-pair figure+figure{margin-top:24px}.villa-study .bedroom-inventory,.villa-study .bedroom-inventory:has(.photo){grid-template-columns:1fr;gap:30px}.villa-study .bedroom-inventory-card .room-label{display:flex}.villa-study .bedroom-inventory-card .room-label h3{font-size:22px}.villa-study .bedroom-inventory-card .room-bed,.villa-study .bedroom-inventory-card .room-detail{font-size:18px}.villa-study .room-label span{font-size:15px}.villa-study .hero-note{font-size:18px}.villa-study .photo-caption{font-size:16px}}
.villa-study .opening-copy h1{max-width:none;width:max-content}
.villa-study .bedroom-inventory+.bedroom-inventory{margin-top:44px}
.villa-study .amenity-photographs{display:grid;gap:34px;margin-top:40px}
.villa-study .amenity-photographs .photo{margin-top:0;aspect-ratio:1.65}
.villa-study .amenity-photographs figure{min-width:0}
@media(max-width:760px){.villa-study .amenity-photographs{gap:26px;margin-bottom:38px}.villa-study .amenity-photographs .photo{aspect-ratio:1.5}.villa-study .bedroom-inventory+.bedroom-inventory{margin-top:30px}}
/* The title is independent of the visual/content row. Center the actual
   photographs and amenity list against each other, regardless of list length. */
.villa-study .amenities-section{align-items:center;column-gap:8%;row-gap:44px}
.villa-study .amenities-heading{grid-column:1/-1;min-width:0}
.villa-study .amenities-heading h2{margin:0}
.villa-study .amenities-intro,.villa-study .amenity-content{min-width:0;align-self:center}
.villa-study .amenity-photographs{margin-top:0}
@media(max-width:760px){
 .villa-study .amenities-heading{margin-bottom:30px}
 .villa-study .amenity-photographs{margin-bottom:0}
 .villa-study .amenity-content{margin-top:38px}
}
/* Match the amount of photography to the amount of information. A short
   amenities list must not sit beside two screen-height photographs. */
.villa-study .amenity-content{display:grid;grid-template-columns:1fr;gap:24px 30px}
.villa-study .amenity-content:has(>.amenity-group:nth-of-type(4)){grid-template-columns:repeat(2,minmax(0,1fr))}
.villa-study .amenity-content>.amenity-group{min-width:0;margin:0;padding-bottom:22px}
.villa-study .amenity-content>.amenity-group li{font-size:19px;line-height:1.6}
.villa-study .amenity-content>.amenity-group h3{font-size:22px}
.villa-study .amenity-content>.amenity-group .service-note{font-size:16px}
.villa-study .amenity-content>.text-link{grid-column:1/-1;justify-self:start}
.villa-study [data-amenity-layout=compact] .amenity-photographs .photo{aspect-ratio:1.5}
.villa-study [data-amenity-layout=rich] .amenity-photographs .photo{aspect-ratio:2}
@media (max-width:1440px) and (min-width:761px){
 .villa-study .amenities-section{display:block}
 .villa-study .amenities-heading{margin-bottom:32px}
 .villa-study .amenity-photographs{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
 .villa-study [data-amenity-layout=compact] .amenity-photographs{grid-template-columns:1fr}
 .villa-study [data-amenity-layout=compact] .amenity-photographs .photo{aspect-ratio:1.8}
 .villa-study .amenity-content{margin-top:36px;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 .villa-study .amenity-content,.villa-study .amenity-content:has(>.amenity-group:nth-of-type(4)){grid-template-columns:1fr;gap:24px}
 .villa-study .amenity-content>.amenity-group li{font-size:18px}
 .villa-study .amenity-content>.amenity-group h3{font-size:22px}
}
