        /* Hide slider until Swiper is initialized */
        .mySwiper {
            opacity: 0;
            transition: opacity 0.25s ease-out;
            overflow: hidden;
        }

        /* When Swiper is ready, fade it in */
        .mySwiper.swiper-ready {
            opacity: 1;
        }

        /* Before Swiper initializes, only show the first slide */
        .mySwiper:not(.swiper-initialized) .swiper-slide {
            opacity: 0;
            pointer-events: none;
        }

        .mySwiper:not(.swiper-initialized) .swiper-slide:first-child {
            opacity: 1;
            pointer-events: auto;
        }

        .latest-posts-slider-wrapper {
            background: linear-gradient(0deg, var(--gb-white) -50%, #f4fcff 100%);
            position: relative;
            margin: 0px auto;
            padding: 0px 60px;
        }

        .latest-posts-slider {
            max-width: var(--1280);
            margin: 0px auto;
            padding: 40px 0;
        }

        .swiper {
            width: 100%;
            margin: auto;
        }

        .swiper-slide {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 0px;
            box-sizing: border-box;
        }

        .swiper-slide a {
            display: flex;
            flex-direction: row;
            align-items: stretch;
            gap: 32px;
        }

        .slide-image {
            width: 100%;
            max-width: var(--1400);
            aspect-ratio: 16 / 9;
            overflow: hidden;
            background-color: var(--gb-white);
            border: 1px solid #e4f1fb;
            border-radius: 12px;
        }

        .slide-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .slide-text-container {
            display: flex;
            flex-direction: column;
            width: 60%;
            padding-right: 32px;
            align-items: flex-start;
            justify-content: center;
        }

        .author-container {
            display: flex;
            flex-direction: row;
            margin-top: 20px;
            align-items: center;
            gap: 12px;
        }

        .slide-title {
            font-family: var(--font-family);
            color: var(--primary-900);
            font-weight: 800;
            font-size: 32px;
            line-height: 42px;
            width: 100%;
            margin: 0px auto;
            padding: 0px;
            text-align: left;
        }

        .slide-text {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            text-align: left;
            gap: 10px;
        }

        .slide-meta {
            font-size: 0.9rem;
            color: #666;
            font-weight: 400;
            margin: 0;
        }

        .author-name {
            color: var(--primary-900);
            font-size: 16px;
        }

        .reading-time {
            color: #59717C;
            margin-bottom: 20px;
            font-size: 16px;
        }

        .reading-time span {
            font-weight: bold;
            color: #20333C;
        }

        /* Swiper Pagination Bullets */
        .swiper-pagination {
            position: relative;
            margin-top: 40px;
        }

        .swiper-pagination-bullet {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: #bbb;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            opacity: 0.6;
        }

        /* Active bullet becomes an oval */
        .swiper-pagination-bullet-active {
            width: 32px;
            border-radius: 20px;
            background-color: #FDEBDC;
            opacity: 1;
        }

        /* Progress fill inside active bullet */
        .swiper-pagination-bullet-active::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 0%;
            background-color: var(--gb-orange-text, #FD7E16);
            /* Customize this if needed */
            opacity: 0.9;
            border-radius: inherit;
            animation: fillProgress 8s ease-in-out forwards;
            transition: width 0.5s ease-in-out, background-color 0.3s ease;
        }

        /* Animation keyframes */
        @keyframes fillProgress {
            from {
                width: 0%;
            }

            to {
                width: 100%;
            }
        }

        /* Hack to reset animation */
        .swiper-pagination-bullet-active.swiper-pagination-bullet-active-fix::before {
            animation: none;
            animation: fillProgress 8s ease-in-out forwards;
        }

        @media only screen and (max-width: 834px) {
            .swiper-slide a {
                flex-direction: column !important;
                gap: 25px;
            }

            .latest-posts-slider-wrapper {
                padding-left: var(--mobile-viewport-spacing);
                padding-right: var(--mobile-viewport-spacing);
            }

            .slide-text-container {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                width: 100%;
                padding-right: 0px;
            }

            .swiper-pagination {
                margin-top: var(--mobile-viewport-spacing);
            }

            .slide-title {
                font-size: 26px;
                line-height: 36px;
            }

            .latest-posts-slider {
                padding-top: var(--mobile-viewport-spacing);
            }
        }