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

.mv-widget-latest-video {
	display: grid;

	width: 100%;
	max-width: none;

	box-sizing: border-box;

	gap: 10px;
}


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

.mv-widget-latest-video .mv-widget-header {
	padding-bottom: 9px;

	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: 800;
	line-height: 1.25;
	letter-spacing: -.02em;
}


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

.mv-latest-video-list {
	display: grid;

	gap: 0;
}


/* ==========================================================
   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: 8px 4px;

	border-bottom: 1px solid var(--mv-border);
	border-radius: 0;

	color: var(--mv-text);

	text-decoration: none;

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

.mv-latest-video-item:last-child .mv-latest-video-link {
	border-bottom: 0;
}

.mv-latest-video-link:hover {
	background: #fffaf7;
	color: var(--mv-primary);

	text-decoration: none;
}


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

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

	display: grid;
	place-items: center;

	width: 84px;
	height: 56px;

	overflow: hidden;

	border: 1px solid var(--mv-border);
	border-radius: 0;

	background: #fffaf7;

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

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

	width: 100%;
	height: 100%;

	object-fit: cover;

	border-radius: 0;
}

.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, 18, 17, .72);
	color: #fff;

	font-size: 7px;

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

	transition:
		background-color .15s ease,
		transform .15s 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.05);
}


/* ==========================================================
   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: var(--mv-muted);
}


/* ==========================================================
   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: 12px;

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

	background: #fffaf7;

	color: var(--mv-muted);

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

	text-align: center;
}
