.wrt-lb-loop {
	position: relative;
}

.wrt-lb-grid {
	width: 100%;
}

.wrt-lb-item {
	min-width: 0;
}

.wrt-lb-swiper {
	width: 100%;
	padding-bottom: 40px;
}

.wrt-lb-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	margin-top: 24px;
}

.wrt-lb-pagination button {
	padding: 6px 12px;
	border: 1px solid #ddd;
	background: #fff;
	border-radius: 4px;
	cursor: pointer;
}

.wrt-lb-pagination button.is-active {
	background: #1e1e1e;
	color: #fff;
	border-color: #1e1e1e;
}

/* Paginação numerada com setas (opção "Setas"): seta em cada ponta e reticências nas janelas de páginas */
.wrt-lb-pagination[data-arrows] {
	align-items: center;
}

.wrt-lb-pagination .wrt-lb-page-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	border: 0;
	background: none;
	color: inherit;
	line-height: 0;
	cursor: pointer;
}

.wrt-lb-pagination .wrt-lb-page-arrow[disabled] {
	opacity: 0.3;
	cursor: default;
}

.wrt-lb-pagination .wrt-lb-page-gap {
	padding: 6px 4px;
}

.wrt-lb-load-more {
	display: block;
	margin: 24px auto 0;
	padding: 10px 24px;
	border: 1px solid #1e1e1e;
	background: #fff;
	border-radius: 4px;
	cursor: pointer;
}

.wrt-lb-load-more[disabled] {
	opacity: 0.5;
	cursor: default;
}

.wrt-lb-loop.is-loading .wrt-lb-body {
	opacity: 0.5;
	pointer-events: none;
}

.wrt-lb-empty {
	text-align: center;
	opacity: 0.7;
}

/* Setas customizadas (imagem própria via media uploader) — remove o ícone
 * padrão (::after) do Swiper e deixa o botão só como moldura clicável em
 * volta da <img> injetada por Renderer::nav_arrow_image(). */
.wrt-lb-nav-custom::after {
	content: none;
}

.wrt-lb-nav-custom {
	display: flex;
	align-items: center;
	justify-content: center;
}

.wrt-lb-extra-button {
	display: block;
	width: fit-content;
	margin: 24px auto 0;
	padding: 10px 24px;
	border: 1px solid #1e1e1e;
	background: #fff;
	border-radius: 4px;
	text-decoration: none;
	color: inherit;
	text-align: center;
}

/* Título de grupo da pesquisa agrupada por post type — ocupa a linha inteira
 * em qualquer formato (grid, grid centralizado em flex, masonry e lista). */
.wrt-lb-group-title {
	grid-column: 1 / -1;
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
	column-span: all;
	font-weight: 600;
}

/* Paginação Anterior/Próxima: ‹ (1) DE 5 › */
.wrt-lb-pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	margin-top: 24px;
	text-transform: uppercase;
	font-size: 14px;
}

.wrt-lb-pager__info {
	display: inline-flex;
	align-items: center;
	gap: 14px;
}

.wrt-lb-pager__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
	line-height: 0;
}

.wrt-lb-pager__btn[disabled] {
	opacity: 0.3;
	cursor: default;
}

.wrt-lb-pager__current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 28px;
	height: 28px;
	padding: 0 6px;
	border: 1px solid currentColor;
	border-radius: 999px;
	line-height: 1;
}
