.ev-casestudy.share-btn:hover .social-share-container {
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}
.slide-content .social-share-container a.learn-more span::after {
    display: none;
}
.slide-content .ev-casestudy .social-share-container {
  position: relative;
  right: -40px;
  background: #010314;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;	
	bottom: 18px;
}

.slide-content .ev-casestudy .main-share-icon {
	padding: 0px 12px;
	font-weight: 400;
}
.ev-casestudy .social-share-icons {
  height: 36px;
  text-align: left;
  padding: 3px 10px;
  line-height: 30px;
  color: #242424;
  border-top-right-radius: 0px;
  transform: translate3d(30%, 0, 0);
  transition: transform 800ms ease;
  top: 0px;
  background: #010314;
  /*border-right: 1px solid #ccc;*/
  border-bottom-right-radius: 0px;
  margin-right: 7px;
  display: flex;
  position: absolute;
  right: 94%;
}
.slide-content .ev-casestudy  .main-share-icon {
	color: #fff;
}
.home .slide-content .ev-casestudy .main-share-icon svg {
  width: 20px;
  height: 20px;
}
.home .ev-casestudy .button-with-icon .arrow {
	padding: 0px;
}
/*************************
* Case studies
*************************/
.ev-casestudies  .subtitle {
  color: #FFF;
  text-align: center;
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.ev-casestudies .heading h2.uagb-heading-text {
  color: #FFF;
  text-align: center;
  font-family: Barlow;
  font-size: 54px;
  font-style: normal;
  font-weight: 500;
  line-height: 110%;
  letter-spacing: -0.54px;
	font-size: clamp(32px, 5vw, 54px);
}
.ev-casestudies p.uagb-heading-text {
  color: #FFF;
  text-align: center;
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  letter-spacing: 2.4px;
  text-transform: uppercase;
	
}
.wp-block-uagb-container.view-casestudies {
  margin-top: 0px !important;
	padding-top: 20px !important;
}
.ev-view-more-cstudies a {
  padding-right: 10px;
  color: #FFF;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
	border-bottom: 1px solid rgba(255, 255, 255, 0.40);
  padding: 4px 0;
}

.ev-view-more-cstudies.button-with-icon .icon svg {
  fill: #010314;
}
.ev-view-more-cstudies.button-with-icon .icon, .ev-view-more-cstudies.button-with-icon:hover .icon {
  background-color: #fff;
}
.read-casestuides a.learn-more:hover span::after {  
  background-color: #fff;
}
.ev-view-more-cstudies, .ev-view-more-cstudies:hover, button.ev-view-more-cstudies:focus {
  background-color: transparent;
}
.ev-view-more-cstudies {
	padding: 0px;
}
.slides-wrapper .slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(90deg,rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
  border-radius: 20px;
}
/**********************
Tablet View
*********************/
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .carousel-container {
      position: relative;
      max-width: 50% !important;
    }
    .carousel-container .slides-wrapper {
        max-width: 100% !important;
    }
    .carousel-container .slide {
        width: 90%;
    }
    .carousel-container .slide.active {
        width: 90%;
    }
}
/************
Mobile
*************/
.cta-button span {
  border-bottom: 1px solid rgba(1, 3, 20, 0.40);
  padding: 4px 0;
}
@media (max-width: 768px) {
  .carousel-container {
    height: auto;
    max-width: 100% !important;
    padding: 0 12px;
  }
	.home .button-with-icon .arrow {
		background-color: #010314;
	}
    .carousel-container {
       max-height: 500px;
    }
  .carousel-container .slides-wrapper {
   gap: 16px !important;
    overflow-x: auto;
    /*scroll-snap-type: x mandatory;
    padding-bottom: 20px;*/
    transform: none !important;
  }


  .carousel-container .slide {
    min-width: 90%;
    padding: 20px !important;
    border-radius: 16px !important;
    transform: none !important;
    opacity: 1 !important;
    margin: 0 auto;
    scroll-snap-align: start;
    width: 260px !important;
    height: 400px !important;
    overflow: hidden
  }

  .slide:not(.active)::before {
    display: none;
  }

  .slide-content {
    height: 100%;
  }

  /* === Header: Logo + Share === */
  .ev-cs-header {
    margin-bottom: 24px;
  }
  .slide-content .main-share-icon {
      margin-top: 0px !important;
      padding-right: 20px !important;
  }
  .ev-cs-logo img {
    max-height: 32px;
    width: auto;
  }

  .share-btn {
    padding: 6px;
    border-radius: 50%;
  }

  /* === Title === */
  .slide-content .text-content h1 {
    font-size: 18px !important;
    line-height: 130%;
    font-weight: 600;
    margin-bottom: 20px;
  }

  /* === Metrics (side by side) === */
  .main-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
  }

  .metric-number {
    font-size: 28px;
    font-weight: 700;
    color: #010314;
    margin-bottom: 4px;
  }

  .metric-description {
    font-size: 14px;
    line-height: 140%;
    color: #444;
  }

  /* === CTA === */
  .read-casestuides {
    display: block !important;
    height: auto !important;
  }
	.read-casestuides span {
  border-bottom: 1px solid rgba(1, 3, 20, 0.40);
  padding: 4px 0;
}
  .industry {
    display: block !important;
  }
    .industry span {
        font-size: 16px !important;
    }
    .ev-cs-header .industry h3 {
        font-size: 20px !important;
    }
  .cta-button {
    font-size: 14px;
    gap: 6px;
    padding-bottom: 2px;
  } 

  .cta-arrow {
    width: 20px;
    height: 20px;
  }
}

