/**
 * Single service page styles.
 *
 * @package Tobalt_Paslaugos
 * @author  Tobalt — https://tobalt.lt
 */

.tp-single {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 20px 60px;
}

.tp-single__hero {
	padding: 40px 0 24px;
}

.tp-single__title {
	margin: 0 0 8px;
	font-size: 32px;
	font-weight: 700;
	color: #0A3235;
}

.tp-single__excerpt {
	margin: 0;
	font-size: 17px;
	color: #4a4a4a;
	line-height: 1.5;
}

.tp-single__body {
	margin-bottom: 40px;
}

.tp-single__thumbnail {
	margin-bottom: 20px;
}

.tp-single__img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.tp-single__content {
	font-size: 16px;
	line-height: 1.6;
	color: #333;
}

/* ── Specialists Section ──────────────────────────── */

.tp-single__section-title {
	margin: 0 0 24px;
	font-size: 24px;
	font-weight: 700;
	color: #0A3235;
	padding-bottom: 12px;
	border-bottom: 2px solid #e5e5e5;
}

.tp-specialist-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	padding: 24px;
	margin-bottom: 20px;
}

.tp-specialist-card__header {
	display: flex;
	gap: 16px;
	align-items: center;
	margin-bottom: 20px;
}

.tp-specialist-card__photo {
	flex-shrink: 0;
}

.tp-specialist-card__img {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
}

.tp-specialist-card__name {
	margin: 0 0 4px;
	font-size: 18px;
	font-weight: 700;
	color: #333;
}

.tp-specialist-card__position {
	margin: 0 0 4px;
	font-size: 14px;
	color: #595959;
}

.tp-specialist-card__contact {
	margin: 0;
	font-size: 14px;
}

.tp-specialist-card__contact a {
	color: #0A3235;
	text-decoration: none;
}

.tp-specialist-card__contact a:hover {
	text-decoration: underline;
}

.tp-specialist-card__no-slots {
	margin: 0;
	font-size: 14px;
	color: #636363;
	font-style: italic;
}

/* ── Slot Row ─────────────────────────────────────── */

.tp-specialist-card__slots {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.tp-slot-row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 10px 14px;
	background: #f9f9f9;
	border-radius: 6px;
	font-size: 14px;
}

.tp-slot-row--full {
	opacity: 0.6;
}

.tp-slot-row__date {
	font-weight: 600;
	color: #333;
	min-width: 120px;
}

.tp-slot-row__time {
	color: #4a4a4a;
	min-width: 100px;
}

.tp-slot-row__seats {
	color: #595959;
	font-size: 13px;
}

.tp-slot-row__btn {
	margin-left: auto;
	padding: 10px 16px;
	min-height: 44px;
	background: #008E67;
	color: #fff;
	border: none;
	border-radius: 9999px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s;
	white-space: nowrap;
}

.tp-slot-row__btn:hover {
	background: #007A58;
}

.tp-slot-row__btn--full {
	background: #6B7280;
	cursor: default;
}

.tp-slot-row__btn--full:hover {
	background: #6B7280;
}

/* ── Back link ────────────────────────────────────── */

.tp-single__back {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid #e5e5e5;
}

.tp-single__back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #0A3235;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
}

.tp-single__back-link:hover {
	text-decoration: underline;
}

.tp-single__no-staff {
	font-size: 15px;
	color: #636363;
	font-style: italic;
}

/* ── Responsive ───────────────────────────────────── */

@media (max-width: 768px) {
	.tp-slot-row__date {
		min-width: 90px;
	}

	.tp-slot-row__time {
		min-width: 80px;
	}
}

@media (max-width: 600px) {
	.tp-single__title {
		font-size: 24px;
	}

	.tp-specialist-card__header {
		flex-direction: column;
		align-items: flex-start;
	}

	.tp-slot-row {
		flex-wrap: wrap;
		gap: 8px;
	}

	.tp-slot-row__btn {
		margin-left: 0;
		width: 100%;
		text-align: center;
	}
}
