.fovs-root {
	container-type: inline-size;
	container-name: fovs;
}
.fovs-widget {
	display: flex;
	align-items: center;
	gap: 24px;
	font-family: inherit;
	margin: 24px 0;
}

/* Összegző blokk */
.fovs-summary {
	flex: 0 0 280px;
}
.fovs-summary-doctor-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}
.fovs-summary-photo {
	display: block;
	width: 72px;
	height: 72px;
	min-width: 72px;
	aspect-ratio: 1 / 1;
	border-radius: 50% !important;
	object-fit: cover;
	flex: 0 0 72px;
	overflow: hidden;
}
.fovs-summary-doctor {
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	color: #2e4c75;
}
.fovs-summary-stats {
	display: flex;
	align-items: center;
	gap: 16px;
}
.fovs-summary-left {
	flex: 0 0 auto;
}
.fovs-summary-rating {
	font-size: 32px;
	font-weight: 800;
	line-height: 1.1;
	color: #111;
}
.fovs-summary-count {
	margin-top: 4px;
	font-size: 13px;
	color: #333;
}
.fovs-summary-logo {
	flex: 0 0 auto;
	width: 120px;
	max-width: 120px;
	height: auto;
}
.fovs-summary-left .fovs-stars { margin: 6px 0; }

/* Slider */
.fovs-slider {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
}
.fovs-track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 4px 2px 12px;
	scrollbar-width: none;
}
.fovs-track::-webkit-scrollbar { display: none; }

.fovs-card {
	flex: 0 0 calc(33.333% - 11px);
	min-width: 0;
	scroll-snap-align: start;
	background: #f7f7f7;
	border-radius: 10px;
	padding: 16px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

/* Tablet: összegző felül, 2 kártya egyszerre */
@container fovs (max-width: 900px) {
	.fovs-widget {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}
	.fovs-summary { flex: 0 0 auto; }
	.fovs-card { flex-basis: calc(50% - 8px); }
	.fovs-prev { left: 4px; }
	.fovs-next { right: 4px; }
}

/* Mobil: 1 kártya egyszerre, nyilak elrejtve, swipe-pal lapozható */
@container fovs (max-width: 600px) {
	.fovs-card { flex-basis: 100%; }
	.fovs-track {
		gap: 12px;
		padding: 4px 0 12px;
		scroll-snap-type: x mandatory;
	}
	.fovs-nav { display: none; }
	.fovs-slider { margin: 0; }
}

.fovs-card-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}
.fovs-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #2e4c75;
	color: #fff;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 40px;
	font-size: 18px;
}
.fovs-card-meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1 1 auto;
}
.fovs-card-name {
	font-weight: 700;
	color: #111;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.fovs-card-date {
	font-size: 12px;
	color: #888;
}
.fovs-card-logo {
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	align-self: flex-start;
}

/* Csillagok */
.fovs-stars {
	display: inline-flex;
	gap: 2px;
	margin-bottom: 8px;
}
.fovs-star {
	position: relative;
	display: inline-block;
}
.fovs-star-bg,
.fovs-star-fg {
	position: absolute;
	inset: 0;
	overflow: hidden;
}
.fovs-star-bg {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23dcdcdc'%3E%3Cpath d='M12 2l2.95 6.36 6.95.83-5.14 4.77 1.37 6.86L12 17.27l-6.13 3.55 1.37-6.86L2.1 9.19l6.95-.83z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.fovs-star-fg {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fbbc04'%3E%3Cpath d='M12 2l2.95 6.36 6.95.83-5.14 4.77 1.37 6.86L12 17.27l-6.13 3.55 1.37-6.86L2.1 9.19l6.95-.83z'/%3E%3C/svg%3E") no-repeat left center;
	background-size: auto 100%;
}

/* Szöveg – hosszú vélemény a kártyán belül görgethető */
.fovs-card-text {
	font-size: 14px;
	line-height: 1.5;
	color: #222;
	max-height: 130px;
	overflow-y: auto;
	padding-right: 6px;
	scrollbar-width: thin;
	scrollbar-color: #c9c9c9 transparent;
}
.fovs-card-text::-webkit-scrollbar { width: 5px; }
.fovs-card-text::-webkit-scrollbar-thumb { background: #c9c9c9; border-radius: 3px; }
.fovs-card-text p { margin: 0 0 8px; }
.fovs-negativum { color: #8a4b4b; }

/* Navigáció */
.fovs-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid #e0e0e0;
	background: #fff;
	color: #444;
	font-size: 16px;
	cursor: pointer;
	z-index: 2;
	box-shadow: 0 2px 6px rgba(0,0,0,.12);
	display: flex;
	align-items: center;
	justify-content: center;
}
.fovs-prev { left: -14px; }
.fovs-next { right: -14px; }
.fovs-nav[disabled] { opacity: .35; cursor: default; }
