/* INDICE */


:root {
  --arancione: rgb(239, 91, 52);
  --arancione-chiaro: rgb(238, 127, 8);
  --blue: rgb(46, 116, 193);
  --green: rgb(48, 159, 57);
  --red: rgb(222, 27, 32);
}





/* CODICE EVITAMENTO SFINIMENTO E SCHIZZOFRENIA */

a {
  text-decoration: none;
}

p {
  line-height: 2;
  /* margin-block-end: 0em; */
}

img[height="NaN"] {
    height: auto !important; 
}


.full-width-bg {
    background-color: #EDEDED; 
    width: 100vw; 
    margin-left: calc(-50vw + 50%); 
    margin-right: calc(-50vw + 50%);
}

@media (min-width: 1078px) and (max-width: 1199px) {
  .full-width-bg {
    padding-right: 10.4rem;
    padding-left: 8rem;
    background-color: #EDEDED; 
    width: 100vw; 
    margin-left: calc(-50vw + 50%); 
    margin-right: calc(-50vw + 50%);
  }
}

@media (min-width: 745px) and (max-width: 1078px) {
  .full-width-bg {
    padding-right: 6.8rem;
    padding-left: 4.8rem;
    background-color: #EDEDED; 
    width: 100vw; 
    margin-left: calc(-50vw + 50%); 
    margin-right: calc(-50vw + 50%);
  }
}

.full-width-bc {
    background-color: #000; 
    width: 100vw; 
    margin-left: calc(-50vw + 50%); 
    margin-right: calc(-50vw + 50%);
}

/* .container {
    max-width: 100%;
} */

.blazy .media {
    display: none !important;
}

.splide__toggle {
  display: none;
}


/* @media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 100%;
    }
}

.container, .container-fluid, .container-xxl, .container-xl, .container-lg, .container-md, .container-sm {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: 0; 
    padding-left: 0;
    margin-right: auto;
    margin-left: auto;
}

.region-sidebar-first, .region-sidebar-second, .region-footer, .region-content {
    padding: 0;
} */

.img-fluid {
  max-width: 100vw;
}



/* VIDEO BACKGROUND */

/* .full-screen-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  flex-shrink: 0;
  overflow: hidden;
  background-color: #000;
}


.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

.video-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 1rem;
}

.hero-logo {
  width: 80%;
  max-width: 300px;
  height: auto;
}

header[role="banner"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 4;
}

/* NAVBAR */

.navbar-nav li.nav-item a {
  font-family: 'IBM Plex Sans';
  font-size: 0.95rem;
  letter-spacing: 0.05rem;
}

.navbar .dropdown-menu.nav-level-1 {
  border-left: 0 !important;
}

.nav-link, .media-library-view--widget .view-header a {
    /* display: block;
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x); */
    font-size: 0.95rem !important;
    /* font-weight: var(--bs-nav-link-font-weight);
    color: var(--bs-nav-link-color);
    text-decoration: none;
    background: none;
    border: 0; */
    letter-spacing: 0.05rem !important;
    /* transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out; */
}

.navbar-nav li.nav-item span {
  font-family: 'IBM Plex Sans';
  font-size: 0.95rem;
  letter-spacing: 0.05rem;
}

.navbar-nav li.nav-item a,
.navbar-nav li.nav-item.dropdown span {
  transition: all 0.3s ease;
}

.navbar-nav li.nav-item a:hover {
  background-color: #fff;
  color: #000 !important;
}

.navbar-nav li.nav-item.dropdown span:hover {
  background-color: #fff;
  color: #000 !important;
}

.navbar-collapse {
  display: flex;
  width: 100%;
  align-items: center;
  text-align: center;
}

.navbar-brand img {
    height: auto;
    margin: 0 1rem 0 0;
    width: 120px;
}

header .navbar .nav-link {
  color: #ffffff !important;
  font-weight: bold;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 2.5rem;
  height: 1.5em;
  vertical-align: middle;
  background-image: var(--bs-navbar-toggler-icon-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}



/* BANNER */

.hero-with-logo {
  position: relative;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-with-logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-logo-wrapper {
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: 220px;
  max-width: 90%;
}

.hero-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 0;
}

.hero-bg-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-bg-layer::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.inner-page-hero__subtitle {
  color: #fff;
  font-family: 'Helvetica Neue';
  font-size: 20px;
  font-weight: 400;
}

@media (max-width: 460px) {
  .inner-page-hero__subtitle {
    font-size: 15px;
  }
}


.banner-mih {
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.banner-mih .view-content img {
  /* width: 100vw; */
  height: auto;
  display: block;
}

.banner-mih .view-content {
  max-width: 100%;
  padding: 0;
  margin: 0;
  border: none;
}

@media (max-width: 768px) {
  .banner-mih .view-content img {
    height: 82vh;
    width: auto;
    object-fit: cover;
  }
}

.hero-with-logo .hero-logo {
  width: 200px !important;
  height: auto !important;
}


/* .banner-mih .banner-title,
.banner-mih .banner-body {
  padding: 20px;
  max-width: 800px; 
  margin: 0 auto; 
  text-align: center;
  justify-content: center;
  display: flex;
}

.banner-mih .banner-title h1 {
  font-family: 'Futura';
  font-size: 4rem;
  font-weight: 500;
  color: #373E48;
  text-transform: uppercase;
  padding-top: 6%;
}

.banner-mih .banner-body {
  font-family: 'Futura';
  font-size: 1.3rem;
  color: #495057;
  line-height: 1.6;
}

.banner-mih .view-content{
    max-width: 100%;
    padding: 0;
    border: none;
    margin: 0;
}

.banner-mih .media.media--blazy.media--splide.media--image.is-b-loading{
    min-height: 0;
}

.banner-mih button.splide__toggle.is-active {
    display: none;
}

@media (max-width: 768px) {
  .banner-mih .banner-image img {
    height: 100vh;
    width: auto;
    object-fit: cover; 
  }

  .banner-mih .banner-title h1 {
    font-family: 'Futura';
    font-size: 3rem;
    font-weight: 500;
    color: #373E48;
    text-transform: uppercase;
    padding-top: 6%;
  }
} */

.video-background {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.video-background video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
}



/* PAGINE STATICHE */


main[role="main"] {
  background-color: #FFFFFF;
  padding: 4rem 15px;
  padding-bottom: 0%;
}

article[data-history-node-id="35"] main[role="main"],
main[role="main"] article[data-history-node-id="35"] {
  padding-top: 0 !important;
}

/* @media (max-width: 1010px) {
  .home-first-section-mih-sfd {
    margin: 2rem;
  }
} */

/* .progetti-pagina-home .content-section {
  margin: 0 auto !important;
} */

/* @media (max-width: 1010px) {
  .progetti-pagina-home .content-section {
    margin: 2rem !important;
  }
} */

.content-section {
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  /* margin-bottom: 4rem; */
}

.content-section__title {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 5px 15px;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  letter-spacing: 2px;
  font-family: "IBM Plex Sans", sans-serif;
}

.content-section a {
  text-decoration: none;
  color: var(--arancione);
}

.content-section a:hover {
  text-decoration: underline;
}

.content-section__title-white {
  display: inline-block;
  background-color: #FFFFFF;
  color: #000;
  padding: 5px 15px;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  letter-spacing: 2px;
  font-family: "IBM Plex Sans", sans-serif;
}

.content-section__description {
  font-family: 'Helvetica Neue';
  font-size: 1.5rem;
  line-height: 2;
  color: #000;
  font-weight: 300;
  margin-bottom: 4rem;
}

.content-section__description-project {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  line-height: 2;
  color: #000;
  font-weight: 500;
  margin-bottom: 4rem;
}

.content-section__description-lasfidadelladig {
  font-family: Helvetica;
  font-weight: null;
  font-size: 18px;
  line-height: 2;
}


h1.page-title,
.tabs,
.breadcrumb {
  display: none;
}


/* CHI SIAMO */

.chi-siamo-page-chi-siamo {
    /* padding-top: 5rem; */
    margin: 0 auto;
    margin-bottom: 5rem;
    max-width: 1170px;
}

/* @media (max-width: 971px) {
  .chi-siamo-page-chi-siamo {
    margin: 1.5rem;
  }
} */

.made-in-heritage-description {
  font-family: 'Helvetica Neue';
  font-size: 1.4rem;
  line-height: 2;
  color: #000;
  font-weight: 300;
  margin-bottom: 6rem;
}

.highlighted-text {
    font-weight: bold;
    color: #000;  
}

.highlighted-text::after {
    content: " ";
}

.contact-pagina-chi-siamo {
  /* margin: 2rem; */
  margin-top: 5rem;
}


/* I NOSTRI PUNTI DI FORZA */

.inpdf-esperienza {
  max-width: 1170px;
  margin: 0 auto;
}

@media (min-width: 601px) and (max-width: 975px) {
  .inpdf-esperienza {
    margin: 4rem;
  }
}



/* progetti */

.projects-section-wrapper {
  /* background-color: #f3f4f6; */
  padding-top: 4rem; 
  padding-bottom: 4rem;
  position: relative;
  /* width: 100vw; */
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 1170px) {
  .projects-section-wrapper {
    /* margin: 1rem; */
    margin-bottom: 0;
  }
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .projects-section-wrapper {
    /* margin: 1rem; */
    padding-right: 4rem;
    padding-left: 2rem;
  }
}

@media (min-width: 1300px) and (max-width: 1400px) {
  .tecnologie-punt-forz-a {
    /* margin: 1rem; */
    padding-right: 30px !important;
    padding-left: 100px !important;
  }
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1170px;
  margin: 2rem auto 0 auto;
}

.project-layout-story-section,
.project-layout-people-section {
  background-color: #ececec;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* @media (min-width: 1200px) {
    .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .container-lg, .container-md, .container-sm, .container {
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .container-md, .container-sm, .container {
        max-width: 100%;
    }
}

@media (min-width: 576px) {
    .container-sm, .container {
        max-width: 100%;
    }
} */


@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 407px) {
  .content-section__title {
    display: inline-block;
    background-color: #000000;
    color: #FFFFFF;
    padding: 5px 15px;
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    font-family: "IBM Plex Sans", sans-serif;
  }
}


/* .project-card {
  padding: 1.5rem;
} */

.project-card__title {
  font-family: 'IBM Plex Sans';     
  display: flex;
  align-items: center;
  /* gap: 0.5rem; */
  margin-bottom: 1rem;
}


.project-card__title img {
  height: 20px;
  width: auto;
}


.project-card__title span {
  color: #FFFFFF;
  padding: 8px 20px;
  font-size: 1.3rem;
  font-weight: bold;
}

.project-card__subtitle {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.project-card__description {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 2;
  color: #000;
  margin-bottom: 1.5rem;
}

.project-card__link {
  text-decoration: none;
}

.project-card.story .project-card__link {
  color: var(--arancione);
}

.project-card.marketing .project-card__link {
  color: var(--green);
}

.project-card.people .project-card__link {
  color: var(--red);
}




.mih-text-logo {
  font-family: 'IBM Plex Sans';
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 2px 8px;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.3em;
}


.project-card.corporate .mih-text-textt {
  background-color: var(--blue);
  letter-spacing: 2px;
}

.project-card.story .mih-text-texttt {
  background-color: var(--arancione-chiaro);
  letter-spacing: 2px;
}

.project-card.marketing .mih-text-textttt {
  background-color: var(--green);
  letter-spacing: 2px;
}

.project-card.people .mih-text-texttttt {
  background-color: var(--red);
  letter-spacing: 2px;
}

/* scopri di più dark section */

.dark-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 4rem 15px;
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
}


.dark-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1170px;
  margin: 0 auto;
}


@media (min-width: 768px) {
  .dark-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .dark-section {
    text-align: center;
  }
}


@media (min-width: 1024px) {
  .dark-section__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


.dark-section__item-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.dark-section__item-description {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.dark-section__item-link {
  color: var(--arancione);
  font-weight: bold;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .dark-section__item-description {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 2rem;
  }
}

.project-layout-corporate-section .content-section {
  padding-top: 6%;
}

.project-layout-story-section .content-section {
  padding-top: 6%;
}

.project-layout-marketing-section .content-section {
  padding-top: 6%;
}

.project-layout-people-section .content-section {
  padding-top: 6%;
}

.project-layout-marketing-section .image-container-corporate-progetti img {
  width: 70%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}



@media (max-width: 639px) {
  .project-layout-corporate-section .layout__region--second {
    display: none;
  }

  .project-layout-corporate-section .content-section {
    margin-bottom: 0;
    margin-right: 2rem;
    padding-top: 15%;
  }
}

@media (max-width: 639px) {
  .project-layout-story-section .layout__region--first {
    display: none;
  }

  .project-layout-story-section .layout__region--second {
    padding-left: 2rem;
    margin-right: 2rem;
    padding-top: 15%;
  }

}

@media (max-width: 639px) {
  .project-layout-marketing-section .layout__region--second {
    display: none;
  }

  .project-layout-marketing-section .content-section {
    margin-bottom: 0;
    margin-right: 2rem;
    padding-top: 15%;
  }
}

@media (max-width: 639px) {
  .project-layout-people-section .layout__region--first {
    display: none;
  }

  .project-layout-people-section .layout__region--second {
    padding-left: 2rem;
    margin-right: 2rem;
    padding-top: 15%;
  }
}


/* newsletter email */


.newsletter-section {
  background-color: #f8f9fa;
  text-align: center;
  padding: 5rem 15px;
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
}

.newsletter-section__title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #212529;
  max-width: 500px;
  margin: 0 auto 2rem auto;
}

.newsletter-section__form {
  display: flex;
  justify-content: center;
  max-width: 450px;
  margin: 0 auto;
}

.newsletter-section__input {
  flex-grow: 1;
  font-size: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #ced4da;
  border-right: none;
  border-radius: 8px 0 0 8px;
}

.newsletter-section__input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--arancione);
  z-index: 2;
}

