/**
 * Event Advertisement Popup - Bottom Centered Design
 */

/* ==========================================================================
   Base Popup Styles - Centered Bottom
   ========================================================================== */

.event-promotion-popup {
	position: fixed;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%) translateY(100%);
	width: 80%;
	max-width: 1000px;
	min-height: 33vh;
	height: auto;
	background: #d3e0ca;
	box-shadow: 0px 4px 8px 4px rgba(0, 0, 0, 0.25);
	z-index: 9998;
	opacity: 0;
	transition: opacity 0.4s ease, transform 0.4s ease;
	border-radius: 0;
	padding: 42px 80px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.event-promotion-popup.show {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.event-promotion-popup.hidden {
	opacity: 0;
	transform: translateX(-50%) translateY(100%);
}

/* ==========================================================================
   Close Button
   ========================================================================== */

.event-promotion-close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 32px;
	height: 32px;
	padding: 0;
	background: transparent;
	border: 0;
	font-size: 18px;
	line-height: 1;
	color: #333;
	cursor: pointer;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.event-promotion-close:hover {
	transform: rotate(90deg);
}

/* ==========================================================================
   Title Section (separate row)
   ========================================================================== */

.event-promotion-title {
	margin: 0 0 24px 0;
	padding-right: 40px;
	font-family: Georgia, serif;
	font-weight: 400;
	font-style: normal;
	font-size: 36px !important;
	line-height: 100%;
	letter-spacing: 0%;
	color: #1a1a1a;
	width: 100%;
}

/* ==========================================================================
   Content Layout (Image + Details side by side)
   ========================================================================== */

.event-promotion-content {
	display: flex;
	flex-direction: row;
	gap: 54px;
	align-items: stretch;
	width: 100%;
	margin: 0 auto;
}

.event-promotion-image {
	width: 360px;
	height: 240px;
	object-fit: cover;
	flex-shrink: 0;
	border-radius: 0;
}

.event-promotion-details {
	display: flex;
	flex-direction: column;
}

.event-promotion-date,
.event-promotion-location {
	margin: 0 0 10px 0;
	font-family: 'DIN 2014', Arial, sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 24px;
	line-height: 100%;
	letter-spacing: 0%;
	color: #1a1a1a;
}

.event-promotion-date strong,
.event-promotion-location strong {
	font-family: 'DIN 2014', Arial, sans-serif;
	font-weight: 700;
	font-style: normal;
	font-size: 24px;
	line-height: 100%;
	letter-spacing: 0%;
}

.event-promotion-description {
	font-family: 'DIN 2014', Arial, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 18px;
	line-height: 100%;
	letter-spacing: 0%;
	margin-top: 20px;
	margin-bottom: 20px;
	flex-grow: 1;
	max-width: 431px;
}

.event-promotion-cta {
	display: block;
	width: 215px;
	padding: 8px 0;
	background: #ff8c00;
	color: #ffffff !important;
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	text-align: center;
	border-radius: 0;
	transition: background 0.2s ease;
	height: 40px;
}

.event-promotion-cta:hover {
	background: #ff9500;
	color: #ffffff !important;
	text-decoration: none;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Tablet */
@media (max-width: 1024px) {
	.event-promotion-popup {
		width: 90%;
		padding: 30px 48px;
	}

	.event-promotion-title {
		font-size: 28px !important;
		margin-bottom: 18px;
	}

	.event-promotion-content {
		gap: 54px;
	}

	.event-promotion-image {
		width: 300px;
		height: 200px;
	}

	.event-promotion-details {
		flex: 1;
	}

	.event-promotion-date,
	.event-promotion-location {
		font-size: 20px;
	}

	.event-promotion-date strong,
	.event-promotion-location strong {
		font-size: 20px;
	}

	.event-promotion-description {
		font-size: 16px;
		margin: 16px 0;
		max-width: 100%;
	}

	.event-promotion-cta {
		width: 200px;
		font-size: 12px;
	}
}

/* Mobile */
@media (max-width: 768px) {
	.event-promotion-popup {
		width: 100%;
		border-radius: 0;
		padding: 24px 36px;
		min-height: 33vh;
	}

	.event-promotion-title {
		font-size: 22px !important;
		margin-bottom: 16px;
		padding-right: 35px;
	}

	.event-promotion-content {
		flex-direction: row;
		gap: 24px;
	}

	.event-promotion-image {
		width: 50%;
		height: auto;
		aspect-ratio: 3/2 auto;
		border-radius: 0;
	}

	.event-promotion-details {
		width: 50%;
	}

	.event-promotion-date,
	.event-promotion-location {
		font-size: 16px;
		margin-bottom: 8px;
	}

	.event-promotion-date strong,
	.event-promotion-location strong {
		font-size: 16px;
	}

	.event-promotion-description {
		font-size: 14px;
		margin: 12px 0 16px 0;
		max-width: 100%;
		width: 100%;
	}

	.event-promotion-cta {
		padding: 10px 0;
		font-size: 12px;
		width: 100%;
		max-width: 100%;
		height: 40px;
	}

	.event-promotion-close {
		top: 12px;
		right: 12px;
		width: 28px;
		height: 28px;
		font-size: 16px;
	}

	.event-promotion-reopen {
		width: 50px;
		height: 50px;
		bottom: 80px;
		left: 20px;
		font-size: 20px;
	}
}

/* Small mobile */
@media (max-width: 480px) {
	.event-promotion-popup {
		padding: 20px 24px;
	}

	.event-promotion-title {
		font-size: 18px !important;
		margin-bottom: 12px;
	}

	.event-promotion-content {
		flex-direction: column;
		gap: 24px;
	}

	.event-promotion-image {
		width: 100%;
		height: auto;
		aspect-ratio: 3/2 auto;
		border-radius: 0;
	}

	.event-promotion-details {
		width: 100%;
	}

	.event-promotion-date,
	.event-promotion-location {
		font-size: 14px;
	}

	.event-promotion-date strong,
	.event-promotion-location strong {
		font-size: 14px;
	}

	.event-promotion-description {
		font-size: 13px;
	}

	.event-promotion-cta {
		font-size: 11px;
		height: 38px;
	}
}
