/* =========================================================
   Single event (podujatie) – scoped styles
   ========================================================= */

/* ---------- Hero ---------- */

.single-events .oocr-single-hero {
	position: relative;
	overflow: hidden;
	background: #311a08;
	color: #fff;
	padding: 3.5rem 0 2.75rem;
	min-height: 20rem;
	display: flex;
	align-items: flex-end;
}

.single-events .oocr-single-hero::before {
	content: "";
	position: absolute;
	inset: -30px;
	background-image: var(--oocr-hero-img, none);
	background-size: cover;
	background-position: center;
	filter: blur(18px) brightness(0.5) saturate(1.1);
	transform: scale(1.1);
}

.single-events .oocr-single-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(49, 26, 8, 0.9) 0%, rgba(49, 26, 8, 0.45) 60%, rgba(49, 26, 8, 0.25) 100%);
}

.single-events .oocr-single-hero > .container {
	position: relative;
	z-index: 1;
}

.single-events .oocr-single-hero__back {
	display: inline-block;
	color: rgba(255, 255, 255, 0.85);
	font-family: OpenSansExtraBold, sans-serif;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 1.25rem;
}

.single-events .oocr-single-hero__back:hover {
	color: #fff;
	text-decoration: none;
}

.single-events .oocr-single-hero__label {
	display: inline-block;
	background: #71a621;
	color: #fff;
	font-family: OpenSansExtraBold, sans-serif;
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0.35rem 0.75rem;
	border-radius: 0.35rem;
	margin: 0 0 0.9rem;
}

.single-events .oocr-single-hero__label.is-past {
	background: rgba(255, 255, 255, 0.2);
}

.single-events .oocr-single-hero__title {
	color: #fff;
	font-family: AsapBold, sans-serif;
	font-size: 2.5rem;
	line-height: 1.15;
	margin: 0 0 1rem;
	max-width: 60rem;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.single-events .oocr-single-hero__meta {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	padding: 0;
	margin: 0;
}

.single-events .oocr-single-hero__meta li {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	font-family: OpenSansExtraBold, sans-serif;
	font-size: 14px;
}

.single-events .oocr-single-hero__meta svg {
	color: #a8d86a;
	flex: 0 0 18px;
}

/* ---------- Body layout ---------- */

.single-events .oocr-event-body {
	padding-top: 2.5rem;
	padding-bottom: 1rem;
}

.single-events .oocr-event-side__sticky {
	position: sticky;
	top: 1.5rem;
	margin-bottom: 2rem;
}

.single-events .oocr-event-poster {
	display: block;
	position: relative;
	border-radius: 0.6rem;
	overflow: hidden;
	box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.2);
	background: #eef3e6;
	margin-bottom: 1.25rem;
}

.single-events .oocr-event-poster img {
	display: block;
	width: 100%;
	height: auto;
}

.single-events .oocr-event-poster .oocr-event-card__date {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	min-width: 3.25rem;
	background: #fff;
	color: #311a08;
	border-radius: 0.5rem;
	padding: 0.4rem 0.55rem 0.45rem;
	text-align: center;
	line-height: 1;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
	font-family: AsapBold, sans-serif;
}

.single-events .oocr-event-poster .oocr-event-card__date-day {
	display: block;
	font-size: 1.5rem;
	color: #71a621;
}

.single-events .oocr-event-poster .oocr-event-card__date-month {
	display: block;
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-top: 0.2rem;
}

.single-events .oocr-event-info {
	background: #fff;
	border: 3px solid #71a621;
	border-radius: 0.6rem;
	padding: 1.25rem 1.4rem;
	box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.12);
}

.single-events .oocr-event-info__row {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid #eef0ea;
}

.single-events .oocr-event-info__row:first-child {
	padding-top: 0;
}

.single-events .oocr-event-info__row:last-of-type {
	border-bottom: 0;
}

.single-events .oocr-event-info__icon {
	flex: 0 0 2.5rem;
	height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #eef3e6;
	color: #71a621;
}

.single-events .oocr-event-info__label {
	display: block;
	font-family: OpenSansExtraBold, sans-serif;
	font-size: 12px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #6c757d;
	margin-bottom: 0.15rem;
}

.single-events .oocr-event-info__value {
	display: block;
	font-family: AsapBold, sans-serif;
	font-size: 1.1rem;
	line-height: 1.3;
	color: #212529;
}

.single-events .oocr-event-info__btn {
	display: block;
	width: 100%;
	margin-top: 1rem;
}

/* ---------- Content ---------- */

.single-events .oocr-event-content {
	font-size: 1.05rem;
	line-height: 1.7;
	color: #333;
}

.single-events .oocr-event-content > :first-child {
	margin-top: 0;
}

.single-events .oocr-event-content p,
.single-events .oocr-event-content div {
	margin-bottom: 0.9rem;
}

.single-events .oocr-event-content div:empty,
.single-events .oocr-event-content p:empty {
	display: none;
}

.single-events .oocr-event-content h2,
.single-events .oocr-event-content h3,
.single-events .oocr-event-content h4 {
	font-family: AsapBold, sans-serif;
	margin: 1.75rem 0 0.75rem;
}

.single-events .oocr-event-content h2 {
	font-size: 1.6rem;
}

.single-events .oocr-event-content h3 {
	font-size: 1.3rem;
}

.single-events .oocr-event-content a {
	color: #71a621;
	text-decoration: underline;
}

.single-events .oocr-event-content a:hover {
	color: #56901d;
}

.single-events .oocr-event-content img {
	max-width: 100%;
	height: auto;
	border-radius: 0.6rem;
}

.single-events .oocr-event-content img.alignleft,
.single-events .oocr-event-content img.alignright,
.single-events .oocr-event-content .alignleft,
.single-events .oocr-event-content .alignright {
	float: none;
	display: block;
	margin: 0 0 1rem;
}

.single-events .oocr-event-content ul,
.single-events .oocr-event-content ol {
	padding-left: 1.4rem;
	margin-bottom: 1rem;
}

.single-events .oocr-event-content iframe {
	max-width: 100%;
}

/* ---------- Related events ---------- */

.single-events .oocr-event-related {
	padding: 2.5rem 0 3rem;
	margin-top: 1.5rem;
	border-top: 1px solid #e9ecef;
}

.single-events .oocr-event-related__all {
	text-align: center;
	margin: 0.5rem 0 0;
}

.single-events .btn-outline-primary {
	color: #71a621;
	border-color: #71a621;
	font-family: OpenSansExtraBold, sans-serif;
}

.single-events .btn-outline-primary:hover {
	background: #71a621;
	color: #fff;
}

/* ---------- Responsive ---------- */

@media (max-width: 991.98px) {
	.single-events .oocr-single-hero {
		padding: 2.5rem 0 2rem;
		min-height: 16rem;
	}

	.single-events .oocr-single-hero__title {
		font-size: 1.8rem;
	}

	.single-events .oocr-event-side__sticky {
		position: static;
	}
}

/* Linked (lightbox) images inside the text: keep posters a sensible size */
.single-events .oocr-event-content a[data-fslightbox] {
	display: inline-block;
	max-width: 100%;
	margin: 0 0 1rem;
	border-radius: 0.6rem;
	overflow: hidden;
	box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.18);
}

.single-events .oocr-event-content a[data-fslightbox] img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 32rem;
	border-radius: 0;
}
