.bop-service-page,
.bop-archive {
	padding-bottom: 70px;
}

.bop-page-heading {
	margin-bottom: 54px;
	background: #fcfcfc;
}

.bop-page-heading .bop-page-heading__background {
	position: relative !important;
	left: auto !important;
	z-index: 0;
	display: block;
	box-sizing: border-box;
	width: 100% !important;
	min-width: 0 !important;
	min-height: 0;
	height: auto !important;
	padding: 160px 0 120px;
	overflow: hidden;
	background-color: transparent;
	background-position: 50% -10px;
	background-repeat: repeat;
	background-size: cover;
	background-attachment: scroll;
	animation: bop-background-drift 18s ease-in-out infinite alternate;
}

.bop-page-heading .bop-page-heading__overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	background-color: rgba(252, 252, 252, .75);
}

.bop-page-heading__content {
	position: relative;
	z-index: 1;
	text-align: center;
}

.bop-page-heading .bop-page-heading__title {
	display: table;
	width: auto;
	margin: 0 auto 35px !important;
	padding: .45em .7em .35em;
	border: 1px solid #010101;
	border-radius: 70px;
	color: #010101;
	font-family: "DM Sans", Arial, sans-serif;
	font-size: 15px !important;
	font-weight: 500 !important;
	line-height: 1.2em !important;
	letter-spacing: .039em !important;
	text-transform: none;
	opacity: 0;
	animation: bop-heading-rise .7s ease-out .1s forwards;
}

.bop-page-heading .bop-page-heading__subtitle {
	max-width: 680px;
	margin: 0 auto;
	color: #010101;
	font-family: "DM Sans", Arial, sans-serif;
	font-size: 38px !important;
	font-weight: 500;
	line-height: 1.2em !important;
	letter-spacing: -.03em;
	opacity: 0;
	animation: bop-heading-rise .85s cubic-bezier(.22, 1, .36, 1) .3s forwards;
}

