.serviziPage .component-container {
  padding: 0 0 120px;
}


.serviziPage .main-bottom{
  display: block;
  padding: 0px 30px;
  max-width: 1360px;
  margin: 0 auto;
}


.serviziPage .blog__navigation{
  margin: 120px 0 120px;
}










section.servizi{
	.inner{
		display: flex;
		flex-direction: column;
		gap: 0px;
		padding: 0;
		margin: 0 auto;
    max-width: none;

    .bottom{
      padding: 0;
    }

		.top{
		display: flex;
    flex-direction: column;
		gap: 0px;
		padding: 0px;
		position: relative;


		.left{
      position: relative;
      z-index: 1;
			flex: 1 1 auto;
      padding: 8rem 2rem;
      background-color: rgba(0, 0, 0, 0.75);
      color: #fff;
      display: flex;
      justify-content: center;
      text-align: center;
      flex-direction: column;
      width: 100%;
      isolation: isolate;
/* 
      &:after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.05;
        background-size: 10px 10px;
        background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, var(--primary-color) 0, var(--primary-color) 50%);
        z-index: -1;
    } */

		& h2{
			font-size: clamp(1.8rem, 3vw, 3.4rem);
      line-height: 1;
      font-weight: 900;
      margin: 0;
      padding: 0;
      text-transform: uppercase;
      color: #fff;

		}

		& h3{
      font-size: clamp(1.2rem, 3vw, 1.6rem);
      color: var(--secondary-color);
      line-height: 1.4;
      font-weight: 700;
      margin: 16px auto 16px;
      text-wrap: balance;
      font-style: italic;
			text-wrap: balance;
      font-family: var(--body-font-family);
      font-weight: 600;
      line-height: 1.2;

			@media screen and (max-width: 979px){
			}
		}

		& p{
			font-size: 0.9rem;
			margin: 0 auto;
      max-width: 767px;
			text-wrap: balance;
		}
	}

	.right{
		flex: 1 1 auto;
    width: 100%;
		display: flex;
		position: absolute;
    order: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;


		@media screen and (max-width: 979px){
			width: 100%;
			height: 100%;
			position: absolute;
			top: 0;
			left: 0;
			overflow: hidden;
			border-radius: 0;
			display: flex;

			&:after{
        display: none;
			}
		}

		& picture{
			/* position: absolute; */
			top: 0;
			left: 0;
			height: 100%;
			width: 100%;
			& img{
				border-radius: 0;
				height: 100%;
				object-fit: cover;
				object-position: center;
				width: 100%;
			}
		}
	}

	}
	}
}





















.mod-servizi-thumbs{
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0px;
  padding: 1.5rem clamp(0.8rem, 3vw, 2rem);
  background-color: var(--primary-color);

  background: linear-gradient(
    45deg,
    rgb(0, 0, 0, 1) 0%,
    rgb(0, 0, 0, 0.8) 20%,
    rgb(0, 0, 0, 0.85) 40%,
    rgb(0, 0, 0, 0.9) 60%,
    rgb(0, 0, 0, 0.8) 80%,
    rgb(0, 0, 0, 1) 100%
  );

  &:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.02;
    background-size: 10px 10px;
    background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, var(--primary-color) 0, var(--primary-color) 50%);
}

  & ul{
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    width: 100%;
    /* background-color: var(--secondary-color); */
    gap: 0;
    margin: 0 auto;
    max-width: 1278px;
    border: 1px solid var(--secondary-color);
    position: relative;
    z-index: 20;

    & li{
      display: flex;
      width: 100%;
      margin: 0;
      padding: 0;
      border: 1px solid var(--secondary-color);
      /* background-color: var(--primary-color); */
    }
    

    @media (max-width: 979px) {
      grid-template-columns: repeat(2, minmax(150px, 1fr));

    }


  }


  & a{
    flex: 1 1 auto;
    padding: 1rem 0;
    position: relative;
    /* background-color: var(--primary-color); */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;



    &:hover,
    &:focus-within{

      &:after{
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        background: var(--secondary-color);
        transition: background 0.3s ease-in-out;
      }
    }



    & img{
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: none;
    }
    & h4{
      position: relative;
      z-index: 100;
      color: #fff;
      font-size: 1rem;
      font-weight: 700;
      margin: 0;
      text-align: center;
      padding: 0;

      @media (max-width: 550px) {
        font-size: 0.85rem;
      }

    }
  }


  & li.active{
    order: 1;
  }
}


.mod-servizi-overview{
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1279px;
  margin: 0 auto;

  & > *{
    flex: 1 1 100%;
    padding-top: 4rem;

    @media (max-width: 768px){
    padding-top: 1rem;
    }
  }

  .mod-servizi-group{
    &:has(.active){
      order: 1;
    }
  }

  .category-header{
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 400px;


    & a.image{
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      
      &:before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
      }

      &:after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 1) 100%);
        z-index: 2;
        transition: background 0.3s ease-in-out;
    }

      & img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
      }
    }



    &:hover,
    &:focus-within{
      & a.image:after{
      background: #000;
      transition: background 0.3s ease-in-out;
      opacity: 0.7;
    }
    }


    .category-content{
      position: relative;
      z-index: 3;
      color: #fff;
      padding: 4rem;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: flex-end;
      width: 100%;
      gap: 20px;

      @media (max-width: 1279px){
        padding: 4rem 2rem;
    }

      
      @media (max-width: 1279px){
        .category-text{
        flex: 1 1 100%;
        }
    }

      & a:not(.mainBtn){
        color: #fff;
      }


      @media (max-width: 767px){
      .categorylink{
        display: none;
      }
      }



      & a.sottotitolo-link{
        text-transform: uppercase;
        
        font-weight: 600;

        & p{
          font-size: 1rem;
        }
      }

      & h2{
        max-width: 600px;
        font-size: 2rem;
        line-height: 1;
        font-weight: 900;
        text-wrap: balance;
        margin: 0;

        & a{
          color: var(--secondary-color)!important;
        }

      }

      & p{
        font-size: 0.9rem;
        margin: 15px 0px 0px;
        text-wrap: balance;
        max-width: 600px;
      }

      & span.elencoServizi{
        display: none;
      }

      @media (max-width: 767px){
        & span.elencoServizi{
          display: block;
        }
      }

      & span.elencoServizi.visible{
        &:after{
          transform: rotate(90deg);  
        }
      }
    }



  }




  

