/**
 * JG Releases Frontend Styles
 *
 * @package JG_Releases
 */

.jg-releases {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.jg-release-item {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	padding: 1rem;
	border-bottom: 1px solid #eee;
}

.jg-release-item:last-child {
	border-bottom: none;
}

.jg-release-cover {
	flex-shrink: 0;
}

.jg-release-cover img {
	height: auto;
	display: block;
	border-radius: 4px;
}

/* Cover size variations */
.jg-release-cover-small img {
	max-width: 100px;
}

.jg-release-cover-medium img {
	max-width: 150px;
}

.jg-release-cover-large img {
	max-width: 250px;
}

.jg-release-content {
	flex: 1;
}

.jg-release-title {
	margin: 0 0 0.5rem 0;
	font-size: 1.2em;
	font-weight: 600;
}

.jg-release-title a {
	text-decoration: none;
	color: inherit;
}

.jg-release-title a:hover {
	text-decoration: underline;
}

.jg-release-streaming {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	align-items: center;
	margin-top: 0.5rem;
}

.jg-streaming-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	opacity: 0.7;
	transition: opacity 0.2s;
}

.jg-streaming-link:hover {
	opacity: 1;
}

.jg-streaming-link img {
	width: 18px;
	height: 18px;
	display: block;
}

.jg-streaming-label {
	font-size: 0.9em;
	padding: 2px 6px;
	background: #f0f0f0;
	border-radius: 3px;
}

/* Responsive */
@media (max-width: 600px) {
	.jg-release-item {
		flex-direction: column;
	}

	.jg-release-cover {
		width: 100%;
	}

	.jg-release-cover img {
		max-width: 100%;
	}
}

