/*
Theme Name:     Vanguard360 V.2025
Description:    Responsive Starter WordPress Theme (WooCommerce Ready) with: Minimal Style, 3 navbar Style, 2 Menus, 11 Amazing Block Patterns, Trasparent Header Template, WhatsApp Chat, Cool animations, Light and fast, Inspired by Awards Winning Web Sites. Correct setup and installation in theme folder readme file ;)
Version:        1.0.20251212
Author:         Massimiliano Piacentini
Author URI:     http://www.360smartweb.it
Text Domain:    vanguard360
Tested up to:   6.7
Requires PHP:   8.0
Domain Path:    /languages
Tags:           custom-colors, e-commerce, theme-options
Copyright:      Vanguard360 WordPress Theme, Copyright 2025 Massimiliano Piacentini
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* ! Reset */
body, html{
    scroll-behavior: smooth;
    min-height: 75vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color:var(--color_text);
}
*,
*:before,
*:after{
    box-sizing: border-box;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul{
    margin: 0;
    padding: 0;
}
h1 a, 
h2 a, 
h3 a, 
h4 a, 
h5 a, 
h6 a {
    color:var(--color_titleLink);
}
h1 {
    /* font-size: 2.5rem; */
    line-height: 2.9rem;
}
h2 {
    /* font-size: 2rem; */
    line-height: 2.3rem;
}
h3 {
    /* font-size: 1.6rem; */
    line-height: 2rem;
}
h4 {
    /* font-size: 1.4rem; */
    line-height: 1.8rem;
}
h5 {
    /* font-size: 1.2rem; */
    line-height: 1.6rem;
}
h6 {
    /* font-size: 1rem; */
    line-height: 1.4rem;
}
:not(header) ol, 
:not(header) ul{
    padding-left: 20px;
}
.header__quick ul {
    padding-left:0;
}
p, 
a, 
li, 
ul, 
ol, 
div {
    font-weight: 300;
}
img{
    height: auto;
    max-width: 100%;
}
a{
    text-decoration: none;
}
hr{
    border:none;
    border-bottom: 1px solid #000
}
main {
    min-height: 50vh;
}

body .header {
    position: fixed;
    top: 0;
    z-index: 1000;
    /* border-bottom:1px solid #999; */
    display: flex;
    flex-direction: column;
    width: 100%;
    padding:0;
    transition: all .3s cubic-bezier(.215, .61, .355, 1);
}
body.scrolled header:not(:has(.searchbar)) {
    /* height:70px; */
    flex-direction: row;
}
body.admin-bar .header,
body.wp-customizer body.home .header {
    top: 32px;
}



/* ------------------------------------------------------------------------- *
/* Base */
/* ------------------------------------------------------------------------- */
:root {
    --site-bg: #f0f0f0;
    --site-text-color: #000;
    /* --link-color: #16233d; */
    --accent1:#22715c;
}
/* body {
    background: var(--site-bg);
} */
a {
    color:var(--link-color);
}
a:hover {
    color:var(--color4);
}
body main article a:not(h1 a):not(h2 a):not(h3 a):not(h4 a):not(h5 a):not(h6 a){
    color:var(--color2);
    text-decoration: underline;
}
body.home:not(.blog) h1.titoloSeo {
    position: absolute;
    top: -50px;
}
body header {
    background:#fff;
    padding: 20px 30px;
    transition: all .3s cubic-bezier(.215, .61, .355, 1);
    /* height:105px; */
}
body header.header.navbarBoxed .container-header{
    max-width: 1250px;
    margin: 0 auto;
}
body.scrolled header {
    background:#fff;
}
/* body main.grid {
    margin-top:100px;
} */
html{
    scroll-padding-top: 120px; /* Altezza della navbar */
}
::selection {
    background: var(--coloreBgSelezione);
    color: var(--coloreTestoSelezione);
}

/* Reset focus da mouse */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
    outline: none;
    background: transparent !important;
}

/* Focus SOLO da tastiera (TAB) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 1px solid var(--color2);
    outline-offset: 4px;
    background: #cb02025f !important;
    color: #fff !important;
}

/* -------------------------------------------------------------------------------- */
/* ! BORDER BOX */
/* -------------------------------------------------------------------------------- */
*,
*:before,
*:after{
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing:border-box;
    box-sizing: border-box;
}

/* -------------------------------------------------------------------------------- */
/* ! Navbar */
/* -------------------------------------------------------------------------------- */
/* ! LOGO */
a.custom-logo img,
a.logo-text img {
    max-width: 160px;
    height:auto;
    transition: all .3s cubic-bezier(.215, .61, .355, 1);
}
/* body.scrolled a.custom-logo img,
body.scrolled a.logo-text img {
    max-width: 170px;
} */

@media (max-width: 768px) {
    a.custom-logo img {max-width: 200px;height:auto;}
} /* Fine query */

/* ! Menu child */
body ul.menu > .menu-item.menu-item-has-children > a{
    position: relative;
}