.mod-articles-items.mod-list{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(360px,100%), 1fr));
  background-color: var(--lgrey-color);
  gap: 60px;
  padding: 4rem 2rem 4rem;
  position: relative;



    @media (max-width: 768px) {
      padding: 0 2rem;
    }

  &::before{
    content: '';
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 2.5rem 2rem 0 2rem;
    border-color: #000 transparent transparent transparent;
    transform: rotate(0deg);
    position: absolute;
    top: 0;
    left: 70px;
  }



  & li{
    padding: 0.5rem 0 0.5rem 2rem;
    border-left: 2px solid #fff;
    display: flex;
    

    @media (max-width: 768px) {
    padding: 2rem 0;
    border-left: none;
    border-bottom: 2px solid #fff;


    &:first-of-type{
      padding-top: 4.5rem;
    }

    &:last-of-type{
      padding-bottom: 4.5rem;
    }

    }


    & article{

    .mod-articles-item-content{
      display: flex;
      flex-direction: column;
      height: 100%;
      
      & h3{
        font-size: 1rem;
        color: var(--primary-color);
        line-height: 1.2;
        font-weight: 800;
        margin: 0;
      }

      & figure{
        order: -1;
        display: none;
      }


      .sottotitolo{
        margin: 10px 0;
        & p{
          margin: 0;
          font-size: 0.9rem;
          font-weight: 600;
          text-wrap: balance;
        }
      }

      .riassunto{
        display: none;
        margin: 10px 0 0;
        & p{
          font-size: 0.8rem;
          margin: 0;
        }
      }

      .youtube-container{
        display: none;
      }

      & a.small{
        font-size: 0.8rem;
        padding: 9px 40px 8px 14px;
      }

      & p.readmore{
        margin: auto 0 0;
      }

      .social-links {
        display: flex;
        gap: 5px;
        margin: 0 0 20px;
        padding: 0;
        justify-content: flex-end;
        align-items: center;
        isolation: isolate;
        position: relative;
        display: none;

        &:before{
          content: "";
          width: calc(100% - 160px);
          height: 1px;
          background-color: var(--secondary-color);
          z-index: -1;
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          left: 0;
        }

        & li:first-of-type{
          margin: 0 auto 0 0;
          background-color: #fff;
          padding: 0px 10px 0px 0px;
          & span{
            text-transform: uppercase;
            font-size: 0.8rem;
            color: var(--secondary-color);
          }
        }

        & li {
          margin: 0;
          padding: 0;
          position: relative;

          & a {
            background-color: var(--primary-color);
            color: #fff;
            width: 26px;
            height: 26px;
            border-radius: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            isolation: isolate;

            & span {
              position: absolute;
              background-color: var(--primary-color);
              color: #fff;
              bottom: 100%;
              right: 0%;
              transform: translateY(-5px);
              white-space: nowrap;
              font-size: 0.8rem;
              font-weight: 600;
              letter-spacing: -0.5px;
              padding: 0px 5px;
              margin: 0;
              border-radius: 2px;
              pointer-events: none;
              opacity: 1;
            }
          }

          & p {
            position: absolute;
            background-color: var(--secondary-color);
            color: #fff;
            top: 50%;
            right: 100%;
            transform: translate(10px, -50%);
            white-space: nowrap;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: -0.5px;
            padding: 0px 15px 0px 10px;
            margin: 0;
            border-radius: 2px;
            pointer-events: none;
            opacity: 0;
            display: block;
            z-index: -1;
          }

          &:hover p {
            opacity: 1;
            pointer-events: all;
            transition: opacity 0.3s ease-in-out;
          }

          & a:has(.fa-telegram),
          & a:has(.fa-whatsapp) {
            font-size: 1rem;
          }


          &:hover {
            position: relative;
            z-index: 1;
          }

        }
      }

    }
  }
}
}



@media (max-width: 768px){
.mod-articles-items.mod-list{
  display: none;
/*   opacity: 0;
  height: 0;
  transition-property:  opacity height display;
  transition-duration: 1s 1s 1s;
  transition-delay: 0 0 1s;
  transition-behavior: allow-discrete; */
}
.mod-articles-items.mod-list.visible{
  display: block;
/*   opacity: 1;
  height: auto;
  transition-property:  opacity height display;
  transition-duration: 1s 1s 1s;
  transition-delay: 0 0 1s;
  transition-behavior: allow-discrete; */

/*   @starting-style{
    opacity: 0;
    height: 0;
  } */

}
}


}







