/**
 * Biblioteca Booknation — hero + rafturi (page /biblioteca/).
 * Scoped under .bn-bib so site chrome (nav/footer) is untouched.
 */

.bn-bib-page {
	background: #f8f7f4;
}

/* No white gap between page canvas and footer (same pattern as interviu-gratuit). */
body.bn-biblioteca-page .bn-footer-stack {
	margin-top: 0;
}

.bn-bib {
	/* Logo Booknation: ink (#3e4a64) + coral (#bf5d54) — same as --bn-ink / --bn-coral */
	--bn-bib-navy: var(--bn-ink, #3e4a64);
	--bn-bib-coral: var(--bn-coral, #bf5d54);
	--bn-bib-coral-deep: #a84f47;
	--bn-bib-paper: #f8f7f4;
	--bn-bib-line: #e8e5e0;
	--bn-bib-muted: #6b7385;
	--bn-bib-wood1: #d6b79a;
	--bn-bib-wood3: #866044;
	--bn-bib-serif: var(--bn-font-display, "Sansita", Georgia, serif);
	--bn-bib-sans: var(--bn-font-text, "Open Sans", system-ui, sans-serif);
	color: var(--bn-bib-navy);
	font-family: var(--bn-bib-sans);
	font-size: 15px;
	line-height: 1.5;
	background: var(--bn-bib-paper);
}

.bn-bib *,
.bn-bib *::before,
.bn-bib *::after {
	box-sizing: border-box;
}

.bn-bib a {
	color: inherit;
	text-decoration: none;
}

.bn-bib img {
	display: block;
	max-width: 100%;
}

.bn-bib svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.bn-bib a:focus-visible,
.bn-bib button:focus-visible {
	outline: 2px solid var(--bn-bib-navy);
	outline-offset: 3px;
}

.bn-bib input:focus,
.bn-bib input:focus-visible,
.bn-bib select:focus,
.bn-bib select:focus-visible {
	outline: none !important;
}

.bn-bib-container {
	width: min(1220px, calc(100% - 56px));
	margin: 0 auto;
}

.bn-bib-crumbs {
	padding: 0.55rem 0 0;
	border-bottom: 1px solid #ebe8e4;
	background: rgba(255, 255, 255, 0.72);
}

.bn-bib-crumbs .bn-breadcrumbs {
	margin: 0;
	padding: 0.35rem 0 0.55rem;
}

.bn-bib-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--bn-bib-coral);
}

.bn-bib-eyebrow__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--bn-bib-coral);
}

/* —— Hero —— */
.bn-bib-hero {
	overflow: hidden;
	border-bottom: 1px solid #ebe6dc;
	background:
		radial-gradient(ellipse at 69% 37%, rgba(238, 220, 202, 0.48) 0%, transparent 42%),
		linear-gradient(115deg, #fbfaf7 0%, #f6f1e9 100%);
}

.bn-bib-hero__inner {
	min-height: 427px;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 34px;
	align-items: center;
}

.bn-bib-hero__copy {
	position: relative;
	z-index: 2;
	padding: 55px 0 63px;
}

.bn-bib-hero h1 {
	max-width: 700px;
	margin: 19px 0 20px;
	font-family: var(--bn-bib-serif);
	font-weight: 800;
	font-style: italic;
	font-size: clamp(39px, 4.5vw, 65px);
	line-height: 1.09;
	letter-spacing: -1.5px;
	color: var(--bn-bib-navy);
}

.bn-bib-hero h1 em {
	color: var(--bn-bib-coral);
	font-style: italic;
	font-weight: 800;
}

.bn-bib-hero__desc {
	max-width: 510px;
	margin: 0 0 28px;
	color: var(--bn-bib-muted);
	font-size: 15px;
	line-height: 1.85;
}

.bn-bib-hero__points {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 23px;
}

.bn-bib-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 14px 18px;
	border: 0;
	border-radius: 9px;
	background: var(--bn-bib-coral);
	color: #fff !important;
	font-weight: 750;
	font-size: 13px;
	box-shadow: 0 6px 12px rgba(219, 102, 95, 0.16);
	transition: background 0.2s, transform 0.2s;
}

