:root {
  --allred: #f04650;
  --allblue: #16315d;
  --allgreen: #d3dfbd;

  --lightgreen: #bdc89e;
  --textgreen: #678862;

  --greentext: #84a986;
}

html,
body {
  overflow-x: hidden;
}

.white-text {
  color: white !important;
}

.green strong,
.green b,
.green span {
  color: var(--greentext) !important;
}

.blue-text {
  color: var(--allblue) !important;
}

.article ul:not(.tabs__links):not(.slick-dots) li,
.section:not(.fp-auto-height) ul:not(.tabs__links):not(.slick-dots) li {
  color: var(--allblue);
}

.mobileonly {
  display: none;
}

div#testo-video .flex {
  column-gap: 60px;
}

/*
Slider animata
*/

.lightgreen img {
  width: 800px;
}

#headerslider h1,
#headerslider h1 span {
  transition: color 0.5s ease;
}

#headerslider.lightgreen {
  background-color: var(--lightgreen);
}

#headerslider.blue {
  background-color: var(--allblue);
}

#headerslider.green {
  background-color: #678862;
}

#headerslider.lightgreen h1 {
  color: var(--allblue);
}

#headerslider.lightgreen h1 span.color-text {
  color: var(--textgreen);
}

#headerslider.blue h1 {
  color: white;
}

#headerslider.blue h1 span.color-text {
  color: var(--lightgreen);
}

#headerslider.green h1 {
  color: var(--allblue);
}

#headerslider.green h1 span.color-text {
  color: var(--lightgreen);
}

#headerslider {
  margin-top: 50px;
  background-repeat: no-repeat;
  background-size: cover;
}

#headerslider .container {
  display: flex;
  align-items: center;
  column-gap: 50px;
  height: 90vh;
}

#headerslider .container .article {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 100%;
}

#headerslider p {
  font-size: 30px;
}

/*
HEADING
*/
h1 {
  font-size: 42px;
  font-weight: 600;
  font-family: "Avenir", sans-serif;
}

.h2-line h2::before,
.text--indent h2::before,
.h2-line .beta::before,
.text--indent .beta::before {
  height: 5px;
  background: var(--greentext);
  width: 6rem;
}

/*
Banner top
*/
#banner-top {
  background-color: var(--greentext);
  text-align: center;
  padding: 40px 20px;
}

#banner-top h3 {
  font-size: 25px;
  font-weight: 300;
  text-transform: uppercase;
  text-decoration: underline;
}

/*
Intro discover 
*/
#discover .flex {
  column-gap: 60px;
}

#discover p {
  font-size: 24px;
}

/*
PRODOTTI
*/

.prodotti p.prod-title {
  text-align: left;
  margin-bottom: 40px;
}

.prodotti > .flex__item {
  display: flex;
  flex-direction: column;
  align-content: flex-start;
  align-items: flex-start;
  justify-content: space-evenly;
  width: 20%;
}

.prodotti > .flex__item img:first-child {
  height: 210px;
  object-fit: contain;
  margin: 0;
  margin-bottom: 35px;
}

.prodotti p span {
  color: #84a986;
}

button.green-button {
  background-color: var(--greentext);
  padding: 8px 45px;
  border-radius: 15px;
  font-weight: 600;
  border: 0px;
  color: var(--allblue) !important;
  transition: background-color 0.3s;
}

button.green-button:hover {
  background-color: var(--greentext);
}

img.margin-bottom--small.logo-prodotti {
  margin-top: -45px;
  margin-left: 0;
  width: 70%;
}

/*
RECYCLABLE
*/

#recyclable {
  background-color: #f4f6f3;
  background-image: url("/wp-content/uploads/2024/04/recyclable_bg.png");
  background-position: center bottom;
  background-repeat: no-repeat;
}

#discover,
#video-row,
#testo-video {
  background-color: #f4f6f3;
  background-image: url("/wp-content/uploads/2025/03/bg-discover_1.webp");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

#experts {
  background-color: #f4f6f3;
  background-image: url("/wp-content/uploads/2025/03/bg-experts_1.webp");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

#recyclable .container--large {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  column-gap: 5%;
  flex-wrap: wrap;
  row-gap: 50px;
  margin-top: 80px;
}

#recyclable .grid__item {
  float: left;
  padding-left: 1.25rem;
  width: 30%;
}

#recyclable img {
  margin-left: -17px;
}

