/* YTC Event Slider — base structural styles only.
   Visual styling (exact colors/fonts) to be applied per Figma design system. */

.ytc-event-slider-block {
	position: relative;
}
.ytc-event-slider-block .swiper.ytc-swiper{
	padding-bottom: 0;
	overflow: visible;
	/* pulls the whole track left at rest, per --ytc-start-offset (set inline
	   from the start_offset shortcode attribute). Width is padded out to
	   match, so there's still enough slide content to fill the right edge. */
	margin-left: var( --ytc-start-offset, 0px );
	width: calc(100% - var( --ytc-start-offset, 0px ) );
}
@media all and (max-width: 1023px){
	.ytc-event-slider-block .swiper.ytc-swiper{
		margin-left: 0;
		width: 100%
	}
}
.ytc-event-slider-block .swiper-wrapper {
	transition-timing-function: linear !important;
}
.ytc-event-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	background: #E8F1F1;
	border-radius: 16px;
	padding: 12px;
}
.ytc-event-card__info {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}
.ytc-event-card__date-badge {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #0b1f3a;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}
.ytc-event-card__date-badge.has-image {
	background-size: cover;
	background-position: center;
}
.ytc-event-card__date-badge.has-image::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(11, 31, 58, 0.55);
	z-index: 0;
}
.ytc-event-card__day {
	position: relative;
	z-index: 1;
	font-size: 24px;
	font-weight: 700;
}
.ytc-event-card__date-meta {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	font-size: 14px;
	line-height: 24px;
	color: #18304D;
}
.ytc-event-card__title {
	font-size: 14px !important;
	margin-bottom: 0 !important;
	line-height: 24px !important;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.ytc-event-card__cta {
	flex-shrink: 0;
	background: #18304D;
	color: #fff !important;
	border-radius: 999px;
	padding: 8px 20px;
	font-size: 14px;
	white-space: nowrap;
	text-decoration: none;
	font-weight: 700;
}
.ytc-event-card__cta:hover{
	background: #61BB46;
}
.ytc-event-slider-empty {
	padding: 24px;
	text-align: center;
	color: #888;
}