.newsletter-section__button {
  font-size: 1rem;
  font-weight: bold;
  padding: 0.9rem 1.5rem;
  border: 1px solid var(--arancione);
  background-color: var(--arancione);
  color: #FFFFFF;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease-in-out;
}

.newsletter-link {
  color: var(--arancione);
}

.newsletter-link:hover {
  color: var(--arancione-chiaro);
  text-decoration: underline;
}

/* .newsletter-section__button:hover {
  background-color: #f06b0b;
  border-color: #f06b0b;
} */

.region-footer {
  background-color: #000;
  color: #FFFFFF;
  padding: 4rem 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1170px;
  margin: 0 auto;
}

.footer-grid > .region-footer-main {
  display: contents;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

.footer-block__title,
.block-views h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  margin-bottom: 1.5rem;
  font-size: 1.4rem; 
}

.footer-block__links,
.block-views .view-content {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-block__links li,
.block-views .views-row {
  margin-bottom: 0.8rem;
}

.region-footer .footer-grid a,
.region-footer .footer-grid a:link,
.region-footer .footer-grid a:visited {
  font-family: 'Open sans';
  color: #7f7f7f; 
  text-decoration: none;
  font-weight: normal;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.region-footer .footer-grid a:hover {
  color: #FFFFFF; 
}

.region-footer .footer-block__see-all-link,
.region-footer .view-footer a {
  color: var(--arancione) !important;
  font-weight: bold !important;
  text-decoration: none !important;
  font-size: 0.95rem !important; 
}

/* .region-footer .footer-block__see-all-link:hover,
.region-footer .view-footer a:hover {
  text-decoration: underline !important;
} */

.block-footer-copyright-e-contatti {
  padding-top: 2.5rem;
  border-top: 1px solid #444444;
  margin-top: 2.5rem;
}

.sub-footer {
  padding-top: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 960px;
  margin: 0 auto;
  gap: 2rem;
}

.sub-footer__copyright {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.sub-footer__copyright-text {
  color: #a0a0a0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.sub-footer__copyright img {
  height: 40px;
  width: auto;
}

.sub-footer__links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

.sub-footer__links a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
}

.sub-footer__links a:hover {
  text-decoration: underline;
}


.sub-footer__links svg {
  width: 22px;
  fill: #fff;
  opacity: .9;
  transition: transform 0.25s cubic-bezier(.25,.46,.45,.94), opacity 0.2s ease;
}

.sub-footer__links svg:hover {
    transform: translateY(-4px);
    opacity: 1;
}

@media (min-width: 768px) {
  .sub-footer {
    flex-direction: row;
    align-items: center;
  }
  .sub-footer__copyright {
    flex-direction: row;
    text-align: left;
  }
  .sub-footer__links {
    justify-content: flex-end;
  }
}

@media (max-width: 767px) {
  .region-footer {
    background-color: #000;
    color: #FFFFFF;
    padding: 4rem 15px;
    text-align: center;
  }
}


@keyframes fadeIn-from-bottom {
  from {
    opacity: 0;
    transform: translateY(25px); 
  }
  to {
    opacity: 1;
    transform: translateY(0); 
  }
}

.inner-page-hero {
  background-size: cover;
  background-position: center center;
  position: relative;
  padding: 6rem 15px;
  min-height: 50vh; 
  display: flex;
  align-items: center;
}

.inner-page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  /* background-color: rgba(0, 0, 0, 0.6); */
}



.inner-page-hero__text {
  position: relative;
  width: 100%;
  max-width: 1170px; 
  margin-left: auto;  
  margin-right: auto;
  animation: fadeIn-from-bottom 1.2s ease-out forwards;
  text-align: left; 
}

.inner-page-hero__subtitle-text {
  color: #fff;
}


.inner-page-hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3rem, 7vw, 5rem); 
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.inner-page-hero__title span {
  color: #FFFFFF; 
  /* background-color: #000000;  */
  /* padding: 0px 15px; */
  display: inline-block;
  /* margin-bottom: 10px; */
}


.partners-grid {
  display: grid;
  grid-template-columns: 1fr; 
  gap: 3rem; 
  max-width: 1170px;
  margin: 2.5rem auto 0 auto; 
}

@media (min-width: 768px) {
  .partners-grid {
    grid-template-columns: 1fr 1fr;
  }
}


.partner-item {
  display: flex; 
  flex-direction: row;
  align-items: flex-start; 
  gap: 1.5rem; 
}

.partner-item__logo {
  flex-shrink: 0; 
  width: 120px;  
}

.partner-item__logo img {
  max-width: 100%; 
  height: auto;
}

.partner-item__description p {
  margin: 0; 
  font-size: 1rem;
  line-height: 2;
  color: #333333;
}


.webform-submission-form {
  max-width: 1170px;
  margin: 2rem auto 0 auto;
  padding-bottom: 1.7rem;
}


.webform-submission-form .webform-flexbox {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 1.5rem;
}


.webform-submission-form .form-item-il-tuo-messaggio,
.webform-submission-form .form-item-privacy,
.webform-submission-form .form-item-captcha {
  grid-column: 1 / -1; 
}


.webform-submission-form input[type="text"],
.webform-submission-form input[type="tel"],
.webform-submission-form input[type="email"],
.webform-submission-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #cccccc;
  border-radius: 0;
  font-size: 1rem;
}


.webform-submission-form .form-actions input[type="submit"] {
    display: inline-block;
    background-color: var(--arancione);
    color: #FFFFFF !important;
    padding: 0.5rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-decoration: none;
    /* text-transform: uppercase; */
    font-size: 0.8rem;
    /* margin-top: 2rem; */
    border: 2px solid var(--arancione);
    border-radius: 0;
    transition: all 0.2s ease-in-out;
}

label.option {
    display: inline;
    font-weight: normal;
    font-family: "IBM Plex Sans", sans-serif;
}

.webform-submission-form .form-actions input[type="submit"]:hover {
    background-color: #FFFFFF;
    color: #000000 !important;
}


@media (max-width: 768px) {

  .webform-submission-form .webform-flexbox {
    grid-template-columns: 1fr; 
  }

  .partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;  
    gap: 1rem;
    margin: 0 2rem;
    margin-bottom: 2rem;
    text-align: center;
  }

  .partner-item__logo {
    width: 160px; 
  }

}

@keyframes simple-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* PAGINA COSA FACCIAMO */

.cosa-facciamo-modello-ambiti {
    padding-top: 5rem;
    margin: 0 auto;
    max-width: 1170px;
    /* padding-bottom: 3rem; */
}

/* @media (max-width: 639px) {
  .cosa-facciamo-modello-ambiti {
    margin: 1.5rem;
  }
} */

@media (max-width: 639px) {
  .cosa-facciamo-modello-ambiti .layout__region--second {
    padding-left: 0;
  }
}

.cosa-facciamo-mih-page-cosa-facciamo {
  margin: 0 auto;
  /* padding-top: 5rem; */
}

/* @media (max-width: 971px) {
  .cosa-facciamo-mih-page-cosa-facciamo {
    margin: 1.5rem;
  }
} */

.inner-page-hero__text,
.cosa-facciamo-hero__content {
  position: relative;
  max-width: 1170px;
  margin: 0 auto;
  text-align: left;
  animation: simple-fade-in 1.2s ease-out 0.3s forwards;
  opacity: 0; 
}

@media (min-width: 992px) and (max-width: 1199px) {
    .inner-page-hero__text,
    .cosa-facciamo-hero__content {
        padding-left: 4rem;
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .inner-page-hero__text,
    .cosa-facciamo-hero__content {
        padding-left: 1.2rem;
    }
}


.inner-page-hero__title,
.cosa-facciamo-hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 7vw, 5rem); 
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

@media (max-width: 460px) {
  .inner-page-hero__title,
  .cosa-facciamo-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.4rem, 7vw, 5rem); 
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    /* margin-top: 7rem; */
    color: #FFFFFF;
  }
}

.hero-buttons-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cosa-facciamo-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-button {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
  padding: 0.8rem 1.5rem;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: all 0.2s ease-in-out;
}

@media (max-width: 460px) {
  .hero-button {
    font-size: 0.8rem;
  }
}

.hero-button:hover {
  background-color: transparent;
  color: #FFFFFF;
}

.section-headline {
  display: inline-block; 
  background-color: white;
  color: #000000;
  padding: 0.5rem 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
}

.ambiti-section__content {
  padding-top: 2.5rem; 
  max-width: 1170px; 
  margin: 0 auto; 
}

.ambiti-section__content h1 {
  font-family: 'IBM Plex Sans';
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-size: 1.2rem; 
  color: #212529; 
  letter-spacing: 0.05em; 
}

.ambiti-section__content h3 {
  font-family: 'IBM Plex Sans';
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-size: 1.2rem; 
  color: #212529; 
  letter-spacing: 0.05em; 
}

.ambiti-section__content p {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400; 
  font-size: 1.1rem;
  line-height: 2;
  color: #000; 
  margin-bottom: 1rem;
}

.challenge-grid {
  display: grid;
  grid-template-columns: 1fr; 
  gap: 2.5rem; 
  margin-top: 2.5rem; 
  text-align: left;
}

