/* Synalysis Blog Importer for Nostr — minimal layout; override in your theme. */

.synalysis-blog-importer--archive {
	max-width: 72rem;
	margin-left: auto;
	margin-right: auto;
	padding: 2rem 1rem;
}

.synalysis-blog-importer-archive-header {
	margin-bottom: 2rem;
}

.synalysis-blog-importer-archive-title {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 600;
	line-height: 1.2;
	margin: 0;
}

.synalysis-blog-importer-archive-grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
	.synalysis-blog-importer-archive-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 64rem) {
	.synalysis-blog-importer-archive-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.synalysis-blog-importer-card {
	display: flex;
	flex-direction: column;
	border: 1px solid color-mix(in srgb, CanvasText 12%, transparent);
	border-radius: 0.5rem;
	overflow: hidden;
	background: Canvas;
	color: CanvasText;
}

.synalysis-blog-importer-card__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.synalysis-blog-importer-card__body {
	padding: 1rem 1.25rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.synalysis-blog-importer-card__title {
	font-size: 1.125rem;
	font-weight: 600;
	margin: 0;
	line-height: 1.35;
}

.synalysis-blog-importer-card__title a {
	text-decoration: none;
	color: inherit;
}

.synalysis-blog-importer-card__title a:hover,
.synalysis-blog-importer-card__title a:focus {
	text-decoration: underline;
}

.synalysis-blog-importer-card__date {
	font-size: 0.875rem;
	opacity: 0.75;
}

.synalysis-blog-importer-card__excerpt {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.5;
	opacity: 0.9;
}

.synalysis-blog-importer-card__read {
	font-size: 0.875rem;
	font-weight: 500;
	margin-top: 0.25rem;
}

.synalysis-blog-importer--single {
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
	padding: 2rem 1rem;
}

.synalysis-blog-importer-article__header {
	margin-bottom: 1.5rem;
}

.synalysis-blog-importer-article__title {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 0.5rem;
}

.synalysis-blog-importer-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem 1rem;
	font-size: 0.9375rem;
	opacity: 0.75;
}

.synalysis-blog-importer-article__author {
	margin: 0;
}

.synalysis-blog-importer-article__date {
	margin: 0;
}

.synalysis-blog-importer-article__hero {
	margin: 0 0 1.5rem;
}

.synalysis-blog-importer-article__hero img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0.375rem;
}

.synalysis-blog-importer-article__summary {
	font-size: 1.125rem;
	line-height: 1.5;
	margin: 0 0 1.5rem;
	opacity: 0.9;
}

.synalysis-blog-importer-article__content {
	font-size: 1.0625rem;
	line-height: 1.65;
}

.synalysis-blog-importer-article__content > *:first-child {
	margin-top: 0;
}

.synalysis-blog-importer-article__tags {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid color-mix(in srgb, CanvasText 12%, transparent);
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem 0.75rem;
	font-size: 0.9375rem;
}

.synalysis-blog-importer-article__tags-label {
	font-weight: 600;
	margin: 0;
	opacity: 0.85;
}

.synalysis-blog-importer-tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.synalysis-blog-importer-tag {
	display: inline-block;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, CanvasText 18%, transparent);
	background: color-mix(in srgb, CanvasText 5%, transparent);
	font-size: 0.875rem;
	line-height: 1.3;
}

.synalysis-blog-importer--shortcode .synalysis-blog-importer-card {
	height: 100%;
}

pre.synalysis-blog-importer-log {
	white-space: pre-wrap;
	font-size: 12px;
	max-height: 200px;
	overflow: auto;
}
