/* Next events in the footer, on the teal footer background: white text, like the footer links. */
.cpts-foot-agenda {
	display: flex;
	flex-direction: column;
	gap: 14px;
	/* The Elementor heading above keeps a 19 px bottom margin on top of the column gap. */
	margin-top: -19px;
	color: #fff;
}

.cpts-foot-agenda__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* One line per event (Couac 2760): date, then the title cut by an ellipsis. */
.cpts-foot-agenda__item {
	display: flex;
	align-items: baseline;
	gap: 8px;
	min-width: 0;
	color: #fff;
	text-decoration: none;
}

.cpts-foot-agenda__date {
	flex: none;
	font-family: Barlow, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 18px;
	color: #fff;
	opacity: 0.85;
}

.cpts-foot-agenda__title {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-family: "Varela Round", sans-serif;
	font-size: 16px;
	line-height: 20px;
}

.cpts-foot-agenda__all {
	align-self: flex-start;
	font-family: "Varela Round", sans-serif;
	font-size: 16px;
	line-height: 20px;
	color: #fff;
	text-decoration: none;
}

.cpts-foot-agenda__item:focus-visible,
.cpts-foot-agenda__all:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
	border-radius: 4px;
}

@media (hover: hover) {
	.cpts-foot-agenda__item:hover .cpts-foot-agenda__title,
	.cpts-foot-agenda__all:hover {
		text-decoration: underline;
		text-underline-offset: 3px;
	}
}

/* 44 px targets wherever the footer is touched, tablets included. */
@media (max-width: 1024px) {
	/* The 44 px rows touch each other: their own height is the spacing. */
	.cpts-foot-agenda,
	.cpts-foot-agenda__list {
		gap: 0;
	}

	.cpts-foot-agenda__item {
		align-items: center;
		min-height: 44px;
	}

	.cpts-foot-agenda__all {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}
}

/* Astra's "a:hover, a:focus" turns links #670774 (2.24:1 on the teal footer): the links stay white. */
.cpts-foot-agenda a.cpts-foot-agenda__item,
.cpts-foot-agenda a.cpts-foot-agenda__item:hover,
.cpts-foot-agenda a.cpts-foot-agenda__item:focus,
.cpts-foot-agenda a.cpts-foot-agenda__all,
.cpts-foot-agenda a.cpts-foot-agenda__all:hover,
.cpts-foot-agenda a.cpts-foot-agenda__all:focus {
	color: #fff;
	transition: text-decoration-color 150ms ease-out;
}
