/* Community examples strip — [mds_studio_examples] */

.mds-studio__examples[hidden] {
	display: none !important;
}

.mds-studio__examples {
	margin-top: 32px;
}

.mds-studio__examples-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 16px;
	min-width: 0;
}

.mds-studio__examples-title {
	margin: 0;
	min-width: 0;
	flex: 1 1 auto;
	font-size: 1em;
	font-weight: 700;
	color: var(--mds-text, var(--theme-color-text));
	/* One line on mobile — long model names ellipsis, "See all" stays visible */
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mds-studio__examples-model {
	font-weight: 600;
	opacity: 0.72;
}

.mds-studio__examples-all {
	flex: 0 0 auto;
	font-size: 0.85em;
	color: var(--mds-accent, var(--theme-color-text_link));
	text-decoration: none;
	font-weight: 600;
	white-space: nowrap;
}
.mds-studio__examples-all:hover { text-decoration: underline; }

/* Bottom “See all” — same role as gallery Load more placement */
.mds-studio__examples-foot {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 16px;
	min-height: 44px;
}

.mds-studio__examples-all--foot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	font-size: 0.9em;
}

.mds-studio__examples-grid.mds-gallery__grid--masonry {
	--mds-masonry-cols: 2;
	--mds-masonry-gap: 8px;
	gap: 8px;
}
@media (min-width: 769px) {
	.mds-studio__examples-grid.mds-gallery__grid--masonry { --mds-masonry-cols: 3; }
}

.mds-studio__examples-grid .mds-item {
	border-radius: var(--mds-radius-sm, 8px);
}

.mds-studio__examples-skeleton {
	aspect-ratio: 2/3;
	border-radius: var(--mds-radius-sm, 8px);
	background: var(--mds-bg2, var(--theme-color-alter_bg_color));
	animation: mds-ex-pulse 1.4s ease-in-out infinite;
	break-inside: avoid;
}

@keyframes mds-ex-pulse {
	0%, 100% { opacity: 0.4; }
	50%       { opacity: 0.8; }
}