body.page-template-menu-trasparente ul.menu > .menu-item.menu-item-has-children > a:after{
    color: #fdfdfd;
}
body.page-template-menu-trasparente ul.menu.active > .menu-item.menu-item-has-children > a:after {
    color: #141414;
}

body ul.menu > .menu-item-has-children > a {
    padding: 12px 34px 12px 25px !important;
}

@media (min-width: 768px) {
    body ul.menu > li.menu-item.menu-item-has-children > a:after{
        position: absolute;
        content: '\25bc';
        top: 50%;
        right: 0px;
        transform: translateY(-50%);
        font-size: .6rem;
        color: #141414;
        width: 30px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    body ul.menu > li.menu-item.menu-item-has-children > ul.sub-menu > li.menu-item.menu-item-has-children > a:after{
        position: absolute;
        content: '\25bc';
        top: 0;
        right: 0px;
        transform: translateY(0);
        font-size: .6rem;
        color: #141414;
        width: 30px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
} /* Fine query */

/* @ VERSION 1 */
/* ! Navbar container */
.container-header {
    display: flex;
    position:relative;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}
.logo-text,
.logo-visual {
    width: 20%;
    min-width:230px;
}
nav {
    width: 80%;
}

/* ! Navbar menu content */
ul.menu {
    display:flex;
    justify-content: end;
    list-style-type:none;
    padding:0;
}
ul.menu li {
    position:relative;
    padding:0;
    margin: 0 3px;
}
ul.menu li a {
    padding: 8px 15px;
    transition: all .6s cubic-bezier(.215, .61, .355, 1);
}
ul.menu li a:hover {
    background: var(--color2);
    color:var(--colore-menu-item-hover);
}
/* ul.menu li ul.sub-menu {
    background: #dfdede;
} */
ul.menu li ul.sub-menu li {
    padding: 0;
}
ul.menu li ul.sub-menu li:last-of-type {
    padding-bottom: 15px;
}

ul.menu li ul.sub-menu li:first-of-type {
    padding-top: 15px;
}

ul.menu li ul.sub-menu li a {
    padding: 5px 12px;
    border: 0;
    margin-bottom: 5px;
    display: block;
}
ul.menu li ul.sub-menu li ul.sub-menu{
    padding:10px;
    list-style-type: none;
}
ul.menu > li > ul.sub-menu {
    display:none;
    position: absolute;
    top: 39px;
    min-width: 175px;
    max-height: 0;
    overflow: hidden;
    left: 50%;
    transform: translateX(-50%);
    padding:30px;
}
ul.menu li.current-menu-item a,
body.page-template-menu-trasparente.scrolled ul.menu li.current-menu-item a {
    background:var(--color2);
    color:#fff !important;
}
ul.menu > li > ul.sub-menu {
        background: #dad8d8;
        list-style-type:none;
        padding: 0 10px;
}
ul.menu > li > ul.sub-menu > li > ul.sub-menu {
    background: #bdbdbd;
    list-style-type:none;
    padding: 0 10px;
}

ul.menu > ul > li.menu-item-has-children:focus-within ul {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.menu-item-has-children:focus-within > .sub-menu,
.menu-item-has-children:hover > .sub-menu {
    display: block;
}
ul.menu > li:hover > ul.sub-menu,
ul.menu > li:focus > ul.sub-menu,
ul.menu > li.focus > ul.sub-menu {
    display: block;
    max-height: 500px;
}
button.toggle-navbar {
    display: none;
}

/* @ Toggle scrolled */
body.scrolled header .hamburger, 
body.scrolled header .hamburger::before,
body.scrolled header .hamburger::after {
    background-color: var(--colore_hamburger_scrolled) !important;
}

/* ! Social */
.socialIcons ul {
    display:none;
}

@media (max-width: 1024px) {
    ul.menu > li > ul.sub-menu {
        background: #bdbdbd;
        list-style-type:none;
        padding: 0 10px !important;
    }
    ul.menu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100vw;
        height: 100vh;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        transform: translateX(-100%);
        transition: all .3s cubic-bezier(.215, .61, .355, 1);
    }
    ul.menu.active {
        transform: translateX(0%);
    }
    ul.menu > li {
        background: transparent;
        list-style-type:none;
        text-align: center;
    }

    ul.menu > li {
        display: flex;
        flex-direction: column;
        min-width: 260px;
        padding: 12px 24px;
    }
    ul.menu > li > ul.sub-menu{
        position: relative;
        top: 10px;
        transition: all .6s;
    }

    /* Toggle */
    button.toggle-navbar {
        display: flex;
        background: none;
        border: 1px solid #141414;
        cursor: pointer;
        padding: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 50px;
        height: 40px;
        z-index: 2;
    }
    .hamburger-inner {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        width: 100%;
    }
    .hamburger {
        display: flex;
        background-color: var(--colore_hamburger);
        height: 1px;
        width: 100%;
        border-radius: 2px;
        position: relative;
        transition: all 0.3s ease;
        top: 50%;
        transform: translateY(-50%);
    }
    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        background-color: var(--colore_hamburger);
        height: 1px;
        width: 100%;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    .hamburger::before {
        top: -8px;
    }
    .hamburger::after {
        top: 8px;
    }
    header .toggle-navbar.active .hamburger {
        background-color: transparent !important;
    }
    header .toggle-navbar.active .hamburger::before {
        transform: rotate(45deg);top: 0;
    }
    header .toggle-navbar.active .hamburger::after {
        transform: rotate(-45deg);top: 0;
    }
} /* Fine query */

/* @ VERSIONE 2 */
/* ! navbar */
header.navbar2 ul.menu {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    background: #eeeded;
    background-image: var(--url-navbar-bg-image);background-position: center;background-size: cover;
    z-index: 1;transform: translateX(-105%);
    transition: all .6s cubic-bezier(.215, .61, .355, 1);
}
header.navbar2 ul.menu.active {
    transform: translateX(0%);
}
header.navbar2 ul.menu > li {
    display: flex;
    padding: 12px 24px;
}

header.navbar2 ul.menu > li > ul.sub-menu {
    position: relative;
    display: block;
    max-height: 0;
    overflow: hidden;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    padding: 0;
    transition: all .6s cubic-bezier(.215, .61, .355, 1);
}

header.navbar2 ul.menu > li:hover > ul.sub-menu {
    max-height: 500px;
}
header.navbar2 ul.menu > li{
    min-width: 260px;
    text-align: center;
}


/* ! Toggle */
/* Toggle */
header.navbar2 button.toggle-navbar {
    display:flex;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 40px;
    z-index:2;
    min-width: 40px;
}
header.navbar2 .hamburger-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}
header.navbar2 .hamburger {
    display: flex;
    background-color: var(--colore_hamburger);
    height: 1px;
    width: 100%;
    border-radius: 2px;
    position: relative;
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
}
header.navbar2 .hamburger::before,
header.navbar2 .hamburger::after {
    content: '';
    position: absolute;
    background-color: var(--colore_hamburger);
    height: 1px;
    width: 100%;
    border-radius: 2px;
    transition: all 0.3s ease;
}
header.navbar2 .hamburger::before {
    top: -8px;
}
header.navbar2 .hamburger::after {
    top: 8px;
}
header.navbar2 .toggle-navbar.active .hamburger {
    background-color: transparent;
}
header.navbar2 .toggle-navbar.active .hamburger::before {
    transform: rotate(45deg);top: 0;
    background-color: var(--colore_hamburger_scrolled);
}
header.navbar2 .toggle-navbar.active .hamburger::after {
    transform: rotate(-45deg);top: 0;
    background-color: var(--colore_hamburger_scrolled);
}


@media (max-width: 1024px) {
    header.navbar2 ul.menu li {
        display: flex;
        flex-direction: column;
        padding: 12px 24px;
    }
    body.woocommerce-js header button.toggle-navbar {
        margin-right:50px;
    }
} /* Fine query */


/* ! Social */
header.navbar2 .socialIcons ul {display:none;}

/* @ VERSIONE 3 */
/* ! Navbar */
header.navbar3 .container-header .logo-text,
header.navbar3 .container-header .logo-visual,
header.navbar3 .container-header .socialIcons {
    flex:1;
    max-width: 250px;
}
header.navbar3 .container-header ul.menu {
    flex:2;
}
header.navbar3 .logo-text,
header.navbar3 .logo-visual,
header.navbar3 .socialIcons {
    width:20%;
}
header.navbar3 nav {
    width:60%;
}
header.navbar3 ul.menu {
    width: 100%;
    justify-content: center;
}
header.navbar3 ul.menu li{
    padding: 5px 10px;
}
header.navbar3 .toggle-navbar.active .hamburger {
    background-color: transparent;
}
header.navbar3 .toggle-navbar.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
header.navbar3 .toggle-navbar.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

header.navbar3 li.custom-button.btnCta {
    border-radius: 0 !important;
    width: 100% !important;
    max-width: 200px;
    padding: 10px 15px !important;
    background: var(--color2) !important;
    color: #fff;
    border: 1px solid var(--color2) !important;
    appearance: none;
    -webkit-appearance: none;
}
header.navbar3 li.custom-button.btnCta a {
    color: #fff;
    line-height: 1rem;
}

@media (max-width: 1024px) {
    header.navbar3 ul.menu > li > ul.sub-menu,
    header.navbar2 ul.menu > li > ul.sub-menu,
    header.navbar1 ul.menu > li > ul.sub-menu {
        position: relative;
        display: block;
        max-height: 0;
        overflow: hidden;
        left: 50%;
        transform: translateX(-50%);
        transition: all .6s cubic-bezier(.215, .61, .355, 1);
    }
    header.navbar3 ul.menu > li:hover > ul.sub-menu,
    header.navbar2 ul.menu > li:hover > ul.sub-menu,
    header.navbar1 ul.menu > li:hover > ul.sub-menu {
        max-height: 500px;
    }
} /* Fine query */


/* ! Social */
header.navbar3 .socialIcons ul {
    list-style-type: none;
    display: flex;
    justify-content: end;
}
header.navbar3 .socialIcons ul li {
    border: 1px solid #fff;
    background-color: transparent;
    width: 40px;
    height: 40px;
    margin: 0 0 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 30px;
}
header.navbar3 .socialIcons ul li:not(.social-contact) a {
    height: 100%;
    display: inline-flex;
}  
header.navbar3 .socialIcons ul li a img {
    width: 100%;
}
li.social-contact {
    border: 1px solid #fff !important;
    background-color: transparent;
    width: 100% !important;
    height: auto;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 0 !important;
    max-width: fit-content;
    max-width: max-content;
}
li.social-contact a {
    color:#fff;
}

/* # IN NAVBAR CLASSIC */
header.navbar3.navbarTransparent .socialIcons ul li a {
    color: #fff;
}
header.navbar3.navbarTransparent .socialIcons ul li a svg {
    fill: #fff;
    color: #fff;
    z-index: 99;
}

/* ! NUOVA NAVBAR TRASPARENTE */
/* body.page-template-menu-trasparente header.header {
    background: transparent;
}
body.page-template-menu-trasparente.scrolled header.header {
    background: #fff;
}
body.page-template-menu-trasparente:not(.scrolled) header.header:not(.navbar2) ul.menu > li > a {
    border: 1px solid var(--color3);
    color: #fff;
}

body.page-template-menu-trasparente header .hamburger, 
body.page-template-menu-trasparente header .hamburger:before, 
body.page-template-menu-trasparente header .hamburger:after{
    background-color: #fff;
}

@media (max-width: 1024px) {
    body.page-template-menu-trasparente:not(.scrolled) header.header:not(.navbar2) ul.menu > li > a {
        color: #242424;
    }
}  */
/* Fine query */

/* -------------------------------------------------- */
/* ! NAVBAR TRASPARENTE 2025 */
/* -------------------------------------------------- */
body.page-template-menu-trasparente header .logo-dark {
    display:none;
}
body.page-template-menu-trasparente header .logo-white {
    display:block !important;
}
body.page-template-menu-trasparente:not(.scrolled) header {
    background: transparent;
}

body.page-template-menu-trasparente header .container-header nav ul li a {
    color: var(--colore-menu-item-hover);
}
/* body.page-template-menu-trasparente.scrolled header {
    background: #fff;
} */
body.page-template-menu-trasparente.scrolled header ul li a {
    color: #111 !important;
}
body.page-template-menu-trasparente.scrolled header ul li a:hover {
    color:var(--colore-menu-item-hover) !important;
}

/* @ Navbar dark */
body.page-template-menu-trasparente.scrolled header.navbarDark,
body.scrolled header.navbarDark,
body.page-template-menu-black.scrolled header.navbarDark {background: var(--colore_bg_navbar);}
body.page-template-menu-trasparente.scrolled header.navbarDark .logo-dark,
body header.navbarDark .logo-dark,
body.page-template-menu-black header.navbarDark .logo-dark {display: none !important;opacity:0;}
body.page-template-menu-trasparente.scrolled header.navbarDark .logo-white,
body header.navbarDark .logo-white,
body.page-template-menu-black header.navbarDark .logo-white {display: flex !important;opacity:1;}
body.page-template-menu-trasparente.scrolled header.navbarDark ul li a {color:var(--color_menu_item) !important;}

/* -------------------------------------------------- */
/* ! NAVBAR classica 2025 */
/* -------------------------------------------------- */
body.page-template-menu-black {
    padding-top:74px !important;
}

/* # IN NAVBAR CLASSIC */
body header.navbar3 .socialIcons ul li,
body.scrolled header.navbar3 .socialIcons ul li,
body.scrolled header.navbar3.navbarTransparent .socialIcons ul li {
    border:1px solid #222;
}
body header.navbar3 .socialIcons ul li a svg path,
body.scrolled header.navbar3 .socialIcons ul li a svg path,
body.scrolled header.navbar3.navbarTransparent .socialIcons ul li a svg path {
    fill: #222;
    color: #222;
    z-index: 99;
}



@media (max-width: 1024px) {
    header.navbar3 ul.menu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100vw;
        height: 100vh;
        position: absolute;
        top: 0;
        left: 0;
        background:var(--colore_background_navbar);
        z-index: 1;
        transform: translateX(-100%);
        transition: all .6s cubic-bezier(.215, .61, .355, 1);
    }
    header.navbar3 ul.menu.active {
        transform: translateX(0%);
    }
    header.navbar3 ul.menu li {
        display: flex;
        flex-direction: column;
        padding: 12px 24px;
    }

    /* Toggle */
    header.navbar3 button.toggle-navbar {
        display:flex;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50px;
        min-width: 40px;
        height: 40px;
        z-index:2;
    }
    header.navbar3 .hamburger-inner {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        width: 100%;
    }
    header.navbar3 .hamburger {
        display: flex;
        background-color: var(--colore_hamburger);
        height: 1px;
        width: 100%;
        border-radius: 2px;
        position: relative;
        transition: all 0.3s ease;
        top: 50%;
        transform: translateY(-50%);
    }
    header.navbar3 .hamburger::before,
    header.navbar3 .hamburger::after {
        content: '';
        position: absolute;
        background-color: var(--colore_hamburger);
        height: 1px;
        width: 100%;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    header.navbar3 .hamburger::before {
        top: -8px;
    }
    header.navbar3 .hamburger::after {
        top: 8px;
    }
    header.navbar3 .toggle-navbar.active .hamburger {
        background-color: transparent;
    }
    header.navbar3 .toggle-navbar.active .hamburger::before {
        transform: rotate(45deg);
        background-color: var(--colore_hamburger_scrolled) !important;
        top: 0;
    }
    header.navbar3 .toggle-navbar.active .hamburger::after {
        transform: rotate(-45deg);
        background-color: var(--colore_hamburger_scrolled) !important;
        top: 0;
    }

    /* ! Social */
    header.navbar3 .socialIcons ul {display:none;}

} /* Fine query */


@media (max-width: 450px) {
    /* Toggle */
    header.navbar3 button.toggle-navbar {
        width: 100px;
    }
    .logo-text, .logo-visual {
        min-width: 200px;
    }
} /* Fine query */

/* @ TRANSPARENT NAVBAR */
header.navbarTransparent {
    background: transparent;
    background: #00000000;
}
header.navbarTransparent + section.hero,
header.navbarTransparent + section.hero-img {
    margin-top: 0 !important;
}
header.navbarTransparent + section.hero-img h2{
    padding-top: calc(105px / 2);
    margin:0;
}
body.page-template-page-img-hero header.navbarTransparent + section.hero-img .overlay{
    background: linear-gradient(0deg, rgb(0 0 0 / 20%) 0%, rgb(0 0 0 / 80%) 100%);
}
body header img.logo-white {
    display: none;
}
body:not(.single) header.navbarTransparent img.logo-dark {
    display: none;
    transition: all .3s cubic-bezier(.215, .61, .355, 1);
}
body.scrolled:not(.single) header.navbarTransparent img.logo-dark {
    display: block;
    transition: all .3s cubic-bezier(.215, .61, .355, 1);
}
body.scrolled header.navbarTransparent img.logo-white {
    display: none;
}
body.single header.navbarTransparent img.logo-white {
    display: none;
}
body header.navbarTransparent ul.menu > li > a {
    border: 1px solid var(--color4);
    /* color: var(--color_menu_item); */
}
body.scrolled header.navbarTransparent ul.menu > li > a {
    border: 1px solid var(--color1);
    color: var(--link-color);
}
body header.navbarTransparent:not(.navbar2) ul.menu > .menu-item.menu-item-has-children > a:after {
    color: #ffffff;
}
body:not(.single) header.navbarTransparent:not(.navbar2) ul.menu > li > a {
    color:#fff;
}
body.scrolled header.navbarTransparent:not(.navbar2) ul.menu > li > a {
    color:#282828;
}
body.scrolled header.navbarTransparent ul.menu > .menu-item.menu-item-has-children > a:after {
    color: #282828;
}
body.navbar2 ul.menu > li > ul.sub-menu {
    position: relative;
}
header.navbar2 ul.menu > li {
    display: flex;
    flex-direction: column;
    padding: 12px 24px;
}
header.navbarTransparent.navbar2 ul.menu > li > ul.sub-menu{
    position:relative;
    top:10px;
}
body.single header.navbarTransparent.navbar3 .socialIcons ul li{
    border: 1px solid var(--color1);
    background-color: var(--color1);
}


@media (max-width: 1024px) {
    body header.navbarTransparent:not(.navbar2) ul.menu > li > a {
        color:var(--color1) !important;
    }
} /* Fine query */

/* # Toggle scrolled */
header.navbarTransparent .toggle-navbar .hamburger, 
header.navbarTransparent .toggle-navbar .hamburger::before,
header.navbarTransparent .toggle-navbar .hamburger::after {
    background-color: var(--colore_hamburger_scrolled) !important;
}
header.navbarTransparent .toggle-navbar.active .hamburger {
    background-color: transparent !important;
}



/* # GESTIONE DOPPIO LOGO */
body.page-template-menu-trasparente.scrolled img.logo-white {
  display: none !important;
  opacity: 0;
}

body.page-template-menu-trasparente.scrolled img.logo-dark {
  display: flex !important;
  opacity: 1;
}
body.page-template-menu-trasparente img.logo-white {
  display: flex !important;
  transition: .3s;
  opacity: 1;
}
body.page-template-menu-trasparente img.logo-dark {
  display: none;
  transition: .3s;
  opacity: 0;
}


/* -------------------------------------------------- */
/* ! GRANDEZZE NAVBAR */
/* -------------------------------------------------- */
body.navbarSidebarLeft header.navbar2 ul.menu {
    width: 30vw;
    min-width: 400px;
}
body.navbarSidebarRight header.navbar2 ul.menu {
    width: 30vw;
    min-width: 400px;
    left:unset;
    right: 0;
    transform: translateX(105%);
}
body.navbarSidebarRight header.navbar2 ul.menu.active {
    transform: translateX(0%) !important;
}

@media (max-width: 768px) {
    body.navbarSidebarLeft header.navbar2 ul.menu,
    body.navbarSidebarRight header.navbar2 ul.menu {
        width: 100vw;
        min-width: 400px;
    }
} /* Fine query */

/* -------------------------------------------------------------------------------- */
/* ! Other */
/* -------------------------------------------------------------------------------- */
/* @ Skip content */
body:not(.home) main#content {
    margin-top: -200px;
    padding-top: 200px;
}
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* @ Back To Top */
.backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--accent1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    transition: all .3s cubic-bezier(.215, .61, .355, 1);
    z-index: 99;
}
.backToTop a {
    color: #fff;
    transition: all .3s cubic-bezier(.215, .61, .355, 1);
}
.backToTop a:hover {
    color: var(--accent1);
}
.backToTop:hover {
    background-color: var(--accent1);
}
.backToTop img {
    width:20px;
}

