<section class="bg-[#f8f9fa] dark:bg-slate-950 py-10 sm:py-14">
    <div class="mx-auto max-w-4xl px-4 sm:px-6 lg:px-8">
        <nav class="text-sm text-slate-500 dark:text-slate-400 mb-4">
            <a href="<?php echo e(route('home')); ?>" class="hover:text-lime-700 dark:hover:text-lime-400">Home</a>
            <span class="mx-2">/</span>
            <a href="<?php echo e(route('websites.index')); ?>" class="hover:text-lime-700 dark:hover:text-lime-400">Trust directory</a>
        </nav>

        <div class="rounded-3xl border border-lime-100 dark:border-slate-800 bg-white dark:bg-slate-900 overflow-hidden">
            <div class="p-6 sm:p-10 border-b border-slate-100 dark:border-slate-800">
                <div class="flex flex-col sm:flex-row sm:items-start sm:justify-between gap-6">
                    <div class="min-w-0">
                        <div class="flex flex-wrap items-center gap-2">
                            <p class="text-xs font-semibold uppercase tracking-wide text-lime-700 dark:text-lime-400"><?php echo e($verdictLabels[$site->editorial_verdict] ?? $site->editorial_verdict); ?></p>
                            <!--[if BLOCK]><![endif]--><?php if($site->is_featured): ?>
                                <span class="inline-flex rounded-full bg-amber-100 dark:bg-amber-900/35 px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wide text-amber-900 dark:text-amber-200">Featured review</span>
                            <?php endif; ?><!--[if ENDBLOCK]><![endif]-->
                        </div>
                        <h1 class="mt-2 text-3xl sm:text-4xl font-bold tracking-tight text-slate-900 dark:text-slate-100 font-sans"><?php echo e($site->name); ?></h1>
                        <a href="<?php echo e($site->website_url); ?>" target="_blank" rel="noopener noreferrer" class="mt-2 inline-flex items-center gap-2 text-sm font-semibold text-lime-700 dark:text-lime-400 hover:underline break-all">
                            <?php echo e($site->website_url); ?>

                            <i class="fas fa-arrow-up-right-from-square text-xs shrink-0" aria-hidden="true"></i>
                        </a>
                    </div>
                    <div class="shrink-0 text-center sm:text-right">
                        <!--[if BLOCK]><![endif]--><?php if($site->publicAuthenticityScore() !== null): ?>
                            <p class="text-xs font-semibold uppercase tracking-wide text-slate-500 dark:text-slate-400">Authenticity rating</p>
                            <p class="mt-1 text-4xl font-bold text-lime-600 dark:text-lime-400"><?php echo e($site->publicAuthenticityScore()); ?></p>
                            <p class="text-xs text-slate-500 mt-1">out of 100</p>
                            <!--[if BLOCK]><![endif]--><?php if($site->authenticityRatingSource() === 'manual'): ?>
                                <p class="text-xs text-slate-500 dark:text-slate-400 mt-2 max-w-[14rem] sm:ml-auto">Set by editors in Trust checks.</p>
                            <?php elseif($site->authenticityRatingSource() === 'community'): ?>
                                <p class="text-xs text-slate-500 dark:text-slate-400 mt-2 max-w-[14rem] sm:ml-auto">From approved community reviews.</p>
                            <?php elseif($site->authenticityRatingIsEditorialEstimate()): ?>
                                <p class="text-xs text-slate-500 dark:text-slate-400 mt-2 max-w-[14rem] sm:ml-auto">Derived from the editorial verdict until a manual score or reviews are added.</p>
                            <?php endif; ?><!--[if ENDBLOCK]><![endif]-->
                        <?php else: ?>
                            <p class="text-sm text-slate-500 dark:text-slate-400">Authenticity rating unavailable</p>
                            <p class="text-xs text-slate-400 mt-1">Add an editorial verdict or trust score in admin.</p>
                        <?php endif; ?><!--[if ENDBLOCK]><![endif]-->
                        <p class="text-xs text-slate-500 mt-3"><?php echo e($site->approved_reviews_count); ?> approved <?php echo e(Str::plural('review', $site->approved_reviews_count)); ?></p>
                    </div>
                </div>

                <?php if (isset($component)) { $__componentOriginalcd110cb072fd8b43ad3f99d0f361fd3b = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalcd110cb072fd8b43ad3f99d0f361fd3b = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.trust-sites.legitimacy-meter','data' => ['site' => $site,'class' => 'max-w-2xl']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('trust-sites.legitimacy-meter'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['site' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($site),'class' => 'max-w-2xl']); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalcd110cb072fd8b43ad3f99d0f361fd3b)): ?>
<?php $attributes = $__attributesOriginalcd110cb072fd8b43ad3f99d0f361fd3b; ?>
<?php unset($__attributesOriginalcd110cb072fd8b43ad3f99d0f361fd3b); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalcd110cb072fd8b43ad3f99d0f361fd3b)): ?>
<?php $component = $__componentOriginalcd110cb072fd8b43ad3f99d0f361fd3b; ?>
<?php unset($__componentOriginalcd110cb072fd8b43ad3f99d0f361fd3b); ?>
<?php endif; ?>

                <!--[if BLOCK]><![endif]--><?php if(filled($site->editorial_summary)): ?>
                    <p class="mt-6 text-xl leading-relaxed text-slate-600 dark:text-slate-300 font-serif text-pretty max-w-[65ch]"><?php echo e($site->editorial_summary); ?></p>
                <?php endif; ?><!--[if ENDBLOCK]><![endif]-->
            </div>
            <!--[if BLOCK]><![endif]--><?php if(filled($site->editorial_content)): ?>
                <div class="blog-post-body p-6 sm:p-10 max-w-none">
                    <?php echo $site->editorial_content; ?>

                </div>
            <?php endif; ?><!--[if ENDBLOCK]><![endif]-->
        </div>

        <?php
$__split = function ($name, $params = []) {
    return [$name, $params];
};
[$__name, $__params] = $__split('trust-sites.website-reviews', ['websiteId' => $site->id]);

$__html = app('livewire')->mount($__name, $__params, 'website-reviews-'.$site->id, $__slots ?? [], get_defined_vars());

echo $__html;

unset($__html);
unset($__name);
unset($__params);
unset($__split);
if (isset($__slots)) unset($__slots);
?>
    </div>
</section><?php /**PATH /home/nezemgrh/blog.nezertechy.xyz/resources/views/livewire/trust-sites/website-show.blade.php ENDPATH**/ ?>