/* From the design preview, preview/soft-round.css (tools/theme-sync.mjs). */
/* Only the floral directions opt into this revision: since 27 October Track 07, and Track 10 in its
   design. The source logo and photographs stay intact. */
body[data-floral="true"]{--logo-color:#242124}
body[data-direction="gardenpostcard"]{--logo-color:#9c4661}
body[data-floral="true"][data-direction] .header .brand,body[data-floral="true"] .footer-logo{background:transparent;border-radius:0;position:relative;overflow:visible}
body[data-floral="true"] .brand::before,body[data-floral="true"] .footer-logo::before{content:'';position:absolute;inset:7px 12px;background:var(--logo-color);mask:url('../brand/lovento-logo-640.webp') center/contain no-repeat;-webkit-mask:url('../brand/lovento-logo-640.webp') center/contain no-repeat;pointer-events:none}
body[data-floral="true"] .brand img,body[data-floral="true"] .footer-logo img{opacity:0}
body[data-floral="true"] .header{position:relative}
body[data-floral="true"] .header nav a{font-size:15px;font-weight:500;padding-block:10px 17px;white-space:nowrap}
body[data-floral="true"] .text-link{font-size:14px}
body[data-floral="true"] .button{font-size:14px}
body[data-floral="true"] .chip{font-size:13px}
body[data-floral="true"] .breadcrumbs,body[data-floral="true"] footer>div:nth-child(2){font-size:13px}
body[data-floral="true"] .postcard-occasions a{font-size:13px}
body[data-floral="true"] .card-foot span:last-child{font-size:12px}
body[data-floral="true"] .page-head p{max-width:660px;font-size:15px;line-height:1.8}
body[data-floral="true"] .page-head h1{max-width:950px}

/* Real listing photography spans the full hero, softened with the direction's paper colour. */
.hero-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 52%;z-index:-3;pointer-events:none}
.floral-hero:has(.hero-backdrop)::after{content:'';position:absolute;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(90deg,color-mix(in srgb,var(--paper) 94%,transparent),color-mix(in srgb,var(--paper) 76%,transparent) 55%,color-mix(in srgb,var(--paper) 88%,transparent))}
.hero-carousel{position:relative;width:100%;min-width:0;overflow:hidden;background:var(--soft)}
.postcard-main>.hero-carousel{height:100%}
.hero-slide-link{position:relative;display:block;width:100%;height:100%}
.hero-carousel .hero-slide-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border:0;padding:0;border-radius:inherit;transition:opacity .16s ease}
.hero-carousel.is-changing .hero-slide-photo{opacity:0}
.hero-carousel .hero-slide-link:focus-visible{outline-offset:-6px}
.postcard-small>.hero-carousel{aspect-ratio:1}
.postcard-main figcaption{pointer-events:none}
.postcard-small>[data-hero-caption]{display:block;font-size:12px;line-height:1.4;margin-top:12px;color:var(--accent)}
.postcard-small>[data-hero-caption]{text-align:center}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* Four arrangements keep the borders varied, rather than repeating one corner. */
.border-charms{position:absolute;inset:0;pointer-events:none;z-index:2}
.border-charms svg{position:absolute;overflow:visible}
.border-butterfly{width:55px;height:48px;right:2%;top:7%;transform:rotate(18deg)}
.border-heart{width:21px;height:21px;left:6%;bottom:14%;transform:rotate(-14deg)}
.border-bud{width:35px;height:47px;left:2%;top:18%;transform:rotate(-30deg)}
[data-border-pattern="1"]>.border-charms .border-butterfly{left:2%;right:auto;top:12%;transform:rotate(-22deg)}
[data-border-pattern="1"]>.border-charms .border-heart{left:auto;right:8%;bottom:7%;transform:rotate(15deg)}
[data-border-pattern="1"]>.border-charms .border-bud{left:auto;right:2%;top:43%;transform:rotate(25deg)}
[data-border-pattern="2"]>.border-charms .border-butterfly{right:5%;top:auto;bottom:10%;transform:rotate(-12deg)}
[data-border-pattern="2"]>.border-charms .border-heart{bottom:auto;top:7%;left:11%;transform:rotate(12deg)}
[data-border-pattern="2"]>.border-charms .border-bud{left:1%;top:35%;transform:rotate(-20deg)}
[data-border-pattern="3"]>.border-charms .border-butterfly{left:3%;right:auto;top:auto;bottom:12%;transform:rotate(22deg)}
[data-border-pattern="3"]>.border-charms .border-heart{left:auto;right:9%;bottom:auto;top:10%;transform:rotate(-14deg)}
[data-border-pattern="3"]>.border-charms .border-bud{left:auto;right:1%;top:30%;transform:rotate(20deg)}
body[data-floral="true"] .card-photo[data-border-pattern="1"] .card-spray{right:auto;left:-4px;transform:rotate(-65deg)}
body[data-floral="true"] .card-photo[data-border-pattern="2"] .card-spray{bottom:auto;top:10px;right:-4px;transform:rotate(12deg)}
body[data-floral="true"] .card-photo[data-border-pattern="3"] .card-spray{bottom:auto;top:12px;left:-4px;right:auto;transform:rotate(-45deg)}
.card-photo>.border-charms .border-butterfly{width:36px;height:31px}
.card-photo>.border-charms .border-heart{width:16px;height:16px}
.card-photo>.border-charms .border-bud{width:23px;height:32px}
.postcard-small>.border-charms .border-heart{bottom:32%;top:auto}
.postcard-paper>.border-charms{z-index:0}
.postcard-paper>.border-charms .border-heart{bottom:9%;left:85%}
.postcard-paper>.border-charms .border-bud{top:73%;left:1%}
.postcard-paper>.border-charms .border-butterfly{top:28%;right:3%;width:40px;height:35px}

@media(min-width:701px) and (max-width:1100px){
 body[data-floral="true"] .header nav a{font-size:13px}
}
@media(max-width:700px){
 body[data-floral="true"] .header nav a{font-size:13px;padding-block:9px 17px}
 body[data-direction="gardenpostcard"] .header nav{gap:20px;padding-top:5px}
 body[data-floral="true"] .text-link{font-size:13px}
 body[data-floral="true"] .button{font-size:13px}
 .postcard-small>[data-hero-caption]{font-size:10px}
 .border-butterfly{width:43px;height:37px}.border-bud{width:29px;height:40px}
 .card-photo>.border-charms .border-butterfly{width:29px;height:25px}
 .card-photo>.border-charms .border-bud{width:20px;height:28px}
 .hero-backdrop{object-position:42% 50%}
 .floral-hero:has(.hero-backdrop)::after{background:linear-gradient(color-mix(in srgb,var(--paper) 95%,transparent),color-mix(in srgb,var(--paper) 78%,transparent))}
}
@media(max-width:370px){
 body[data-floral="true"] .header nav a{font-size:12px}
 body[data-direction="gardenpostcard"] .header nav{gap:17px}
}
@media(prefers-reduced-motion:reduce){.hero-carousel .hero-slide-photo{transition:none}}
