/* COLORS */
/* TYPOGRAPHY */
/* ---- MEDIA QUERIES ----- */
.left-right.gray {
  background-color: rgba(247, 247, 247, 0.95);
  position: relative;
}
.left-right.gray::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  border-top: 1.8rem solid #fff;
  border-left: 100vw solid transparent;
}
.left-right.gray::after {
  content: "";
  position: absolute;
  z-index: 4;
  bottom: 0;
  right: 0;
  left: 0;
  border-left: 100vw solid transparent;
  border-bottom: 4.5rem solid #fff;
}
.left-right .content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7.8rem;
}
.left-right .content.left .text-content {
  order: 2;
}
.left-right .content.left .image {
  order: 1;
}
.left-right .content.right .text-content {
  order: 1;
}
.left-right .content.right .image {
  order: 2;
}
.left-right .content.top {
  grid-template-columns: 1fr;
  gap: 0;
  gap: 3.4rem;
}
.left-right .content.top .image {
  order: 1;
  max-width: 90rem;
  margin: 0 auto;
}
.left-right .content.top .text-content {
  order: 2;
  max-width: 76.2rem;
  margin: 0 auto;
  padding: 0;
}
.left-right .text-content {
  padding: 6.1rem 0 0;
}
.left-right .heading {
  margin: 0 0 1.2rem;
}
.left-right .subheading {
  font-size: 2.6rem;
  line-height: 3rem;
  font-weight: 500;
  font-family: "Khand", sans-serif;
  margin: 0 0 2.6rem;
}
.left-right .button {
  margin: 2.2rem 0 0;
}
.left-right .tags {
  display: flex;
  gap: 0.8rem 1.3rem;
  margin: 4.4rem 0 0;
  max-width: 48rem;
}
.left-right .image-container {
  overflow: hidden;
  border-radius: 0.9rem;
}

@media (max-width: 1280px) {
  .left-right .content {
    gap: 7.3rem;
  }
  .left-right .content.top {
    gap: 4.2rem;
  }
  .left-right .content.top .image {
    max-width: 74rem;
    margin: 0 auto;
  }
  .left-right .content.top .text-content {
    max-width: 61rem;
  }
  .left-right .text-content {
    padding: 3.2rem 0 0;
  }
  .left-right .heading {
    margin: 0 0 1.5rem;
  }
  .left-right .subheading {
    font-size: 2.2rem;
    line-height: 2.5rem;
  }
  .left-right .button {
    margin: 2rem 0 0;
  }
}
@media (max-width: 768px) {
  .left-right .content {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    max-width: 39.6rem;
    margin: 0 auto;
  }
  .left-right .content.left .text-content {
    order: 2;
  }
  .left-right .content.left .image {
    order: 1;
  }
  .left-right .content.right .text-content {
    order: 2;
  }
  .left-right .content.right .image {
    order: 1;
  }
  .left-right .content.top {
    max-width: 77rem;
  }
  .left-right .content.top .text-content {
    max-width: 52rem;
  }
  .left-right .content .button {
    margin: 1.9rem 0 0;
  }
  .left-right .text-content {
    padding: 0;
  }
}
@media (max-width: 450px) {
  .left-right.gray::before {
    content: "";
    position: absolute;
    z-index: 4;
    top: -1.3rem;
    left: 0;
    right: 0;
    border-left: 100vw solid #f7f7f7;
    border-top: 1.3rem solid transparent;
  }
  .left-right.gray::after {
    content: none;
  }
  .left-right .content {
    padding: 0 27px;
  }
  .left-right .content.top {
    padding: 0;
    grid-column: full-width !important;
  }
  .left-right .content.top .text-content {
    padding: 0 54px;
  }
  .left-right .content.top .image-container {
    border-radius: 0;
  }
}