.block-voice-with-modal{
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(var(--bs-gutter-x) * -.5);
    margin-left: calc(var(--bs-gutter-x) * -.5);
    & li{
        list-style: none !important;
        margin-bottom: 1.5rem;
    }
}
.card-voice{
    height: 100%;
    & .clickable{
        background: #fff;
        height: 100%;
        border: none !important;
    }
    & .card-title{
        line-height: 1.4;
    }
    & .post_img{
        margin: 0;
        aspect-ratio: 4/3;
        position: relative;
        &:after{
            content: '\f00e';
            font-family: "Font Awesome 7 Free";
            font-weight: bold;
            position: absolute;
            right: 0;
            bottom: 0;
            font-size: 1.5rem;
            color: #fff;
            background: rgba(0,0,0,.5);
            display: grid;
            place-content: center;
            width: 2em;
            height: 2em;
            border-radius: 50%;
        }
        & img{
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
}
.post-voice-image-modal {
    width: min(90vw, 1200px);
    height: 90vh;
    border: 0;
    padding: 0;
    & .dialog_inner{
        display: grid;
        grid-template-rows: auto 1fr;
        justify-items: center;
        gap: .5rem;
        position: relative;
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 1rem;
    }
    & img {
        display: block;
        max-width: calc(100% - 2rem);
        width: auto;
        height: auto;
    }
    & .post-modal-title{
        font-size: .875em;
        color: #333;
    }
    & .post-image-modal__close{
        font-size: 2rem;
        border: none;
        background: rgba(0,0,0,.9);
        color: #fff;
        aspect-ratio: 1;
        border-radius: 4px;
        text-align: center;
        display: grid;
        width: 1.5em;
        place-items: center;
        padding: 0;
        position: absolute;
        right: 0;
        top: 0;
        z-index: 1;
    }
    & .post-image-modal__nav{
        position: absolute;
        top: 45%;
        left: -1rem;
        width: calc(100% + 2rem);
        display: flex;
        justify-content: space-between;
        height: 1px;
        overflow: visible;
        & .button_wrap{
            width: 2rem;
        }
        & button{
            position: fixed;
            font-size: 1.5rem;
            color: #fff;
            background: rgba(0,0,0,.9);
            padding: 0 .25rem .25rem;
            height: 1.5em;
        }
    }
}

.post-voice-image-modal::backdrop {
    background: rgb(0 0 0 / 70%);
}
