/*
 * A dense vertical stack: a fixed date column on the left, details on the
 * right. Colours come from the theme where it defines them, with fallbacks so
 * the plugin still looks reasonable under any theme.
 */

.nt-events {
	list-style: none;
	margin: 1.5rem 0;
	padding: 0;
	border-top: 1px solid var(--wp--preset--color--line, #d8dccd);
}

.nt-events__item {
	display: flex;
	gap: 1.25rem;
	margin: 0;
	padding: 0.9rem 0;
	border-bottom: 1px solid var(--wp--preset--color--line, #d8dccd);
}

.nt-events__when {
	flex: 0 0 5.5rem;
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.nt-events__day {
	font-size: 0.8em;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.7;
}

.nt-events__date {
	font-size: 1.15em;
	font-weight: 700;
	color: var(--wp--preset--color--brick, #8c2c1e);
}

.nt-events__time {
	font-size: 0.85em;
	opacity: 0.75;
}

.nt-events__body {
	flex: 1 1 auto;
	min-width: 0;
}

.nt-events__title {
	margin: 0 0 0.15rem;
	font-size: 1.05em;
	line-height: 1.3;
}

.nt-events__title a {
	text-decoration: none;
}

.nt-events__title a:hover {
	text-decoration: underline;
}

.nt-events__location {
	margin: 0 0 0.2rem;
	font-size: 0.88em;
	opacity: 0.8;
}

.nt-events__excerpt {
	margin: 0.2rem 0 0;
	font-size: 0.92em;
}

.nt-events__link {
	margin: 0.3rem 0 0;
	font-size: 0.88em;
}

.nt-events__empty {
	margin: 1.5rem 0;
	padding: 0.9rem 1.1rem;
	background: var(--wp--preset--color--mist, #eef1e8);
	border-radius: 4px;
	font-style: italic;
}

/* Single event page */

.nt-event-facts {
	margin: 1.25rem 0;
	padding: 0.9rem 1.1rem;
	background: var(--wp--preset--color--mist, #eef1e8);
	border-left: 4px solid var(--wp--preset--color--brick, #8c2c1e);
	border-radius: 4px;
}

.nt-event-facts p {
	margin: 0.15rem 0;
}

.nt-event-facts__when {
	font-size: 1.05em;
}

@media (max-width: 480px) {
	.nt-events__item {
		gap: 0.9rem;
	}

	.nt-events__when {
		flex-basis: 4.5rem;
	}
}
