.elementor-kit-8{--e-global-color-primary:#1475F5;--e-global-color-secondary:#3FCEE8;--e-global-color-text:#FFFFFF;--e-global-color-accent:#EFE121;--e-global-color-f0f182f:#050D17;--e-global-color-e1c49c1:#FFFFFF00;--e-global-color-cc53c07:#0A1724;--e-global-color-1a43263:#8E8E8E;--e-global-typography-primary-font-family:"BDO Grotesk";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"BDO Grotesk";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"BDO Grotesk";--e-global-typography-text-font-size:19px;--e-global-typography-text-font-weight:400;--e-global-typography-text-line-height:1.42em;--e-global-typography-accent-font-family:"helvetica-neue-lt-pro";--e-global-typography-accent-font-weight:500;--e-global-typography-cde81f4-font-family:"BDO Grotesk";--e-global-typography-cde81f4-font-size:16px;--e-global-typography-cde81f4-font-weight:500;--e-global-typography-cde81f4-line-height:1em;--e-global-typography-bf79ae5-font-family:"BDO Grotesk";--e-global-typography-bf79ae5-font-size:16px;--e-global-typography-bf79ae5-font-weight:400;--e-global-typography-bf79ae5-line-height:1em;--e-global-typography-eca6426-font-family:"BDO Grotesk";--e-global-typography-eca6426-font-size:40px;--e-global-typography-eca6426-font-weight:300;--e-global-typography-eca6426-line-height:1.2em;--e-global-typography-da674bc-font-family:"BDO Grotesk";--e-global-typography-da674bc-font-size:42px;--e-global-typography-da674bc-font-weight:400;--e-global-typography-da674bc-line-height:1em;--e-global-typography-033d809-font-family:"BDO Grotesk";--e-global-typography-033d809-font-size:23px;--e-global-typography-033d809-font-weight:400;--e-global-typography-033d809-line-height:1.34em;--e-global-typography-f4542e5-font-family:"BDO Grotesk";--e-global-typography-f4542e5-font-size:16px;--e-global-typography-f4542e5-font-weight:400;--e-global-typography-f4542e5-line-height:1em;--e-global-typography-a36479d-font-family:"BDO Grotesk";--e-global-typography-a36479d-font-size:18px;--e-global-typography-a36479d-font-weight:500;--e-global-typography-a36479d-line-height:1em;--e-global-typography-de894e2-font-family:"BDO Grotesk";--e-global-typography-de894e2-font-size:51px;--e-global-typography-de894e2-font-weight:400;--e-global-typography-de894e2-line-height:1.14em;background-color:var( --e-global-color-f0f182f );color:var( --e-global-color-text );font-family:"BDO Grotesk", Sans-serif;font-size:19px;font-weight:400;line-height:1.42em;}.elementor-kit-8 e-page-transition{background-color:#FFBC7D;}.elementor-kit-8 a{color:var( --e-global-color-primary );}.elementor-kit-8 h1{font-family:"BDO Grotesk", Sans-serif;font-size:51px;font-weight:400;line-height:1.14em;}.elementor-kit-8 h2{font-family:"BDO Grotesk", Sans-serif;font-size:34px;font-weight:300;line-height:1.21em;}.elementor-kit-8 h3{font-family:"BDO Grotesk", Sans-serif;font-size:26px;font-weight:400;line-height:1.23em;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1360px;}.e-con{--container-max-width:1360px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-kit-8{--e-global-typography-text-font-size:18px;--e-global-typography-cde81f4-font-size:16px;--e-global-typography-bf79ae5-font-size:15px;--e-global-typography-eca6426-font-size:38px;--e-global-typography-da674bc-font-size:37px;--e-global-typography-033d809-font-size:20px;--e-global-typography-f4542e5-font-size:14px;--e-global-typography-a36479d-font-size:16px;--e-global-typography-de894e2-font-size:45px;font-size:18px;}.elementor-kit-8 h1{font-size:45px;}.elementor-kit-8 h2{font-size:28px;}.elementor-kit-8 h3{font-size:22px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-8{--e-global-typography-text-font-size:16px;--e-global-typography-cde81f4-font-size:14px;--e-global-typography-bf79ae5-font-size:13px;--e-global-typography-eca6426-font-size:28px;--e-global-typography-da674bc-font-size:30px;--e-global-typography-033d809-font-size:18px;--e-global-typography-f4542e5-font-size:13px;--e-global-typography-a36479d-font-size:14px;--e-global-typography-de894e2-font-size:42px;font-size:16px;}.elementor-kit-8 h1{font-size:42px;}.elementor-kit-8 h2{font-size:25px;}.elementor-kit-8 h3{font-size:19px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//*/////////////
CURSORE
/////////////*/
#custom-cursor {
  position: fixed;
  top: -400px;
  left: -400px;
  width: 800px;   /* diametro glow */
  height: 800px;
  margin-left: -100px; /* metà width */
  margin-top: -100px;  /* metà height */
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20,117,245,0.35) 0%, rgba(20,117,245,0) 70%);
  filter: blur(60px);
  mix-blend-mode: screen;
  opacity: 0.8;
  transform: translate3d(0,0,0);
}
/*/////////////
HEADER
/////////////*/
header .libro-link {
    background: var(--e-global-color-primary);
    transition: 0.4s
}
header .libro-link:hover {
    background:rgba(0,0,0,0);
}

