.feat-link {
	font-size: 1rem;
	color: var(--az-link-primary-color);
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
	outline: none !important;
	-webkit-text-decoration: underline 2px rgba(0, 0, 0, 0) !important;
	text-decoration: underline 2px rgba(0, 0, 0, 0) !important;
	-webkit-transition: 0.2s ease-in-out;
	-o-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
}

.feat-link:hover {
	color: var(--az-link-primary-hover-color);
	-webkit-text-decoration-color: var(--az-link-primary-hover-underline) !important;
	text-decoration-color: var(--az-link-primary-hover-underline) !important;
}

.feat-link:focus {
	color: var(--az-link-primary-focus-color);
	-webkit-text-decoration-color: var(--az-link-primary-focus-underline) !important;
	text-decoration-color: var(--az-link-primary-focus-underline) !important;
}

.subheading {
	font-size: 1rem !important;
	font-weight: normal !important;
}

.feat-container {
	width: 100%;
	margin-bottom: 0.25rem;
	display: -ms-grid;
	display: grid;
	-ms-grid-columns: 1fr 1rem 1fr 1rem 1fr 1rem 1fr;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}

.feat-item-wrapper {
	position: relative;
	height: 120px;
	width: 100%;
	overflow: hidden;
	-webkit-border-radius: 0.25rem;
	-moz-border-radius: 0.25rem;
	border-radius: 0.25rem;
}

.feat-item {
	position: relative;
	height: 100%;
	padding: 0.5rem;
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: -moz-box;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	-webkit-flex-direction: column;
	-moz-box-orient: vertical;
	-moz-box-direction: normal;
	flex-direction: column;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	-moz-box-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	-moz-box-align: center;
	align-items: center;
	min-width: 0;
	word-wrap: break-word;
  background-color: var(--az-body-bg);
	background-clip: border-box;
  border: 1px solid var(--az-border-color);
  border-top: 3px solid var(--az-primary);
	-webkit-border-radius: 0.25rem;
	-moz-border-radius: 0.25rem;
	border-radius: 0.25rem;
	overflow: hidden;
	cursor: pointer;
}

/* .feat-item:focus-visible {
	border-color: #3377BB;
	border-left-width: 2px;
	border-right-width: 2px;
	border-bottom-width: 2px;
} */

.feat-item:focus-visible {
  outline-color: var(--az-primary);
  outline-style: solid;
  outline-width: 3px;
  outline-offset: -2px;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  border-radius: 1px;
}

.feat-item img {
	max-height: 100px;
}

.feat-num {
	display: none;
	position: absolute;
	top: 0;
	right: 4px;
	font-size: 1rem;
	font-weight: bold;
	line-height: normal;
  color: var(--az-primary);
}

.feat-info {
	display: none !important;
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	border-top: 40px solid var(--az-primary);
	border-right: 40px solid transparent;
}

.fa-info-circle {
	display: none !important;
	position: relative;
	left: 3px;
	bottom: 36px;
	color: #fff;
	font-size: 1.125rem;
	z-index: 50;
	cursor: pointer;
}

.fa-times-circle {
	position: relative;
	left: 3px;
	bottom: 36px;
	color: #fff;
	font-size: 1.125rem;
	z-index: 70;
	cursor: pointer;
}

/* Popover */
.popover-container {
	width: 100%;
	position: relative;
}

.popover-main-track-feat {
	position: absolute;
	visibility: hidden;
}

.popover {
  border-top: 3px solid var(--az-primary);
}

/* .popover-body {
	padding: 0 !important;
	color: #333 !important;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
} */

/* .popover-header {
	-o-text-overflow: ellipsis;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
} */

.popover-main {
	padding: 0.25rem 0.75rem;
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: -moz-box;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
	-webkit-flex-direction: row;
	-moz-box-orient: horizontal;
	-moz-box-direction: normal;
	flex-direction: row;
	-ms-flex-wrap: nowrap;
	-webkit-flex-wrap: nowrap;
	flex-wrap: nowrap;
  background-color: var(--az-body-bg);
}

[data-bs-theme="dark"] .popover-main {
	background-color: var(--az-body-bg-lighter); 
}

.popover-main__img {
	width: 40%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: -moz-box;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	-moz-box-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	-moz-box-pack: center;
	justify-content: center;
}

.popover-main__img img {
	width: auto;
	max-height: 130px;
	max-width: 120px;
}

.popover-main__body {
	width: -webkit-calc(60% - 0.75rem);
	width: -moz-calc(60% - 0.75rem);
	width: calc(60% - 0.75rem);
	margin-left: 0.75rem;
}

.popover-main__body--time {
	font-size: 1.125rem !important;
}

.popover-main__body--location {
	font-size: 1rem !important;
	-o-text-overflow: ellipsis;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.popover-main__body--auctioneer {
	display: block;
	font-size: 1rem;
	font-weight: normal;
	-o-text-overflow: ellipsis;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.popover-main__body--keywords {
	display: block;
	font-size: 0.875rem;
	font-weight: normal;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	-o-text-overflow: ellipsis;
	text-overflow: ellipsis;
}

.popover-main__desc {
	padding: 0.125rem 0.75rem;
	font-size: 0.875rem;
	font-weight: normal;
	-o-text-overflow: ellipsis;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
  background-color: var(--az-popover-bg-secondary);
  border-top: 1px solid var(--az-popover-border) !important;
  border-bottom-left-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

[data-bs-theme="dark"] .popover-main__desc {
	background-color: var(--az-body-bg-light);
}

/* Popover Arrow */
[data-bs-theme="dark"] .bs-popover-auto[data-popper-placement^=top] > #feat-arrow.popover-arrow::before,
[data-bs-theme="dark"] .bs-popover-top > #feat-arrow.popover-arrow::before,
[data-bs-theme="dark"] .bs-popover-auto[data-popper-placement^=top] > #feat-arrow.popover-arrow::after,
[data-bs-theme="dark"] .bs-popover-top > #feat-arrow.popover-arrow::after {
	border-top-color: var(--az-body-bg-light) !important;
}

.bs-popover-auto[data-popper-placement^=bottom] > #feat-arrow.popover-arrow::before,
.bs-popover-bottom > #feat-arrow.popover-arrow::before,
.bs-popover-auto[data-popper-placement^=bottom] > #feat-arrow.popover-arrow::after,
.bs-popover-bottom > #feat-arrow.popover-arrow::after {
  border-bottom-color: var(--az-primary);
}

@media only screen and (max-width: 1199px) {
	.feat-container {
		-ms-grid-columns: 1fr 1rem 1fr 1rem 1fr;
		grid-template-columns: repeat(3, 1fr);
	}
}

@media only screen and (max-width: 991px) {
	.feat-info,
	.fa-info-circle {
		display: block !important;
	}
}

@media only screen and (max-width: 575px) {
	.feat-container {
		grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	}
}