/**
 * Tags archive — circle tiles inside the shared movies/category directory layout.
 */

/* Tighter grid: columns sized to circles, not movie poster widths */
.page-tags-archive #movies-archive-loop.mv-vodi-archive-row {
	gap: 16px 8px;
	justify-content: flex-start !important;
}

.page-tags-archive .mv-vodi-col.px-vodi {
	flex: 0 0 auto !important;
	max-width: none !important;
	width: auto !important;
	padding-left: 8px !important;
	padding-right: 8px !important;
}

.page-tags-archive #movies-archive-loop .mv-vodi-col .video.product {
	margin-bottom: 0.7rem !important;
	padding-bottom: 0 !important;
}

.page-tags-archive .product-image.mb-2 {
	margin-bottom: 0 !important;
}

.page-tags-archive .product-image {
	position: relative;
	width: 120px;
	max-width: 120px;
	min-width: 120px;
	margin-left: auto;
	margin-right: auto;
	aspect-ratio: 1 / 1;
	height: auto;
	border: none;
	background: transparent;
}

.page-tags-archive .product-image > a.pv-tag-circle-link {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: #f5f5f5;
	border: 1px solid #d5d5d5;
	color: #666;
	text-decoration: none;
	padding: 12px;
	box-sizing: border-box;
	text-align: center;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.page-tags-archive .product-image > a.pv-tag-circle-link:hover,
.page-tags-archive .product-image > a.pv-tag-circle-link:focus {
	background: #1c2942;
	border-color: #2f4f76;
	color: #ffffff;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(28, 41, 66, 0.25);
}

.page-tags-archive .pv-tag-circle-label {
	display: block;
	word-break: break-word;
	hyphens: auto;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.25;
}

.page-tags-archive .product-meta {
	text-align: center;
	max-width: 120px;
	margin-left: auto;
	margin-right: auto;
}

.page-tags-archive .product-meta span {
	color: #949cb0;
}

@media (max-width: 767px) {
	.page-tags-archive .product-image {
		width: 100px;
		max-width: 100px;
		min-width: 100px;
	}

	.page-tags-archive .product-meta {
		max-width: 100px;
	}
}
