/* WP-specific tweaks on top of BIP core CSS */

.bip-visually-hidden,
.screen-reader-text {
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	position: absolute;
	overflow: hidden;
}

.bip-content > *:first-child {
	margin-top: 0;
}

.bip-content img,
.bip-content figure {
	max-width: 100%;
	height: auto;
}

.bip-content table {
	width: 100%;
	border-collapse: collapse;
}

.bip-content th,
.bip-content td {
	border: 1px solid #d6d3d1;
	padding: 8px 10px;
	text-align: left;
}

.navigation.pagination {
	margin-top: 16px;
}

.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.navigation.pagination a,
.navigation.pagination span {
	display: inline-block;
	padding: 6px 10px;
	border: 1px solid #d6d3d1;
	background: #fff;
	text-decoration: none;
	color: #451a03;
}

.navigation.pagination .current {
	font-weight: 700;
	background: #f5f5f4;
}

body.admin-bar .skip-link:focus {
	top: 48px;
}