#recyclable h4 {
  margin-top: 30px;
  color: var(--greentext);
  font-size: 28px;
}

#recyclable p {
  color: var(--allblue);
}

/*
* SUSTAINABLE MATERIALS
*/

#reduce .spacing {
  padding-top: 0px;
}

#reduce .header {
  padding: 40px 80px;
}

#reduce .slick-track {
  background-color: #f0f0f0;
}

.greenline {
  background-color: var(--greentext);
  width: 3px;
  height: 100px;
}

#reduce #title {
  align-items: center;
  column-gap: 100px;
  margin-bottom: 50px;
  background-color: #8ba788;
  height: 90px;
}

#reduce .container.flex {
  flex-direction: row;
  align-items: center;
  column-gap: 30px;
}

#reduce #title img {
  bottom: 26px;
  width: 150px;
  text-align: left;
  margin: 0;
  position: relative;
}

#reduce h2::before {
  content: none;
}

#reduce .section {
  padding: 0;
}

#reduce .flex {
  position: relative;
}

#reduce .flex-list .flex {
  align-items: center;
}

#reduce {
  background-color: #f3f4f2;
}

#reduce {
  background-repeat: no-repeat !important;
  background-position: bottom right;
}

.list-line {
  position: relative;
  padding-left: 30px;
  list-style: none;
}

.list-line::before {
  content: "";
  position: absolute;
  left: 6px; /* posizione linea rispetto al bordo sinistro */
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--allblue); /* colore della linea */
}

.list-line li {
  position: relative;
  margin-bottom: 20px;
  padding-left: 10px;
}

.green-list li:before {
  background: var(--greentext) !important;
  width: 8px !important;
  height: 8px !important;
}

.list-line li:first-child:after {
  top: 12px;
}

.list-line li:last-child:after {
  height: 30px;
}

.article ul:not(.tabs__links):not(.slick-dots) li::before,
.section:not(.fp-auto-height) ul:not(.tabs__links):not(.slick-dots) li::before {
  background: var(--greentext) !important;
}

/*
* LIFE CYCLE ASESSMENT TOOL
*/

div#life-cycle {
  padding-bottom: 175px;
}

#life-cycle .two-thirds {
  background-image: url("/wp-content/uploads/2024/04/cloud.png");
  background-repeat: no-repeat;
  background-position-y: bottom;
}

#life-cycle .two-thirds img {
  width: 70%;
}

#life-cycle-mountains {
  margin-top: -320px;
  z-index: 1;
  position: relative;
}

/*
* 	CENTER OF EXCELLENCE 
*/

#center-excellence .spacing.article {
  background-image: url("/wp-content/uploads/2024/04/COE_bg.png");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: 40%;
}

/*
* 	INTEGRITAG
*/

#integritag .spacing.article {
  background-image: url("/wp-content/uploads/2024/04/integritag.png");
  background-repeat: no-repeat;
  background-position: center left;
  background-size: 40%;
}

/*
* 	ALL4GRAPHICS
*/

#all4graphics .spacing.article {
  background-image: url("/wp-content/uploads/2024/04/All4Graphics_bg.png");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: 40%;
}

/*
* 	STARDIRECT
*/
.MoreBox {
  scroll-margin: 50px;
}

.MoreBox .spacing.article {
  background-repeat: no-repeat;
  background-size: 30%;
}

#box-more-1 .spacing.article {
  background-image: url("/wp-content/uploads/2024/04/REDUCE-STARDIRECT.png");
  background-position: bottom right;
}

#box-more-2 .spacing.article {
  background-image: url("/wp-content/uploads/2024/04/STARWASH_bg.png");
  background-position: bottom right;
}

#box-more-3 .spacing.article {
  background-image: url("/wp-content/uploads/2024/04/STARFLOAT_bg.png");
  background-position: bottom right;
}

#box-more-4 .spacing.article {
  background-image: url("/wp-content/uploads/2024/04/STARSHINE_bg.png");
  background-position: bottom right;
}

#box-more-5 .spacing.article {
  background-image: url("/wp-content/uploads/2024/04/STARFLAKE_bg.png");
  background-position: bottom right;
}

#box-more-6 .spacing.article {
  background-image: url("/wp-content/uploads/2022/06/recyclable.png");
  background-position: bottom right;
}

