header.rebrand-hero-carousel-present::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background: linear-gradient(to right, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  backdrop-filter: blur(10px);
  /* Blur effect */
  z-index: -1;
  /* Make sure the pseudo-element is behind the content */
}

.rebrand-hero-carousel .cta-fill-arrow a:hover::before,
.rebrand-hero-carousel .cta-fill-arrow a:active::before {
  width: 0;
}
.rebrand-hero-carousel .hero_gradient {
  width: 100%;
  max-height: calc(575px - 10vh);
  position: absolute;
  bottom: -1px;
  z-index: 1;
  object-fit: fill;
  pointer-events: none;
  transition: all 0.5s ease-in-out;
}
@media only screen and (min-width: 576px) {
  .rebrand-hero-carousel .hero_gradient {
    max-height: 575px;
  }
}
@media only screen and (min-width: 992px) {
  .rebrand-hero-carousel .hero_gradient {
    display: none;
    transform: translateX(-100%);
    max-height: 100vh;
    width: 100%;
    height: 101%;
    object-fit: cover;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 100% 100%, 39% 100%, 0 81%);
  }
}
@media only screen and (min-width: 0px) and (max-width: 375px) {
  .rebrand-hero-carousel .hero_gradient {
    max-height: 450px;
  }
}
@media only screen and (min-width: 768px) {
  .rebrand-hero-carousel .hero_gradient {
    animation: slideInFromLeft 1.8s forwards 1s;
  }
}
.rebrand-hero-carousel .image-container {
  position: absolute;
  width: 100%;
  /* Set your desired width */
  height: 100%;
  /* Set your desired height */
  overflow: hidden;
  pointer-events: none;
}
.rebrand-hero-carousel .image-container .hero_gradient {
  display: block;
}
.rebrand-hero-carousel .image-container::before {
  transform: translateX(-100%);
  content: "";
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background-color: rgb(255, 255, 255);
  /* White background with 50% opacity */
  pointer-events: none;
  /* Ensures the pseudo-element doesn't interfere with interactions */
  animation: slideInFromLeft 1.2s forwards 1.5s;
}
.rebrand-hero-carousel .rebrand-container .content-wrapper {
  overflow: hidden;
  color: #243508;
  max-width: 617px;
  position: absolute;
  top: 60%;
  text-wrap: balance;
  transform: translateY(-50%);
  pointer-events: none;
  padding-top: 150px;
  z-index: 2;
}
@media only screen and (min-width: 992px) {
  .rebrand-hero-carousel .rebrand-container .content-wrapper {
    top: 40%;
    transform: translateY(-40%);
  }
}
@media only screen and (min-width: 0px) and (max-width: 375px) {
  .rebrand-hero-carousel .rebrand-container .content-wrapper {
    top: 55%;
  }
}
.rebrand-hero-carousel .rebrand-container .content-wrapper h2 {
  font-size: 24px;
  line-height: 14px;
  margin-bottom: 16px;
  vertical-align: center;
  color: inherit;
  animation: slideInFromBottom 1s ease-out;
  pointer-events: all;
}
@media only screen and (min-width: 992px) {
  .rebrand-hero-carousel .rebrand-container .content-wrapper h2 {
    font-size: 24px;
    line-height: 14px;
  }
}
.rebrand-hero-carousel .rebrand-container .content-wrapper .text-wrap {
  animation: slideInFromBottom 0.8s cubic-bezier(0, 0.18, 1, 1.25);
}
.rebrand-hero-carousel .rebrand-container .content-wrapper .text-wrap p {
  font-size: 3.5rem;
  line-height: 3.5rem;
  margin-bottom: 10px;
  color: inherit;
  pointer-events: all;
}
@media only screen and (min-width: 992px) {
  .rebrand-hero-carousel .rebrand-container .content-wrapper .text-wrap p {
    font-size: clamp(3.5rem, 3.5vw + 0.5rem, 5rem);
    line-height: clamp(3.5rem, 4vw + 0.5rem, 5rem);
  }
}
.rebrand-hero-carousel .rebrand-container .content-wrapper .text-wrap .cta-fill-arrow {
  animation: slideInFromBottom 0.6s ease-out;
  background-color: transparent;
  pointer-events: all;
}
.rebrand-hero-carousel .rebrand-container .content-wrapper .text-wrap .cta-fill-arrow a {
  color: inherit;
}
.rebrand-hero-carousel .rebrand-container .content-wrapper .text-wrap .cta-fill-arrow a:hover::before {
  width: 0;
}
.rebrand-hero-carousel .rebrand-container .content-wrapper .text-wrap .cta-fill-arrow span {
  background-color: transparent !important;
  background-image: none;
  border: none;
  font-size: 2.5rem;
  line-height: 4rem;
  padding-left: 0;
  pointer-events: all;
}
.rebrand-hero-carousel .slides-wrapper {
  padding-bottom: 0;
  max-height: 98vh;
}
@media only screen and (min-width: 768px) {
  .rebrand-hero-carousel .slides-wrapper {
    animation: slideInFromRight 1s linear;
  }
}
.rebrand-hero-carousel .slides-wrapper .slide-item-wrap video,
.rebrand-hero-carousel .slides-wrapper .slide-item-wrap img {
  height: 99%;
  padding-left: 15px;
  padding-right: 15px;
  animation-fill-mode: forwards;
  clip-path: none;
}
@media only screen and (min-width: 768px) {
  .rebrand-hero-carousel .slides-wrapper .slide-item-wrap video,
  .rebrand-hero-carousel .slides-wrapper .slide-item-wrap img {
    animation: clipPath 1s linear;
  }
}
@media only screen and (min-width: 576px) {
  .rebrand-hero-carousel .slides-wrapper .slide-item-wrap video,
  .rebrand-hero-carousel .slides-wrapper .slide-item-wrap img {
    height: 98vh;
  }
}
.rebrand-hero-carousel .slides-wrapper .slide-item-wrap img {
  height: 95vh;
}
.rebrand-hero-carousel .slides-wrapper .content-wrapper {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}
.rebrand-hero-carousel .video-img-animate {
  animation: slideInFromRight 0.6s linear, clipPath 0.6s linear 0.4s;
  animation-fill-mode: forwards;
}
.rebrand-hero-carousel .video-slide-in {
  animation: slideInFromRight 0.6s linear;
  animation-fill-mode: forwards;
}
.rebrand-hero-carousel .play-pause-btn .btn-wrap {
  border: unset;
  width: 32px;
  height: 32px;
  background-color: #243508;
}
.rebrand-hero-carousel .play-pause-btn .toggle-btn {
  border-width: 0px 0 0px 8.73px;
  border-color: transparent transparent transparent #bff355;
}
.rebrand-hero-carousel .play-pause-btn .btn-wrap.play .toggle-btn {
  border-style: solid;
  border-width: 10px 0 10px 10px;
}
.rebrand-hero-carousel .slick-dots {
  position: absolute;
  text-align: unset;
  left: calc(50% - 520px);
  z-index: 3;
  bottom: 30px;
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .rebrand-hero-carousel .slick-dots {
    left: calc(50% - 350px);
    text-align: right;
    z-index: 2;
    text-align: unset;
  }
}
@media only screen and (min-width: 1200px) and (max-width: 1300px) {
  .rebrand-hero-carousel .slick-dots {
    left: calc(50% - 450px);
    text-align: unset;
  }
}
@media only screen and (min-width: 0) and (max-width: 768px) {
  .rebrand-hero-carousel .slick-dots {
    left: 0;
    text-align: unset;
    padding-left: 15px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 992px) {
  .rebrand-hero-carousel .slick-dots {
    left: calc(50% - 350px);
    text-align: unset;
    padding-left: 15px;
  }
}
@media only screen and (min-width: 992px) {
  .rebrand-hero-carousel .slick-dots {
    bottom: 0;
    right: unset;
  }
}
.rebrand-hero-carousel .slick-dots li button:before {
  content: "";
  width: 16px;
  height: 16px;
  line-height: 16px;
  border: unset;
  background-color: #E8DCD5;
  opacity: 1;
}
.rebrand-hero-carousel .slick-dots li.slick-active button:before {
  background-color: #243508;
  opacity: 1;
  border: none;
}
.rebrand-hero-carousel .play-pause-btn {
  position: absolute;
  width: auto;
  z-index: 2;
  left: calc(50% - 608px);
}
@media only screen and (min-width: 992px) {
  .rebrand-hero-carousel .play-pause-btn {
    bottom: 0;
    text-align: right;
    right: unset;
  }
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .rebrand-hero-carousel .play-pause-btn {
    left: calc(50% - 480px);
  }
}
@media only screen and (min-width: 1200px) and (max-width: 1300px) {
  .rebrand-hero-carousel .play-pause-btn {
    left: calc(50% - 564px);
  }
}
@keyframes clipPath {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
@keyframes slideInFromBottom {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

.rebrand-hero-carousel .scroll-down-btn-wrap {
  display: none;
}

body.on-page-editor .rebrand-hero-carousel .image-container::before {
  display: none;
}
body.on-page-editor .rebrand-hero-carousel .hero_gradient {
  display: none;
}
body.on-page-editor .rebrand-hero-carousel .rebrand-container .content-wrapper {
  display: none;
}
body.on-page-editor .rebrand-hero-carousel .slides-wrapper .content-wrapper {
  opacity: 1;
  visibility: visible;
  position: absolute;
}
body.on-page-editor .rebrand-hero-carousel .play-pause-btn {
  bottom: 30px;
}
body.on-page-editor .rebrand-hero-carousel .slick-dots {
  bottom: 30px;
}
body.on-page-editor .rebrand-hero-carousel .slick-dots li.slick-active button:before {
  background-color: #bff355;
}
body.on-page-editor .rebrand-hero-carousel .cta-fill-arrow.watch-video-cta {
  display: none;
}
body.on-page-editor .rebrand-hero-carousel .sq-date {
  display: none;
}

.on-page-editor .rebrand-hero-carousel .cta-fill-arrow {
  overflow: hidden;
}
.on-page-editor .rebrand-hero-carousel .cta-fill-arrow a span {
  background-color: #bff355;
  background-image: unset;
  padding: 14px 50px 14px 26px;
  height: 60px;
  border: unset;
  font-size: 20px;
  font-weight: 500;
  position: relative;
}
.on-page-editor .rebrand-hero-carousel .cta-fill-arrow a span::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  transition: left 0.3s ease-in-out;
}
.on-page-editor .rebrand-hero-carousel .cta-fill-arrow a::after {
  width: 32px;
  height: 32px;
  background-image: url(/-/media/Themes/HoganLovells/site-theme-name/images/common/cta-transform-arrow);
}
.on-page-editor .rebrand-hero-carousel .cta-fill-arrow a:hover {
  min-width: unset !important;
}
.on-page-editor .rebrand-hero-carousel .cta-fill-arrow a:hover span {
  text-decoration: none;
  background-position: left 105%;
  color: #243508;
  background-image: unset;
}
.on-page-editor .rebrand-hero-carousel .cta-fill-arrow a:hover span::after {
  left: 0;
}
.on-page-editor .rebrand-hero-carousel .cta-fill-arrow a:hover::after {
  transform: translateY(-50%) rotate(45deg);
  left: calc(100% - 40px);
  transition: transform 0.3s ease;
}

@media screen and (max-width: 992px) and (min-width: 768px) {
  .rebrand-hero-carousel .play-pause-btn {
    display: none;
  }
}