.servicesblog {
  
.main-content{
display: flex;
justify-content: center;
padding: 0;
max-width: none;
margin: 0 auto;
gap: 60px;


@media (max-width: 1279px) {
 flex-direction: column;
}

  &:has(.blog-aside){

  .inner-container{
    flex: 0 1 auto;
    max-width: 900px;
  }

  @media (max-width: 1279px) {
    .inner-container{
      flex: 0 1 auto;
      max-width: none;
    }
   }

  .blog-aside{
    flex: 1 1 auto;
    padding: 7rem 0;
    display: flex;
    flex-direction: column;
    gap: 60px;
  }

  }

  .inner-container{
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  
}


h2.subServicesTitle{
  text-align: center;
  font-size: clamp(0.8rem, 5vw, 1rem);
  background-color: var(--secondary-color);
  color: #fff;
  padding: 10px 20px;
  line-height: 1.4;
  font-weight: 600;
  text-wrap: balance;
  max-width: max-content;
  margin: 0px auto;
  position: relative;
  z-index: 1;
  transform: translateY(-50%);

  @media (max-width: 768px) {
    transform: translateY(0%);
  }

  & span{
    font-weight: 800;
  }
}





section.servizi{
  .inner{
  gap: 0;
  padding-inline: 0;
}
}




















  .com-content-category-blog__children.cat-children {
    display: none;
  }


  .category-desc {
  /*   height: 500px; */
    position: relative;
    background-color: #efefef;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    isolation: isolate;
    margin-bottom: 0px;
    color: #fff;
    padding: 6rem 0;

    &:after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: -2;
    }

    &:before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--primary-color);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 1) 100%);
      opacity: 1;
      z-index: -2;
    }



    & > img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      position: absolute;
      top: 0;
      left: 0;
      opacity: 1;
      z-index: -3;
    }

    .inner-category-description{
      text-align: center;
      max-width: 979px;
      margin: 0 auto;
      padding: 0px 2rem;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .parentCatLink{
      color: #fff;
      padding: 1rem 4rem;
      border-bottom: 1px solid #fff;
      font-size: 1rem;
      transition: all 100ms linear;
      text-transform: uppercase;

        margin-bottom: 1.5rem;

      & i{
        margin-right: 5px;
      }

      &:hover,
      &:focus-within{
        transition: all 500ms ease;
        padding: 1rem 8rem;
      }
    }

    & h1 {
      font-size: clamp(1rem, 10vw, 5rem);
      line-height: 1.2;
      font-weight: 900;
      margin: 0;
    }
    & h2 {
      
      font-size: clamp(1rem, 5vw, 1.4rem);
      line-height: 1.4;
      font-weight: 800;
      margin: 1rem 0 0;
      text-wrap: balance;
      font-family: var(--body-font-family);
      font-weight: 600;


    }
    & p.riassunto {
      font-size: 1rem;
      line-height: 1.4;
      font-weight: 500;
      margin: 1.2rem 0 0;
      text-wrap: balance;
    }

    & a.mainBtn {
      margin: 2rem auto 0;
      display: none;

      @media (max-width: 768px) {
        display: block;
      }

      &.downArrow{
        &:after{
          content: '\f107';
        }
      }
    }


    .categoryLogo{
      max-width: 320px;
      order: -1;
      margin-bottom: 1.3rem;
    }

    .logocategoria{
      order: -1;
      margin-bottom: 1.3rem;
      & img{
        max-width: 320px;
      }
    }
  }


  .regular-blog-items {

    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(360px,100%),1fr));
    padding: 0px;
    max-width: 1279px;
    margin: 60px auto 120px;
    gap: 60px;

    @media (max-width: 768px) {
      gap: 1rem;
      margin-top: 0;
      padding: 1rem;
    }

    .blog-item {
      background-color: #efefef;
      padding: 2rem;
      


      & div.image-container {
        position: relative;



        & figure {
          margin: 0;
          padding: 0;
          height: 100px;

          & a {
            display: block;
            height: 100%;

            & img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              object-position: center;
            }
          }
        }



        .info-article {
          display: flex;
          z-index: 100;
          gap: 0px;
          margin: 0;
          background-color: #efefef;
          border-radius: 0px;
          width: 100%;

          & dt,
          & dd.createdby
          {
            display: none;
          }

          & dd {
            margin: 0px;
            font-size: 0.8rem;
            line-height: 1.2;
            padding: 5px 10px;
            display: flex;
            align-items: center;

            & span.icon-folder-open,
            & span.icon-calendar {
              display: none;
            }

          }

          & dd.category-name {
            background-color: var(--primary-color);

            &:hover {
              background-color: color-mix(in srgb, var(--primary-color), #000 30%);
              transition: background-color 0.2s linear;
            }

            & a {
              font-size: 0.8rem;
              line-height: 1.2;
              color: #fff;

            }
          }


          & dd.published {
            background-color: var(--secondary-color);
            color: #fff;
            display: none;
          }

          & dd.hits {
            padding: 5px 10px;
            background-color: #efefef;
            margin: 0 0 0 auto;
            line-height: 1;

            & span{
              margin-right: 3px;
            }
          }

        }






      }

      & div.item-content {

        .page-header{

          margin: 20px 0 5px;

          & h3{
            font-size: 1rem;
            line-height: 1.2;
            font-weight: 800;
            margin: 0;
            text-transform: uppercase;
            text-wrap: balance;


            & a{
              display: block;
              margin: 0px;
              color: var(--primary-color);
            }
          }
        }


        .sottotitolo{
          font-size: 0.9rem;
          font-weight: 600;
          text-wrap: balance;
          margin: 10px 0 0;
        }

        .riassunto{
          font-size: 0.9rem;
          color: var(--grey-600);
          margin: 10px 0 0;
          display: none;

          & p{
            margin: 0;
            font-weight: 500;
            letter-spacing: -0.3px;
            text-wrap: balance;
          }
        }

        & p.readmore {
          margin: 0;
      }


        .buttons-ul {
          display: flex;
          flex-wrap: wrap;
          gap: 10px;
          margin: 14px 0 0;
          padding: 0;
          align-items: center;

          & li:first-of-type{
            order: 1;
          }

          & a{
            
          }

          .mainBtn:after, .btn-primary:after{
            font-size: 1.4rem;
          }

          .mainBtn i{
            font-size: 1.2rem;
          }
        }


        .social-links {
          display: flex;
          gap: 5px;
          margin: 10px 0 0px;
          padding: 0;
          justify-content: flex-end;
          align-items: center;
          isolation: isolate;
          position: relative;

          &:before{
            content: "";
            width: calc(100% - 160px);
            height: 1px;
            background-color: var(--secondary-color);
            z-index: -1;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            left: 0;
          }

          & li:first-of-type{
            margin: 0 auto 0 0;
            background-color: #fff;
            padding: 0px 5px;
            & span{
              text-transform: uppercase;
              font-size: 0.8rem;
              color: var(--secondary-color);
            }
          }

          & li {
            margin: 0;
            padding: 0;
            position: relative;

            & a {
              background-color: var(--primary-color);
              color: #fff;
              width: 26px;
              height: 26px;
              border-radius: 100%;
              display: flex;
              justify-content: center;
              align-items: center;
              position: relative;
              isolation: isolate;

              & span {
                position: absolute;
                background-color: var(--primary-color);
                color: #fff;
                bottom: 100%;
                right: 0%;
                transform: translateY(-5px);
                white-space: nowrap;
                font-size: 0.8rem;
                font-weight: 600;
                letter-spacing: -0.5px;
                padding: 0px 5px;
                margin: 0;
                border-radius: 2px;
                pointer-events: none;
                opacity: 1;
              }
            }

            & p {
              position: absolute;
              background-color: var(--secondary-color);
              color: #fff;
              top: 50%;
              right: 100%;
              transform: translate(10px, -50%);
              white-space: nowrap;
              font-size: 0.8rem;
              font-weight: 600;
              letter-spacing: -0.5px;
              padding: 0px 15px 0px 10px;
              margin: 0;
              border-radius: 2px;
              pointer-events: none;
              opacity: 0;
              display: block;
              z-index: -1;
            }

            &:hover p {
              opacity: 1;
              pointer-events: all;
              transition: opacity 0.3s ease-in-out;
            }

            & a:has(.fa-telegram),
            & a:has(.fa-whatsapp) {
              font-size: 1rem;
            }


            &:hover {
              position: relative;
              z-index: 1;
            }

          }
        }


      }

    }
  }


  .news-carousel-module {
    max-width: 1279px;
    margin: 0 auto;
    padding: 0;

    .blog-item {
      position: relative;
      height: 500px;
      width: 100%;
      display: block;
      display: flex;
      flex-direction: column;


      .image-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: block;
        max-width: none;
        flex: 1 1 auto;

        & figure {
          height: 100%;
          width: 100%;

          & img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
          }
        }

        .info-article {
          display: flex;
          position: absolute;
          top: 0px;
          left: 0px;
          z-index: 100;
          gap: 0px;
          margin: 0;
          background-color: #fff;
          border-radius: 0px 0px 10px 0px;

          & dt {
            display: none;
          }

          & dd {
            margin: 0px;
            font-size: 1rem;
            line-height: 1.2;
            padding: 10px 15px;

            & span.icon-folder-open,
            & span.icon-calendar {
              display: none;
            }

          }

          & dd.mod-articles-category {
            background-color: var(--primary-color);

            &:hover {
              background-color: color-mix(in srgb, var(--primary-color), #000 30%);
              transition: background-color 0.2s linear;
            }

            & a {
              font-size: 1rem;
              line-height: 1.2;
              color: #fff;

            }
          }


          & dd.mod-articles-date {
            background-color: var(--secondary-color);
            color: #fff;
          }

          & dd.mod-articles-hits {
            padding: 10px 10px;
          }

        }

        .social-links {
          display: flex;
          position: absolute;
          top: 10px;
          right: 10px;
          z-index: 100;
          padding: 5px;
          gap: 5px;
          margin: 0;
          padding: 0;

          & li {
            margin: 0;
            padding: 0;
            position: relative;

            & a {
              background-color: #fff;
              width: 26px;
              height: 26px;
              border-radius: 100%;
              display: flex;
              justify-content: center;
              align-items: center;
              font-size: 1.1rem;
              position: relative;
              isolation: isolate;

              & span {
                position: absolute;
                color: var(--secondary-color);
                background-color: #fff;
                top: 100%;
                right: 0%;
                transform: translateY(10px);
                white-space: nowrap;
                font-size: 0.9rem;
                font-weight: 600;
                letter-spacing: -0.5px;
                padding: 0px 5px;
                margin: 0;
                border-radius: 2px;
                pointer-events: none;
                opacity: 1;
              }
            }

            & p {
              position: absolute;
              background-color: var(--secondary-color);
              color: #fff;
              top: 50%;
              right: 100%;
              transform: translate(10px, -50%);
              white-space: nowrap;
              font-size: 0.9rem;
              font-weight: 600;
              letter-spacing: -0.5px;
              padding: 0px 15px 0px 5px;
              margin: 0;
              border-radius: 2px;
              pointer-events: none;
              opacity: 0;
              display: block;
              z-index: -1;
            }

            &:hover p {
              opacity: 1;
              pointer-events: all;
              transition: opacity 0.3s ease-in-out;
            }

            & a:has(.fa-telegram),
            & a:has(.fa-whatsapp) {
              font-size: 1.2rem;
            }


            &:hover {
              position: relative;
              z-index: 1;
            }

          }
        }


      }

      .item-content {
        position: relative;
        z-index: 1;
        display: flex;
        justify-content: flex-end;
        flex-direction: column;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        flex: 1 1 auto;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 0px 80px 60px;
        color: #fff;
        isolation: isolate;

        &:before {
          content: "";
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          z-index: -1;
          background: rgb(255, 255, 255);
          background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(14, 31, 39, 0.9) 100%);
          mix-blend-mode: lighten;
        }

        & h2 {
          margin: 0;
          max-width: 600px;
          font-size: 2rem;
          line-height: 1;
          font-weight: 900;
          text-wrap: balance;
          margin: 0;

          & a {
            color: #fff;
          }
        }

        .riassunto {
          font-size: 0.9rem;
          margin: 15px 0px 20px;
          text-wrap: balance;
          max-width: 600px;

          & p {
            margin: 0;
          }
        }


        .buttons-ul {
          display: flex;
          align-items: center;
          gap: 30px;
          margin: 0;
          padding: 0;
        }

        & p.readmore {
          margin: 0;
        }
      }

    }

    .swiper {
      padding-bottom: 0px;

      .swiper-button-next,
      .swiper-button-prev {
        background-color: var(--secondary-color);
        color: #fff;
        bottom: auto !important;
        top: 50% !important;
        transform: translate(0%, -50%) !important;
        padding: 10px;
        width: 40px;
        opacity: 0.5;

        &:after {
          font-size: 1.4rem;
        }

        &:hover {
          opacity: 1;
          transition: opacity 0.2s ease;
        }

      }

      .swiper-pagination {
        bottom: 0;
        right: 0;
        width: max-content;
        display: block;
        left: auto;
        padding: 15px;
      }
    }



    .swiper-slide .social-links,
    .swiper-slide .info-article {
      opacity: 0;
    }


    .swiper-slide.swiper-slide-fully-visible .social-links,
    .swiper-slide.swiper-slide-fully-visible .info-article {
      opacity: 1;
      transition: opacity 0.3s 1s ease-in-out;
    }



  }







}