#box-more-7 .spacing.article {
  background-image: url("/wp-content/uploads/2022/06/recyclable2.png");
  background-position: bottom right;
}

#box-more-8 .spacing.article {
  background-image: url("/wp-content/uploads/2024/04/stardouble_bg.png");
  background-position: bottom right;
}

#box-more-9 .spacing.article {
  background-image: url("/wp-content/uploads/2024/04/star360_bg.png");
  background-position: bottom right;
}

#box-more-10 .spacing.article {
  background-image: url("/wp-content/uploads/2024/04/startube_bg.png");
  background-position: bottom right;
}

#box-more-11 .spacing.article {
  background-image: url("/wp-content/uploads/2024/10/starpack_bg1135.jpg");
  background-position: bottom right;
}

.MoreBox img {
  width: 300px;
}

.more-info.flex {
  column-gap: 35px;
}

.MoreBox .list-line {
  max-width: 100%;
}

/*
*Slider
*/
.slick-track {
  height: 100%;
  display: flex;
  align-items: center;
  background-color: var(--allblue);
}
.list-white ul li {
  color: white !important;
}

div#application-list {
  column-gap: 20px;
}

.download-div {
  width: 30%;
}

.slick-slide img {
  max-height: 800px;
}

/*
* 	SEZIONE NASCOSTA
*/

.green-band-title .container {
  height: 100px;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  column-gap: 30px;
}

.green-band-title .container img {
  margin: 0 !important;
  width: 135px;
}

.green-band-title .container h2 {
  font-size: 3rem !important;
  margin-bottom: 0 !important;
}

/*TABLET*/
@media screen and (max-width: 910px) {
  #headerslider {
    min-height: auto;
    padding: 50px 40px !important;
  }

  #headerslider .one-half {
    width: 100% !important;
  }

  #headerslider .container {
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 0;
  }

  #headerslider .container .article {
    align-items: center;
    text-align: center;
    flex-direction: column;
  }

  #headerslider .grid__item {
    width: 100%;
  }

  #headerslider .grid__item img {
    margin: 0 auto !important;
  }

  div#img-header-slider {
    margin-top: 50px;
  }

  .slick-list {
    height: 100%;
  }

  #headerslider .fullheight {
    min-height: 100vh;
    padding: 0;
    align-items: flex-start !important;
    padding-top: 40px !important;
  }

  #headerslider .vertical-line {
    display: none;
  }

  #headerslider .h2-line h2::before,
  .text--indent h2::before,
  .h2-line .beta::before,
  .text--indent .beta::before {
    left: 46%;
  }

  #advantages .responsive-slick {
    padding: 0;
  }

  #advantages .header {
    width: 100%;
    margin: 0 !important;
    margin-top: -2px !important;
  }

  #advantages .header img {
    margin: 0 auto !important;
  }

  #advantages .spacing {
    padding-top: 0;
  }

  #advantages .bkblue .responsive-slick {
    padding: 0vh 6vh;
    background-color: #f0f0f0 !important;
  }

  #advantages .flex-list,
  #holographic-stamping-foil .application-slider-left,
  #holographic-stamping-foil .application-slider-right,
  #identity-card-protection .application-slider-left,
  #identity-card-protection .application-slider-right,
  #holographic-security-labels .application-slider-left,
  #holographic-security-labels .application-slider-right,
  #passport-protection .application-slider-right,
  #aes-advantages .application-slider-left,
  #aes-advantages .application-slider-right {
    background-image: none !important;
  }

  #advantages .two-thirds {
    width: 100%;
  }

  #advantages .flex__item {
    padding: 40px !important;
  }

  .solutiondiv img {
    margin: 0;
    width: 30%;
  }

  .solutiondiv {
    display: flex;

    justify-content: space-between;
    min-height: 300px;
    text-align: center;
    margin-bottom: 50px;
    flex-direction: column;
    align-items: center;
  }

  .technical-data-slider .one-half {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  #standard .grid__item {
    width: 100%;
  }

  #advantages .flex-list.alterned .flex div {
    flex-direction: column;
  }
}

/*MOBILE*/

