.omhpe-display {
	--omhpe-gap: 24px;
	--omhpe-card-width: 320px;
	--omhpe-ink: #171918;
	--omhpe-muted: #5e6664;
	--omhpe-accent: #00bdb1;
	--omhpe-border: #171918;
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 28px 0;
	color: var(--omhpe-ink);
	font-family: inherit;
	container-type: inline-size;
}

.omhpe-display--eventos {
	max-width: 1000px;
	margin-right: auto;
	margin-left: auto;
}

.omhpe-display .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
	white-space: nowrap !important;
}

.omhpe-display *,
.omhpe-display *::before,
.omhpe-display *::after {
	box-sizing: border-box;
}

.omhpe-carousel__viewport {
	width: 100%;
	max-width: 100%;
}

.omhpe-display--carousel .omhpe-carousel__viewport {
	overflow: hidden;
	padding: 22px 26px 38px;
	overscroll-behavior-inline: contain;
	touch-action: pan-y;
}

.omhpe-display--carousel .omhpe-carousel__viewport::-webkit-scrollbar {
	display: none;
}

.omhpe-carousel__track {
	gap: var(--omhpe-gap);
}

.omhpe-display--grid .omhpe-carousel__track {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	align-items: stretch;
}

.omhpe-display--grid.omhpe-display--eventos .omhpe-carousel__track {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 300px));
	justify-content: center;
}

