/* Listados y calendario — Eventos Caminos */

.evento-caminos-empty {
	margin: 1rem 0;
	color: #666;
}

/* Listado */
.evento-caminos-list {
	list-style: none;
	margin: 0 !important;
	padding: 0;
}

.evento-caminos-list-item {
	border-bottom: 1px solid #e5e5e5;
	list-style: none;
}

.evento-caminos-list-item::marker {
	content: none;
}

.evento-caminos-list-item:last-child {
	border-bottom: 0;
}

.evento-caminos-list-link {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	padding: 1rem 0;
	text-decoration: none;
	color: inherit;
}

.evento-caminos-list-thumb {
	flex: 0 0 300px;
	width: 300px;
	max-width: 40%;
}

.evento-caminos-list-thumb img,
.evento-caminos-list-image {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.evento-caminos-list-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.evento-caminos-list-link:hover .evento-caminos-list-title {
	color: #ff71a1;
}

.evento-caminos-list-title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.3;
}

.evento-caminos-list-dates,
.evento-caminos-grid-dates {
	margin: 0;
	font-size: 0.95rem;
	color: #666;
	line-height: 1.45;
}

.evento-caminos-list-tag,
.evento-caminos-grid-tag {
	display: inline-block;
	align-self: flex-start;
	width: auto;
	max-width: max-content;
	padding: 0.2rem 0.65rem;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #fff;
	background: var(--evento-caminos-tag-color, #ff71a1);
}

/* Grid próximas */
.evento-caminos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1.5rem;
}

