/* Стили для страницы специалиста */
.specialist .container {
	position: relative;
	display: flex;
	align-items: start;
	gap: 20px;
}

.specialist-photo {
	display: block;
	width: 380px;
	height: auto;
	border-radius: 10px;
	object-fit: cover;
}

.specialist-content {
	display: flex;
	flex-direction: column;
	gap: 20px;
	flex: 1;
}

.specialist-info {
	display: flex;
	flex-direction: column;
	gap: 20px;
	background-color: var(--bg-secondary);
	margin: 0;
	padding: 30px;
	border: none !important;
	border-radius: 30px;
}

.specialist-content h1 {
	font-size: 38px;
	line-height: 46px;
	font-weight: 400;
	margin: 0;
	background-color: transparent;
	border-radius: 0;
}

.degree-badge {
	display: inline-block;
	background-color: #326ccd;
	color: white;
}

.specialist-department {
	font-size: 18px;
	line-height: 23px;
}

.specialist-details {
	display: flex;
	flex-direction: column;
	gap: 15px;
	background-color: transparent;
	border-radius: 0;
	padding: 30px;
	border-radius: 30px;
	margin-top: 0;
	background-color: var(--bg-secondary);
}

.detail-item {
	padding: 0;
	font-size: 16px;
	line-height: 1.6;
	color: #333;
	border-top: none;
}

.detail-item:first-child {
	border-top: none;
	padding-top: 0;
}

.detail-item:last-child {
	padding-bottom: 0;
}

.detail-item strong {
	color: #000;
	font-weight: 600;
	display: inline-block;
	margin-bottom: 5px;
}

.specialist-video {
	overflow: hidden;
}

.video-container {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; /* Соотношение сторон 16:9 */
	background-color: #000;
	border-radius: 30px;
	overflow: hidden;
}

.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.video-container button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border: none;
	background-color: rgba(255, 0, 0, 0.7);
	border-radius: 50%;
	padding: 0;
	width: 80px;
	height: 80px;
	color: white;
	cursor: pointer;
	transition: background-color 0.2s;
}

.video-container button:hover {
	background-color: rgba(255, 0, 0, 0.9);
}

.video-container button svg {
	width: 40px;
	height: 40px;
	fill: currentColor;
}

/* Адаптивность */
@media (max-width: 992px) {
	.specialist .container {
		flex-direction: column;
		padding: 20px;
	}

	.specialist-photo {
		width: 220px;
		height: auto;
		margin: 0 auto;
	}

	.specialist-content {
		padding: 0;
		align-items: center;
	}

	.specialist-content h1 {
		text-align: center;
		font-size: 28px;
	}

	.specialist-degree {
		text-align: center;
	}

	.specialist-info {
		max-width: 500px;
		align-items: center;
	}

	.specialist-degree {
		margin: 0 auto;
	}
}

@media (max-width: 576px) {
	.specialist-photo {
		width: 180px;
	}

	.specialist-content h1 {
		font-size: 24px;
	}

	.detail-item {
		font-size: 15px;
	}
}

/* Адаптивность */
@media (max-width: 992px) {
	.specialist-card {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.specialist-photo {
		flex: 0 0 auto;
		width: 200px;
	}
}

@media (max-width: 576px) {
	.specialist-card,
	.specialist-details,
	.specialist-video {
		padding: 20px;
	}

	.specialist-name {
		font-size: 24px;
	}

	.specialist-detail-item h3 {
		font-size: 16px;
	}

	.specialist-detail-item p {
		font-size: 14px;
	}
}


@media (max-width: 480px) {
	.specialist-info {
		padding: 20px;
	}

	.specialist-info h1 {
		line-height: 36px;
	}
}