<div>
    <section class="pt-0 cover-background ipad-top-space-margin sm-pb-0"
        style="background-image:
      linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
      url('https://images.pexels.com/photos/1036808/pexels-photo-1036808.jpeg');">
        <div class="shape-image-animation bottom-0 p-0 w-100 d-none d-md-block">
            <svg xmlns="http://www.w3.org/2000/svg" widht="3000" height="400" viewBox="0 180 2500 200" fill="#ffffff">
                <path class="st1" d="M 0 250 C 1200 400 1200 50 3000 250 L 3000 550 L 0 550 L 0 250">
                    <animate attributeName="d" dur="5s"
                        values="M 0 250 C 1200 400 1200 50 3000 250 L 3000 550 L 0 550 L 0 250;
                            M 0 250 C 400 50 400 400 3000 250 L 3000 550 L 0 550 L 0 250;
                            M 0 250 C 1200 400 1200 50 3000 250 L 3000 550 L 0 550 L 0 250"
                        repeatCount="indefinite" />
                </path>
            </svg>
        </div>
        <div class="container">
            <div class="row align-items-center justify-content-center h-500px sm-h-300px">
                <div class="col-12 col-lg-6 col-md-10 position-relative text-center page-title-extra-large d-flex flex-wrap flex-column align-items-center justify-content-center"
                    data-anime='{ "el": "childs", "translateY": [30, 0], "opacity": [0,1], "duration": 600, "delay": 0, "staggervalue": 300, "easing": "easeOutQuad" }'>
                    <span
                        class="ps-25px pe-25px pt-5px pb-5px mb-15px text-uppercase text-white fs-12 ls-1px fw-600 border-radius-100px bg-gradient-dark-gray-transparent d-flex"><i
                            class="bi bi-megaphone text-white icon-small me-10px"></i>{{ $pageTitle }}</span>
                    <h5 class="mb-20px text-white fw-600 ls-minus-1px">{{ $pageDescription }}</h5>
                </div>
            </div>
        </div>
    </section>

    <section class="pt-0">
        <div class="container">
            <div class="row">
                <div class="col-12">
                    <div class="row">
                        <!-- start blog item -->
                        @foreach ($announcements as $announcement)
                            <div class="col-12 mb-30px" wire:key="announcement-{{ $announcement->id }}">
                                <div
                                    class="card border-0 border-radius-4px overflow-hidden box-shadow-quadruple-large box-shadow-quadruple-large-hover">
                                    <div class="card-body p-0">
                                        <div class="row g-0">
                                            <div
                                                class="col-md-auto bg-dark-gray d-flex flex-column align-items-center justify-content-center p-4 text-white min-w-150px sm-min-w-100px">
                                                <i class="bi bi-megaphone fs-28 mb-10px"></i>
                                                <div class="text-center">
                                                    <span
                                                        class="d-block fs-30 fw-700 lh-30 mt-5px">{{ $announcement->day }}</span>
                                                    <span
                                                        class="d-block fs-12 fw-600 text-uppercase ls-1px opacity-7">{{ $announcement->month_year }}</span>
                                                </div>
                                            </div>
                                            <div class="col-md p-30px sm-p-20px">
                                                <div class="mb-5px">
                                                    <span
                                                        class="text-uppercase text-medium-gray fs-12 fw-600 ls-05px d-inline-block">
                                                        <i
                                                            class="bi bi-calendar-event me-5px"></i>{{ $announcement->formatted_date }}
                                                    </span>
                                                </div>
                                                <h5 class="card-title mb-15px fw-600 fs-20 lh-28 text-dark-gray">
                                                    {{ $announcement->title }}
                                                </h5>
                                                <div class="mb-0 text-medium-gray lh-26 announcement-content">
                                                    {!! $announcement->content !!}
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        @endforeach
                        <!-- end blog item -->
                    </div>
                </div>
                <div class="col-12 mt-4 d-flex justify-content-center">
                    {{ $announcements->links('livewire.home.custom-pagination') }}
                </div>
            </div>
        </div>
    </section>
</div>
