/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* ==========================================================================
   Ezevent Events Display
   ========================================================================== */

.ezevent-events-wrap {
	max-width: 900px;
	margin: 0 auto;
	padding: 1rem 0;
}

.ezevent-view-nav {
	margin-bottom: 1.5rem;
	padding-right: 5px;
	font-size: 0.95rem;
	display: inline-block;
}

.ezevent-view-link {
	text-decoration: none;
	color: #666;
}

.ezevent-view-link:hover,
.ezevent-view-link.active {
	color: #333;
	font-weight: 600;
}

.ezevent-view-sep {
	margin: 0 0.5rem;
	color: #999;
}

.ezevent-search-wrap {
	position: relative;
	display: block;
	margin-bottom: 1.5rem;
	max-width: 320px;
	float: right;
	width: 100%;
}

.ezevent-search-icon {
	position: absolute;
	left: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: #888;
	display: flex;
	align-items: center;
}

.ezevent-search-icon svg {
	display: block;
}

.ezevent-search-input {
	width: 100%;
	padding: 0.5rem 0.75rem 0.5rem 2.5rem;
	font-size: 1rem;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.ezevent-search-input:focus {
	outline: none;
	border-color: #666;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.ezevent-no-results {
	color: #666;
	font-style: italic;
	margin: 1rem 0;
}

.ezevent-event-card.ezevent-search-hidden,
.ezevent-month-section.ezevent-search-hidden {
	display: none !important;
}

.ezevent-no-events {
	color: #666;
	font-style: italic;
}

/* Month section */
.ezevent-month-section {
	margin-bottom: 2rem;
}

.ezevent-month-title {
	font-size: 1.1rem;
	font-weight: 500;
	color: #666;
	margin: 0 0 0.25rem 0;
}

.ezevent-month-hr {
	border: none;
	border-top: 1px solid #ddd;
	margin: 0 0 1rem 0;
}

/* Event card layout: date col | content col | image col */
.ezevent-event-card {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	padding: 1rem 0;
	border-bottom: 1px solid #eee;
}

.ezevent-event-wrapper {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	min-width:100%;
	gap: 1rem 1.5rem;
	padding: 1rem 0;
	border-bottom: 1px solid #eee;
}

.ezevent-event-card:last-child {
	border-bottom: none;
}

.ezevent-event-date-col {
	flex: 0 0 auto;
	min-width: 3rem;
	text-align: left;
}

.ezevent-event-day-abbr {
	display: block;
	font-size: 0.75rem;
	font-weight: 500;
	color: #888;
	text-transform: uppercase;
}

.ezevent-event-day-num {
	display: block;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	color: #333;
}

.ezevent-event-content-col {
	display: flex;
	flex: 1 1 280px;
	min-width: 0;
}

.ezevent-event-meta {
	align-items: center;
	min-width: 60%;
	gap: 0.35rem;
	margin-bottom: 0.25rem;
}

.ezevent-event-datetime {
	font-size: 0.9rem;
	color: #666;
}
.ezevent-event-mobile-datetime{
	display: none;
	visibility: hidden;
}

.ezevent-event-more-link {
	text-decoration: none;
	font-size: 1rem;
	opacity: 0.7;
}

.ezevent-event-more-link:hover {
	opacity: 1;
}

.ezevent-event-title {
	font-size: 1.25rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin: 0 0 0.35rem 0;
	line-height: 1.3;
}

.ezevent-event-title-link {
	color: inherit;
	text-decoration: none;
}

.ezevent-event-title-link:hover {
	text-decoration: underline;
}

.ezevent-event-img-link {
	display: block;
	line-height: 0;
}

.ezevent-event-img-link:hover .ezevent-event-img {
	opacity: 0.9;
}

.ezevent-event-location {
	font-size: 0.9rem;
	color: #555;
	margin: 0 0 0.5rem 0;
	line-height: 1.4;
}

.ezevent-event-summary {
	font-size: 0.95rem;
	line-height: 1.5;
	color: #444;
	margin: 0;
}

.ezevent-event-cancelled {
	opacity: 0.75;
}

.ezevent-event-cancelled .ezevent-event-title {
	text-decoration: line-through;
}

.ezevent-event-cancelled-note {
	font-size: 0.85rem;
	color: #888;
	font-style: italic;
	margin: 0.25rem 0 0 0;
}

.ezevent-event-img-col {
	flex: 0 0 auto;
	max-width: 200px;
	min-width: 0;
	overflow: hidden;
}

.ezevent-event-img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 200px;
	max-height: 140px;
	object-fit: contain;
	object-position: center;
	border-radius: 4px;
	transition: opacity 0.2s ease;
}


/* ==========================================================================
   Single Event Detail View
   ========================================================================== */

.ezevent-single-wrap {
	max-width: 720px;
	margin: 0 auto;
	padding: 1rem 0;
}

.ezevent-back-link {
	margin-bottom: 1rem;
	font-size: 0.95rem;
}

.ezevent-back-link a {
	text-decoration: none;
	color: #666;
}

.ezevent-back-link a:hover {
	color: #333;
	text-decoration: underline;
}

.ezevent-back-link-bottom {
	margin-top: 2rem;
	margin-bottom: 0;
}

.ezevent-single-event {
	border-bottom: 1px solid #eee;
	padding-bottom: 1.5rem;
}

.ezevent-single-img-wrap {
	margin-bottom: 1rem;
	overflow: hidden;
	border-radius: 4px;
}

.ezevent-single-img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 400px;
	object-fit: contain;
	object-position: center;
}

.ezevent-single-datetime {
	font-size: 0.95rem;
	color: #666;
	margin-bottom: 0.25rem;
}

.ezevent-single-location {
	font-size: 0.95rem;
	color: #555;
	margin: 0 0 1rem 0;
}

.ezevent-single-title {
	font-size: 1.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin: 0 0 0.75rem 0;
	line-height: 1.3;
}

.ezevent-single-summary {
	font-size: 1.05rem;
	line-height: 1.5;
	color: #555;
	margin: 0 0 1rem 0;
}

.ezevent-single-summary p {
	margin: 0 0 0.5rem 0;
}

.ezevent-single-summary p:last-child {
	margin-bottom: 0;
}

.ezevent-single-body {
	font-size: 1rem;
	line-height: 1.6;
	color: #444;
	margin-bottom: 1rem;
}

.ezevent-single-body p {
	margin: 0 0 0.75rem 0;
}

.ezevent-single-more {
	margin: 0;
}

@media (max-width: 640px) {
	.ezevent-events-wrap{
		padding-left: 1rem;
		padding-right: 1rem;
	}
	.ezevent-single-wrap{
		padding-left: 1rem;
		padding-right: 1rem;
	}
	.ezevent-search-wrap {
		position: relative;
		display: block;
		margin-bottom: 1.5rem;
		max-width: 100%;
		width: 100%;
	}
	.ezevent-event-date-col{
		width: 100%;
		visibility: hidden;
		display: none;
	}
	.ezevent-event-datetime{
		display: none;
		visibility: hidden;
	}
	.ezevent-event-mobile-datetime{
		display: block;
		visibility: visible;
	}
	.ezevent-event-content-col{
		flex-direction: column-reverse;
	}
	.ezevent-event-img-col {
		max-width: 100%;/*180px*/ 
	}

	.ezevent-event-img {
		max-width: 100%;/*180px*/ 
		max-height: 250px;
	}
	
}