/* @ Searchbar */

/* # SEARCH FORM NAVBAR */
body .searchbar {
    display: flex;
    margin-bottom: 10px !important;
    left: 0;
    width: 100%;
    max-width: 1250px;
    margin: 10px auto 25px auto;
    max-height: 35px;
    z-index: 9;
    align-items: center;
    justify-content: center;
    transition: all .3s cubic-bezier(.215, .61, .355, 1);
}
.searchbar.open {
    max-height: 35px;
}
.searchbar form {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.searchbar form input:not([type="checkbox"]):not([type="submit"]) {
    width: 100%;
    background: #ffffff;
    color: #333;
    border: 1px solid #b5b5b5;
    padding: 10px;
    border-radius: 50px;
}
/* input[type="text"]::placeholder,
input[type="text"]::-ms-input-placeholder,
input[type="text"]::-moz-placeholder, */
input[type="text"]::-webkit-input-placeholder {
    color: #d8d8d8 !important;
}
.searchbar form button[type="submit"] {appearance: none;-webkit-appearance: none;background: var(--color1);color: #fff;padding: 10px 20px;margin-left: 13px;border-radius: 6px;border: 1px solid var(--color1);}

/* @ Display */
/* # Stato normale */
body header.header:has(.searchbar) {
    height: auto;
}
body header .searchbar {
    transition: all .3s cubic-bezier(.215, .61, .355, 1);
    opacity: 1;
    max-height: 37px; /* Altezza iniziale */
    overflow: hidden; /* Evita che il contenuto "esca" durante l'animazione */
}

/* # Stato scrolled */
body.scrolled header .searchbar {
    opacity: 0;
    max-height: 0;
    margin: 0 auto !important; /* Mantieni il layout centrale */
    overflow: hidden; /* Importante per evitare scatti */
}

/* # Modifica il form separatamente */
body header .searchbar form {
    max-height: 37px; /* Altezza iniziale */
    transition: max-height .3s cubic-bezier(.215, .61, .355, 1), opacity .3s ease;
    opacity: 1;
}

body.scrolled header .searchbar form {
    max-height: 0;
    opacity: 0;
}

@media (max-width: 768px) {
    body header .searchbar {
        padding: 15px;
    }
    body.scrolled header .searchbar {
        padding: 0;
    }
} /* Fine query */

/* @ Aside Sidebar */
aside {
    border: 1px solid #d4d4d4;
    padding-top: 30px !important;
    border-radius: 10px;
}

/* @ Hero */
body.home .hero {
    height: var(--altezzaHero);
    background: var(--color1);
    /* background-image: url(/wp-content/uploads/2025/11/hero-scaled.webp); */
    background-image: url(/wp-content/themes/vanguard360-2025/img/index.webp);
    background-position:center;
    background-size:cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top:74px;
}
h1.titoloSeo {
    color:#ededed;
}

@media (max-width: 1024px) {
    body .hero{
        height:var(--altezzaHeroMobile);
    }
} /* Fine query */


/* ! HERO 2025 */
.containerTitoloHero {
    width: 100%;
    text-align: center;
}

/* # INDEX */
body.blog .hero {
    height: var(--altezzaHero--index);
}

@media (max-width: 1024px) {
    body.blog .hero {
        height: var(--altezzaHeroMobile--index);
    }
} /* Fine query */

/* ! Hero 2025 con template CON IMMAGINE */
#heroConImmagine{
    min-height: var(--altezzaHero) !important;
}

@media (max-width: 768px) {
    #heroConImmagine{
        min-height: var(--altezzaHeroMobile) !important;
    }
} /* Fine query */

