/* ttdl/events-strip — Homepage "Happening while you're here" band.
   Three states (many/one/no events this weekend); classes are scoped to
   this block and share nothing with ttdl/nearby-rail or ttdl/place-card. */

.ttdl-events-strip {
	margin-bottom: 52px;
}

.ttdl-events-strip__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: 32px;
}

.ttdl-events-strip__kicker {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: var(--wp--custom--tracking--label);
	text-transform: uppercase;
	color: var(--wp--preset--color--text-secondary);
	margin-bottom: 12px;
}

.ttdl-events-strip__heading {
	font-family: var(--wp--preset--font-family--serif-display);
	font-size: 46px;
	line-height: 1.08;
	margin: 0;
}

.ttdl-events-strip__all-link {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: var(--wp--custom--tracking--wide);
	text-transform: uppercase;
	color: var(--wp--preset--color--text-primary);
	border-bottom: 1px solid var(--wp--preset--color--border-strong);
	padding-bottom: 4px;
	white-space: nowrap;
	text-decoration: none;
}

/* Two mutually-exclusive instances of the same link — one visible per
   breakpoint via display:none, so keyboard/screen-reader order matches the
   visible layout at both widths instead of relying on visual-only reordering
   (a hidden instance is fully removed from the accessibility tree). */
.ttdl-events-strip__all-link--mobile {
	display: none;
}

.ttdl-events-strip__all-link:focus-visible,
.ttdl-events-strip__card:focus-visible,
.ttdl-events-strip__quiet-link:focus-visible,
.ttdl-events-strip__empty-cta:focus-visible {
	outline: none;
	box-shadow: var(--wp--custom--shadow--inset-focus);
}

/* manyEvents */

.ttdl-events-strip__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.ttdl-events-strip__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	text-decoration: none;
	color: var(--wp--preset--color--text-primary);
}

/* Date head — the card's visual identity in place of a photograph.
   Permanent design, not a placeholder: see the block comment in
   render.php. */

.ttdl-events-strip__datehead {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	column-gap: 12px;
	row-gap: 6px;
	background: var(--wp--preset--color--navy-900);
	color: var(--wp--preset--color--ivory-050);
	padding: 16px 18px;
	margin-bottom: 16px;
	border-top: 3px solid var(--wp--preset--color--gold-500);
}

.ttdl-events-strip__day {
	font-family: var(--wp--preset--font-family--serif-display);
	font-size: 34px;
	line-height: 1;
}

.ttdl-events-strip__mon {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: var(--wp--custom--tracking--label);
	text-transform: uppercase;
	color: var(--wp--preset--color--gold-500);
}

.ttdl-events-strip__type {
	flex-basis: 100%;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: var(--wp--custom--tracking--label);
	text-transform: uppercase;
	color: rgba(252, 249, 243, 0.72);
}

.ttdl-events-strip__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ttdl-events-strip__title {
	font-family: var(--wp--preset--font-family--serif-display);
	font-size: 24px;
	line-height: 1.15;
	margin: 0 0 6px;
}

.ttdl-events-strip__venue {
	display: block;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 15px;
	color: var(--wp--preset--color--text-muted);
	margin-bottom: 6px;
}

.ttdl-events-strip__meta {
	display: block;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--wp--preset--color--text-secondary);
}

/* fewEvents */

.ttdl-events-strip__pair {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 26px;
	align-items: stretch;
}

.ttdl-events-strip__pair .ttdl-events-strip__datehead {
	padding: 24px 26px;
}

.ttdl-events-strip__pair .ttdl-events-strip__day {
	font-size: 48px;
}

.ttdl-events-strip__pair .ttdl-events-strip__title {
	font-size: 32px;
}

.ttdl-events-strip__quiet {
	background: var(--wp--preset--color--cream-100);
	padding: 34px 30px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.ttdl-events-strip__quiet-kicker {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: var(--wp--custom--tracking--label);
	text-transform: uppercase;
	color: var(--wp--preset--color--text-secondary);
	margin-bottom: 12px;
}

.ttdl-events-strip__quiet-heading {
	font-family: var(--wp--preset--font-family--serif-display);
	font-size: 28px;
	line-height: 1.15;
	margin: 0 0 12px;
}

.ttdl-events-strip__quiet-copy {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--wp--preset--color--text-secondary);
	margin: 0 0 20px;
}

.ttdl-events-strip__quiet-link {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: var(--wp--custom--tracking--wide);
	text-transform: uppercase;
	color: var(--wp--preset--color--text-primary);
	text-decoration: none;
}

/* noEvents */

.ttdl-events-strip__empty {
	border: 1px solid var(--wp--preset--color--border-subtle);
	background: var(--wp--preset--color--white);
	padding: 44px 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 32px;
	flex-wrap: wrap;
}

.ttdl-events-strip__empty-copy {
	max-width: 56ch;
}

.ttdl-events-strip__empty-heading {
	font-family: var(--wp--preset--font-family--serif-display);
	font-size: 30px;
	line-height: 1.15;
	margin: 0 0 10px;
}

.ttdl-events-strip__empty-copy p {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--wp--preset--color--text-secondary);
	margin: 0;
}

.ttdl-events-strip__empty-ctas {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.ttdl-events-strip__empty-cta {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: var(--wp--custom--tracking--wide);
	text-transform: uppercase;
	border: 1px solid var(--wp--preset--color--border-strong);
	color: var(--wp--preset--color--text-primary);
	padding: 14px 22px;
	border-radius: var(--wp--preset--border-radius--m);
	white-space: nowrap;
	text-decoration: none;
}

/* Mobile — disclosed fallback for fewEvents/noEvents; manyEvents/card row
   treatment below 600px is evidenced directly in the Homepage mobile mockup. */

@media (max-width: 600px) {
	.ttdl-events-strip__header {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}

	.ttdl-events-strip__heading {
		font-size: 29px;
	}

	.ttdl-events-strip__all-link--desktop {
		display: none;
	}

	.ttdl-events-strip__all-link--mobile {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 48px;
		margin-top: 16px;
		border: 1px solid var(--wp--preset--color--border-strong);
		border-radius: var(--wp--preset--border-radius--m);
		padding-bottom: 0;
	}

	.ttdl-events-strip__grid,
	.ttdl-events-strip__pair {
		display: flex;
		flex-direction: column;
		gap: 16px;
	}

	.ttdl-events-strip__card {
		flex-direction: row;
		align-items: flex-start;
		gap: 14px;
		border-bottom: 1px solid var(--wp--preset--color--border-subtle);
		padding-bottom: 16px;
	}

	.ttdl-events-strip__datehead,
	.ttdl-events-strip__pair .ttdl-events-strip__datehead {
		flex: none;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: 62px;
		padding: 12px 6px;
		margin-bottom: 0;
		text-align: center;
	}

	.ttdl-events-strip__day,
	.ttdl-events-strip__pair .ttdl-events-strip__day {
		font-size: 24px;
	}

	/* Type/Area drops on mobile to keep the compact row scannable — still
	   one tap away on the Event's own page. */
	.ttdl-events-strip__type {
		display: none;
	}

	.ttdl-events-strip__title,
	.ttdl-events-strip__pair .ttdl-events-strip__title {
		font-size: 20px;
	}

	.ttdl-events-strip__empty {
		flex-direction: column;
		align-items: flex-start;
		padding: 30px 24px;
	}
}
