.agent-carousel-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    overflow: visible;    /* allow right overflow */
}

.agent-carousel-swiper .swiper-slide {
    width: 300px;       /* fixed card width */
    box-sizing: border-box;
}


.agent-carousel-wrapper .swiper {
	overflow: visible !important;
}
.cs-button  {
	 cursor: pointer;
}
.media-wrapper {
	max-height: 400px;
	overflow: hidden;
}
.cs-button .elementor-icon-wrapper {
	line-height: 0;
}
.custom-button-prev,
.custom-button-next {
    z-index: 10;
}

.swiper-button-disabled {
    opacity: 0.4 !important;
    pointer-events: none !important;
}

.agent-carousel-wrapper .media-wrapper img {
		border-top-left-radius: 18px;
	border-top-right-radius: 18px;
}

.progress-bar-fill .swiper-pagination-horizontal  {
	border-radius: 10px !important;
	overflow: hidden;
}
.progress-bar-fill .swiper-pagination-progressbar {
	 background: #17478a2b;
}
.progress-bar-fill .swiper-pagination-progressbar-fill {
  background: #17478A;
	
}



/* Popup overlay */
.video-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  justify-content: end;
  align-items: start;
  z-index: 999;
	padding: 30px;
}

/* Popup box */
.video-popup  .video-content {
  position: relative;
  background: #000;
  padding: 0px;
  max-width: 372px;
  max-height: 100%;
    border-radius: 10px;

}

/* Video */
.video-popup  .video-content video {
  width: 100%;
  height: 625px;
  display: block;
   border-radius: 10px;
  overflow: hidden;
}

/* Close button */
.video-popup  .close-btn {
position: absolute;
    top: -10px;
    right: -10px;
    background: #717171;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    /* padding: 5px 10px; */
    border-radius: 50%;
    z-index: 10;
    height: 28px;
    width: 28px;
    align-content: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Controls */
.video-popup  .controls {
  position: absolute;
  top: 27px;
  left: 27px;
  right: 27px;
  display: flex;
  gap: 18px;
  align-items: center;
  z-index: 4;
}

/* Progress bar */
.video-popup  .progress {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  border-radius: 3px;
}

.video-popup  .progress-bar {
  height: 100%;
  width: 0%;
  background: #FFFFFF;
  border-radius: 3px;
}

/* Buttons */
.video-popup  .controls button {
border: 0px;
background: transparent;
border-radius: 10px;
}
.video-popup  #forwardBtn {
border: 0px;
    background: transparent;
    border-radius: 10px;
    height: 30px;
    width: 30px;
    padding: 0;
}

.video-popup  .controls #speedBtn {
  font-family: Inter;
font-weight: 600;
font-style: Semi Bold;
font-size: 13.42px;
leading-trim: NONE;
line-height: 18.33px;
letter-spacing: 3%;
vertical-align: middle;
height: 36px;
width: 47px;
align-content: center;
background: #FFFFFF80;
border: 0px;
color: #fff;
border-radius: 10px;
	padding: 0px;

}


.agent-info {
display: grid;
    grid-template-columns: 115px 1fr;
    position: absolute;
    bottom: 18px;
    right: 15px;
    left: 15px;
    background: #Fff;
    border-radius: 18px;
	gap: 20px;
	align-items: center;
	overflow: hidden;
	 
}
.agent-info  h3 {
font-family: Inter;
font-weight: 600;
font-size: 18px;
line-height: 100%;
text-transform: capitalize;	
	margin: 0px;
	color: #000000;
}
.agent-info  .agent-text {
	font-family: Inter;
font-weight: 400;
font-size: 12px;
line-height: 16.73px;
letter-spacing: 0%;
	

}
.agent-info #emailBtn {
	 width: 111.98738098144531;
height: 33.24000930786133;
opacity: 1;
padding-top: 8.75px;
padding-right: 20.99px;
padding-bottom: 8.75px;
padding-left: 20.99px;
border-radius: 16.62px;
font-family: Inter;
font-weight: 400;
font-size: 12.65px;
line-height: 100%;
letter-spacing: -0.01em;
background: #17478A;
border: 1px solid  #17478A;
	color: #fff;
}

.agent-card .agent-description {
    display: -webkit-box;        /* Needed for line clamping */
    -webkit-line-clamp: 2;       /* Show only 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;            /* Hide the rest */
    text-overflow: ellipsis;     /* Optional: adds "..." at the end */
}