@media screen and (max-width: 768px) {
  #headerslider .header-p,
  #banner-top .header-p,
  #icons p,
  #reduce p,
  #reduce li,
  #testo-foto1 p,
  #testo-foto2 p,
  #testo-foto3 p,
  #testo-video p,
  #testo-video h2,
  #solo-testo p,
  #solo-testo p,
  #solo-testo h2,
  .slick-track h2,
  .slick-track p {
    height: fit-content !important;
  }

  #reduce .container.flex {
    display: flex;
  }

  #discover p {
    font-size: 17px;
  }

  #testo-video #title {
    margin-top: 30px;
  }

  #headerslider h1 {
    font-size: 26px;
  }

  #headerslider .background.first {
    background-image: url(/wp-content/uploads/2024/04/banner_sfondo_mobile-1.png);
    background-position: right bottom;
  }

  #headerslider .rotating-background {
    display: none;
  }

  #headerslider p {
    font-size: 25px;
  }

  .mobileslider {
    display: block !important;
  }

  .solutiondiv {
    width: 100%;
    height: fit-content;
  }

  .solutiondesc {
    height: fit-content;
  }

  .grid__item div {
    padding: 0px !important;
    width: 100%;
    margin-top: 15px;
  }

  .big_p div:first-of-type {
    padding: 20px !important;
  }

  .big_p div {
    padding: 0px !important;
  }

  .custom-space .big_p div:first-of-type {
    padding: none !important;
  }

  .fullheight {
    min-height: auto;
    padding-bottom: 50px;
  }

  .titolo {
    top: 0px !important;
  }

  .spacing {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hide {
    display: none;
  }

  .space-up {
    padding-top: 3rem;
  }

  .space-down {
    padding-bottom: 3rem;
  }

  .md-image-offset {
    padding-top: 2.5rem;
    padding-right: 0rem;
  }

  .custom-space {
    padding: 3vh !important;
  }

  .slick-next {
    right: 20px;
  }

  .slick-prev {
    left: 20px;
  }

  #headerslider .container {
    flex-wrap: wrap;
  }

  .slick-list {
    height: 100%;
  }

  #headerslider {
    padding: 35px 20px !important;
    max-height: 90vh;
  }

  #headerslider .fullheight.slick-slide {
    min-height: 1000px;
    padding: 0;
    align-items: flex-start !important;
    padding-top: 40px !important;
  }

  #headerslider .fullheight.slick-slide {
    text-align: center;
  }

  .h2-line h2::before,
  .text--indent h2::before,
  .h2-line .beta::before,
  .text--indent .beta::before {
    left: 40%;
  }

  #headerslider .grid__item {
    padding: 0 !important;
  }

  #headerslider .grid__item .header-img {
    margin-top: 50px !important;
  }

  #recyclable .grid__item {
    width: 45%;
  }

  .green-band-title {
    margin-bottom: 30px;
    height: 60px;
  }

  .green-band-title .container {
    flex-direction: row !important;
    align-items: flex-start;
  }

  .green-band-title .container img {
    width: 85px;
  }

  .MoreBox div.flex,
  #reduce div.flex,
  #life-cycle div.flex,
  #center-excellence div.flex,
  #integritag div.flex,
  #all4graphics div.flex {
    flex-direction: column;
  }

  .MoreBox .container {
    padding-bottom: 100px;
  }

  .list-line {
    max-width: 100%;
  }

  #reduce .spacing.article,
  #center-excellence .spacing.article,
  #integritag .spacing.article,
  #all4graphics .spacing.article {
    background-position: right bottom;
    background-size: contain;
  }

  #reduce .spacing.article .one-third.md-one-whole.object-fit.relative.go-up {
    margin-top: 20px;
  }

  #life-cycle div.flex {
    flex-direction: column-reverse;
  }

  div#life-cycle {
    padding-bottom: 0;
  }

  #life-cycle-mountains {
    margin-top: -60px;
  }

  #life-cycle .two-thirds {
    background-size: contain;
  }

  #center-excellence div.flex {
    margin-bottom: 300px;
  }

  #integritag div.flex {
    margin-bottom: 300px;
  }

  #all4graphics div.flex {
    margin-bottom: 300px;
  }

  .prodotti > .flex__item {
    width: 50%;
  }

  #reduce #title {
    height: 70px;
  }

  #reduce #title img {
    bottom: 16px;
    width: 100px;
  }
  #reduce .titolo-custom {
    font-size: 30px;
    margin-top: 12px;
  }
}

/*VIDEO*/
/* Container della griglia */
.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Wrapper per il video per mantenerlo responsive (16:9) */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* rapporto 16:9 */
  height: 0;
  border-radius: 5px;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#video-row .flex {
  column-gap: 60px;
}