@media (min-width: 768px) {
  .challenge-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.challenge-grid ul {
  padding-left: 20px;
  margin-top: 1.5rem;
  font-weight: 100;
  font-size: 18px;
  font-family: Arial, Helvetica, sans-serif;
}

.challenge-grid ul li {
  /* margin-bottom: 1rem; */
}

.layout--twocol-section > .layout__region--first {
  padding-right: 2rem; 
  /* padding-top: 10%; */
}

.layout--twocol-section > .layout__region--second {
  /* padding-left: 2rem; */
  /* padding-top: 10%; */
}

@media (max-width: 767px) {
  .layout--twocol-section > .layout__region--first {
    padding-right: 0; 
    /* padding-bottom: 3rem;  */
  }
  .layout--twocol-section > .layout__region--second {
    /* padding-left: 2rem;  */
  }
}

.ambiti-section__content {
  padding-top: 0; 
  padding-bottom: 70px; 
}

.discover-button {
  display: inline-block; 
  background-color: var(--arancione);
  color: #FFFFFF !important;
  padding: 0.3rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  text-decoration: none; 
  /* text-transform: uppercase; */
  font-size: 0.8rem;
  /* margin-top: 2rem;  */
  border: 2px solid var(--arancione);
  transition: all 0.2s ease-in-out;
}

.discover-button-exc {
  display: inline-block; 
  background-color: var(--arancione);
  color: #FFFFFF !important;
  padding: 0.3rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  text-decoration: none; 
  /* text-transform: uppercase; */
  font-size: 0.8rem;
  margin-top: 1rem; 
  border: 2px solid var(--arancione);
  transition: all 0.2s ease-in-out;
}

.discover-button-exc:hover {
  background-color: #FFFFFF;
  color: #000000 !important;
}

.discover-button:hover {
  background-color: #FFFFFF;
  color: #000000 !important;
}

/* PAGINA PROGETTI SEZIONI */

.mih-corporate-logo-wrapper {
  display: flex; 
  align-items: center; 
  margin-bottom: 2rem;
}

.mih-corporate-logo-wrapper .mih-logo-black {
  background-color: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden; 
  text-overflow: ellipsis; 
}


.mih-corporate-logo-wrapper .mih-logo-corporate {
  background-color: #007bff; 
  color: #fff;
  padding: 0.5rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

.mih-corporate-link {
  display: inline-block; 
  margin-top: 1.5rem;
  color: #007bff; 
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.mih-corporate-link:hover {
  color: #000; 
}

.mih-corporate-pre-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1rem;
  color: #333; 
  margin-bottom: 0.5rem; 
}

.image-container-corporate-progetti img {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* @media (min-width: 1400px) {
  .image-container-corporate-progetti img {
    width: 80%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
} */

.image-container-corporate-progetti-special {
  position: relative;
}

.image-container-corporate-progetti-special img {
  width: 80%;
  height: auto;
  position: absolute;
  right: 0; 
  /* z-index: -1; */
  transform: scaleX(-1); 
}

@media (max-width: 767px) {
  .image-container-corporate-progetti img {
    display: none;
  }
  .image-container-corporate-progetti-special img {
    display: none;
  }
}

@media (max-width: 1440px) {
  .image-container-corporate-progetti-special img {
    top: 80px;
}
}
/* @media (min-width: 1200px) and (max-width: 1400px) {
  .image-container-corporate-progetti img {
    padding-top: 20%;
  }
} */

.image-background-block {
  background-size: cover;
  background-position: center center;
  min-height: 400px; 
  width: 100%;
}

.mih-story-link {
  display: inline-block; 
  margin-top: 1.5rem;
  color: var(--arancione); 
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.mih-story-logo-wrapper .mih-logo-story {
  background-color: var(--arancione); 
  color: #fff;
  padding: 0.5rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

.mih-story-link:hover {
  color: #000; 
}

.mih-story-pre-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1rem;
  color: #333; 
  margin-bottom: 0.5rem; 
}

.mih-story-logo-wrapper {
  display: flex; 
  align-items: center; 
  margin-bottom: 2rem;
}

.mih-story-logo-wrapper .mih-logo-black {
  background-color: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1; 
}


/* marketing css */

.mih-marketing-link {
  display: inline-block; 
  margin-top: 1.5rem;
  color: #309F39; 
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.mih-marketing-logo-wrapper .mih-logo-marketing {
  background-color: #309F39; 
  color: #fff;
  padding: 0.5rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

.mih-marketing-link:hover {
  color: #000; 
}

.mih-marketing-pre-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1rem;
  color: #333; 
  margin-bottom: 0.5rem; 
}

.mih-marketing-logo-wrapper {
  display: flex; 
  align-items: center; 
  margin-bottom: 2rem;
}

.mih-marketing-logo-wrapper .mih-logo-black {
  background-color: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden; 
  text-overflow: ellipsis; 
}


/* people css */

.mih-people-link {
  display: inline-block; 
  margin-top: 1.5rem;
  color: #DE1B20; 
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.mih-people-logo-wrapper .mih-logo-people {
  background-color: #DE1B20; 
  color: #fff;
  padding: 0.5rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

.mih-people-link:hover {
  color: #000; 
}

.mih-people-pre-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1rem;
  color: #333; 
  margin-bottom: 0.5rem; 
}

.mih-people-logo-wrapper {
  display: flex; 
  align-items: center; 
  margin-bottom: 2rem;
}

.mih-people-logo-wrapper .mih-logo-black {
  background-color: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1; 
}

/* levidigilab css */

.mih-levidigilab-link {
  display: inline-block; 
  margin-top: 1.5rem;
  color: #DE1B20; 
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.2s ease-in-out;
}

.mih-levidigilab-logo-wrapper .mih-logo-levidigilab {
  background-color: #DE1B20; 
  color: #fff;
  padding: 0.5rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap; 
}

.mih-levidigilab-link:hover {
  color: #000; 
}

.mih-levidigilab-pre-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1rem;
  color: #333; 
  margin-bottom: 0.5rem; 
}

.mih-levidigilab-logo-wrapper {
  display: flex; 
  align-items: center; 
  margin-bottom: 2rem;
}

.mih-levidigilab-logo-wrapper .mih-logo-black {
  background-color: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1; 
  white-space: nowrap; 
}

/* franco giacometti css */

.mih-francogiacometti-link {
  display: inline-block; 
  margin-top: 1.5rem;
  color: #DE1B20; 
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.2s ease-in-out;
}

.mih-francogiacometti-logo-wrapper .mih-logo-francogiacometti {
  background-color: #DE1B20; 
  color: #fff;
  padding: 0.5rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap; 
}

.mih-francogiacometti-link:hover {
  color: #000; 
}

.mih-francogiacometti-pre-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1rem;
  color: #333; 
  margin-bottom: 0.5rem; 
}

.mih-francogiacometti-logo-wrapper {
  display: flex; 
  align-items: center; 
  margin-bottom: 2rem;
}

.mih-francogiacometti-logo-wrapper .mih-logo-black {
  background-color: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1; 
  white-space: nowrap; 
}

/* heritage lab css */

.mih-heritagelab-link {
  display: inline-block; 
  margin-top: 1.5rem;
  color: #DE1B20; 
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.2s ease-in-out;
}

.mih-heritagelab-logo-wrapper .mih-logo-heritagelab {
  background-color: #DE1B20; 
  color: #fff;
  padding: 0.5rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap; 
}

.mih-heritagelab-link:hover {
  color: #000; 
}

.mih-heritagelab-pre-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1rem;
  color: #333; 
  margin-bottom: 0.5rem; 
}

.mih-heritagelab-logo-wrapper {
  display: flex; 
  align-items: center; 
  margin-bottom: 2rem;
}

.mih-heritagelab-logo-wrapper .mih-logo-black {
  background-color: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1; 
  white-space: nowrap; 
}

/* fondazione pirelli css */

.mih-pirelli-link {
  display: inline-block; 
  margin-top: 1.5rem;
  color: #DE1B20; 
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.2s ease-in-out;
}

.mih-pirelli-logo-wrapper .mih-logo-pirelli {
  background-color: #DE1B20; 
  color: #fff;
  padding: 0.5rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap; 
}

.mih-pirelli-link:hover {
  color: #000; 
}

.mih-pirelli-pre-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1rem;
  color: #333; 
  margin-bottom: 0.5rem; 
}

.mih-pirelli-logo-wrapper {
  display: flex; 
  align-items: center; 
  margin-bottom: 2rem;
}

.mih-pirelli-logo-wrapper .mih-logo-black {
  background-color: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1; 
  white-space: nowrap; 
}

/* eni css */

.mih-eni-link {
  display: inline-block; 
  margin-top: 1.5rem;
  color: #DE1B20; 
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.2s ease-in-out;
}

.mih-eni-logo-wrapper .mih-logo-eni {
  background-color: #DE1B20; 
  color: #fff;
  padding: 0.5rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap; 
}

.mih-eni-link:hover {
  color: #000; 
}

.mih-eni-pre-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1rem;
  color: #333; 
  margin-bottom: 0.5rem; 
}

.mih-eni-logo-wrapper {
  display: flex; 
  align-items: center; 
  margin-bottom: 2rem;
}

.mih-eni-logo-wrapper .mih-logo-black {
  background-color: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1; 
  white-space: nowrap; 
}

.uniform-image-container {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden; 
  display: block;
}

.uniform-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
}


/* PAGINA NEWS */

.view-content .views-view-responsive-grid.views-view-responsive-grid--horizontal {
  /* display: flex;
  flex-wrap: wrap;  */
  gap: 40px; 
  justify-content: center;
}

.views-view-responsive-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%; 
  max-width: 400px; 
  box-sizing: border-box;
  margin-bottom: 40px; 
}

.views-view-responsive-grid__item .views-field-field-immaginenews .field-content a img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.views-view-responsive-grid__item .views-field-field-categoria-news .field-content a {
  display: inline-block;
  padding: 4px 12px;
  background-color: #000;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  width: 100%;
  margin: 12px 0;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
  letter-spacing: 2px;
  font-size: 18px;
}

.views-view-responsive-grid__item 
  .views-field-revision-timestamp 
  .field-content time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #000;
    margin-top: 8px;
}

