@charset "utf-8";

.voBx {
    position: relative;
}

.voItem {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 1rem;
    border: .3rem solid var(--white);
    transition: all .3s;
}

.voItem:hover {
    border: .3rem solid var(--primary);
}

.voModalLink {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem 2rem 3rem;
}

.voItemTitBx {
    padding: 0 0 2rem 0;
    border-bottom: 1px solid var(--black);
    text-align: center;
}

.voItemName {
    font-size: 2.5rem;
    line-height: 1.45;
    letter-spacing: 0.05em;
    color: var(--primary);
    text-align: center;
}

.voItemCourse {
    display: flex;
    max-width: max-content;
    margin: 1rem auto 0;
    line-height: 1.45;
    letter-spacing: 0.05em;
    font-size: 1.8rem;
    color: var(--white);
    padding: .2rem 1rem;
    background: var(--primary);
    border-radius: .5rem;
}

.voItemPassed {
    margin: 2rem 0 0;
    text-align: center;
    line-height: 1.45;
    font-weight: 700;
}

.voItemTxtBx {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin: 2rem 0 0;
}

.voItemTit {
    font-size: 2rem;
    line-height: 1.45;
    color: var(--primary);
}

.voItemTxt {
    margin: 1rem 0 0;
    padding: 0 0 1.5rem 0;
}

.voItemTxt p {
    font-weight: 700;
    line-height: 1.56;
}

.voModalLink .voItemTxt p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.voiceSlider .hide-area {
    display: none;
}

.voItemBtn {
    margin: auto 0 0 auto;
    font-size: 2rem;
    line-height: 1.45;
    font-weight: 700;
    color: var(--primary);
    text-align: end;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    display: none;
}

.swiper-button-next,
.swiper-button-prev {
    width: 3.4rem;
    aspect-ratio: 1/1;
}

.voBx .swiper-button-prev {
    left: -4.5rem;
    background: url(../../../../uploads/voice_arrow_left.svg)no-repeat center /contain;
}

.voBx .swiper-button-next {
    right: -4.5rem;
    background: url(../../../../uploads/voice_arrow_right.svg)no-repeat center /contain;
}

.modaal-wrapper .modaal-container {
    background: var(--secondary);
    border-radius: 2rem;
}

.voModTitFl {
    display: flex;
    gap: 5rem;
}

.voImg {
    position: relative;
    width: 22%;
    height: 100%;
    max-width: 18.5rem;
    height: 18.5rem;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 100%;
}

.voImg img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.voModTitBx {
    flex: 1;
}

.voModTitBx .voItemName {
    border-bottom: 1px solid var(--black);
    text-align: left;
}

.voModTitBx .voItemCourse {
    margin: 2rem auto 0 0;
    text-align: left;
}

.voModTitBx .voItemPassed {
    text-align: left;
}

.voModTxtBx {
    margin: 2.5rem 0 0;
    padding: 3rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 .3rem .6rem rgba(0, 0, 0, 0.16);
}


/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (width <=768px) {

    .modaal-content-container {
        padding: 2rem 1.5rem;
    }

    .voBx {
        width: 80%;
        max-width: 50rem;
        margin: 0 auto;
    }

    .voItemName {
        font-size: 2rem;
    }

    .voItemCourse {
        font-size: 1.6rem;
    }

    .voModTitFl {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .voImg {
        width: 100%;
    }

    .voItemTit {
        font-size: 1.8rem;
    }

    .voModTitFl {
        gap: 2rem;
    }

    .voModTxtBx {
        padding: 2, .5rem 1.5rem;
    }
}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */