@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 ?? []; $num = str_pad((string)($loop->index + 1), 2, '0', STR_PAD_LEFT); @endphp
{{ $rc['feature_number'] ?? $num }}

{{ $rc['feature_title'][$locale] ?? '' }}

{!! nl2br(e($rc['feature_text'][$locale] ?? '')) !!}

@endforeach