/*
 * Content pieces for the reusable page templates. See inc/content.php.
 */

/* Specs table: a two-column table of real text, in a white card like the FAQ toggles. */
.sf-specs {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	text-align: left;
}

.sf-specs th,
.sf-specs td {
	padding: 18px 24px;
	vertical-align: top;
}

.sf-specs th {
	width: 34%;
	color: var(--clr-dark);
	font-weight: 700;
}

.sf-specs tr:not(:last-child) th,
.sf-specs tr:not(:last-child) td {
	/* The site's dashed line, as on the FAQ toggles. */
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='1' fill='none' viewBox='0 0 16 1'%3e%3cpath fill='%23CCD1D4' d='M4 0h8v1H4z'/%3e%3c/svg%3e");
	background-repeat: repeat-x;
	background-position: left bottom;
	background-size: 16px 1px;
}

@media (max-width: 480px) {
	.sf-specs th,
	.sf-specs td {
		display: block;
		width: 100%;
		padding: 12px 16px;
	}

	.sf-specs th {
		padding-bottom: 0;
		background-image: none !important;
	}
}

/* Tags under a paragraph, such as the kinds of event an event type covers: <ul class="sf-chips">. */
.sf-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sf-chips li {
	margin: 0;
	padding: 8px 18px;
	border: 1px solid #ccd1d4;
	border-radius: 999px;
	background-color: #fff;
	color: var(--clr-dark);
	font-weight: 700;
	line-height: 1.4;
}

/* Card photos cropped to 4:3 whatever the upload's shape. */
.sf-ratio-4-3 {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.sf-last-updated {
	margin: 0;
	font-size: 14px;
	color: var(--clr-text);
	text-align: center;
}
