.jt-portfolio-page,
.jt-portfolio-page * ,
.jt-portfolio-page *::before,
.jt-portfolio-page *::after {
  box-sizing: border-box;
}

.jt-portfolio-page {
  background: #ffffff;
  color: #212429;
  overflow-x: hidden;
}

.jt-portfolio-page a {
  color: inherit;
  text-decoration: none;
}

.jt-portfolio-page img,
.jt-portfolio-page video,
.jt-portfolio-page iframe {
  display: block;
  max-width: 100%;
}

.jt-portfolio-page .display-table {
  width: 100%;
  height: 100%;
  display: table;
}

.jt-portfolio-page .table-cell {
  display: table-cell;
  vertical-align: middle;
}

.jt-portfolio-page .hero {
  height: 100vh;
  position: relative;
  color: #ffffff;
}

.jt-portfolio-page .hero .hero-content {
  text-align: center;
  position: absolute;
  overflow: hidden;
  z-index: 10;
  width: 100%;
  height: 100%;
}

.jt-portfolio-page .hero-single {
  height: 81px;
}

.jt-portfolio-page .cinema-container {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 0;
  position: relative;
  margin-bottom: 25px;
}

.jt-portfolio-page .recorte-container {
  max-height: 100vh;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 0;
  position: relative;
  margin-bottom: 25px;
}

.jt-portfolio-page footer {
  text-align: center;
  padding: 25px 0;
  width: 100%;
}

.jt-portfolio-page .copyright-box {
  font-size: 0.75rem;
}

.jt-portfolio-page footer .copyright,
.jt-portfolio-page footer .credits {
  text-align: center;
  margin-bottom: 0.3rem;
  font-size: inherit;
}

.jt-portfolio-page .back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #cccccc;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.jt-portfolio-page .back-to-top i {
  font-size: 1.75rem;
  color: #ffffff;
  line-height: 0;
}

.jt-portfolio-page .back-to-top:hover {
  background: rgb(93, 148, 105);
  color: #ffffff;
}

.jt-portfolio-page .back-to-top.active {
  visibility: visible;
  opacity: 1;
}

.jt-portfolio-page .behind-scenes-grid,
.jt-portfolio-page .too-good-to-go-grid,
.jt-portfolio-page .immersive-gallery-grid,
.jt-portfolio-page .ml2-grid,
.jt-portfolio-page .ml3-grid,
.jt-portfolio-page .ml-grid {
  width: 100%;
}

.jt-portfolio-page .ml2-section {
  padding: 0 5%;
  content-visibility: auto;
  contain-intrinsic-size: 400px 600px;
}

.jt-portfolio-page .ml2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
  content-visibility: auto;
}

.jt-portfolio-page .ml3-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.jt-portfolio-page .ml2-card {
  margin: 0;
}

.jt-portfolio-page .ml2-title {
  font-size: 15px;
  text-align: center;
  margin: 0 0 10px;
}

.jt-portfolio-page .ml2-h2 {
  font-size: 15px;
  margin: 0 0 6px;
}

.jt-portfolio-page .ml2-p {
  font-size: 14px;
  margin: 0;
}

.jt-portfolio-page .ml2-video {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #000000;
  border-radius: 6px;
  overflow: hidden;
}

.jt-portfolio-page .ml2-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.jt-portfolio-page .ml-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.jt-portfolio-page .ml-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  overflow: hidden;
  border-radius: 6px;
}

.jt-portfolio-page .ml-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.jt-portfolio-page .video-rec,
.jt-portfolio-page video {
  content-visibility: auto;
}

@media (max-width: 1100px) {
  .jt-portfolio-page .ml2-grid,
  .jt-portfolio-page .ml-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .jt-portfolio-page .behind-scenes-grid,
  .jt-portfolio-page .too-good-to-go-grid,
  .jt-portfolio-page .immersive-gallery-grid,
  .jt-portfolio-page .ml3-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    gap: 15px !important;
  }

  .jt-portfolio-page .behind-scenes-grid > div,
  .jt-portfolio-page .too-good-to-go-grid > div,
  .jt-portfolio-page .immersive-gallery-grid > div {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .jt-portfolio-page .immersive-gallery-grid > div {
    min-height: 200px !important;
  }

  .jt-portfolio-page .behind-scenes-grid div[style*="flex-direction: row"],
  .jt-portfolio-page .too-good-to-go-grid div[style*="flex-direction: row"],
  .jt-portfolio-page .immersive-gallery-grid div[style*="flex-direction: row"] {
    flex-direction: column !important;
  }

  .jt-portfolio-page .behind-scenes-grid div[style*="width:"],
  .jt-portfolio-page .behind-scenes-grid img[style*="width:"],
  .jt-portfolio-page .behind-scenes-grid video[style*="width: 50%"],
  .jt-portfolio-page .too-good-to-go-grid div[style*="width: 50%"],
  .jt-portfolio-page .too-good-to-go-grid div[style*="width: 46%"],
  .jt-portfolio-page .immersive-gallery-grid div[style*="flex-direction: row"] div {
    width: 100% !important;
    flex: 1 !important;
  }

  .jt-portfolio-page .ml2-section {
    padding: 0 5%;
  }

  .jt-portfolio-page .ml2-grid {
    gap: 16px;
  }

  .jt-portfolio-page .ml2-title {
    font-size: 14px;
  }

  .jt-portfolio-page .video-rec {
    height: auto;
    min-height: 0;
    max-height: none;
  }
}