.views-view-responsive-grid__item 
  .views-field-revision-timestamp 
  .field-content time::before {
    content: "";
    width: 16px;
    height: 16px;
    display: inline-block;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='black' viewBox='0 0 24 24'%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.views-view-responsive-grid__item .views-field-title .field-content a {
  font-size: 19px;
  font-weight: 600;
  color: var(--arancione);
  text-decoration: none;
  margin-top: 12px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.views-view-responsive-grid__item .views-field-title .field-content a:hover {
  text-decoration: underline;
}

.views-view-responsive-grid__item .views-field-body .field-content {
  font-size: 14px;
  color: #555;
  margin-top: 18px;
  line-height: 1.5;
}

.views-view-responsive-grid__item .views-field-view-node .field-content a {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 0px;
  color: var(--arancione);
  /* text-transform: uppercase; */
  text-decoration: none;
  /* transition: background-color 0.3s ease; */
}

@media (min-width: 1200px) {
  .views-view-responsive-grid__item {
    flex: 0 0 20%; 
  }
}

@media (max-width: 1200px) and (min-width: 992px) {
  .views-view-responsive-grid__item {
    flex: 0 0 48%; 
  }
}

@media (max-width: 992px) and (min-width: 768px) {
  .views-view-responsive-grid__item {
    flex: 0 0 48%; 
  }
}

@media (max-width: 768px) and (min-width: 576px) {
  .views-view-responsive-grid__item {
    flex: 0 0 48%; 
  }
}

@media (max-width: 576px) {
  .views-view-responsive-grid__item {
    flex: 0 0 100%;
    /* margin-left: 2rem;
    margin-right: 2rem;  */
  }
}



/* PAGINA NEWS SINGOLA */

.node__content .field--name-field-immaginenews img.img-fluid {
  width: 100%;
  height: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 18px;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.node__content .field--name-field-subtitle {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-family: 'Montserrat', sans-serif;
}

.node__content .field--name-body {
  font-size: 1rem;
  line-height: 1.6;
  color: #000;
  /* margin-bottom: 20px; */
  font-weight: 500;
  font-family: 'Open Sans', sans-serif;
  margin: 2rem auto 0 auto;
  margin-top: 0;
  max-width: 1170px;
}

.node__content .form-item-privacy label a {
    color: var(--arancione) !important;
}

.node__content .field--name-field-categoria-news a {
  display: inline-block;
  padding: 8px 20px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.7rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-bottom: 3rem;
}

.node__content .field--name-field-categoria-news a {
  text-align: center;
  width: 100%;
  background-color: #000;
  color: #fff;
}

@media (max-width: 600px) {
  .node__content {
    /* padding: 20px 18px; */
    max-width: 100%;
  }
  .node__content .field--name-field-subtitle {
    font-size: 1.7rem;
  }
  .node__content .field--name-body {
    font-size: 0.95rem;
  }
  .node__content .field--name-field-categoria-news a {
    padding: 6px 16px;
    font-size: 0.8rem;
  }
}


/* PAGINA NEWS SINGOLA */

.node--type-newsletter .layout__region--first {
  padding-right: 30px; 
}

.node--type-newsletter .field--name-body .field-content {
  margin-bottom: 5rem;
}

.node--type-newsletter .field-content time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: #000;
  margin-top: 8px;
}

.node--type-newsletter .field-content time::before {
  content: "";
  width: 20px;
  height: 20px;
  display: inline-block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='black' viewBox='0 0 24 24'%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.node--type-newsletter .field--name-field-categoria-news {
    display: inline-block;
    background-color: #000000;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 20px;
    margin-bottom: 1.5rem;
}

.node--type-newsletter .field--name-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 2rem;
  font-weight: bold;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
  text-decoration: none;
  display: block; 
  width: 100%; 
  margin-left: auto; 
  margin-right: auto;
}

.node--type-newsletter .field--name-title h1 {
  text-align: center; 
  margin: 0; 
}

.node--type-newsletter .node__content .field--name-body p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1rem; 
  line-height: 1.6;  
  color: #333333;  
  font-weight: normal;  
  margin-bottom: 1rem;
  /* text-align: justify; */
  padding: 0; 
}

.node--type-newsletter .field-content p a {
  color: #f97116;
}

.node--type-newsletter .field--name-field-immaginenews img {
  width: 100%; 
  height: auto;
  margin-bottom: 1rem;
  display: block;
}

.node--type-newsletter .field--name-field-subtitle {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  /* text-align: center; */
}

@media (max-width:991px) {
  .node--type-newsletter .field--name-title {
    font-size: 2.5rem;
  }
  .node--type-newsletter .layout__region--first {
    padding-right: 0px; 
    margin-bottom: 3rem;
  }
}

.view-id-pagina_delle_news.view-display-id-block_2 .content-section__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.view-id-pagina_delle_news.view-display-id-block_2 .views-row {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
}

.view-id-pagina_delle_news.view-display-id-block_2 .views-field-field-immaginenews {
    margin-bottom: 1rem;
    border-radius: 0px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.view-id-pagina_delle_news.view-display-id-block_2 .views-field-field-immaginenews img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease; 
}

.view-id-pagina_delle_news.view-display-id-block_2 .views-row:hover .views-field-field-immaginenews img {
    transform: translateY(-5px); 
}

.view-id-pagina_delle_news.view-display-id-block_2 .views-field-revision-timestamp,
.view-id-pagina_delle_news.view-display-id-block_2 .views-field-field-categoria-news {
    display: inline-block; 
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.view-id-pagina_delle_news.view-display-id-block_2 .views-field-revision-timestamp {
    color: #888888;
    margin-right: 12px;
}

.view-id-pagina_delle_news.view-display-id-block_2 .views-field-field-categoria-news a {
    color: #000; 
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.view-id-pagina_delle_news.view-display-id-block_2 .views-field-field-categoria-news a:hover {
    opacity: 0.7;
}

.view-id-pagina_delle_news.view-display-id-block_2 .views-field-title .stile-news-titolo a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.3;
    color: #f97116;
    text-decoration: none;
    transition: color 0.2s ease;
}

.node--type-newsletter {
    max-width: 1170px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.node--type-newsletter-full .region-breadcrumb {
    max-width: 1170px !important;
    margin: 0 auto !important;
}

.node--type-newsletter .layout--twocol-section {
    width: 100% !important;
    margin: 0 auto !important;
}

@media (max-width: 1170px) {
    .node--type-newsletter {
        width: 100% !important;
        max-width: 100% !important;
    }
}

.view-filters {
  margin-bottom: 3rem;
}

.view-filters .form--inline {
  display: flex;
  flex-direction: row;
  align-items: flex-end; 
  gap: 15px; 
  max-width: 440px;
}

.view-filters .form-item-combine {
  flex-grow: 1;
  margin-bottom: 0;
}

.view-filters .form-item-combine label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 8px;
  display: block;
}

.view-filters input.form-text {
  width: 100%;
  height: 48px; 
  padding: 0 16px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #000000;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 0; 
  box-shadow: none; 
  transition: border-color 0.3s ease;
}

.view-filters input.form-text:focus {
  outline: none;
  border-color: #f97116; 
}

.view-filters input[id^="edit-submit"] {
  display: none !important;
}

.view-filters .form-actions {
  margin: 0;
  display: flex;
}

.view-filters input[name="reset"] {
  height: 48px; 
  padding: 0 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  background-color: #000000; 
  color: #ffffff;
  border: none;
  border-radius: 0; 
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-filters input[name="reset"]:hover {
  background-color: #f97116; 
}

@media (max-width: 576px) {
  .view-filters .form--inline {
    flex-direction: column;
    align-items: stretch;
  }
  
  .view-filters input[name="reset"] {
    width: 100%;
    margin-top: 15px;
  }
}

/* PAGINA PRIVACY POLICY */

.privacy-policy-content {
  margin: 7rem;
}

@media (max-width: 767px) {
  .privacy-policy-content {
    margin: 1.5rem;
  }
}

.privacy-policy-content h2 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
  text-align: center;
}

.privacy-policy-content h3 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 3rem; 
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #f3f4f6; 
  padding-bottom: 0.5rem;
}

.privacy-policy-content p {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 1.5rem;
}

.privacy-policy-content ul,
.privacy-policy-content ol {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333333;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.privacy-policy-content li {
  margin-bottom: 1rem;
}

.privacy-policy-content a {
  color: var(--arancione); 
  text-decoration: underline;
  font-weight: bold;
}

@media (max-width: 550px) {
  .privacy-policy-content h2 {
    font-size: 1.985rem; 
  }
}



/* PAGINA CONTATTACI */

.contact-map-wrapper {
  margin-top: 6rem;
}

.section-pag-contact-mih .content-section__title {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 5px 15px;
  font-size: 1.6rem;
  /* margin-top: 7rem; */
  margin-bottom: 2rem;
  letter-spacing: 2px;
  font-family: "IBM Plex Sans", sans-serif;
}

.contact-info-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  justify-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  text-align: left;
}

.contact-icon-circle {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon-circle svg {
  width: 24px;
  height: 24px;
  fill: #6b7280;
}

.contact-details h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: #000;
  letter-spacing: 0.05em;
}

.contact-details p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.contact-details a {
  color: var(--arancione);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-details a:hover {
  text-decoration: underline;
  color: #d65d0e;
}

@media (max-width: 768px) {
  .contact-info-wrapper {
    grid-template-columns: 1fr;
  }
}



/* body.path-contact form#contact-message-feedback-form.contact-message-feedback-form.contact-message-form.contact-form {
  padding: 2rem;
  max-width: 1100px;
  margin: 2rem auto;
  font-family: "Inter", "Segoe UI", sans-serif;
}

body.path-contact form#contact-message-feedback-form.contact-message-feedback-form.contact-message-form.contact-form label {
  display: block;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.4rem;
}

body.path-contact form#contact-message-feedback-form.contact-message-feedback-form.contact-message-form.contact-form input.form-text,
body.path-contact form#contact-message-feedback-form.contact-message-feedback-form.contact-message-form.contact-form textarea.form-textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.75rem;
  font-size: 1rem;
  color: #0f172a;
  background-color: #ffffff;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

body.path-contact form#contact-message-feedback-form.contact-message-feedback-form.contact-message-form.contact-form input.form-text:focus,
body.path-contact form#contact-message-feedback-form.contact-message-feedback-form.contact-message-form.contact-form textarea.form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  outline: none;
}

body.path-contact input.form-submit {
  background-color: var(--arancione);
  border: 1px solid var(--arancione);
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  border-radius: 0; 
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

body.path-contact input.form-submit:hover {
  background-color: #f06b0b;
  border-color: #f06b0b;
}

@media (max-width: 480px) {
  body.path-contact input.form-submit {
    font-size: 0.85rem;
    padding: 0.8rem 1rem;
    width: 100%;
    margin: 0.4rem 0;
    box-sizing: border-box;
  }
}

body.path-contact form#contact-message-feedback-form.contact-message-feedback-form.contact-message-form.contact-form label.option {
  margin-left: 0.25rem;
  font-weight: 500;
  color: #334155;
}

.form-check-input:checked {
  background-color: var(--arancione); 
  border-color: var(--arancione);   
}

.form-check-input:focus {
  border-color: var(--arancione);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(249, 115, 22, 0.25);
}

.form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(249, 115, 22, 0.25);
} */


/* PAGINA MEDIA */

.node--type-media .views-field-title .stile-news-titolo a {
    font-family: 'Open Sans', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    text-decoration: none;
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
}

@media (max-width: 991px) {
  .node--type-media .views-field-title .stile-news-titolo a {
    font-size: 1.8rem;
  }
}

.node--type-media .views-field-field-contesto .field-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.node--type-media .views-row {
    margin-bottom: 5rem;
}

.node--type-media .views-field-body .field-content h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.4rem;
    line-height: 1.6;
    color: #333333;
    font-weight: 400;
    margin-bottom: 1rem;
    text-align: justify;
    padding: 0;
}

.node--type-media .views-field-body .field-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333333;
    font-weight: normal;
    margin-bottom: 1rem;
    /* text-align: justify; */
    padding: 0;
}

.node--type-media .views-field-field-immagine-media img.img-fluid {
    width: 100%;
    height: auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 18px;
    object-fit: cover;
    transition: filter 0.3s ease;
}


.views-view-responsive-grid__item .views-field-field-immagine-media .field-content a img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.view-pagina-dei-media .views-field-body .field-content a,
.view-pagina-dei-media .views-field-body .field-content {
  font-size: 14px;
  color: #555;
  margin-top: 18px;
  line-height: 1.5;
}

.view-pagina-dei-media .views-field-field-contesto .field-content a,
.view-pagina-dei-media .views-field-field-contesto .field-content {
  padding-top: 1.5rem;
  font-size: 18px;
  color: #000;
  font-weight: bold;
  line-height: 1.5;
}