.menu-container {
  overflow-x: auto;
  white-space: nowrap;
  background-color: var(--primary-color);
  padding: 1rem 2rem;
  position: sticky;
  top: 123px;
  left: 0;
  width: 100%;
  z-index: 10;
  cursor: grab;
  
}

.service-menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: inline-block;
}

.service-menu li {
  display: inline-block;
  margin-right: 20px;
}

.service-menu li a {
  color: white;
  text-decoration: none;
  padding: 4px 10px;
  display: block;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
}

.service-menu li a.active {
  color: var(--primary-color);
  text-decoration: none;
  padding: 4px 10px;
  display: block;
  background-color: #fff;
  border-radius: 4px;
}








body.layout-b{

  .component-container{ 
    padding-bottom: 0;
  }

  .main-content{
  max-width: none;
  padding: 0;
  .inner-container{
    width: 100%;
  }
}



.com-content-category-blog__items{
display: flex;
flex-direction: column;
gap: 0;
margin: 0;
max-width: none;


  .blog-item{
    padding: 0;
    display: flex;
    min-height: 500px;
    background: #fff;



    .image-container{
      flex: 0 1 50%;
      position: relative;
      & figure{
        height: 100%;
        & a{
        display: block;
        height: 100%;
          & img{
            position: absolute;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
          }
        }
      }


      & a.youtube-playicon{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        color: #fff;
        font-size: 6rem;
      }
    }

    .item-content{
      flex: 0 1 50%;
      padding: 0px 4rem;
      display: flex;
      align-items: center;
      .inner{
        & .page-header {
          margin-top: 0;
            & h3 {
              font-size: 1.6rem;
              font-weight: 700;
              text-wrap: balance;
              line-height: 1.4;
                & a {
                    display: block;
                    margin: 0px;
                }}}
      }
    }



  }


  .blog-item:nth-child(even){
    & div.item-content {
      order: -1;
    }
  }


  .blog-item:nth-child(even){
    background-color: var(--primary-color);
    color: #fff;

    & div.item-content {
      & .page-header {
        margin-top: 0;
          & h3 {
            font-size: 1.6rem;
            font-weight: 700;
            text-wrap: balance;
            line-height: 1.4;
              & a {
                  display: block;
                  margin: 0px;
                  color: #fff;
              }}}

      .sottotitolo
      {
      font-size: 1.1rem;
      color: #fff;
      }

      .riassunto
      {
        color: #fff;
      }
            
      .mainBtn {
        background-color: #fff;
        color: var(--primary-color);
      }

      .mainBtn.small:after, .btn-primary.small:after{
        top: 0;
      }
    }

  }






  @media (max-width: 979px) {

    .blog-item{
    flex-direction: column;
    padding: 4rem 2rem;
    & > *{
      flex: 1 1 auto!important;
    }

    .image-container{
      height: 300px;
      & figure{

      }
    }

    .item-content{
      padding: 0rem 0 2rem;
      order: -1!important;
    }

  }
}




}
}














.articles_module{
  & > h2{
    font-size: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: block;
    text-wrap: balance;
  }
}


.moduletable:has(.grid-article-module){
  container-type: inline-size;
  container-name: grid-article-container;
}




