/**
 * Glue CSS for the "О клинике" section pages owned by this pass
 * (page-o-klinike.php, page-staff.php, page-reviews.php, page-vacancy.php,
 * page-requisites.php, page-oplata.php, page-gallery.php,
 * page-certificates.php, page-detskoe-otdelenie.php).
 *
 * Kept isolated from assets/css/main.css (shared/in-progress elsewhere) and
 * enqueued only by the templates above.
 */

html {
	scroll-behavior: smooth;
}

/* --- Entry content typography (headings/lists were plain-browser-default) */

.entry-content h2 {
	font-size: 24px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 40px 0 18px;
	padding-bottom: 10px;
	border-bottom: 2px solid #eaf3ff;
}

.entry-content > p {
	color: #444;
	line-height: 1.7;
	margin-bottom: 16px;
}

.entry-content > ul:not(.hours-card__list) {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}

.entry-content > ul:not(.hours-card__list) li {
	position: relative;
	padding-left: 22px;
	margin-bottom: 8px;
	color: #444;
	line-height: 1.6;
}

.entry-content > ul:not(.hours-card__list) li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 9px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--medeo-blue, #0682f6);
}

/* --- Пациентам: icon info-list --------------------------------------------- */

.info-list__item {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	padding: 24px 0;
	border-bottom: 1px solid #eef1f4;
}

.info-list__item:last-child {
	border-bottom: none;
}

.info-list__item h2 {
	margin-top: 0 !important;
	border-bottom: none !important;
	padding-bottom: 0 !important;
}

.info-list__icon {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #eef4fb;
	color: var(--medeo-blue, #0682f6);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}

/* --- Working-hours card --------------------------------------------------- */

.hours-card {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	background: #eef4fb;
	border-radius: 10px;
	padding: 24px 28px;
	margin: 24px 0;
}

.hours-card__icon {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--medeo-blue, #0682f6);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}

.hours-card__body h2 {
	margin: 0 0 12px;
	border-bottom: none;
	padding-bottom: 0;
}

.hours-card__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hours-card__list li {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	max-width: 360px;
	padding: 6px 0;
	border-bottom: 1px dashed #d6e4f3;
}

.hours-card__list li:last-child {
	border-bottom: none;
}

.hours-card__list span {
	color: #555;
}

.hours-card__list strong {
	color: #1a1a1a;
	white-space: nowrap;
}

/* --- Services chip grid ---------------------------------------------------- */

.services-chip-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 12px;
	margin: 0 0 16px;
}

.service-chip {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid #eaeef2;
	border-radius: 8px;
	padding: 12px 16px;
	color: #333;
	font-size: 14px;
}

.service-chip i {
	color: var(--medeo-blue, #0682f6);
	font-size: 16px;
}

/* --- "О клинике" hub: sub-section list ---------------------------------- */

.o-klinike-hero {
	margin: 0 0 20px;
}

.o-klinike-hero img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
	display: block;
}

.o-klinike-subnav {
	margin-top: 30px;
}

.o-klinike-subnav-list {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
}

/* --- Staff grid ----------------------------------------------------------- */

.staff-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 24px;
	margin-top: 24px;
}

.staff-card {
	background: #fff;
	border: 1px solid #e5e9ef;
	border-radius: 6px;
	overflow: hidden;
}

.staff-card-photo img {
	width: 100%;
	height: 260px;
	object-fit: cover;
	object-position: center 15%;
	display: block;
}

.staff-card-body {
	padding: 14px;
}

.staff-card-name {
	font-size: 16px;
	margin: 0 0 6px;
}

.staff-card-specialty {
	font-size: 13px;
	color: #555;
	margin: 0 0 6px;
}

.staff-card-category,
.staff-card-experience {
	font-size: 12px;
	color: #777;
	margin: 0 0 4px;
}

/* --- Reviews page ---------------------------------------------------------- */

.reviews-tabs-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin: 20px 0 30px;
}

.reviews-tabs {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.reviews-tab-btn {
	background: #f2f4f7;
	border: 1px solid #e0e4ea;
	border-radius: 4px;
	padding: 10px 18px;
	font-size: 14px;
	line-height: 1.2;
	cursor: pointer;
	color: #333;
}

.reviews-tab-btn.active {
	background: var(--medeo-blue, #0682f6);
	border-color: var(--medeo-blue, #0682f6);
	color: #fff;
}

.reviews-leave-btn {
	white-space: nowrap;
}

.reviews-tab-panel {
	display: none;
}

.reviews-tab-panel.active {
	display: block;
}

.reviews-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
}

.review-card {
	background: #fff;
	border: 1px solid #e5e9ef;
	border-radius: 6px;
	padding: 18px;
}

.review-card-author {
	font-size: 15px;
	margin: 0 0 8px;
}

.review-card-text {
	font-size: 14px;
	line-height: 1.55;
	color: #444;
	margin: 0;
}

.video-reviews-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
}

.video-review-card video {
	width: 100%;
	border-radius: 8px;
	background: #000;
	display: block;
}

.video-review-name {
	font-weight: 600;
	margin-bottom: 8px;
	color: #1a1a1a;
}

.reviews-video-placeholder,
.reviews-yandex-placeholder {
	background: #f5f6f8;
	border-radius: 6px;
	padding: 40px 20px;
	text-align: center;
	color: #555;
}

.reviews-yandex-placeholder .stars {
	display: block;
	margin-bottom: 10px;
	color: #ffb400;
	font-size: 20px;
	letter-spacing: 2px;
}

.reviews-yandex-placeholder a {
	color: var(--medeo-blue, #0682f6);
	font-weight: 600;
}

.reviews-yandex-cta {
	scroll-margin-top: 20px;
	background: #eef4fb;
	border-radius: 10px;
	padding: 40px 20px;
	text-align: center;
	margin-top: 40px;
}

.reviews-yandex-cta .stars {
	display: block;
	margin-bottom: 10px;
	color: #ffb400;
	font-size: 22px;
	letter-spacing: 2px;
}

.reviews-yandex-cta h3 {
	margin: 0 0 10px;
	font-size: 20px;
	color: #16233a;
}

.reviews-yandex-cta p {
	margin: 0 0 20px;
	color: #555;
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 600px) {
	.reviews-tabs-row {
		flex-direction: column;
		align-items: stretch;
	}
	.reviews-leave-btn {
		text-align: center;
	}
}

/* --- Photo gallery ---------------------------------------------------------- */

.photo-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 14px;
	margin-top: 24px;
}

.photo-gallery-item {
	display: block;
	border-radius: 4px;
	overflow: hidden;
}

.photo-gallery-item img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	display: block;
	transition: transform 0.2s ease;
}

.photo-gallery-item:hover img {
	transform: scale(1.05);
}

/* --- Certificates ---------------------------------------------------------- */

.certificates-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
	margin-top: 24px;
}

.certificate-item {
	display: block;
	border: 1px solid #e5e9ef;
	border-radius: 6px;
	overflow: hidden;
}

.certificate-item img {
	width: 100%;
	height: auto;
	display: block;
}
