/*
 * Single `event` page. Palette matches the rest of event-listing (blue
 * #0089f7 accent, gold #e0a800 for the "Bold"/Featured tier — see
 * .cel-event-row--bold and .cel-badge--bold in event-listing.css) so this
 * page reads as part of the same product rather than a one-off design.
 */

.cel-single-event {
	text-align: left;
}

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

.cel-se-hero {
	position: relative;
	padding: 70px 20px 60px;
	background: linear-gradient(135deg, #0089f7 0%, #0a3d78 100%);
	color: #fff;
	overflow: hidden;
}

/* Featured image, when the event post has one: same gradient laid over it as
 * a scrim so the white text/chips stay legible regardless of the photo. */
.cel-se-hero--has-image {
	background-image: linear-gradient(135deg, rgba(4, 30, 66, 0.88) 0%, rgba(4, 30, 66, 0.75) 100%), var(--cel-se-hero-image, none);
	background-size: cover;
	background-position: center;
}

.cel-se-hero__inner {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
}

.cel-se-breadcrumb {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 22px;
}

.cel-se-breadcrumb a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
}

.cel-se-breadcrumb a:hover {
	text-decoration: underline !important;
}

.cel-se-breadcrumb span[aria-hidden] {
	margin: 0 6px;
	opacity: 0.6;
}

.cel-se-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 14px;
}

.cel-se-featured-badge {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	background: #e0a800;
	color: #201700;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-radius: 999px;
	white-space: nowrap;
}

.cel-se-status {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	white-space: nowrap;
}

.cel-se-status--is-live {
	background: #1fbf5c;
	color: #fff;
}

.cel-se-status--is-live::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #fff;
	animation: cel-se-pulse 1.6s ease-in-out infinite;
}

.cel-se-status--is-soon {
	background: #fff;
	color: #b5590a;
}

.cel-se-status--is-ended {
	background: rgba(255, 255, 255, 0.14);
	color: rgba(255, 255, 255, 0.7);
}

@keyframes cel-se-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.3; }
}

.cel-se-title {
	margin: 0 0 10px;
	font-size: clamp(26px, 4vw, 42px);
	font-weight: 800;
	line-height: 1.15;
	color: #fff;
}

.cel-se-subtitle {
	margin: 0 0 24px;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.85);
}

.cel-se-subtitle strong {
	color: #fff;
}

.cel-se-chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 28px;
}

.cel-se-chip {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
}

a.cel-se-chip--link {
	text-decoration: none !important;
	transition: background 0.15s ease;
}

.cel-se-chip__label {
	font-weight: 400;
	opacity: 0.8;
}

a.cel-se-chip--link:hover {
	background: rgba(255, 255, 255, 0.3);
	text-decoration: none !important;
}

.cel-se-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ---------- Buttons (used both in the hero and the cards below) ---------- */

.cel-se-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	font-family: inherit;
	text-decoration: none !important;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.1s ease, background 0.15s ease, border-color 0.15s ease;
}

.cel-se-btn .cel-se-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.cel-se-btn--primary {
	background: #fff;
	color: #0089f7;
}

.cel-se-btn--primary:hover {
	background: #eaf4ff;
	transform: translateY(-1px);
}

.cel-se-hero .cel-se-btn--outline {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
}

.cel-se-hero .cel-se-btn--outline:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
}

.cel-se-body .cel-se-btn--outline {
	background: transparent;
	border-color: #cdd7e3;
	color: #0a3d78;
}

.cel-se-body .cel-se-btn--outline:hover {
	background: #f0f6ff;
	border-color: #0089f7;
}

.cel-se-btn--small {
	padding: 9px 16px;
	font-size: 13px;
}

.cel-se-btn--block {
	width: 100%;
	box-sizing: border-box;
}

.cel-se-copy-link.is-copied {
	background: #1fbf5c !important;
	border-color: #1fbf5c !important;
	color: #fff !important;
}

/* ---------- Body: two-column layout ---------- */

.cel-se-body {
	max-width: 1200px;
	margin: 0 auto;
	padding: 44px 20px 70px;
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
	gap: 32px;
	align-items: start;
}

.cel-se-main {
	min-width: 0;
}

.cel-se-sidebar {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

@media (min-width: 901px) {
	.cel-se-sidebar {
		position: sticky;
		top: 24px;
	}
}

.cel-se-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	padding: 24px;
	margin-bottom: 20px;
	box-shadow: 0 1px 3px rgba(20, 30, 50, 0.05);
}

.cel-se-sidebar .cel-se-card {
	margin-bottom: 0;
}

.cel-se-card h2 {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid #f0f0f0;
	font-size: 17px;
	font-weight: 700;
	color: #1a1a1a;
}

.cel-se-card h2 .cel-se-icon {
	width: 18px;
	height: 18px;
	color: #0089f7;
	flex-shrink: 0;
}

.cel-se-prose {
	font-size: 15px;
	line-height: 1.7;
	color: #333;
}

.cel-se-prose :first-child {
	margin-top: 0;
}

.cel-se-prose :last-child {
	margin-bottom: 0;
}

.cel-se-venue-address {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.6;
	color: #333;
}

/* ---------- Sidebar facts ---------- */

.cel-se-fact {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #f5f5f5;
}

.cel-se-fact:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.cel-se-fact__icon {
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #eaf4ff;
	color: #0089f7;
}

.cel-se-fact__icon .cel-se-icon {
	width: 15px;
	height: 15px;
}

.cel-se-fact__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.cel-se-fact__label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #888;
}

.cel-se-fact__value {
	font-size: 14px;
	font-weight: 600;
	color: #222;
	word-break: break-word;
}

/* ---------- Organizer card ---------- */

.cel-se-org-name {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	color: #1a1a1a;
}

.cel-se-org-contact {
	margin: 0 0 14px;
	font-size: 14px;
	color: #555;
}

.cel-se-org-link {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	font-size: 14px;
	color: #0089f7;
	text-decoration: none !important;
	word-break: break-word;
}

.cel-se-org-link:hover {
	text-decoration: underline !important;
}

.cel-se-org-link .cel-se-icon {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}

/* ---------- Owner "edit this" notice ---------- */

.cel-se-owner-notice {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	background: #fff8e6;
	border: 1px solid #f0d998;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	color: #8a6300;
	text-decoration: none !important;
}

.cel-se-owner-notice:hover {
	background: #fff2cf;
}

.cel-se-owner-notice .cel-se-icon {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}

/* ---------- Keyword chips inside a card (muted variant of the hero chip) ---------- */

.cel-se-chip--muted {
	background: #f2f6fb;
	border-color: #e2e9f2;
	color: #345;
}

.cel-se-card .cel-se-chip-row {
	margin-bottom: 0;
}

.cel-se-main .cel-se-chip--muted {
	background: #f2f6fb;
	color: #2a5788;
}

.cel-se-main .cel-se-chip--muted:hover {
	background: #e5eefa;
}

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

@media (max-width: 900px) {
	.cel-se-hero {
		padding: 48px 18px 40px;
	}

	.cel-se-body {
		grid-template-columns: minmax(0, 1fr);
	}

	.cel-se-sidebar {
		position: static;
	}
}

@media (max-width: 480px) {
	.cel-se-cta-row .cel-se-btn,
	.cel-se-cta-row .cel-se-copy-link {
		flex: 1 1 100%;
	}
}
