/* teacher_list */
.teacher .page_list .page_header .description.type-2{
    display: inline-block;
    padding: 4px 10px;
    background: var(--color-normal-1);
    border-radius: 50px;

    color: var(--color-normal-4);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}
.teacher .page_list .page_body{
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}
.teacher .page_list .teacher_item{
    position: relative;
    padding: 20px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-3);
    border-radius: 6px;

    text-align: left;
}
.teacher .page_list .teacher_item + .teacher_item{
    margin-top: 12px;
}
/* ¼öÁ¤ */
.teacher .page_list .teacher_item .info{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
/* ¼öÁ¤ */
.teacher .page_list .teacher_item .info .thumb{
    overflow: hidden;
    width: 80px;
    height: 80px;   
    margin-right: 12px;

    border-radius: 50%;
    border: 1px solid var(--color-gray-3);
    background: var(--color-gray-3);
}
.teacher .page_list .teacher_item .info .thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.teacher .page_list .teacher_item .info .right{
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.teacher .page_list .teacher_item .info .title{
    position: relative;
    color: var(--color-gray-8);
    
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.04em;    
}
.teacher .page_list .teacher_item .info .title a{
    position: relative;
    padding-right: 11px;
}
.teacher .page_list .teacher_item .info .title a::after{
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 7px; 
    height: 12px;
    margin-top: -6px;
    background: url(../../../img/ico/ico_arw-teacher.png) no-repeat center / contain;
    vertical-align: top;
}
.teacher .page_list .teacher_item .info .name{
    color: var(--color-gray-10);
    font-weight: 700;
}
.teacher .page_list .teacher_item .info .rate{
    display: block;
    padding-left: 16px;
    margin-top: 4px;
    background: url(../../../img/common/rate_star.png) no-repeat left center / 14px auto;

    color: var(--color-normal-9);
    font-weight: 500;
}
.teacher .page_list .teacher_item .info ul{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 16px;
    gap: 6px 0;
}
.teacher .page_list .teacher_item .info li{
    display: flex;
    align-items: center;

    color: var(--color-gray-7);
    font-size: 12px;
}
.teacher .page_list .teacher_item .info li + li::before{
    content: '';
    width: 3px;
    height: 3px;
    margin: 0 4px;
    background: var(--color-gray-4);
    border-radius: 50%;
}
/* ¼öÁ¤ */
/* .teacher .page_list .teacher_item .btns{
    display: flex;
    margin-top: 20px;
    gap: 8px;
} */
.teacher .page_list .teacher_item .btns{
    display: flex;
    gap: 8px;
}
/* ¼öÁ¤ */

.teacher .page_list .teacher_item .check_box{
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
}
.teacher .page_list .teacher_item .check_box input[type="radio"] + label::before{
    width: 100%;
    height: 100%;
}
.teacher .page_list .teacher_item .dropdown{
    overflow: hidden;
    margin-top: 16px;
}
.teacher .page_list .teacher_item .dropdown_item{
    background: var(--color-gray-2);
    border-radius: 6px;
}
.teacher .page_list .teacher_item .dropdown_item .btn{
    display: block;
    width: 100%;
    position: relative;
    padding: 10px 16px;

    color: var(--color-gray-8);
    font-weight: 500;
    text-align: left;
    line-height: 1.45;
}
.teacher .page_list .teacher_item .dropdown_item .btn::after{
    content: '';
    position: absolute;
    top: 50%;
    right: 16px;
    width: 20px;
    height: 9px;
    margin-top: -5px;
    background: url(../../../img/ico/ico_arw-select.png) no-repeat center / cover;
}
.teacher .page_list .teacher_item .dropdown_item.show .btn::after{
    transform: rotate(180deg);
}
.teacher .page_list .teacher_item .dropdown_item .cont{
    display: none;    
    padding: 0 16px 16px;
    color: var(--color-gray-7);
    line-height: 1.55;
}
.teacher .page_list .teacher_item .dropdown_item.show .cont{
    display: block;
}
.teacher .page_list .teacher_item .dropdown_item .cont .scroll_box{
    overflow-y: auto;
    height: 220px;
}
.teacher .page_list .teacher_item .dropdown_item .cont .scroll_box::-webkit-scrollbar {
    width: 4px;
}
.teacher .page_list .teacher_item .dropdown_item .cont .scroll_box::-webkit-scrollbar-thumb {
    background-color: var(--color-gray-4);
    border-radius: 10px;
}
.teacher .page_list .teacher_item .dropdown_item .cont .scroll_box::-webkit-scrollbar-track {
    background-color: none;
    border-radius: 10px;
}
.teacher .page_list .teacher_footer{
    margin-top: 60px;
}
.teacher .page_list .teacher_footer [class*="btn-type-"]{
    flex: 1;
}
.teacher .page_list .teacher_footer p{
    margin-top: 12px;
    color: var(--color-gray-5);
    text-align: center;
}
.teacher .page_list .teacher_footer p em{
    color: var(--color-normal-4);
}

@media (min-width: 1025px) {
    .teacher .page_list .page_header{
        padding-bottom: 60px;
    }
    .teacher .page_list .page_header .description.type-2{
        margin-top: 25px;
        font-size: 16px;
    }
    .teacher .page_list .page_body{
        max-width: 100%;
    }
    .teacher .page_list .teacher_list{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    /* ¼öÁ¤ */
    /* .teacher .page_list .teacher_item{
        width: calc(50% - 10px);
        padding: 30px;
        border-radius: 8px;    
    } */
    .teacher .page_list .teacher_item{
        display: flex;
        flex-direction: column;
        width: calc(50% - 10px);
        padding: 30px;
        border-radius: 8px;    
    }
    /* ¼öÁ¤ */
    .teacher .page_list .teacher_item + .teacher_item{
        margin-top: 20px;
    }
    .teacher .page_list .teacher_item:nth-child(2){
        margin-top: 0;
    }
    .teacher .page_list .teacher_item .info .thumb{
        width: 100px;
        height: 100px;   
        margin-right: 24px;
    }
    .teacher .page_list .teacher_item .info .title{
        position: relative;
        color: var(--color-gray-8);
        
        font-size: 18px;
        line-height: 1.45;
    }
    .teacher .page_list .teacher_item .info .title a{
        position: relative;
        padding-right: 12px;
    }
    .teacher .page_list .teacher_item .info .title a::after{
        width: 8px; 
        height: 14px;
        margin-top: -7px;
    }
    .teacher .page_list .teacher_item .info .name{
        color: var(--color-gray-10);
        font-weight: 700;
    }
    .teacher .page_list .teacher_item .info .rate{
        padding-left: 18px;
        margin-top: 8px;
        background-size: 16px auto;

        font-size: 16px;
    }
    .teacher .page_list .teacher_item .info ul{
        margin-top: 20px;
        gap: 8px 0;
    }
    .teacher .page_list .teacher_item .info li{
        font-size: 16px;
    }
    .teacher .page_list .teacher_item .info li + li::before{
        width: 4px;
        height: 4px;
        margin: 0 6px;
    }
    /* ¼öÁ¤ */
    /* .teacher .page_list .teacher_item .btns{
        margin-top: 20px;
        gap: 10px;
    } */
    .teacher .page_list .teacher_item .btns{
        margin-top: auto;
        gap: 10px;
    }
    /* ¼öÁ¤ */
    
    .teacher .page_list .teacher_item .check_box{
        width: 40px;
        height: 40px;
    }
    .teacher .page_list .teacher_item .dropdown{
        margin-top: 20px;
    }
    .teacher .page_list .teacher_item .dropdown_item{
        border-radius: 8px;
    }
    .teacher .page_list .teacher_item .dropdown_item .btn{
        display: none;
    }
    .teacher .page_list .teacher_item .dropdown_item .cont{
        display: block;
        padding: 20px;

        font-size: 16px;
        line-height: 1.5;
    }
    .teacher .page_list .teacher_item .dropdown_item.show .cont{
        display: block;
    }
    .teacher .page_list .teacher_item .dropdown_item .cont .scroll_box{
        overflow-y: auto;
        height: 120px;
    }
    .teacher .page_list .teacher_footer{
        margin-top: 80px;
    }
    .teacher .page_list .teacher_footer p{
        margin-top: 20px;
        font-size: 16px;
    }
}

/* teacher_detail */
.teacher .page_detail .inner{
    max-width: 620px;
}
.teacher .page_detail .detail_thumb img{
    width: 100%;
}
.teacher .page_detail .detail_thumb .inner{
    padding-left: 0;
    padding-right: 0;
}
.teacher .page_detail .detail_header{
    margin-bottom: 36px;
}
.teacher .page_detail .detail_info .title{
    color: var(--color-gray-8);
    font-weight: 400;
    letter-spacing: -0.04em;
}
.teacher .page_detail .detail_info .title .name{
    color: var(--color-gray-10);
    font-size: 22px;
    font-weight: 700;
}
.teacher .page_detail .detail_info .rate{
    display: inline-block;
    padding-left: 16px;
    margin-top: 8px;
    background: url(../../../img/common/rate_star.png) no-repeat left center / 14px auto;
    color: var(--color-normal-9);
    font-weight: 500;
}
.teacher .page_detail .detail_info ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    margin-top: 20px;
    padding: 20px 20px 0;
    border-top: 1px solid var(--color-gray-3);

    gap: 8px 0
}
.teacher .page_detail .detail_info li{
    display: flex;
    align-items: center;

    position: relative;
    color: var(--color-gray-8);
    font-weight: 500;
    line-height: 1.45;
}
.teacher .page_detail .detail_info li + li::before {
    content: '';
    width: 3px;
    height: 3px;
    margin: 0 6px;
    background: var(--color-gray-4);
    border-radius: 50%;
}
.teacher .page_detail .detail_info .detail_header .btns{
    display: flex;
    gap: 8px;
    margin-top: 24px;
}
.teacher .page_detail .detail_info .comment{
    overflow: hidden;
    padding: 20px;
    border: 1px solid var(--color-gray-3);
    border-radius: 6px;

    color: var(--color-gray-8);
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: -0.04em;
}
.teacher .page_detail .detail_info .comment .headline{
    display: inline-block;
    position: relative;
    padding: 4px 8px 4px 26px;
    margin-bottom: 16px;
    border-radius: 50px;
    background: var(--color-gray-2);
    color: var(--color-normal-4);
    font-size: 12px;
    font-weight: 500;

}
.teacher .page_detail .detail_info .comment .headline::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 8px;
    margin-top: -7px;
    width: 14px;
    height: 12px;
    background: url(../../../img/ico/ico_comment.png) no-repeat center / cover;
    
}
.teacher .page_detail .detail_review{
    position: relative;
    top: 60px;
    padding-bottom: 60px;
    background: var(--color-normal-3);
}
.teacher .page_detail .detail_review .title{
    color: var(--color-white);
}
.teacher .page_detail .detail_review .title::before{
    content: '';
    display: block;
    width: 27px;
    height: 38px;
    margin: 0 auto 12px;
    background: url(../../../img/common/badge.png) no-repeat center / cover;
}
.teacher .page_detail .detail_review .review_item{
    overflow: hidden;
    background: var(--color-white);
    border-radius: 6px;
}
.teacher .page_detail .detail_review .review_item + .review_item{
    margin-top: 16px;    
}
.teacher .page_detail .detail_review .review_item .article{
    padding: 16px 20px;

    color: var(--color-gray-8);
    font-size: 16px;
    line-height: 1.5;
}
.teacher .page_detail .detail_review .review_item .info{
    padding: 12px 20px;
    background: var(--color-gray-2);
}
.teacher .page_detail .detail_review .review_item .info .user{
    text-align: right;

    color: var(--color-normal-4);
    font-size: 12px;
    font-weight: 500;
}
.teacher .page_detail .detail_review .review_item .info .user_id{
    margin-left: 4px;
    color: var(--color-normal-5);
}

/* page_complete */

@media (min-width: 1025px) {
    .teacher .page_detail{
        padding-top: 50px;
    }
    .teacher .page_detail .detail_header{
        margin-bottom: 50px;
    }
    .teacher .page_detail .detail_info .title{
        font-size: 22px;
    }
    .teacher .page_detail .detail_info .title .name{
        font-size: 28px;
    }
    .teacher .page_detail .detail_info .rate{
        padding-left: 18px;
        background-size: 16px auto;
        font-size: 16px;
    }
    .teacher .page_detail .detail_info ul{
        margin-top: 24px;
        padding: 24px 40px 0;

        gap: 10px 0;
    }
    .teacher .page_detail .detail_info li{
        font-size: 16px;
        line-height: 1.4;
    }
    .teacher .page_detail .detail_info li + li::before {
        width: 4px;
        height: 4px;
        margin: 0 8px;
    }
    .teacher .page_detail .detail_info .detail_header .btns{
        gap: 10px;
    }
    .teacher .page_detail .detail_info .comment{
        padding: 30px;
        border-radius: 8px;
    
        font-size: 18px;
    }
    .teacher .page_detail .detail_info .comment .headline{
        padding: 6px 12px 6px 36px;
        margin-bottom: 20px;
        font-size: 16px;    
    }
    .teacher .page_detail .detail_info .comment .headline::before{
        left: 12px;
        width: 18px;
        height: 15px;        
    }
    .teacher .page_detail .detail_review{
        top: 80px;
        padding-bottom: 80px;
    }
    .teacher .page_detail .detail_review .title::before{
        display: block;
        width: 29px;
        height: 41px;
    }
    .teacher .page_detail .detail_review .review_item{
        border-radius: 8px;
    }
    .teacher .page_detail .detail_review .review_item + .review_item{
        margin-top: 20px;    
    }
    .teacher .page_detail .detail_review .review_item .article{
        padding: 24px 30px;
    }
    .teacher .page_detail .detail_review .review_item .info{
        padding: 10px 20px;
    }
    .teacher .page_detail .detail_review .review_item .info .user{
        font-size: 16px;
    }
}

/*

!* °Ë»öÃ¢ ÄÁÅ×ÀÌ³Ê ½ºÅ¸ÀÏ *!
.search-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 20px auto !important;
    max-width: 500px !important; !* ¿øÇÏ´Â ³Êºñ·Î Á¶Á¤ °¡´É *!
    width: 100% !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    background-color: white !important; !* °Ë»öÃ¢ ¹è°æ »ö»ó *!
}

!* °Ë»ö ÀÔ·Â ÇÊµå ½ºÅ¸ÀÏ *!
.search-input {
    flex: 1 !important;
    padding: 10px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px 0 0 4px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

!* ¸ð¹ÙÀÏ ¹ÝÀÀÇü µðÀÚÀÎ *!
@media screen and (max-width: 600px) {
    .search-container {
        flex-direction: column !important;
        width: 90% !important;
    }

    .search-input {
        border-radius: 4px !important;
        margin-bottom: 10px !important;
        width: 100% !important;
    }
}
*/

/* °Ë»öÃ¢ ÄÁÅ×ÀÌ³Ê ½ºÅ¸ÀÏ */
.search-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 20px auto !important;
    max-width: 800px !important; /* ¿øÇÏ´Â ³Êºñ·Î Á¶Á¤ °¡´É */
    width: 100% !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    background-color: white !important; /* °Ë»öÃ¢ ¹è°æ »ö»ó */
    flex-wrap: nowrap !important; /* ÁÙ ¹Ù²ÞÀ» ¸·±â À§ÇØ Ãß°¡ */
}