.omhpe-display--grid.omhpe-display--todos .omhpe-carousel__track {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.omhpe-display--carousel .omhpe-carousel__track {
	display: flex;
	width: max-content;
	min-width: 100%;
	align-items: stretch;
	transform: translate3d(0, 0, 0);
	will-change: transform;
}

.omhpe-display--carousel .omhpe-card {
	width: var(--omhpe-card-width);
	flex: 0 0 var(--omhpe-card-width);
}

.omhpe-display--carousel .omhpe-carousel__track,
.omhpe-display--carousel .omhpe-carousel__track img {
	-webkit-user-select: none;
	user-select: none;
}

.omhpe-display--carousel .omhpe-carousel__track img {
	-webkit-user-drag: none;
}

.omhpe-carousel__controls {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin: 0 2px 14px;
}

.omhpe-carousel__button {
	display: inline-grid;
	width: 46px;
	height: 46px;
	margin: 0;
	padding: 0;
	place-items: center;
	border: 1.5px solid var(--omhpe-border);
	border-radius: 50%;
	color: var(--omhpe-ink);
	background: #fff;
	box-shadow: 0 6px 18px rgba(23, 25, 24, .08);
	cursor: pointer;
	transition: transform .2s ease, color .2s ease, background-color .2s ease, box-shadow .2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.omhpe-carousel__button:hover {
	color: #fff;
	background: var(--omhpe-ink);
	box-shadow: 0 9px 24px rgba(23, 25, 24, .16);
	transform: translateY(-2px);
}

.omhpe-carousel__button:focus-visible {
	outline: 3px solid rgba(0, 189, 177, .38);
	outline-offset: 3px;
}

.omhpe-carousel__button svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.omhpe-card {
	position: relative;
	min-width: 0;
	border-radius: 27px;
	color: var(--omhpe-ink);
	transition: transform .28s cubic-bezier(.2, .75, .25, 1);
}

.omhpe-card__click {
	position: relative;
	display: flex;
	width: 100%;
	height: 100%;
	min-height: inherit;
	flex-direction: column;
	overflow: hidden;
	border: 1.5px solid var(--omhpe-border);
	border-radius: 27px;
	color: inherit;
	background: #fff;
	box-shadow: 0 6px 20px rgba(17, 28, 26, .04);
	text-decoration: none;
	isolation: isolate;
}

.omhpe-card:hover {
	z-index: 3;
	transform: translateY(-5px);
}

/* Usamos la misma sombra redondeada en programas y eventos */
.omhpe-program-card:hover,
.omhpe-event-card:hover {
	filter: drop-shadow(0 18px 21px rgba(16, 36, 33, .18));
}

.omhpe-card:hover .omhpe-card__click {
	box-shadow: none;
}

a.omhpe-card__click:hover {
	color: inherit;
	text-decoration: none;
}

a.omhpe-card__click:focus-visible {
	outline: 3px solid rgba(0, 189, 177, .45);
	outline-offset: 4px;
}

.omhpe-card__title {
	margin: 0;
	color: inherit;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(29px, 2.2vw, 40px);
	font-weight: 400;
	letter-spacing: -.025em;
	line-height: .98;
	overflow-wrap: anywhere;
}

.omhpe-program-card {
	height: 490px;
	min-height: 490px;
}

.omhpe-program-card__media,
.omhpe-program-card__shade {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.omhpe-program-card__media {
	background: linear-gradient(135deg, #9eced5, #efaca2 55%, #fff4df);
}

.omhpe-program-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .7s cubic-bezier(.2, .75, .25, 1);
}

a.omhpe-card__click:hover .omhpe-program-card__media img {
	transform: scale(1.035);
}

.omhpe-program-card__shade {
	z-index: -1;
	background:
		linear-gradient(
			to bottom,
			rgba(255, 255, 255, 0) 0%,
			rgba(255, 255, 255, .12) 18%,
			rgba(255, 255, 255, .62) 35%,
			rgba(255, 255, 255, .94) 51%,
			#fff 72%
		),
		linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, .2) 64%, transparent 82%);
}

.omhpe-program-card__content {
	display: flex;
	height: 100%;
	min-height: 490px;
	flex-direction: column;
	justify-content: flex-end;
	padding: 26px 28px 27px;
}

.omhpe-program-card__heading {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
	overflow: visible;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.omhpe-program-card__duration {
	margin: 0 0 8px;
	color: #111413;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
	-webkit-text-stroke: .55px rgba(255, 255, 255, .98);
	paint-order: stroke fill;
	text-shadow:
		-1px -1px 0 rgba(255, 255, 255, .98),
		1px -1px 0 rgba(255, 255, 255, .98),
		-1px 1px 0 rgba(255, 255, 255, .98),
		1px 1px 0 rgba(255, 255, 255, .98),
		0 0 6px rgba(255, 255, 255, .92),
		0 2px 5px rgba(0, 0, 0, .34);
}

.omhpe-program-card .omhpe-card__title {
	display: -webkit-box;
	max-width: 100%;
	max-height: 4.05em;
	overflow: hidden;
	color: #111413;
	font-size: clamp(28px, 2vw, 37px);
	line-height: 1.01;
	-webkit-text-stroke: .75px rgba(255, 255, 255, .98);
	paint-order: stroke fill;
	text-shadow:
		-1px -1px 0 rgba(255, 255, 255, .98),
		1px -1px 0 rgba(255, 255, 255, .98),
		-1px 1px 0 rgba(255, 255, 255, .98),
		1px 1px 0 rgba(255, 255, 255, .98),
		-2px 0 2px rgba(255, 255, 255, .9),
		2px 0 2px rgba(255, 255, 255, .9),
		0 0 8px rgba(255, 255, 255, .94),
		0 3px 7px rgba(0, 0, 0, .34);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.omhpe-program-card__certification {
	display: grid;
	width: 100%;
	min-height: 58px;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 11px;
	align-items: center;
	margin-top: 15px;
	padding: 9px 11px;
	overflow: hidden;
	border: 1px solid rgba(23, 25, 24, .12);
	border-radius: 12px;
	background: rgba(255, 255, 255, .82);
	backdrop-filter: blur(7px);
}

.omhpe-program-card__certification.is-empty {
	visibility: hidden;
}

.omhpe-program-card__cert-label {
	max-width: 68px;
	color: #59615f;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .09em;
	line-height: 1.18;
	text-transform: uppercase;
}

.omhpe-program-card__certification img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 36px;
	margin-left: auto;
	object-fit: contain;
	object-position: right center;
}

.omhpe-program-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 15px;
}

.omhpe-program-card__availability {
	display: inline-flex;
	min-width: 0;
	align-items: center;
	gap: 9px;
	font-size: 16px;
	font-weight: 580;
	line-height: 1.2;
}

.omhpe-program-card__availability svg {
	width: 21px;
	height: 21px;
	flex: 0 0 21px;
	fill: currentColor;
}

.omhpe-program-card__availability.is-unavailable {
	color: #6f7473;
}

.omhpe-card__arrow {
	display: inline-grid;
	width: 47px;
	height: 47px;
	flex: 0 0 47px;
	place-items: center;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.omhpe-card__arrow svg {
	width: 23px;
	height: 23px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.65;
	stroke-linecap: round;
	stroke-linejoin: round;
}

a.omhpe-card__click:hover .omhpe-card__arrow {
	color: #fff;
	background: var(--omhpe-ink);
	transform: translateX(3px);
}

.omhpe-event-card {
	min-height: 480px;
}

.omhpe-display--carousel .omhpe-event-card {
	height: 480px;
}

.omhpe-event-card .omhpe-card__click {
	background: #fbfbfa;
}

.omhpe-event-card__media {
	position: relative;
	flex: 0 0 auto;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-bottom: 1.5px solid var(--omhpe-border);
	background: #e8efed;
}

.omhpe-event-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .7s cubic-bezier(.2, .75, .25, 1), filter .25s ease;
}

.omhpe-event-card.is-finished .omhpe-event-card__media img {
	filter: saturate(.55) brightness(.82);
}

a.omhpe-card__click:hover .omhpe-event-card__media img {
	transform: scale(1.025);
}

.omhpe-event-card__status {
	position: absolute;
	z-index: 2;
	top: 11px;
	right: 11px;
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 6px 10px;
	border: 1px solid rgba(255, 255, 255, .62);
	border-radius: 999px;
	color: #fff;
	background: rgba(23, 25, 24, .9);
	box-shadow: 0 5px 14px rgba(0, 0, 0, .2);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .07em;
	line-height: 1;
	text-transform: uppercase;
	backdrop-filter: blur(8px);
}

.omhpe-event-card__placeholder {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 70% 30%, rgba(0, 189, 177, .7), transparent 32%),
		linear-gradient(135deg, #eef5f3, #9ed8d2 55%, #168e86);
}

.omhpe-event-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 20px 22px 23px;
}

