.alldev-pe-widget,
.alldev-pe-widget * {
	box-sizing: border-box;
}

.elementor-widget-alldev_proximos_eventos,
.elementor-widget-alldev_proximos_eventos > .elementor-widget-container {
	width: 100%;
	max-width: 100%;
}

.elementor-widget-alldev_proximos_eventos {
	align-self: stretch;
}

.alldev-pe-widget {
	position: relative;
	display: block;
	width: 100%;
	max-width: none;
	overflow: hidden;
	background: #000f9f;
	font-family: Roboto, Arial, sans-serif;
}

.alldev-pe-layout-card {
	padding: 0 22px 14px;
}

.alldev-pe-heading-wrap {
	margin: 0;
}

.alldev-pe-heading {
	margin: 0;
	padding: 0;
}

.alldev-pe-layout-card .alldev-pe-heading {
	color: #3cb4e5;
	font-size: 31px;
	font-weight: 300;
	line-height: 1.2;
	letter-spacing: -0.03em;
}

.alldev-pe-divider {
	width: 100%;
	height: 1px;
	margin-top: 8px;
	background: #2532ad;
}

.alldev-pe-carousel,
.alldev-pe-viewport,
.alldev-pe-track {
	width: 100%;
	min-width: 0;
}

.alldev-pe-carousel {
	position: relative;
}

.alldev-pe-viewport {
	width: 100%;
	overflow: hidden;
}

.alldev-pe-track {
	display: flex;
	transition: transform 420ms cubic-bezier(.2,.7,.2,1);
	will-change: transform;
}

.alldev-pe-slide {
	flex: 0 0 100%;
	width: 100%;
	min-width: 0;
}

.alldev-pe-event {
	width: 100%;
	color: inherit;
	text-decoration: none;
}

.alldev-pe-event:hover,
.alldev-pe-event:focus,
.alldev-pe-event:visited {
	color: inherit;
	text-decoration: none;
}

.alldev-pe-event:focus-visible {
	outline: 2px solid #3cb4e5;
	outline-offset: -2px;
}

/* Formato tarjeta destacada */
.alldev-pe-event-card {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	align-items: stretch;
	gap: 30px;
	padding-top: 2px;
}

.alldev-pe-date-card {
	display: flex;
	min-height: 96px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	background: #0817a2;
	border-radius: 6px;
	text-align: center;
}

.alldev-pe-weekday {
	display: block;
	margin-bottom: 8px;
	color: #abb2ec;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .025em;
}

.alldev-pe-day {
	display: block;
	color: #fff;
	font-size: 38px;
	font-weight: 700;
	line-height: .95;
}

.alldev-pe-content {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
	padding: 3px 0 1px;
}

.alldev-pe-layout-card .alldev-pe-event-title {
	margin: 0 0 6px;
	padding: 0;
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -.02em;
}

.alldev-pe-layout-card .alldev-pe-date-range {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	color: #949bdf;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.alldev-pe-calendar {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	fill: #949bdf;
}

.alldev-pe-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 18px;
	margin-top: 7px;
}

.alldev-pe-dot {
	width: 6px;
	height: 6px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #00116e;
	box-shadow: none;
	cursor: pointer;
	transition: transform 180ms ease, background-color 180ms ease;
}

.alldev-pe-dot:hover,
.alldev-pe-dot:focus {
	border: 0;
	outline: none;
	transform: scale(1.25);
}

.alldev-pe-dot.is-active {
	background: #3cb4e5;
	transform: scale(1.15);
}

/* Formato barra horizontal */
.alldev-pe-layout-compact {
	padding: 0 26px;
	border: 1px solid #98a5f2;
}

.alldev-pe-compact-shell {
	display: grid;
	grid-template-columns: max-content 1px minmax(0, 1fr);
	align-items: center;
	min-height: 60px;
}

.alldev-pe-compact-heading-wrap {
	min-width: 0;
	padding-right: 18px;
	white-space: nowrap;
}

.alldev-pe-layout-compact .alldev-pe-heading {
	color: #f4b33a;
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0;
}

.alldev-pe-compact-divider {
	width: 1px;
	height: 32px;
	background: #8290e3;
}

