/**
 * Event Archive Styles (Workshops, Retreats, Festivals, Ceremonies, Concerts)
 * Event-specific archive styles (extends archive.css)
 * 
 * @package Pachamama
 * @version 1.1.0
 */

/* ========================================
   GRID LAYOUT
   ======================================== */

.events-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 28px;
}

/* ========================================
   EVENT CARDS
   ======================================== */

.event-card {
	border: 1px solid rgba(30, 59, 52, 0.12);
	border-radius: 20px;
	overflow: hidden;
	transition: all 0.25s ease;
	cursor: pointer;
	text-decoration: none;
	display: block;
	background: white;
}

.event-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 48px rgba(30, 59, 52, 0.12);
	border-color: #A8B89A;
}

.event-img {
	height: 240px;
	background: #F2EDE5;
	position: relative;
	overflow: hidden;
}

.event-img-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center top;
	transition: transform 0.4s;
}

.event-card:hover .event-img-bg {
	transform: scale(1.04);
}

.event-placeholder {
	background: linear-gradient(160deg, #D9CDBA 0%, #c4b39a 100%);
}

.event-date-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	background: white;
	border-radius: 8px;
	padding: 6px 12px;
	font-size: 12px;
	font-weight: 600;
	color: #1E3B34;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.event-body {
	padding: 20px 22px 24px;
}

.event-name {
	font-family: 'Varela Round', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #1E3B34;
	margin-bottom: 6px;
}

.event-teacher {
	font-size: 14px;
	color: #B87A4B;
	font-weight: 500;
	margin-bottom: 12px;
}

.event-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px;
}

.event-tag {
	font-size: 11px;
	background: #F2EDE5;
	color: #4C6A67;
	padding: 4px 10px;
	border-radius: 100px;
	font-weight: 500;
}

.event-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 14px;
	border-top: 1px solid rgba(30, 59, 52, 0.12);
	margin-top: 14px;
}

.event-location {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	color: #8A9E98;
}

.event-location svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
	flex-shrink: 0;
}

.event-price {
	font-size: 14px;
	font-weight: 600;
	color: #1E3B34;
}

/* ========================================
   NO RESULTS
   ======================================== */

.no-results {
	grid-column: 1 / -1;
	text-align: center;
	padding: 60px 20px;
}

.no-results p {
	font-size: 16px;
	color: #4A5E58;
}

/* ========================================
   PAGINATION
   ======================================== */

.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin-top: 60px;
}

.pagination .page-numbers {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	border: 1px solid rgba(30, 59, 52, 0.12);
	background: white;
	color: #4A5E58;
	font-family: 'Varela Round', sans-serif;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.pagination .page-numbers:hover {
	border-color: #7A8F6B;
	background: #F2EDE5;
}

.pagination .page-numbers.current {
	background: #1E3B34;
	color: white;
	border-color: #1E3B34;
}

.pagination .prev,
.pagination .next {
	width: 40px;
	height: 40px;
}

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

@media (max-width: 1100px) {
	.events-grid {
		grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	}
}

@media (max-width: 700px) {
	.events-grid {
		grid-template-columns: 1fr;
	}
}