.view-pagina-dei-media .stile-scopri-di-piu a {
  display: inline-block;
  margin-top: 12px;
  /* padding: 8px 16px; */
  color: var(--arancione);
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.view-pagina-dei-media .views-field-title {
  margin-top: 1rem; 
}

.view-pagina-dei-media .stile-news-titolo a {
  font-size: 19px;
  font-weight: 600;
  color: var(--arancione);
  text-decoration: none;
  margin-top: 12px;
  line-height: 1.4;
  transition: color 0.3s ease;
}


/* PAGINA RESPONSABILITA SOCIALE E CULTURALE */

.responsibility-section-wrapper {
  padding: 5rem 15px; 
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  justify-content: center;
  display: grid;
}

.cultura-impresa-section .ambiti-section__content {
    padding-top: 70px;
    padding-bottom: 70px;
}

.responsibility-section-wrapper .responsibility-section__title {
    white-space: normal;
    font-size: 42px !important;
    line-height: 48px !important;
    text-transform: uppercase;
    font-weight: 700 !important;
    letter-spacing: 10px !important;
    margin-right: -10px !important;
}

@media (max-width: 640px) {
    .responsibility-section-wrapper .responsibility-section__title {
        font-size: 26px !important;
        line-height: 35px !important;
    }
}

.responsibility-section-wrapper .responsibility-section__intro {
  font-family: 'Open Sans';
  font-size: 1.2rem;
  color: #495057; 
  line-height: 1.7;
  max-width: 800px;
  /* margin: 0 auto 3rem auto;  */
}

.responsibility-section-wrapper .responsibility-section__tags {
  display: flex;
  /* justify-content: center; */
  flex-wrap: wrap; 
  gap: 1rem; 
}

.responsibility-section-wrapper .responsibility-section__tag {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 0.6rem 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid #000000;
  transition: all 0.2s ease-in-out;
}

.responsibility-section-wrapper .responsibility-section__tag:hover {
  background-color: transparent;
  color: #000000;
}

/* @media (max-width: 561px) {
  .responsibility-section-wrapper .responsibility-section__tags {
    flex-direction: column;
    align-items: center; 
  }

  .responsibility-section-wrapper .responsibility-section__tag {
    width: 90%; 
    max-width: 320px; 
  }
} */

.text-highlight {
  color: var(--arancione);
}

.drupal-layout-builder.custom-block.mega-super-ultra-combined-block {
  background-color: #ececec;
  padding: 80px 20px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  display: flex;
  justify-content: center;
  text-align: center;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.mega-super-ultra-inner-wrapper {
  max-width: 900px;
  text-align: center;
}

.mega-super-ultra-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #222;
  margin-bottom: 30px;
  text-transform: uppercase;
  text-align: left;
}

.mega-super-ultra-content {
  font-size: 18px;
  color: #444;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 25px;
}

.mega-super-ultra-quote-block {
  background-color: #111;
  color: #fff;
  padding: 30px 10px;
  margin-top: 50px;
  text-align: center;
}

.mega-super-ultra-quote-text {
  font-size: 18px;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 20px;
}

.mega-super-ultra-quote-source {
  font-size: 12px;
  color: #8b8b8a;
  letter-spacing: 0.3px;
}


.da-scopo-opzione .ambiti-section__content h3 {
  color: #fff;
}

.da-scopo-opzione .ambiti-section__content {
    padding-top: 70px;
    padding-bottom: 70px;
}

.two-column-resp-sost {
  background-color: #ececec;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.smoothblock-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px; 
  padding: 60px 5%;
  background-color: #ececec;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.smoothblock-column {
  flex: 1;
  padding: 40px 35px;
}

.smoothblock-column__content {
  text-align: left;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.smoothblock-column__text {
  font-size: 17px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 18px;
}

@media (max-width: 992px) {
  .smoothblock-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .smoothblock-column {
    width: 100%;
    padding: 30px 25px;
  }

  .smoothblock-column__title {
    font-size: 20px;
  }

  .smoothblock-column__text {
    font-size: 16px;
  }
}




/* PAGINA POST SOCIAL */

.views-view-responsive-grid__item .views-field-field-tipologia .field-content a {
  display: inline-block;
  padding: 4px 12px;
  background-color: #000;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  width: 100%;
  margin: 12px 0;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
  letter-spacing: 2px;
  font-size: 18px;
}

/* .post-social-page .views-view-responsive-grid__item .views-field-field-tipologia .field-content {
    display: inline-block;
    padding: 4px 12px;
    background-color: #000;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    width: 100%;
    margin: 12px 0;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    letter-spacing: 2px;
    font-size: 21px;
} */

.post-social-page .views-view-responsive-grid__item .views-field-field-data .field-content time {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 8px;
}

/* .view-content .views-view-responsive-grid.views-view-responsive-grid--horizontal {
  display: flex;
  flex-wrap: wrap; 
  gap: 40px; 
  justify-content: center;
} */


.post-social-page .views-view-responsive-grid__item .views-field-field-immagine-copertina .field-content a img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



/* COOKIE BANNER */

#sliding-popup .eu-cookie-compliance-banner {
  background-color: #000000;
  color: #ffffff;
  padding: 1.5rem;
  font-family: 'Futura';
  font-size: 0.9rem;
  line-height: 1.6;
}

#sliding-popup .eu-cookie-compliance-message {
  max-width: 900px;
  margin: 0 auto;
}

#sliding-popup p strong {
  text-transform: uppercase;
  font-size: 1.1rem;
}

#sliding-popup a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: bold;
}
#sliding-popup a:hover {
  text-decoration: none;
}

#sliding-popup .eu-cookie-compliance-buttons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

#sliding-popup #popup-buttons button {
  font-family: 'Futura';
  font-weight: bold;
  font-size: 0.8rem;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

#sliding-popup .agree-button {
  background-color: #535353; 
  color: #ffffff;
}
#sliding-popup .agree-button:hover {
  background-color: #535353;
  transform: translateY(-2px);
}

#sliding-popup .decline-button {
  background-color: transparent;
  color: #555;
  border: 2px solid #555;
}
#sliding-popup .decline-button:hover {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

@media (max-width: 768px) {
  #sliding-popup .eu-cookie-compliance-buttons {
   margin-top: 1.5rem;
   display: flex;
   justify-content: center;
   gap: 1rem;
   padding-top: 20px;
  }
}

.la-sfida-dgtz .projects-section-wrapper {
  padding-bottom: 0;
}

.tecnologie-punt-forz-a {
  padding-top: 2rem;
}

.node__content .field--name-body .iscralnwslettrhome {
  margin-top: 0;
}

.prgpagihome {
  margin-bottom: 0;
}

/* PAGINA POST SOCIAL SINGOLA */

.page-node-type-post-social .layout--twocol-section--67-33 .layout__region--first {
  padding-right: 30px;
  margin-bottom: 3rem; 
}

.page-node-type-post-social .node--type-post-social .field--name-field-immagine-copertina img {
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-node-type-post-social .node--type-post-social .field--name-field-tipologia {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 20px;
  margin-bottom: 1.5rem;
}

.page-node-type-post-social .node--type-post-social .field--name-field-data time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: #000;
    margin-top: 8px;
}