.ev-cs-header .industry h3 {
  color: #fff;
  font-family: Barlow;
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: 110%;
	margin-bottom: 0px;
}
.industry {  
  height: calc(100% - 80px);
}
.industry span {
  font-size: 20px;
  font-family: Barlow;
  font-weight: 600;
	color: #fff;
}
.read-casestuides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  height: calc(100% - 204px);
  position: absolute;
  bottom: 0px;
}
.carousel-container {
    position: relative;
    max-width: 1440px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*overflow: hidden; */
}

.carousel-container .slides-wrapper {
    display: flex;
    align-items: center;
    gap: 0px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-width: 1440px;
    position: relative;
}

.slide {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    width: 800px;
    height: 332px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    /*overflow: hidden; */
    flex-shrink: 0;
    /*transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);*/
    transform: scale(0.9);
    opacity: 0.4;
    cursor: pointer;
}

.slide.active {
    transform: scale(1);
    opacity: 1;
    z-index: 10;
    width: 996px;
    transform: translateY(-80px);
    /*transition: transform 0.3s ease-out;*/
    cursor: pointer;
}
.carousel-container { width: 1440px !important; margin: 0 auto !important;}
.slides-wrapper { display: flex; gap: 25px; transition: transform .5s ease; will-change: transform; }
.slide { flex: 0 0 auto; }

.slide:not(.active)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 5;
    pointer-events: none;
	border-radius: 20px;
}

.slide-content {
    position: relative;
    z-index: 6;
    height: 100%;
}

.ev-cs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ev-cs-logo{
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-weight: bold;
    color: #1e3c72;
    font-size: 18px;
}
.home .button-with-icon .arrow {
    width: 36px;
    height: 36px;
    padding: 10px;
    border-radius: 50%;
    background-color: #000;
}
.read-casestuides .button-with-icon .icon, .read-casestuides .button-with-icon:hover .icon {
  background-color: #fff;
}
.read-casestuides .button-with-icon .icon svg {
  fill: #000;
}
.home .ast-row .button-with-icon .arrow {
  width: auto;
  height: auto;
  padding: initial;
  background-color: transparent;
}
.home .social-share-container {
    bottom: 6px;
    right: 3px;
}
.home .slide-content .main-share-icon svg {
  width: 32px;
  height: 32px;
}
.social-share-container .main-share-icon {
    padding: 8px 12px;
}
.slide-content .main-share-icon svg path {
  font-size: 18px;
  fill: #fff;
}
.slide-content .main-share-icon {
  color: #010314;
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  padding: 10px 12px;
}
.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    padding: 8px 0px;
    border-radius: 8px;
    transition: background-color 0.3s;
}
.main-share-icon {
	padding: 8px 0px;
}

.share-btn:hover {
    background: transparent;
}
.slide-content .social-share-container {  position: relative;
  right: -10px;
}
.main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    height: calc(100% - 180px);
}

.slide-content .text-content h1 {
    color: #fff;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}
.read-casestuides a.learn-more, .read-casestuides a.learn-more:hover {
  color: #fff;
}
.metric-description {
    color: #010314;
    font-family: Barlow;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0px;
    color: #010314;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    text-transform: capitalize;
}
.read-casestuides a:hover {
  color: #010314;
}

.cta-arrow {
    background: white;
    color: #1e3c72;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.image-content {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
}
.watermark {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
}

@media (max-width: 768px) {
    
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .metrics {
        justify-content: space-around;
        gap: 40px;
    }
    
    .metric-number {
        font-size: 36px;
    }
}

 @media (max-width: 768px) {
     
}
     }