/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Description: Child theme do Hello Elementor para customizações do site Kelly Viana
Version: 1.4
*/

/* Páginas com Elementor Canvas: fundo branco e seção inicial ocupa tela toda */
body.page-template-elementor_canvas,
body.elementor-page-template-canvas {
    background-color: #ffffff !important;
}

body.page-template-elementor_canvas .elementor-section:first-child,
body.elementor-page-template-canvas .elementor-section:first-child {
    min-height: 100vh;
}

/* Workaround: Background Slideshow do Elementor com transição Fade quebrada.
   Força tamanho/posição dos slides (swiper CSS não está dando height) +
   opacity do slide ativo. Aplica só nas páginas do site — NÃO nas landing
   pages (template Canvas), pra não interferir em layouts customizados. */
body:not(.page-template-elementor_canvas):not(.elementor-page-template-canvas) .elementor-background-slideshow .swiper-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    transition: opacity 0.5s ease-in-out !important;
}

body:not(.page-template-elementor_canvas):not(.elementor-page-template-canvas) .elementor-background-slideshow .swiper-slide.swiper-slide-active {
    opacity: 1 !important;
}