/*
Theme Name: Le Residenze dell’Alloro
Description: Tema per Le Residenze dell’Alloro – Boutique Collection.
Version: 1.5.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: residenze-alloro
*/
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text&family=Cormorant+Garamond:wght@600;700&family=Instrument+Sans:wght@400;500;600;700&family=Instrument+Serif&display=swap');
:root{--ink:#142739;--muted:#4b5b64;--paper:#f8f6f0;--gold:#e6c47c;--line:#ddd8cb;--serif:"Instrument Serif",Georgia,serif;--sans:"Instrument Sans",system-ui,sans-serif}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.6 var(--sans)}a{color:inherit}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #9d6820;outline-offset:4px}img{display:block;max-width:100%;object-fit:cover}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.09}h2{font-size:clamp(2.1rem,4.4vw,3.8rem)}section[id]{scroll-margin-top:95px}.wrap{width:min(1240px,calc(100% - 100px));margin-inline:auto}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip:focus{position:fixed;z-index:10;padding:12px;background:white}
.top{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px clamp(20px,4vw,68px);min-height:76px;background:var(--paper);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font:400 clamp(1.17rem,2vw,1.52rem)/1.2 var(--serif)}.brand img{object-fit:contain}.brand small{display:block;margin-top:5px;font:700 .75rem var(--sans);letter-spacing:.14em;text-transform:uppercase}.top nav{display:flex;gap:30px}.top nav a{text-decoration:none;font-weight:600}.top nav a:hover,.footer a:hover{text-decoration:underline}.button{display:inline-flex;justify-content:center;align-items:center;min-height:47px;padding:10px 19px;border:1px solid transparent;border-radius:4px;text-decoration:none;font-size:.9rem;font-weight:700;line-height:1.25;text-align:center}.navy{background:var(--ink);color:white}.gold{background:var(--gold);color:var(--ink)}.outline{border-color:var(--gold);color:var(--gold)}.button:hover{filter:brightness(1.13)}
.hero{position:relative;min-height:clamp(455px,48vw,660px);display:flex;align-items:center;isolation:isolate;color:white;background:#253743}.hero-photo,.hero::after{position:absolute;inset:0;width:100%;height:100%;z-index:-1}.hero-photo{object-position:center 53%}.hero::after{content:"";background:linear-gradient(90deg,rgba(12,23,33,.90),rgba(12,23,33,.61) 42%,rgba(12,23,33,.12) 100%)}.hero-copy{width:min(1240px,calc(100% - 100px));margin-inline:auto;padding:65px 0 100px}.eyebrow{font-size:.86rem;font-weight:700;text-transform:uppercase;letter-spacing:.15em;color:#79541e}.hero .eyebrow,.city .eyebrow{color:var(--gold)}h1{font-size:clamp(3.1rem,7vw,6.5rem);margin:15px 0 20px;letter-spacing:-.015em}.hero-copy>p:not(.eyebrow){max-width:410px;font-size:1.15rem;margin-bottom:25px}

.collection{padding-block:78px 84px}.section-head{display:grid;grid-template-columns:1fr minmax(260px,440px);align-items:end;gap:22px;margin-bottom:24px}.section-head h2,.city h2,.practical h2{margin-top:8px}.section-head>p,.card p{color:var(--muted)}.filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:25px}.filters button{padding:8px 15px;border:1px solid var(--line);background:transparent;color:var(--ink);border-radius:4px;font-size:.9rem;font-weight:600}.filters button[aria-pressed=true]{background:var(--ink);color:white;border-color:var(--ink)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:6px;overflow:hidden}.card[hidden]{display:none}.card img{width:100%;aspect-ratio:1.5}.card-body{padding:19px 20px 21px;display:flex;flex:1;flex-direction:column;align-items:start}.card h3{font-size:clamp(1.35rem,2.5vw,1.8rem);margin:7px 0 8px}.card .eyebrow{font-size:.75rem;color:#79541e;letter-spacing:.085em}.card button{padding:0;background:transparent;border:0;border-bottom:1px solid #a58145;color:var(--ink);margin-top:auto;font-weight:700}.card p:not(.eyebrow){margin-bottom:17px}
.city{display:grid;grid-template-columns:1fr 1fr;background:var(--ink);color:white}.city>img{width:100%;height:100%;min-height:360px;max-height:570px}.city>div{padding:clamp(32px,7vw,100px);align-self:center}.city h2+p{margin:20px 0 28px;max-width:530px}.practical{padding-block:72px;display:grid;grid-template-columns:1fr 1.25fr;gap:28px}.practical details{border-bottom:1px solid var(--line);padding:15px 0}.practical summary{cursor:pointer;font-weight:700}.practical details p{margin-top:10px;color:var(--muted)}footer{background:var(--ink);color:white}.footer{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:25px;padding-block:35px}.footer strong{font:400 1.5rem var(--serif)}.footer a{display:block;text-decoration:none;overflow-wrap:anywhere}
dialog{border:0;border-radius:8px;padding:0;width:min(650px,calc(100% - 24px));max-height:90dvh;color:var(--ink)}dialog::backdrop{background:#091623bb}.gallery{position:relative;background:var(--ink)}.gallery img{width:100%;height:min(49dvh,440px)}.gallery button,.close{position:absolute;width:44px;height:44px;border-radius:50%;border:0;background:var(--ink);color:white;font-size:1.65rem;line-height:1}.close{top:10px;right:10px;z-index:1}.prev,.next{top:50%;transform:translateY(-50%)}.prev{left:10px}.next{right:10px}#photo-count{position:absolute;bottom:8px;right:12px;color:white;background:var(--ink);padding:2px 10px;border-radius:4px}.stay-info{padding:25px}.stay-info h2{margin:7px 0 12px;font-size:2rem}.stay-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:18px}
@media(max-width:790px){.wrap,.hero-copy{width:calc(100% - 40px)}.top{gap:10px}.top nav{display:none}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.collection{padding-block:55px}.footer{grid-template-columns:1fr 1fr}.city>img{min-height:300px}}
@media(max-width:525px){.top{padding:9px 12px;min-height:62px}.brand{gap:5px}.brand img{width:34px;height:34px}.brand small{font-size:.65rem}.top .button{padding:7px;min-height:41px;font-size:.79rem}.wrap,.hero-copy{width:calc(100% - 30px)}.hero-copy{padding-block:43px 76px}.section-head,.city,.practical,.footer{grid-template-columns:1fr}.city>img{min-height:0;height:250px}.grid{grid-template-columns:1fr;gap:17px}.practical{padding-block:44px}.filters button{padding:7px 10px}.hero::after{background:linear-gradient(90deg,#0c1721e0,#0c172155)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.opening .card-body{min-height:244px;justify-content:center;padding:28px;background:#efe8d8}.opening-map{font-weight:700;text-underline-offset:4px}#residenza-del-genio{scroll-margin-top:95px}

.hero-actions{display:flex;flex-wrap:wrap;gap:12px}

.about{display:grid;grid-template-columns:minmax(200px,1fr) minmax(0,2fr);gap:32px;padding-block:48px 65px;border-top:1px solid var(--line)}.about p+p{margin-top:16px}.about a{text-underline-offset:4px}.footer a[href="#chi-siamo"]{margin-top:8px}
@media(max-width:650px){.about{grid-template-columns:1fr;gap:16px;padding-block:32px 44px}}

.detail-page{padding-block:45px 72px}.detail-page h1{color:var(--ink);font-size:clamp(2.8rem,7vw,5.25rem)}.detail-intro{max-width:68ch;font-size:1.15rem;color:var(--muted)}.detail-nav,.property-link{margin-bottom:16px}.detail-nav a,.property-link a,.detail-section a{text-underline-offset:4px}.detail-book{margin-block:18px 0}.detail-gallery{display:grid;grid-template-columns:2fr 1fr 1fr;gap:8px;margin-top:26px}.detail-gallery a{display:block;min-width:0}.detail-gallery a:first-child{grid-row:span 2}.detail-gallery img{height:100%;width:100%;aspect-ratio:1.5;object-fit:cover}.detail-cover{width:100%;max-height:490px;margin-top:26px}.detail-section{max-width:78ch;margin-top:34px}.detail-section:has(.detail-card){max-width:none}.detail-section h2{font-size:clamp(1.65rem,3vw,2.6rem);margin-bottom:12px}.detail-section p+p{margin-top:12px}.detail-section li+li{margin-top:9px}.detail-card{text-decoration:none}.detail-card strong{font:400 1.95rem var(--serif)}.detail-card:hover strong{text-decoration:underline}.parking-list{padding-left:20px}.parking-list li+li{margin-top:14px}
@media(max-width:650px){.detail-gallery{grid-template-columns:1fr 1fr}.detail-gallery a:first-child{grid-column:span 2;grid-row:auto}.detail-page{padding-block:30px 54px}}
@media(max-width:960px){.top{flex-wrap:wrap}.top nav{display:flex;order:3;width:100%;gap:8px 18px;flex-wrap:wrap;font-size:.875rem}.top nav a{padding-block:4px}section[id],footer[id]{scroll-margin-top:125px}}

.top{top:var(--wp-admin--admin-bar--height,0px)}

:root{--serif:"Instrument Sans",system-ui,sans-serif}
h1,h2,h3{font-weight:600}
.hero{background:var(--paper);color:var(--ink)}
.hero::after{display:none}
.hero-photo{left:auto;width:48%;object-position:center}
.hero-copy{padding:64px 50% 64px 0}
.hero h1{font-size:clamp(2.6rem,4.7vw,5rem)}
.hero .eyebrow{color:#79541e}
.hero .gold{background:var(--ink);color:white}
.hero .outline{border-color:#79541e;color:var(--ink)}
@media(max-width:790px){
  .hero{display:flex;flex-direction:column-reverse;align-items:stretch;min-height:0}
  .hero-photo{position:static;width:100%;height:clamp(220px,55vw,390px)}
  .hero-copy{padding:36px 0}
}

.card-action{margin-top:auto;font-weight:700;text-underline-offset:4px}

.collection .card .property-logo{aspect-ratio:1.65;width:100%;height:auto;object-fit:contain;padding:18px;background:#fff;border-bottom:1px solid var(--line)}

.collection .card{--logo-gold:#916420}
.collection .card .property-logo{aspect-ratio:auto;height:clamp(184px,19vw,214px);padding:clamp(28px,3vw,40px) 22px 8px;border-bottom:0}
.collection .card h3{font-family:"DM Serif Text",Georgia,serif;color:var(--logo-gold);font-weight:400;text-align:center;width:100%}
.collection .card h3::after{content:"";display:block;margin:12px auto 4px;width:112px;height:7px;background:linear-gradient(var(--logo-gold),var(--logo-gold)) left center/43% 1px no-repeat,linear-gradient(var(--logo-gold),var(--logo-gold)) right center/43% 1px no-repeat,conic-gradient(from 45deg,var(--logo-gold) 25%,transparent 0 50%,var(--logo-gold) 0 75%,transparent 0) center/7px 7px no-repeat}

.top .brand{font:600 clamp(1.08rem,1.9vw,1.5rem)/1.13 "Cormorant Garamond",Georgia,serif;color:#916420;gap:10px}
.top .brand img{flex:none;width:58px;height:54px;mix-blend-mode:multiply}
.brand-name{display:block;text-align:center}
.top .brand small{color:#17374d;font:600 .7rem/1.3 "Cormorant Garamond",Georgia,serif;letter-spacing:.16em;margin-top:4px}
@media(max-width:525px){
 .top .brand{font-size:.96rem;gap:6px}
 .top .brand img{width:38px;height:36px}
 .top .brand small{font-size:.59rem;letter-spacing:.12em}
}

.collection .card .card-body{text-align:center;align-items:center}
.collection .card .eyebrow{width:100%;text-align:center}

.collection .card h3{text-wrap:balance;overflow-wrap:break-word}

#chi-siamo p {
    text-align: justify;
    hyphens: auto;
}

.alloro-blog-grid{margin-block:32px}.alloro-blog-grid h2{font-size:1.55rem;margin-bottom:12px}.detail-page .alloro-blog-grid + nav{margin-block:24px}
