/* Detection cards: the whole card links to the rule in Prime Core */
.detections-block__list a.detections-block__item {
	color: inherit;
	text-decoration: none;
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.detections-block__list a.detections-block__item:hover,
.detections-block__list a.detections-block__item:focus-visible {
	border-color: #4AC18E;
}

/* The button is laid over the card (anchored to the card, not to the date column) */
.detections-block__list a.detections-block__item .detections-block__item-right {
	position: static;
}

/* "View in Prime Core" button - same look as .socprime-threat__sidebar-banner-cta, shown on card hover only */
.detections-block__list .detections-block__item .detections-block__item-right .detections-block__item-link {
	position: absolute;
	top: 50%;
	right: 25px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 160px;
	height: 32px;
	margin: 0;
	padding: 8px 12px;
	box-sizing: border-box;
	background: #4AC18E;
	border: 1px solid #4AC18E;
	border-radius: 4px;
	font-family: Inter, sans-serif;
	font-weight: 600;
	font-size: 12px;
	line-height: 15px;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
	color: #292C3D;
	opacity: 0;
	visibility: hidden;
	pointer-events: none; /* clicks go to the card link underneath */
	transform: translateY(-50%);
	transition: opacity 0.2s ease, visibility 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.detections-block__list a.detections-block__item:hover .detections-block__item-link,
.detections-block__list a.detections-block__item:focus-visible .detections-block__item-link {
	opacity: 1;
	visibility: visible;
	background: #68d3a5;
	border: 1px solid #9de8c8;
	box-shadow: 0 0 4px rgba(74, 193, 142, .7), 0 0 16px rgba(74, 193, 142, .7);
}

@media (max-width: 768px) {
	.detections-block__list .detections-block__item .detections-block__item-right .detections-block__item-link {
		right: 16px;
	}
}

/* Blog CVE articles: disclaimer under the "Check Available Detections" button */
.sp-cve-cta__disclaimer {
	display: block;
	max-width: 620px;
	margin: 14px auto 0;
	font-size: 13px;
	line-height: 150%;
	font-weight: 400;
	opacity: 0.7;
}