.grid-article-module{
  display: grid;
  gap: 60px;

  .image-container {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;

    & figure {
      height: 100%;
      width: 100%;
      margin: 0;

      & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
      }
    }

    .info-article {
      display: flex;
      gap: 0px;
      margin: 0;
      background-color: #efefef;
      border-radius: 0px;
      width: 100%;

      & dt, 
      & dd.mod-articles-writtenby  
      {
        display: none;
      }

      & dd {
                
      margin: 0px;
      font-size: 0.8rem;
      line-height: 1.2;
      padding: 5px 10px;
      display: flex;
      align-items: center;
                

        & span.icon-folder-open,
        & span.icon-calendar {
          display: none;
        }

      }

      & dd.hits {
        padding: 5px 10px;
        background-color: #efefef;
        margin: 0 0 0 auto;
        align-items: center;
        line-height: 1;

        & span{
          margin-right: 3px;
        }
    }

      & dd.mod-articles-category {
        background-color: var(--primary-color);

        &:hover {
          background-color: color-mix(in srgb, var(--primary-color), #000 30%);
          transition: background-color 0.2s linear;
        }

        & a {
          font-size: 0.8rem;
          line-height: 1.2;
          color: #fff;

        }
      }


      & dd.mod-articles-date {
        background-color: var(--secondary-color);
        color: #fff;
      }

      & dd.mod-articles-hits {
        padding: 10px 10px;
      }

    }

    .social-links {
      display: flex;
      position: absolute;
      top: 10px;
      right: 10px;
      z-index: 100;
      padding: 5px;
      gap: 5px;
      margin: 0;
      padding: 0;

      & li {
        margin: 0;
        padding: 0;
        position: relative;

        & a {
          background-color: #fff;
          width: 26px;
          height: 26px;
          border-radius: 100%;
          display: flex;
          justify-content: center;
          align-items: center;
          font-size: 1.1rem;
          position: relative;
          isolation: isolate;

          & span {
            position: absolute;
            color: var(--secondary-color);
            background-color: #fff;
            top: 100%;
            right: 0%;
            transform: translateY(10px);
            white-space: nowrap;
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: -0.5px;
            padding: 0px 5px;
            margin: 0;
            border-radius: 2px;
            pointer-events: none;
            opacity: 1;
          }
        }

        & p {
          position: absolute;
          background-color: var(--secondary-color);
          color: #fff;
          top: 50%;
          right: 100%;
          transform: translate(10px, -50%);
          white-space: nowrap;
          font-size: 0.9rem;
          font-weight: 600;
          letter-spacing: -0.5px;
          padding: 0px 15px 0px 5px;
          margin: 0;
          border-radius: 2px;
          pointer-events: none;
          opacity: 0;
          display: block;
          z-index: -1;
        }

        &:hover p {
          opacity: 1;
          pointer-events: all;
          transition: opacity 0.3s ease-in-out;
        }

        & a:has(.fa-telegram),
        & a:has(.fa-whatsapp) {
          font-size: 1.2rem;
        }


        &:hover {
          position: relative;
          z-index: 1;
        }

      }
    }


  }





    & h2{
      font-size: 1.1rem;
      line-height: 1.2;
      font-weight: 800;
      margin: 0;
      text-transform: uppercase;
      & a{
        display: block;
        margin: 20px 0 10px;
        font-size: 1rem;
        color: var(--primary-color);
        line-height: 1.2;
        font-weight: 700;
      }
    }


  .riassunto{
    font-size: 0.9rem;
    margin: 0 0 20px;

    & p{
      margin: 0;
      font-weight: 500;
      letter-spacing: -0.3px;
    }
  }

  & p.readmore {
    margin: 0;
}

  .buttons-ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 0;
    display: none;

    & li:has(.youtube-container)
    {
      display: none;
    }
    

    & a{
      padding: 10px 48px 10px 10px;
    }

    .mainBtn:after, .btn-primary:after{
      font-size: 1.4rem;
    }

    .mainBtn i{
      font-size: 1.2rem;
    }
  }

  
  .social-links {
    display: flex;
    gap: 5px;
    margin: 0 0 20px;
    padding: 0;
    justify-content: flex-end;
    align-items: center;
    isolation: isolate;
    position: relative;

    &:before{
      content: "";
      width: calc(100% - 160px);
      height: 1px;
      background-color: var(--grey-300);
      z-index: -1;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      left: 0;
    }

    & li:first-of-type{
      margin: 0 auto 0 0;
      background-color: #fff;
      padding: 0px 10px 0px 0px;
      & span{
        text-transform: uppercase;
        font-size: 0.8rem;
        color: var(--grey-600);
      }
    }

    & li {
      margin: 0;
      padding: 0;
      position: relative;

      & a {
        background-color: var(--primary-color);
        color: #fff;
        width: 26px;
        height: 26px;
        border-radius: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1rem;
        position: relative;
        isolation: isolate;

        & span {
          position: absolute;
          background-color: var(--primary-color);
          color: #fff;
          bottom: 100%;
          right: 0%;
          transform: translateY(-5px);
          white-space: nowrap;
          font-size: 0.9rem;
          font-weight: 600;
          letter-spacing: -0.5px;
          padding: 0px 5px;
          margin: 0;
          border-radius: 2px;
          pointer-events: none;
          opacity: 1;
        }
      }

      & p {
        position: absolute;
        background-color: var(--secondary-color);
        color: #fff;
        top: 50%;
        right: 100%;
        transform: translate(10px, -50%);
        white-space: nowrap;
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: -0.5px;
        padding: 0px 15px 0px 10px;
        margin: 0;
        border-radius: 2px;
        pointer-events: none;
        opacity: 0;
        display: block;
        z-index: -1;
      }

      &:hover p {
        opacity: 1;
        pointer-events: all;
        transition: opacity 0.3s ease-in-out;
      }

      & a:has(.fa-telegram),
      & a:has(.fa-whatsapp) {
        font-size: 1rem;
      }


      &:hover {
        position: relative;
        z-index: 1;
      }

    }
  }
}

















.list-article-module{
display: flex;
flex-direction: column;
  gap: 30px;

  .blog-item{
    display: flex;
    gap: 10px;

  .image-container {
    flex: 0 0 auto;
    width: 70px;
    height: 100%;
    display: block;
    position: relative;
    overflow: hidden;

    & figure {
      height: 100%;
      width: 100%;
      margin: 0;

      & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
      }
    }





  }



.item-content{

    & h2{
      margin: 0;
      & a{
        display: block;
        margin: 0px;
        font-size: 0.9rem;
        color: var(--primary-color);
        line-height: 1.2;
        font-weight: 700;
      }
    }

    .info-article {
      display: flex;
      gap: 10px;
      margin: 0;
      border-radius: 0px;
      width: 100%;

      & dt, 
      & dd.mod-articles-writtenby  
      {
        display: none;
      }

      & dd {
                
      margin: 0px;
      font-size: 0.9rem;
      line-height: 1;
      padding: 0px;
      display: flex;
      align-items: center;
                

        & span.icon-folder-open,
        & span.icon-calendar {
          display: none;
        }

      }

      & dd.hits {
        padding: 5px 10px;
        margin: 0 0 0 auto;
        align-items: center;
        line-height: 1;
        color: var(--grey-600);

        & span{
          margin-right: 3px;
        }
    }

      & dd.mod-articles-category {

        & a {
          font-size: 0.9rem;
          line-height: 1;
          color: var(--secondary-color);

        }
      }


      & dd.mod-articles-date {
        color: var(--grey-600);
      }



    }




}


.riassunto{
  font-size: 0.8rem;
  margin: 0 0 20px;
  display: none;

  & p{
    margin: 0;
    font-weight: 500;
    letter-spacing: -0.3px;
  }
}

& p.readmore {
  margin: 0;
}

.buttons-ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 0;
  display: none;

  & li:has(.youtube-container)
  {
    display: none;
  }
  

  & a{
    padding: 10px 48px 10px 10px;
  }

  .mainBtn:after, .btn-primary:after{
    font-size: 1.4rem;
  }

  .mainBtn i{
    font-size: 1.2rem;
  }
}

.social-links {
  display: flex;
  gap: 5px;
  margin: 0 0 20px;
  padding: 0;
  justify-content: flex-end;
  align-items: center;
  isolation: isolate;
  position: relative;
  display: none;

  &:before{
    content: "";
    width: calc(100% - 160px);
    height: 1px;
    background-color: var(--grey-300);
    z-index: -1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
  }

  & li:first-of-type{
    margin: 0 auto 0 0;
    background-color: #fff;
    padding: 0px 10px 0px 0px;
    & span{
      text-transform: uppercase;
      font-size: 0.8rem;
      color: var(--grey-600);
    }
  }

  & li {
    margin: 0;
    padding: 0;
    position: relative;

    & a {
      background-color: var(--primary-color);
      color: #fff;
      width: 26px;
      height: 26px;
      border-radius: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 0.6rem;
      position: relative;
      isolation: isolate;

      & span {
        position: absolute;
        background-color: var(--primary-color);
        color: #fff;
        bottom: 100%;
        right: 0%;
        transform: translateY(-5px);
        white-space: nowrap;
        font-size: 0.9rem;
        font-weight: 600;
        letter-spacing: -0.5px;
        padding: 0px 5px;
        margin: 0;
        border-radius: 2px;
        pointer-events: none;
        opacity: 1;
      }
    }

    & p {
      position: absolute;
      background-color: var(--secondary-color);
      color: #fff;
      top: 50%;
      right: 100%;
      transform: translate(10px, -50%);
      white-space: nowrap;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: -0.5px;
      padding: 0px 15px 0px 10px;
      margin: 0;
      border-radius: 2px;
      pointer-events: none;
      opacity: 0;
      display: block;
      z-index: -1;
    }

    &:hover p {
      opacity: 1;
      pointer-events: all;
      transition: opacity 0.3s ease-in-out;
    }

    & a:has(.fa-telegram),
    & a:has(.fa-whatsapp) {
      font-size: 1rem;
    }


    &:hover {
      position: relative;
      z-index: 1;
    }

  }
}


}
}



