/* =============================================================================
   Blog Post — Map Marker Template
   ============================================================================= */

/* Hide the Kriya theme breadcrumb + page title section that is injected
   directly from header.php — two possible outputs depending on theme settings */
body.bps-active .main-title-section-wrapper,
body.bps-active h1.simple-title {
	display: none !important;
}

/* Outer article container */
.bps-post {
	max-width: 960px;
	margin: 0 auto;
	padding: 2.5rem 1.5rem 3rem;
}

/* =============================================================================
   Header: title + meta bar
   ============================================================================= */

.bps-header {
	margin-bottom: 1.75rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid #e8e8e8;
}

.bps-title {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 0.75rem;
	color: #111;
}

.bps-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 1rem;
	font-size: 0.85rem;
	color: #666;
}

/* Categories */
.bps-categories,
.bps-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem;
}

.bps-category {
	display: inline-block;
	background: #f0f0f0;
	color: #555;
	padding: 0.2rem 0.6rem;
	border-radius: 3px;
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-decoration: none;
}

.bps-category:hover {
	background: #e0e0e0;
	color: #333;
}

/* Tags */
.bps-tag {
	display: inline-block;
	background: #e8f0fe;
	color: #3b5bdb;
	padding: 0.2rem 0.6rem;
	border-radius: 3px;
	font-size: 0.78rem;
	font-weight: 600;
	text-decoration: none;
}

.bps-tag:hover {
	background: #d0e0fd;
	color: #2645c4;
}

/* Comment count */
.bps-comment-count a {
	color: #666;
	text-decoration: none;
}

.bps-comment-count a:hover {
	color: #333;
}

/* =============================================================================
   Body: artifact (floated right) + post content L-wrap
   ============================================================================= */

.bps-body {
	margin-bottom: 2rem;
}

/* Main artifact — floated right so text wraps on the left */
.bps-main-artifact {
	float: right;
	width: 44%;
	max-width: 460px;
	margin: 0 0 1.5rem 2.25rem;
}

.bps-clearfix {
	clear: both;
}

/* =============================================================================
   Artifact types
   ============================================================================= */

/* YouTube / responsive iframe — 16:9 */
.bps-artifact-embed {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	background: #000;
	border-radius: 5px;
}

.bps-artifact-embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Image */
.bps-artifact-figure {
	margin: 0;
}

.bps-artifact-image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 5px;
}

/* Video */
.bps-artifact-video video {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 5px;
}

/* Audio */
.bps-artifact-audio audio {
	display: block;
	width: 100%;
	margin-top: 0.25rem;
}

/* Caption */
.bps-artifact-caption {
	font-size: 0.82rem;
	color: #888;
	font-style: italic;
	margin: 0.4rem 0 0;
}

/* =============================================================================
   Post content
   ============================================================================= */

.bps-content p {
	margin: 0 0 1em;
}

.bps-content img {
	max-width: 100%;
	height: auto;
}

.bps-content h2,
.bps-content h3,
.bps-content h4 {
	margin: 1.4em 0 0.5em;
	line-height: 1.3;
}

.bps-content ul,
.bps-content ol {
	padding-left: 1.5em;
	margin: 0 0 1em;
}

.bps-content a {
	color: #0073aa;
}

/* =============================================================================
   Responsive
   ============================================================================= */

@media ( max-width: 660px ) {
	.bps-post {
		padding: 1.5rem 1rem 2rem;
	}

	.bps-title {
		font-size: 1.5rem;
	}

	/* Unstack the artifact — full-width above content on small screens */
	.bps-main-artifact {
		float: none;
		width: 100%;
		max-width: 100%;
		margin: 0 0 1.5rem;
	}
}
