/* ==========================================================================
   FICHA DE EVENTO (single-events.php)
   Cabecera en css/page-header.css y tipografía del cuerpo en css/content.css.
   ========================================================================== */

.mim-event {
	overflow: hidden;
}

/* Caja de fecha y localización, alineada con el cuerpo. */
.mim-event-info {
	max-width: 660px;
	margin: 42px 0 0 max(20px, calc((100% - 1594px) / 2));
	padding: 48px 50px 48px 70px;
	background-color: #DDECF4;
	border-radius: 100px 0 100px 0;
}

.mim-event-info-item {
	display: flex;
	align-items: center;
	gap: 15px;
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	color: #333;
}

.mim-event-info-item + .mim-event-info-item {
	margin-top: 20px;
}

.mim-event-info-item img {
	flex: 0 0 auto;
}

.mim-event-body {
	max-width: 1634px;
	margin: 60px auto 140px;
	padding: 0 20px;
}

@media only screen and (max-width: 1100px) {
	.mim-event-info {
		margin-right: 20px;
	}
}

@media only screen and (max-width: 767px) {
	.mim-event-info {
		max-width: none;
		margin: 30px 20px 0;
		padding: 30px 25px 30px 30px;
		border-radius: 60px 0 60px 0;
	}

	.mim-event-info-item {
		gap: 12px;
	}

	.mim-event-info-item + .mim-event-info-item {
		margin-top: 16px;
	}

	.mim-event-body {
		margin: 45px auto 80px;
	}
}

/* --- Ficha de promoción (single-promos.php): estado y establecimiento --- */

.mim-event-status {
	display: inline-block;
	margin: 42px 0 0 calc(max(20px, calc((100% - 1594px) / 2)) + 70px);
	padding: 4px 20px;
	background-color: #005888;
	border-radius: 10px 10px 0 0;
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	color: #fff;
}

.mim-event-status + .mim-event-info {
	margin-top: 0;
}

.mim-event-store {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid rgba(0, 88, 136, .15);
}

.mim-event-store img {
	display: block;
	max-width: 140px;
	max-height: 60px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.mim-event-store a {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: 600;
	text-decoration: underline;
	text-transform: uppercase;
	color: #005888;
}

@media only screen and (max-width: 767px) {
	.mim-event-status {
		margin: 30px 20px 0 50px;
	}
}