.service_related .list-article-module{
  gap: 1rem;

  & article.blog-item a{
    position: relative;
    display: flex;
    align-items: center;

    &:before{
      flex: 0 0 auto;
      font-family: "FontAwesome";
      content: "\f105";
      background-color: var(--grey-300);
      width: 25px;
      height: 25px;
      border-radius: 9999px;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 10px;
    }

    &:hover,
    &:focus-within{
      /* color: var(--secondary-color); */
      &:before{
      background-color: var(--primary-color);
      color: #fff;
      }
    }
  }
}













body.view-article .news-page {



	& section.hero-news {
		width: 100%;
		position: relative;
		display: flex;
    align-items: center;
		padding: 6rem 0 3rem;
    isolation: isolate;

    .inner-content{
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 0px 2rem;
      max-width: 1360px;
      margin: 0 auto;
      gap: 8rem;
      width: 100%;

      @media (max-width: 979px) {
        gap: 6rem;
      }


      .info-article{
          display: flex;
          align-items: center;
          flex-wrap: wrap;


          @media (max-width: 979px) {
            flex-direction: column;
            gap: 1.6rem;
            align-items: flex-start;
          }







          .tools-article{
            flex: 1 1 auto;
            display: flex;
            align-items: center;
            gap: 40px;

            @media (max-width: 979px) {
              flex-direction: column;
              gap: 1.6rem;
              align-items: flex-start;
            }

          & dt{display: none;}
          & dd.createdby{display: none;}

          .categories{
            display: flex;
            text-align: left;
            flex-wrap: wrap;
            gap: 0 10px;
            & p{
              margin: 0;
            }

            & a{
            color: #fff;
            }

            .parent-category{
              position: relative;
            }
            .parent-category:after{
              font-family: "FontAwesome";
              content: '\f105';
              margin-left: 10px;
             color: #fff;
            }
          }

          & > .published{
            display: none !important;
          }

          & > *{
            flex: 0 1 auto;
            display: flex;
            position: relative;
            text-align: center;
            gap: 15px;
            font-weight: 600;
            font-size: 0.9rem;
            align-items: center;
            color: #fff;

            .title{
              order: -1;
              margin: 0;
              padding: 0;
              background-color: #fff;
              color: var(--primary-color);
              white-space: nowrap;
              font-size: 0.8rem;
              font-weight: 600;
              letter-spacing: -0.5px;
              padding: 2px 10px;
              margin: 0;
              border-radius: 2px 0px 0px 2px;
              pointer-events: none;
              display: block;
              position: relative;
              letter-spacing: 0;
              text-transform: uppercase;

              &:after{
                  content: '';
                  position: absolute;
                  display: block;
                  right: -9px;
                  top: 0;
                  bottom: 0;
                  width: 10px;
                  height: 100%;
                  background: #fff;
                  -webkit-clip-path: polygon(0% 0%, 100% 50%, 0 100%);
                  clip-path: polygon(0% 0%, 100% 50%, 0 100%);
              
              }
            }

            &:hover p{
              opacity: 1;
              pointer-events: all;
              transition: opacity 0.3s ease-in-out;
            }


          }

          .parent-category-name{

          }
        
      }



      .social-links {
        display: flex;
        flex: 0 0 300px;
        gap: 5px;
        margin: 0px;
        padding: 0;
        justify-content: flex-end;
        align-items: center;
        isolation: isolate;
        position: relative;
        flex-wrap: wrap;

        @media (max-width: 979px) {
        flex: 1 1 auto;
        order: -1;
        }

        & li:first-of-type{
          margin: 0 10px 0 0;
          font-weight: 700;
          padding: 0px 0px 0px 0px;


          & span{
            text-transform: uppercase;
            font-size: 0.8rem;
            color: #fff;
          }
        }

        & li {
          margin: 0;
          padding: 0;
          position: relative;

          & a {
            background-color: #fff;
            color: var(--primary-color);
            width: 26px;
            height: 26px;
            border-radius: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            isolation: isolate;

            &:hover{
              background-color: var(--primary-color);
              color: #fff;
            }

            & span {
              position: absolute;
              background-color: var(--primary-color);
              color: #fff;
              bottom: 100%;
              right: 0%;
              transform: translateY(-5px);
              white-space: nowrap;
              font-size: 0.8rem;
              font-weight: 600;
              letter-spacing: -0.5px;
              padding: 0px 5px;
              margin: 0;
              border-radius: 2px;
              pointer-events: none;
              opacity: 1;
            }
          }

          & p {
            position: absolute;
            background-color: var(--secondary-color);
            color: #fff;
            top: 50%;
            right: 100%;
            transform: translate(10px, -50%);
            white-space: nowrap;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: -0.5px;
            padding: 0px 15px 0px 10px;
            margin: 0;
            border-radius: 2px;
            pointer-events: none;
            opacity: 0;
            display: block;
            z-index: -1;
          }

          &:hover p {
            opacity: 1;
            pointer-events: all;
            transition: opacity 0.3s ease-in-out;
          }

          & a:has(.fa-telegram),
          & a:has(.fa-whatsapp) {
            font-size: 1rem;
          }


          &:hover {
            position: relative;
            z-index: 1;
          }

        }
      }









      }


    & h1{
      font-size: 2.4rem;
      line-height: 1.2;
      font-weight: 900;
      text-wrap: balance;
      margin: 0;
      color: #fff;
    }

		& img {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			object-fit: cover;
			object-position: right center;
      z-index: -3;
		}

		&:after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(14, 31, 39, 1) 100%);
      z-index: 2;
      transition: background 0.3s ease-in-out;
      z-index: -2;
		}


		&:before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: -1;
		}




		& h2 {
			font-weight: 300;
			text-transform: uppercase;
			font-size: 1.6rem;
			line-height: 1;
			color: #fff;

      & a{
        color: #fff;
      }
		}

  }

	}


	& section.content-news {
    display: flex;
    justify-content: space-between;
    padding: 2.5rem 2rem 6rem;
    max-width: 1360px;
    margin: 0 auto;
    gap: 60px;
    

  @media (max-width: 1279px) {
    flex-direction: column;
   }

   &:has(.blog-aside){
      
    .main-content{
      flex: 1 1 auto;
    }
  
    @media (max-width: 1279px) {
      .inner-container{
        flex: 0 1 auto;
        max-width: none;
      }
     }
  
    .blog-aside{
      flex: 0 1 340px;
      padding: 2rem 0;
      display: flex;
      flex-direction: column;
      gap: 120px;
      min-width: 340px;

      @media (max-width: 979px) {
        flex: 1 1 auto;
        min-width: auto;
      }


      .aziendepartner{
        .partnerTitle{
          font-size: 1rem;
          text-align: center;
          text-transform: uppercase;
          letter-spacing: 1px;
          margin-bottom: 0px;
          padding-bottom: 20px;
          border-bottom: 1px solid #e0e0e0;
          display: block;
        }

        & ul.fields-container{
          display: grid;
          grid-template-columns: repeat(2, 1fr);
          & li{
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            & span:nth-of-type(1){
                & img{
                  width: 100%;
                }
            }

            & span:nth-of-type(2){
              & a{
            --animation-duration: 300ms;
            padding: 9px 36px 7px 10px;
            display: flex;
            align-items: center;
            max-width: max-content;
            color: #fff;
            letter-spacing: 0;
            position: relative;
            font-size: 0.7rem;
            line-height: 1;
            font-weight: 700;
            overflow: hidden;
            background: var(--primary-color);
            border: none;
            border-radius: 8px;
            text-transform: uppercase;


            &:after{
              font-family: "FontAwesome";
              content: '\f105';
              z-index: 1;
              height: 100%;
              width: 26px;
              background-color: rgba(0, 0, 0, 0.3);
              display: block;
              position: absolute;
              top: 0;
              right: 0;
              display: flex;
              justify-content: center;
              align-items: center;
              text-align: center;
              font-size: 1.2rem;
          }

              }
          }

          }
        }
      }

      .youtubevideo{
        .videoTitle{
          font-size: 1rem;
          text-align: center;
          text-transform: uppercase;
          letter-spacing: 1px;
          margin-bottom: 25px;
          padding-bottom: 20px;
          border-bottom: 1px solid #e0e0e0;
          display: block;
        }

        .nrf-widget.tf-video.youtube{
          box-shadow: 0px 0px 30px -20px #000;
        }
        .tf-video-embed-wrapper .tf-video-embed-overlay{
          background-size: contain;
          background-repeat: no-repeat;
        }
      }


      .content-links{
        & h2{
          font-size: 1rem;
          text-align: center;
          text-transform: uppercase;
          letter-spacing: 1px;
          margin-bottom: 25px;
          padding-bottom: 20px;
          border-bottom: 1px solid #e0e0e0;
          display: block;
        }
        & ul{
          display: flex;
          flex-direction: column;
          gap: 14px;
          & li{
            flex: 1 1 100%;
            & a{
              width: 100%;
              max-width: none;
            }
          }
        }
      }


    }
  
    }





    .main-content{

      .youtubevideo{
        width: 100%;
        display: block;
        clear: both;
        margin-bottom: 60px;

        & h2{
          display: none;
        }

        .tf-video{
          width: 100%;
          min-height: 400px;

          .tf-video-embed-wrapper .tf-video-embed-overlay{
            background-size: contain;
            background-repeat: no-repeat;
          }
        }
      }

      
      & > h1{
        font-size: 2.4rem;
        line-height: 1;
        font-weight: 900;
        letter-spacing: -1px;
        margin: 0;
        color: var(--secondary-color);
      }

      & > h2{
        font-size: 1.8rem;
        color: var(--secondary-color);
        line-height: 1.4;
        font-weight: 800;
        margin: 16px 0 16px;
      }

      & > h2.sottotitolo_header{
        margin-top: 0;
      }

      & p.riassunto{
        font-size: 1.2rem;
        margin: 0 0 30px;
        line-height: 2;
        font-weight: 700;
      }

      & div.image-separator{
        width: 100%;
        height: 2px;
        background-color: var(--primary-color);
        margin: 50px 0 60px;
      }

      & figure{
        margin-bottom: 30px;
      }

      .gallerianews{
        margin: 60px auto 80px;
        box-shadow: 0px 0px 30px -15px #000;
        padding: 10px;

        .swiper:not(.swiper.swiper-initialized)
        {
          display: none !important;
        }
      }


      .swiper.swiper-initialized{
        margin-bottom: 10px;
        padding-bottom: 0px;

        .swiper-slide{
          display: flex;
          align-items: center;
          max-height: 500px;
          overflow: hidden;
          & a{
            height: 100%;
            display: block;
            & img{
              width: 100%;
              height: 100%;
              object-fit: cover;
              object-position: center;
            }
          }
        }


        .swiper-button-next,
        .swiper-button-prev
        {
          background-color: var(--primary-color);

          &:hover{
            opacity: 0.9;
          }

          &:after{
            color: #fff;
          }
        }

      }



      .swiper.swiper-initialized.tf-slideshow-thumbs-wrapper{
        margin: 0px auto 0px;
        max-width: 100%;
        padding: 0px;
        isolation: isolate;
        position: relative;
        z-index: 100;

        .swiper-wrapper{
          position: relative;
          z-index: 2;
        }
      

        .swiper-slide{
          display: flex;
          align-items: center;
          max-height: 100px;
          width: 100px!important;
          overflow: hidden;
          opacity: 1;
          filter: grayscale(100%);
          padding: 0px;
          background-color: #fff;

            & img{
              width: 100%;
              height: 100%;
              object-fit: cover;
              object-position: center;
          }
        }

        .swiper-slide-thumb-active{
          position: relative;
          transition: all 300ms ease;
          filter: grayscale(0%);
          opacity: 1;
        }



        .swiper-button-next,
        .swiper-button-prev
        {
          top: 50%!important;
          bottom: auto!important;
          transform: translateY(-50%);
          background-color: #fff!important;
          width: 40px;
          height: 40px;
          opacity: 0.7;

          &:hover{
            opacity: 1;
          }

          &:after{
            color: var(--primary-color)!important;
          }
        }

        .swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
          opacity: 0;
          cursor: auto;
          pointer-events: none;
      }


      }

    }


	}



  @media (max-width: 979px) {

  
      & section.hero-news {
          .inner-content {
              & h1 {
                  font-size: 1.6rem;
                  line-height: 1.5;
              }
          }
      }

      & section.content-news {
         .main-content {

          & div.image-separator{
            margin: 2rem 0;
          }

          & ul + h3, & p + h3 {
            margin-top: 3rem;
        }

        & ul, & ol {
          margin: 0px 0px 2rem 20px;
      }

            & > h2.sottotitolo_header {
              line-height: 1.5;
              font-size: 1.2rem;
              text-wrap: unset;
            }

            & p.riassunto {
              font-size: 1.2rem;
              line-height: 1.5;
              text-wrap: unset;
          }

          .com-content-article__body{
            font-size: 1rem;
            line-height: 1.6;

            & h2 {
              font-size: 1.2rem;
              line-height: 1.3;
            }

            & h3, 
            & h4,
            & h5
            {
            font-size: 1.1rem;
            }

            & > p {
              margin-top: 0;
              font-size: 1rem;
              line-height: 1.6;
              font-weight: 500;
          }

          }

        }
     }

  }


}




































