@charset "UTF-8";

.contents-bottom-wrap {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.speaker-list {
    display: flex;
    gap: 60px 30px;
    flex-wrap: wrap;
}

.speaker-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 0 1 calc(33.33% - 20px);
    text-align: center;
    background: #fff;
    border-radius: 18px;
    padding: 14px;
    transition: transform .15s ease, box-shadow .2s ease;
    cursor: auto;
}

.speaker-card.none .speaker-thumb{
    pointer-events: none;
    cursor: default;
}

.speaker-thumb {
    margin: 0 auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
    cursor: pointer;
    background-color: #f1f1f1;
}

.speaker-thumb img {
    height: 110%;
    object-fit: contain;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -35px;
}

.img_01_04 {
    height: 125% !important;
    bottom: -69px !important;
}

.img_01_05 {
    height: 94% !important;
    bottom: -1px !important;
}

.img_02_02 {
    height: 94% !important;
    bottom: -1px !important;
}

.img_02_01 {
    height: 123% !important;
    bottom: -64px !important;
}

.img_03_01 {
    left: 55% !important;
    bottom: -25px !important;
}

.img_03_02 {
    left: 44% !important;
    bottom: -35px !important;
}

.img_wait {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
}

.speaker-meta {
    text-align: center;
    line-height: 1.5;
}

.speaker-meta .part {
    color: #00a6e2;
    font-size: 16px;
}

.speaker-meta .name {
    font-weight: 700;
    color: #101010;
    font-size: 20px;
}

.descript {
    margin: 0;
    color: #4b5563;
    font-size: 16px;
}

.txt {
    display: none;
}

.txt-sub {
    font-size: 12px;
    display: grid;
    line-height: 1.2rem;
    margin-top: 4px;
}

.speaker span {
    font-size: 16px;
    margin-right: 4px;
}

/* 오버레이 효과 */
.speaker-card .speaker-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

/* 버튼 */
.view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    background: rgba(255, 255, 255, 0.9);
    color: #222;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

/* hover 시 변화 */
.speaker-card:not(.none):hover .speaker-thumb img {
    filter: brightness(70%);
}

.speaker-card:hover .view-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

/* 버튼 hover 효과 */
.view-btn:hover {
    background: var(--primary-color, #0077ff);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 모달창 */
.modal {
    display: -webkit-box;
    display: -ms-flexbox;
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    background: rgba(0, 0, 0, 0.75);
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.modal-content {
    overflow-y: scroll;
    position: relative;
    width: 1250px;
    max-width: calc(100vw - 30px);
    max-height: calc(100dvh - 200px);
    padding: 50px;
    background: #fff;
    font-size: 16px;
    -webkit-box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.05);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#closeModal {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    font-size: 1.5em;
    cursor: pointer;
}

.modal .modal-row {
    display: flex;
    gap: 60px;
}

.modal .speaker-txt {
    flex: 1;
}

.modal .speaker-img .img_wrap {
    margin: 0 auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
    cursor: pointer;
    background-color: #f1f1f1;
}

.modal .speaker-img .img_wrap img {
    height: 110%;
    object-fit: contain;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -35px;
}

.modal .speaker-txt .info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 1.5em;
}

.modal .txt_wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#modalTitle {
    color: var(--primary-color);
    line-height: 1.35em;
    font-size: 1.3em;
}

#modalName {
    font-size: 2em;
    font-weight: 700;
    line-height: 1.35em;
}

#modalDesc {
    font-size: 1.2em;
    color: #999;
    line-height: 1.35em;
}

#modalTxt {
    font-size: 1.1em;
    line-height: 1.4em;
    text-wrap-style: balance;
}


@media (max-width: 1025px) {

    .speaker-list li {
        flex: 0 1 calc(50% - 15px);
    }

    .speaker-card {
        padding: 0;
    }

    .speaker-thumb {
        width: 110px;
        height: 110px;
    }

    .modal-content {
        max-height: calc(100vh - 120px);
        max-height: calc(100dvh - 200px);
        padding: 15px;
        padding-top: 30px;
        font-size: 12px;
        top: 55%;
    }

    .modal .modal-row {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }

    .modal .speaker-txt .info {
        align-items: center;
    }

    .modal .speaker-img .img_wrap {
        width: 150px;
        height: 150px;
    }

    .speaker-thumb img {
        height: 100%;
        object-fit: contain;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: -10px;
    }

    .img_01_04 {
        height: 120% !important;
        bottom: -30px !important;
    }

    .img_01_05 {
        height: 94% !important;
        bottom: -1px !important;
    }

    .img_02_02 {
        height: 94% !important;
        bottom: -1px !important;
    }

    .img_02_01 {
        height: 123% !important;
        bottom: -30px !important;
    }

    .img_03_01 {
        left: 55% !important;
        bottom: -10px !important;
    }

    .img_03_02 {
        left: 44% !important;
        bottom: -10px !important;
    }

    #modalDesc {
        text-align: center;
    }

    #modalTxt {
        font-size: 1em;
        line-height: 1.2em;
        text-wrap-style: balance;
    }
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    margin-left: -8px;
    background-color: var(--default-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    width: 8px;
    height: 8px;
    background: var(--btn_blue);
    border-radius: 4px;
}

::-webkit-scrollbar-button {
    display: none;
}