/* input(121,5): run-time error CSS1035: Expected colon, found '{'
input(146,5): run-time error CSS1035: Expected colon, found '{'
input(206,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '&'
input(539,16): run-time error CSS1035: Expected colon, found '{'
input(562,20): run-time error CSS1035: Expected colon, found '{'
input(648,22): run-time error CSS1035: Expected colon, found '{'
input(679,18): run-time error CSS1035: Expected colon, found '{'
input(926,18): run-time error CSS1035: Expected colon, found '{'
input(1406,7): run-time error CSS1035: Expected colon, found '{'
input(1641,9): run-time error CSS1035: Expected colon, found '{' */
:root {
  --dulux-dark-blue: #0b1b34;
}

/* 4-Column Grid Carousel Component Styles */

.grid-carousel {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.color-grid-carousel {
  padding: 40px 40px;
  position: relative;
  width: 100%;
  margin: 0 auto;
}

/* Header layout styles */
.carousel-header {
  width: 100%;
}

.carousel-title {
  font-family: var(--font-family-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 120%;
  letter-spacing: 0.64px;
  color: var(--secondary-color);
  margin-bottom: 24px;
}

.first-word {
  border-bottom: 4px solid var(--brand-red);
}

.desc-row {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}

.carousel-description {
  font-size: 16px;
  flex: 1;
}

/* Button styles */
.btn-arrow {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-arrow a {
  color: var(--dulux-dark-blue) !important;
  font-weight: 500;
  font-size: 16px;
}

.btn-arrow:hover .link-text {
  text-decoration: underline;
}

.btn-arrow a i {
  padding-left: 5px;
}

.btn-arrow:hover a i {
  color: #002c65;
}

.btn-arrow .fa-arrow-right {
  transition: transform 0.3s ease;
}

.btn-arrow:hover .fa-arrow-right {
  transform: translateX(5px);
}

/* Slick Override CSS */
.grid-carousel .slick-slide {
  margin: 0 12px;
  height: fit-content !important;
}

.small-item-listing .grid-carousel .slick-slide:not(:last-child) {
  margin-left: 0;
  margin-right: 24px;
}

.small-item-listing .grid-carousel .slick-slide:last-child {
  margin-left: 0;
  margin-right: 0;
}

.grid-carousel .slick-list {
  margin: 0 -12px;
}

.small-item-listing .grid-carousel .slick-list {
  margin: unset;
}

.grid-carousel .slick-track:before,
.slick-track:after {
  display: unset;
  content: unset;
}

/* Grid Item Styles */
.grid-item_small-item-listing {
  height: 100%;
  padding: 24px;
  background-color: var(--gold-light-color);
  min-height: 200px;
  a {
    text-decoration: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  a:hover {
    text-decoration: underline;
    color: var(--primary-color);
  }
}

.grid-image_small-item-listing {
  aspect-ratio: 73 / 75;
  
}

.grid-item {
  height: auto;
  width: 100%;
}

.grid-item {
  a {
    text-decoration: none;
  }

  a:hover {
    text-decoration: underline;
    color: var(--white-color);
  }
}

.grid-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.grid-image_small-item-listing {
  position: relative;
  max-height: 75px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.grid-image_small-item-listing img {
  object-fit: contain;
  max-width: 100%;
  max-height: 75px;
  margin: 0 auto;
  display: block;
}

.grid-image {
  position: relative;
  width: 100%;
  aspect-ratio: 190 / 170;
}

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

.grid-content {
  border: none;
  color: black;
  z-index: 1;
  border-radius: 0;
}

.grid-title {
    padding-top: 8px;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    align-items: center;

    &.text-center {
        a {
            width: 100%;

            h4 {
                text-align: center;
            }

            &:hover {
                color: var(--primary-color);
            }
        }
    }

     h3 {
      margin: 0;
      font-family: var(--font-family-base);
      font-size: 26px;
      font-weight: 500;
      line-height: 120%;
      color: var(--primary-color);
      -webkit-box-orient: vertical;
      flex: 1;
    }

    h4 {
        margin: 0;
        font-family: var(--font-family-base);
        font-size: 18px;
        font-weight: 500;
        line-height: 120%;
        color: var(--primary-color);
        -webkit-box-orient: vertical;
        flex: 1;
    }
}

.grid-description {
  padding: 0 15px 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.grid-description p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: black;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hover Effects */
.grid-carousel .grid-item:hover .grid-content {
  transform: translateY(0) !important;
  /* Slide up to show full content */
}

.grid-carousel .grid-item:hover .grid-description {
  opacity: 1;
}

/* Removed hover zoom effect as requested */

/* Title Arrow Styles */
.title-arrow {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Slick Carousel Custom Styles */
.grid-items-container {
  position: relative;
  height: fit-content !important;
}

.grid-small-items-container {
  position: relative;
}

/* Custom Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-90%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.25);
  padding: 12px;
  border: none;
}

.small-item-listing .carousel-arrow {
  top: 57%;
}

.project-listing-content-mobile-view .carousel-arrow {
  top: 26%;
}

.step-cards-with-media__mobile-view .carousel-arrow {
  top: 50%;
}

.carousel-arrow.prev {
  left: 10px;
}

.carousel-arrow.next {
  right: 10px;
}

.small-item-listing .carousel-arrow.prev {
  left: 0;
}

.small-item-listing .carousel-arrow.next {
  right: -14px;
}

.carousel-arrow i {
  font-size: 25px !important;
  color: #333;
}

.carousel-arrow.disabled {
  cursor: default;
  background: rgba(255, 255, 255, 0.15);
}

.carousel-arrow.disabled .fa-chevron-left,
.carousel-arrow.disabled .fa-chevron-right {
  color: rgba(255, 255, 255, 0.5) !important;
}

.small-item-listing .carousel-arrow.disabled .fa-chevron-left,
.small-item-listing .carousel-arrow.disabled .fa-chevron-right {
  color: #e5e5e580 !important;
}

.step-cards-with-media__mobile-view .carousel-arrow.disabled .fa-chevron-left,
.step-cards-with-media__mobile-view .carousel-arrow.disabled .fa-chevron-right,
.cross-sell-carousel .carousel-arrow.disabled .fa-chevron-left,
.cross-sell-carousel .carousel-arrow.disabled .fa-chevron-right {
  color: #e5e5e580 !important;
}

/* Tab Indicator */
.tab-indicator {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 25px;
  position: relative;
}

.grid-carousel-multiple-type .tab-indicator {
  margin-top: 9px;
}

.slide-counter {
  font-size: 12px;
  font-weight: 400;
  color: var(--primary-color);
  line-height: 150%;
  margin-bottom: 8px;
}

.project-listing-content-mobile-view .slide-counter {
  color: var(--primary-color);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  margin-left: 4px;
}

.step-cards-with-media__mobile-view .slide-counter {
  color: var(--primary-color);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  margin-left: 4px;
  margin-bottom: 0;
}

.tab-segments {
  display: flex;
  width: 100%;
  height: 4px;
  /* Space between segments */
}

.tab-segment {
  flex: 1;
  height: 100%;
  background-color: #e5e5e5;
  /* Light gray for inactive segments */
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.tab-segment.active {
  background-color: var(--secondary-color);
  /* Dark blue/navy color for active segments */
}

/* Hide default Slick Dots */
.slick-dots {
  display: none !important;
}

.grid-carousel-multiple-type .video-iframe-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  z-index: 9999;
}

.video-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-iframe-container .ytp-show-cards-title {
  display: none;
}

.grid-carousel-multiple-type .slick-slide {
  margin: 0 12px;
}

.grid-carousel-multiple-type .grid-image {
  aspect-ratio: 406 / 320 !important;
}

.grid-carousel-multiple-type .grid-video-content h3 {
  color: var(--primary-color);
  font-size: 26px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  text-align: left;
}

.grid-carousel-multiple-type .grid-title {
  padding: 0;
  margin-top: 16px;
}

.grid-carousel-multiple-type .title-arrow {
  justify-content: flex-end;
}

.grid-carousel-multiple-type .slick-list {
  margin: 0 -10px;
}

.grid-carousel-multiple-type .page-container {
  padding-left: 0;
  padding-right: 0;
}

.grid-carousel-multiple-type .btn-view-all {
  padding: 16px 24px;
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  color: var(--white-color);
}

.grid-carousel-multiple-type .btn-view-all a {
  color: var(--white-color);
  font-size: 16px;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: -0.32px;
  text-decoration: none;
}

.grid-carousel-multiple-type .btn-view-all a:hover {
  text-decoration: underline;
}

.grid-carousel-multiple-type .btn-view-all .link-text {
  margin-right: 12px;
}
.grid-carousel-multiple-type .carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.grid-carousel-multiple-type .discover-more-grid .carousel-header {
  margin-bottom: 0;
}
.grid-carousel-multiple-type .carousel-title {
  margin-bottom: 0;
}

.grid-carousel-multiple-type .grid-image {
  width: auto;
  height: auto;
}

.grid-carousel-multiple-type .title-arrow {
  color: var(--secondary-color);
}

.grid-carousel-multiple-type .title-arrow:hover {
  text-decoration: none;
}

.cross-sell-carousel {
  .slick-slide {
    padding-top: 6px;
  }

  .carousel-title {
    color: var(--secondary-color);
    font-family: var(--font-family-heading);
    font-size: 32px;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 0.64px;
  }

  .carousel-header {
    margin-top: 32px;
  }

  .slick-slide {
    margin: 0 !important;
  }
}
/* project-grid-carousel */
.project-grid-carousel {
  .carousel-header {
    flex-direction: column;
  }

  .carousel-arrow {
    transform: translateY(-50%);
    top: 50%;
  }
  .grid-image {
    aspect-ratio: 1.32;
    position: relative;
  }
  .overlay-content__cta-wrapper {
    position: absolute;
    bottom: 0;
    padding: 0 24px;
    bottom: 24px;
  }

  .carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 24px;
  }

  .view-all-btn {
    font-size: 16px;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: -0.32px;
    padding: 16px;
  }

  .view-all-btn .left-spacer {
    margin-left: 28px;
  }
  .view-all-btn p {
    margin-bottom: 0;
  }

  .desc-row {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
    line-height: 140%;
    margin-top: 16px;
    margin-bottom: 16px;
  }

  .desc-row p {
    margin-bottom: 0;
  }

  .carousel-title {
    margin-bottom: 0;
    line-height: 130%;
  }

  .hero-banner__overlay-content__cta {
    padding: 12px;
  }
  .hero-banner__overlay-content__cta p {
    margin-bottom: 0;
  }
  .hero-banner__overlay-content__cta .left-spacer {
    margin-left: 30px;
  }

  .project__listing-widget-title {
    margin-bottom: 8px;
  }

  .carousel-arrow {
    display: none !important;
  }

  @media (max-width: 768px) {
    .carousel-title {
      line-height: 175%;
    }
  }
}

@media (min-width: 992px) {
  .project-grid-carousel {
    .carousel-header {
      flex-direction: row;
      margin-bottom: 0;
    }
    .desc-row {
      margin-top: 24px;
      margin-bottom: 24px;
    }

    .carousel-arrow {
      display: inline-block !important;
      padding: 9px;
    }

    .discover-more-grid  .desc-row {
      margin-top: 24px;
      margin-bottom: 24px;
    }
  }

  .wrapper-container {
    margin-top: 30px;
  }
  .slide-counter {
    font-size: 16px;
  }
  .carousel-title {
    line-height: 140%;
  }

  .cross-sell-carousel {
    .slick-slide {
      padding-top: 5px;
    }

    .carousel-title {
      color: var(--secondary-color);
      font-family: var(--font-family-heading);
      font-size: 32px;
      font-weight: 700;
      line-height: 120%;
      letter-spacing: 0.64px;
    }
  }
}

@media (max-width: 767.98px) {

  .slick-slide {
    /* width: 249px !important; */
  }
  .carousel-arrow.next {
    right: -16px;
  }

  .carousel-arrow.prev {
    left: 0px;
  }
  .color-grid-carousel {
    padding: 32px 24px;
  }

  .small-item-listing .grid-carousel {
    padding-left: 0;
    padding-right: 0;
  }

  .grid-carousel .slick-slide {
    margin: 0 12px;
  }

  .help-tools-banner__mobile-view.grid-carousel .slick-slide {
    margin: 0 8px;
    max-width: 249px;
  }

  .tips-block-with-image .grid-carousel .slick-slide {
    margin: 0 8px;
    max-width: 267px;
    width: 267px;
  }

  .tips-block-with-image .slide-counter {
    margin-bottom: 12px;
  }

  .grid-title h3 {
    font-size: 20px;
  }

  .grid-title h4 {
    font-size: 16px;
  }

  .carousel-header {
    margin-bottom: 0;
  }

  .carousel-title {
    font-size: 24px;
    font-family: var(--font-family-heading);
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 0.48px;
  }

  .carousel-description {
    margin-bottom: 0;
  }

  .grid-carousel .slick-list {
    padding: 0 30% 0 5px !important;
    margin-right: -5%;
  }

  .project-grid-carousel .slick-list {
    padding: 0 30% 0 0 !important;
    margin-right: -5%;
  }

  .discover-more-grid.project-grid-carousel .slick-list {
    padding: 0 !important;
    margin: 0 -16px !important;
  }

  .grid-carousel-multiple-type .discover-more-grid .slick-slide {
    margin: 0 16px !important;
  }

  .grid-carousel-multiple-type .discover-more-grid .carousel-arrow {
    display: flex !important;
  }
  .help-tools-banner__mobile-view .project-grid-carousel .slick-list {
    margin-right: 0;
  }

  .color-grid-carousel .slick-list {
    padding: 0 25% 0 5px !important;
    margin-right: -6.8%;
  }

  .small-item-listing .slick-list {
    padding: unset !important;
    margin-right: unset !important;
    margin: unset !important;
  }

  .project-listing-content-mobile-view .slick-list {
    padding: unset !important;
    margin: unset !important;
  }

  .step-cards-with-media__mobile-view .slick-list {
    padding: unset !important;
    margin: unset !important;
  }

  .tab-progress-wrapper {
    width: 98%;
    height: 3px;
    background-color: #cbccce;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 2px;
    margin-left: 3px;
  }

  .tab-progress-bar {
    height: 100%;
    background-color: var(--dulux-dark-blue);
    width: 0%;
    border-radius: 3px;
    transition: width 0.3s ease;
  }

  .slide-counter {
    margin-left: 3px;
  }

  .desc-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .btn-arrow {
    width: 100%;
    justify-content: start;
  }

  .btn-arrow a {
    font-size: 16px;
  }

  .grid-image {
    height: auto;
  }

  .grid-description p {
    font-size: 16px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  /* Responsive tab indicator */
  .slide-counter {
    font-size: 12px;
  }

  .tab-segments {
    height: 4px;
  }

  .grid-carousel-multiple-type .tab-indicator {
    margin-top: 9px;
  }

  .grid-carousel .tab-indicator {
    margin-top: 25px;
  }
  .step-cards-with-media__mobile-view .tab-indicator {
    margin-top: 16px;
  }
  .carousel-header .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-cta {
    width: 100%;
    margin-top: 10px;
  }

  .grid-item .grid-content {
    transform: translateY(calc(100% - 58px));
  }

  .grid-item.no-description .grid-content {
    transform: translateY(0);
    max-height: 58px !important;
  }

  .step-cards-with-media__mobile-view.grid-carousel-multiple-type
    .carousel-arrow.next {
    right: 0;
  }

  .grid-carousel-multiple-type .carousel-arrow.next {
    right: 10px;
  }

  .grid-carousel-multiple-type .carousel-arrow.prev {
    left: 10px;
  }

  .grid-carousel-multiple-type.step-cards-with-media__mobile-view
    .carousel-arrow.prev {
    left: 0;
  }

  .grid-carousel-multiple-type .carousel-arrow.next,
  .grid-carousel-multiple-type .carousel-arrow.prev {
    padding: 20px;
  }

  .grid-carousel-multiple-type .carousel-header {
    flex-direction: column;
    gap: 16px;
    align-items: start !important;
  }

  .grid-carousel-multiple-type .btn-view-all {
    padding: 12px !important;
  }
  .grid-carousel-multiple-type .title-arrow {
    justify-content: center;
  }
  .cross-sell-carousel {
    .slick-slide {
      padding-top: 0;
    }

    .carousel-title {
      color: var(--secondary-color);
      font-family: var(--font-family-heading);
      font-size: 24px;
      font-weight: 700;
      line-height: 120%;
      letter-spacing: 0.48px;
    }
    .carousel-header {
      margin-top: 32px;
      margin-bottom: 20px;
    }
  }
}

@media (max-width: 376px) {
  .color-grid-carousel .slick-list {
    margin-right: -8%;
  }

  .help-tools-banner__mobile-view.grid-carousel .slick-list {
    padding: 0 10% 0 0 !important;
  }
}

/* Ensure carousel item is always active when there's only one */
.carousel-item.single-page {
  display: block;
}

.grid-item.no-description .grid-content {
  transform: translateY(0);
  max-height: 74px;
}
.grid-item.no-description:hover .grid-content {
  transform: translateY(0);
}

.grid-carousel-multiple-type .video-iframe-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.video-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-iframe-container .ytp-show-cards-title {
  display: none;
}

.grid-carousel-multiple-type .slick-slide {
  margin: 0 12px;
}

.grid-carousel-multiple-type .grid-image {
  aspect-ratio: 406 / 320 !important;
}

.grid-carousel-multiple-type .grid-title {
  padding: 0;
  margin-top: 16px;
}

.grid-carousel-multiple-type .slick-list {
  margin: 0 -12px;
}

.grid-carousel-multiple-type .page-container {
  padding-left: 0;
  padding-right: 0;
}

.grid-carousel-multiple-type .btn-view-all {
  padding: 16px 24px;
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  color: var(--white-color);
}

.grid-carousel-multiple-type .btn-view-all a {
  color: var(--white-color);
  font-size: 16px;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: -0.32px;
  text-decoration: none;
}

.grid-carousel-multiple-type .btn-view-all .link-text {
  margin-right: 12px;
}
.grid-carousel-multiple-type .carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.grid-carousel-multiple-type .carousel-title {
  margin-bottom: 0;
}

.grid-carousel-multiple-type .grid-image {
  width: auto;
  height: auto;
}

.grid-carousel-multiple-type .video-iframe-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.video-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-iframe-container .ytp-show-cards-title {
  display: none;
}

.project-listing-content-mobile-view.grid-carousel-multiple-type .slick-slide {
  margin: unset;
}

.step-cards-with-media__mobile-view.grid-carousel-multiple-type .slick-slide {
  margin: unset;
}

.grid-carousel-multiple-type .slick-slide {
  margin: 0 12px;
}

.grid-carousel-multiple-type .grid-image {
  aspect-ratio: 406 / 320 !important;
}

.grid-carousel-multiple-type .grid-title {
  padding: 0;
  margin-top: 16px;
  margin-bottom: 16px;
  gap: 8px;
}

.grid-carousel-multiple-type .slick-list {
  margin: 0 -16px;
}

.grid-carousel-multiple-type .page-container {
  padding-left: 0;
  padding-right: 0;
}

.grid-carousel-multiple-type .btn-view-all {
  padding: 16px;
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  color: var(--white-color);
}

.grid-carousel-multiple-type .btn-view-all a {
  color: var(--white-color);
  font-size: 16px;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: -0.32px;
  text-decoration: none;
}

.grid-carousel-multiple-type .btn-view-all .link-text {
  margin-right: 12px;
}
.grid-carousel-multiple-type .carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.grid-carousel-multiple-type .carousel-title {
  margin-bottom: 0;
}

.grid-carousel-multiple-type .grid-image {
  width: auto;
  height: auto;
}

.grid-item_small-item-listing .grid-content {
  max-height: 30px;
}

/* @media (min-width: 991px) {
  .small-item-listing .slick-slide {
    width: calc(100% / 700) !important;
  }
} */

.carousel-wrapper {
  display: flex;
  flex-direction: row;
  position: relative;
  margin-left: 0;
  margin-right: 0;
}

.carousel-wrapper {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.carousel-wrapper.initialized {
  visibility: visible;
  opacity: 1;
}

.carousel-wrapper .slick-slide {
  width: 100%;
  height: auto;
  margin: 4px 0;
  line-height: 0;
}

.slider-nav .slick-slide {
  width: 56px !important;
  height: 56px !important;
}

.slider-for-wrapper {
  position: relative;
}

.carousel-wrapper .carousel-arrow.next {
  right: 0;
}

.carousel-wrapper .carousel-arrow.prev {
  left: 0;
}

.play-button {
  position: absolute;
  width: 15px;
  height: 15px;
  background: #ff0000;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(255, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 2rem;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.pulse {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.3);
  animation: pulse 2s infinite;
}

.play-icon {
  width: 0;
  height: 0;
  border-left: 5px solid white;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  transition: all 0.3s ease;
}

.carousel-wrapper .ribbon-container {
  width: fit-content;
  padding-left: 0;
  padding-right: 0;
  z-index: 999;
  top: -5px;
  right: -4px;
}

.zoom-icon-wrapper {
  display: flex;
  justify-content: flex-end;
  position: absolute;
  right: 20px;
  bottom: -10px;
}

.zoom-icon {
  bottom: 0;
  right: 0px;
  z-index: 10;
  width: fit-content;
  border-radius: 4px;
  background: #e5e5e5;
  padding: 4px 10px;
  cursor: pointer;
}

.zoom-icon img {
  width: 24px;
  height: 24px;
}
.zoom-icon .zoom-text {
  color: var(--primary-color);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}
.slider-for img {
  width: 100%;
  height: auto;
}

.slider-nav {
  display: flex;
  overflow: hidden;
}

.slider-nav img {
  width: 100%;
  height: auto;
  cursor: pointer;
  border: 2px solid transparent;
}

.carousel-wrapper .slider-nav img {
  border-radius: 4px;
  border: 1px solid #e5e5e5;
  box-sizing: border-box;
}
.carousel-wrapper .slider-nav .slick-current img {
  border: 2px solid var(--secondary-color) !important;
  box-sizing: border-box;
}

.grid-item.media-thumbnail .grid-image {
  width: 56px;
  height: 56px;
  aspect-ratio: 1 / 1;
}

.video-iframe-container {
  position: relative;
}

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

figure.zoom {
  --bg-x: 50%;
  --bg-y: 50%;
  background-position: var(--bg-x) var(--bg-y);
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background-size: 0 !important;
  width: 100%;
  height: 284px;
  transition: height 0.3s ease;
}

figure.zoom.zooming {
  z-index: 1000;
  height: 312px;
}

.hide-elements {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

figure.zoom.zooming + .carousel-arrow,
figure.zoom.zooming ~ .carousel-arrow {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

figure.zoom.full-size img {
  transition: opacity 0.5s;
  display: block;
  width: 100%;
  margin: 0 auto;
  height: 284px;
  object-fit: cover;
}

figure.zoom:not(.full-size) img {
  width: 250px;
  height: 284px;
  background-size: contain;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 8px;
}

figure.zoom:hover {
  background-size: 200% !important;
  border: 1px solid #e6e6e6;
  -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25) inset;
  -moz-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25) inset;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.25) inset;
  height: 312px;
}

figure.zoom::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: inherit;
  background-position: inherit;
  background-image: inherit;
}

figure.zoom:hover img {
  opacity: 0;
}
figure.zoom img:hover {
  opacity: 0;
}

.slider-for-wrapper .carousel-arrow.disabled .fa-chevron-left,
.carousel-arrow.disabled .fa-chevron-right {
  color: #e5e5e5 !important;
}

.zoomed-image-container .carousel-arrow.disabled .fa-chevron-left,
.carousel-arrow.disabled .fa-chevron-right {
  color: #e5e5e5 !important;
}

.carousel-arrow.disabled {
  pointer-events: none;
}

.carousel-wrapper .carousel-arrow {
  top: 50%;
  transform: translateY(-50%);
}

.zoomed-image-container {
  padding: 20px;
}
.zoomed-image-container {
  img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }
}

.carousel-wrapper .slide-counter {
  display: none;
}

.modal-header {
  border-bottom: none;
}

.video-container .video-iframe {
  width: 100%;
  height: 275px;
  /* min-height: 328px; */
  border-radius: 8px;
}
.zoomed-image-container .slick-slide img {
  margin: 0 auto;
}

.zoomed-image-container .slick-list {
  transition: height 0.3s ease-in-out;
}

figure {
  margin: 0 !important;
  border-radius: 8px;
}
@media (min-width: 991px) and (max-width: 1199px) {
  .grid-item.media-thumbnail .grid-image {
    width: 42px;
    height: 43px;
  }

  .modal-body {
    padding: 0;
  }

  figure.zoom.full-size img {
    width: 100%;
    height: 275px;
    background-size: contain;
  }
  figure.zoom:not(.full-size) img {
    width: 250px;
    height: 275px;
    background-size: contain;
  }

  .video-container .video-iframe {
    width: 100%;
    height: 275px;
    border-radius: 8px;
  }
}

@media (min-width: 992px) {
  .slider-for-wrapper > * {
    margin-left: -16px;
    margin-right: -16px;
  }

  .carousel-wrapper .slider-for .slick-slide {
    margin: 0px;
  }

  .slide-iem-title {
    display: none;
  }

  .slider-for {
    padding-top: 16px;
  }

  .slider-nav {
    margin-top: 12px;
  }
}

@media (max-width: 991px) {
  .carousel-wrapper {
    flex-direction: column;
  }

  .carousel-wrapper .slide-counter {
    display: block;
  }
  .carousel-wrapper .slick-track {
    margin-left: 0;
  }
  .slider-for {
    order: 1;
    background: #fff;
    max-height: 190px;
  }

  .carousel-wrapper .slick-slide {
    margin: 4px;
  }

  .slider-for-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .carousel-wrapper .carousel-arrow.next {
    right: -10px;
  }

  .carousel-wrapper .carousel-arrow.prev {
    left: -10px;
  }

  .zoomed-image-container .carousel-arrow.next {
    right: 0px;
    top: 55%;
  }

  .zoomed-image-container .carousel-arrow.prev {
    left: 0px;
    top: 55%;
  }

  .carousel-wrapper .carousel-arrow {
    top: 50%;
    transform: translateY(-50%);
  }

  .slider-nav {
    order: 2;
    /* max-width: 93%; */
    display: flex;
    max-height: none;
    padding-left: 0;
    padding-right: 0;
    margin-top: 68px;
  }

  .zoom-icon-wrapper {
    justify-content: end;
    margin-top: 24px;
  }
  .zoom-icon {
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    background-color: #f2f2f3;
  }

  .zoom-icon .zoom-text {
    color: #2f2f2f;
    font-size: 16px;
    font-weight: 500;
    margin-left: 8px;
    display: none;
  }

  figure.full-size {
    height: 193px;
  }

  figure.zoom {
    height: 245px;
  }

  figure.zoom:hover {
    height: 245px;
  }

  figure.zoom.zooming {
    height: 245px;
  }

  figure.full-size {
    height: 193px;
  }
  figure.zoom.full-size img {
    width: 100%;
    height: 193px;
    background-size: cover;
  }

  figure.zoom:not(.full-size) img {
    width: 190px;
    height: 205px;
    background-size: cover;
  }

  .video-container .video-iframe {
    width: 100%;
    height: 190px;
    border-radius: 8px;
  }

  .grid-item.media-thumbnail .grid-image {
    width: 56px;
    height: 56px;
  }

  .zoom-icon-wrapper {
    bottom: -60px;
    right: 4px;
  }

  .slide-iem-title {
    display: none;
  }

  .slider-nav .slick-current img {
    border-radius: 8px;
    border: 2px solid var(--secondary-color);
  }

  .slide-counter {
    display: block;
    color: var(--primary-color);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    margin-top: 16px;
    margin-bottom: 16px;
  }

  .zoomed-image-container {
    padding: 0;
  }

  .zoomed-image-container {
    img {
      width: auto;
      height: auto;
    }
  }

  .zoom {
    transform-origin: center center;
    transition: transform 0.2s ease-in-out;
  }
}

@media (max-width: 768px) {
  .slide-iem-title {
    color: #0a0b09;
    font-family: var(--font-family-heading);
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    margin-bottom: 32px;
    display: block;
  }
}

.modal-dialog {
  max-width: 900px;
}