/* ! Hero 2025 con template CON TITOLO */
#heroConTitolo{
    min-height: 250px !important;
}

/* -------------------------------------------------------------------------------- */
/* ! HELPERS */
/* -------------------------------------------------------------------------------- */
/* @ Markers */
/* # Markers */
main ul:not(.menu, .share-icons) li::marker {
    content: "> ";
    color: var(--color2);
    font-size: 1rem;
    margin-right: 10px;
}
/* # Footer Markers */
/* #footer-widget ul:not(.menu) li::marker {
    content: "> ";
    color: #ededed;
    font-size: 1rem;
    margin-right: 10px;
} */

/* @ 404 */
.redAlert {
    background: #f5cccc;
    color: #740505;
    padding: 100px 30px;
}

/* ! HIDE */
.hide { display: none; }
.hideDesktop, .hideTablet, .hideMobile {
    display: block;
}

/* Desktop only: nascondi sopra i 1024px */
@media (min-width: 1025px) {
    .hideDesktop { display: none; }
}

/* Tablet only: nascondi tra 769px e 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .hideTablet { display: none; }
}

/* Mobile only: nascondi sotto i 768px */
@media (max-width: 768px) {
    .hideMobile { display: none; }
}

/* @ TEXT */
.text1 {
    font-size: 1rem;
    line-height: 1.2rem;
}
.text2 {
    font-size: 1.5rem;
    line-height: 1.7rem;
}
.text3 {
    font-size: 2rem;
    line-height: 2.2rem;
}
.text4 {
    font-size: 2.5rem;
    line-height: 2.7rem;
}
.textGradient {
    background-image: linear-gradient(120deg, var(--color1), var(--color2), var(--color3), var(--color4));
    -webkit-background-clip: text;
    background-clip: text;
    display: inline-block;
    padding: 14px;
    -webkit-text-fill-color: transparent;
}
.has-mediumplus-font-size {
    line-height: 1.8rem;
}
.has-large-font-size {
    line-height: 3.2rem;
}

