@if(!empty($related_courses) and count($related_courses) > 0)
<section class="cp-section cp-related cp-animate">
    <div class="container">
        @include('web.default.includes.premium.section_header', [
            'title' => trans('webinars.landing_related_title'),
            'align' => 'center',
            'class' => 'mb-30',
        ])
        <div class="row">
            @foreach($related_courses as $relatedCourse)
                @if($relatedCourse->id != $course->id)
                    <div class="col-12 col-md-6 col-lg-4 mb-25">
                        @include('web.default.includes.webinar.grid-card', ['webinar' => $relatedCourse])
                    </div>
                @endif
            @endforeach
        </div>
    </div>
</section>
@endif
