.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 1rem;
    font-style: italic;
    background: #FFFFFF;
    margin: 0 auto;
    display: flex;

    /*margin-top: 1rem;*/
    /*margin-bottom: 1rem;*/
}

.carousel-record-card {
    padding: 1rem;
    border-radius: 16px;
    display: flex;
    @media screen and (min-width: 800px) {
        box-shadow: 0px 4px 4px 0px #00000040;
    }
    @media screen and (max-width: 799px) {
        border: 1px solid black;
        max-width: 358px !important;
        margin-left: 0;
    }
    flex-direction: column;
    object-fit: cover;

    .image {
        margin:auto;
        height: 150px;
        aspect-ratio: 4/3;
        border-radius: 8px;
    }

    .image img {
        max-width: 100%;
        max-height: 100%;
    }

    .content-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        .content-title {
            font-weight: bold;
            text-align: left;
            /*color: var(--primary-color);*/
            margin-bottom: 1rem;
            margin-top: 1rem;
        }
    }

    .content-details {
        display: flex;
        flex-direction: column;

        div {
            display: flex;
            gap: 0.5rem;
            line-height: 1rem;
            flex: 0 0 calc(50% - 1rem);

            img {
                width: 16px;
                height: fit-content;
            }

            p {
                font-weight: bold;
            }

            span {
                margin-top: 0.15rem;
            }
        }

        @media only screen and (max-width: 991px) {
            justify-content: space-between;
            max-height: 100%;
            flex-grow: 2;
            div {
                flex-basis: 100%;
                justify-content: space-between;
            }
        }
    }

    @media only screen and (max-width: 991px) {
        flex-direction: column;
        > div:first-of-type {
            flex-direction: column;
        }
    }

    .action {
        .btn-primary {
            width: 160px;
        }
    }
}

.swiper-button-next,
.swiper-button-prev {
    background-color: black;
    width: 35px !important;
    height: 35px;
    border-radius: 30px;
    color: #006d6f;
    --swiper-navigation-sides-offset: 0px;
    @media screen and (max-width: 799px) {
        display: none;
    }
    /*max-width: fit-content;*/
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 0.9rem;
    font-weight: 1000;
    color:white;
}

.swiper-slide {
    display: block;
    border-radius: 16px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: flex-start;
}

.swiper-slide img {
    height: auto;
    @media screen and (min-width: 800px) {
        max-height: 626px;
        max-width: 50vw !important;
    }
}

.carousel-main-container {
    @media screen and (min-width: 1000px) {
        width:100%;
    }
    max-width: 1600px !important;
    position: relative;
}

.mobile-friendly-p-4 {
    @media screen and (max-width: 799px) {
        padding: 0 !important;
        padding-bottom: 1px !important;
    }
}

.main-page-carousel-header {
    margin-left: 2rem;
    margin-top: 3rem;
    font-weight:bold;
    text-align:left;
}