.project-cargo-page .site-header {
  position: absolute;
  background: rgba(255, 255, 255, 0.77);
}

.project-cargo-page .site-header.is-scrolled {
  position: fixed;
  background: #fff;
}

.project-cargo-hero {
  display: flex;
  min-height: 650px;
  align-items: center;
  overflow: hidden;
  contain: paint;
  background: #082033;
  color: #fff;
  animation: tirrenaCompanyPageFadeIn 1000ms ease both;
}

.project-cargo-hero__inner {
  position: relative;
  z-index: 1;
}

.project-cargo-hero__ghost {
  width: 790px;
  max-width: 100%;
  margin: 0 0 -44px;
  color: transparent;
  font-family: "Open Sans Tirrena", Inter, sans-serif;
  font-size: 120px;
  font-weight: 700;
  line-height: 102px;
  opacity: 0;
  transform: translateX(-90px);
  animation: tirrenaTransportHeroTextIn 1000ms ease-out 600ms forwards;
  will-change: opacity, transform;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.76);
  text-stroke: 1px rgba(255, 255, 255, 0.76);
}

.project-cargo-hero h1 {
  width: 790px;
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-size: 60px;
  font-weight: 700;
  line-height: 82.5px;
  opacity: 0;
  transform: translateX(-70px);
  animation: tirrenaTransportHeroTextIn 1000ms ease-out 1100ms forwards;
  will-change: opacity, transform;
}

.project-cargo-profile {
  overflow: hidden;
  padding-top: 100px;
  background: #fff;
}

.project-cargo-profile__grid {
  display: grid;
  min-height: 631px;
  grid-template-columns: 470px 145px 585px;
  align-items: start;
  gap: 0;
}

.project-cargo-media {
  position: relative;
  grid-column: 1;
  width: 470px;
  min-height: 631px;
}

.project-cargo-media__image {
  width: 470px;
  height: 588px;
  object-fit: cover;
}

.project-cargo-media__badge {
  position: absolute;
  top: 417px;
  left: 221px;
  display: grid;
  width: 298px;
  height: 214px;
  align-items: center;
  padding: 0 15px;
  background: #00769a url("../img/simbolo.png") center center / contain no-repeat;
  color: #fff;
  text-align: left;
}

.project-cargo-media__badge p {
  width: 268px;
  margin: 0;
  color: #fff;
  font-size: 35px;
  font-weight: 700;
  line-height: 40px;
}

.project-cargo-copy {
  width: 585px;
}

.project-cargo-copy--profile {
  grid-column: 3;
  padding-top: 33px;
}

.project-cargo-ghost {
  width: 585px;
  margin: 0 0 -44px;
  color: transparent;
  font-family: "Open Sans Tirrena", Inter, sans-serif;
  font-size: 120px;
  font-weight: 700;
  line-height: 102px;
  -webkit-text-stroke: 1px #e5e5e5;
  text-stroke: 1px #e5e5e5;
}

.project-cargo-eyebrow {
  margin: 0;
  color: var(--tirrena-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 27px;
  text-transform: uppercase;
}

.project-cargo-copy h2 {
  margin: 0;
  color: var(--tirrena-heading);
  font-size: 45px;
  font-weight: 700;
  line-height: 50px;
}

.project-cargo-copy h2 span {
  color: var(--tirrena-teal);
}

.project-cargo-text {
  margin-top: 40px;
  color: var(--tirrena-text);
  font-size: 16px;
  line-height: 27px;
}

.project-cargo-text p {
  margin: 0 0 20px;
}

.project-cargo-text p:last-child {
  margin-bottom: 0;
}

.project-cargo-band {
  overflow: hidden;
  margin-top: 100px;
  padding: 100px 0;
  background: #e0efee url("../img/tirrena/2023/03/simbolo_tirrena_project_cargo.png") 0 100% / auto no-repeat;
}

.project-cargo-band__grid {
  display: grid;
  min-height: 588px;
  grid-template-columns: 585px 132.5px 470px;
  align-items: center;
  gap: 0;
}

.project-cargo-copy--band {
  grid-column: 1;
}

.project-cargo-band__image {
  grid-column: 3;
  width: 470px;
  height: 588px;
  object-fit: cover;
}

.project-cargo-gallery {
  padding: 100px 0 80px;
  background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .project-cargo-hero,
  .project-cargo-hero__ghost,
  .project-cargo-hero h1 {
    animation: none;
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}

@media (max-width: 1180px) {
  .project-cargo-profile__grid,
  .project-cargo-band__grid {
    grid-template-columns: 1fr 1fr;
    gap: 54px;
  }

  .project-cargo-media,
  .project-cargo-copy,
  .project-cargo-band__image {
    grid-column: auto;
  }

  .project-cargo-copy,
  .project-cargo-ghost {
    width: 100%;
  }
}

@media (max-width: 960px) {
  .project-cargo-hero {
    min-height: 430px;
  }

  .project-cargo-hero__ghost {
    margin-bottom: -28px;
    font-size: 74px;
    line-height: 66px;
  }

  .project-cargo-hero h1 {
    font-size: 42px;
    line-height: 54px;
  }

  .project-cargo-profile {
    padding: 70px 0;
  }

  .project-cargo-profile__grid,
  .project-cargo-band__grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .project-cargo-copy--profile {
    padding-top: 0;
  }

  .project-cargo-media,
  .project-cargo-copy--profile,
  .project-cargo-copy--band,
  .project-cargo-band__image {
    grid-column: auto;
  }

  .project-cargo-media,
  .project-cargo-media__image,
  .project-cargo-band__image {
    width: min(470px, 100%);
  }

  .project-cargo-media {
    min-height: 0;
  }

  .project-cargo-media__image,
  .project-cargo-band__image {
    height: auto;
  }

  .project-cargo-media__badge {
    top: auto;
    right: 0;
    bottom: 0;
    left: auto;
  }

  .project-cargo-ghost {
    margin-bottom: -20px;
    font-size: 66px;
    line-height: 66px;
  }

  .project-cargo-copy h2 {
    font-size: 34px;
    line-height: 40px;
  }

  .project-cargo-band {
    margin-top: 0;
    padding: 70px 0;
    background-size: 46%;
  }

  .project-cargo-gallery {
    padding: 70px 0 60px;
  }

}

@media (max-width: 560px) {
  .project-cargo-media__badge {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 16px;
    padding: 42px 15px;
  }

  .project-cargo-media__badge p {
    width: 100%;
    font-size: 30px;
    line-height: 36px;
  }

}
