@php $locale = $locale ?? app()->getLocale(); // Field-name compatibility (Classic → Golden fallbacks). $eyebrow = $data['eyebrow'][$locale] ?? $data['subheading'][$locale] ?? ''; $heading = $data['heading'][$locale] ?? ''; $renderedHeading = preg_replace_callback('/__(.+?)__/u', function ($m) { return ''.e($m[1]).''; }, e($heading)); @endphp
@if($eyebrow)
{{ $eyebrow }}
@endif @if($heading)

{!! $renderedHeading !!}

@endif
@foreach($repeatedContents as $repeatedContent) @php $rc = $repeatedContent->content_data ?? []; $svcTitle = $rc['service_title'][$locale] ?? ''; $svcText = $rc['service_text'][$locale] ?? ''; // Always render a gold FontAwesome icon in Golden — classic data // stores `service_image` as a raster PNG which clashes with the // luxury aesthetic at the icon's small render size. We pick a // curated default if no FA class is provided. $svcIcon = $rc['service_icon_class'] ?? 'fa-solid fa-gem'; @endphp @if($svcTitle || $svcText) @endif @endforeach