/*
Theme Name: Branca Contemporaneo
Theme URI: https://example.invalid/
Author: Branca Affitti Brevi
Description: Tema leggero per affitti brevi, con home modificabile in Elementor.
Version: 1.6.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: branca-theme
*/
:root{--branca-navy:#0b263d;--branca-gold:#ffd43b;--branca-bg:#f3f6f8;--branca-text:#0b263d;--branca-muted:#587084;--branca-radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--branca-bg);color:var(--branca-text);font:16px/1.6 Arial,sans-serif}a{color:inherit}.branca-container{width:min(1200px,calc(100% - 36px));margin:auto}.site-header{background:#fff;border-bottom:1px solid #d7e2e9;position:relative;z-index:10}.site-header-inner{min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:20px}.site-logo{display:flex;align-items:center;gap:10px;font-weight:800;color:var(--branca-navy);text-decoration:none;font-size:18px;letter-spacing:.02em}.site-logo img{max-height:55px;width:auto;max-width:220px}.site-nav{display:flex;align-items:center;gap:25px}.site-nav a{text-decoration:none;font-weight:700;font-size:14px}.site-nav a:hover{color:#ad8500}.site-nav .menu{display:flex;gap:24px;list-style:none;padding:0;margin:0}.site-footer{background:var(--branca-navy);color:#fff;padding:45px 0;margin-top:60px}.site-footer a{color:#fff}.site-footer-inner{display:flex;justify-content:space-between;gap:25px}.site-main{min-height:45vh}.branca-section{padding:70px 0}.branca-section h1,.branca-section h2{line-height:1.13;letter-spacing:-.035em}.branca-section h1{font-size:clamp(42px,5vw,72px);max-width:720px}.branca-section h2{font-size:clamp(30px,3vw,46px)}.branca-hero{background:#e7eff5;padding:80px 0}.branca-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}.branca-hero img{width:100%;height:430px;object-fit:cover;border-radius:var(--branca-radius)}.branca-eyebrow{text-transform:uppercase;letter-spacing:.15em;font-weight:800;color:#987400;font-size:13px}.branca-lead{font-size:19px;color:var(--branca-muted)}.branca-cta{display:inline-block;background:var(--branca-navy);color:#fff;text-decoration:none;padding:13px 22px;border-radius:30px;font-weight:700}.branca-cta:hover{color:#fff;opacity:.85}.branca-owner{background:var(--branca-navy);color:#fff}.branca-owner-grid{display:grid;grid-template-columns:1fr 1fr;gap:65px}.branca-owner .branca-lead{color:#d5e2eb}.branca-owner .branca-cta{background:var(--branca-gold);color:var(--branca-navy)}.branca-owner li{margin:10px 0}.branca-content{padding:55px 0}.branca-content img{max-width:100%;height:auto}.branca-placeholder{background:#dae7ee;border-radius:var(--branca-radius);height:400px;display:grid;place-items:center;color:var(--branca-muted)}.branca-note{font-size:14px;color:var(--branca-muted)}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}.screen-reader-text:focus{clip:auto;width:auto;height:auto;position:static}.branca-blog-card{padding:20px;background:#fff;margin:15px 0;border-radius:var(--branca-radius)}@media(max-width:800px){.branca-hero-grid,.branca-owner-grid{grid-template-columns:1fr}.branca-hero img{height:290px}.site-nav .menu{gap:12px}.site-header-inner{flex-wrap:wrap;padding:15px 0}}@media(max-width:550px){.site-nav .menu{flex-wrap:wrap}.site-footer-inner{display:block}.branca-section{padding:45px 0}}
/* Contenitori delle tre home importabili: restano blocchi Elementor indipendenti. */
.branca-home-hero{padding:65px 0;gap:35px}.branca-home-hero>.e-con-inner{gap:35px}.branca-home-hero h1{font-size:clamp(42px,5vw,68px);line-height:1.1;letter-spacing:-.045em}.branca-home-hero .elementor-widget-text-editor{font-size:18px;color:#587084}.branca-home-section{padding:70px 0}.branca-home-section h2{font-size:clamp(30px,3vw,46px);letter-spacing:-.03em}.branca-home-owner{padding:70px 0;color:white}.branca-home-owner h2,.branca-home-owner p{color:#fff}.branca-home-hero .elementor-widget-image img{height:430px;width:100%;object-fit:cover;border-radius:18px}.branca-home-contact{padding:55px 0}.branca-home-02 .branca-home-hero{background:#f7f5ef}.branca-home-02 .branca-home-hero h1,.branca-home-02 .branca-home-section h2{font-family:Georgia,serif;font-weight:400}.branca-home-02 .branca-home-hero .elementor-widget-image img{height:520px;border-radius:3px}.branca-home-02 .branca-home-section{background:#fffefa}.branca-home-03 .branca-home-hero{background:#dcecf3}.branca-home-03 .branca-home-hero .elementor-widget-image img{height:360px;border-radius:12px}.branca-home-03 .branca-home-section:has(.branca-results) .branca-results{grid-template-columns:1fr 1fr}.branca-home-03 .branca-home-section:has(.branca-results) .branca-cards{grid-template-columns:1fr}.branca-home-03 .branca-home-section:has(.branca-results) .branca-card{display:grid;grid-template-columns:42% 1fr}.branca-home-03 .branca-card-image{height:100%;min-height:210px}@media(max-width:900px){.branca-home-03 .branca-home-section:has(.branca-results) .branca-results{grid-template-columns:1fr}}@media(max-width:600px){.branca-home-hero,.branca-home-section,.branca-home-owner,.branca-home-contact{padding:40px 18px}.branca-home-hero .elementor-widget-image img{height:260px!important}.branca-home-03 .branca-home-section:has(.branca-results) .branca-card{display:block}}
/* Versione 1.1: art direction della proposta Contemporanea. */
.branca-home-01{background:#f3f6f8;color:var(--branca-navy)}
.branca-home-01 .branca-home-hero{background:transparent;padding-top:58px;padding-bottom:35px}
.branca-home-01 .branca-home-hero h1,.branca-home-01 .branca-home-section h2,.branca-home-01 .branca-home-owner h2,.branca-home-01 .branca-home-contact h2{color:var(--branca-navy);font-family:Arial,sans-serif;line-height:1.12}
.branca-home-01 .branca-home-hero h1{font-size:clamp(42px,5vw,68px);font-weight:800}
.branca-home-01 .branca-home-hero .elementor-widget-image img{height:460px}
.branca-home-01 .branca-home-section{padding-top:50px;padding-bottom:50px}
.branca-home-01 .branca-home-section h2{font-weight:800;margin-bottom:15px}
.branca-home-01 .branca-home-owner h2{color:white}
.branca-home-01 .branca-home-owner .branca-button{background:var(--branca-gold);color:var(--branca-navy)!important}
.branca-home-01 .branca-home-contact{background:#e7eff5}
.branca-home-01 .branca-card{border-radius:18px}
.branca-home-01 .branca-destinations,.branca-home-01 .branca-features{gap:18px}
.branca-home-01 .branca-destination{position:relative;overflow:hidden;border-radius:18px;min-height:245px;justify-content:end;padding:0 18px 18px;background:#d9e4eb}
.branca-home-01 .branca-destination .elementor-widget-image{position:absolute;inset:0;z-index:0}
.branca-home-01 .branca-destination .elementor-widget-image img{width:100%;height:100%;object-fit:cover}
.branca-home-01 .branca-destination:after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#061b2ec7);pointer-events:none}
.branca-home-01 .branca-destination .elementor-widget-heading,.branca-home-01 .branca-destination .elementor-widget-button{z-index:1}
.branca-home-01 .branca-destination h3{color:white;font-size:27px;margin:0}
.branca-home-01 .branca-destination .elementor-button{background:transparent;padding:0;color:white;font-weight:700}
.branca-home-01 .branca-feature{background:white;border:1px solid #d7e2e9;border-radius:18px;padding:26px}
.branca-home-01 .branca-feature h3{font-size:21px;color:var(--branca-navy)}
.branca-home-01 .branca-feature .elementor-widget-heading:first-child h3{font-size:30px;color:#aa8100}
.branca-home-01 .branca-feature p{color:#587084}
@media(max-width:767px){.branca-home-01 .branca-destinations,.branca-home-01 .branca-features{flex-direction:column}.branca-home-01 .branca-destination,.branca-home-01 .branca-feature{width:100%}.branca-home-01 .branca-home-hero .elementor-widget-image img{height:260px}}
/* Versione 1.2: Esplora con ricerca, catalogo e mappa in primo piano. */
.branca-home-03{background:#edf3f6;color:var(--branca-navy)}
.branca-home-03 .branca-home-hero{background:#dcecf3;padding-top:48px;padding-bottom:35px}
.branca-home-03 .branca-home-hero h1,.branca-home-03 .branca-home-section h2,.branca-home-03 .branca-home-contact h2{font-family:Arial,sans-serif;color:var(--branca-navy);line-height:1.13;font-weight:800}
.branca-home-03 .branca-home-hero h1{font-size:clamp(42px,4.7vw,65px);max-width:630px}
.branca-home-03 .branca-home-hero .elementor-widget-image img{height:390px;object-fit:cover;border-radius:16px}
.branca-home-03 .branca-home-section{padding-top:48px;padding-bottom:48px}
.branca-home-03 .branca-home-section:has(.branca-search){background:#dcecf3;padding-top:0;padding-bottom:40px}
.branca-home-03 .branca-home-section h2{font-size:clamp(32px,3vw,45px)}
.branca-home-03 .branca-home-section:has(.branca-results) .branca-results{grid-template-columns:minmax(0,1fr) minmax(390px,1fr);gap:22px}
.branca-home-03 .branca-home-section:has(.branca-results) .branca-cards{grid-template-columns:1fr}
.branca-home-03 .branca-card{display:grid;grid-template-columns:42% 1fr}
.branca-home-03 .branca-card-image{height:100%;min-height:220px}
.branca-home-03 .branca-card-content{display:flex;flex-direction:column;justify-content:center}
.branca-home-03 .branca-map{height:560px}
.branca-home-03 .branca-destinations,.branca-home-03 .branca-features{gap:18px}
.branca-home-03 .branca-destination{position:relative;overflow:hidden;border-radius:16px;min-height:245px;justify-content:end;padding:0 18px 18px;background:#d9e4eb}
.branca-home-03 .branca-destination .elementor-widget-image{position:absolute;inset:0;z-index:0}
.branca-home-03 .branca-destination .elementor-widget-image img{width:100%;height:100%;object-fit:cover}
.branca-home-03 .branca-destination:after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#061b2ec7);pointer-events:none}
.branca-home-03 .branca-destination .elementor-widget-heading,.branca-home-03 .branca-destination .elementor-widget-button{z-index:1}
.branca-home-03 .branca-destination h3{color:white;font-size:27px;margin:0}
.branca-home-03 .branca-destination .elementor-button{background:transparent;padding:0;color:white;font-weight:700}
.branca-home-03 .branca-feature{background:white;border:1px solid #d7e2e9;border-radius:16px;padding:26px}
.branca-home-03 .branca-feature h3{font-size:21px;color:var(--branca-navy)}
.branca-home-03 .branca-feature .elementor-widget-heading:first-child h3{font-size:30px;color:#a67e00}
.branca-home-03 .branca-feature p{color:#587084}
.branca-home-03 .branca-home-owner h2,.branca-home-03 .branca-home-owner h3{color:#fff}
.branca-home-03 .branca-home-owner .branca-button{background:var(--branca-gold);color:var(--branca-navy)!important}
.branca-home-03 .branca-home-contact{background:#dcecf3}
@media(max-width:900px){.branca-home-03 .branca-home-section:has(.branca-results) .branca-results{grid-template-columns:1fr}.branca-home-03 .branca-map{height:360px}}
@media(max-width:767px){.branca-home-03 .branca-destinations,.branca-home-03 .branca-features{flex-direction:column}.branca-home-03 .branca-destination,.branca-home-03 .branca-feature{width:100%}}
@media(max-width:600px){.branca-home-03 .branca-card{display:block}.branca-home-03 .branca-card-image{height:205px}.branca-home-03 .branca-home-hero .elementor-widget-image img{height:260px}}

/* Versione 1.3: Home Esplora centrata, senza sezioni estese a tutta la finestra. */
.branca-home-03{width:100%;max-width:var(--branca-page-width,1160px);margin-left:auto;margin-right:auto;background:#fff;box-shadow:0 8px 36px #0b263d0a}
.branca-home-03 .branca-home-hero,
.branca-home-03 .branca-home-section,
.branca-home-03 .branca-home-owner,
.branca-home-03 .branca-home-contact{padding-left:32px;padding-right:32px}
.branca-home-03 .branca-home-section{background:#fff}
.branca-home-03 .branca-home-section:has(.branca-search){background:#dcecf3}
@media(max-width:767px){.branca-home-03{max-width:100%;box-shadow:none}.branca-home-03 .branca-home-hero,.branca-home-03 .branca-home-section,.branca-home-03 .branca-home-owner,.branca-home-03 .branca-home-contact{padding-left:18px;padding-right:18px}}
/* Versione 1.4: i modelli Elementor usano soltanto Sezioni e Colonne classiche. */
.branca-home-03 .branca-home-hero>.elementor-container>.elementor-column:first-child>.elementor-widget-wrap{align-content:center}
.branca-home-03 .branca-destinations>.elementor-container,.branca-home-03 .branca-features>.elementor-container{gap:18px}
.branca-home-03 .branca-destinations .elementor-column,.branca-home-03 .branca-features .elementor-column{width:calc((100% - 36px)/3)}
.branca-home-03 .branca-destination>.elementor-widget-wrap{min-height:245px;align-content:flex-end}
.branca-home-03 .branca-feature>.elementor-widget-wrap{align-content:flex-start}
.branca-home-03 .branca-home-owner>.elementor-container>.elementor-column>.elementor-widget-wrap{align-content:center}
.branca-home-01 .branca-destinations>.elementor-container,.branca-home-01 .branca-features>.elementor-container{gap:18px}
.branca-home-01 .branca-destinations .elementor-column,.branca-home-01 .branca-features .elementor-column{width:calc((100% - 36px)/3)}
.branca-home-01 .branca-destination>.elementor-widget-wrap{min-height:245px;align-content:flex-end}
@media(max-width:767px){.branca-home-03 .branca-destinations .elementor-column,.branca-home-03 .branca-features .elementor-column,.branca-home-01 .branca-destinations .elementor-column,.branca-home-01 .branca-features .elementor-column{width:100%}.branca-home-03 .branca-destinations>.elementor-container,.branca-home-03 .branca-features>.elementor-container,.branca-home-01 .branca-destinations>.elementor-container,.branca-home-01 .branca-features>.elementor-container{display:block}}

/* Versione 1.6: sezioni indipendenti a tutta larghezza, contenuto Boxed configurabile in Elementor. */
body.branca-page-03 .elementor-section-boxed>.elementor-container{width:calc(100% - 40px);margin-left:auto;margin-right:auto}
body.branca-page-03 .branca-home-hero h1,body.branca-page-03 .branca-home-section h2,body.branca-page-03 .branca-home-contact h2{color:var(--branca-navy);line-height:1.12;font-weight:800}
body.branca-page-03 .branca-home-hero h1{font-size:clamp(42px,4.7vw,65px)}
body.branca-page-03 .branca-home-hero .elementor-widget-image img{height:390px;width:100%;object-fit:cover;border-radius:16px}
body.branca-page-03 .branca-card{display:grid;grid-template-columns:42% 1fr}
body.branca-page-03 .branca-card-image{height:100%;min-height:220px}
body.branca-page-03 .branca-card-content{display:flex;flex-direction:column;justify-content:center}
body.branca-page-03 .branca-map{height:560px}
body.branca-page-03 .branca-destinations>.elementor-container,body.branca-page-03 .branca-features>.elementor-container{gap:18px}

body.branca-page-03 .branca-destination{position:relative;overflow:hidden;border-radius:16px;min-height:245px;justify-content:end;padding:0 18px 18px;background:#d9e4eb}
body.branca-page-03 .branca-destination>.elementor-widget-wrap{min-height:245px;align-content:flex-end}
body.branca-page-03 .branca-destination .elementor-widget-image{position:absolute;inset:0;z-index:0}
body.branca-page-03 .branca-destination .elementor-widget-image img{width:100%;height:100%;object-fit:cover}
body.branca-page-03 .branca-destination:after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#061b2ec7);pointer-events:none}
body.branca-page-03 .branca-destination .elementor-widget-heading,body.branca-page-03 .branca-destination .elementor-widget-button{z-index:1}
body.branca-page-03 .branca-destination h3{color:white;font-size:27px;margin:0}
body.branca-page-03 .branca-destination .elementor-button{background:transparent;padding:0;color:white;font-weight:700}
body.branca-page-03 .branca-feature{background:#fff;border:1px solid #d7e2e9;border-radius:16px;padding:26px}
body.branca-page-03 .branca-feature h3{font-size:21px;color:var(--branca-navy)}
body.branca-page-03 .branca-feature .elementor-widget-heading:first-child h3{font-size:30px;color:#a67e00}
body.branca-page-03 .branca-home-owner h2,body.branca-page-03 .branca-home-owner h3{color:#fff}
body.branca-page-03 .branca-home-owner .branca-button{background:var(--branca-gold);color:var(--branca-navy)!important}
@media(max-width:900px){body.branca-page-03 .branca-map{height:360px}}
@media(max-width:767px){body.branca-page-03 .branca-destinations>.elementor-container,body.branca-page-03 .branca-features>.elementor-container{display:block}}
@media(max-width:600px){body.branca-page-03 .branca-card{display:block}body.branca-page-03 .branca-card-image{height:205px}body.branca-page-03 .branca-home-hero .elementor-widget-image img{height:260px}}

/* La griglia alloggi e la mappa sono due widget in due Colonne Elementor indipendenti. */
body.branca-page-03 .branca-catalog-layout .branca-results{display:block;margin:0}
body.branca-page-03 .branca-catalog-layout .branca-cards{display:grid;grid-template-columns:1fr}
body.branca-page-03 .branca-catalog-layout .branca-map{height:560px}
@media(max-width:767px){body.branca-page-03 .branca-catalog-layout .branca-map{height:350px}}
/* Archivio e schede: sfondo a tutta larghezza, contenuto centrale come nelle sezioni Elementor. */
.branca-archive-head{width:100%;background:#e6f5fd;padding:65px 0 42px}
.branca-archive-content{width:100%;background:#f4f9fc;padding:50px 0}
.branca-archive-head h1{font-size:clamp(36px,4vw,56px);line-height:1.12;margin:12px 0;color:var(--branca-navy)}
.branca-archive-head p{font-size:18px;color:var(--branca-muted);margin:0}
.branca-single-content{width:100%;background:#f4f9fc;padding:50px 0}
