/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
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
*/

/* ---------- EDP Milano: base ---------- */
:root{--em-acc:#1663D6;--em-acc2:#7FB2FF;--em-dark:#0B1D33;--em-stone:#EEF3FA;--em-line:#D9E3F0;--em-text:#34404d}
body{color:var(--em-text)}
h1,h2,h3,h4{color:var(--em-dark);letter-spacing:-.01em}
.em-dark h1,.em-dark h2,.em-dark h3,.em-dark h4,.em-dark p,.em-dark li{color:#fff}
.em-dark .em-check li{color:#E6EEF8}
.em-crumbs{font-size:14px;color:#6b6f73;margin-bottom:14px!important}
.em-crumbs a{color:var(--em-acc)}
.em-crumbs .sep{margin:0 6px;color:#9FB0C4}
.em-kicker{text-transform:uppercase;letter-spacing:.12em;font-size:13px;font-weight:700;color:var(--em-acc)!important;margin-bottom:8px!important}
.em-dark .em-kicker{color:var(--em-acc2)!important}
.em-lead{font-size:19px;line-height:1.65;max-width:680px}
.em-sub{font-size:18px;color:#6b6f73;max-width:720px}
.em-dark .em-sub{color:#B9C7D8}
ul.em-check{list-style:none;margin:0 0 20px;padding:0}
ul.em-check li{position:relative;padding-left:30px;margin:0 0 10px;list-style:none}
ul.em-check li:before{content:"";position:absolute;left:0;top:.45em;width:14px;height:7px;border-left:3px solid var(--em-acc);border-bottom:3px solid var(--em-acc);transform:rotate(-45deg)}
.em-dark ul.em-check li:before{border-color:var(--em-acc2)}
ul.em-links{list-style:none;margin:0;padding:0;columns:3 220px;column-gap:28px}
ul.em-links li{list-style:none;margin:0 0 9px;break-inside:avoid}
ul.em-links a{color:var(--em-dark);border-bottom:1px solid var(--em-line)}
ul.em-links a:hover{color:var(--em-acc);border-color:var(--em-acc)}
.em-card{transition:transform .2s ease,box-shadow .2s ease;border:1px solid var(--em-line)}
.em-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(11,29,51,.12)}
.em-card h3{font-size:20px;line-height:1.3;margin-bottom:8px}
.em-card p{font-size:15.5px;line-height:1.6;margin-bottom:10px}
.em-card .em-more{color:var(--em-acc);font-weight:700;font-size:14px;margin:0}
.em-step .em-num{display:inline-flex;width:44px;height:44px;border-radius:50%;background:var(--em-stone);color:var(--em-acc);font-weight:800;align-items:center;justify-content:center;font-size:18px;margin-bottom:14px}
.em-step h3{font-size:19px;margin-bottom:6px}
.em-box{background:var(--em-stone);border-left:4px solid var(--em-acc);padding:18px 22px;border-radius:6px}
.em-formbox,.em-formbox p,.em-formbox label,.em-formbox span{color:var(--em-dark)!important}
.em-form .em-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
@media(max-width:690px){.em-form .em-grid{grid-template-columns:1fr}}
.em-form label{font-weight:600;font-size:14.5px;width:100%}
.em-form input[type=text],.em-form input[type=email],.em-form input[type=tel],.em-form select,.em-form textarea{width:100%;margin-top:6px;border-radius:6px!important}
.em-form .em-files{background:var(--em-stone);border:1px dashed #B7C7DC;border-radius:8px;padding:14px 16px;margin-bottom:16px}
.em-form .em-files-t{font-weight:700;font-size:14.5px;margin-bottom:8px!important}
.em-form .em-files .wpcf7-form-control-wrap{display:block;margin-bottom:6px}
.em-form .em-privacy{font-size:14px}
.em-form .em-note{font-size:14px;color:#6b6f73!important;margin-top:8px}
.em-form input[type=submit]{width:100%;padding:18px!important;font-size:16px!important;background:var(--em-acc)!important;color:#fff!important}
.em-form input[type=submit]:hover{background:#0F4FB0!important}
.wpcf7 form.sent .wpcf7-response-output{border-color:#4f7a4f;background:#eef5ee;color:#2d4d2d}
#header-outer #top nav > ul > li.em-menu-cta > a{background:var(--em-acc);color:#fff!important;border-radius:4px;padding:10px 18px!important;margin-left:8px}
#header-outer #top nav > ul > li.em-menu-cta > a:after{display:none}
#em-footer{background:var(--em-dark);color:#B9C7D8}
#em-footer p{color:#B9C7D8}
#em-footer a{color:#E6EEF8}
#em-footer a:hover{color:var(--em-acc2)}
#em-footer h4{color:#fff;font-size:14px;text-transform:uppercase;letter-spacing:.1em;margin-bottom:14px}
#em-footer ul{list-style:none;margin:0;padding:0}
#em-footer li{list-style:none;margin:0 0 7px;font-size:15px}
#em-footer .em-legal{border-top:1px solid #1E3352;margin-top:26px;padding-top:18px;font-size:13.5px;color:#8EA0B6}
#em-footer .em-legal a{color:#B9C7D8}
.single-post .em-article-cta{background:var(--em-dark);border-radius:10px;padding:26px 28px;margin:34px 0}
.single-post .em-article-cta h3,.single-post .em-article-cta p{color:#fff}
.single-post .em-article-cta a.em-btn{display:inline-block;background:var(--em-acc);color:#fff;padding:12px 22px;border-radius:4px;font-weight:700}

#breadcrumbs.yoast{display:none!important}

/* card fix */
.wpb_column.em-card > .vc_column-inner{padding:22px 22px 18px!important}
.em-card .img-with-aniamtion-wrap,.em-card .img-with-aniamtion-wrap .inner,.em-card .img-with-aniamtion-wrap .hover-wrap,.em-card .img-with-aniamtion-wrap .hover-wrap-inner{width:100%!important;max-width:100%!important;display:block}
.em-card .img-with-aniamtion-wrap img{width:100%!important;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:6px;margin-bottom:14px!important}
.em-card .img-with-aniamtion-wrap{margin-bottom:0!important}

/* form fields visibili */
.em-formbox .em-form input[type=text],.em-formbox .em-form input[type=email],.em-formbox .em-form input[type=tel],.em-formbox .em-form select,.em-formbox .em-form textarea{background:#F5F8FC!important;border:1px solid #CDD8E6!important;color:#0B1D33!important;padding:12px 14px!important;font-size:15px!important;box-shadow:none!important}
.em-formbox .em-form input:focus,.em-formbox .em-form select:focus,.em-formbox .em-form textarea:focus{border-color:#1663D6!important;background:#fff!important}
.em-formbox .em-form select{appearance:auto;height:auto}
.em-formbox .em-form input[type=file]{font-size:14px;padding:4px 0;background:none!important;border:0!important}
.em-formbox .em-form p{margin-bottom:14px}

/* post grid: immagine visibile */
.nectar-post-grid .nectar-post-grid-item-bg-wrap{aspect-ratio:16/10;overflow:hidden;border-radius:8px;margin-bottom:14px}
.nectar-post-grid .nectar-post-grid-item-bg-wrap-inner,.nectar-post-grid .nectar-post-grid-item-bg{height:100%}
.nectar-post-grid .nectar-post-grid-item-bg img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.nectar-post-grid .nectar-post-grid-item .content{padding-left:0!important;padding-right:0!important}
.nectar-post-grid .nectar-post-grid-item-bg-wrap-inner{position:absolute!important;inset:0}
.nectar-post-grid .nectar-post-grid-item-bg{position:absolute!important;inset:0;height:100%!important}

/* link privacy nel modulo */
.em-formbox .em-form a,.em-formbox .em-form .em-privacy a{color:#1663D6!important;text-decoration:underline!important;font-weight:700}
.em-formbox .em-form .em-privacy,.em-formbox .em-form .em-privacy label,.em-formbox .em-form .em-privacy .wpcf7-list-item-label{font-size:14px!important;font-weight:400!important;letter-spacing:0!important;text-transform:none!important;line-height:1.5}
.em-formbox .em-form .em-privacy .wpcf7-list-item{margin:0}
/* modulo: colonna laterale con consulente */
.em-form-side .img-with-aniamtion-wrap{margin-top:28px}
.em-form-side .img-with-aniamtion-wrap img{width:auto!important;max-height:520px;height:auto}
@media(max-width:999px){.em-form-side .img-with-aniamtion-wrap{display:none}.em-form-row .em-form-side{margin-bottom:30px}}
/* articoli: niente box autore */
.single-post #author-bio{display:none}
@media(max-width:480px){.em-form input[type=submit]{font-size:14px!important;padding:16px 8px!important;letter-spacing:0}}

/* ---------- EDP Milano: extra ---------- */
body,p,li{font-size:17px}
.em-b2b{display:inline-block;background:#fff;border:1px solid var(--em-line);border-radius:999px;padding:7px 16px!important;font-size:14.5px!important;font-weight:600;color:var(--em-dark)!important;margin:4px 0 22px!important}
.em-b2b:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--em-acc);margin-right:9px;vertical-align:middle}
.em-hero-img img,.em-side-img img{border-radius:15px;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;box-shadow:0 20px 45px rgba(11,29,51,.16)}
.em-hero-img,.em-side-img{margin-bottom:0!important}
.em-card-flat{background:#fff;border:1px solid var(--em-line);border-radius:12px}
.em-card{background:#fff;border-radius:12px}
.em-card-flat:hover{transform:none;box-shadow:none}
.em-usp h3{font-size:18px;margin-bottom:6px;position:relative;padding-top:16px}
.em-usp h3:before{content:"";position:absolute;top:0;left:0;width:34px;height:4px;border-radius:2px;background:var(--em-acc)}
.em-usp p{font-size:15.5px;line-height:1.6}
ul.em-links-col{columns:2 240px}
.em-muni h3{margin-bottom:2px}
.em-muni .em-sub{font-size:14.5px;margin-bottom:10px}
ul.em-contacts{list-style:none;margin:20px 0 0;padding:0}
ul.em-contacts li{list-style:none;margin:0 0 10px}
ul.em-contacts strong{display:inline-block;min-width:90px}
.em-tel a{color:var(--em-acc2)!important;font-weight:700}
.em-dark a{color:var(--em-acc2)}
.single-post .em-box{margin:30px 0}
.single-post .em-inline-img{border-radius:12px;margin:10px 0 24px;width:100%;height:auto}
#header-outer #top nav > ul > li.em-menu-cta > a{background:var(--em-acc);color:#fff!important;border-radius:6px;padding:10px 18px!important;margin-left:8px}
#header-outer #top nav > ul > li.em-menu-cta > a:after{display:none}
.smz-tip{background:var(--em-dark)!important}
@media(max-width:690px){.em-lead{font-size:17px}h1{font-size:32px!important;line-height:1.2!important}}

/* articoli: niente autore, commenti, share */
.single-post .meta-author,.single-post .meta-comment-count,.single-post .nectar-social.fixed{display:none!important}
.single-post #page-header-bg .meta-date{border:0!important}
/* footer separato dal modulo */
#em-footer{border-top:1px solid #1E3352}
/* card con spazio */
.em-card.wpb_column{margin-bottom:0}