.page-node-type-post-social .node--type-post-social .field--name-field-data time::before {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='black' viewBox='0 0 24 24'%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.page-node-type-post-social .node--type-post-social .field--name-field-titolo-seo {
    font-family: 'Open Sans', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    text-decoration: none;
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.page-node-type-post-social .node--type-post-social .field--name-body {
  font-family: 'Inter', sans-serif;
  color: #222222;
}

.page-node-type-post-social .node--type-post-social .field--name-body p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333333;
    font-weight: normal;
    margin-bottom: 1rem;
    /* text-align: justify; */
    padding: 0; 
}

.page-node-type-post-social .node--type-post-social .field--name-body ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.page-node-type-post-social .node--type-post-social .field--name-body li {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.page-node-type-post-social .node--type-post-social .field--name-body a {
  color: var(--arancione-chiaro);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.page-node-type-post-social .node--type-post-social .field--name-body a:hover {
  color: #000000;
}

@media (max-width: 991px) {
  .page-node-type-post-social .layout--twocol-section--67-33 .layout__region--first {
    padding-right: 0px; 
    margin-bottom: 3rem; 
  }
}

.mih-label-row {
  display: inline-flex; 
  margin-bottom: 1rem; 
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  /* text-transform: uppercase; */
  font-size: 1.1rem;
  line-height: 1;
  color: #FFFFFF;
}

.mih-label-black {
  border-color: #fff;
  border: 1px solid;
  background-color: #000000;
  padding: 0.8rem 1.2rem;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.mih-label-color {
  text-align: center;
  padding: 0.8rem 1.2rem;
  min-width: 150px;
  margin-right: 1.5rem;
}

.mih-bg-blue { background-color: var(--blue); } 
.mih-bg-orange { background-color: var(--arancione-chiaro); }
.mih-bg-green { background-color: var(--green); } 
.mih-bg-red { background-color: var(--red); }   



/* SEZIONE ULTIME NOTIZIE HOME */

.iscralnwslettrhome .content-section__title {
    display: block;          
    width: fit-content;
    margin: 4rem auto 4rem auto;
    background-color: #000000;
    color: #FFFFFF;
    padding: 5px 15px;
    font-size: 3rem;
    letter-spacing: 2px;
    font-family: "IBM Plex Sans", sans-serif;
}

@media (max-width: 446px) {
  .iscralnwslettrhome .content-section__title {
    font-size: 2.3rem;
  }
}



/* PAGER PAGINATORE */

.pager {
  margin-top: 4rem;
  margin-bottom: 4rem;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.pager__items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 8px; 
  align-items: center;
  justify-content: center;
}

.pager__item {
  padding: 0;
  border: none;
  background: none;
}

.pager__item a,
.pager__item.is-active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  min-width: 45px;
  font-size: 1rem;
  font-weight: 700;   
  text-decoration: none;
  /* text-transform: uppercase; */
  color: #000000; 
  background-color: #FFFFFF;
  border-radius: 0;
  transition: all 0.2s ease-in-out;
}

.pager__item a:hover {
  background-color: var(--arancione);
  border-color: var(--arancione);
  color: #FFFFFF;
}

.pager__item.is-active {
  background-color: #000;
  border-color: #000;
  border-radius: 0px;
  color: #FFFFFF;
  cursor: default; 
}

.pager__item--next a,
.pager__item--previous a,
.pager__item--first a,
.pager__item--last a {
  padding: 0.6rem 1.2rem;
  /* border-radius: 9px; */
}

.pager__item a:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(249, 113, 22, 0.5); 
}

@media (max-width: 1170px) {
  .prjcts-no-margin {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

.form-check-input:checked {
    background-color: var(--arancione);
    border-color: var(--arancione);
}

.form-check-input:focus {
    border-color: var(--arancione);
    outline: 0;
    box-shadow: 0px 4px 10px rgba(249, 115, 22, 0.25) !important;
}

@media (max-width: 1170px) {
  .prgpagihome {
    padding: 2rem;
  }
}



/* CASE STUDY */

.my-card-layout {
  margin-top: 6rem;
}

.i-nstr-cs-succ .content-section__title {
  display: block;
  width: fit-content;
  margin: 2rem auto 2rem auto;
  background-color: #000000;
  color: #FFFFFF;
  padding: 5px 15px;
  font-size: 3rem;
  letter-spacing: 2px;
  font-family: "IBM Plex Sans", sans-serif;
}

.i-nstr-cs-succ .content-section__title-mobile {
  display: none;
}

@media (max-width: 767.98px) {
  .i-nstr-cs-succ .content-section__title {
    display: none;
  }

  .i-nstr-cs-succ .content-section__title-mobile {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 5px 15px;
    font-size: 1.4rem;
    letter-spacing: 2px;
    font-family: "IBM Plex Sans", sans-serif;
    margin: 2rem auto -2.5rem auto;
  }
}


/* SINGOLA CARD */

.scritta-mih-pagina-case-study {
    display: flex;
    align-items: center; 
    height: 40px; 
    margin: 0;
    font-family: 'IBM Plex sans';
}

.scritta-mih-pagina-case-study-mih {
    background-color: #000000;
    color: #ffffff;
    font-size: 24px; 
    font-weight: 700;
    letter-spacing: 0.6em; 
    padding: 0 10px 0 20px; 
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px; 
}

.scritta-mih-pagina-case-study-nome-cliente {
    letter-spacing: 2px !important;
    background-color: rgb(39, 70, 125);
    color: #ffffff;
    font-size: 24px; 
    font-weight: 700;
    letter-spacing: normal;
    padding: 0 20px; 
    margin: 0;
    white-space: nowrap;
}

.my-card-layout .view-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 65px; 
  margin-bottom: 4rem;
}

@media (max-width: 991px) {
    .scritta-mih-pagina-case-study-nome-cliente {
        letter-spacing: 2px !important;
        color: #ffffff;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: normal;
        padding: 5px 14px;
        margin: 0;
        white-space: nowrap;
    }

    .scritta-mih-pagina-case-study-mih {
      background-color: #000000;
      color: #ffffff;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.6em;
      padding: 5px 0px 5px 5px;
      margin: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 70px;
    }
}

@media (max-width: 1400px) {
  .my-card-layout .view-content {
    grid-template-columns: repeat(2, 1fr);
  }

  /* .scritta-mih-pagina-case-study-nome-cliente {
    letter-spacing: 2px !important;
    background-color: rgb(39, 70, 125);
    color: #ffffff;
    font-size: 16px; 
    font-weight: 700;
    letter-spacing: normal;
    padding: 5px 14px; 
    margin: 0;
    white-space: nowrap;
  }

  .scritta-mih-pagina-case-study-mih {
    background-color: #000000;
    color: #ffffff;
    font-size: 16px; 
    font-weight: 700;
    letter-spacing: 0.6em; 
    padding: 5px 0px 5px 8px; 
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px; 
  } */
}

@media (max-width: 768px) {
  .my-card-layout .view-content {
    grid-template-columns: 1fr;
  }
}

.my-card-layout .views-row {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #000;
  background-color: #fff;
  transition: all 0.3s ease; 
  height: 100%;
}

.my-card-layout .views-row:hover {
  transform: translateY(-5px); 
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); 
  border-color: var(--arancione); 
}

.my-card-layout .views-row img {
  margin-top: 20px;
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: none;
  display: block;
}

.my-card-layout .views-row .card-body,
.my-card-layout .views-row .views-field {
  padding: 0 20px;
}

.my-card-layout .views-row .field-content a {
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  font-size: 1.4rem; 
  color: #000000; 
  font-weight: 700;
  display: block;
  margin-top: 20px;
  margin-bottom: 15px;
  line-height: 1.2;
}

.link-scopri-case-study a {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  text-decoration: none !important;
  font-size: 1rem !important;
  color: var(--arancione) !important;
  font-weight: 400 !important;
  display: inline-block !important;
  margin-top: 20px !important;
  margin-bottom: 15px !important;
  line-height: 1.2 !important;
  padding-right: 25px !important;
  position: relative;
  transition: all 0.3s ease; 
}

.link-scopri-case-study a::after {
  content: " →" !important;  
  /* font-size: 1.1rem !important; */
  margin-left: 8px !important; 
  transition: transform 0.3s ease; 
  position: absolute;
  right: 0; 
}

.link-ppp {
  color: var(--arancione);
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease !important;
}

.link-ppp::after {
    content: " →";
    margin-left: 8px;
    display: inline-block;
    transform: translateX(0);
    transition: transform 0.3s ease !important; 
}

.link-ppp:hover::after {
    transform: translateX(5px);
    text-decoration: none !important;
}

.link-ppp:hover {
    transform: translateX(3px);
    text-decoration: none !important;
}

.link-scopri-case-study a:hover::after {
  transform: translateX(5px); 
}

.link-scopri-case-study a:hover {
  transform: translateX(3px);
}




.my-card-layout .views-row .field-content a:hover {
  color: var(--arancione);
  text-decoration: none;
}

.my-card-layout .views-row .field-content {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 20px;
}

@media (max-width: 767.98px) {
  .my-card-layout .views-row .field-content {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 4px;
  }
}

.my-card-layout .views-row .field-content a.btn-primary {
  display: inline-block;
  margin: 0 0 20px 0; 
  padding: 10px 20px;
  background-color: var(--arancione);
  border: 1px solid var(--arancione);
  color: #FFFFFF;
  border-radius: 0; 
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s;
}

.my-card-layout .views-row .field-content a.btn-primary:hover {
  background-color: #d05a0f;
  border-color: #d05a0f;
}



/* SINGOLA PAGINA CASE STUDY */

.single-case-study-page .views-label-field-partners {
  font-family: 'IBM Plex sans';
  letter-spacing: 2px !important;
  background-color: rgb(39, 70, 125);
  color: #ffffff;
  font-size: 24px; 
  font-weight: 700;
  letter-spacing: normal;
  padding: 0 20px; 
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 991px) {
  .il-cliente-e-partners-div {
    padding-left: 17px;
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 4rem;
    padding-right: 35px;
  }
}

.single-case-study-page .views-label-field-titolo {
  font-family: 'IBM Plex sans';
  letter-spacing: 2px !important;
  background-color: rgb(39, 70, 125);
  color: #ffffff;
  font-size: 24px; 
  font-weight: 700;
  letter-spacing: normal;
  padding: 0 20px; 
  margin: 0;
  white-space: nowrap;
}

.single-case-study-page .campo-attività-svolte .views-label-field-titolo {
  display: inline-block;        
  font-family: 'IBM Plex Sans';
  background-color: rgb(39, 70, 125);
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  padding: 0 20px;
  margin-bottom: 16px;    
  white-space: nowrap;
}

.single-case-study-page .views-label-field-il-contesto-e-le-esigenze {
  display: inline-block;        
  font-family: 'IBM Plex Sans';
  letter-spacing: 2px !important;
  background-color: rgb(39, 70, 125);
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  padding: 0 20px;
  margin-bottom: 16px;        
  white-space: nowrap;
}

.single-case-study-page .views-label-field-il-progetto {
  display: inline-block;        
  font-family: 'IBM Plex Sans';
  letter-spacing: 2px !important;
  background-color: rgb(39, 70, 125);
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  padding: 0 20px;
  margin-bottom: 16px;     
  white-space: nowrap;
}

.single-case-study-page .views-label-field-gli-obiettivi {
  display: inline-block;   
  font-family: 'IBM Plex Sans';
  letter-spacing: 2px !important;
  background-color: rgb(39, 70, 125);
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  padding: 0 20px;
  margin-bottom: 16px;        
  white-space: nowrap;
}

.single-case-study-page .views-label-field-i-risultati {
  font-family: 'IBM Plex sans';
  letter-spacing: 2px !important;
  background-color: rgb(39, 70, 125);
  color: #ffffff;
  font-size: 24px; 
  font-weight: 700;
  letter-spacing: normal;
  padding: 0 20px; 
  margin: 0;
  white-space: nowrap;
}


/* PAGER CASE STUDY */

.pager {
  margin-top: 4rem;
  margin-bottom: 4rem;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.pager .pagination {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: none;
}

.pager .page-item {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
}

/* .pager .page-item:first-child .page-link,
.pager .page-item:last-child .page-link {
  border-radius: 9px; 
} */

.page-item:last-child .page-link {
border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.page-item:first-child .page-link {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.pager .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  min-width: 45px;
  font-size: 1rem;
  font-weight: 700;
  color: #000000;
  background-color: #FFFFFF;
  border: 1px solid transparent;
  /* border-radius: 9px; */
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin-left: 0;
  box-shadow: none;
  transition: all 0.2s ease-in-out;
}

.pager .page-link:hover {
  background-color: var(--arancione); 
  color: #FFFFFF;
  border-color: var(--arancione);
  z-index: 2;
  text-decoration: none;
}

.pager .page-item.active .page-link,
.pager .page-item.is-active .page-link {
  background-color: #000000;
  border-color: #000000;
  color: #FFFFFF;
  /* border-radius: 9px;  */
  cursor: default;
}

.pager .page-item.active .page-link:hover {
  background-color: #000000;
  color: #FFFFFF;
}

.pager .pager__item--next .page-link,
.pager .pager__item--last .page-link,
.pager .pager__item--first .page-link,
.pager .pager__item--previous .page-link {
  padding: 0.6rem 1.2rem;
  /* border-radius: 9px;  */
}

.pager .page-link:focus {
  box-shadow: 0 0 0 3px rgba(249, 113, 22, 0.25); 
  background-color: var(--arancione);
  color: white;
}

@media (max-width: 576px) {
  .pager .pagination {
    justify-content: center;
  }

  .pager .page-link {
    padding: 0.35rem 0.6rem; 
    font-size: 0.85rem;   
  }

  .pager .page-item span[aria-hidden="true"] {
    letter-spacing: -0.5px;
  }
}


/* BANNER CASE STUDY */

.banner-case-study {
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.banner-case-study .view-content .inner-page-hero img {
  /* width: 100vw; */
  height: 50vh;
  display: block;
}

.banner-case-study .view-content {
  max-width: 100%;
  padding: 0;
  margin: 0;
  border: none;
}

@media (max-width: 768px) {
  .banner-case-study .view-content .inner-page-hero img {
    height: 50vh;
    width: auto;
    object-fit: cover;
  }
}

.page-node-type-case-study main[role="main"] {
  padding-top: 0;
}

.page-node-type-case-study .views-field-body {
  font-family: 'Helvetica Neue';
  max-width: 1170px;
  display: flex;
  margin: 1rem auto 4rem auto;
}

.campo-valore {
  font-family: 'Helvetica Neue';
}

.campo-attività-svolte div p {
  font-family: 'Helvetica Neue';
}

.views-field-field-il-contesto-e-le-esigenze .field-content p {
  font-family: 'Helvetica Neue';
}

.views-label-field-il-progetto .field-content p {
  font-family: 'Helvetica Neue';
}

.views-label-field-gli-obiettivi .field-content p {
  font-family: 'Helvetica Neue';
}

.page-node-type-case-study .views-field-field-nome-cliente {
  max-width: 1170px;
  margin: 4rem auto 1rem auto;
}

.page-node-type-case-study .inner-page-hero__title a {
  color: #fff;
  font-size: 4rem;
}

@media (max-width: 639px) {
  .page-node-type-case-study .inner-page-hero__title a {
    color: #fff;
    font-size: 2rem;
  }
}

/* .page-node-type-case-study
.views-field-field-titolo,
.page-node-type-case-study
.views-field-field-partners {
  display: inline-flex;
  flex-direction: column;
  /* vertical-align: top;
  width: 45%;
  margin: 4rem auto;
  max-width: 585px;
}

.page-node-type-case-study
.views-field-field-titolo {
  margin-right: 10%;
  margin: 4rem 4rem 4rem 4rem;
  max-width: 585px;
}

.page-node-type-case-study
.views-label {
  display: inline-block;   
  width: fit-content;        
}  */

@media (max-width: 991px) {
  .page-node-type-case-study .views-field-body .field-content p {
    padding: 0rem 3rem 3rem 20px;
    max-width: 1170px;
    margin: 0 auto;
  }
}

@media (max-width: 991px) {
  .page-node-type-case-study .scritta-mih-pagina-case-study {
    padding-left: 20px;
    max-width: 1170px;
    margin: 0 auto;
  }
}

.il-cliente-e-partners-div {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 4rem;
}


.il-cliente-e-partners-div .campo-cliente,
.il-cliente-e-partners-div .campo-partners {
  display: flex;
  flex-direction: column;
  width: 45%;
}

.il-cliente-e-partners-div 
.views-label-field-titolo,
.il-cliente-e-partners-div 
.views-label-field-partners {
  display: inline-block;
  align-self: flex-start;
  font-family: 'IBM Plex Sans';
  background-color: rgb(39, 70, 125);
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  padding: 0 20px;
  margin-bottom: 8px;
  white-space: nowrap;
}

@media (max-width: 991px) {
  .il-cliente-e-partners-div {
    padding-left: 17px;
    max-width: 1170px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 4rem;
    padding-right: 35px;
  }
}

.campo-attività-svolte { 
  padding: 3rem;
  max-width: 1170px;
  margin: 0 auto;
  padding-left: 0;
}

@media (max-width: 991px) {
  .campo-attività-svolte { 
    padding: 3rem 3rem 3rem 20px;
    max-width: 1170px;
    margin: 0 auto;
  }
}

.page-node-type-case-study .views-field-field-il-contesto-e-le-esigenze {
  max-width: 1170px;
  padding: 3rem 3rem 3rem 0px;
  margin: 0px auto;
}

@media (max-width: 991px) {
  .page-node-type-case-study .views-field-field-il-contesto-e-le-esigenze {
    max-width: 1170px;
    padding: 3rem 3rem 3rem 20px;
    margin: 0px auto;
  }
}

.page-node-type-case-study .views-field-field-il-progetto {
  max-width: 1170px;
  padding: 3rem 3rem 3rem 0px;
  margin: 0px auto;
}

@media (max-width: 991px) {
  .page-node-type-case-study .views-field-field-il-progetto {
    max-width: 1170px;
    padding: 3rem 3rem 3rem 20px;
    margin: 0px auto;
  }
}

.page-node-type-case-study .views-field-field-gli-obiettivi {
  max-width: 1170px;
  padding: 3rem 3rem 3rem 0px;
  margin: 0px auto;
}

@media (max-width: 991px) {
  .page-node-type-case-study .views-field-field-gli-obiettivi {
    max-width: 1170px;
    padding: 3rem 3rem 3rem 20px;
    margin: 0px auto;
  }
}

.mih-black-label {
  margin-top: 1rem;
  margin-right: 1rem;
  background-color: #FFF !important; 
  color: #000 !important;        
  padding: 0.8rem 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.05em;
  display: inline-block;  
  margin-bottom: 0;                   
  text-decoration: none;
  border: none;
}

.mih-black-label:hover {
    background-color: transparent !important;
    color: #FFFFFF !important;
}

@media (max-width: 1235px) {
  .unique-authentic-section {
    padding-left: 30px;
    padding-right: 30px;
  }
}

.ambiti-section__content a {
  text-decoration: none;
  color: var(--arancione);
}

.ambiti-section__content a:hover {
  text-decoration: none;
  color: var(--arancione);
}

.mih-button-primary {
    text-align: center;
    width: fit-content;
    display: block;
    background-color: var(--arancione);
    color: #FFFFFF !important;
    border: 1px solid var(--arancione);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.05em;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.mih-button-primary:hover {
  background-color: transparent;
  color: #000 !important;
}

.mih-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 6rem;
  font-family: 'Inter', sans-serif;
}

.mih-tech-card {
  background-color: #000000;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease;
}

.mih-tech-card:hover {
  transform: translateY(-5px);
}

.mih-tech-image-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}

.mih-tech-image-box img {
  border: 1px solid;
  width: 100%;
  height: 100%;
  display: block;
  transition: opacity 0.2s;
}

.mih-tech-image-box:hover img {
  opacity: 0.9;
}

.img-cover { object-fit: cover; }
.img-contain { object-fit: contain; /* padding: 20px; */ }
.bg-white { background-color: #ffffff; }
.bg-beige { background-color: #e3e6e0; }

.mih-tech-title-box {
  /* padding: 1.5rem; */
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 80px;
}

.mih-tech-title {
  color: #FFFFFF !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0;
}

a.mih-no-style-link {
  text-decoration: none !important;
  color: inherit !important;
  display: block; 
  height: 100%;
}

.mih-text-section h3 {
  font-family: "IBM Plex Sans", sans-serif;
}

.mih-banner-future {
  text-align: left;
  padding: 2rem 0;  
  color: #000000;     
}

.mih-banner-future h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;   
  text-transform: uppercase;
  line-height: 1.1;   
  margin-bottom: 1rem; 
  font-size: clamp(2.5rem, 5vw, 4rem); 
  letter-spacing: -0.02em; 
}

.mih-banner-future .subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;    
  font-weight: 300;     
  margin-bottom: 2rem;
  color: #333333;       
  line-height: 1.4;
}

.mih-banner-future .description {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;    
  margin-bottom: 3rem;  
  max-width: 800px;    
  color: #000000;
}

.mih-visione-futuro-container-wrapper-unique {
  font-family: 'Inter', sans-serif;
  color: #000000;
  text-align: left;
  max-width: 1170px;
}

.mih-visione-futuro-main-title-uppercase-style {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900; 
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 2.5rem); 
  line-height: 1.2;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  color: #000000;
}

.mih-visione-futuro-intro-text-paragraph-block {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 3rem;
  max-width: 900px;
}

.mih-visione-futuro-custom-list-container-wrapper {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  margin-bottom: 3rem;
}

.mih-visione-futuro-list-item-single-element {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #000000;
}

.mih-visione-futuro-list-item-single-element::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem; 
  width: 12px;
  height: 12px;
  background-color: #f97116; 
  display: block;
}

.mih-visione-futuro-keyword-bold-highlight {
  font-weight: 700;
  color: #000000;
}

.mih-visione-futuro-conclusion-emphasis-box-style {
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 500;
  font-style: italic;
  color: #111111;
  border-left: 5px solid #f97116; 
  padding-left: 1.5rem;
  margin-top: 2rem;
}

.muve-arch-table-details {
    margin-top: 1.5rem;
    border-top: 2px solid #000;
}

.muve-arch-table-details td.etichetta {
    width: 200px;
    background-color: #f9f9f9;
    vertical-align: top;
    padding: 1rem;
}

.muve-arch-table-details td.etichetta p {
    font-family: "Work Sans", sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #666;
    margin: 0;
}

.muve-arch-table-details td.campo {
    padding: 1rem;
}

.muve-arch-access-tags .badge {
    margin-right: 4px;
    margin-bottom: 4px;
    font-weight: 400;
}

.inner-page-hero__title a {
  color: #fff;
}

.mih-product-section {
  font-family: 'Inter', sans-serif;
  color: #000000;
  padding: 0 0 3rem 0;
  max-width: 100%;
}

.mih-product-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: #000000;
}

.mih-product-intro {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 4rem;
  max-width: 900px;
}

.mih-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 4rem;
}

