/* Keep a real table on phones; scroll only the directory, not the page. */
.bm-table-wrap {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow-x: auto;
	margin: 1.5em 0;
	-webkit-overflow-scrolling: touch;
}
.bm-table-wrap:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}
.bm-table {
	width: 100%;
	min-width: 480px;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
}
.bm-table-caption {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.bm-table thead th {
	text-align: left;
	background: #23282d;
	color: #fff;
	padding: 10px 12px;
	font-weight: 600;
	white-space: nowrap;
}
.bm-table tbody td,
.bm-table tbody th {
	padding: 10px 12px;
	border-bottom: 1px solid #e2e2e2;
	vertical-align: top;
	text-align: left;
	background: transparent;
	color: inherit;
	font-weight: normal;
}
.bm-table .bm-col-name,
.bm-table .bm-col-position,
.bm-table .bm-col-region,
.bm-table .bm-col-email {
	white-space: normal;
	overflow-wrap: anywhere;
}
.bm-table tbody tr:nth-child(even) { background: #f8f8f8; }
.bm-table tbody tr:hover { background: #eef4fb; }
.bm-name-link { font-weight: 600; text-decoration: none; }
.bm-name-link:hover { text-decoration: underline; }
.bm-empty { font-style: italic; color: #666; }
.bm-archive {
	box-sizing: border-box;
	width: 100%;
	max-width: 1200px;
	min-width: 0;
	margin: 2em auto;
	padding: 0 20px;
}
@media (max-width: 600px) {
	.bm-archive { padding: 0 12px; }
	.bm-table { font-size: 14px; }
	.bm-table thead th,
	.bm-table tbody th,
	.bm-table tbody td { padding: 8px 10px; }
}

/* Single Board Member page */
.bm-single {
	max-width: 640px;
	margin-top: 1.5em;
}

.bm-single-photo {
	margin-bottom: 1em;
}

.bm-single-photo-img {
	max-width: 200px;
	height: auto;
	border-radius: 4px;
}

.bm-single-position {
	font-size: 18px;
	font-weight: 600;
	color: #444;
	margin: 0 0 1em;
}

.bm-single-table {
	width: 100%;
	border-collapse: collapse;
}

.bm-single-table th,
.bm-single-table td {
	text-align: left;
	padding: 10px 12px;
	border-bottom: 1px solid #e2e2e2;
}

.bm-single-table th {
	width: 160px;
	color: #555;
	font-weight: 600;
}
