.sert-hero {
	padding-top: 42px;
	padding-bottom: 42px;
}

.sert-compact {
	padding-top: 30px;
	padding-bottom: 48px;
}

.sert-compact .sert-toolbar {
	margin-bottom: 12px;
}

.sert-compact .sert-section-title {
	margin: 0 0 7px;
	color: #fff;
	font-size: 2.5rem;
	line-height: 1.3;
}

.sert-compact .sert-intro {
	margin: 0;
	color: #c8c8c8;
	font-size: 14px;
	line-height: 1.6;
}

.sert-compact .sert-search {
	margin-top: 16px;
}

.sert-compact .sert-search label {
	display: block;
	color: #d0d0d0;
	font-size: 12px;
	margin-bottom: 6px;
}

.sert-compact .sert-search input {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 42px;
	padding: 10px 13px;
	border: 1px solid #737373;
	border-radius: 8px;
	background: #292929;
	color: #fff;
	font: inherit;
	font-size: 14px;
}

.sert-compact .sert-search input::placeholder {
	color: #b6b6b6;
}

.sert-compact .sert-results {
	min-height: 20px;
	margin: 0 0 15px;
	color: #c0c0c0;
	font-size: 12px;
}

.sert-compact .sert-card {
	width: 100%;
	min-width: 0;
	padding: 20px 16px;
	border: 1px solid #666;
	border-radius: 12px;
	background: #393939;
	box-sizing: border-box;
}

.sert-compact .sert-preview-wrap {
	width: 82px;
	flex: 0 0 82px;
	margin-right: 16px;
}

.sert-compact .sert-preview {
	position: relative;
	display: block;
	width: 82px;
	height: 116px;
	overflow: hidden;
	border-radius: 3px;
	background: #f5f2eb;
	box-shadow: 0 3px 10px #0003;
}

.sert-compact .sert-preview img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
	background: #f5f2eb;
}

.sert-compact .sert-preview-fallback {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: #616161;
	font: 9px/1.7 sans-serif;
}

.sert-compact .sert-preview-fallback b {
	font-size: 16px;
	font-weight: 700;
}

.sert-compact .sert-pages {
	display: block;
	margin-top: 8px;
	font-size: 11px;
	text-align: center;
	color: #c5c5c5;
}

.sert-compact .sert-card-content {
	align-self: stretch;
	min-width: 0;
	flex: 1;
}

.sert-compact .sert-card-title {
	margin: 0 0 9px;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.sert-compact .sert-description {
	margin: 0 0 5px;
	color: #d0d0d0;
	font-size: 12px;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.sert-compact .sert-number {
	margin: 0 0 15px;
	color: #ededed;
	font-size: 12px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.sert-compact .sert-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-top: auto;
	padding-top: 10px;
}

.sert-compact a.sert-action {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #c6ceff;
	font-size: 12px;
	line-height: 1.5;
	text-decoration: none;
}

.sert-compact a.sert-action:hover {
	color: #fff;
	text-decoration: underline;
}

.sert-compact a.sert-action-primary {
	padding: 7px 10px;
	border: 1px solid #8b96dc;
	border-radius: 6px;
	color: #fff;
}

.sert-compact a.sert-action-primary:hover {
	background: #4c557d;
	text-decoration: none;
}

.sert-compact a:focus-visible, .sert-compact input:focus-visible {
	outline: 2px solid #c6ceff;
	outline-offset: 3px;
}

.sert-compact .sert-file-missing {
	color: #c8c8c8;
	font-size: 12px;
}

.sert-compact .sert-empty {
	padding: 30px 0;
	color: #ddd;
	font-size: 15px;
}

.sert-compact [hidden] {
	display: none !important;
}

@media (max-width: 767px) {
	.sert-compact .sert-search {
		width: 100%;
	}

	.sert-hero {
		padding-top: 30px;
		padding-bottom: 30px;
	}

}

@media (max-width: 359px) {
	.sert-compact .sert-card {
		padding: 15px 12px;
	}

	.sert-compact .sert-preview-wrap {
		width: 64px;
		flex-basis: 64px;
		margin-right: 12px;
	}

	.sert-compact .sert-preview {
		width: 64px;
		height: 91px;
	}

}

.sert-compact .sert-page-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 7px;
}

.sert-compact .sert-page-thumb {
	position: relative;
	display: block;
	width: 24px;
	height: 34px;
	overflow: hidden;
	border-radius: 2px;
	background: #f5f2eb;
	border: 1px solid #aaa;
	box-sizing: border-box;
}

.sert-compact .sert-page-thumb span {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #555;
	font-size: 11px;
}

.sert-compact .sert-page-thumb img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #f5f2eb;
}

.sert-compact .sert-page-thumb:hover {
	border-color: #c6ceff;
	outline: 1px solid #c6ceff;
}

