/* UXD Territori 1.1.0. Scoped, visual only. Original region/province logic remains untouched. */
body.page .entry-content:has(.slcf){max-width:none!important;padding-left:0!important;padding-right:0!important}
body.page .entry-content:has(.slcf) > .slcf{max-width:none!important;margin:0!important}
body.page .entry-content .slcf .slcf-hero{min-height:475px;max-width:none;border-radius:0;padding:62px max(24px,calc((100vw - 1120px)/2));background:#fff8ed url('territori-desktop.webp') center center / cover no-repeat!important;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
body.page .entry-content .slcf .slcf-hero h2{font-size:clamp(36px,4.8vw,66px)!important;max-width:540px;line-height:1.06!important;letter-spacing:-.055em;color:#100b32}
body.page .entry-content .slcf .slcf-hero p{max-width:470px;font-size:16px;color:#100b32}
body.page .entry-content .slcf .slcf-eyebrow{color:#381d92}
body.page .entry-content .slcf .slcf-hero .slcf-cta{border-radius:30px;background:#381d92}
body.page .entry-content .slcf .slcf-values{max-width:1120px;margin:22px auto 22px;padding:0 14px;gap:12px}
body.page .entry-content .slcf .slcf-values>div{background:#fff;border:1px solid #e5dfee;border-radius:14px;min-height:68px;color:#100b32;box-shadow:none}
body.page .entry-content .slcf .slcf-search-title{max-width:1120px;margin:20px auto 0;padding:0 14px}
body.page .entry-content .slcf .slcf-search-title h2{font-size:clamp(25px,3vw,36px)!important}
body.page .entry-content .slcf .slcf-search-title p{font-size:14px;color:#6b6377}
body.page .entry-content:has(.slcf)>h2.wp-block-heading,body.page .entry-content:has(.slcf)>p.wp-block-paragraph{max-width:1120px!important;margin-left:auto!important;margin-right:auto!important;padding:0 14px}
body.page .entry-content .sl-territory{max-width:1120px!important;margin:20px auto 48px!important;padding:0 14px!important;color:#100b32!important}
body.page .entry-content .sl-territory .sl-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#fff;border:1px solid #e5dfee;border-radius:18px;padding:18px}
body.page .entry-content .sl-territory .sl-fields label{font-size:13px;font-weight:750;color:#100b32}
body.page .entry-content .sl-territory .sl-fields select,body.page .entry-content .sl-territory .sl-fields input{background:#fff!important;color:#100b32!important;border:1px solid #ded8e7!important;border-radius:10px!important;min-height:48px!important;margin-top:6px}
body.page .entry-content .sl-territory .sl-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
body.page .entry-content .sl-territory .sl-card{background:#fff;border:1px solid #e5dfee;border-radius:14px;min-height:94px;padding:18px!important;color:#100b32!important;transition:border-color .15s ease}
body.page .entry-content .sl-territory .sl-card:hover{border-color:#381d92}
body.page .entry-content .sl-territory .sl-card small{color:#736a80}
body.page .entry-content .sl-territory .sl-panel{background:#f4f0ff;border-radius:14px}
body.page .entry-content .sl-territory .sl-button{background:#381d92!important;color:white!important;border-radius:10px}
body.page .entry-content .sl-territory .sl-count{font-size:13px;color:#736a80}
@media(max-width:900px){body.page .entry-content .slcf .slcf-values{grid-template-columns:repeat(2,minmax(0,1fr))}body.page .entry-content .sl-territory .sl-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:640px){body.page .entry-content .slcf .slcf-hero{min-height:530px;padding:26px 18px 250px!important;justify-content:flex-start;background-image:linear-gradient(180deg,rgba(255,249,242,.96) 0%,rgba(255,249,242,.9) 32%,rgba(255,249,242,0) 65%),url('territori-mobile.webp')!important;background-position:center center!important;background-size:cover!important}body.page .entry-content .slcf .slcf-hero h2{font-size:36px!important;max-width:330px}body.page .entry-content .slcf .slcf-hero p{font-size:14px;max-width:310px}body.page .entry-content .slcf .slcf-values{grid-template-columns:repeat(2,minmax(0,1fr));margin:14px auto;gap:8px}body.page .entry-content .slcf .slcf-values>div{padding:10px;font-size:11px;min-height:66px}body.page .entry-content .slcf .slcf-search-title{padding:0 16px}body.page .entry-content .sl-territory .sl-fields{grid-template-columns:1fr!important;padding:12px}body.page .entry-content .sl-territory .sl-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.page .entry-content .sl-territory .sl-card{min-height:80px;padding:12px!important}}
