/*
 * No More UPF product audit image system.
 */

.nmu-product-audit-image {
	margin: 0;
}

.single-product-audit .elementor-widget-theme-post-featured-image .elementor-widget-container,
.single-product-audit .elementor-widget-image .elementor-widget-container,
.single-product-audit .nmu-product-image-credit-host,
.nmu-product-audit-image.audit-product-image {
	aspect-ratio: 4 / 5;
	width: 100%;
	overflow: hidden;
	border: 1px solid #e4ded2;
	border-radius: 14px;
	background: #f7f4ed;
}

.single-product-audit .elementor-widget-theme-post-featured-image img,
.single-product-audit .elementor-widget-image img,
.single-product-audit .nmu-product-image-credit-host img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.nmu-product-audit-image__img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	background: #f7f4ed;
}

.nmu-product-audit-image.audit-product-image .nmu-product-audit-image__img {
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.nmu-product-audit-image__caption {
	margin-top: 0.35rem;
	color: #4b5563;
	font-size: 0.72rem;
	line-height: 1.3;
}

.nmu-product-audit-image__caption a {
	color: inherit;
}

.nmu-product-audit-image__caption--standalone {
	position: relative;
	z-index: 2;
	display: inline-block;
	max-width: calc(100% - 1.5rem);
	margin: -3.35rem 0 1.15rem 0.75rem !important;
	padding: 0.32rem 0.55rem;
	border: 1px solid rgba(228, 222, 210, 0.82);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 1px 4px rgba(20, 40, 76, 0.12);
	color: #14284c;
	font-size: 0.66rem !important;
	line-height: 1.25 !important;
	text-decoration: none;
	transform: translateY(-0.25rem);
}

.elementor-widget-shortcode .nmu-product-audit-image__caption--standalone {
	margin-top: -3.35rem !important;
	margin-left: 0.75rem !important;
}

.nmu-product-audit-image__caption--standalone a {
	color: inherit;
	text-decoration: none;
}

.nmu-product-image-credit-host .nmu-product-audit-image__caption--attached {
	position: absolute;
	right: auto;
	bottom: 0.85rem;
	left: 0.85rem;
	max-width: calc(100% - 1.7rem);
	margin: 0 !important;
	transform: none;
}

.nmu-product-image-credit-widget--empty {
	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
}

.nmu-product-placeholder {
	display: grid;
	align-content: center;
	justify-items: center;
	gap: 1.15rem;
	width: 100%;
	height: 100%;
	min-height: 100%;
	padding: 1.5rem;
	text-align: center;
	color: #14284c;
}

.nmu-product-placeholder__mark {
	display: flex;
	gap: 0.42rem;
	align-items: center;
	justify-content: center;
	height: 0.5rem;
}

.nmu-product-placeholder__stripe {
	display: block;
	width: 2.8rem;
	height: 100%;
	border-radius: 999px;
}

.nmu-product-placeholder__stripe--green {
	background: #2d6a4f;
}

.nmu-product-placeholder__stripe--amber {
	background: #e67e22;
}

.nmu-product-placeholder__stripe--red {
	background: #c0392b;
}

.nmu-product-placeholder__content {
	display: grid;
	gap: 0.65rem;
	min-width: 0;
	max-width: 17rem;
}

.nmu-product-placeholder__title,
.nmu-product-placeholder__meta,
.nmu-product-placeholder__message {
	margin: 0;
}

.nmu-product-placeholder__title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.nmu-product-placeholder__meta {
	display: none;
}

.nmu-product-placeholder__meta span {
	display: inline-flex;
	align-items: center;
	min-height: 1.6rem;
	padding: 0.2rem 0.5rem;
	border: 1px solid #e4ded2;
	border-radius: 4px;
	background: #fff;
	color: #14284c;
}

.nmu-product-placeholder__message {
	color: #4b5563;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.45;
}

.nmu-product-placeholder__submit {
	justify-self: center;
	display: inline-flex;
	align-items: center;
	min-height: 1.8rem;
	padding: 0.3rem 0.7rem;
	border: 1px solid #e4ded2;
	border-radius: 999px;
	background: #fff;
	color: #14284c;
	font-size: 0.76rem;
	font-weight: 700;
	text-decoration: none;
}

.nmu-product-placeholder__submit:hover,
.nmu-product-placeholder__submit:focus {
	border-color: #2d6a4f;
	color: #2d6a4f;
	text-decoration: none;
}

.nmu-product-image-contribution {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.65rem;
	align-items: center;
	margin-top: 0.65rem;
	color: #4b5563;
	font-size: 0.78rem;
	line-height: 1.35;
}

.nmu-product-image-contribution__text {
	margin: 0;
}

.nmu-product-image-contribution__link {
	display: inline-flex;
	align-items: center;
	min-height: 1.7rem;
	padding: 0.28rem 0.6rem;
	border: 1px solid #e4ded2;
	border-radius: 999px;
	background: #fff;
	color: #14284c;
	font-size: 0.76rem;
	font-weight: 700;
	text-decoration: none;
}

.nmu-product-image-contribution__link:hover,
.nmu-product-image-contribution__link:focus {
	border-color: #2d6a4f;
	color: #2d6a4f;
	text-decoration: none;
}

.nmu-product-image-dashboard__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1rem;
	margin: 1rem 0 1.5rem;
}

.nmu-product-image-stat-card {
	display: grid;
	gap: 0.35rem;
	padding: 1rem;
	border: 1px solid #e4ded2;
	border-radius: 6px;
	background: #fff;
	color: #14284c;
}

.nmu-product-image-stat-card strong {
	font-size: 2rem;
	line-height: 1;
}

.nmu-product-image-stat-card span {
	font-weight: 600;
}
