@extends('layouts.app')
@section('title')
Press Release
@parent
@stop
@section('content')

<style>
    .rt article-id,
    .rt back {
        display: none;
    }

    .rt .card-header {
        color: white;
        background: var(--siteblue);
    }

    .rt .card-header article-title {
        font-size: 1.38em;
        line-height: 1.5em;
        border-bottom: 1px solid #fff;
        padding-bottom: 5px;
        margin-bottom: 10px;
        display: block;
        text-transform: capitalize;
    }

    .rt .card-header abstract {
        display: block;
        font-size: 14px;
    }

    .rt article body p {
        text-align: justify;
    }

    .rt .card-header a {
        color: #fff;
        text-decoration: underline;
    }

    .rt .card-body a {
        color: var(--siteblue);
        text-decoration: underline;
    }

    .rt aff {
        display: block;
    }
</style>
<section>
    <div class="container">

        <h2 class="h4 d-flex w-100">Press Release <a href="/press_release" class="btn btn-primary bg-siteblue ml-auto hvr-icon-wobble-horizontal"><i class="fa-solid fa-angle-left mx-2 hvr-icon"></i> Press Release List</a></h2>
        <hr>
        <div class="row">
            <div class="col-md-12 rt">

                @foreach ($press_release as $press_release_list)
                <div class="card">
                    <div class="card-header">
                        <article-meta>
                            <article-title>{{$press_release_list->title}}</article-title>
                            <aff>
                                <bold>PRESS RELEASE DATE : </bold> {{gmdate("d-F-Y", $press_release_list->press_release_date)}}
                            </aff>
                        </article-meta>
                    </div>

                    <div class="card-body text-justify">
                        {!! $press_release_list->description !!}
                    </div>
                </div>
                @endforeach

            </div>
        </div>
    </div>
</section>
@endsection