/* Blog index and posts. Matches the app's slate/indigo look without Tailwind. */
.ldsb {
	background: #fff;
	color: #334155;
	padding: 7.5rem 1.5rem 5rem;
}
.ldsb-article {
	max-width: 46rem;
	margin: 0 auto;
}
.ldsb-title {
	font-size: clamp(1.9rem, 4.5vw, 2.75rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #0f172a;
	margin: 0 0 0.75rem;
}
.ldsb-meta { font-size: 0.875rem; color: #64748b; margin: 0 0 2rem; }
.ldsb-lead { font-size: 1.125rem; color: #475569; margin: 0 0 2.5rem; line-height: 1.7; }

.ldsb-content { font-size: 1.0625rem; line-height: 1.75; }
.ldsb-content > * + * { margin-top: 1.1em; }
.ldsb-content h2 {
	font-size: 1.5rem;
	line-height: 1.3;
	color: #0f172a;
	margin-top: 2.2em;
	scroll-margin-top: 6rem;
}
.ldsb-content h3 { font-size: 1.2rem; color: #0f172a; margin-top: 1.8em; }
.ldsb-content a { color: #4f46e5; text-decoration: underline; text-underline-offset: 2px; }
.ldsb-content ul { list-style: disc; padding-left: 1.4rem; }
.ldsb-content ol { list-style: decimal; padding-left: 1.4rem; }
.ldsb-content li + li { margin-top: 0.4em; }
.ldsb-content strong { color: #0f172a; }
.ldsb-content code {
	font-size: 0.9em;
	background: #f1f5f9;
	border-radius: 4px;
	padding: 0.1em 0.35em;
}
.ldsb-content table { width: 100%; border-collapse: collapse; font-size: 0.95rem; display: block; overflow-x: auto; }
.ldsb-content th, .ldsb-content td { border: 1px solid #e2e8f0; padding: 0.55rem 0.75rem; text-align: left; vertical-align: top; }
.ldsb-content th { background: #f8fafc; color: #0f172a; }
.ldsb-content .ldsb-note {
	background: #eef2ff;
	border: 1px solid #c7d2fe;
	border-radius: 12px;
	padding: 1rem 1.25rem;
}

.ldsb-cta {
	margin-top: 3rem;
	border: 1px solid #c7d2fe;
	background: #eef2ff;
	border-radius: 16px;
	padding: 1.75rem;
}
.ldsb-cta h2 { font-size: 1.3rem; color: #0f172a; margin: 0 0 0.5rem; }
.ldsb-cta p { margin: 0 0 1rem; line-height: 1.65; }
.ldsb-cta-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0 !important; }
.ldsb-btn {
	display: inline-block;
	padding: 0.7rem 1.2rem;
	border-radius: 10px;
	border: 1px solid #cbd5e1;
	background: #fff;
	color: #334155;
	text-decoration: none;
	font-weight: 600;
}
.ldsb-btn:hover { border-color: #94a3b8; }
.ldsb-btn-primary { background: #4f46e5; border-color: #4f46e5; color: #fff; }
.ldsb-btn-primary:hover { background: #4338ca; border-color: #4338ca; }


/* Real product screenshots inside posts. */
.ldsb-content .ldsb-shot { margin: 1.75em 0; }
.ldsb-content .ldsb-shot img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
	background: #fff;
}
.ldsb-content .ldsb-shot figcaption { margin-top: 0.6rem; font-size: 0.875rem; color: #64748b; text-align: center; }

/* Back button: same look as the site's secondary buttons (e.g. "Compare Free vs Pro"). */
.ldsb-back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1.75rem;
	padding: 0.65rem 1.25rem;
	border-radius: 0.75rem;
	border: 1px solid #cbd5e1;
	background: #fff;
	color: #334155;
	font-weight: 500;
	text-decoration: none;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.ldsb-back:hover { border-color: #94a3b8; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1); transform: translateY(-2px); }

/* Card grid: identical to the homepage "From the blog" cards. */
.ldsb-index { max-width: 72rem; margin: 0 auto; text-align: center; }
.ldsb-index .ldsb-title { margin-bottom: 1rem; }
.ldsb-index .ldsb-lead { max-width: 46rem; margin-left: auto; margin-right: auto; }
.ldsb-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: left; }
@media (max-width: 960px) { .ldsb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ldsb-grid { grid-template-columns: 1fr; } }
.ldsb-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 1.5rem;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 0 0 1px #e2e8f0;
	text-decoration: none;
	transition: transform .2s, box-shadow .2s;
}
.ldsb-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1), 0 0 0 1px #e2e8f0; }
.ldsb-card h2, .ldsb-card h3 { font-size: 1.125rem; line-height: 1.45; font-weight: 500; color: #0f172a; margin: 0 0 0.5rem; transition: color .2s; }
.ldsb-card:hover h2, .ldsb-card:hover h3 { color: #4338ca; }
.ldsb-card p { flex: 1; margin: 0 0 1rem; color: #475569; line-height: 1.6; }
.ldsb-more { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; font-weight: 600; color: #4f46e5; }
.ldsb-more span { transition: transform .2s; }
.ldsb-card:hover .ldsb-more span { transform: translateX(4px); }

/* "More from the blog" under a post: wider than the article. */
.ldsb-related { max-width: 72rem; margin: 4rem auto 0; padding-top: 3rem; border-top: 1px solid #e2e8f0; }
.ldsb-related > h2 { font-size: 1.5rem; color: #0f172a; text-align: center; margin: 0 0 1.75rem; }

@media (max-width: 640px) {
	.ldsb { padding: 6.5rem 1rem 4rem; }
	.ldsb-cta { padding: 1.25rem; }
}

/* Blog index: light background like the homepage blog band. */
body.blog .ldsb { background: #f8fafc; }
