/*********** List *************/
/* DOCTOR — GRID */
.doctor-list {display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:50px 30px; max-width: 1530px;}
/* DOCTOR — ITEM */
.doctor-list .list a {position:relative; display:flex; flex-direction:column; gap:15px;}
.doctor-list .list .checkbox {position:absolute; top:20px; left:20px; z-index:2;}
.doctor-list .list .thumb {position:relative; aspect-ratio:360 / 480; border-radius:var(--borderR30); overflow:hidden; background:var(--grayBg);}
.doctor-list .list .thumb img {width:100%; height:100%; object-fit:cover; object-position:center top; transition:var(--transition);}
.doctor-list .list a:hover .thumb img {transform:scale(1.05);}
/* DOCTOR — TEXT */
.doctor-list .list .desc {display:flex; flex-direction:column; align-items:center; gap:5px; text-align:center;}
.doctor-list .list .doctor-name {display:flex; align-items:flex-end; justify-content:center; gap:5px;}

.doctor-num{margin: 10px auto 0; width: 80%; box-sizing:border-box; display: block; padding: 9px; font-size:14px; background:var(--grayBg2); border-radius: 50px; font-weight: 600; color:var(--main); letter-spacing: var(--letter-spacing-body);}


/*********** View *************/
/* DOCTOR VIEW — TOP */
.doctor-view .doctor-top {position:relative; display:flex; gap:90px; padding-bottom:71px;}
.doctor-view .doctor-thumb {flex-shrink:0; width:520px;}
.doctor-view .doctor-thumb-img{aspect-ratio:520 / 693; border-radius:var(--borderR30); overflow:hidden; width: 100%;}
.doctor-view .doctor-thumb img {width:100%; height:100%; object-fit:cover; object-position:center top;}
/* DOCTOR VIEW — INFO */
.doctor-view .doctor-info {display:flex; flex-direction:column; justify-content: space-between; flex:1; min-width:0;}
.doctor-view .doctor-info-in{padding:65px 0; display:flex; flex-direction:column; gap:30px;}
.doctor-view .doctor-head {display:flex; flex-direction:column; gap:8px;}
.doctor-view .doctor-name {display:flex; flex-wrap:wrap; align-items:flex-end; gap:5px;}
/* DOCTOR VIEW — DETAIL */
.doctor-view .doctor-detail {display:flex; gap:50px;}
.doctor-view .doctor-box {display:flex; flex-direction:column; gap:12px; flex:1; min-width:0;}
.doctor-view .dot-list {display:flex; flex-direction:column; gap:6px;}
.doctor-view .dot-list li {position:relative; padding-left:12px; font-size:1rem; line-height:160%; letter-spacing:var(--letter-spacing-body); color:var(--basic);}
.doctor-view .dot-list li::before {content:''; position:absolute; top:14px; left:0; width:4px; height:4px; background:var(--main);}
/* DOCTOR VIEW — LIST BTN */
.doctor-view .doctor-list-btn {display: flex; justify-content: flex-end;}

.doctor-view .doctor-greeting{display: flex; flex-direction: column; gap:10px;}
.doctor-view .doctor-greeting h4{font-size: 1.2rem; line-height: 150%; letter-spacing: var(--letter-spacing-heading); font-weight: 700; color:var(--black);}
.doctor-view .doctor-greeting p{font-size: 1rem; line-height: 160%; letter-spacing: var(--letter-spacing-body); font-weight: 400; color:var(--basic);}