body.view-article .servizi-page {
	& section.hero-news {
		width: 100%;
		height: 200px;
		position: relative;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0px 0px 0 30px;
    isolation: isolate;

		& img {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			object-fit: cover;
			object-position: right center;
      z-index: -3;
		}

		&:after {
			background-color: var(--primary-color);
			opacity: 1;
			mix-blend-mode: multiply;
			mix-blend-mode: hard-light;
			position: absolute;
			top: 0;
			left: 0;
			content: "";
			width: 100%;
			height: 100%;
      z-index: -2;
		}


		&:before {
			background: url(../../../../../images/template/waves_overlay.svg);
      background-position: center right;
      background-size: contain;
      background-repeat: no-repeat;
      opacity: 0.2;
			position: absolute;
			top: 0;
			left: 0;
			content: "";
			width: 100%;
			height: 100%;
      z-index: -1;
		}



    

		&>*:not(img) {
			position: relative;
			z-index: 1;
			color: #fff;
		}


		& h2 {
			font-weight: 300;
			text-transform: uppercase;
			font-size: 1.6rem;
			line-height: 1;
			color: #fff;

      & a{
        color: #fff;
      }
		}

		& ol {
			list-style: none;
			padding: 0;
			background: rgb(0 0 0 / 0.3);
			border-radius: 20px 0 0 20px;

			& a {
				color: var(--primary-color);
			}

			.breadcrumb-item+.breadcrumb-item::before {
				color: #fff;
			}

			& li.float-start {
				margin-right: 5px;
			}

			& li.breadcrumb-item.active {
				color: rgba(255, 255, 255, 1);
			}

		}

	}


	& section.maindetails-news {

    .main-content{
      display: flex;
      justify-content: center;
      flex-direction: column;
      padding: 0px 30px;
      max-width: 1360px;
      margin: 0 auto;
      gap: 60px;
      
      
      @media (max-width: 1279px) {
       flex-direction: column;
      }
      
        &:has(.blog-aside){
      
        .inner-container{
          flex: 0 1 auto;
          max-width: 900px;
        }
      
        @media (max-width: 1279px) {
          .inner-container{
            flex: 0 1 auto;
            max-width: none;
          }
         }
      
        .blog-aside{
          flex: 1 1 auto;
          padding: 0px;
          display: flex;
          flex-direction: column;
          gap: 60px;
        }
      
        }
      

      
      
      }
	}
}






