/* RICCACMS 3.5.2 - Banner Servizi Home a larghezza piena */
.rc-service-feature{
    padding:0;
    background:#fff;
    overflow:hidden;
}
.rc-service-feature > .container{
    width:100%;
    max-width:none;
    padding:0;
    margin:0;
}
.rc-service-banner{
    display:grid;
    grid-template-columns:minmax(420px,48%) 1fr;
    width:100%;
    min-height:420px;
    border-radius:0;
    overflow:hidden;
    background:linear-gradient(115deg,#eff8ff 0%,#fff6ce 55%,#fff0f7 100%);
    box-shadow:none;
    border:0;
    text-decoration:none;
    color:inherit;
    transition:filter .2s ease;
}
.rc-service-banner:hover{
    transform:none;
    box-shadow:none;
    filter:brightness(.99);
}
.rc-service-banner-media{
    min-height:420px;
    background:#eef6ff;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}
.rc-service-banner-media img{
    width:100%;
    height:100%;
    min-height:420px;
    max-height:520px;
    object-fit:cover;
    object-position:center;
    display:block;
}
.rc-service-placeholder{
    font-size:96px;
}
.rc-service-banner-copy{
    padding:58px clamp(42px,6vw,100px);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
}
.rc-service-banner-copy h2{
    font-size:clamp(38px,4.5vw,68px);
    line-height:1.02;
    margin:10px 0 18px;
    color:#102f4d;
}
.rc-service-banner-copy p{
    font-size:clamp(17px,1.4vw,22px);
    line-height:1.6;
    max-width:850px;
    margin:0 0 28px;
    color:#52677c;
}
.rc-service-banner-copy .btn{
    pointer-events:none;
    font-size:16px;
    padding:14px 22px;
}
.rc-service-page-hero{
    background:linear-gradient(115deg,#eff8ff,#fff6ce,#fff0f7);
}
.rc-service-detail{
    display:grid;
    grid-template-columns:minmax(280px,46%) 1fr;
    gap:30px;
    align-items:start;
}
.rc-service-detail-media img{
    width:100%;
    display:block;
    border-radius:24px;
    box-shadow:0 12px 30px rgba(18,51,79,.10);
}
.rc-service-detail-copy{
    font-size:17px;
    line-height:1.7;
}
.rc-service-longtext{
    margin-bottom:24px;
}

@media (min-width:1600px){
    .rc-service-banner{
        min-height:470px;
    }
    .rc-service-banner-media{
        min-height:470px;
    }
    .rc-service-banner-media img{
        min-height:470px;
        max-height:560px;
    }
}
@media (max-width:980px){
    .rc-service-banner{
        grid-template-columns:1fr 1fr;
        min-height:340px;
    }
    .rc-service-banner-media{
        min-height:340px;
    }
    .rc-service-banner-media img{
        min-height:340px;
        max-height:420px;
    }
    .rc-service-banner-copy{
        padding:38px 34px;
    }
}
@media (max-width:760px){
    .rc-service-banner,
    .rc-service-detail{
        grid-template-columns:1fr;
    }
    .rc-service-banner{
        min-height:0;
    }
    .rc-service-banner-media{
        min-height:220px;
    }
    .rc-service-banner-media img{
        min-height:220px;
        max-height:330px;
        object-fit:cover;
    }
    .rc-service-banner-copy{
        padding:28px 22px 34px;
    }
    .rc-service-banner-copy h2{
        font-size:34px;
    }
    .rc-service-banner-copy p{
        font-size:16px;
    }
}


/* RICCACMS 3.5.4 - Pagina interna servizio + categorie collegate */
.rc-service-page{
    background:#f3f8fd;
    padding:32px 0 64px;
}
.rc-service-page-container{
    max-width:1500px;
}
.rc-service-breadcrumb{
    margin:0 0 18px;
}
.rc-service-page-banner{
    width:100%;
    background:#fff;
    border-radius:28px;
    overflow:hidden;
    box-shadow:0 14px 40px rgba(18,51,79,.10);
    margin-bottom:28px;
}
.rc-service-page-banner img{
    display:block;
    width:100%;
    height:auto;
    max-height:620px;
    object-fit:contain;
    background:#fff;
}
.rc-service-page-content{
    background:#fff;
    border:1px solid #dce8f2;
    border-radius:24px;
    padding:clamp(28px,4vw,54px);
    box-shadow:0 12px 30px rgba(18,51,79,.07);
}
.rc-service-page-heading{
    max-width:1050px;
}
.rc-service-page-heading h1{
    margin:8px 0 12px;
    font-size:clamp(38px,5vw,68px);
    line-height:1.05;
    color:#102f4d;
}
.rc-service-lead{
    max-width:1000px;
    font-size:clamp(18px,1.5vw,23px);
    line-height:1.55;
    color:#5b7084;
    margin:0 0 26px;
}
.rc-service-page .rc-service-longtext{
    max-width:1050px;
    font-size:18px;
    line-height:1.75;
    color:#334b61;
    margin:0 0 28px;
}
.rc-service-cta{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:14px 22px;
}
.rc-service-page + .section .section-title{
    margin-top:0;
}
@media (max-width:760px){
    .rc-service-page{
        padding:16px 0 40px;
    }
    .rc-service-page-banner{
        border-radius:18px;
        margin-bottom:18px;
    }
    .rc-service-page-content{
        border-radius:18px;
        padding:24px 20px;
    }
    .rc-service-page-heading h1{
        font-size:36px;
    }
    .rc-service-page .rc-service-longtext{
        font-size:16px;
    }
}


/* RICCACMS 3.5.6 - Pagina Animazione/Servizio senza intestazione duplicata */
.rc-service-page-hero{
    display:none !important;
}
.rc-service-page-content{
    margin-top:0;
}
.rc-service-page-content > .eyebrow,
.rc-service-page-content > h1,
.rc-service-page-content > .rc-service-lead,
.rc-service-page-heading{
    display:none !important;
}
.rc-service-page-banner{
    margin-top:0;
}

/* RICCACMS 3.5.7 - pagina servizio: solo banner */
.rc-service-page-content:empty{display:none!important;}
