/* Calendário de Atividades (widget wgAtividades, view eventoslist_rm) */
/* Fernando Datorre @2026 */

.agenda-col {
	padding-left: 0;
	padding-right: 1rem;
	margin-bottom: 1rem;
}

.agenda-item {
	display: flex;
	align-items: stretch;
	height: 100%;
	min-height: 96px;
	background-color: #fff;
	border: 1px solid #d6e0ee;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 40, 100, .06);
	color: #004498;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.agenda-item:hover,
.agenda-item:focus-visible {
	transform: translateY(-2px);
	border-color: #ff8a02;
	box-shadow: 0 10px 24px rgba(0, 40, 100, .12);
	text-decoration: none;
}

.agenda-data {
	flex: 0 0 84px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: #004498;
	color: #fff;
	line-height: 1;
	transition: background-color .2s ease;
}

.agenda-item:hover .agenda-data,
.agenda-item:focus-visible .agenda-data {
	background-color: #ff8a02;
}

.agenda-dia {
	font-size: 2rem;
	font-weight: 700;
}

.agenda-mes {
	margin-top: .3rem;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.agenda-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: .8rem 1rem;
}

.agenda-semana {
	margin-bottom: .25rem;
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #5f6f86;
}

.agenda-titulo {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	overflow: hidden;
	font-size: .95rem;
	font-weight: 500;
	line-height: 1.3;
	color: #0a2a5c;
}

.agenda-seta {
	align-self: center;
	margin-right: 1rem;
	color: #b3c1d4;
	transition: color .2s ease, transform .2s ease;
}

.agenda-item:hover .agenda-seta,
.agenda-item:focus-visible .agenda-seta {
	color: #ff8a02;
	transform: translateX(3px);
}

.agenda-ver-todos {
	font-weight: 600;
	color: #004498;
	text-decoration: none;
}

.agenda-ver-todos i {
	margin-left: .35rem;
	transition: transform .2s ease;
}

.agenda-ver-todos:hover {
	color: #ff8a02;
	text-decoration: none;
}

.agenda-ver-todos:hover i {
	transform: translateX(3px);
}

@media (max-width: 767.98px) {
	.agenda-col {
		padding-right: .75rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.agenda-item,
	.agenda-seta,
	.agenda-ver-todos i {
		transition: none;
	}

	.agenda-item:hover,
	.agenda-item:focus-visible,
	.agenda-item:hover .agenda-seta,
	.agenda-ver-todos:hover i {
		transform: none;
	}
}