.omhpe-event-card__mode {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	font-size: clamp(15px, 1.35vw, 18px);
	font-style: italic;
	font-weight: 480;
	line-height: 1.2;
}

.omhpe-event-card__mode-icon {
	display: inline-grid;
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
	place-items: center;
	border-radius: 50%;
	color: #fff;
	background: var(--omhpe-accent);
}

.omhpe-event-card.is-finished .omhpe-event-card__mode-icon {
	background: #5f6664;
}

.omhpe-event-card__mode-icon svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.1;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.omhpe-event-card .omhpe-card__title {
	margin-bottom: 19px;
	font-size: clamp(25px, 2.5vw, 31px);
	line-height: 1.01;
}

.omhpe-event-card__meta {
	display: grid;
	gap: 9px;
	margin: auto 0 0;
	padding: 0;
	list-style: none;
}

.omhpe-event-card__meta li {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	gap: 10px;
	align-items: center;
	margin: 0;
	padding: 0;
	color: #242726;
	font-size: clamp(14px, 1.25vw, 17px);
	line-height: 1.2;
}

.omhpe-event-card__meta svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.omhpe-display--carousel .omhpe-event-card__body {
	padding: 20px 22px 23px;
}

.omhpe-display--carousel .omhpe-event-card .omhpe-card__title {
	font-size: clamp(25px, 2.25vw, 30px);
}

.omhpe-display--carousel .omhpe-event-card__meta li,
.omhpe-display--carousel .omhpe-event-card__mode {
	font-size: clamp(14px, 1.2vw, 17px);
}

.omhpe-display--carousel .omhpe-event-card__meta svg {
	width: 22px;
	height: 22px;
}

/* Ajustamos el evento cuando es la única tarjeta */
.omhpe-display--grid[data-count="1"] .omhpe-carousel__viewport {
	padding-right: clamp(18px, 3vw, 26px);
	padding-left: clamp(18px, 3vw, 26px);
}

.omhpe-display--grid[data-count="1"] .omhpe-event-card {
	width: 100%;
	max-width: 300px;
	min-height: 480px;
	justify-self: center;
}

.omhpe-display--grid[data-count="1"] .omhpe-event-card__body {
	padding: 20px 22px 23px;
}

.omhpe-display--grid[data-count="1"] .omhpe-event-card__mode {
	gap: 10px;
	margin-bottom: 16px;
	font-size: clamp(15px, 1.35vw, 18px);
}

.omhpe-display--grid[data-count="1"] .omhpe-event-card__mode-icon {
	width: 28px;
	height: 28px;
	flex-basis: 28px;
}

.omhpe-display--grid[data-count="1"] .omhpe-event-card__mode-icon svg {
	width: 16px;
	height: 16px;
}

.omhpe-display--grid[data-count="1"] .omhpe-event-card .omhpe-card__title {
	margin-bottom: 19px;
	font-size: clamp(25px, 2.5vw, 31px);
	line-height: 1.01;
}

.omhpe-display--grid[data-count="1"] .omhpe-event-card__meta {
	gap: 9px;
}

.omhpe-display--grid[data-count="1"] .omhpe-event-card__meta li {
	grid-template-columns: 24px minmax(0, 1fr);
	gap: 10px;
	font-size: clamp(14px, 1.25vw, 17px);
}

