/*
Theme Name: Salient Child Theme
Description: Tema child di Salient per Rama Inox (Web For Business)
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI: https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
Text Domain: salient
*/

/* ===== Rama Inox - stile WFB (child theme) ===== */
:root{--rm-green:#0f5f42;--rm-green-2:#6aa339;--rm-dark:#13241d;--rm-light:#f2f5f3;--rm-text:#3b4541}
body{color:var(--rm-text)}
h1,h2,h3,h4,h5{color:#16211d;letter-spacing:-.01em}
.light h1,.light h2,.light h3,.light h4,.light p,.light .rm-kicker{color:#fff}
p#breadcrumbs.yoast{display:none}
/* hero */
.rm-hero h1{font-size:clamp(34px,4.6vw,60px);line-height:1.08;margin-bottom:18px;max-width:900px}
.rm-hero .rm-lead{font-size:clamp(17px,1.4vw,20px);line-height:1.6;max-width:760px;opacity:.95}
.rm-hero-home{min-height:78vh;display:flex!important;align-items:center}
.rm-hero-home .row_col_wrap_12{width:100%}
.rm-kicker,.rm-eyebrow p{font-size:13px!important;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--rm-green-2);margin-bottom:10px!important}
.rm-hero .rm-kicker{color:#a9d47f}
.rm-eyebrow{margin-bottom:0!important}
.rm-btn-hero{margin:10px 14px 0 0!important}
.rm-intro{font-size:18px;max-width:820px}
.rm-small{font-size:14px;opacity:.85}
/* numeri */
.rm-numbers .nectar-milestone .number{font-family:Archivo,sans-serif;font-size:52px!important;line-height:1.1}
.rm-numbers .nectar-milestone .subject{font-size:15px;letter-spacing:0;text-transform:none;color:var(--rm-text)}
/* card */
.rm-card>.vc_column-inner{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 14px rgba(19,36,29,.07);transition:transform .25s,box-shadow .25s;height:100%}
.rm-card:hover>.vc_column-inner{transform:translateY(-3px);box-shadow:0 10px 30px rgba(19,36,29,.13)}
.rm-card .img-with-aniamtion-wrap{margin-bottom:0!important}
.rm-card .img-with-aniamtion-wrap img{width:100%!important;aspect-ratio:1/1;object-fit:cover;border-radius:0}
.rm-card-lg .img-with-aniamtion-wrap img{aspect-ratio:16/10}
.rm-card .wpb_text_column,.rm-card .nectar-cta{padding:0 22px}
.rm-card .wpb_text_column{padding-top:20px}
.rm-card .nectar-cta{padding-bottom:22px}
.rm-card h3{font-size:20px;line-height:1.3;margin-bottom:6px}
.rm-card-lg h3{font-size:24px}
.rm-card p{font-size:15px;line-height:1.6}
.rm-card-lg .wpb_text_column,.rm-card-lg .nectar-cta{padding-left:30px;padding-right:30px}
/* servizi icone */
.rm-service h4{margin:14px 0 6px;font-size:18px}
.rm-service p{font-size:15px;line-height:1.6}
.rm-step{display:inline-flex;width:44px;height:44px;border-radius:50%;background:var(--rm-green);color:#fff;font-weight:700;align-items:center;justify-content:center;font-family:Archivo,sans-serif;font-size:19px;margin-bottom:6px}
/* categorie */
.rm-cat>.vc_column-inner{background:#fff;border:1px solid #dde4e0;border-radius:6px;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.rm-cat:hover>.vc_column-inner{border-color:var(--rm-green);box-shadow:0 6px 20px rgba(19,36,29,.1)}
.rm-cat .img-with-aniamtion-wrap{margin-bottom:0!important}
.rm-cat .img-with-aniamtion-wrap img{width:100%!important;aspect-ratio:4/3;object-fit:contain;background:#fff;padding:10px}
.rm-cat h4{font-size:16px;line-height:1.35;margin:0;padding:12px 16px 14px;border-top:3px solid var(--rm-green)}
.rm-cat h4 a{color:#16211d}
.rm-cat h4 a:hover{color:var(--rm-green)}
/* cataloghi */
.rm-catalog h3{font-size:18px;margin:16px 0 4px}
.rm-catalog p{font-size:14px;line-height:1.55}
.rm-catalog .img-with-aniamtion-wrap img{aspect-ratio:707/1000;object-fit:cover;width:100%!important}
/* citazione */
.rm-quote{border-left:4px solid var(--rm-green-2);margin:10px 0;padding:6px 0 6px 26px}
.rm-quote p{font-family:Archivo,sans-serif;font-size:clamp(20px,2vw,28px);line-height:1.4;color:#16211d;font-style:normal;margin-bottom:10px}
.rm-quote-sm p{font-size:19px}
.rm-quote cite{font-style:normal;font-size:14px;color:var(--rm-green);font-weight:600}
/* fasce cta */
.rm-cta-btns>.vc_column-inner{text-align:right}
.rm-cta-btns .nectar-button{margin:6px 0 6px 12px!important}
.rm-gal-title{font-size:24px;margin-bottom:14px}
.rm-legal h3{font-size:19px;margin-top:28px}
.rm-legal p{font-size:15px}
.rm-map iframe{display:block;filter:grayscale(.2)}
.rm-contact-info h3{font-size:19px;margin-bottom:6px}
.rm-contact-info a{color:var(--rm-green);font-weight:600}
/* form */
.wpcf7 input[type=text],.wpcf7 input[type=email],.wpcf7 input[type=tel],.wpcf7 select,.wpcf7 textarea{border:1px solid #cfd8d3!important;border-radius:6px!important;background:#fff!important;padding:12px 14px!important}
.wpcf7 .rm-f2{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}
.wpcf7 label{font-weight:600;font-size:14px;color:#16211d}
.wpcf7 .wpcf7-acceptance label{font-weight:400}
.wpcf7 input[type=submit]{background:var(--rm-green)!important;border-radius:6px!important;padding:14px 34px!important}
/* negozio */
.woocommerce ul.products li.product .price{color:var(--rm-green)!important;font-weight:700}
.woocommerce ul.products li.product h2{font-size:15px!important;line-height:1.35!important}
#sidebar .widget h4{font-size:15px;text-transform:uppercase;letter-spacing:.06em}
/* header */
#header-secondary-outer{background:var(--rm-dark)!important;border:0!important}
#header-secondary-outer nav>ul>li>a,#header-secondary-outer .nectar-center-text,#header-secondary-outer .nectar-center-text a,#header-secondary-outer #social li a i{color:#dfe9e3!important}
#header-outer #top nav>ul>li.rm-menu-shop>a .menu-title-text{background:var(--rm-green);color:#fff!important;padding:9px 16px;border-radius:6px}
/* footer */
.rm-footer a{color:#dfe9e3}
.rm-footer a:hover{color:#a9d47f}
.rm-footer h5{color:#fff;font-size:14px;letter-spacing:.12em;text-transform:uppercase;margin-bottom:14px}
.rm-footer p,.rm-footer li{color:#b9c8c0;font-size:14px;line-height:1.8}
.rm-footer ul{margin:0;list-style:none}
.rm-footer .rm-copy p{font-size:13px;color:#93a69c}
/* menu mobile */
#slide-out-widget-area .inner::before{content:"";display:block;width:180px;height:112px;margin:0 0 30px;background:url(https://ramainox.it/wp-content/uploads/2026/10/logo-rama-inox-bianco-160.png) left center/contain no-repeat}
#slide-out-widget-area .off-canvas-menu-container .menu>li>a{font-size:22px!important;line-height:1.35!important;color:#fff!important}
#slide-out-widget-area .menu li.current-menu-item>a{color:#a9d47f!important}
#slide-out-widget-area .bottom-text{margin-top:28px!important;padding-top:22px!important;border-top:1px solid rgba(255,255,255,.25);text-align:left;line-height:1.8}
#slide-out-widget-area .bottom-text a{color:#fff!important;font-weight:600}
/* reCAPTCHA in basso a sinistra (Joinchat a destra) */
.grecaptcha-badge{left:4px!important;right:auto!important;width:70px!important;overflow:hidden!important;transition:width .3s!important;z-index:9!important}
.grecaptcha-badge:hover{width:256px!important}
@media (max-width:999px){.rm-cta-btns>.vc_column-inner{text-align:left}.rm-cta-btns .nectar-button{margin:6px 12px 6px 0!important}.rm-pad-left>.vc_column-inner{padding-left:0!important}.rm-hero-home{min-height:0}}
@media (max-width:690px){.wpcf7 .rm-f2{grid-template-columns:1fr}.rm-numbers .nectar-milestone .number{font-size:40px!important}.rm-card-lg .wpb_text_column,.rm-card-lg .nectar-cta{padding-left:22px;padding-right:22px}}
.rm-footer .img-with-aniamtion-wrap img{max-width:120px!important;width:120px!important}
.rm-footer ul li{list-style:none!important;margin-left:0!important;padding-left:0}
.rm-footer ul{padding-left:0!important;margin-left:0!important}
.rm-social a{display:inline-flex;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.08);align-items:center;justify-content:center;margin-right:6px;font-size:16px}
.rm-service{margin-bottom:26px}
.rm-numbers .nectar-milestone .subject{max-width:200px;margin:4px auto 0}
@media (max-width:690px){
 .inner_row:has(.rm-cat)>.row_col_wrap_12_inner,.inner_row.rm-gal-row>.row_col_wrap_12_inner{display:flex!important;flex-wrap:wrap}
 .rm-cat,.rm-gal-row .wpb_column{width:50%!important;flex:0 0 50%;padding:0 6px!important;margin-bottom:12px!important}
 .rm-cat h4{font-size:14px;padding:10px 10px 12px}
}
/* ===== Notizie ===== */
.nectar-post-grid-item-bg-wrap{aspect-ratio:16/10;position:relative;overflow:hidden}
.nectar-post-grid-item-bg-wrap-inner,.nectar-post-grid-item-bg{position:absolute!important;inset:0}
.nectar-post-grid-item-bg__media{width:100%!important;height:100%!important;object-fit:cover}
.nectar-post-grid-item{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 14px rgba(19,36,29,.07)}
.nectar-post-grid-item .content{padding:18px 22px 24px!important}
.nectar-post-grid-item .post-heading{font-size:20px!important;line-height:1.3!important}
.nectar-post-grid-item .meta-category a{color:var(--rm-green-2)!important;font-weight:700;font-size:12px;letter-spacing:.1em;text-transform:uppercase}
.single-post #page-header-bg .meta-author,.single-post #page-header-bg .meta-comment-count,.single-post .meta-comment-count,.single-post .meta-author{display:none!important}
.single-post .post-content p,.single-post .post-content li{font-size:17px;line-height:1.75}
.single-post .post-content h2{font-size:28px;margin:38px 0 14px}
.single-post .post-content h3{font-size:21px;margin:26px 0 8px}
.rm-note{background:var(--rm-light);border-left:4px solid var(--rm-green);padding:18px 22px;border-radius:6px;margin:24px 0}
.rm-note p{margin:0!important}
.rm-table{width:100%;border-collapse:collapse;margin:20px 0;font-size:16px}
.rm-table th,.rm-table td{border:1px solid #dde4e0;padding:10px 14px;text-align:left;vertical-align:top}
.rm-table thead th{background:var(--rm-green);color:#fff}
.rm-post-cta{background:var(--rm-dark);color:#fff;padding:26px 30px;border-radius:8px;margin:34px 0}
.rm-post-cta p{color:#fff!important;margin-bottom:10px!important}
.rm-post-cta .nectar-button{margin:0!important}
.rm-disclaimer{font-size:14px!important;opacity:.75;font-style:italic}
.rm-table th,.rm-table td{text-align:left!important}

/* galleria masonry (stile vecchio sito) */
.rm-masonry>.vc_column-inner>.wpb_wrapper{column-count:5;column-gap:14px}
.rm-masonry .img-with-aniamtion-wrap{break-inside:avoid;margin:0 0 14px!important;display:block;overflow:hidden}
.rm-masonry .img-with-aniamtion-wrap .inner{overflow:hidden}
.rm-masonry .img-with-aniamtion-wrap img{width:100%!important;height:auto!important;display:block;transition:transform .5s ease,filter .3s}
.rm-masonry .img-with-aniamtion-wrap:hover img{transform:scale(1.05);filter:brightness(.88)}
@media (max-width:999px){.rm-masonry>.vc_column-inner>.wpb_wrapper{column-count:3}}
@media (max-width:690px){.rm-masonry>.vc_column-inner>.wpb_wrapper{column-count:2;column-gap:8px}.rm-masonry .img-with-aniamtion-wrap{margin-bottom:8px!important}}
/* card v2: tutta cliccabile, cta in basso, zoom immagine */
.rm-card>.vc_column-inner{display:flex;flex-direction:column;position:relative}
.rm-card>.vc_column-inner>.wpb_wrapper{display:flex;flex-direction:column;flex:1}
.rm-card .nectar-cta{margin-top:auto!important}
.rm-card .img-with-aniamtion-wrap,.rm-card .img-with-aniamtion-wrap .inner,.rm-card .img-with-aniamtion-wrap .hover-wrap{overflow:hidden}
.rm-card .img-with-aniamtion-wrap img{transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.rm-card:hover .img-with-aniamtion-wrap img{transform:scale(1.07)}
.rm-card h3{transition:color .2s}
.rm-card:hover h3{color:var(--rm-green)}
.rm-card>.vc_column-inner::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--rm-green);transform:scaleX(0);transform-origin:left;transition:transform .35s}
.rm-card:hover>.vc_column-inner::after{transform:scaleX(1)}
.rm-card .column-link{z-index:5}
/* pagine servizio */
.rm-article h2{font-size:28px;margin:30px 0 12px}
.rm-article h3{font-size:20px;margin:22px 0 6px}
.rm-article p,.rm-article li{font-size:17px;line-height:1.75}
.rm-sticky>.vc_column-inner{position:sticky;top:110px}
.rm-side-box{background:var(--rm-light);border-radius:8px;padding:22px 24px}
.rm-side-box h4{margin-bottom:6px}
.rm-side-box a{color:var(--rm-green);font-weight:600}
/* sottomenu desktop leggibili (come fondazioneappiani) */
#header-outer .sf-menu li ul{border-top:3px solid var(--rm-green-2)!important;background:var(--rm-dark)!important;min-width:290px!important;padding:10px 0!important;border-radius:0 0 8px 8px;box-shadow:0 18px 40px rgba(0,0,0,.28)!important}
#header-outer .sf-menu li ul li{border-bottom:1px solid rgba(255,255,255,.08)}
#header-outer .sf-menu li ul li:last-child{border-bottom:0}
#header-outer #top .sf-menu li ul li a,#header-outer .sf-menu li ul li a{font-size:15.5px!important;line-height:1.4!important;font-weight:600!important;text-transform:none!important;letter-spacing:.01em!important;color:#fff!important;background:transparent!important;padding:12px 26px!important;border-left:3px solid transparent;transition:all .2s ease}
#header-outer #top .sf-menu li ul li a:hover,#header-outer #top .sf-menu li ul li.current-menu-item>a,#header-outer .sf-menu li ul li a:focus{background:#1d3329!important;color:#a9d47f!important;border-left-color:var(--rm-green-2);padding-left:30px!important}
#header-outer #top .sf-menu li ul li a .menu-title-text{color:inherit!important}
body #header-outer:not([data-format="left-header"]) #top nav>ul>li:not(.megamenu) ul li a:hover,body #header-outer:not([data-format="left-header"]) #top nav>ul>li:not(.megamenu) ul li.current-menu-item>a,body #header-outer #top nav>ul>li>ul li a:hover{background-color:#1d3329!important;color:#a9d47f!important}
body #header-outer:not([data-format="left-header"]) #top nav>ul>li:not(.megamenu) ul li a{background-color:transparent!important}

/* desktop: niente burger off-canvas */
@media (min-width:1000px){#header-outer header#top nav ul.buttons li.slide-out-widget-area-toggle:not(.mobile-icon),#header-outer header#top .slide-out-widget-area-toggle:not(.mobile-icon){display:none!important}}

/* spazio tra pulsanti affiancati */
body .wpb_wrapper > a.nectar-button{margin-right:16px!important;margin-bottom:12px!important}
body .wpb_wrapper > a.nectar-button:last-child{margin-right:0!important}

/* reCAPTCHA sopra l'icona cookie in basso a sinistra */
.grecaptcha-badge{bottom:84px!important}

/* Home: hero con 3 foto in dissolvenza (richiesta cliente 20/11) */
.rm-hero-home .row-bg{background-image:url(https://ramainox.it/wp-content/uploads/2026/11/terrazzo-parapetto-vetro-inox-vista-lago-varese.webp)!important;background-size:cover!important;background-position:center!important}
.rm-hero-home .row-bg::before,.rm-hero-home .row-bg::after{content:"";position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;animation-duration:18s;animation-iteration-count:infinite;animation-timing-function:ease-in-out}
.rm-hero-home .row-bg::before{background-image:url(https://ramainox.it/wp-content/uploads/2026/11/terrazzo-ringhiera-inox-tondini-vista-lago.webp);animation-name:rmHeroB}
.rm-hero-home .row-bg::after{background-image:url(https://ramainox.it/wp-content/uploads/2026/11/scala-sbalzo-parapetto-vetro-borchie-inox.webp);animation-name:rmHeroC}
@keyframes rmHeroB{0%,30%{opacity:0}36%,63%{opacity:1}69%,100%{opacity:0}}
@keyframes rmHeroC{0%,63%{opacity:0}69%,94%{opacity:1}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.rm-hero-home .row-bg::before,.rm-hero-home .row-bg::after{animation:none}}
