.afbs-featured-wrapper {
	display: block;
	height: var(--afbs-featured-height, auto);
	margin: 0 0 28px;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.afbs-featured-image {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center var(--afbs-crop-top, 0%);
	width: 100%;
}

.afbs-featured-wrapper[style*="auto"] .afbs-featured-image {
	height: auto;
	object-fit: contain;
}

.afbs-author-box {
	border-top: 1px solid rgba(0, 0, 0, 0.12);
	margin-top: 32px;
	padding-top: 22px;
}

.afbs-author-extra-block {
	margin: 28px 0;
}

.afbs-author-extra > :first-child {
	margin-top: 0;
}

.afbs-author-links,
.afbs-author-icons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--afbs-icon-gap, 10px);
	margin-top: 14px;
}

.afbs-author-link,
.afbs-author-icons a {
	align-items: center;
	color: var(--afbs-icon-color, #4a4a4a);
	display: inline-flex;
	gap: 6px;
	text-decoration: none;
}

.afbs-author-link svg,
.afbs-author-icons svg {
	color: currentColor;
	fill: none;
	height: var(--afbs-icon-size, 22px);
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: var(--afbs-icon-size, 22px);
}

.afbs-author-archive-title {
	align-items: center;
	display: inline-flex;
	max-width: 100%;
}

.afbs-author-archive-title-thumb {
	display: block;
	flex-shrink: 0;
	object-fit: cover;
}

.afbs-author-archive-title span {
	min-width: 0;
	overflow-wrap: anywhere;
}

.afbs-author-profile-preview {
	border-radius: 50%;
	display: block;
	height: 100px;
	margin-bottom: 10px;
	object-fit: cover;
	width: 100px;
}

.afbs-post-views {
	font-size: 10px;
	font-style: italic;
	margin-left: 12px;
	opacity: 0.75;
	white-space: nowrap;
}

.afbs-post-hit-list {
	display: grid;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.afbs-post-hit-item {
	align-items: center;
	display: grid;
	gap: 10px;
	grid-template-columns: 64px minmax(0, 1fr) auto;
}

.afbs-post-hit-thumb {
	aspect-ratio: 1;
	display: block;
	overflow: hidden;
}

.afbs-post-hit-thumb-empty {
	background: rgba(0, 0, 0, 0.08);
	flex: 0 0 auto;
}

.afbs-post-hit-thumb img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.afbs-post-hit-title {
	min-width: 0;
}

.afbs-post-hit-views {
	font-size: 12px;
	opacity: 0.72;
	white-space: nowrap;
}

.afbs-post-hit-more {
	background: transparent;
	border: 0;
	color: currentColor;
	cursor: pointer;
	display: inline-block;
	font: inherit;
	font-size: 12px;
	margin-top: 10px;
	padding: 0;
	text-decoration: underline;
}

.afbs-post-hit-modal {
	display: none;
}

.afbs-post-hit-modal.is-open {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: min(36px, 5.5vw);
	position: fixed;
	z-index: 2147483646;
}

.afbs-post-hit-modal-overlay {
	background: rgba(0, 0, 0, 0.45);
	inset: 0;
	position: fixed;
}

.afbs-post-hit-modal-panel {
	background: #fff;
	border: 2px solid currentColor;
	border-radius: 8px;
	box-shadow: 0 18px 56px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 72px);
	overflow: hidden;
	position: relative;
	width: min(780px, 92vw);
	z-index: 2147483647;
}

.afbs-post-hit-modal-panel h3 {
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	font-size: 18px;
	margin: 0;
	padding: 20px 64px 16px 24px;
}

.afbs-post-hit-modal-scroll {
	overflow: auto;
	padding: 20px 28px 30px;
}

.afbs-post-hit-modal-close {
	align-items: center;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(0, 0, 0, 0.14);
	border-radius: 999px;
	cursor: pointer;
	display: flex;
	font-size: 22px;
	height: 38px;
	justify-content: center;
	line-height: 1;
	position: absolute;
	right: 16px;
	top: 16px;
	width: 38px;
}

@media (max-width: 480px) {
	.afbs-featured-wrapper {
		height: auto !important;
	}

	.afbs-featured-image {
		height: auto !important;
		object-fit: contain;
		object-position: center center;
	}

	.afbs-post-hit-item {
		grid-template-columns: 54px minmax(0, 1fr);
	}

	.afbs-post-hit-views {
		grid-column: 2;
	}
}
