/* Thrive Slider — Elementor Widget */

/* ── Outer wrapper ── */
.thrive-slider {
    position: relative;
    overflow: hidden; /* clips slides at widget boundaries */
}

/* ── Track wrap: padding-left set by JS to align with nav container ── */
.thrive-slider__track-wrap {
    box-sizing: border-box;
}

/* ── Track ── */
.thrive-slider__track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}

/* ── Slide ── */
.thrive-slider__slide {
    flex: 0 0 auto;
}

/* ── Card ── */
.thrive-slider__card {
    display: flex;
    overflow: hidden;
    background-color: #f0f2f2;
    border-radius: 20px;
}


@media (max-width: 767px) {
    .thrive-slider__card {
        flex-direction: column;
        overflow-y: auto;
    }
    .thrive-slider__media {
        order: -1;
    }
}

/* ── Text content area ── */
.thrive-slider__content {
    flex: 0 0 42%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    box-sizing: border-box;
    min-width: 0;
}

/* ── Number badge ── */
.thrive-slider__num {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    width: 41px;
    height: 41px;
    flex-shrink: 0;
	border: none !important;
	border-style: none !important;
}

.thrive-slider__num-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.thrive-slider__num-text {
    z-index: 1;
    color: #1a3636;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
	position: absolute;
}

/* ── Title area ── */
.thrive-slider__title-area {
    /* occupies bottom of content flex column */
}

.thrive-slider__title {
    color: #1a2b2b;
    margin: 0 0 12px;
    line-height: 1.2;
    font-weight: 600;
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
}

.thrive-slider__desc {
    color: #4a5a5a;
    margin: 0;
    line-height: 1.65;
}

/* ── Media ── */
.thrive-slider__media {
    flex: 1;
    min-width: 0;
    overflow: hidden; /* required for image border-radius to take effect */
}

.thrive-slider__img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

/* ── Cards panel (right side, type = cards) ── */
.thrive-slider__cards-panel {
    flex: 1;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    min-width: 0;
    overflow-y: auto;
    box-sizing: border-box;
}

.thrive-slider__card-block:not(:last-child) {
    margin-bottom: 12px;
}

.thrive-slider__card-block {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px 24px;
    box-sizing: border-box;
}

.thrive-slider__card-block-title {
	 margin-top: 0 !important;
	 margin-left: 0 !important;
	 margin-right: 0 !important;
	 padding: 0 !important;
}
.thrive-slider__card-block-text {
    margin: 0 !important;
    padding: 0 !important;
}

.thrive-slider__card-block-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    color: #1a2b2b;
}

.thrive-slider__card-block-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #4a5a5a;
}

@media (max-width: 767px) {
    .thrive-slider__cards-panel {
        overflow-y: visible;
    }
}

/* ── Nav container: max-width and margin set via Elementor selector ── */
.thrive-slider__nav-container {
    max-width: 1200px;
    margin: 28px auto 0;
    box-sizing: border-box;
}

.thrive-slider__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ── Dots ── */
.thrive-slider__dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.thrive-slider__dot {
    display: block;
    aspect-ratio: 1; /* inactive dots stay circular: width = height */
    height: 4px;
    border-radius: 99px;
    border: none;
    padding: 0;
    cursor: pointer;
    background-color: #c8d0d0;
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
    flex-shrink: 0;
}

.thrive-slider__dot.is-active {
    width: 40px;
    background-color: #1a4040;
}

.thrive-slider__dot:focus-visible {
    outline: 2px solid #1a4040;
    outline-offset: 3px;
    border-radius: 2px;
}

/* ── Arrows ── */
.thrive-slider__arrows {
    display: flex;
    gap: 8px;
}

.thrive-slider__btn-prev,
.thrive-slider__btn-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 1px solid #c8d4d4;
    background-color: transparent;
    color: #2d4a4a;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}

.thrive-slider__btn-prev:hover,
.thrive-slider__btn-next:hover {
    background-color: #e8eded;
    border-color: #a8bcbc;
}

.thrive-slider__btn-prev:focus-visible,
.thrive-slider__btn-next:focus-visible {
    outline: 2px solid #1a4040;
    outline-offset: 2px;
}

.thrive-slider__btn-prev:disabled,
.thrive-slider__btn-next:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 1300px) {
	.thrive-slider .thrive-slider__track .thrive-slider__slide {
		max-width: 950px !important;
	}	
}