.elementor-widget-ebasm_before_after_multi {
flex: 1 1 100%;
align-self: stretch;
min-width: 0;
}
.ebasm-gallery,
.ebasm-gallery * {
box-sizing: border-box;
}
.ebasm-gallery {
--ebasm-active: #2f6d45;
--ebasm-bg: #f3f3f0;
--ebasm-card-bg: transparent;
--ebasm-fit: cover;
--ebasm-gap: 24px;
--ebasm-height: 315px;
--ebasm-object-position: center center;
--ebasm-position: 50%;
--ebasm-intro-width: 300px;
--ebasm-nav-bg: transparent;
--ebasm-nav-active-bg: var(--ebasm-active);
--ebasm-nav-color: #1f332b;
--ebasm-nav-active-color: #fff;
--ebasm-nav-border: rgba(31, 51, 43, 0.22);
display: flex;
align-items: flex-start;
gap: var(--ebasm-gap);
width: 100%;
max-width: 100%;
padding: 0;
background: var(--ebasm-card-bg);
}
.ebasm-intro {
flex: 0 0 var(--ebasm-intro-width);
max-width: var(--ebasm-intro-width);
padding-top: 24px;
}
.ebasm-intro-title {
margin: 0 0 18px;
color: #1f332b;
font-size: 30px;
font-weight: 700;
line-height: 1.14;
letter-spacing: 0;
}
.ebasm-intro-text {
color: #2f3f39;
font-size: 18px;
font-weight: 500;
line-height: 1.55;
}
.ebasm-intro-text p {
margin: 0 0 10px;
}
.ebasm-slider-wrap {
flex: 1 1 auto;
width: 100%;
min-width: 0;
}
.ebasm-stage {
position: relative;
width: 100%;
height: var(--ebasm-height);
min-height: 120px;
overflow: hidden;
background: var(--ebasm-bg);
isolation: isolate;
touch-action: none;
user-select: none;
}
.ebasm-pair {
position: absolute;
inset: 0;
opacity: 0;
pointer-events: none;
transition: none !important;
}
.ebasm-pair.is-active {
opacity: 1;
pointer-events: auto;
}
.ebasm-image,
.ebasm-before-wrap {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.ebasm-image {
display: block;
width: 100% !important;
height: 100% !important;
max-width: none !important;
min-width: 0 !important;
object-fit: var(--ebasm-fit, cover) !important;
object-position: var(--ebasm-object-position, center center) !important;
pointer-events: none;
user-select: none;
-webkit-user-drag: none;
}
.ebasm-before-wrap {
z-index: 2;
overflow: hidden;
clip-path: inset(0 calc(100% - var(--ebasm-position)) 0 0);
transition: none !important;
will-change: clip-path;
}
.ebasm-badge {
position: absolute;
top: 12px;
z-index: 6;
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 32px;
padding: 8px 13px;
border-radius: 999px;
color: #fff;
font-size: 14px;
font-weight: 700;
line-height: 1;
letter-spacing: 0;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
pointer-events: none;
}
.ebasm-badge-before {
left: 12px;
background: #ff2849;
}
.ebasm-badge-after {
right: 12px;
background: var(--ebasm-active);
}
.ebasm-handle {
position: absolute;
top: 0;
left: var(--ebasm-position);
z-index: 8;
width: 56px;
height: 100%;
padding: 0;
border: 0 !important;
border-radius: 0 !important;
background: transparent !important;
box-shadow: none !important;
outline: none !important;
transform: translateX(-50%);
cursor: ew-resize;
touch-action: none;
transition: none !important;
appearance: none;
-webkit-appearance: none;
}
.ebasm-handle:hover,
.ebasm-handle:focus,
.ebasm-handle:active {
border: 0 !important;
background: transparent !important;
box-shadow: none !important;
outline: none !important;
transform: translateX(-50%);
}
.ebasm-handle-line,
.ebasm-handle-knob,
.ebasm-handle-knob::before,
.ebasm-handle-knob::after {
transition: none !important;
}
.ebasm-handle::before,
.ebasm-handle::after,
.ebasm-nav-item::before,
.ebasm-nav-item::after {
display: none !important;
content: none !important;
}
.ebasm-handle-line {
position: absolute;
top: 0;
bottom: 0;
left: 50%;
width: 2px;
background: rgba(255, 255, 255, 0.95);
transform: translateX(-50%);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.22);
}
.ebasm-handle-knob {
position: absolute;
top: 50%;
left: 50%;
width: 50px;
height: 50px;
border: 0;
border-radius: 999px;
background: #fff;
transform: translate(-50%, -50%);
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}
.ebasm-handle-knob::before,
.ebasm-handle-knob::after {
content: "";
position: absolute;
top: 50%;
width: 8px;
height: 8px;
border-top: 2px solid #1f332b;
border-left: 2px solid #1f332b;
}
.ebasm-handle-knob::before {
left: 16px;
transform: translateY(-50%) rotate(-45deg);
}
.ebasm-handle-knob::after {
right: 16px;
transform: translateY(-50%) rotate(135deg);
}
.ebasm-nav {
display: flex;
align-items: center;
justify-content: center;
gap: 16px;
width: 100%;
max-width: 100%;
margin-top: 20px;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
}
.ebasm-nav::-webkit-scrollbar {
display: none;
}
.ebasm-nav-item {
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 auto;
width: 44px;
height: 44px;
padding: 0;
border: 1px solid var(--ebasm-nav-border) !important;
border-radius: 999px !important;
background: var(--ebasm-nav-bg) !important;
color: var(--ebasm-nav-color) !important;
font-size: 15px;
font-weight: 700;
line-height: 1;
letter-spacing: 0;
cursor: pointer;
box-shadow: none !important;
transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
appearance: none;
-webkit-appearance: none;
}
.ebasm-nav-item:hover,
.ebasm-nav-item:focus,
.ebasm-nav-item:active {
border-color: var(--ebasm-active) !important;
background: var(--ebasm-nav-bg) !important;
color: var(--ebasm-nav-color) !important;
outline: none !important;
box-shadow: none !important;
}
.ebasm-nav-item.is-active {
border-color: var(--ebasm-active) !important;
background: var(--ebasm-nav-active-bg) !important;
color: var(--ebasm-nav-active-color) !important;
}
.ebasm-captions {
width: 100%;
}
.ebasm-caption {
display: none;
align-items: flex-start;
justify-content: flex-start;
gap: 18px;
width: 100%;
margin-top: 22px;
text-align: left;
}
.ebasm-caption.is-active {
display: flex;
}
.ebasm-caption-align-center .ebasm-caption {
justify-content: center;
}
.ebasm-caption-align-right .ebasm-caption {
justify-content: flex-end;
}
.ebasm-caption-number {
flex: 0 0 auto;
color: #184b38;
font-family: Georgia, "Times New Roman", serif;
font-size: 42px;
font-weight: 700;
line-height: 0.95;
letter-spacing: 0;
}
.ebasm-caption-copy {
min-width: 0;
padding-top: 2px;
}
.ebasm-caption-title {
margin: 0;
color: #1f332b;
font-size: 18px;
font-weight: 700;
line-height: 1.25;
letter-spacing: 0;
}
.ebasm-caption-meta {
margin-top: 7px;
color: #8b8b86;
font-size: 17px;
font-weight: 500;
line-height: 1.25;
letter-spacing: 0;
}
@media (max-width: 767px) {
.ebasm-gallery {
display: block;
border-radius: 0 0 20px 20px;
}
.ebasm-intro {
max-width: none;
padding-top: 0;
margin-bottom: 20px;
}
.ebasm-intro-title {
margin-bottom: 9px;
font-size: 24px;
line-height: 1.15;
}
.ebasm-intro-text {
font-size: 16px;
line-height: 1.45;
}
.ebasm-stage {
min-height: 180px;
}
.ebasm-badge {
top: 12px;
min-height: 28px;
padding: 7px 11px;
font-size: 14px;
}
.ebasm-handle {
width: 56px;
}
.ebasm-handle-knob {
width: 48px;
height: 48px;
}
.ebasm-caption {
margin-top: 26px;
}
.ebasm-caption-number {
font-size: 30px;
}
.ebasm-caption-title {
font-size: 17px;
}
.ebasm-caption-meta {
font-size: 16px;
}
}