@php
    $icon = get_sub_field( 'icon' );
    $text = get_sub_field( 'text' );
@endphp

@if ($text || $icon)
    <div class="section-descriptor">
        @if ($icon)
            <div class="section-descriptor__icon">
                @include('elements.image', ['image_id' => $icon])
            </div>
        @endif
        @if ($text)
            <p class="section-descriptor__text">{!! $text !!}</p>
        @endif
    </div>
@endif