.richter-livros-banner {
	position: relative;
	isolation: isolate;
	min-height: 400px;
	display: grid;
	place-items: center;
	padding: 0 20px;
	background: #3e4095;
}

.richter-livros-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../../uploads/2022/12/justice-statue-representing-the-litigation-attorneys-at-OFP-Law.jpg") no-repeat top left / cover;
	mix-blend-mode: multiply;
	opacity: .5;
	pointer-events: none;
}

.richter-livros-banner h1 {
	position: relative;
	margin: 0;
	color: #bd9d64;
	font: 600 clamp(38px, 5vw, 50px)/1.1 "Playfair Display", Georgia, serif;
	text-align: center;
}

#livros {
	background: #eaeaea;
	color: #4a4a4a;
	padding: 50px 20px 56px;
	scroll-margin-top: 46px;
}

.richter-livros-wrap {
	max-width: 1120px;
	margin: 0 auto;
}

#livros h2,
#livros h3 {
	color: #1d1f63;
	font-family: "Playfair Display", Georgia, serif;
}

#livros h2 {
	margin: 0;
	font-size: clamp(36px, 5vw, 50px);
	line-height: 1.1;
	text-align: center;
}

.richter-livros-intro {
	margin: 12px 0 30px;
	font: 500 17px/1.5 Poppins, "Open Sans", sans-serif;
	text-align: center;
}

.richter-livros-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
	gap: 30px;
}

.richter-livros-card {
	width: 100%;
	max-width: 355px;
	margin: 0 auto;
	background: #fff;
	box-shadow: 0 9px 32px rgb(0 0 0 / 10%);
	display: flex;
	flex-direction: column;
}

.richter-livros-cover {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #e1e4eb;
	height: 245px;
	overflow: hidden;
}

#livros .richter-livros-cover img {
	display: block;
	width: auto;
	max-width: 100%;
	height: 245px;
	object-fit: contain;
}

.richter-livros-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 22px 21px;
	font: 400 14px/1.65 Poppins, "Open Sans", sans-serif;
}

#livros h3 {
	margin: 0 0 10px;
	font-size: 21px;
	line-height: 1.3;
}

.richter-livros-body p {
	margin: 0 0 12px;
}

.richter-livros-details {
	font-weight: 600;
}

.richter-livros-body a {
	margin-top: auto;
	padding: 10px 0 2px;
	color: #795a24;
	font-weight: 700;
}

.richter-livros-body a:hover {
	text-decoration: underline;
}

.richter-livros-body a:focus-visible {
	outline: 2px solid #1d1f63;
	outline-offset: 4px;
}

#livros.richter-livros-catalogo h2 {
	margin-bottom: 22px;
	font-size: 30px;
}

.richter-livros-more {
	margin-top: 24px;
	text-align: center;
}

.richter-livros-more a {
	display: inline-block;
	padding: 11px 22px;
	border-radius: 3px;
	background: #bd9d64;
	color: #242351;
	font: 500 15px/1.35 Poppins, "Open Sans", sans-serif;
}

.richter-livros-more a:hover,
.richter-livros-more a:focus-visible {
	background: #1d1f63;
	color: #fff;
}

@media (max-width: 480px) {
	.richter-livros-banner {
		min-height: 275px;
	}

	#livros {
		padding: 38px 16px 44px;
	}
}