/* @ Colonne */
.wp-block-group.verticalCenter {
    height: 100%;
    display: flex;
    align-items: center;
}

/* @ Gallery */
.wp-block-gallery.square figure {aspect-ratio: 1 / 1;}
.wp-block-gallery.square figure img{object-fit: cover;}

.wp-block-gallery.landscape figure {aspect-ratio: 3 / 2;}
.wp-block-gallery.landscape figure img{object-fit: cover;}

.wp-block-gallery.landscapeWide figure {aspect-ratio: 16 / 9;}
.wp-block-gallery.landscapeWide figure img{object-fit: cover;}

.wp-block-gallery.portrait figure {aspect-ratio: 2 / 3;}
.wp-block-gallery.portrait figure img{object-fit: cover;}

.wp-block-gallery.portraitWide figure {aspect-ratio: 9 / 16;}
.wp-block-gallery.portraitWide figure img{object-fit: cover;}


/* -------------------------------------------------------------------------------- */
/* ! PATTERNS */
/* -------------------------------------------------------------------------------- */
#pattern3Columns4Conversion .wp-block-column {
    border-radius: 25px;
}

/* -------------------------------------------------------------------------------- */
/* ! PAGE TEMPLATES */
/* -------------------------------------------------------------------------------- */
/* ! ALL TEMPLATES */
body.page-template-default main article,
body.page-template-page-img-hero main article{
    padding:0;
}

