{% import "./macros_typography.html.twig" as macrosTypography %}
{% import "./macros_button.html.twig" as macrosButton %}
<section class="home-hero-section relative lg:h-screen min-h-[600px] bg-white pt-[88px] lg:pt-28"
section-shade="light">
<div class="fixed-lines">
<div></div>
<div></div>
<div></div>
</div>
<div class="relative h-full grid grid-cols-1 z-10 lg:z-0">
<div class="relative overflow-hidden mt-12 translate-x-0">
<div class="lg:absolute px-8 xl:pl-12 pb-16 w-full sm:w-2/3 lg:w-1/3 z-10 lg:bg-white text-blue">
<h1
class="home-hero-title text-3xl xs:text-[2.4rem] lg:text-[2.25rem] xl:text-[2.75rem] 2xl:text-6xl font-extrabold leading-tight"
split-direction="top"
split-trigger="none">
{{ content.AlpineSubTitle }}
{{ content.AlpineTitle|raw }}
</h1>
{% set btnText = content.AlpineButtonText %}
{% set btnUrl = sulu_content_path(content.AlpineButtonLink) %}
{{macrosButton.arrowLink({
'wrappClass': 'mt-12',
'href': btnUrl,
'text': btnText,
'trigger': 'scroll'
})}}
</div>
<!-- Image -->
{% if content.AlpineMedia|length > 0 %}
{% set image = content.AlpineMedia.thumbnails['1920x1080'] %}
<img class="w-full lg:hidden"
src="{{ image }}"
alt="Oaks Lane"
loading="lazy">
{% endif %}
<div class="hidden lg:block relative h-full lg:px-8 xl:px-12 pointer-events-none">
<div class="home-hero-clip-img relative flex h-full overflow-hidden">
<div class="flex-grow h-full flex justify-end">
{% if content.AlpineMedia|length > 0 %}
{% set image = content.AlpineMedia.thumbnails['1920x1080'] %}
<img class="absolute top-0 left-0 w-full h-[120%] object-cover"
src="{{ image }}"
alt="Oaks Lane"
data-speed="0.3"
loading="lazy">
{% endif %}
</div>
<div class="flex justify-end lg:mx-8 lg:w-[calc(100%_/_3_-_42px)] xl:mx-12 xl:w-[calc(100%_/_3_-_4rem)]">
{% if content.AlpineMedia|length > 0 %}
{% set image = content.AlpineMedia.thumbnails['1920x1080'] %}
<img class="absolute top-0 left-0 w-full h-[120%] object-cover"
src="{{ image }}"
alt="Oaks Lane"
data-speed="0.3"
loading="lazy">
{% endif %}
</div>
<div class="flex-grow h-full flex justify-end">
{% if content.AlpineMedia|length > 0 %}
{% set image = content.AlpineMedia.thumbnails['1920x1080'] %}
<img class="absolute top-0 left-0 w-full h-[120%] object-cover"
src="{{ image }}"
alt="Oaks Lane"
data-speed="0.3"
loading="lazy">
{% endif %}
</div>
</div>
</div>
</div>
</div>
</section>