.sd-swiper-horizontal,
.sd-swiper-cards {
    user-select: none;
    --sd-swiper-scrollbar-height: 6px;
    --sd-swiper-scrollbar-radius: 100px;
    --sd-slides: 3.5;
}

.sd-swiper-horizontal .jet-listing-dynamic-field__content {
    color: var(--e-global-color-secondary);
}

.sd-swiper-horizontal .jet-listing-grid__items {
    flex-wrap: nowrap;
}

.sd-swiper-horizontal .jet-listing-grid__item {
    padding: 0;
    height: 100%;
}

.sd-swiper-horizontal .jet-listing-grid__item>div {
    height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sd-swiper-horizontal .jet-listing-dynamic-field__content {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sd-swiper-horizontal .elementor-element-9cfb08c.e-con-full.e-flex.e-con,
.sd-swiper-horizontal .elementor-8454 .elementor-element.elementor-element-2b296d8:not(.elementor-motion-effects-element-type-background) {
    min-height: 253px;
    margin-bottom: 0;
}

.swiper {
    width: 100%;
    height: 100%;
    overflow: visible;
    color: black;

}

.swiper-drag-wrapper,
.sd-scrollbar {
    display: block !important;
    margin-top: 50px;
    background: #bdc3d4;
    height: var(--sd-swiper-scrollbar-height);
    border-radius: var(--sd-swiper-scrollbar-radius);
}

.swiper-drag,
.swiper-scrollbar-drag {
    background: var(--e-global-color-primary);
    height: var(--sd-swiper-scrollbar-height);
    border-radius: var(--sd-swiper-scrollbar-radius);
}

.swiper-wrapper {
    display: flex;
    justify-content: flex-start;
}

.sd-swiper-horizontal .elementor-element.elementor-element-bfb3704.elementor-widget.elementor-widget-jet-listing-dynamic-field,
.sd-swiper-horizontal .elementor-element.elementor-element-f5d353a.elementor-widget.elementor-widget-jet-listing-dynamic-field {
    min-height: 103px;
}

.sd-swiper-horizontal .jet-listing-grid__items>.jet-listing-grid__item {
    max-width: calc(100% / var(--sd-slides));
    flex: 0 0 auto;
}

.jet-listing-grid.swiper {
    overflow: visible !important;
}

.card-slide {
    display: flex;
    background-color: white;
    flex-direction: column;
    padding: 1.875rem;
    box-shadow: 0 0 6px 0px #0000000a;
    height: 100%;
    border-radius: 20px;
}

.jet-listing-dynamic-repeater__item.swiper-slide .card-slide {
    display: flex;
    align-items: flex-start;
}

.jet-listing-dynamic-repeater__item.swiper-slide,
.sd-swiper-cards {
    width: 100%;
}

.sd-card-popup-data {
    display: none;
}

.sd-popup {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #081b5fe8;
    width: 100vw;
    height: 100vh;
    z-index: 90000;
}

.sd-popup.sd-popup--active {
    display: flex;
}

.sd-popup-content h2 {
    color: var(--e-global-color-primary);
    font-size: 34px;
}

.sd-popup-content h3,
.sd-popup-content h4,
.sd-popup-content h5,
.sd-popup-content h6,
.sd-popup-content p {
    color: var(--e-global-color-secondary);
}

.sd-popup-content h3 {
    font-size: 18px;
}

.sd-popup-content p {
    font-size: 16px;
}

.sd-popup-content a {
    color: var(--e-global-color-primary);
    font-weight: bold;
}

.sd-popup-content a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
    color: var(--e-global-color-primary);
}

.sd-popup-content {
    width: 80vw;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    padding: 50px;
    max-width: 1200px;
    max-height: 80vh;
    overflow-y: auto;
}

.sd-close-popup {
    position: absolute;
    --close-btn-size: 52px;
    right: var(--close-btn-size);
    top: var(--close-btn-size);
    width: var(--close-btn-size);
    height: var(--close-btn-size);
    background: white;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    cursor: pointer;
    color: var(--e-global-color-primary);
    font-size: 30px;
}

.sd-swiper-cards {
    padding-top: 80px;
    padding-bottom: 80px;
}

.sd-swiper-cards .swiper-slide {
    max-width: 420px;
}

.sd-swiper-cards h3 {
    font-size: 20px;
    color: var(--e-global-color-secondary);
    line-height: 1.45;
    margin-top: 0;
    margin-bottom: 22px;
}

.sd-swiper-cards p {
    color: var(--e-global-color-35755c3);
    margin: 0;
    margin-bottom: 30px;
}

.sd-swiper-cards a {
    color: var(--e-global-color-secondary);
    font-weight: bold;
}

.sd-swiper-cards a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.read-more:after {
    content: "";
    height: 20px;
    width: 20px;
    display: flex;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='27' height='26' viewBox='0 0 27 26' fill='none'%3E%3Cpath d='M4.5625 13H22.4375' stroke='%235ED283' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3Cpath d='M15.125 5.6875L22.4375 13L15.125 20.3125' stroke='%235ED283' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
}

.read-more {
    display: flex;
    align-content: center;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}


@media (max-width: 1200px) {
    .sd-swiper-horizontal {
        --sd-slides: 2.5;
    }
}


@media(max-width: 600px) {
    .sd-swiper-horizontal {
        --sd-slides: 1.25;
    }
}

@media(max-width: 767px) {
    .sd-close-popup {
        top: unset;
        bottom: 6%;
        left: 50%;
        transform: translateX(-50%);
    }

    .sd-popup-content {
        margin-bottom: 70px;
        max-height: calc(80% - 30px);
        padding: 30px;
        top: 52px;
        width: calc(100vw - 2rem);
        transform: translateX(-50%);
    }

    .sd-popup {
        padding: 1rem;
    }
}