/**
 * More from WP Dude — admin catalogue cards.
 */

.wrap.wpdude-more-plugins {
	max-width: 1100px;
}

.wrap.wpdude-more-plugins .wpdude-more-plugins__intro {
	margin: 0.5rem 0 0.25rem;
	color: #1d2327;
	font-size: 14px;
}

.wrap.wpdude-more-plugins .wpdude-more-plugins__subintro {
	margin: 0 0 1.25rem;
	color: #646970;
	font-size: 13px;
}

.wrap.wpdude-more-plugins .wpdude-more-plugins__notice {
	margin: 1rem 0;
}

.wrap.wpdude-more-plugins .wpdude-more-plugins__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 600px) {
	.wrap.wpdude-more-plugins .wpdude-more-plugins__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 960px) {
	.wrap.wpdude-more-plugins .wpdude-more-plugins__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1280px) {
	.wrap.wpdude-more-plugins .wpdude-more-plugins__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.wrap.wpdude-more-plugins .wpdude-more-plugins__card {
	display: flex;
	flex-direction: column;
	float: none;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 1rem 1rem 1.1rem;
	box-sizing: border-box;
	min-height: 100%;
}

.wrap.wpdude-more-plugins .wpdude-more-plugins__card--coming-soon {
	opacity: 0.55;
}

.wrap.wpdude-more-plugins .wpdude-more-plugins__icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	float: none;
	width: 72px;
	height: 72px;
	margin: 0 0 0.85rem;
	border-radius: 8px;
	background: #f0f0f1;
	overflow: hidden;
}

.wrap.wpdude-more-plugins .wpdude-more-plugins__icon {
	display: block;
	float: none;
	width: 72px;
	height: 72px;
	max-width: 72px;
	margin: 0;
	object-fit: cover;
}

.wrap.wpdude-more-plugins .wpdude-more-plugins__icon-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	color: #646970;
	font-size: 28px;
}

.wrap.wpdude-more-plugins .wpdude-more-plugins__name {
	margin: 0 0 0.35rem;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: #1d2327;
}

.wrap.wpdude-more-plugins .wpdude-more-plugins__desc {
	margin: 0 0 1rem;
	flex: 1 1 auto;
	font-size: 13px;
	line-height: 1.45;
	color: #50575e;
}

.wrap.wpdude-more-plugins .wpdude-more-plugins__action {
	margin-top: auto;
}

.wrap.wpdude-more-plugins .wpdude-more-plugins__status {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: #50575e;
}

.wrap.wpdude-more-plugins .wpdude-more-plugins__status--installed {
	color: #007017;
}

.wrap.wpdude-more-plugins .wpdude-more-plugins__status--coming-soon {
	color: #646970;
}