/* °Ë»ö ÀÔ·Â ÇÊµå ½ºÅ¸ÀÏ */
.search-input {
    flex: 1 !important;
    padding: 10px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px 0 0 4px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
    width: calc(100% - 120px) !important; /* °Ë»ö ¹öÆ°ÀÇ Å©±â¸¦ °í·ÁÇØ ³Êºñ Á¶Á¤ */
    margin-right: 10px !important; /* °Ë»ö ¹öÆ°°úÀÇ °£°Ý Ãß°¡ */
}


/* ¸ð¹ÙÀÏ ¹ÝÀÀÇü µðÀÚÀÎ */
@media screen and (max-width: 600px) {
    .search-container {
        flex-direction: row !important; /* ÁÙ ¹Ù²ÞÀ» ¹æÁöÇÏ¿© Ç×»ó ¿·¿¡ ÀÖµµ·Ï ¼³Á¤ */
        width: 100% !important;
    }

    .search-input {
        border-radius: 4px 0 0 4px !important; /* ¸ð¼­¸® ½ºÅ¸ÀÏ À¯Áö */
        margin-bottom: 0 !important; /* ¿©¹é Á¦°Å */
        width: calc(100% - 120px) !important; /* °Ë»ö ¹öÆ°ÀÇ Å©±â¸¦ °í·ÁÇØ ³Êºñ Á¶Á¤ */
    }
}
