.asset-item {
	max-width: 100%;
	position: relative;
	border-radius: 8px;
	background: #1e1e1e;
	padding: 7px;
	display: flex;
	flex-direction: column;
	@media (prefers-color-scheme: light) {
		background: #fff;
		box-shadow: 0 0 10px -9px black;
	}

	&.asset-pending {
		background-color: #ffa60054;
	}

	a {
		text-decoration: none;
		color: inherit;
	}

	h2 {
		font-size: 20px;
		font-weight: 600;
	}


	.tags {
		height: 100%;
  	align-content: end;
		a {
			margin-right: 0;
		}
	}

	.publisher {
		opacity: 0.7;
		font-weight: 300;
	}

	.asset-thumbnail {
		aspect-ratio: 16/9;
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center;
		border-radius: 7px;
		margin-bottom: 7px;
	}

	.two-col {
		display: grid;
		grid-template-columns: 1fr 70px;

		> * {
			overflow: hidden;
			text-overflow: ellipsis;
			display: -webkit-box;
			-webkit-line-clamp: 2;       /* number of lines to show */
			line-clamp: 2;
			-webkit-box-orient: vertical;
			word-break: break-word; 
		}
		.right {
			text-align: right;
		}
	}

	.price {
		font-weight: 600;
	}
	.free {
		font-weight: 600;
		color: #7fca7f;
	}

	.in-library {
		position: absolute;
		left: -5px;
		top: 15px;
		background: #7aff82;
		padding: 2px 12px;
		border-radius: 0 4px 4px 0;
		font-size: 13px;
		box-shadow: 3px 3px 8px -5px black;
		color: #272727;
	}
}

.rate {
	display: inline-block;
	.upvotes img {
		position: relative;
		top: 2px;
		width: 17px;
		max-width: 100%;
		filter: invert(1);
		transition: all 0.1s ease-in-out;
		@media (prefers-color-scheme: dark) {
			filter: invert(0);
		}
	}
	a {
		border-radius: 4px;
		padding: 1px 5px;
		display: inline-block;
		transition: all 0.1s ease-in-out;
		opacity: 0.5;
		position: relative;
		text-decoration: none;
		color: inherit;
		&:hover {
			opacity: 1;
			background: #4cd1f7;
			color: white;
			img {
				filter: invert(0) !important;
			}
		}
	}
}