/* Reserve image space before lazy photos load; keep WPBakery's original carousel. */
.evm-theme .evm-existing-home .vc_images_carousel { padding-bottom: 76px; }
.evm-theme .evm-existing-home .vc_images_carousel .vc_inner > a { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--evm-paper); line-height: 0; }
.evm-theme .evm-existing-home .vc_images_carousel .vc_inner img { display: block; width: 100%; height: 100%; max-height: none; object-fit: contain; }
.evm-theme .evm-existing-home .vc_images_carousel .vc_carousel-indicators { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px; inset: auto 64px 24px; width: auto; margin: 0; padding: 0; line-height: 1; }
.evm-theme .evm-existing-home .vc_images_carousel .vc_carousel-indicators li { flex: 0 0 20px; width: 20px; height: 24px; margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; text-indent: 0; }
.evm-theme .vc_carousel-indicators .evm-gallery-dot { display: grid; place-items: center; width: 20px; min-height: 24px; padding: 0; margin: 0; border: 0; background: transparent; }
.evm-gallery-dot::after { content: ''; width: 8px; height: 8px; border: 1px solid var(--evm-red); border-radius: 50%; background: transparent; }
.vc_active > .evm-gallery-dot::after { background: var(--evm-red); }
.evm-theme .evm-existing-home .vc_images_carousel .vc_carousel-control { top: calc((100% - 76px) / 2); bottom: auto; width: 44px; height: 44px; margin-top: -22px; border: 1px solid var(--evm-line); border-radius: 50%; background: var(--evm-white); opacity: 1; text-shadow: none; color: var(--evm-red); }
.evm-theme .vc_images_carousel .vc_carousel-control .icon-prev, .evm-theme .vc_images_carousel .vc_carousel-control .icon-next { position: static; display: block; width: 22px; height: 22px; margin: 10px; background: var(--evm-red); mask: url('../icons/chevron-down.svg') center/contain no-repeat; -webkit-mask: url('../icons/chevron-down.svg') center/contain no-repeat; transform: rotate(90deg); }
.evm-theme .vc_images_carousel .vc_carousel-control .icon-next { transform: rotate(-90deg); }
.evm-theme .vc_images_carousel .vc_carousel-control span::before { content: none; }
.evm-theme .evm-gallery-pause { position: absolute; right: 0; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; background: transparent; border: 1px solid var(--evm-line); color: var(--evm-red); }
.evm-theme .evm-gallery-pause img { width: 20px; height: 20px; }
@media (max-width: 600px) {
 .evm-theme .evm-existing-home .vc_images_carousel { padding-bottom: 96px; }
 .evm-theme .evm-existing-home .vc_images_carousel .vc_carousel-indicators { inset: auto 54px 14px 0; }
 .evm-theme .evm-existing-home .vc_images_carousel .vc_carousel-control { top: calc((100% - 96px) / 2); }
}
