.ya-efemerides {
	--yae-primary: #0057a8;
	--yae-gold: #d5a021;
	--yae-ink: #172033;
	--yae-soft: #eef5fb;
	--yae-line: #dce7f1;
	color: var(--yae-ink);
	font-family: inherit;
	margin: 24px 0;
}

.yae-year-countdown {
	align-items: center;
	background: #fff;
	border: 1px solid var(--yae-line);
	border-left: 5px solid var(--yae-gold);
	border-radius: 8px;
	box-shadow: 0 10px 26px rgba(11, 42, 74, .08);
	display: flex;
	gap: 14px;
	margin-bottom: 16px;
	padding: 14px 16px;
}

.yae-year-countdown-icon {
	align-items: center;
	background: var(--yae-primary);
	border-radius: 8px;
	color: #fff;
	display: flex;
	flex: 0 0 44px;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.yae-year-countdown-icon svg {
	height: 23px;
	width: 23px;
}

.yae-year-countdown-text {
	display: grid;
	gap: 3px;
}

.yae-year-countdown-text strong {
	color: var(--yae-primary);
	font-size: 16px;
	line-height: 1.25;
}

.yae-year-countdown-text span {
	color: #43566d;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
}

.yae-hero {
	align-items: end;
	background: linear-gradient(135deg, var(--yae-primary), #073f79);
	border-radius: 8px;
	color: #fff;
	display: flex;
	justify-content: space-between;
	margin-bottom: 18px;
	padding: 22px;
}

.yae-kicker {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.yae-date {
	align-items: baseline;
	display: flex;
	gap: 10px;
}

.yae-date span {
	color: var(--yae-gold);
	font-size: 44px;
	font-weight: 900;
	line-height: 1;
}

.yae-date strong {
	font-size: 20px;
	text-transform: uppercase;
}

.yae-featured {
	background: #fff;
	border: 1px solid var(--yae-line);
	border-radius: 8px;
	box-shadow: 0 14px 36px rgba(11, 42, 74, .10);
	display: grid;
	grid-template-columns: minmax(240px, .95fr) 1.05fr;
	margin-bottom: 28px;
	overflow: hidden;
}

.yae-featured-media {
	background: var(--yae-soft);
	min-height: 280px;
}

.yae-featured-media img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.yae-icon-fallback {
	align-items: center;
	color: var(--yae-primary);
	display: flex;
	height: 100%;
	justify-content: center;
	min-height: 280px;
}

.yae-icon-fallback svg,
.yae-empty svg {
	height: 82px;
	width: 82px;
}

.yae-featured-body {
	padding: 26px;
}

.yae-category {
	background: color-mix(in srgb, var(--yae-cat, var(--yae-primary)) 12%, #fff);
	border: 1px solid color-mix(in srgb, var(--yae-cat, var(--yae-primary)) 35%, #fff);
	border-radius: 999px;
	color: var(--yae-cat, var(--yae-primary));
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	padding: 7px 10px;
}

.yae-year {
	color: var(--yae-gold);
	font-size: 34px;
	font-weight: 900;
	line-height: 1;
	margin-top: 16px;
}

.yae-featured h3 {
	font-size: clamp(24px, 3vw, 36px);
	line-height: 1.08;
	margin: 10px 0 12px;
}

.yae-description {
	font-size: 16px;
	line-height: 1.65;
}

.yae-description p {
	margin: 0 0 12px;
}

.yae-share {
	align-items: center;
	background: var(--yae-primary);
	border: 0;
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-weight: 800;
	gap: 8px;
	margin-top: 10px;
	padding: 10px 14px;
}

.yae-share svg {
	height: 18px;
	width: 18px;
}

.yae-timeline {
	display: grid;
	gap: 0;
	grid-template-columns: 1fr 1fr;
	position: relative;
}

.yae-timeline-item {
	display: grid;
	grid-template-columns: 26px 1fr;
	padding: 0 18px 24px 0;
	position: relative;
}

.yae-timeline-item:before {
	background: var(--yae-line);
	content: "";
	height: 100%;
	left: 8px;
	position: absolute;
	top: 12px;
	width: 2px;
}

.yae-dot {
	background: var(--yae-gold);
	border: 4px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 0 2px var(--yae-gold);
	height: 12px;
	margin-top: 8px;
	position: relative;
	width: 12px;
	z-index: 1;
}

.yae-timeline-card {
	background: #fff;
	border-bottom: 1px solid var(--yae-line);
	padding-bottom: 20px;
}

.yae-timeline-top {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: space-between;
}

.yae-timeline-top strong {
	color: var(--yae-primary);
	font-size: 22px;
}

.yae-timeline h4 {
	font-size: 20px;
	line-height: 1.25;
	margin: 8px 0;
}

.yae-inline-image {
	border-radius: 8px;
	display: block;
	margin-top: 12px;
	max-height: 220px;
	object-fit: cover;
	width: 100%;
}

.yae-empty {
	align-items: center;
	background: #fff;
	border: 1px dashed var(--yae-line);
	border-radius: 8px;
	color: var(--yae-primary);
	display: flex;
	gap: 16px;
	padding: 22px;
}

.yae-empty p {
	color: var(--yae-ink);
	font-weight: 700;
	margin: 0;
}

.yae-animate .yae-featured,
.yae-animate .yae-timeline-item {
	animation: yae-rise .35s ease both;
}

@keyframes yae-rise {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 760px) {
	.yae-hero,
	.yae-date {
		align-items: flex-start;
		flex-direction: column;
	}

	.yae-year-countdown {
		align-items: flex-start;
	}

	.yae-featured,
	.yae-timeline {
		grid-template-columns: 1fr;
	}

	.yae-featured-media,
	.yae-icon-fallback {
		min-height: 220px;
	}

	.yae-featured-body {
		padding: 20px;
	}

	.yae-timeline-item {
		padding-right: 0;
	}
}