.alldev-pe-layout-compact .alldev-pe-carousel {
	min-width: 0;
	padding: 0 32px;
}

.alldev-pe-compact-shell > .alldev-pe-carousel:first-child {
	grid-column: 1 / -1;
}

.alldev-pe-event-compact {
	display: grid;
	grid-template-columns: max-content minmax(0, 1.6fr) minmax(120px, 1fr);
	align-items: center;
	column-gap: 10px;
	min-height: 50px;
	padding-left: 20px;
}

.alldev-pe-compact-date {
	display: flex;
	align-items: baseline;
	gap: 4px;
	color: #fff;
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	white-space: nowrap;
}

.alldev-pe-compact-day {
	font-weight: 700;
}

.alldev-pe-layout-compact .alldev-pe-event-title {
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	color: #fff;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.15;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.alldev-pe-layout-compact .alldev-pe-date-range {
	display: block;
	min-width: 0;
	overflow: hidden;
	color: #fff;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.alldev-pe-nav {
	position: absolute;
	top: 50%;
	z-index: 4;
	display: inline-flex;
	width: 28px;
	height: 36px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	transform: translateY(-50%);
	border: 0;
	border-radius: 4px;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
}

.alldev-pe-nav-prev {
	left: 2px;
}

.alldev-pe-nav-next {
	right: 2px;
}

.alldev-pe-nav svg {
	display: block;
	width: 21px;
	height: 21px;
	fill: none;
	stroke: #aebbf9;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.5;
}

.alldev-pe-nav:hover,
.alldev-pe-nav:focus-visible {
	background: rgba(255, 255, 255, .08);
	outline: none;
}

.alldev-pe-layout-card .alldev-pe-carousel {
	padding-right: 30px;
	padding-left: 30px;
}

.alldev-pe-empty {
	margin: 18px 0 8px;
	color: #fff;
	font-size: 15px;
}

@media (max-width: 767px) {
	.alldev-pe-layout-card {
		padding-right: 16px;
		padding-left: 16px;
	}

	.alldev-pe-layout-card .alldev-pe-heading {
		font-size: 27px;
	}

	.alldev-pe-event-card {
		grid-template-columns: 70px minmax(0, 1fr);
		gap: 18px;
	}

	.alldev-pe-date-card {
		min-height: 88px;
	}

	.alldev-pe-day {
		font-size: 34px;
	}

	.alldev-pe-layout-card .alldev-pe-event-title {
		font-size: 20px;
	}

	.alldev-pe-layout-card .alldev-pe-date-range {
		align-items: flex-start;
		font-size: 13px;
	}
}

@media (max-width: 640px) {
	.alldev-pe-layout-compact {
		padding: 0 14px;
	}

	.alldev-pe-layout-compact .alldev-pe-carousel {
		padding: 0 24px;
	}

	.alldev-pe-layout-compact .alldev-pe-heading {
		font-size: 18px;
	}

	.alldev-pe-compact-date {
		font-size: 16px;
	}

	.alldev-pe-layout-compact .alldev-pe-event-title {
		font-size: 15px;
	}

	.alldev-pe-layout-compact .alldev-pe-date-range {
		font-size: 11px;
	}

	.alldev-pe-compact-shell {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.alldev-pe-compact-heading-wrap {
		padding: 11px 0 9px;
	}

	.alldev-pe-compact-divider {
		width: 100%;
		height: 1px;
	}

	.alldev-pe-event-compact {
		grid-template-columns: max-content minmax(0, 1fr);
		grid-template-areas:
			"date title"
			"date range";
		row-gap: 4px;
		min-height: 62px;
		padding: 8px 0;
	}

	.alldev-pe-compact-date {
		grid-area: date;
		padding-right: 4px;
	}

	.alldev-pe-layout-compact .alldev-pe-event-title {
		grid-area: title;
	}

	.alldev-pe-layout-compact .alldev-pe-date-range {
		grid-area: range;
	}

	.alldev-pe-nav {
		width: 24px;
	}

	.alldev-pe-nav svg {
		width: 18px;
		height: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.alldev-pe-track,
	.alldev-pe-dot {
		transition: none;
	}
}
