/* HOME — módulos nativos de Semplice */ :root { --ca-home-logo-width: 66%; --ca-home-screen-height: 100vh; } @supports (height: 100dvh) { :root { --ca-home-screen-height: 100dvh; } } html, body { height: 100%; overflow: hidden !important; background: #000 !important; overscroll-behavior: none; } /* Contenedores propios de Home */ .sections > section:has(.ca-home-logo, .ca-home-photo) { padding: 0 !important; margin: 0 !important; min-height: 0 !important; background: none !important; } .sections:has(.ca-home-logo), .sections section:has(.ca-home-logo, .ca-home-photo), .sections :is(.container, .row, .column, .column-content):has( .ca-home-logo, .ca-home-photo ) { transform: none !important; } /* Bloque del logo */ .ca-home-logo { position: fixed !important; top: 0 !important; left: 0 !important; display: flex !important; align-items: center; justify-content: center; width: 50vw !important; height: var(--ca-home-screen-height) !important; min-height: 0 !important; max-width: none !important; padding: 0 !important; margin: 0 !important; box-sizing: border-box; background: #000 !important; z-index: 10; } .ca-home-logo .is-content { width: 100%; text-align: center; } .ca-home-logo img, .ca-home-logo img.is-content { display: block !important; width: var(--ca-home-logo-width) !important; height: auto !important; max-width: none !important; margin: auto !important; object-fit: contain !important; filter: brightness(0) invert(1); } /* Bloque de la fotografía */ .ca-home-photo { position: fixed !important; top: 0 !important; left: 50vw !important; width: 50vw !important; height: var(--ca-home-screen-height) !important; min-height: 0 !important; max-width: none !important; padding: 0 !important; margin: 0 !important; overflow: hidden; box-sizing: border-box; z-index: 11; } .ca-home-photo .is-content, .ca-home-photo picture { display: block !important; width: 100% !important; height: 100% !important; } .ca-home-photo img { display: block !important; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; object-fit: cover !important; object-position: center !important; } /* Iconos del footer */ svg.ca-home-social { position: fixed !important; top: auto !important; right: auto !important; bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important; left: 20px !important; display: block; width: 170px !important; height: 39px !important; max-width: none !important; max-height: none !important; filter: invert(1) !important; pointer-events: auto; z-index: 1000; } /* Móvil */ @media (max-width: 1024px) { :root { --ca-home-top-height: clamp( 33vh, calc(100vh - 125vw), 45vh ); } @supports (height: 100dvh) { :root { --ca-home-top-height: clamp( 33dvh, calc(100dvh - 125vw), 45dvh ); } } .ca-home-logo { width: 100% !important; height: var(--ca-home-top-height) !important; } .ca-home-logo img, .ca-home-logo img.is-content { max-height: calc( var(--ca-home-top-height) - 80px ) !important; } .ca-home-photo { top: var(--ca-home-top-height) !important; left: 0 !important; width: 100% !important; height: calc( var(--ca-home-screen-height) - var(--ca-home-top-height) ) !important; } .ca-home-photo img { object-position: center 55% !important; } }
New-Home-ClaudiaAlbons