@media screen and (max-width: 991px) {
  .mih-product-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.mih-product-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #f97116;
  display: inline-block;
}

.mih-product-text {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #222222;
}

.mih-product-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

.mih-product-list-item {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #222222;
}

.mih-product-list-item::before {
  content: '■';
  position: absolute;
  left: 0;
  top: -2px;
  color: #f97116;
  font-size: 1.2rem;
}

.mih-product-highlight {
  font-weight: 700;
  color: #000000;
}

.footer-block__title-evidenza {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  /* padding-left: 1.5rem; */
}

.views-field-field-gli-obiettivi a {
  color: #f97116;
}

@media (max-width: 768px) {
  .views-view-responsive-grid {
    --views-responsive-grid--column-count: 1 !important;
  }
}

.view-id-duplicato_di_pagina_delle_news.view-display-id-block_2 .views-field-field-tipologia .stile-categoria-news a {
    color: #000;
    text-decoration: none;
    transition: opacity 0.2s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.view-id-duplicato_di_pagina_delle_news.view-display-id-block_2 .views-field-field-tipologia .stile-categoria-news a:hover {
    opacity: 0.7;
}

.view-id-duplicato_di_pagina_delle_news.view-display-id-block_2 .views-field-field-data .field-content {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: #000;
    margin-top: 8px;
}

.view-id-duplicato_di_pagina_delle_news.view-display-id-block_2 .views-field-field-data .field-content::before {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='black' viewBox='0 0 24 24'%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.view-id-duplicato_di_pagina_delle_news.view-display-id-block_2 .views-field-title .stile-news-titolo a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.3;
    color: #f97116;
    text-decoration: none;
    transition: color 0.2s ease;
}

.view-id-duplicato_di_pagina_delle_news.view-display-id-block_2 .views-row {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
}

.view-id-duplicato_di_pagina_delle_news.view-display-id-block_2 .views-field-field-immagine-copertina img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease; 
}

.view-id-duplicato_di_pagina_delle_news.view-display-id-block_2 .views-row:hover .views-field-field-immagine-copertina img {
    transform: translateY(-5px);
}


/* NAVBAR MENU DROPDOWN */

.navbar-nav .nav-link.dropdown-toggle, .navbar-nav .media-library-view--widget .view-header a.dropdown-toggle, .media-library-view--widget .view-header .navbar-nav a.dropdown-toggle {
    display: block;
    align-items: center;
}

.navbar-nav li.nav-item span {
  font-family: 'IBM Plex Sans';
}

.dropdown-menu.nav-level-1 {
    background-color: #ffffff !important;
    opacity: 1 !important;            
    border: none;
    border-top: 4px solid var(--arancione);
    border-radius: 0; 
    padding: 15px 0; 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); 
    min-width: 260px;
    backdrop-filter: none !important;
}

.dropdown-menu.nav-level-1 .dropdown-item {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700; 
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #000000 !important; 
    padding: 12px 30px;
    border-bottom: none;
    transition: all 0.2s ease-in-out;
}

.dropdown-menu.nav-level-1 .dropdown-item:hover {
    background-color: #f8f9fa; 
    color: var(--arancione) !important;
    padding-left: 35px;
}

.dropdown-menu.nav-level-1 .dropdown-item.is-active {
    background-color: #ffffff !important;
    color: var(--arancione) !important;
    font-weight: 700;
}

.dropdown-menu.nav-level-1 .dropdown-item.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 26%;
    bottom: 0%;
    width: 4px;
    background-color: var(--arancione);
}

.dropdown-item:active, .dropdown-item:focus {
    background-color: #ffffff !important;
    color: var(--arancione) !important;
    outline: none !important;
}

@media (max-width: 407px) {
    .content-section__title-white {
      display: inline-block;
      background-color: #FFF;
      color: #000;
      padding: 5px 15px;
      font-size: 1rem;
      text-transform: uppercase;
      margin-bottom: 2rem;
      letter-spacing: 1px;
      font-family: "IBM Plex Sans", sans-serif;
    }
}

@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown .dropdown-menu {
        background-color: #1a1a1a;
        border: 1px solid #333333;
        border-radius: 0 0 0 0;
        padding: 0.5rem 0;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
        margin-top: 0;
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease-in-out;
    }
}

.mih-topics-taxonomy-container {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  width: 100%;
  max-width: 1170px;
}

.mih-topics-taxonomy-col {
  flex: 1;
  min-width: 300px;
}

.mih-topics-taxonomy-list {
  list-style-type: square !important; 
  padding-left: 20px !important;
}

.mih-topics-taxonomy-item {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 1rem !important;
  color: #000000 !important;
  margin-bottom: 5px !important;
}

@media (max-width: 991px) {
  .mih-topics-taxonomy-container {
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .mih-topics-taxonomy-container {
    flex-direction: column;
    padding: 0 15px;
  }
}

/* FORM ISCRIZIONE NEWSLETTER */

.mih-newsletter-block {
  margin: 1rem 0 4rem 0;
}

.mih-newsletter-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.15rem;
  color: #333;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.mih-newsletter-fields-wrapper {
  display: flex;
  justify-content: center;
  gap: 15px;
  max-width: 550px;
}

.mih-newsletter-field {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 0; 
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.mih-newsletter-field:focus {
  border-color: var(--arancione);
}

.mih-newsletter-submit-btn {
  background-color: var(--arancione);
  color: #ffffff;
  border: none;
  padding: 12px 30px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mih-newsletter-submit-btn:hover {
  background-color: #000000; 
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .mih-newsletter-fields-wrapper {
    flex-direction: column;
    align-items: center;
  }
  
  .mih-newsletter-field, 
  .mih-newsletter-submit-btn {
    width: 100%;
    max-width: 100%;
  }
}

/* PAGINA SINGOLA TECNOLOGIA */

.node--type-tecnologia .layout__region--content {
    display: block !important;
}

#block-mih-titolodellapagina {
    width: 100% !important;
    text-align: center !important; 
    margin-top: 2rem !important;
    margin-bottom: 4rem !important; 
    padding: 0 !important;
}

#block-mih-titolodellapagina h1 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 3.5rem !important;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.1;
    display: inline-block;
}

.block-field-blocknodetecnologiafield-immagine-copertina {
    margin-bottom: 3rem !important;
    text-align: center;
}

.node--type-tecnologia .field--name-field-immagine-copertina img {
    max-width: 55%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 0 auto;
}

@media (max-width: 768px) {
    #block-mih-titolodellapagina h1 {
        font-size: 2.2rem !important;
    }
    
    .node--type-tecnologia .field--name-field-immagine-copertina img {
        max-width: 100%;
    }
}

/* PAGINA MIH */

.mih-pro-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 190px;
}

@media (max-width: 1399px) {
  .mih-pro-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
  }
}

.mih-pro-nav__link {
  display: flex;
  text-decoration: none !important;
  border: none !important;
  transition: transform 0.2s ease-in-out;
}

.mih-pro-nav__link:hover {
  transform: translateY(-4px);
}

.mih-pro-nav__badge-black {
  background-color: #000000 !important;
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 20px;
  letter-spacing: 5px; 
  display: flex;
  align-items: center;
}

.mih-pro-nav__badge-color {
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 12px 28px;
  min-width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: none;
}

.mih-pro-nav__badge-color--story { 
  background-color: var(--arancione-chiaro) !important; 
}
.mih-pro-nav__badge-color--marketing { 
  background-color: var(--green) !important; 
}
.mih-pro-nav__badge-color--people { 
  background-color: var(--red) !important; 
}
.mih-pro-nav__badge-color--corporate { 
    background-color: var(--blue) !important; 
}

@media (max-width: 768px) {
  .mih-pro-nav {
    flex-direction: column;
    align-items: flex-start;
  }
}

.layout__region .mih-info-section {
    margin-bottom: 3rem;
}

.layout__region .mih-info-section__label {
    background-color: var(--blue) !important; 
    color: #ffffff !important;
    display: inline-block !important;
    padding: 8px 15px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 1.5rem !important;
    border-radius: 0 !important;
}

