/* Post card shown inside the embed frame (embed-content.php). */
html, body { background: transparent; }
body { margin: 0; font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
.wp-embed.bk-embed { display: flex; gap: 0; max-width: none; padding: 0; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; color: #334155; font-family: inherit; box-shadow: 0 6px 20px rgba(15, 23, 42, .08); transition: box-shadow .2s, border-color .2s; }
.wp-embed.bk-embed:hover { border-color: var(--bk-primary, #e2264d); box-shadow: 0 12px 28px rgba(15, 23, 42, .14); }
.bk-embed-thumb { flex: 0 0 30%; max-width: 240px; min-height: 140px; display: block; overflow: hidden; background: #f1f5f9; }
.bk-embed-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.bk-embed:hover .bk-embed-thumb img { transform: scale(1.05); }
.bk-embed-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 14px 18px; }
.bk-embed-cat { align-self: flex-start; padding: 2px 9px; border-radius: 6px; background: var(--bk-primary, #e2264d); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
p.wp-embed-heading.bk-embed-title { margin: 0; font-size: 17px; line-height: 1.35; font-weight: 700; }
.bk-embed-title a { color: #0f172a; text-decoration: none; }
.bk-embed-title a:hover { color: var(--bk-primary, #e2264d); }
.bk-embed-text { margin: 0; font-size: 14px; line-height: 1.55; color: #475569; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bk-embed-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-top: auto; padding-top: 6px; font-size: 12.5px; color: #64748b; }
.bk-embed-site { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.bk-embed-site img { width: 16px; height: 16px; border-radius: 4px; }
.bk-embed-more { margin-left: auto; color: var(--bk-primary, #e2264d); font-weight: 700; text-decoration: none; }
.bk-embed-more:hover { text-decoration: underline; }
@media (max-width: 480px) {
	.wp-embed.bk-embed { flex-direction: column; }
	.bk-embed-thumb { flex: none; max-width: none; min-height: 0; aspect-ratio: 16 / 8; }
	.bk-embed-more { margin-left: 0; }
}
@media (prefers-color-scheme: dark) {
	.wp-embed.bk-embed { background: #111827; border-color: #1f2937; color: #cbd5e1; }
	.bk-embed-title a { color: #f1f5f9; }
	.bk-embed-text { color: #94a3b8; }
	.bk-embed-thumb { background: #1f2937; }
}
