merge(['class' => 'flex flex-col rounded-lg p-6 bg-glassmorphism']) }}>
@isset($media)
attributes->merge(['class' => 'w-full rounded-lg overflow-hidden mb-6']) }}>
{{ $media }}
@endisset
@if($eyebrow)
{{ $eyebrow }}
@endif
{!! $title !!}
@if($description)
{!! $description !!}
@endif
@if(!empty($points))
@foreach ($points as $point)
-
{{ $point }}
@endforeach
@endif
@if($href && $cta)
{{-- Text link rather than x-atoms.button-link: the button never wraps, too narrow for long names --}}
{{-- Icon glued to the last word so it never wraps onto a line of its own --}}
@php
$ctaWords = explode(' ', $cta);
$ctaLast = array_pop($ctaWords);
@endphp
{{ implode(' ', $ctaWords) }} {{ $ctaLast }}
@endif