.evento-caminos-grid-link {
	display: block;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

.evento-caminos-grid-item {
	border: 1px solid #ebebeb;
	overflow: hidden;
	background: #fff;
	transition: box-shadow 0.2s ease;
}

.evento-caminos-grid-item:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.evento-caminos-grid-thumb img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.evento-caminos-grid-body {
	padding: 1rem 1.1rem 1.2rem;
}

.evento-caminos-grid-title {
	margin: 0.5rem 0 0.35rem;
	font-size: 1.1rem;
	line-height: 1.3;
}

/* Calendario — Month Minimal Pink */
.evento-caminos-calendar-wrap {
	--ec-pink: #ff71a1;
	--ec-toolbar: #414141;
	--ec-header: #ff71a1;
	--ec-body: #ebebeb;
	--ec-day-row-height: 88px;
	position: relative;
	margin: 1rem 0 2rem;
}

.evento-caminos-calendar-wrap.evento-caminos-month-hidden-events.evento-caminos-is-month-view .fc-dayGrid-view .fc-day-grid-event,
.evento-caminos-calendar-wrap.evento-caminos-month-hidden-events.evento-caminos-is-month-view .fc-dayGrid-view a.fc-more,
.evento-caminos-calendar-wrap.evento-caminos-month-hidden-events.evento-caminos-is-month-view .fc-dayGrid-view .fc-event-container {
	display: none !important;
}

.evento-caminos-calendar-wrap a.fc-day-number {
	text-decoration: none;
}

.evento-caminos-calendar-wrap a.fc-day-number:hover,
.evento-caminos-calendar-wrap a[data-goto]:hover {
	text-decoration: none;
}

.evento-caminos-calendar-wrap.evento-caminos-is-day-view .fc-dayGrid-view .fc-content-skeleton {
	padding-bottom: 0;
}

.evento-caminos-calendar-wrap.evento-caminos-is-day-view .fc-dayGrid-view .fc-day-grid-event,
.evento-caminos-calendar-wrap.evento-caminos-is-day-view .fc-dayGrid-view .fc-event-container {
	display: block !important;
}

.evento-caminos-calendar-wrap.evento-caminos-is-day-view .fc-dayGrid-view .fc-day-grid-event {
	margin: 0.35rem 0.5rem;
	padding: 0.45rem 0.55rem;
	border-radius: 4px;
	color: #fff;
	text-decoration: none;
}

.evento-caminos-calendar-wrap.evento-caminos-is-day-view .fc-dayGrid-view .fc-day-grid-event .fc-title {
	font-weight: 600;
}

.evento-caminos-calendar-wrap.evento-caminos-is-day-view .fc-dayGrid-view .fc-day-grid-event:hover {
	opacity: 0.92;
}

/* Calendar Anything: ocultar botón de la vista activa (mes); en día aparece «Volver» */
.evento-caminos-calendar-wrap .fc-button.fc-button-active,
.evento-caminos-calendar-wrap .fc-button.fc-state-active {
	display: none;
}

.evento-caminos-calendar-wrap td.fc-day-top.has-events .evento-caminos-day-number,
.evento-caminos-calendar-wrap td.fc-day-top.has-events .fc-day-number {
	background: var(--ec-pink);
	color: #fff;
	cursor: pointer;
}

.evento-caminos-calendar-wrap td.fc-day-top.has-events a.fc-day-number:hover {
	opacity: 0.92;
	text-decoration: none;
}

.evento-caminos-calendar-wrap .fc-other-month td.fc-day-top.has-events .fc-day-number {
	color: #fff;
}

.evento-caminos-calendar-wrap .fc-today {
	background: #fff !important;
}

.evento-caminos-calendar-wrap .fc-toolbar {
	background: var(--ec-toolbar);
	padding: 1.25rem;
	margin-bottom: 3px;
	border-radius: 0;
}

.evento-caminos-calendar-wrap .fc-toolbar h2 {
	color: #fff;
	font-size: 1.1rem;
	text-transform: capitalize;
}

.evento-caminos-calendar-wrap .fc-button {
	background: transparent;
	border: 0;
	color: #fff;
	box-shadow: none;
	padding: 0.35rem 0.75rem;
}

.evento-caminos-calendar-wrap .fc-button:hover,
.evento-caminos-calendar-wrap .fc-button:focus {
	background: rgba(255, 255, 255, 0.12);
}

.evento-caminos-calendar-wrap .fc-head-container,
.evento-caminos-calendar-wrap .fc-widget-header {
	background: var(--ec-header);
	border: 0;
}

.evento-caminos-calendar-wrap .fc-day-header {
	padding: 1.25rem 0;
	color: #fff;
	text-transform: uppercase;
	font-weight: 600;
	border: 0;
}

.evento-caminos-calendar-wrap.evento-caminos-is-month-view .fc-dayGrid-view .fc-widget-content,
.evento-caminos-calendar-wrap.evento-caminos-is-month-view .fc-dayGrid-view .fc-bg td {
	background: var(--ec-body);
	border-color: #fff;
	border-width: 3px 0 0;
}

.evento-caminos-calendar-wrap.evento-caminos-is-month-view .fc-dayGrid-view .fc-day-grid .fc-row {
	min-height: var(--ec-day-row-height);
	position: relative;
}

.evento-caminos-calendar-wrap.evento-caminos-is-month-view .fc-dayGrid-view .fc-content-skeleton td {
	text-align: center;
	vertical-align: middle;
	border-top-width: 0 !important;
	border-bottom-width: 0 !important;
}

.evento-caminos-calendar-wrap.evento-caminos-month-hidden-events.evento-caminos-is-month-view .fc-dayGrid-view .fc-content-skeleton tbody td {
	padding: 0;
}

.evento-caminos-calendar-wrap.evento-caminos-month-hidden-events.evento-caminos-is-month-view.evento-caminos-vertical-middle-days .fc-dayGrid-view .fc-day-grid .fc-row {
	overflow: hidden;
}

.evento-caminos-calendar-wrap.evento-caminos-month-hidden-events.evento-caminos-is-month-view.evento-caminos-vertical-middle-days .fc-dayGrid-view .fc-day-grid .fc-row .fc-content-skeleton {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	padding-bottom: 0;
}

.evento-caminos-calendar-wrap.evento-caminos-is-month-view .fc-dayGrid-view .fc-day-top {
	text-align: center;
}

.evento-caminos-calendar-wrap.evento-caminos-is-month-view .fc-ltr .fc-dayGrid-view .fc-day-top .fc-day-number,
.evento-caminos-calendar-wrap.evento-caminos-is-month-view .fc-rtl .fc-dayGrid-view .fc-day-top .fc-day-number {
	float: none !important;
}

.evento-caminos-calendar-wrap .fc-day-top.fc-other-month {
	opacity: 1;
}

.evento-caminos-calendar-wrap.evento-caminos-is-month-view .fc-dayGrid-view .fc-scroller {
	overflow: hidden !important;
}

.evento-caminos-calendar-wrap .fc-view-container {
	min-height: calc(var(--ec-day-row-height) * 6);
}

.evento-caminos-calendar-wrap.evento-caminos-height-locked.evento-caminos-is-day-view .fc-view-container,
.evento-caminos-calendar-wrap.evento-caminos-height-locked.evento-caminos-is-day-view .fc-dayGrid-view {
	min-height: var(--ec-month-view-height, calc(var(--ec-day-row-height) * 6));
}

.evento-caminos-calendar-wrap.evento-caminos-is-month-view .evento-caminos-day-number,
.evento-caminos-calendar-wrap.evento-caminos-is-month-view .fc-dayGrid-view .fc-day-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	font-size: 1.25rem;
	color: #000;
	float: none !important;
}

.evento-caminos-calendar-wrap.evento-caminos-is-month-view .fc-dayGrid-view td.fc-past:not(.has-events) .fc-day-number {
	color: #adadad;
}

@media (max-width: 767px) {
	.evento-caminos-list-link {
		flex-direction: column;
	}

	.evento-caminos-list-thumb {
		flex-basis: auto;
	}

	.evento-caminos-grid {
		grid-template-columns: 1fr;
	}
}
