/* ==========================================================
   Block — Ultimi Video Condivisi
   ========================================================== */

.mv-widget-latest-video {
	display: grid;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	gap: 12px;
}


/* ==========================================================
   Header
   ========================================================== */

.mv-widget-latest-video .mv-widget-header {
	padding-bottom: 10px;
	border-bottom: 1px solid var(--mv-border);
}

.mv-widget-latest-video .mv-widget-header h3 {
	margin: 0;

	color: var(--mv-text);

	font-size: 16px;
	font-weight: 850;
	line-height: 1.25;
	letter-spacing: -.02em;
}


/* ==========================================================
   Lista
   ========================================================== */

.mv-latest-video-list {
	display: grid;
	gap: 8px;
}


/* ==========================================================
   Video
   ========================================================== */

.mv-latest-video-item {
	min-width: 0;
}

.mv-latest-video-link {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	align-items: center;
	gap: 10px;

	min-width: 0;
	padding: 5px;

	border-radius: 9px;

	color: var(--mv-text);
	text-decoration: none;

	transition:
		background-color .16s ease,
		color .16s ease;
}

.mv-latest-video-link:hover {
	background: rgba(66, 185, 146, .08);

	color: #176747;
	text-decoration: none;
}


/* ==========================================================
   Preview
   ========================================================== */

.mv-latest-video-preview {
   position: relative;

   display: grid;
   place-items: center;

   width: 84px;
   height: 56px;

   overflow: hidden;

   border-radius: 4px;

   background: #e9edef;

   color: var(--mv-muted);
}

.mv-latest-video-preview img {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;
}

.mv-latest-video-preview > i {
	font-size: 15px;
}


/* ==========================================================
   Play
   ========================================================== */

.mv-latest-video-play {
	position: absolute;

	top: 50%;
	left: 50%;

	display: grid;
	place-items: center;

	width: 22px;
	height: 22px;

	border-radius: 50%;

	background: rgba(20, 25, 28, .68);

	color: #fff;

	font-size: 7px;

	transform: translate(-50%, -50%);

	transition:
		background-color .16s ease,
		transform .16s ease;
}

.mv-latest-video-play i {
	margin-left: 1px;
}

.mv-latest-video-link:hover
.mv-latest-video-play {
	background: var(--mv-primary);

	transform:
		translate(-50%, -50%)
		scale(1.06);
}


/* ==========================================================
   Testo
   ========================================================== */

.mv-latest-video-content {
	display: grid;
	gap: 4px;

	min-width: 0;
}

.mv-latest-video-title {
	display: block;

	min-width: 0;

	overflow: hidden;

	color: inherit;

	font-size: 12px;
	font-weight: 750;
	line-height: 1.35;

	text-overflow: ellipsis;
	white-space: nowrap;
}

.mv-latest-video-meta {
	display: flex;
	align-items: center;
	gap: 7px;

	min-width: 0;

	color: var(--mv-muted);

	font-size: 10px;
	font-weight: 500;
	line-height: 1.2;
}

.mv-latest-video-meta span {
	min-width: 0;

	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mv-latest-video-meta span + span::before {
	content: "•";

	margin-right: 7px;

	color: #a8afb4;
}


/* ==========================================================
   Link finale
   ========================================================== */

.mv-latest-video-more {
	display: inline-flex;
	align-items: center;

	width: fit-content;
	margin-top: 2px;

	color: var(--mv-primary);

	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;

	text-decoration: none;
}

.mv-latest-video-more:hover {
	text-decoration: underline;
}


/* ==========================================================
   Stato vuoto
   ========================================================== */

.mv-widget-latest-video .mv-widget-empty {
	margin: 0;
	padding: 14px;

	border: 1px dashed var(--mv-border);
	border-radius: 10px;

	background: var(--mv-bg);

	color: var(--mv-muted);

	font-size: 12px;
	line-height: 1.5;

	text-align: center;
}