/* OAB Home Layout: Twenty Twelve colours and sizes, same structure as richardbyrom.com */

.oab-list-heading {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
	color: #444;
}

.oab-result-count {
	margin: 8px 0 0;
	color: #757575;
}

.oab-list {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.site-content .oab-list li {
	margin: 0;
}

.oab-item {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
	padding: 24px 0;
	border-bottom: 1px solid #ededed;
}

.oab-item--no-image {
	grid-template-columns: minmax(0, 1fr);
}

.oab-item__image {
	display: block;
}

.oab-item__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 0;
	box-shadow: none;
}

.oab-item__title {
	margin: 0 0 4px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
}

.oab-item__title a {
	text-decoration: none;
}

.oab-item__title a:hover,
.oab-item__title a:focus {
	text-decoration: underline;
}

.oab-item__date {
	margin: 0 0 8px;
	font-size: 13px;
	color: #757575;
}

.oab-item__excerpt {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: #444;
}

.oab-pages {
	margin: 32px 0 24px;
}

.oab-pages .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.oab-pages .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.oab-pages .page-numbers {
	display: inline-block;
	min-width: 44px;
	padding: 10px 12px;
	box-sizing: border-box;
	border: 1px solid #d5d9dd;
	font-size: 15px;
	line-height: 22px;
	text-align: center;
	text-decoration: none;
	color: #21759b;
}

.oab-pages a.page-numbers:hover,
.oab-pages a.page-numbers:focus {
	border-color: #21759b;
	text-decoration: underline;
}

.oab-pages .page-numbers.current {
	border-color: #21759b;
	background: #21759b;
	color: #fff;
	font-weight: 600;
}

.oab-pages .page-numbers.dots {
	min-width: 0;
	padding: 10px 2px;
	border: 0;
	color: #444;
}

@media screen and (max-width: 600px) {
	.oab-item {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}
}
