/* Ensure the slick track displays correctly */
.team-slider {
    display: none; /* Hides unstyled content before Slick loads */
}
.team-slider.slick-initialized {
    display: block;
}

.team-slider__inner {
    position: relative;
    background-color: #f5f5f5;
    width: 100%;             /* Allows it to be fluid on smaller mobile screens */
    max-width: 292px;        /* Prevents it from getting wider than 292px on large screens */
    margin: 0 auto;          /* Centers the card neatly inside the slick slide */
}

/* Image Wrapper */
.team-slider__image-wrap {
    width: 100%;
    height: 100% !important; /* The !important overrides the Elementor 'card_height' control so the aspect ratio dictates the height */
}

.team-slider__image-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
    display: block;
}

/* Info Box positioned at bottom right */
.team-slider__info {
    margin-right: -20px;
    margin-bottom: -42px;
    margin-top: 15px;
    border-radius: 4px;
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 15px;
    z-index: 2;
    text-align: left;
}

.team-slider__image-wrap img {
    transition: transform 0.6s ease;
}

.team-slider__image-wrap img:hover {
    transform: scale(1.1);
}

.team-slider__image-wrap {
    border-radius: 4px;
    overflow: hidden;
}

/* Typography styles */
.team-slider__name {
    font-family: 'Spline Sans';
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
}

.team-slider__role {
    font-size: 11px;
    font-family: monospace; /* Matches the code-like font in the screenshot */
    text-transform: capitalize;
    /* Color handled by Elementor Controls */
}

.team-slider .slick-list.draggable {
    overflow: unset;
}

/* Fix for Slick Slider Arrows (Default slick arrows often need adjusting) */
.team-slider .slick-prev,
.team-slider .slick-next {
    z-index: 10;
}
.team-slider .slick-prev {
    left: -25px;
}
.team-slider .slick-next {
    right: -25px;
}

@media (min-width: 1693px) {
.team-slider {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 66px 10px;
    width: 1693px;
}
}
@media (min-width: 768px) {
   .team-slider ul.slick-dots {
    display: none !important;
}
}
@media (max-width: 767px) {
.team-slider .slick-dots li button {
    font-size: 0;
    background: rgba(0, 0, 0, 0.2);
    border: 0;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    padding: 0;
}
	.team-slider ul.slick-dots,
.team-slider ul.slick-dots li {
    list-style: none !important;
}
	.team-slider ul.slick-dots li::marker {
    content: none !important;
}
.team-slider li.slick-active button {
    background: rgba(136, 42, 42, 1);
}
.team-slider  .slick-dots li::marker {
    content: "";
}
.team-slider  ul.slick-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
    gap: 10px;
	padding: 0px !important;
}
}