/* ============================================
   TREK EVENTS — Listing + Detail Pages
   ============================================ */

/* ── Shared ── */

.events-page,
.sev-page {
	max-width: 100%;
	overflow-x: hidden;
}

/* ============================================
   EVENTS LISTING PAGE
   ============================================ */

.events-page-hero {
	background: #fff;
	padding: 52px 40px 44px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

/* Particle overlay styles */
.events-page-hero .particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.events-page-hero .events-page-hero-inner {
    position: relative;
    z-index: 1;
}




.events-page-title {
	font-size: clamp(26px, 5vw, 42px);
	font-weight: 800;
	color: #000;
	margin: 0 0 10px !important;
	line-height: 1.15;
}

.events-page-sub {
	font-size: 15px;
    color: #000;
	margin: 0 auto !important;
	max-width: 520px;
	line-height: 1.6;
	text-transform: none !important;
}

/* Admin create button */
.events-admin-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 20px;
	background: rgba(255,255,255,0.18);
	border: 1.5px solid rgba(255,255,255,0.5);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	padding: 9px 18px;
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.2s;
}

.events-admin-btn:hover {
	background: rgba(255,255,255,0.28);
	color: #fff;
}

/* ── Events Grid ── */

.events-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 24px;
	padding: 36px 32px 80px;
	max-width: 1280px;
	margin: 0 auto;
}

/* ── Event Card ── */

.event-card {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,0.08);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
	display: flex;
	flex-direction: column;
}

.event-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 32px rgba(0,0,0,0.13);
}

.ec-img-wrap {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f3f3f3;
	text-decoration: none;
}

.ec-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.event-card:hover .ec-img {
	transform: scale(1.05);
}

.ec-img-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #fce4ec, #fbe9e7);
}

/* Date badge */
.ec-date-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: linear-gradient(135deg, #E91E63, #F44336);
	color: #fff;
	border-radius: 8px;
	padding: 6px 10px;
	text-align: center;
	line-height: 1;
	min-width: 42px;
}

.ec-date-day {
	display: block;
	font-size: 20px;
	font-weight: 800;
}

.ec-date-month {
	display: block;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 2px;
	opacity: 0.9;
}

/* Card body */
.ec-body {
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.ec-title {
	font-size: 17px !important;
	font-weight: 700 !important;
	margin: 0 0 10px !important;
	line-height: 1.35 !important;
}

.ec-title a {
	color: #1a1a2e;
	text-decoration: none;
	transition: color 0.15s;
}

.ec-title a:hover {
	color: #E91E63;
}

.ec-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.ec-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: #666;
	background: #f7f7f7;
	padding: 4px 8px;
	border-radius: 20px;
}

.ec-meta-item svg {
	stroke: #E91E63;
	flex-shrink: 0;
}

/* Card footer */
.ec-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid #f2f2f2;
	flex-wrap: wrap;
}

.ec-price {
	font-size: 15px;
	font-weight: 700;
	color: #E91E63;
}

.ec-actions {
	display: flex;
	gap: 8px;
}

.ec-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12.5px;
	font-weight: 600;
	padding: 7px 13px;
	border-radius: 6px;
	text-decoration: none;
	transition: opacity 0.18s, transform 0.15s;
	white-space: nowrap;
}

.ec-btn:hover {
	opacity: 0.85;
	transform: translateY(-1px);
}

.ec-btn-call {
	background: #f0fdf4;
	color: #16a34a;
	border: 1px solid #bbf7d0;
}

.ec-btn-more {
	background: linear-gradient(135deg, #E91E63, #F44336);
	color: #fff;
}

/* ── Empty state ── */

.events-empty {
	text-align: center;
	padding: 80px 20px;
	color: #aaa;
}

.events-empty p {
	font-size: 15px;
	margin: 16px 0 24px !important;
	color: #888;
}


/* ============================================
   SINGLE EVENT PAGE
   ============================================ */

/* Hero */
.sev-hero {
	position: relative;
	height: clamp(320px, 50vw, 520px);
	overflow: hidden;
	background: #1a1a2e;
}

.sev-hero-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0.7;
}

.sev-hero-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #E91E63, #F44336);
	opacity: 0.5;
}

.sev-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.18) 60%, transparent 100%);
	display: flex;
	align-items: flex-end;
	z-index: 1;
}

.sev-hero-inner {
	padding: 32px 40px;
	width: 100%;
	max-width: 900px;
}

.sev-back-link {
	display: inline-block;
	color: rgba(255,255,255,0.75);
	font-size: 13px;
	text-decoration: none;
	margin-bottom: 10px;
	transition: color 0.15s;
}

.sev-back-link:hover { color: #fff; }

.sev-hero-title {
	font-size: clamp(24px, 4vw, 38px) !important;
	font-weight: 800 !important;
	color: #fff !important;
	margin: 0 0 14px !important;
	line-height: 1.2 !important;
}

.sev-hero-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}

.sev-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: rgba(255,255,255,0.18);
	border: 1px solid rgba(255,255,255,0.3);
	color: #fff;
	font-size: 12.5px;
	padding: 5px 12px;
	border-radius: 20px;
	backdrop-filter: blur(4px);
}