/* Media query per dispositivi mobili */
@media (max-width: 768px) {
  .grid-container {
    gap: 20px;
    grid-template-columns: 1fr; /* Diventa 1 colonna */
  }

  .mobileonly {
    display: block;
  }
}

/*sezione 5 icone*/

/* Stili di base */
.feature-section {
  padding: 40px 0px;
  color: #333;
  line-height: 1.6;
}
.feature-section .intro {
  max-width: 800px;
  margin: 0 auto 40px;
}
.feature-section .intro h2 {
  font-size: 2em;
  margin-bottom: 10px;
}
.feature-section .intro p {
  font-size: 1em;
}

/* Layout colonne */
.feature-section .columns {
  margin: 60px -100px 40px -100px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}
.feature-section .column {
  flex: 1 1 calc(20% - 20px);
  background-color: #fff;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 8px;
}
.feature-section .column img {
  width: 64px;
  height: auto;
  margin-bottom: 15px;
}
.feature-section .column h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
}
.feature-section .column p {
  font-size: 0.95em;
}

.feature-section .column img {
  height: 155px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  padding: 10px 10px 40px 10px;
}

/* Responsive: da mobile mostrare le colonne una sotto l'altra */
@media (max-width: 480px) {
  .feature-section .column {
    flex: 1 1 100%;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .feature-section .column {
    flex: 1 1 calc(50% - 20px);
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .feature-section .column {
    flex: 1 1 calc(33.33% - 20px);
  }
}

/*Experts*/

.container-exp {
  display: flex;
  gap: 20px;
  padding: 20px;
  color: #16315d;
}
.column-exp.wide-exp {
  flex: 2;
  padding: 3.75rem 6.25rem;
}
.people {
  padding-right: 6.25rem;
}
.column-exp {
  flex: 1;
  padding: 20px;
  text-align: center;
}
.column-exp img {
  max-width: 250px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}
.column-exp p {
  margin: 10px 0;
}
.column-exp .button {
  background-color: #d2debd;
  color: #16315d;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 20px;
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .container-exp {
    flex-direction: column;
  }
}

#experts .flex {
  -webkit-display: flex;
  -ms-display: flex;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*MOBILE FIX*/
@media (max-width: 768px) {
  #headerslider {
    padding: 30px 20px !important;
    max-height: 100dvh;
    background: #16315d;
    opacity: 1;
  }

  .header-p {
    font-size: 20px;
    margin-top: 20px;
  }

  .flex {
    -webkit-display: block;
    -ms-display: block;
    display: block;
  }

  .feature-section .columns {
    margin: 40px 0;
  }

  .feature-section .column p {
    font-size: 1.2em;
  }

  .md-one-whole {
    margin-left: 0px !important;
  }

  .article ul:not(.tabs__links):not(.slick-dots),
  .section:not(.fp-auto-height) ul:not(.tabs__links):not(.slick-dots) {
    padding-right: 20px;
  }

  #reduce {
    padding-top: 0 !important;
    padding-bottom: 500px !important;
    background-size: contain;
  }

  #reduce .spacing.article {
    background-size: 50%;
  }

  .md-image-offset {
    padding-top: 0;
  }

  #experts .flex {
    -webkit-display: flex;
    -ms-display: flex;
    display: flex;
    flex-direction: column-reverse;
  }

  .column-exp.wide-exp {
    padding: 30px;
  }

  .people {
    padding-right: 0;
    flex-direction: column !important;
  }

  #experts {
    padding-bottom: 0px;
  }

  .video-title {
    font-size: 30px !important;
    font-weight: 800 !important;
    max-width: 100% !important;
    padding: 0px 0px 25px 0px !important;
  }

  .video-title br {
    display: none !important;
  }

  .big_p {
    font-size: 1.5em !important;
  }

  .h2-line h2::before,
  .text--indent h2::before,
  .h2-line .beta::before,
  .text--indent .beta::before {
    left: 0%;
  }

  #reduce img {
    margin: 0 !important;
  }

  .header-pic {
    padding-left: 0px !important;
  }

  #discover br {
    display: none !important;
  }

  #testo-foto1 .flex,
  #testo-foto2 .flex,
  #testo-video .flex,
  #testo-foto3 .flex {
    display: flex;
    flex-direction: column-reverse !important;
  }

  .greenline {
    height: 3px;
  }
}