/* @ Page template default */
body.page-template-default .hero-title h2 {
    max-width: 1250px !important;
    width: 100%;
    margin: 0 auto;
    padding: 0 8px;
}
body.page-template-default .hero-title {
    background: var(--color1);
    display: flex;
    align-items: center;
    justify-content: start;
    color: #fff;
    position: relative;
    margin-top: 105px;
    height: 10rem;
}

/* @ Page template Img hero */
body.page-template-page-img-hero .hero-img {
    margin-top: 105px;
    height: var(--altezzaHero);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ededed;
    position: relative;
}
body.page-template-page-img-hero .hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
}
body.page-template-page-img-hero .hero-img .overlay {
    background: #00000050;
    z-index: 1;
    display: flex;
    width: 100%;
    height: 100%;
    position: absolute;
}
body.page-template-page-img-hero .hero-img h2 {
    z-index:2;color:#fff;
}

/* @ Page template hero none */

@media (max-width: 768px) {
    body.page-template-default .hero-title {
        margin-top: 105px;
        height: 7rem;
        padding: 0 20px;
    }
    body.page-template-page-img-hero .hero-img {
        height: var(--altezzaHeroMobile);
    }
} /* Fine query */

/* -------------------------------------------------------------------------------- */
/* ! TEMPLATE PARTS */
/* -------------------------------------------------------------------------------- */
ul.share-icons {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    margin-top: 30px;
}
ul.share-icons li {
    width: 20px;
    height: 20px;
    margin: 0 20px 0 0;
}
ul.share-icons li a svg path {
    fill: #333 !important;
    color: #333 !important;
}


