/* Portal-EP Hodnotenie článkov – preberá farby témy Portal-EP, inak používa vlastné. */
.ep-rating {
	--ep-r-star: #f5b301;
	--ep-r-empty: color-mix(in srgb, currentColor 22%, transparent);
	margin: 32px 0 0; padding: 22px 24px; text-align: center;
	border: 1px solid var(--ep-line, #dfe4e8); border-radius: var(--ep-radius, 10px);
	background: var(--ep-bg, #f6f7f8); color: var(--ep-ink, #17212b);
}
.ep-rating__title { font-size: 1.05rem !important; margin: 0 0 10px !important; padding: 0 !important; border: 0 !important; text-transform: none !important; letter-spacing: 0 !important; color: inherit !important; font-family: var(--ep-font, inherit) !important; }
.ep-rating__stars { border: 0; margin: 0 auto; padding: 0; display: inline-flex; gap: 4px; }
.ep-rating__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ep-rating__stars label { cursor: pointer; padding: 2px; border-radius: 6px; line-height: 0; transition: transform .12s ease; }
.ep-rating__stars label svg { width: 34px; height: 34px; fill: var(--ep-r-empty); transition: fill .12s ease; }
.ep-rating__stars label.is-on svg { fill: var(--ep-r-star); }
.ep-rating__stars label:hover { transform: scale(1.12); }
.ep-rating__stars input:focus-visible + label { outline: 3px solid var(--ep-accent, #0b5f73); outline-offset: 1px; }
.ep-rating.is-busy .ep-rating__stars { opacity: .5; pointer-events: none; }
.ep-rating.is-locked .ep-rating__stars label { cursor: default; }
.ep-rating.is-locked .ep-rating__stars label:hover { transform: none; }
.ep-rating__summary { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 8px; font-size: .9rem; color: var(--ep-muted, #66727f); }
.ep-rating__msg { margin: 6px 0 0 !important; min-height: 1.4em; font-size: .9rem; font-weight: 600; color: var(--ep-accent, #0b5f73); }
.ep-rating__msg.is-error { color: #b32d2e; }
.ep-rating .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 480px) { .ep-rating__stars label svg { width: 38px; height: 38px; } }

/* Statické hviezdičky (priemer) */
.ep-stars-static { --ep-stars-size: 16px; position: relative; display: inline-block; width: calc(var(--ep-stars-size) * 5); height: var(--ep-stars-size); vertical-align: -2px;
	background: no-repeat left/var(--ep-stars-size) var(--ep-stars-size) repeat-x;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23c9d0d6' d='M12 2.6l2.9 6 6.6.8-4.9 4.6 1.3 6.5L12 17.3l-5.9 3.2 1.3-6.5L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E"); }
.ep-stars-static__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden;
	background: repeat-x left/var(--ep-stars-size) var(--ep-stars-size);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f5b301' d='M12 2.6l2.9 6 6.6.8-4.9 4.6 1.3 6.5L12 17.3l-5.9 3.2 1.3-6.5L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E"); }

/* Karty a rebríček */
.ep-card-rating { display: inline-block; margin-left: 6px; font-weight: 700; color: #b07d00; white-space: nowrap; }
.ep-top-rated { margin: 0; padding-left: 1.2em; }
.ep-top-rated li { margin-bottom: 6px; }
.ep-top-rated__score { white-space: nowrap; font-size: .85em; opacity: .85; margin-left: 4px; }