.bn-bib-btn:hover {
	background: var(--bn-bib-coral-deep);
	transform: translateY(-1px);
	color: #fff !important;
}

.bn-bib-btn svg {
	width: 16px;
	height: 16px;
}

.bn-bib-subtle {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--bn-bib-muted);
	font-weight: 650;
	font-size: 12px;
}

.bn-bib-subtle svg {
	width: 17px;
	height: 17px;
	color: var(--bn-bib-coral);
}

.bn-bib-hero__art {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-height: 380px;
	height: 100%;
}

.bn-bib-arch {
	position: relative;
	width: 390px;
	max-width: 100%;
	height: 365px;
	margin-bottom: 0;
	border: 9px solid rgba(245, 236, 222, 0.75);
	border-bottom: 0;
	border-radius: 205px 205px 0 0;
	background: linear-gradient(90deg, #eadac5 0%, #f6eee1 12%, #f4e7d6 87%, #e0c8b0 100%);
	box-shadow:
		inset 15px 2px 23px rgba(122, 83, 52, 0.09),
		0 -1px 0 rgba(255, 255, 255, 0.8);
}

.bn-bib-arch::before {
	content: "";
	position: absolute;
	inset: 19px 19px 0;
	border: 1px solid rgba(150, 113, 78, 0.14);
	border-radius: 180px 180px 0 0;
}

.bn-bib-arch::after {
	content: "";
	position: absolute;
	left: 9%;
	right: 9%;
	top: 37%;
	height: 1px;
	background: rgba(157, 128, 98, 0.12);
}

.bn-bib-arch__floor {
	position: absolute;
	left: -12%;
	right: -12%;
	bottom: 46px;
	z-index: 2;
	height: 17px;
	border-radius: 3px;
	background: linear-gradient(#e3c3a0 0%, #cba783 35%, #ae8160 100%);
	box-shadow: 0 9px 17px rgba(93, 65, 44, 0.18), 0 3px 0 rgba(107, 74, 51, 0.18);
}

.bn-bib-arch__floor-front {
	position: absolute;
	left: -15%;
	right: -15%;
	bottom: 38px;
	z-index: 4;
	height: 9px;
	border-radius: 0 0 3px 3px;
	background: linear-gradient(#b79072, #957052);
}

.bn-bib-arch__books {
	position: absolute;
	left: 10%;
	right: 10%;
	bottom: 62px;
	z-index: 3;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 15px;
	height: 230px;
}

.bn-bib-hero-book {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 31%;
	height: 100%;
	filter: drop-shadow(5px 8px 5px rgba(78, 51, 41, 0.23));
}

.bn-bib-hero-book:nth-child(1) {
	height: 86%;
	transform: rotate(-6deg) translateY(2px);
}

.bn-bib-hero-book:nth-child(2) {
	z-index: 2;
	height: 100%;
}

.bn-bib-hero-book:nth-child(3) {
	height: 91%;
	transform: rotate(5deg) translateY(2px);
}

.bn-bib-hero-book .bn-bib-poster {
	width: 100%;
	height: 100%;
	max-height: 100%;
	aspect-ratio: 2 / 3;
}

.bn-bib-hero-book .bn-bib-poster.is-loaded {
	height: 100%;
	width: auto;
	max-width: 100%;
	aspect-ratio: auto;
	padding: 0;
	background: transparent;
	box-shadow: none;
}

.bn-bib-hero-book .bn-bib-poster.is-loaded img {
	height: 100%;
	max-height: 100%;
	width: auto;
	max-width: 100%;
}

.bn-bib-hero-book .bn-bib-poster__label {
	font-size: 11px;
}

.bn-bib-arch__label {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 12px;
	text-align: center;
	font-family: var(--bn-bib-serif);
	font-size: 12px;
	font-style: italic;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: rgba(96, 68, 44, 0.67);
}

.bn-bib-stamp {
	position: absolute;
	top: 48px;
	right: -35px;
	z-index: 5;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 94px;
	height: 94px;
	border: 1px solid rgba(200, 167, 139, 0.4);
	border-radius: 50%;
	background: #fffdf9;
	box-shadow: 0 8px 22px rgba(85, 56, 41, 0.1);
	text-align: center;
	transform: rotate(10deg);
}

.bn-bib-stamp b {
	font-family: var(--bn-bib-serif);
	font-size: 19px;
	font-style: italic;
	line-height: 1;
	color: var(--bn-bib-coral);
}

.bn-bib-stamp span {
	margin-top: 6px;
	font-size: 9px;
	letter-spacing: 1px;
	line-height: 1.35;
	text-transform: uppercase;
	color: var(--bn-bib-muted);
}

/* —— Main —— */
.bn-bib-main {
	padding: 52px 0 48px;
}

.bn-bib-section-top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 27px;
}

.bn-bib-section-top h2 {
	margin: 9px 0 3px;
	font-family: var(--bn-bib-serif);
	font-size: 36px;
	font-weight: 800;
	font-style: italic;
	letter-spacing: -1px;
	color: var(--bn-bib-navy);
}

.bn-bib-section-top p {
	margin: 0;
	font-size: 13px;
	color: var(--bn-bib-muted);
}

.bn-bib-filters {
	margin-bottom: 24px;
	padding: 18px 20px;
	border: 1px solid var(--bn-bib-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 3px 15px rgba(34, 51, 64, 0.025);
}

.bn-bib-filters__row {
	display: flex;
	align-items: center;
	gap: 13px;
}

.bn-bib-search {
	position: relative;
	flex: 1;
	min-width: 0;
}

.bn-bib-search svg {
	position: absolute;
	top: 50%;
	left: 15px;
	width: 18px;
	height: 18px;
	color: var(--bn-bib-muted);
	transform: translateY(-50%);
	pointer-events: none;
}

.bn-bib-search input {
	width: 100%;
	min-height: 47px;
	padding: 12px 40px 12px 44px;
	border: 1px solid #e7e6e3;
	border-radius: 8px;
	background: #fdfdfc;
	color: var(--bn-bib-navy);
	outline: none !important;
	box-shadow: none !important;
	font: inherit;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.2s;
}

.bn-bib-search input:focus,
.bn-bib-search input:focus-visible {
	border-color: rgba(62, 74, 100, 0.35);
	outline: none !important;
	box-shadow: none !important;
}

.bn-bib-search input::placeholder {
	color: var(--bn-bib-muted);
}

.bn-bib-search input[type="search"]::-webkit-search-decoration,
.bn-bib-search input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.bn-bib-search__clear {
	position: absolute;
	top: 50%;
	right: 12px;
	padding: 2px 6px;
	border: 0;
	background: none;
	color: var(--bn-bib-muted);
	font-size: 21px;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
}

.bn-bib-search__clear[hidden] {
	display: none;
}

.bn-bib-sort {
	position: relative;
	min-width: 188px;
}

.bn-bib-sort select {
	appearance: none;
	width: 100%;
	min-height: 47px;
	padding: 10px 33px 10px 15px;
	border: 1px solid #e7e6e3;
	border-radius: 8px;
	background: #fdfdfc;
	color: var(--bn-bib-navy);
	font: inherit;
	font-size: 12px;
	font-weight: 650;
	outline: none !important;
	box-shadow: none !important;
}

.bn-bib-sort select:focus,
.bn-bib-sort select:focus-visible {
	border-color: rgba(62, 74, 100, 0.35);
	outline: none !important;
	box-shadow: none !important;
}

.bn-bib-sort svg {
	position: absolute;
	top: 16px;
	right: 13px;
	width: 15px;
	height: 15px;
	color: var(--bn-bib-muted);
	pointer-events: none;
}

.bn-bib-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 20px 2px 20px;
}

.bn-bib-meta p {
	margin: 0;
	font-size: 12px;
	color: var(--bn-bib-muted);
}

.bn-bib-meta strong {
	color: var(--bn-bib-navy);
}

/* —— Shelves —— */
.bn-bib-shelves {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.bn-bib-shelf {
	--stage-h: 208px;
	--top-pad: 19px;
	--cols: 6;
	--shelf-overlap: 6px;
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
	gap: 12px;
	isolation: isolate;
	padding: var(--top-pad) 18px 21px;
	border: 1px solid #e7e0d9;
	border-radius: 16px;
	background: linear-gradient(180deg, #fff 0%, #fff 59%, #fcfbf9 100%);
	box-shadow: 0 9px 28px rgba(69, 54, 40, 0.035);
}

.bn-bib-shelf::before {
	content: "";
	position: absolute;
	top: calc(var(--top-pad) + var(--stage-h) - var(--shelf-overlap));
	left: -3px;
	right: -3px;
	z-index: 0;
	height: 16px;
	border-radius: 2px 2px 5px 5px;
	background: linear-gradient(180deg, #e0c3a8 0%, #c9a080 35%, #a67756 85%, #8d6145 100%);
	box-shadow: 0 5px 8px rgba(97, 68, 46, 0.13), 0 11px 18px rgba(84, 55, 36, 0.055);
}

.bn-bib-shelf::after {
	content: "";
	position: absolute;
	top: calc(var(--top-pad) + var(--stage-h) - var(--shelf-overlap));
	left: 0;
	right: 0;
	z-index: 0;
	height: 3px;
	background: rgba(255, 251, 239, 0.78);
}

.bn-bib-card {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-width: 0;
}

.bn-bib-card__stage {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: var(--stage-h);
	min-width: 0;
	padding: 0 2px 4px;
}

.bn-bib-card__frame {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 100%;
	height: 100%;
	transition: transform 0.22s ease;
}

.bn-bib-card:hover .bn-bib-card__frame {
	transform: translateY(-5px);
}

.bn-bib-poster {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	width: min(132px, 95%);
	height: 100%;
	max-height: 100%;
	aspect-ratio: 2 / 3;
	padding: 12px 8px 11px;
	overflow: hidden;
	border-radius: 2px 3px 3px 2px;
	background: linear-gradient(145deg, var(--c1, #5a6578), var(--c2, #3e4a64));
	box-shadow: 4px 7px 12px rgba(20, 30, 37, 0.2), 0 0 0 1px rgba(40, 35, 36, 0.09);
	text-align: center;
}

.bn-bib-poster::before {
	content: "";
	position: absolute;
	inset: 11px;
	border: 1px solid rgba(255, 255, 255, 0.38);
	pointer-events: none;
}

.bn-bib-poster::after {
	content: "✧";
	position: absolute;
	top: 37%;
	left: 0;
	right: 0;
	font-family: var(--bn-bib-serif);
	font-size: 33px;
	color: rgba(255, 255, 255, 0.5);
	text-align: center;
	pointer-events: none;
}

.bn-bib-poster__label {
	position: relative;
	z-index: 1;
	display: block;
	padding-top: 5px;
	font-family: var(--bn-bib-serif);
	font-size: 11px;
	font-weight: 700;
	font-style: italic;
	line-height: 1.18;
	color: #fff;
	overflow-wrap: anywhere;
}

.bn-bib-poster__author {
	position: relative;
	z-index: 1;
	font-size: 8px;
	font-weight: 600;
	letter-spacing: 0.8px;
	line-height: 1.35;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.87);
}

.bn-bib-poster img {
	position: absolute;
	inset: 0;
	z-index: 3;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	opacity: 0;
	transition: opacity 0.25s;
}

.bn-bib-poster.is-loaded {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: auto;
	max-width: 100%;
	aspect-ratio: auto;
	padding: 0;
	overflow: visible;
	background: transparent;
	box-shadow: none;
}

.bn-bib-poster.is-loaded img {
	position: static;
	inset: auto;
	display: block;
	width: auto;
	height: calc(100% - 2px);
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center bottom;
	opacity: 1;
	border: 0;
	outline: 0;
	background: transparent;
	box-shadow: none;
	filter: none;
}

.bn-bib-poster.is-loaded::before,
.bn-bib-poster.is-loaded::after,
.bn-bib-poster.is-loaded .bn-bib-poster__label,
.bn-bib-poster.is-loaded .bn-bib-poster__author {
	display: none;
}

.bn-bib-card__info {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(100%, 164px);
	min-height: 0;
	margin: 20px auto 0;
	padding: 0 2px;
	text-align: center;
}

.bn-bib-card__info h3 {
	min-height: 32px;
	max-height: 49px;
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 770;
	line-height: 1.35;
	color: var(--bn-bib-navy);
	overflow: hidden;
	overflow-wrap: anywhere;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
}

.bn-bib-card__info h3 a:hover {
	color: var(--bn-bib-coral);
}

.bn-bib-card__byline {
	min-height: 16px;
	max-height: 31px;
	margin: 0 0 8px;
	font-size: 11px;
	line-height: 1.4;
	color: var(--bn-bib-muted);
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.bn-bib-card__byline a:hover {
	color: var(--bn-bib-coral);
}

.bn-bib-card__open {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	margin-top: 0;
	color: var(--bn-bib-coral);
	font-size: 10.5px;
	font-weight: 750;
	white-space: nowrap;
}

.bn-bib-card__open svg {
	width: 12px;
	height: 12px;
	transition: transform 0.2s;
}

.bn-bib-card__open:hover svg {
	transform: translateX(3px);
}

/* —— Empty / pagination —— */
.bn-bib-empty {
	padding: 70px 24px;
	border: 1px dashed #d8d4cc;
	border-radius: 14px;
	background: #fff;
	text-align: center;
}

.bn-bib-empty__icon {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: rgba(191, 93, 84, 0.1);
	color: var(--bn-bib-coral);
}

.bn-bib-empty h3 {
	margin: 0 0 8px;
	font-family: var(--bn-bib-serif);
	font-size: 26px;
	font-weight: 800;
	font-style: italic;
}

.bn-bib-empty p {
	margin: 0 0 16px;
	color: var(--bn-bib-muted);
}

.bn-bib-reset {
	display: inline-block;
	padding: 10px 15px;
	border: 1px solid rgba(191, 93, 84, 0.35);
	border-radius: 8px;
	background: rgba(191, 93, 84, 0.08);
	color: var(--bn-bib-coral) !important;
	font-size: 12px;
	font-weight: 750;
}

.bn-bib-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 39px;
}

.bn-bib-page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 41px;
	height: 41px;
	padding: 0 11px;
	border: 1px solid #e5e4e0;
	border-radius: 8px;
	background: #fff;
	color: var(--bn-bib-muted);
	font-size: 12px;
	font-weight: 700;
}

.bn-bib-page-btn:hover {
	border-color: var(--bn-bib-coral);
	color: var(--bn-bib-coral);
}

.bn-bib-page-btn.is-current {
	border-color: var(--bn-bib-navy);
	background: var(--bn-bib-navy);
	color: #fff;
}

.bn-bib-page-btn.is-disabled,
.bn-bib-page-btn[aria-disabled="true"] {
	opacity: 0.34;
	pointer-events: none;
	cursor: not-allowed;
}

.bn-bib-page-dots {
	color: var(--bn-bib-muted);
	font-weight: 700;
}

/* Standard author promo CTA (bn-author-promo.css) — spacing only */
.bn-bib .bn-promo-cta {
	margin-top: 2.75rem;
}

/* —— Responsive —— */
@media (max-width: 1199px) {
	.bn-bib-shelf {
		gap: 10px;
		padding-right: 16px;
		padding-left: 16px;
	}
}

@media (max-width: 1050px) {
	.bn-bib-container {
		width: min(1160px, calc(100% - 40px));
	}

	.bn-bib-hero__inner {
		grid-template-columns: 1.1fr 0.9fr;
	}

	.bn-bib-hero h1 {
		font-size: clamp(36px, 4.5vw, 53px);
	}

	.bn-bib-arch {
		width: 325px;
		height: 335px;
	}

	.bn-bib-stamp {
		right: -10px;
	}
}

@media (max-width: 979px) {
	.bn-bib-shelf {
		--stage-h: 210px;
		gap: 10px;
	}
}

@media (max-width: 800px) {
	.bn-bib-hero__inner {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.bn-bib-hero__copy {
		padding: 55px 0 48px;
	}

	.bn-bib-hero h1 {
		max-width: 630px;
		font-size: clamp(39px, 6vw, 52px);
	}

	.bn-bib-hero__art {
		display: none;
	}

	.bn-bib-main {
		padding-top: 42px;
	}
}

@media (max-width: 749px) {
	.bn-bib-shelf {
		--stage-h: 205px;
		--top-pad: 17px;
		gap: 8px;
		padding: var(--top-pad) 13px 20px;
	}
}

@media (max-width: 640px) {
	.bn-bib-container {
		width: calc(100% - 30px);
	}

	.bn-bib-hero__copy {
		padding: 43px 0 45px;
	}

	.bn-bib-hero h1 {
		font-size: 41px;
		letter-spacing: -1.2px;
	}

	.bn-bib-hero__desc {
		font-size: 13px;
		line-height: 1.77;
	}

	.bn-bib-hero__points {
		gap: 14px;
	}

	.bn-bib-btn {
		padding: 13px 15px;
	}

	.bn-bib-main {
		padding-top: 19px;
	}

	.bn-bib-section-top {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
		margin-bottom: 21px;
	}

	.bn-bib-section-top h2 {
		font-size: 30px;
	}

	.bn-bib-filters {
		padding: 10px;
	}

	.bn-bib-filters__row {
		flex-direction: row;
		align-items: center;
		gap: 8px;
	}

	.bn-bib-search input {
		min-height: 40px;
		padding: 9px 34px 9px 38px;
		font-size: 13px;
	}

	.bn-bib-search svg {
		left: 12px;
		width: 16px;
		height: 16px;
	}

	.bn-bib-search__clear {
		right: 8px;
		font-size: 18px;
	}

	.bn-bib-sort {
		flex: 0 0 auto;
		align-self: center;
		width: auto;
		max-width: 42%;
		min-width: 0;
	}

	.bn-bib-sort select {
		height: 40px;
		min-height: 40px;
		padding: 7px 28px 7px 10px;
		font-size: 11px;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.bn-bib-sort svg {
		top: 13px;
		right: 9px;
		width: 13px;
		height: 13px;
	}

	.bn-bib-meta {
		margin-top: 16px;
	}
}

@media (max-width: 499px) {
	.bn-bib-shelf {
		--stage-h: 192px;
		--top-pad: 16px;
		gap: 10px;
		padding: var(--top-pad) 12px 20px;
	}

	.bn-bib-poster {
		width: min(119px, 95%);
	}

	.bn-bib-card__info {
		margin-top: 20px;
	}

	.bn-bib-card__info h3 {
		font-size: 12px;
	}
}

@media (max-width: 375px) {
	.bn-bib-hero h1 {
		font-size: 35px;
	}

	.bn-bib-hero__points {
		flex-direction: column;
		align-items: flex-start;
	}

	.bn-bib-shelf {
		--stage-h: 180px;
		--top-pad: 13px;
		gap: 6px;
		padding: var(--top-pad) 9px 17px;
	}

	.bn-bib-poster {
		width: min(108px, 96%);
	}

	.bn-bib-card__info h3 {
		font-size: 11.5px;
	}

	.bn-bib-card__open {
		font-size: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bn-bib *,
	.bn-bib *::before,
	.bn-bib *::after {
		transition: none !important;
		animation: none !important;
	}
}
