/* Blog listing — OBT style */

.obt-blog__title,
.obt-blog__widget-title,
.obt-blog__more {
	text-transform: none !important;
}

/* Layout */
.obt-blog__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 56px;
	max-width: 1100px;
	margin: 0 auto;
	padding: 64px 24px 80px;
	align-items: start;
}

/* Posts */
.obt-blog__list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.obt-blog__item {
	padding: 0 0 48px;
	margin: 0 0 48px;
	border-bottom: 1px solid #e8ddd5;
}

.obt-blog__item:last-child {
	margin-bottom: 0;
	border-bottom: none;
	padding-bottom: 0;
}

.obt-blog__thumb {
	display: block;
	margin: 0 0 24px;
	overflow: hidden;
	border-radius: 2px;
}

.obt-blog__thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.obt-blog__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	font-size: .8rem;
	font-weight: 500;
	letter-spacing: .06em;
	color: #9a857c;
}

.obt-blog__cat {
	color: #c5a059;
	text-decoration: none;
}

.obt-blog__cat:hover {
	color: #462821;
}

.obt-blog__meta-sep {
	opacity: .6;
}

.obt-blog__date {
	color: #9a857c;
}

.obt-blog__title {
	margin: 0 0 16px;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(1.55rem, 2.8vw, 2.05rem);
	font-weight: 600;
	line-height: 1.25;
	color: #462821;
}

.obt-blog__title a {
	color: inherit;
	text-decoration: none;
}

.obt-blog__title a:hover {
	color: #c5a059;
}

.obt-blog__excerpt {
	margin: 0 0 20px;
}

.obt-blog__excerpt p {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.75;
	color: #5a4a44;
}

.obt-blog__more {
	display: inline-block;
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase !important;
	color: #462821;
	text-decoration: none;
	border-bottom: 1px solid #c5a059;
	padding-bottom: 2px;
}

.obt-blog__more:hover {
	color: #c5a059;
}

.obt-blog__empty {
	margin: 0;
	padding: 24px 0;
}

/* Pagination */
.obt-blog__pagination {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid #e8ddd5;
}

.obt-blog__pagination .nav-links,
.obt-blog__pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.obt-blog__pagination a.page-numbers,
.obt-blog__pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	font-size: .9rem;
	font-weight: 500;
	color: #9a857c;
	text-decoration: none;
	border-radius: 2px;
}

.obt-blog__pagination a.page-numbers:hover,
.obt-blog__pagination span.page-numbers.current {
	color: #462821;
	background: #faf6f3;
}

.obt-blog__pagination span.page-numbers.current {
	font-weight: 600;
	border-bottom: 2px solid #c5a059;
}

/* Sidebar */
.obt-blog__sidebar {
	position: sticky;
	top: 120px;
}

.obt-blog__widget {
	margin: 0 0 40px;
}

.obt-blog__widget:last-child {
	margin-bottom: 0;
}

.obt-blog__widget-title {
	margin: 0 0 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid #e8ddd5;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.35rem;
	font-weight: 600;
	color: #462821;
	letter-spacing: .02em;
}

.obt-blog__cats {
	list-style: none;
	margin: 0;
	padding: 0;
}

.obt-blog__cats li {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #f0e8e2;
}

.obt-blog__cats a {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 12px 0;
	font-size: .95rem;
	color: #5a4a44;
	text-decoration: none;
}

.obt-blog__cats a:hover {
	color: #c5a059;
}

.obt-blog__cats .count {
	color: #9a857c;
	font-size: .85rem;
}

/* WP count often in parentheses as text node — style via li */
.obt-blog__cats li {
	font-size: .95rem;
	color: #9a857c;
}

.obt-blog__cats li a {
	display: inline;
	padding: 12px 0;
}

/* Search */
.obt-blog__search {
	display: flex;
	border: 1px solid #e8ddd5;
	background: #fff;
	border-radius: 2px;
	overflow: hidden;
}

.obt-blog__search input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 0;
	margin: 0;
	padding: 12px 14px;
	font-family: inherit;
	font-size: .95rem;
	color: #462821;
	background: transparent;
	box-shadow: none;
}

.obt-blog__search input[type="search"]:focus {
	outline: none;
}

.obt-blog__search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	border: 0;
	padding: 0;
	background: #faf6f3;
	color: #5a4a44;
	cursor: pointer;
}

.obt-blog__search button:hover {
	background: #462821;
	color: #fff;
}

@media (max-width: 900px) {
	.obt-blog__layout {
		grid-template-columns: 1fr;
		gap: 48px;
		padding: 48px 20px 64px;
	}

	.obt-blog__sidebar {
		position: static;
		order: 2;
	}
}

@media (max-width: 480px) {
	.obt-blog__item {
		padding-bottom: 36px;
		margin-bottom: 36px;
	}
}

/* Category archive hero kicker */
.obt-blog__hero-kicker {
	margin: 0 0 14px;
	font-family: "Source Sans 3", system-ui, sans-serif;
	font-size: .72rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .5);
}

.obt-blog__hero-kicker a {
	color: #c5a059;
	text-decoration: none;
}

.obt-blog__hero-kicker a:hover {
	color: #fff;
}

.obt-blog__cats .current-cat > a {
	color: #c5a059;
	font-weight: 600;
}
