.specialist-header-block {
	padding-block: var(--pad-bl-header);
	background-color: var(--clr-thrive);
	color: var(--clr-white);
}
.specialist-header-block .container {
	display: flex;
	gap: var(--pad-in-1);
}
.specialist-header-block h1 {
	color: var(--clr-white);
	margin-block: 0;
	font-size: 3.6rem;
}
.doc-pic-holder {
	position: relative;
	width: 200px;
	font-size: 0;
}
.doc-name {
	flex-grow: 1;
}
.spec-box {
	display: flex;
	background-color: var(--clr-calm-light);
	padding-block: 20px;
	border-radius: 5px;
	min-width: 400px;
	box-shadow: 0px 50px 30px -50px black;
	color: var(--clr-thrive);
}
.spec-box h3 {
	color: var(--clr-thrive);
	margin-block: 0;
	font-size: 1.6rem;
}
.spec-box > div {
	padding-inline: 30px;
	width: 100%;
}
.spec-box > div + div {
	display: none;
	border-left: 1px solid var(--clr-thrive);
}
.spec-box ul {
	margin-block: 8px;
	padding: 0;
	line-height: 1.3;
}
.spec-box li {
	list-style: none;
	padding: 0;
	font-size: 0;
	position: relative;
	transition: all 0.6s;
	text-indent: -20px;
	padding-left: 20px;
}
.spec-box span {
	font-size: 1.375rem;
	display: -webkit-inline-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	text-overflow: ellipsis;
	overflow: hidden;
	padding-left: 20px;
}
.spec-box:hover span {
	-webkit-line-clamp: 3;
}
.spec-box li:nth-child(n+5) {
	opacity: 0;
	height: 0;
}
@keyframes more-specialties {
	0% { letter-spacing: 0rem; padding-left: 0rem;}
	25% { letter-spacing: 0.7rem; padding-left: 0.35rem;}
	50% { letter-spacing: 0rem; padding-left: 0rem;}
}
.spec-box li:not(:last-child):nth-child(4)::before {
	content: '...';
	position: absolute;
	bottom: -30px;
	left: 20px;
	font-size: 3rem;
	letter-spacing: 0rem;
	animation-name: more-specialties;
	animation-duration: 5s;
	animation-timing-function: cubic-bezier(.17,-0.26,.5,.89);
	animation-iteration-count: infinite;
	opacity: 1;
	transition: all 1s;
}
.spec-box:hover li {
	opacity: 1;
	height: auto;
}
.spec-box:hover li:nth-child(4)::before {
	opacity: 0;
}
.doc-profile-pic {
	width: 200px;
	height: 200px;
	object-fit: cover;
	background-color: var(--clr-white);
	border-radius: 5px;
}
.doc-default-pic {
	padding: 20px;
}


.doc-practices h3 {
	margin-block: 0;
}
.doc-practices ul {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	padding: 0;
}
.doc-practices li {
	display: block;
	list-style: none;
	background-color: var(--clr-soft-grey);
	padding: 30px;
	color: var(--clr-grey);
	width: calc( (100% - 60px) / 3);
}
.doc-practices .prac-name {
	font-weight: 500;
	color: var(--clr-thrive);
	margin-block: 0;
	min-height: 60px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	text-overflow: ellipsis;
	overflow: hidden;
}
.doc-practices li p {
	margin-block: 0;
}
.doc-practices img {
	height: 80px;
}
.doc-hospitals ul {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	padding: 0;
}
.doc-hospitals li {
	display: block;
	list-style: none;
	background-color: var(--clr-soft-grey);
	padding: 30px;
	border-radius: 5px;
	box-shadow: 2px 2px 5px var(--clr-grey);
}
.doc-hospitals li {
	width: 240px;
	text-align: center;
}
.doc-links {
	margin: 0;
	padding: 0;
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: 30px;
}
.doc-links li {
	list-style: none;
	padding: 0;
	font-size: 1.6rem;
	display: inline-block;
	color: var(--clr-calm);
}
.doc-links a {
	display: flex;
	color: var(--clr-calm-light);
}
.doc-links a:hover {
	color: var(--clr-white);
	transition: all 0.4s;
}
.doc-links a span {
	font-size: 1.2rem;
	padding-left: 10px;
}
.doc-languages ul {
	margin-block: 1em;
	padding: 0;
}
.doc-languages li {
	list-style: none;
	padding: 0;
	font-size: 1.375rem;
	display: inline-block;
}
.doc-languages li:not(:last-child)::after {
	content: ',';
	padding-right: 10px;
}
.specialist-main-block .container {
	padding-bottom: 120px;
}
@media (max-width: 1599px) {
	.spec-box {
		min-width: 0;
	}
}
@media (max-width: 1365px) {
	.specialist-header-block .container {
		flex-wrap: wrap;
		justify-content: start;
		gap: 60px;
	}
	.doc-name {
		width: 1%;
		flex-grow: 1;
	}
	.spec-box {
		width: 100%;
		min-width: 0;
	}
	.spec-box > div {
		width: 100%;
		flex-shrink: 1;
		max-width: 100%;
	}
	.spec-box li {
		display: inline-block;
		text-indent: 0;
		padding-left: 0;
	}
	.spec-box span {
		padding: 0;
	}
	.spec-box li:not(:last-child) span::after {
		content: ',';
		padding-right: 10px;
	}
	.spec-box li:nth-child(4)::before {
		display: none;
	}
	.spec-box li:nth-child(n+5) {
		opacity: 1;
		height: auto;
	}
	.doc-practices li {
		width: calc( (100% - 30px) / 2);
	}
}
@media (max-width: 1023px) {
	.specialist-header-block h1 {
		font-size: 3.2rem;
	}
	.specialist-practices-block li {
		width: 100%;
	}
	.doc-practices li {
		width: calc( (100% - 30px) / 2);
	}
}
@media (max-width: 799px) {
	.specialist-header-block .container {
		flex-direction: column;
		align-items: center;
	}
	.doc-name {
		width: 100%;
		text-align: center;
	}
	.spec-box {
		flex-direction: column;
	}
	.spec-box > div + div {
		border: 0;
	}
	.doc-links {
		justify-content: center;
	}
	.doc-practices li {
		width: 100%;
	}
}
@media (max-width: 639px) {
	.specialist-practices-block .container {
		padding-top: 40px;
	}
	.doc-practices {
		flex-direction: column;
	}
}