.wp-block-hope-star-software-download {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-width: 180px;
	padding: 0.8em 2em;
	border-radius: 8px;
	background: #ee1f2d;
	color: #fff;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	transition: background-color 160ms ease, transform 160ms ease;
}

a.wp-block-hope-star-software-download:hover,
a.wp-block-hope-star-software-download:focus-visible {
	background: #d71925;
	color: #fff;
	transform: translateY(-1px);
}

.wp-block-hope-star-software-download.is-pending {
	min-width: 0;
	padding: 0;
	background: transparent;
	color: #667085;
	font-weight: 400;
}

.wp-block-hope-star-software-file-name {
	margin: 0;
	color: #667085;
	text-align: center;
}

.wp-block-hope-star-software-content {
	max-width: 100%;
}

.hope-star-software-list {
	counter-reset: hope-star-software-item var(--hope-star-software-list-start, 0);
}

.hope-star-software-list > .wp-block-post-template > li {
	--hope-star-software-link-color: #131117;

	counter-increment: hope-star-software-item;
	position: relative;
}

.hope-star-software-list .wp-block-post-title a,
.hope-star-software-list .wp-block-read-more {
	color: var(--hope-star-software-link-color) !important;
	transition: color 160ms ease;
}

.hope-star-software-list .wp-block-post-title a::before {
	display: inline-block;
	margin-right: 0.65em;
	content: counter(hope-star-software-item, decimal-leading-zero);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	font-variant-numeric: tabular-nums;
}

.hope-star-software-list .wp-block-post-title a::after {
	position: absolute;
	inset: 0;
	content: "";
}

.hope-star-software-list .wp-block-read-more {
	position: relative;
	z-index: 1;
}

.hope-star-software-list > .wp-block-post-template > li:is(:hover, :focus-within) {
	--hope-star-software-link-color: #d81c22;
}

.hope-star-software-list .wp-block-post-title a:focus-visible::after {
	outline: 2px solid #d81c22;
	outline-offset: 2px;
}

.hope-star-software-preview-placeholder {
	padding: 12px 16px;
	border: 1px dashed #a7aaad;
	color: #646970;
	font-size: 14px;
	text-align: center;
}

@media (max-width: 689px) {
	.wp-block-hope-star-software-download:not(.is-pending) {
		width: 100%;
	}

	.hope-star-software-detail-layout {
		padding-right: 16px !important;
		padding-left: 16px !important;
	}

	.hope-star-software-detail-card {
		padding-right: 16px !important;
		padding-left: 16px !important;
	}
}
