.mos-events-grid {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 20px !important;
	margin: 0 0 24px !important;
	align-items: start !important;
}

@media (min-width: 768px) {
	.mos-events-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

.mos-event-card {
	display: flex !important;
	flex-direction: column !important;
	height: auto !important;
	background: #fff !important;
	border: 1px solid #ececec !important;
	border-radius: 12px !important;
	overflow: hidden !important;
	box-shadow: 0 2px 10px rgba(16, 24, 40, 0.06) !important;
	transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.mos-event-card:hover {
	transform: translateY(-4px) !important;
	box-shadow: 0 12px 28px rgba(16, 24, 40, 0.12) !important;
}

.mos-event-card__media {
	position: relative !important;
	display: block !important;
	line-height: 0 !important;
	overflow: hidden !important;
	aspect-ratio: 16 / 9 !important;
	background: #f2f3f5 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.mos-event-card__image {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
	margin: 0 !important;
	transition: transform 0.4s ease !important;
}

.mos-event-card:hover .mos-event-card__image {
	transform: scale(1.04) !important;
}

.mos-event-card__image--placeholder {
	background: linear-gradient(135deg, #1d2733 0%, #3a4a5c 100%) !important;
}

.mos-event-card__date-badge {
	position: absolute !important;
	top: 10px !important;
	left: 10px !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 44px !important;
	padding: 5px 7px !important;
	background: #fff !important;
	border-radius: 8px !important;
	box-shadow: 0 4px 12px rgba(16, 24, 40, 0.18) !important;
	line-height: 1.05 !important;
	text-align: center !important;
}

.mos-event-card__date-day {
	font-size: 17px !important;
	font-weight: 800 !important;
	color: #e03a3c !important;
	margin: 0 !important;
	padding: 0 !important;
}

.mos-event-card__date-month {
	font-size: 10px !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	color: #444 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.mos-event-card__body {
	display: block !important;
	padding: 20px 20px 20px !important;
	margin: 0 !important;
}

.mos-event-card__body > * {
	margin-top: 0 !important;
}

.mos-event-card__title,
.mos-event-card h3.mos-event-card__title {
	margin: 0 0 8px !important;
	padding: 0 !important;
	font-size: 18px !important;
	font-weight: 800 !important;
	line-height: 1.25 !important;
}

.mos-event-card__title a {
	color: #16181c !important;
	text-decoration: none !important;
}

.mos-event-card__title a:hover {
	color: #e03a3c !important;
}

.mos-event-card__content,
.mos-event-card p.mos-event-card__content {
	margin: 0 0 16px !important;
	padding: 0 !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	color: #565d66 !important;
}

/* Footer row: details left, button right */

.mos-event-card__footer {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	flex-wrap: wrap !important;
	margin: 0 !important;
	padding: 16px 0 0 !important;
	border-top: 1px solid #ececec !important;
}

.mos-event-card__details {
	display: grid !important;
	gap: 8px !important;
	margin: 0 !important;
	padding: 0 !important;
	min-width: 0 !important;
}

.mos-event-card__detail,
.mos-event-card p.mos-event-card__detail {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	color: #3e4650 !important;
}

.mos-event-card__detail-icon {
	flex: 0 0 16px !important;
	width: 16px !important;
	height: 16px !important;
	fill: none !important;
	stroke: #e03a3c !important;
	stroke-width: 1.8 !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
}

.mos-event-card__button {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	margin: 0 !important;
	flex-shrink: 0 !important;
	white-space: nowrap !important;
	background-color: #e03a3c !important;
	color: #fff !important;
	padding: 8px 16px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	border: 0 !important;
	border-radius: 6px !important;
	line-height: 1.2 !important;
	transition: background-color 0.2s ease, gap 0.2s ease !important;
}

.mos-event-card__button:hover,
.mos-event-card__button:focus {
	background-color: #c22f31 !important;
	color: #fff !important;
	text-decoration: none !important;
	gap: 10px !important;
}

.mos-event-card__button-arrow {
	line-height: 1 !important;
}