/* @ HERO IMAGE TEMPLATE PARTS */
.hero-image {
    position: relative;
    height:var(--altezzaHero);
}
.hero-image .container {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    background: linear-gradient(0deg, #00000000, #00000052);
}
.hero-image .container h1 {
    color:#fff;
}

/* -------------------------------------------------------------------------------- */
/* ! PAGES - PAGINE */
/* -------------------------------------------------------------------------------- */
/* @ Single.php */
body.single {
    padding-top: 130px;
}
body.single main#content{
    min-height: 60vh;
}
.comments {
    margin-top: 75px;
}
#comments form .comment-form-comment textarea{
    width:  calc(100% - 50px);
    border-radius: 10px;
    border: 1px solid #9d9d9d;
    background: #ececec;
    margin-top: 20px;
    padding: 20px;
}
#comments form .form-submit input#submit {
    appearance: none;
    font-size: 1.1rem;
    border: 1px solid var(--color4);
    padding: 12px 30px;
    border-radius: 7px;
    background: var(--color4);
    color: #fff;
    transition: all .3s cubic-bezier(.215, .61, .355, 1);
}
#comments form .form-submit input#submit:hover {
    border:1px solid var(--color1);
    color: var(--color1);
    background-color: transparent;
}
.default-sidebar-content {
    background: #dbdbdb;
    padding: 30px 20px !important;
    border-radius: 15px;
}
a.defaultWidgetUrl {
    display: block;
    margin-top: 15px;
    text-decoration: underline;
    text-transform: uppercase;
}
article.related-item:first-of-type {
    padding-left: 0;
}