header .libro-link.current-menu-item {
    background: transparent
}
/*/////////////
TESTO CON SFUMATURA
/////////////*/
.giallo h1,
.giallo h2, 
.giallo h3,
.giallo h4,
.giallo h5,
.giallo h6,
.giallo p{
  background: linear-gradient(to right, var(--e-global-color-primary), var(--e-global-color-accent))!important;
  -webkit-background-clip: text!important;
  -webkit-text-fill-color: transparent!important;
  background-clip: text!important; /* per browser che lo supportano */
  color: transparent!important;
}

.azzurro h1,
.azzurro h2, 
.azzurro h3,
.azzurro h4,
.azzurro h5,
.azzurro h6,
.azzurro p,
.post-navigation__prev--title,
.post-navigation__next--title{
  background: linear-gradient(to right, var(--e-global-color-primary), var(--e-global-color-secondary))!important;
  -webkit-background-clip: text!important;
  -webkit-text-fill-color: transparent!important;
  background-clip: text!important;
  color: transparent!important;
}

/*/////////////
PULSANTI SPECIALI
/////////////*/
/* tasto sottolineato*/
.tasto-speciale .elementor-button {
  position: relative;
  overflow: hidden;
}
.tasto-speciale .elementor-button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background-color: var(--e-global-color-primary);
  transition: width 0.4s ease;
}
.tasto-speciale .elementor-button:hover::after {
  width: 100%;
}
/* tasto sottolineato */
.tasto-speciale .elementor-button {
  position: relative;
  overflow: hidden;
}
.tasto-speciale .elementor-button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background-color: var(--e-global-color-primary);
  transition: width 0.4s ease;
}
.tasto-speciale .elementor-button:hover::after {
  width: 100%;
}

/* tasto gradiente */
.tasto-gradient .elementor-button {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  color: var(--e-global-color-text);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  z-index: 1;
  transition: color 0.4s ease; /* solo il testo */
  border-radius: 50px;
  overflow: hidden; /* nasconde lo sfondo fuori dal bordo */
}

/* bordo gradiente */
.tasto-gradient .elementor-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 1px;
  background: linear-gradient(
    to right,
    var(--e-global-color-secondary),
    var(--e-global-color-accent)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

/* sfondo gradiente in hover */
.tasto-gradient .elementor-button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: linear-gradient(
    to right,
    var(--e-global-color-secondary),
    var(--e-global-color-accent)
  );
  opacity: 0; /* nascosto di default */
  transition: opacity 0.4s ease;
  z-index: -1;
}

.tasto-gradient .elementor-button:hover {
  color: var(--e-global-color-f0f182f); /* testo bianco in hover */
}

.tasto-gradient .elementor-button:hover::after {
  opacity: 1; /* fade-in dello sfondo */
}

/*/////////////
ANIMAZIONE TESTO
/////////////*/
.testo-animato span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px); /*nascoste in basso */
  transition: all 0.5s ease;
  
  font: inherit;         
  color: inherit;        
  line-height: inherit;  
  letter-spacing: inherit;
}

.testo-animato span.visible {
  opacity: 1;
  transform: translateY(0);
}

/*/////////////
HOMEPAGE
/////////////*/
.imprenditore .sottotitolo,
.persona .sottotitolo,
.impegno .sottotitolo{
    margin-top:-70px;
    opacity: 0;
    transition: 0.5s
}

.imprenditore:hover .sottotitolo,
.persona:hover .sottotitolo,
.impegno:hover .sottotitolo {
    margin-top:0px;
    opacity: 1

}

.sezione-home h3,
.sezione-home p {
    color:#FFF!important;
}

.img-imprenditore,
.img-persona,
.img-impegno {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.7s ease !important;
}

.img-imprenditore.attivo,
.img-persona.attivo,
.img-impegno.attivo {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.bordo-sfumato {
  transition: border-image 0.4s ease, border-color 0.4s ease;
}

.bordo-sfumato:hover {
  border-top: 1px solid transparent; /* serve per far vedere la sfumatura */
  border-image: linear-gradient(to left, #1475F5, #3FCEE8) 1;
}
/*/////////////
PAG GENERICO
/////////////*/
.titolo-pagina {
    background-position: 33.33vw 0;
    background-size:100vw;
}
/*/////////////
BLOG
/////////////*/
.singolo-articolo img{
    transition: 0.4s
}
.singolo-articolo:hover img{
    opacity: 1!important
}
.post-navigation__prev--label,
.post-navigation__next--label {
    text-transform: capitalize!important;
    margin-bottom: 1em
}
/*/////////////
MOBILE
/////////////*/
@media (min-width:1025px) and (max-width:1100px){
    header .menu-item a{
        padding: 30px 10px!important
    }
}

@media (max-width:1024px){
    .sezione-home:hover .immagine,
    .sezione-home .immagine{
        opacity: 0;
        display:none;
    }
    
    .imprenditore .sottotitolo,
    .persona .sottotitolo,
    .impegno .sottotitolo{
        margin-top:0px;
        opacity: 1;
    }
    
    footer .menu-item a {
        padding-left:10px!important;
        padding-right:10px!important;
    }
}

@media (max-width:767px){
    .titolo-pagina {
        background-position: center bottom;
        background-size:200vw;!important
    }
    .testo-hero {
        position:absolute;
        bottom:80px;
    }
}/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'BDO Grotesk';
	font-display: auto;
	src: url('https://www.giordanoriello.com/wp-content/uploads/2025/09/BDOGrotesk-VF.ttf') format('truetype');
}
/* End Custom Fonts CSS */