.omhpe-display--grid[data-count="1"] .omhpe-event-card__meta svg {
	width: 22px;
	height: 22px;
}

.omhpe-display--grid[data-count="1"] .omhpe-event-card__status {
	top: 11px;
	right: 11px;
	min-height: 28px;
	padding: 6px 10px;
	font-size: 10px;
}

.omhpe-carousel__viewport:focus-visible {
	outline: 3px solid rgba(0, 189, 177, .34);
	outline-offset: 4px;
	border-radius: 8px;
}

@media (max-width: 782px) {
	.omhpe-display {
		margin: 22px 0;
	}

	.omhpe-carousel__controls {
		justify-content: center;
		margin-right: 0;
		margin-left: 0;
	}

	.omhpe-display--carousel .omhpe-carousel__viewport {
		padding-right: 26px;
		padding-left: 26px;
	}

	.omhpe-display--grid .omhpe-carousel__viewport {
		padding-right: 24px;
		padding-left: 24px;
	}

	.omhpe-display--grid[data-count="1"] .omhpe-carousel__viewport {
		padding-right: 24px;
		padding-left: 24px;
	}

	.omhpe-display--grid .omhpe-carousel__track,
	.omhpe-display--grid.omhpe-display--eventos .omhpe-carousel__track,
	.omhpe-display--grid.omhpe-display--todos .omhpe-carousel__track {
		grid-template-columns: 1fr;
	}

	.omhpe-program-card {
		height: 470px;
		min-height: 470px;
	}

	.omhpe-program-card__content {
		min-height: 470px;
		padding: 24px 22px 24px;
	}


	.omhpe-program-card .omhpe-card__title {
		font-size: clamp(28px, 8vw, 34px);
	}

	.omhpe-program-card__certification {
		min-height: 56px;
		margin-top: 13px;
	}

	.omhpe-event-card,
	.omhpe-display--carousel .omhpe-event-card {
		height: auto;
		min-height: 480px;
	}

	.omhpe-event-card__body,
	.omhpe-display--carousel .omhpe-event-card__body {
		padding: 20px 21px 23px;
	}

	.omhpe-event-card__mode {
		margin-bottom: 15px;
		font-size: 16px;
	}

	.omhpe-event-card .omhpe-card__title,
	.omhpe-display--carousel .omhpe-event-card .omhpe-card__title {
		font-size: clamp(25px, 7.4vw, 30px);
	}

	.omhpe-event-card__meta li,
	.omhpe-display--carousel .omhpe-event-card__meta li {
		grid-template-columns: 23px minmax(0, 1fr);
		gap: 9px;
		font-size: 15px;
	}

	.omhpe-event-card__meta svg {
		width: 21px;
		height: 21px;
	}

	.omhpe-card,
	.omhpe-card__click {
		border-radius: 23px;
	}
}

@media (max-width: 420px) {
	.omhpe-display--carousel .omhpe-carousel__viewport,
	.omhpe-display--grid .omhpe-carousel__viewport,
	.omhpe-display--grid[data-count="1"] .omhpe-carousel__viewport {
		padding-right: 22px;
		padding-left: 22px;
	}

	.omhpe-program-card {
		height: 455px;
		min-height: 455px;
	}

	.omhpe-program-card__content {
		min-height: 455px;
		padding: 22px 20px 22px;
	}

	.omhpe-program-card .omhpe-card__title {
		font-size: 29px;
	}

	.omhpe-program-card__availability {
		font-size: 14px;
	}

	.omhpe-program-card__cert-label {
		max-width: 62px;
		font-size: 8px;
	}

	.omhpe-card__arrow {
		width: 43px;
		height: 43px;
		flex-basis: 43px;
	}

	.omhpe-carousel__button {
		width: 42px;
		height: 42px;
	}
}

@container (max-width: 430px) {
	.omhpe-display .omhpe-event-card__body,
	.omhpe-display--carousel .omhpe-event-card__body {
		padding: 19px 20px 22px;
	}

	.omhpe-display .omhpe-event-card .omhpe-card__title,
	.omhpe-display--carousel .omhpe-event-card .omhpe-card__title {
		font-size: clamp(24px, 8.2cqw, 29px);
	}

	.omhpe-display .omhpe-event-card__meta li,
	.omhpe-display--carousel .omhpe-event-card__meta li {
		font-size: 15px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.omhpe-display *,
	.omhpe-display *::before,
	.omhpe-display *::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}
