/**
 * Single Event Listing Styles
 *
 * @package Rezivoo
 */

/* Title Area */
.event-single-title-area {
	position: relative;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
}

.event-single-title-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}

/* Event Section */
.event-single-event-section {
	margin-top: -280px;
	position: relative;
	z-index: 2;
	padding-top: 30px;
	padding-bottom: 30px;
}

.event-single-event-inner {
	display: flex;
	flex-direction: row;
	gap: 40px;
	align-items: stretch;
	min-height: 560px;
}

/* Image Section */
.event-single-image-section {
	width: 40%;
	flex-shrink: 0;
}

.event-single-image-wrapper {
	position: sticky;
	top: 90px;
	width: 100%;
	height: 500px;
	border-radius: 20px;
	overflow: hidden;
}

.event-single-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 20px;
}

/* Content Section */
.event-single-content-section {
	width: 60%;
	display: flex;
	flex-direction: column;
	gap: 60px;
	min-height: 500px;
}

/* Title & Date/Time */
.event-single-title-date {
	min-height: 220px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 20px;
}

.event-single-title {
	font-size: clamp(3rem, 2.5385rem + 2.0513vw, 4rem);
	font-weight: 700;
	margin: 0;
	-webkit-text-stroke: 0.5px var(--rezivoo-primary-color);
	text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
	color: var(--rezivoo-text-color);
}

.event-single-datetime {
	display: flex;
	flex-direction: row;
	gap: 15px;
	width: 100%;
	flex-wrap: wrap;
}

.event-date-item,
.event-time-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 15px 20px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-date-item .dashicons,
.event-time-item .dashicons {
	font-size: 24px;
	width: 24px;
	height: 24px;
	color: var(--rezivoo-primary-color);
}

.event-date-label,
.event-time-label {
	font-size: clamp(1.2rem, 1.1769rem + 0.1026vw, 1.25rem);
	font-weight: 500;
	color: var(--rezivoo-secondary-color);
}

.event-date-value,
.event-time-value {
	font-size: clamp(1.4rem, 1.3538rem + 0.2051vw, 1.5rem);
	font-weight: 600;
	color: var(--rezivoo-text-color);
}

/* Details Area */
.event-single-details-area {
	min-height: 220px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.event-single-details-section {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.event-section-title {
	font-size: clamp(1.8rem, 1.7077rem + 0.4103vw, 2rem);
	font-weight: 600;
	color: var(--rezivoo-primary-color);
	margin: 0 0 15px 0;
}

.event-details-content {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--rezivoo-text-color);
}

.event-details-content p {
	margin-bottom: 15px;
}

.event-details-content p:last-child {
	margin-bottom: 0;
}

/* Related Events Section */
.event-single-related-section {
	margin-top: 60px;
	padding-top: 30px;
	padding-bottom: 30px;
}

.event-related-title-wrapper {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-bottom: 30px;
}

.event-related-label {
	font-size: 1.2rem;
	font-weight: 400;
	color: var(--rezivoo-secondary-color);
	margin: 0;
}

.event-related-title {
	font-size: clamp(1.8rem, 1.7077rem + 0.4103vw, 2rem);
	font-weight: 600;
	color: var(--rezivoo-primary-color);
	margin: 0;
}

.event-related-listings {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 30px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.event-single-title-area {
		min-height: 200px !important; /* Half of 400px */
	}

	.event-single-event-section {
		margin-top: -300px;
		padding-top: 30px;
		padding-bottom: 30px;
	}

	.event-single-event-inner {
		flex-direction: column;
		gap: 20px;
	}

	.event-single-image-section {
		width: 100%;
	}

	.event-single-image-wrapper {
		position: relative;
		top: 0;
		height: 340px;
	}

	.event-single-content-section {
		width: 100%;
		gap: 20px;
	}

	.event-single-title-date {
		min-height: auto;
	}

	.event-single-details-area {
		min-height: auto;
	}

	.event-single-related-section {
		padding-top: 30px;
		padding-bottom: 30px;
	}

	.event-related-listings {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

