/**
 * facts: loaded only on pages that show it.
 *
 * Split out of the shared stylesheets by bin/split-css.py; loaded by
 * inc/feature-styles.php when something on the page has the class.
 */

/* ---------- From blocks.css ---------- */
.cong-facts {
	display: grid;
	gap: var(--wp--preset--spacing--30);
	margin: 0;
}

.cong-facts__row {
	display: grid;
	gap: 0.15rem 1.25rem;
	grid-template-columns: minmax(0, 7rem) minmax(0, 1fr);
}

@media (max-width: 34rem) {
	.cong-facts__row {
		grid-template-columns: 1fr;
	}
}

.cong-facts dt {
	color: var(--wp--preset--color--ink-muted);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding-top: 0.2em;
}

.cong-facts dd {
	margin: 0;
}

.cong-facts__dates {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.15rem;
}

.cong-facts__more {
	margin: 0.4rem 0 0;
	color: var(--wp--preset--color--ink-muted);
	font-size: var(--wp--preset--font-size--sm);
}

.cong-facts__cta {
	margin: var(--wp--preset--spacing--40) 0 0;
}

/* A directions link beside a room name in a facts panel. */
.cong-facts__directions {
	display: inline-block;
	margin-inline-start: 0.6em;
	font-size: var(--wp--preset--font-size--sm);
	white-space: nowrap;
}

/* Two actions under the facts: the one people want, and the wider view. */
.cong-facts__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--20);
}

.cong-facts__actions .wp-element-button.is-quiet {
	padding: 0;
	background: none;
	border: 0;
	color: var(--wp--preset--color--ink-muted);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

.cong-facts__actions .wp-element-button.is-quiet:hover {
	background: none;
	color: var(--wp--preset--color--leaf);
}

/*
 * An event in more than one place.
 *
 * Each place on its own line with its address under it. A list of venues run
 * together on one line reads as one long address belonging to nothing.
 */
.cong-facts__place {
	display: block;
}

.cong-facts__place + .cong-facts__place {
	margin-block-start: 0.5em;
}

.cong-facts__address {
	display: block;
	font-size: 0.9em;
	opacity: 0.8;
}