.com-content-article__body {

  font-size: 1.2rem;
  line-height: 2;

  & h2,
  & h3,
  & h4,
  & h5,
  & h6 {
    display: block;
    width: 100%;
    max-width: max-content;
  }

  & h2{
    font-size: 1.8rem;
    color: var(--secondary-color);
    line-height: 1.4;
    font-weight: 800;
    margin: 16px 0 16px;
    text-wrap: balance;
  }

  & h3{
    font-size: 1.3rem;
    line-height: 1.2;
    font-weight: 600;
    margin: 20px 0px 10px;
    background-color: var(--primary-color);
    color: #fff;
    max-width: max-content;
    padding: 10px 15px;
  }

  & h4{
    font-size: 1.3rem;
    line-height: 1.4;
    font-weight: 700;
    margin: 20px 0;
    color: var(--secondary-color);
    padding-left: 15px;
    position: relative;

    &:before{
      content: "";
      width: 4px;
      height: 100%;
      background-color: var(--grey-500);
      position: absolute;
      left: 0;
      top: 0;
    }
  }

  & h5{
    font-size: 1.3rem;
    line-height: 1.4;
    font-weight: 700;
    margin: 20px 0 10px;
  }

  & h6{
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 700;
    margin: 20px 0 10px;
  }

  & p{
    margin: 10px 0px 10px;
  }

  & > p{
    margin-top: 0;
    font-size: 1.2rem;
    line-height: 2;
    font-weight: 500;
  }



  & ul + h3,
  & p + h3
  {
    margin-top: 90px;
  }

  & ul + h4,
  & ul + h5,
  & ul + h6{
    margin-top: 40px;
  }

  & p + h4,
  & p + h5,
  & p + h6{
    margin-top: 40px;
  }

  & h3 + h4{
    margin-top: 40px;
  }


  & ul.brands-ul{
    display: grid;
    gap: 30px;
    margin: 30px 0px 60px;
    padding: 0;

    &.grid-3{
      grid-template-columns: repeat(3, 1fr);
    }

    & li{
      flex: 0 1 auto;
      list-style-type: none;
      text-align: center;
      border: 1px solid var(--grey-300);
      padding: 30px;
      & img{
        max-width: 150px;
      }

      & h4{
        font-size: 1.1rem;
        line-height: 1;
        font-weight: 700;
        margin-bottom: 5px;
      }

      & p{
        font-size: 0.9rem;
        margin: 0 auto;
        text-wrap: balance;
        line-height: 1.2;
      }
    }
  }

  & ul,
  & ol{
    margin: 0px 0px 60px 20px;

    & li{
      list-style-type: square;

      & ul,
      & ol
      {
        & li{
      list-style-type: circle;
        }
      }
    }

    & li:has(ul),
    & li:has(ol)
    {
      list-style-type: none;
    }

    & li::marker {
      color: var(--secondary-color);
    }
  }


  & ul{
    &:has(ol){
      margin-left: 0;
    }
    & li{
      & h3{}
      & h4{}
      & h5{}
  }
}

  & a{
    color: var(--primary-color);
    text-decoration: none;
  }

  & a:hover{
    color: var(--secondary-color);
    text-decoration: underline;
  }

  & img{
    max-width: 100%;
    height: auto;
  }


   & blockquote{
    margin: 20px 0px;

    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 600;
    background-color: #efefef;
    padding: 20px;
    position: relative;
    isolation: isolate;

    &:before {
      content: '“';
      z-index: -1;
      color: #fff;
      font-size: 8rem;
      line-height: 0;
      position: absolute;
      bottom: 20px;
      right: 20px;
      opacity: 1;
      font-family: 'Times New Roman', Times, serif;
    }


    & p {
      
      position: relative;
      font-style: italic;
      display: inline;
      margin: 0;
      quotes: "“" "”" "‘" "’";
      text-indent: -.5em;
      letter-spacing: -.47px;

      &:before {
        content: open-quote;
        }
    
        &:after {
        content: close-quote;
        }
  }

  & h6{
    margin: 10px 0 0px;
    font-size: 0.9rem;
    color: var(--grey-600);
    font-weight: 500;
  }



  }


  

}






























.serviziPage.layout-noimg{
  .blog-item{
    .image-container{
      display: none!important;
    }

    .page-header{
      margin: 0px 0 5px!important;
    }
  }
}

.serviziPage.logo-image{
  .blog-item{
    .info-article{
      display: none!important;
    }

    .image-container{
      & figure{
        height: auto !important;
        & img{
          width: auto !important;
          height: auto !important;
        }
      }
    }
  }
}


.serviziPage.no-share{
  .blog-item{
    .social-links{
      display: none!important;
    }
  }
}

.serviziPage.no-video{
  .blog-item{
    .buttons-ul li:has(.youtube-container){
      display: none!important;
    }
  }
}

.serviziPage.no-riassunto{
  .blog-item{
    .riassunto{
      display: none!important;
    }
  }
}

.serviziPage.no-subtitle{
  .inner-container{
    .subServicesTitle{
      display: none!important;
    }
  }
}

.serviziPage.no-subtitle{
  .inner-container{
    .subServicesTitle{
      display: none!important;
    }
  }
}

.serviziPage.no-readmore{
  & li:has(.readmore),
  p.readmore
  {
      display: none!important;
  }
}

.serviziPage.no-followservices{

}

