.doctor .tabs {
	margin-bottom: 20px;
}
.doctor .tabs .swiper {
	max-width: 1277px;
}
.doctor .tabs .swiper-slide {
	width: auto;
}
.doctor .tabs .swiper-slide button {
	width: 100%;
	border-radius: 7px;
	border: 1px solid var(--black);
	background: var(--white);
	padding: 20px 16px;
	font-size: 32px;
	color: var(--black);
}
.doctor .tabs .swiper-slide button.active {
	background: var(--red);
	color: var(--white);
	border: 1px solid var(--red);
}

.doctor .list {
	padding: 0 0 74px;
	gap: 20px;
}
.doctor .list > div {
	position: relative;
	width: calc(25% - 15px);
	transition: all .5s ease-in-out;
	height: 570px;
	overflow: hidden;
	background: url("../images/logo.svg")no-repeat 50% 50% / 75%;
}
.doctor .list > div:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.35);
	opacity: 1;
}
.doctor .list > div img {
	position: relative;
	width: 100%;
    height: 100%;
    left: 50%;
    top: 50%;
    transform: scale(1) translate(-50%,-50%);
    object-fit: cover;
	transition: all .5s ease-in-out;
	transform-origin: top left;
}
.doctor .list > div img.img {
	width: auto;
    transform: scale(0.15) translate(-50%,-50%);
}
.doctor .list > div .box {
	position: absolute;
	bottom: 30px;
	left: 0;
	width: 100%;
	text-align: center;
	color: var(--white);
	transform: scale(1);
	z-index: 1;
	transition: all .5s ease-in-out;
}
.doctor .list > div .box h4 {
	font-size: 24px;
	font-weight: 700;
}
.doctor .list > div .box .conts {
	display: none;
}
.doctor .list > div .box a {
	display: block;
	width: 95px;
	height: 31px;
	line-height: 28px;
	font-size: 12px;
	font-weight: 700;
	border-radius: 7px;
	border: 2px solid var(--white);
	color: var(--white);
	margin: 10px auto 0;
	text-transform: uppercase;
	box-sizing: border-box;
}
.doctor .list > div:hover {
	background-size: 85%;
}
.doctor .list > div:hover img {
	transform: scale(1.1) translate(-50%,-50%);
}
.doctor .list > div:hover img.img {
	transform: scale(0.17) translate(-50%,-50%);
}


#doctor_pop .modal_cont {
	width: 95%;
	padding: 60px;
	height: 95vh;
	max-height: 680px;
}
#doctor_pop .flex {
	gap: 20px 50px;
}
#doctor_pop .flex .thumb {
    position: relative;
    width: 560px;
    height: 86vh;
    max-height: 560px;
	background: url("../images/logo.svg")no-repeat 50% 50% / 75%;
}
#doctor_pop .flex .thumb img {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#doctor_pop .flex .info {
	width: calc(100% - 610px);
}
#doctor_pop .flex .info h4 {
	font-size: 48px;
	margin-bottom: 10px;
}
#doctor_pop .flex .info p {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 60px;
}
#doctor_pop .flex .info .txt {
    font-size: 24px;
    white-space: pre-line;
    overflow-y: auto;
    height: 370px;
    box-sizing: border-box;
}




@media screen and (max-width: 1440px) {
	.doctor .tabs .swiper-slide button {
		font-size: 28px;
	}
	
	.doctor .list > div {
		height: 380px;
	}
	
	
	#doctor_pop .flex .thumb {
		width: 400px;
	}
	#doctor_pop .flex .info {
		width: calc(100% - 450px);
	}
}
@media screen and (max-width: 1024px) {
	.doctor .tabs .swiper {
		max-width: 780px;
	}
	.doctor .tabs .swiper-slide button {
		font-size: 16px;
		padding: 14px 16px;
	}
	
	.doctor .list > div {
		width: calc(33.333% - 14px);
		height: 330px;
	}
	
	#doctor_pop .flex {
		gap: 20px;
	}
	#doctor_pop .flex .thumb {
		width: 265px;
		height: 265px;
	}
	#doctor_pop .flex .info {
		width: calc(100% - 285px);
	}
	#doctor_pop .flex .info h4 {
		font-size: 30px;
	}
	#doctor_pop .flex .info p {
		font-size: 20px;
		margin-bottom: 30px;
	}
	#doctor_pop .flex .info .txt {
		font-size: 16px;
	}
}
@media screen and (max-width: 768px) {
	.doctor .list > div {
		width: calc(50% - 10px);
	}
	
	#doctor_pop .modal_cont {
		padding: 25px;
	}
	#doctor_pop .flex {
		justify-content: center;
	}
	#doctor_pop .flex .info {
		width: 100%;
	}
	#doctor_pop .flex .info .txt {
		height: auto;
		max-height: calc(95vh - 595px);
	}
}
@media screen and (max-width: 480px) {
	.doctor .list > div {
		width: 100%;
	}
	
	
	#doctor_pop .modal_cont {
		overflow-y: auto;
		height: calc(100vh - 150px);
	}
	#doctor_pop .flex .thumb {
		width: 100%;
		height: 0;
		padding-bottom: 100%;
	}
	#doctor_pop .flex .info .txt {
		max-height: none;
		overflow: hidden;
	}
}
@media screen and (max-height: 715px) {
	#doctor_pop .flex .thumb {
		height: 73vh;
	}
	#doctor_pop .flex .info .txt {
		height: calc(95vh - 320px);
	}
}
@media screen and (max-width: 1024px) and (max-height: 715px) {
	#doctor_pop .modal_cont {
		overflow-y: auto;
		height: calc(100vh - 150px);
	}
	#doctor_pop .flex .info .txt {
		max-height: none;
		overflow: hidden;
		min-height: 100px;
	}
}