/*********** 진료시간표 *************/
.doctor-schedule{border-top: 1px solid var(--border);}
/* SCHEDULE — WRAP */
.doctor-schedule .schedule-item {display:flex; flex-direction:column; gap:20px; margin-top: 70px;}
/* SCHEDULE — TABLE */
.doctor-schedule .schedule-table table {width:100%; table-layout:fixed; border-collapse:collapse; border-top:3px solid var(--main); background:var(--white);}
.doctor-schedule .schedule-table th {padding:10px 12px; border-right:1px solid var(--border); border-bottom:1px solid var(--border); background:var(--grayBg); font-size:0.9rem; line-height:166.667%; font-weight:500; letter-spacing:var(--letter-spacing-body); color:var(--black); text-align:center;}
.doctor-schedule .schedule-table th.sun {color:#C9183E;}
.doctor-schedule .schedule-table th.sat {color:#444D8C;}
.doctor-schedule .schedule-table .ampm th {color:var(--basic);}
.doctor-schedule .schedule-table td {height:55px; padding:10px 11px 10px 10px; border-right:1px solid var(--border); border-bottom:1px solid var(--border); vertical-align:middle;}
.doctor-schedule .schedule-table th:first-child, .doctor-schedule .schedule-table td:first-child {border-left:1px solid var(--border);}
.doctor-schedule .schedule-table .ampm th:nth-child(odd), .doctor-schedule .schedule-table td:nth-child(odd) {border-right-style:dashed;}
/* SCHEDULE — BADGE */
.doctor-schedule .schedule-table .schedule-badge {display:flex; align-items:center; justify-content:center; width:100%; height:34px; border-radius:5px; background:var(--main); font-size:0.8rem; line-height:175%; font-weight:500; letter-spacing:var(--letter-spacing-body); color:var(--white);}

/*******************************************************************************
    @media  ~1300px              
*******************************************************************************/
@media all and (max-width:1300px){

/*********** List *************/
/* DOCTOR — GRID */
.doctor-list {grid-template-columns:repeat(3, minmax(0, 1fr));}


/*********** View *************/
/* DOCTOR VIEW — TOP */
.doctor-view .doctor-top {gap:60px;}
.doctor-view .doctor-thumb {width:40%;}
/* DOCTOR VIEW — INFO */
.doctor-view .doctor-info-in{padding:20px 0 40px;}
/* DOCTOR VIEW — DETAIL */
.doctor-view .doctor-detail {gap:30px; flex-direction: column;}

.doctor-view .doctor-greeting h4 br{display: none;}
.doctor-view .doctor-greeting p br{display: none;}


}
/*******************************************************************************
    @media  ~980px              
*******************************************************************************/
@media all and (max-width:980px){

/*********** List *************/
/* DOCTOR — GRID */
.doctor-list {grid-template-columns:repeat(2, minmax(0, 1fr)); gap:40px 20px;}
/* DOCTOR — ITEM */
.doctor-list .list a {gap:10px;}
.doctor-list .list .thumb {border-radius:var(--borderR20);}
/* DOCTOR — TEXT */
.doctor-list .list .desc {gap:2px;}


/*********** View *************/
/* DOCTOR VIEW — TOP */
.doctor-view .doctor-top {gap:40px; padding-bottom:40px;}
.doctor-view .doctor-thumb-img{border-radius:var(--borderR20);}
/* DOCTOR VIEW — INFO */
.doctor-view .doctor-info {}
.doctor-view .doctor-info-in{padding:10px 0 30px; gap:20px;}
/* DOCTOR VIEW — DETAIL */
.doctor-view .doctor-detail {gap:20px;}
.doctor-view .doctor-box {gap:8px;}
.doctor-view .dot-list li::before {top:11px;}

/*********** 진료시간표 *************/
/* SCHEDULE — WRAP */
.doctor-schedule .schedule-item {gap:15px; margin-top:50px;}
/* SCHEDULE — TABLE */
.doctor-schedule .schedule-table {overflow-x:auto; -webkit-overflow-scrolling:touch;}
.doctor-schedule .schedule-table table {min-width:900px;}






}
/*******************************************************************************
    @media 481~680px
*******************************************************************************/
@media all and (max-width:680px){

/*********** List *************/
/* DOCTOR — GRID */
.doctor-list {grid-template-columns:repeat(1, minmax(0, 1fr)); gap:30px;}
/* DOCTOR — ITEM */
.doctor-list .list .thumb {border-radius:var(--borderR15);}


/*********** View *************/
/* DOCTOR VIEW — TOP */
.doctor-view .doctor-top {gap:30px; padding-bottom:30px; flex-wrap: wrap;}
.doctor-view .doctor-thumb {width:100%;}
.doctor-view .doctor-thumb-img{border-radius:var(--borderR15);}
/* DOCTOR VIEW — INFO */
.doctor-view .doctor-info {flex: auto; width: 100%;}
.doctor-view .doctor-info-in{padding:0 0 20px; gap:15px;}
.doctor-view .doctor-head {gap:5px;}
/* DOCTOR VIEW — DETAIL */
.doctor-view .doctor-detail {gap:15px;}
.doctor-view .doctor-box {gap:5px;}
.doctor-view .dot-list li {padding-left:10px;}
.doctor-view .dot-list li::before {width:3px; height:3px;}

.doctor-view .doctor-greeting{gap:5px;}

/*********** 진료시간표 *************/
/* SCHEDULE — WRAP */
.doctor-schedule .schedule-item {gap:10px; margin-top:30px;}
/* SCHEDULE — TABLE */
.doctor-schedule .schedule-table table {min-width:760px;}
.doctor-schedule .schedule-table th {padding:8px 6px;}
.doctor-schedule .schedule-table td {height:48px; padding:8px 6px;}
/* SCHEDULE — BADGE */
.doctor-schedule .schedule-table .schedule-badge {height:30px;}




}
