.bios-wrapper > .intro {
    margin-top: 5rem;
    .text {
        padding-bottom: 2.5rem;
        border-bottom: solid 1px var(--bs-light-gray);
        p:last-child {
            margin-bottom: 0;
        }
    }
}

#bio-filter {
    margin: 2.5rem 0 3.75rem;

}

.bio-feed {
    .item {
        position: relative;
        cursor: pointer;
        .image {
            position: relative;
            aspect-ratio: 6.9/10;
            transition: all .3s ease-in-out;
            border-radius: var(--bs-border-radius);
            background: var(--gradient-blue-bg);
            overflow: hidden;
            &::before {
                content: "";
                display: block;
                position: absolute;
                z-index: 2;
                bottom: 1rem;
                right: 1rem;
                pointer-events: none;
                width: 3.5rem;
                height: 3.5rem;
                background-image: url("data:image/svg+xml,%3Csvg width='55' height='55' viewBox='0 0 55 55' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='27.5' cy='27.5' r='26.7361' fill='%23CFFC51' stroke='%23CFFC51' stroke-width='1.52778'%3E%3C/circle%3E%3Cpath d='M18.3338 19.8608L36.6666 19.8608L36.6666 38.1936' stroke='%230B0C0F' stroke-width='1.52778'%3E%3C/path%3E%3Cpath d='M18.3335 38.1939L36.6663 19.861' stroke='%230B0C0F' stroke-width='1.52778'%3E%3C/path%3E%3C/svg%3E");
                background-position: center;
                background-repeat: no-repeat;
                background-size: contain;
                opacity: 0;
                transition: all .3s ease-in-out;
            }
            &::after {
                content: "";
                display: block;
                position: absolute;
                z-index: 1;
                /* inset: 0; */
                top: 20%;
                left: 0;
                right: 0;
                bottom: 0;
                pointer-events: none;
                opacity: 0;
                background: linear-gradient(to bottom,rgba(5,13,50,0) 40%,rgba(5,13,50,1) 100%);
                transition: all .3s ease-in-out;
            }
            > img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        .description {
            position: absolute;
            z-index: 3;
            left: 1rem;
            right: 5rem;
            bottom: 1rem;
            color: #FFF;
            transition: all .3s ease-in-out;
        }

        &:hover {
            .image {
                &::before {
                    opacity: 1;
                }
                &::after {
                    opacity: 1;
                }
            }
            .description {
                opacity: 1 !important;
            }
        }
    }
}

#bio-results {
    .item {
        margin-bottom: 1.5rem;
        .description {
            opacity: 0;
        }
        h5 {
            color: #FFF;
        }
        .title {
            font-size: 1rem;
        }
    }
    > .col-12:nth-child(5n) .image {
        aspect-ratio: 4.125/5;
    }
    > .col-12:nth-child(5n-1) .image {
        aspect-ratio: 1/1;
    }
    > .col-12:nth-child(5n-2) .image {
        aspect-ratio: 7.5/10;
    }
    > .col-12:nth-child(5n-3) .image {
        aspect-ratio: 9/10;
    }
    > .col-12:nth-child(5n-4) .image {
        aspect-ratio: 7/10;
    }
}

#bios-slider-wrapper {
    border: solid 1px var(--bs-light-gray);
    border-radius: var(--bs-border-radius);
    padding: 2.75rem;
    #bios-slider {
        .swiper-nav {
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
            margin-bottom: 2.5rem;
        }
        .swiper-button-next, .swiper-button-prev {
            position: static;
            margin-top: 0;
        }
        .item {
            .image {
                margin-bottom: 1.875rem;
                aspect-ratio: 1/1.3;
            }
            .description {
                position: static;
                color: var(--bs-body-color);
                .title {
                    font-size: 1.25rem;
                }
            }
        }
    }
}