.sev-chip svg { stroke: #fff; }

.sev-hero-call {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: linear-gradient(135deg, #E91E63, #F44336);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	padding: 11px 22px;
	border-radius: 7px;
	text-decoration: none;
	transition: opacity 0.2s, transform 0.15s;
}

.sev-hero-call:hover {
	opacity: 0.9;
	transform: translateY(-1px);
	color: #fff;
}

/* Content layout */
.sev-content {
	background: #f8f9fb;
	padding: 32px 24px 80px;
}

.sev-content-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 28px;
	align-items: start;
}

/* Info sidebar */
.sev-sidebar {
	position: sticky;
	top: 80px;
}

.sev-info-card {
	background: #fff;
	border-radius: 14px;
	padding: 22px 20px 20px;
	box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.sev-info-heading {
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #111 !important;
	margin: 0 0 16px !important;
	padding-bottom: 12px !important;
	border-bottom: 1px solid #f0f0f0;
}

.sev-info-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid #f7f7f7;
	font-size: 13.5px;
}

.sev-info-row:last-of-type { border-bottom: none; }

.sir-label {
	color: #888;
	font-weight: 500;
	flex-shrink: 0;
}

.sir-value {
	color: #1a1a2e;
	font-weight: 600;
	text-align: right;
}

.sev-info-price .sir-value {
	color: #E91E63;
	font-size: 15px;
}

/* CTA in sidebar */
.sev-cta-call {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin-top: 18px;
	background: linear-gradient(135deg, #E91E63, #F44336);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	padding: 12px 16px;
	border-radius: 8px;
	text-decoration: none;
	transition: opacity 0.2s;
	box-sizing: border-box;
}

.sev-cta-call:hover { opacity: 0.88; color: #fff; }

.sev-cta-note {
	font-size: 11px !important;
	color: #aaa !important;
	text-align: center;
	margin: 8px 0 0 !important;
}

/* Main content sections */
.sev-main { min-width: 0; }

.sev-section {
	background: #fff;
	border-radius: 14px;
	padding: 24px 24px 20px;
	margin-bottom: 20px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.sev-section-title {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #1a1a2e !important;
	margin: 0 0 20px !important;
	display: flex;
	align-items: center;
	gap: 8px;
}

.sev-section-icon { font-size: 18px; }

/* Itinerary timeline */
.sev-day-row {
	display: flex;
	gap: 14px;
	padding-bottom: 14px;
	position: relative;
}

.sev-day-row::before {
	content: "";
	position: absolute;
	left: 8px;
	top: 20px;
	bottom: 0;
	width: 2px;
	background: #f0f0f0;
}

.sev-day-row:last-child::before { display: none; }

.sev-day-dot {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: linear-gradient(135deg, #E91E63, #F44336);
	flex-shrink: 0;
	margin-top: 2px;
}

.sev-day-dot-sm {
	width: 10px;
	height: 10px;
	background: #ddd;
	margin-top: 5px;
	margin-left: 4px;
}

.sev-day-detail { padding-left: 4px; }

.sev-day-content {
	font-size: 14px;
	color: #444;
	line-height: 1.6;
	padding-top: 1px;
}

.sev-day-content strong {
	color: #1a1a2e;
	font-size: 14.5px;
}

/* Activities list */
.sev-activities-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 10px;
}

.sev-activities-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13.5px;
	color: #444;
	padding: 10px 12px;
	background: #fafafa;
	border-radius: 8px;
	border-left: 3px solid #E91E63;
}

/* Mobile CTA (hidden on desktop) */
.sev-mobile-cta {
	display: none;
	background: #fff;
	border-radius: 14px;
	padding: 18px 20px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.08);
	margin-bottom: 20px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.sev-mobile-price {
	font-size: 18px;
	font-weight: 800;
	color: #E91E63;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
	.sev-content-inner {
		grid-template-columns: 1fr;
	}
	.sev-sidebar {
		order: 2;
		position: static;
	}
	.sev-main { order: 1; }
	.sev-mobile-cta { display: flex; }
	.sev-info-card .sev-cta-call { display: none; }
	.sev-cta-note { display: none; }
}

@media (max-width: 768px) {
	.events-page-hero { padding: 36px 20px 32px; }
	.events-grid { padding: 24px 16px 80px; gap: 16px; }
	.sev-hero-inner { padding: 24px 20px; }
	.sev-content { padding: 20px 16px 80px; }
	.sev-section { padding: 18px 16px; }
	.sev-activities-list { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
	.events-grid { grid-template-columns: 1fr; }
	.ec-footer { flex-direction: column; align-items: flex-start; }
	.ec-actions { width: 100%; }
	.ec-btn { flex: 1; justify-content: center; }
}

/* Countdown timer styling */
.events-eyebrow {
    color: #000;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.sev-countdown {
    font-weight: 600;
    color: #E91E63;
    font-size: 14px;
    margin-top: 6px;
}

/* Remaining days badge on archive cards */
.ec-remaining-badge {
    background: #f0f0f0;
    color: #333;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 12px;
    margin-left: 8px;
    vertical-align: middle;
}
