/* Sipko Portfolio - Frontend Styles */
.sp-portfolio-meta {
	margin: 1em 0;
}

.sp-portfolio-meta .sp-meta-label {
	font-weight: 600;
	margin-right: 0.5em;
}

.sp-stats-compact {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	font-size: 0.9em;
	color: #666;
}

.sp-stats-compact span {
	margin: 0;
}

.sp-portfolio-meta ul {
	margin: 0.5em 0;
	padding-left: 1.5em;
}

.sp-portfolio-meta li {
	margin: 0.25em 0;
}

.sp-video-link {
	display: inline-block;
	padding: 0.5em 1em;
	background: #f0f0f0;
	border-radius: 4px;
	text-decoration: none;
}

.sp-video-link:hover {
	background: #e0e0e0;
}

.sp-portfolio-meta .sp-client-name {
	font-weight: 600;
}

/* Block Editor Preview */
.sp-block-preview {
	padding: 1em;
	background: #f9f9f9;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	font-size: 0.9em;
	color: #666;
}

.sp-block-preview strong {
	color: #333;
	margin-right: 0.5em;
}

/* Responsive Video Embed Wrapper - 16:9 Aspect Ratio */
.sp-video-embed-wrapper {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
	overflow: hidden;
	border-radius: 4px;
	background: #000;
}

.sp-video-embed-wrapper iframe,
.sp-video-embed-wrapper video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Fallback link styling */
.sp-video-embed-wrapper .sp-video-link {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 1em 2em;
	background: #0073aa;
	color: white;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	white-space: nowrap;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 90%;
	text-align: center;
	line-height: 1.5;
}

.sp-video-embed-wrapper .sp-video-link:hover {
	background: #005a87;
}