#bioModal {
    --bs-modal-header-border-width: 0;
    --bs-modal-border-radius: var(--bs-border-radius);
    --bs-modal-padding: 2.25rem;
    --bs-modal-width: 825px;
    .modal-header {
        position: absolute;
        z-index: 1;
        top: 0;
        left: 0;
        right: 0;
    }
}

.bio-wrapper {
    .bio-header {
        display: flex;
        align-items: flex-end;
        gap: 2.5rem;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        border-bottom: solid 1px var(--bs-light-gray);
        .bio-image {
            flex: 1 0 43%;
            max-width: 43%;
            border-radius: var(--bs-border-radius);
            overflow: hidden;
            aspect-ratio: 1/.95;
            > img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
        .bio-header-content {
            padding-bottom: .75rem;
            .contact-info {
                margin-top: 1.5rem;
                display: flex;
                align-items: center;
                gap: 1rem;
            }
        }
    }
    .bio-body {
        h4 {
            font-size: 1rem;
            font-weight: 700;
        }
    }
    .bio-footer {
        .items {
            display: flex;
            gap: 1.5rem;
            .item {
                flex: 1;
                aspect-ratio: 2/1;
                position: relative;
                display: flex;
                align-items: flex-end;
                justify-content: space-between;
                padding: 1rem;
                text-decoration: none !important;
                border-radius: var(--bs-border-radius);
                overflow: hidden;
                margin-bottom: .5rem;
                &::before,
                &::after {
                    content: "";
                    display: block;
                    position: absolute;
                    z-index: 2;
                    inset: 0;
                    pointer-events: none;
                    opacity: .6;
                    background: linear-gradient(to bottom,rgba(5,13,50,0) 0%,rgba(5,13,50,1) 100%);
                    transition: all .3s ease-in-out;
                }
                &::after {
                    opacity: 0;
                    background: linear-gradient(to bottom,rgba(5,13,50,.5) 0%,rgba(5,13,50,1) 100%);
                }
                .title {
                    position: relative;
                    z-index: 3;
                    color: var(--bs-white);
                    display: flex;
                    align-items: flex-end;
                    gap: 1rem;
                    h6 {
                        color: inherit;
                    }
                    > svg {
                        flex: 1 0 40px;
                        width: 40px;
                        transition: all .2s ease-in-out;
                        circle,
                        path {
                            stroke: var(--bs-light);
                        }
                    }
                }
                .image {
                    position: absolute;
                    z-index: 1;
                    inset: 0;
                    > img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }
                &:hover {
                    &::after {
                        opacity: 1;
                    }
                    .title {
                        > svg {
                            transform: rotate(-45deg);
                            circle {
                                stroke: #CFFC51;
                                fill: #CFFC51;
                            }
                            path {
                                stroke: #121317;
                            }
                        }
                    }
                }
            }
        }
    }
}

#bios.single {
    padding: 5.5rem 0;
    .bio-image {
        flex: 1 0 240px;
        max-width: 240px;
    }
    .bio-footer {
        margin-top: 4.5rem;
        .items {
            margin-top: 2rem;
        }
    }
}

@media (max-width: 768px) {
    #bio-filter .row {
        --bs-gutter-y: .75rem;
    }
    #bio-filter .col {
        min-width: 40%;
    }
}
@media (max-width: 575px) {
    #bios-slider-wrapper {
        padding: 1.25rem;
        .swiper-nav {
            gap: 0.375rem !important;
            margin-bottom: 0.875rem !important;
        }
        #bios-slider {
            .item {
                .description {
                    .title {
                        font-size: 1rem;
                    }
                }
            }
        }
    }
    .bio-wrapper {
        .bio-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 1.5rem;
            .bio-image {
                width: 60%;
                max-width: 60%;
            }
        }
        .bio-footer {
            .items {
                flex-direction: column;
            }
        }
    }
}
@media (max-width: 375px) {
    #bio-filter .col {
        min-width: 100%;
    }
}