.oes-events-grid {
	display: flex;
	flex-direction: column;
	gap: 30px;
	max-width: 1000px;
	margin: 0 auto;
}

.oes-event-card {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	background: #fffdf9;
	border: 1px solid #eee7de;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(66, 40, 27, 0.06);
}

/* Image Container with 4:3 Aspect Ratio */
.oes-event-card__media {
position: relative;
	width: 380px;
	flex-shrink: 0;
	display: flex;
	align-self: stretch;
	overflow: hidden;
}

.oes-event-card__image {
display: block;
	width: 100%;
	height: 100%;
}

.oes-event-card__image img {
width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block;
}

.oes-event-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #3f1d1d, #a45843 48%, #ead4b3);
}

/* Date Overlay Badge Container */
.oes-event-date {
	position: absolute;
	top: 16px;
	left: 16px;
	width: 68px;
	border-radius: 12px;
	overflow: hidden;
	text-align: center;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
	z-index: 2;
}

.oes-event-date span {
	display: block;
	line-height: 1;
}

/* Top Section: Maroon background with white text */
.oes-event-date__top {
	background-color: #802336;
	color: #ffffff;
	padding: 10px 6px 8px;
}

.oes-event-date__day {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.5px;
}

.oes-event-date__month {
	margin-top: 5px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

/* Bottom Section: Light cream background with dark text */
.oes-event-date__bottom {
	background-color: #fdf8eb;
	color: #2c4251;
	padding: 6px 4px 7px;
}

.oes-event-date__year {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.3px;
}

/* Content Section */
.oes-event-card__content {
	flex: 1;
	padding: 28px 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* H3 Heading Title Styling */
h3.oes-event-card__title {
	margin: 0 0 14px;
	color: #62282c !important;
    font-family: Optima, sans-serif !important;
    font-size: 24px !important;
    font-weight: 500 !important;
	line-height: 1.35;
}

h3.oes-event-card__title a {
	color: #62282c !important;
    font-family: Optima, sans-serif !important;
    font-size: 24px !important;
    font-weight: 500 !important;
	text-decoration: none;
}

h3.oes-event-card__title a:hover {
	color: #7b1e29;
}

.oes-event-card__excerpt {
	margin-bottom: 20px;
	color: #1D1D1D !important;
	font-size: 17px;
	line-height: 1.55;
}

.oes-event-card__link {
	color: #64172d !important;
	font-size: 17px !important;
	font-weight: 500 !important;
	    font-family: "Avenir Next", Sans-serif !important;;
   
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.oes-event-card__link:hover {
	color: #64172d !important
}

.oes-events-archive {
	max-width: 1000px;
	margin: 0 auto;
	padding: 40px 20px;
}

.oes-events-archive__header h1 {
	margin: 0 0 28px;
	color: #5d1720;
	font: 400 38px/1.2 Georgia, serif;
}

/* Tablet & Mobile Layout Stacking (Under 992px) */
@media (max-width: 992px) {
	.oes-event-card {
		flex-direction: column;
	}

	.oes-event-card__media {
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9; /* Clean landscape ratio for mobile screens */
		align-self: auto;
	}

	.oes-event-card__image {
		width: 100%;
		height: 100%;
	}

	.oes-event-card__image img {
		width: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
	}

	.oes-event-card__content {
		width: 100%;
		padding: 24px 20px;
		display: block; /* Ensures text flows naturally below image */
	}
}




/* Arrival & Departure Meta Line */
.oes-event-card__dates {
	font-size: 15px;
	font-style: italic;
	color: #666666;
	margin-top: -6px;
	margin-bottom: 14px !important;
	line-height: 1.4;
}



.oes-event-card__dates strong {
	font-style: normal;
	font-weight: 700;
	color: #222222;
}

/* Pagination for the [osho_events] shortcode */
.oes-events-pagination {
	max-width: 1000px;
	margin: 32px auto 12px;
	text-align: center;
}
.oes-events-pagination ul.page-numbers {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
}
.oes-events-pagination .page-numbers li { margin: 0; }
.oes-events-pagination .page-numbers a,
.oes-events-pagination .page-numbers span {
	display: inline-block;
	padding: 9px 14px;
	border: 1px solid #e3d5cf;
	border-radius: 5px;
	color: #62282c;
	text-decoration: none;
	background: #fffdf9;
}
.oes-events-pagination .page-numbers .current {
	background: #62282c;
	border-color: #62282c;
	color: #fff;
}
.oes-events-pagination .page-numbers a:hover {
	background: #f4ebe5;
}