@keyframes bop-heading-rise {
	from {
		opacity: 0;
		transform: translate3d(0, 12px, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes bop-background-drift {
	from { background-position: 49% -10px; }
	to { background-position: 51% -10px; }
}

.bop-service__layout {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}

.bop-service__layout--sidebar .bop-service__content {
	padding-right: 25px;
}

.bop-service__layout--sidebar .bop-service__sidebar {
	padding-top: 0 !important;
	padding-left: 25px;
	margin-top: 0 !important;
	align-self: flex-start;
}

.bop-service__featured-image {
	width: 100%;
	margin: 0 0 38px;
	overflow: hidden;
	border-radius: 22px;
	background: #f3f3f3;
}

.bop-service__featured-image-src {
	display: block;
	width: 100%;
	height: auto;
	max-height: 680px;
	object-fit: cover;
}

.bop-service__layout--full .bop-service__featured-image-src {
	max-height: none;
}

.bop-service__content .entry-content::after {
	display: table;
	clear: both;
	content: "";
}

.bop-related {
	box-sizing: border-box;
	width: 100%;
	padding: 26px;
	border: 1px solid rgba(0, 0, 0, .09);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 12px 35px rgba(30, 24, 20, .07);
}

.bop-related__title {
	margin: 0 0 18px;
	font-size: 18px !important;
	font-weight: 500;
	line-height: 1.35;
}

.bop-related__list {
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none !important;
}

.bop-related__list li {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid rgba(0, 0, 0, .08);
	list-style: none !important;
}

.bop-related__list li::marker {
	content: "";
}

.bop-related__list li:last-child {
	border-bottom: 0;
}

.bop-related__list a {
	position: relative;
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 12px 24px 12px 0;
	line-height: 1.45;
	transition: color .2s ease, transform .2s ease;
}

.bop-related__list a::after {
	position: absolute;
	top: 50%;
	right: 2px;
	content: "→";
	opacity: .45;
	transform: translateY(-50%);
	transition: opacity .2s ease, transform .2s ease;
}

.bop-related__list a:hover {
	transform: translateX(3px);
}

.bop-related__list a:hover::after {
	opacity: 1;
	transform: translate(3px, -50%);
}

.bop-archive {
	padding-top: 0;
}

.bop-archive__heading .bop-page-heading__subtitle p {
	margin: 0;
	color: inherit;
	font: inherit;
	line-height: inherit !important;
}

.bop-archive__content {
	padding-top: 10px;
}

.bop-category-filter {
	display: flex;
	margin: 0 0 36px;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.bop-category-filter a {
	padding: 8px 16px;
	border: 1px solid rgba(0, 0, 0, .13);
	border-radius: 999px;
	background: #fff;
	font-size: 14px;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.bop-category-filter a:hover {
	border-color: #563c2a;
	box-shadow: 0 7px 18px rgba(30, 24, 20, .08);
	transform: translateY(-2px);
}

.bop-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
}

.bop-card {
	overflow: hidden;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 8px 25px rgba(30, 24, 20, .055);
	transition: box-shadow .28s ease, transform .28s ease;
}

.bop-card:hover {
	box-shadow: 0 16px 38px rgba(30, 24, 20, .1);
	transform: translateY(-5px);
}

.bop-card__image {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #eee9e4;
}

.bop-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}

.bop-card:hover .bop-card__image img {
	transform: scale(1.035);
}

.bop-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #eee9e4, #f8f5f1);
}

.bop-card__body {
	padding: 24px;
}

.bop-card__body h2 {
	margin: 7px 0 12px;
	font-size: 20px !important;
	line-height: 1.3;
}

.bop-card__terms,
.bop-card__terms a {
	color: #8a776a;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .02em;
}

.bop-card__excerpt {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.bop-card__excerpt p {
	margin-bottom: 18px;
}

.bop-card__more {
	display: inline-flex;
	align-items: center;
	font-size: 14px;
	font-weight: 500;
	gap: 7px;
}

.bop-card__more span {
	transition: transform .2s ease;
}

.bop-card__more:hover span {
	transform: translateX(4px);
}

.bop-archive .navigation.pagination {
	margin-top: 45px;
	text-align: center;
}

.bop-archive .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.bop-archive .page-numbers {
	display: inline-flex;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: 999px;
	background: #fff;
}

.bop-archive .page-numbers.current,
.bop-archive a.page-numbers:hover {
	border-color: #563c2a;
	background: #563c2a;
	color: #fff;
}

@media (max-width: 991px) {
	.bop-page-heading {
		margin-bottom: 38px;
	}

	.bop-page-heading .bop-page-heading__background {
		min-height: 0;
		padding: 120px 0 100px;
	}

	.bop-service__sidebar {
		margin-top: 35px;
	}

	.bop-service__layout--sidebar .bop-service__content,
	.bop-service__layout--sidebar .bop-service__sidebar {
		padding-right: 15px;
		padding-left: 15px;
	}

	.bop-service__layout--sidebar .bop-service__sidebar {
		margin-top: 35px !important;
	}

	.bop-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.bop-page-heading .bop-page-heading__background {
		min-height: 0;
		padding: 100px 0 80px;
	}

	.bop-page-heading .bop-page-heading__title {
		margin-bottom: 25px !important;
		font-size: 12px !important;
	}

	.bop-page-heading .bop-page-heading__subtitle {
		max-width: 92%;
		font-size: 26px !important;
		letter-spacing: -.02em;
	}

	.bop-service__featured-image {
		margin-bottom: 26px;
	}

	.bop-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bop-page-heading .bop-page-heading__background,
	.bop-page-heading .bop-page-heading__title,
	.bop-page-heading .bop-page-heading__subtitle {
		animation: none;
	}

	.bop-page-heading .bop-page-heading__title,
	.bop-page-heading .bop-page-heading__subtitle {
		opacity: 1;
		transform: none;
	}
}