/* @ index.php */
article.articolo-index h2 {
    margin-bottom: 1rem !important;
}
/* -------------------------------------------------------------------------------- */
/* ! WOOCOMMERCE */
/* -------------------------------------------------------------------------------- */
body .woocommerce-shop main {
    padding-top: 150px;
}
body .header__quick ul li svg {
    fill: #282828;
}
body.scrolled .header__quick ul li svg {
    fill: #282828;
}
body .header__quick ul li a {
    color: #282828;
}
body .header__quick ul {
    list-style-type: none;
}
body .header__quick {
    position: absolute;
    right: 0px;
    top: 50%;
    width: 60px;
    transform: translateY(-50%);
}
.woocommerce span.onsale {
    background-color: var(--wp--preset--color--accent-1);
    color: #fff;
}
.header__quick ul li a span {
    background: var(--color4) !important;
    padding: 3px 7px;
    border-radius: 18px;
    color: #fff;
    font-size: .7rem;
}

/* # NAVBAR V1 */
body.woocommerce-js header.navbar1 ul.menu {
    padding-right: 50px;
}

@media (max-width: 768px) {
    body.woocommerce-js header.navbar1 ul.menu {
        padding-right: 0px;
    }
} /* Fine query */

/* # NAVBAR V2 */
body.woocommerce-js header.navbar2 button.toggle-navbar {
    margin-right:50px;
}

/* # NAVBAR V3 */
body.woocommerce-js header.navbar3 .socialIcons {
    padding-right: 50px;
}

/* # Single product */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
    color: var(--wp--preset--color--accent-1);
}
body.single-product main {
    padding-top: 100px !important;
}
.woocommerce-product-gallery ol li {
    padding: 10px 15px 0 0;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*)) .woocommerce #respond input#submit.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*)) .woocommerce a.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*)) .woocommerce button.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*)) .woocommerce input.button.alt {
    background-color: var(--wp--preset--color--accent-1);
    color: #fff;
}


/* -------------------------------------------------------------------------------- */
/* ! GUTENBERG CLASS */
/* -------------------------------------------------------------------------------- */
.wp-block-quote {
    border-left: .25em solid var(--color3);
    margin: 1.75rem 0;
    padding-left: 1rem;
}
.wp-caption {
    background: #f9f9f9;
    padding: 10px;
    border: 1px solid #ddd;
    max-width: 100%;
    text-align: center;
}

.wp-caption-text {
    font-size: 12px;
    color: #666;
}

.sticky {
    background: #ffeb3b;
    padding: 15px;
    border-left: 4px solid #f90;
}

.gallery-caption {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.bypostauthor {
    font-weight: bold;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.alignleft {
    float: left;
    margin-right: 20px;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}
.wp-block-button:not(.is-style-outline) a.wp-block-button__link.wp-element-button {
    background: #121212;
}

/* -------------------------------------------------------------------------------- */
/* ! FOOTER */
/* -------------------------------------------------------------------------------- */
#footer-widget {
    padding: 50px 20px;
}
#footer-widget a {
    color: var(--color3);
}
.bg-foot {
    display: flex;
    align-items: center;
    min-height: 50px;
    background: var(--link-color);
    color:#fff;
}
.footer-bar .grid {
    padding:0;
}
.footer-bar a {
    color:var(--color3);
}
.footer-bar .grid {
    font-size: .8rem;
}
.footer-bar .grid > :nth-child(1) {
    text-align:left;
}
.footer-bar .grid > :nth-child(2) {
    text-align:right;
}

@media (max-width: 768px) {
    #footer-widget .widget_block {
        margin-bottom: 30px;
    }
    .footer-bar {
        padding-bottom: 70px;
    }
    .footer-bar .grid > :nth-child(1),
    .footer-bar .grid > :nth-child(2) {
        text-align:center;
    }
    footer .grid .col-flex {
        text-align: center;
    }
    footer#footer-widget .grid .col-flex .wp-block-group ul,
    footer#footer-widget .grid .col-flex .wp-block-group ol {
        list-style-type: none;
    }
} /* Fine query */