.layout__region .mih-info-section__label-orange {
    background-color: #f97116 !important;
    color: #ffffff !important;
    display: inline-block !important;
    padding: 8px 15px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 1.5rem !important;
    border-radius: 0 !important;
}

.layout__region .mih-info-section__label-green {
    background-color: var(--green) !important;
    color: #ffffff !important;
    display: inline-block !important;
    padding: 8px 15px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 1.5rem !important;
    border-radius: 0 !important;
}

.layout__region .mih-info-section__label-red {
    background-color: var(--red) !important;
    color: #ffffff !important;
    display: inline-block !important;
    padding: 8px 15px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 1.5rem !important;
    border-radius: 0 !important;
}

.layout__region .mih-info-section__body p {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    color: #333333 !important;
    margin-bottom: 1.2rem !important;
}

.layout__region .mih-info-section__body a {
    color: var(--blue) !important;
    text-decoration: none !important;
    border-bottom: 1px solid transparent !important;
    transition: border-color 0.3s ease !important;
}

.layout__region .mih-info-section__body-orange a {
    color: #f97116 !important;
    text-decoration: none !important;
    border-bottom: 1px solid transparent !important;
    transition: border-color 0.3s ease !important;
}

.layout__region .mih-info-section__body-green a {
    color: var(--green) !important;
    text-decoration: none !important;
    border-bottom: 1px solid transparent !important;
    transition: border-color 0.3s ease !important;
}

.layout__region .mih-info-section__body-red a {
    color: var(--red) !important;
    text-decoration: none !important;
    border-bottom: 1px solid transparent !important;
    transition: border-color 0.3s ease !important;
}

.layout__region .mih-info-section__body a:hover {
    border-bottom-color: var(--blue) !important;
}

.layout__region .mih-info-section__body strong {
    font-weight: 700 !important;
    color: #000000 !important;
}

@media (max-width: 745px) {
  .mih-info-section {
    padding-left: 35px;
    padding-right: 35px;
  }
}

body .mih-ultra-wrapper {
    background-color: transparent !important; 
    width: 100% !important;
    display: block !important;
}

body .mih-corp-logo-group {
    display: flex !important;
    width: fit-content !important;
    border: none !important;
}

body .mih-badge-black {
    background-color: #000000 !important;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    padding: 12px 20px !important;
    letter-spacing: 5px !important;
    line-height: 1 !important;
}

body .mih-badge-blue {
    background-color: var(--blue) !important;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    padding: 12px 25px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
}

body .mih-badge-orange {
    background-color: var(--arancione-chiaro) !important;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    padding: 12px 25px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
}

body .mih-badge-green {
    background-color: var(--green) !important;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    padding: 12px 25px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
}

body .mih-badge-red {
    background-color: var(--red) !important;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    padding: 12px 25px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
}

body .mih-main-focus-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 300 !important;
    font-size: 3rem !important;
    color: #ffffff !important; 
    text-transform: none !important;
    border: none !important;
}

body .mih-main-focus-text p {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: #ffffff !important; 
    max-width: 600px !important;
    margin-left: 0 !important;
}

.ambiti-section__content-red h3 {
    font-family: 'IBM Plex Sans';
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--red);
    letter-spacing: 0.05em;
}

.ambiti-section__content-blue h3 {
    font-family: 'IBM Plex Sans';
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--blue);
    letter-spacing: 0.05em;
}

.ambiti-section__content-green h3 {
    font-family: 'IBM Plex Sans';
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--green);
    letter-spacing: 0.05em;
}

.ambiti-section__content-orange h3 {
    font-family: 'IBM Plex Sans';
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: #f97116;
    letter-spacing: 0.05em;
}

.node--type-tecnologia .node__content {
  margin-bottom: 3rem;
}

.view-id-blocco_meet_our_people .views-view-responsive-grid__item .views-field-body .field-content {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
    line-height: 1.5;
}

.link-ppp {
  display: inline-block;
  /* transition: letter-spacing 0.25s ease; */
}

.sub-footer__links {
  display: flex;
  align-items: center;
  gap: 25px; 
}

.sub-footer__links a {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.25s ease, color 0.25s ease;
}

.sub-footer__links a:hover {
  transform: translateY(-3px);
  color: var(--arancione);
}

.social-icon {
  width: 21px;
  height: 17px;
  display: flex;
}

.social-icon svg {
  width: 100%;
  height: 100%;
}

.contact-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: none;
  margin-left: 10px;
}

.discover-button-c-s {
    display: inline-block;
    background-color: var(--arancione);
    color: #FFFFFF !important;
    padding: 0.3rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-decoration: none;
    /* text-transform: uppercase; */
    font-size: 0.8rem;
    /* margin-top: 2rem; */
    border: 2px solid var(--arancione);
    transition: all 0.2s ease-in-out;
}

.discover-button-c-s:hover {
  background-color: #FFFFFF;
  color: #000000 !important;
}

  .discover-button-c-s-mobile {
    display: none;
    background-color: var(--arancione);
    color: #FFFFFF !important;
    padding: 0.3rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-decoration: none;
    /* text-transform: uppercase; */
    font-size: 0.8rem;
    /* margin-top: 2rem; */
    border: 2px solid var(--arancione);
    transition: all 0.2s ease-in-out;
  }

  .discover-button-c-s-mobile:hover {
  background-color: #FFFFFF;
  color: #000000 !important;
}

@media (max-width: 639px) {
  .discover-button-c-s-mobile {
    display: inline-block;
    background-color: var(--arancione);
    color: #FFFFFF !important;
    padding: 0.3rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-decoration: none;
    /* text-transform: uppercase; */
    font-size: 0.8rem;
    /* margin-top: 2rem; */
    margin-bottom: 3rem;
    position: relative;
    top: -3rem;
    border: 2px solid var(--arancione);
    transition: all 0.2s ease-in-out;
  }
}

@media (max-width: 639px) {
  .discover-button-c-s {
    display: none;
    background-color: var(--arancione);
    color: #FFFFFF !important;
    padding: 0.3rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-decoration: none;
    /* text-transform: uppercase; */
    font-size: 0.8rem;
    /* margin-top: 2rem; */
    border: 2px solid var(--arancione);
    transition: all 0.2s ease-in-out;
  }
}

.mih-labels-container {
  margin-top: 2rem;
}

.layout--twocol-section--50-50.cosa-facciamo-modello-ambiti .content-section__description {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: #000;
}

@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown .dropdown-menu {
        background-color: #1a1a1a;
        border: 1px solid #333333;
        border-radius: 0 0 0px 0px !important;
        padding: 0.5rem 0;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
        margin-top: 0;
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease-in-out;
    }
}

@media (max-width: 714px) {
  .mih-labels-container {
    display: none;
  }
}

@media (max-width: 768px) {
  .il-cliente-e-partners-div .views-label-field-titolo, .il-cliente-e-partners-div .views-label-field-partners {
    font-size: 18px;
  }

  .single-case-study-page .campo-attività-svolte .views-label-field-titolo {
    font-size: 18px;
  }

  .single-case-study-page .views-label-field-il-contesto-e-le-esigenze {
    font-size: 18px;
  }

  .single-case-study-page .views-label-field-il-progetto {
    font-size: 18px;
  }

  .single-case-study-page .views-label-field-gli-obiettivi {
    font-size: 18px;
  }
}

body .mih-full-ticker {
    background-color: var(--arancione);
    overflow: hidden;
    padding: 15px 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

body .mih-full-ticker__track {
    display: flex;
    width: max-content;
    animation: mih-marquee-infinite 25s linear infinite;
}

body .mih-full-ticker__item {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0 60px;
    white-space: nowrap;
}

@keyframes mih-marquee-infinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-20%); } 
}

body .mih-full-ticker:hover .mih-full-ticker__track {
    animation-play-state: paused !important;
    cursor: pointer;
}

@media (max-width: 768px) {
    body .mih-full-ticker__item {
        font-size: 0.85rem !important;
        padding: 0 40px !important;
    }
}

.region-nav-branding {
    display: flex !important;
    align-items: center !important; 
    gap: 20px;                   
}

#block-mih-languageswitcher {
    margin: 0 !important;
}

#block-mih-languageswitcher ul {
    /* display: flex !important; */
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#block-mih-languageswitcher .is-active {
    display: none !important;
}

#block-mih-languageswitcher .language-link {
    text-decoration: none !important;
    font-family: 'IBM Plex Sans' !important;
    font-weight: bold !important;
    font-size: 0.95rem !important;
    text-transform: uppercase;
    color: #fff !important; 
    transition: color 0.3s ease;
    border: 1px solid #000;
    padding: 5px 10px;
    letter-spacing: 0.05rem;
}

@media (max-width: 576px) {
    .region-nav-branding {
        gap: 10px;
    }
    #block-mih-languageswitcher .language-link {
        font-size: 0.75rem !important;
        padding: 4px 8px;
    }
}

.mih-class-a .field--name-body p a {
  color: var(--arancione);
}

.mih-font-helvetica {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 16px !important;
    text-align: left !important;
    display: block !important;
    width: 100% !important;
}

.mih-newsletter-alert {
    padding-left: 0 !important;
}

.social-sharing-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0em 0 4em 0;
}

.social-sharing-buttons:before {
  content: "Condividi su: ";
}

.miha-section {
  padding: 0px 0px 40px 0px;
}

.miha-text h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.miha-text p {
  color: #000;
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 20px;
}

.miha-image-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
  height: 18rem;
}

/* NUOVO: gestione immagine */
.miha-image-inner img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
}

.miha-button {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  background: #fff;
  padding: 15px 40px;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  color: #000;
  display: inline-block;
  transition: all 0.3s ease;
  border: 1px solid #fff;
  position: relative;
  z-index: 2; /* sopra l'immagine */
}

.miha-button:hover {
  border-color: var(--arancione);
  color: #000;
}

.row.mb-5 {
  margin-bottom: 120px !important; 
}

.row .col-lg-6 {
  padding-left: 15px;
  padding-right: 15px;
}

.row .col-lg-6.miha-text.order-lg-2 {
  padding-left: 50px;
}

/* .row .col-lg-6.miha-image.order-lg-1 {
  padding-right: 60px; 
} */

/* .miha-section .row {
  --bs-gutter-x: 4rem;
} */

@media (max-width: 1024px) {
  .miha-text h2 {
    font-size: 38px;
  }

  .miha-image-inner {
    height: 220px;
  }

  .row .col-lg-6.miha-text.order-lg-2,
  .row .col-lg-6.miha-image.order-lg-1 {
    padding-left: 0px;
    padding-right: 0px;
  }
}

@media (max-width: 768px) {
  .row .col-lg-6.miha-image.order-lg-1 {
    padding-right: 0px; 
  }

  .miha-image-inner {
    width: 100%;
    height: auto;
  }

  .row.mb-5 {
    margin-bottom: 80px !important; 
  }

  .miha-section .row {
    --bs-gutter-x: 0rem;
  }

  .miha-text {
    margin-top: 2rem;
    text-align: center;
  }

  .miha-text p {
    max-width: 100%;
  }

  .miha-text h2 {
    font-size: 30px;
  }

  .miha-image-inner {
    height: 200px;
  }

  .miha-button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .row .col-lg-6 {
    padding-left: 0;
    padding-right: 0; 
  }
}

@media (max-width: 480px) {
  .miha-section {
    padding: 50px 15px;
  }

  .miha-text h2 {
    font-size: 26px;
  }

  .miha-image-inner {
    height: 180px;
  }

  .miha-button {
    padding: 10px 20px;
    font-size: 14px;
  }
}

.page-node-type-tecnologia main[role="main"] {
  padding: 0 15px;
}

.page-node-type-tecnologia .views-field-body {
  padding-top: 5rem;
  padding-bottom: 1rem;
  max-width: 1170px;
  margin: 0 auto;
}

.page-node-type-tecnologia .views-field-body h3 {
  font-family: 'IBM Plex Sans';
  text-transform: uppercase;
}

.page-node-type-tecnologia .views-field-body a {
  color: var(--arancione);
}

@media (max-width: 1230px) {
  .page-node-type-tecnologia .views-field-body {
    padding-left: 35px;
    padding-right: 35px;
  }
}
