/* ==========================================================================
   Black Mango - Blog Page Stylesheet
   Matches exact layout from mockup:
   - Dark green hero with cow pasture visual
   - 2-Column article cards grid
   - Search & Recent Posts sidebar (without categories)
   - Bottom "Together for Healthier Animals" banner
   ========================================================================== */

/* Ensure Twenty Twenty parent theme's #site-content { overflow: hidden; } does NOT break position: sticky */
#site-content,
main#site-content,
main.blackmango-blog,
body.blog #site-content,
body.page-template-page-blog #site-content {
	overflow: visible !important;
}

.blackmango-blog {
	width: 100%;
	overflow: visible !important;
	font-family: var(--bm-font-sans, 'Plus Jakarta Sans', sans-serif);
	background-color: #fafbf9;
	color: #1a221b;
}

/* Active Nav Link for Blog */
body.blog .bm-nav-list li a[href*="blog"],
body.page-template-page-blog .bm-nav-list li a[href*="blog"],
body.page-id-blog .bm-nav-list li a[href*="blog"] {
	color: var(--bm-primary-medium, #1f5730) !important;
	font-weight: 700 !important;
	border-bottom: 2px solid var(--bm-accent-green, #3ea03c) !important;
}

/* ==========================================================================
   1. Hero Banner - Clean White Split Layout Matching Other Pages
   ========================================================================== */
.bm-blog-hero-section {
	width: 100%;
	background: #ffffff;
	position: relative;
	overflow: hidden;
	padding: clamp(32px, 4vw, 54px) 0 clamp(20px, 3vw, 40px) 0;
	border-bottom: 1px solid #eef2ed;
}

.bm-blog-hero-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(24px, 3vw, 48px);
	width: 100%;
}

.bm-blog-hero-content {
	flex: 1 1 50%;
	max-width: 600px;
}

/* ==========================================================================
   Breadcrumb Navigation (Base Universal Reset)
   ========================================================================== */
.bm-breadcrumb {
	display: block;
	margin-bottom: 16px;
}

.bm-breadcrumb-list {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 6px 8px !important;
	list-style: none !important;
	list-style-type: none !important;
	padding: 0 !important;
	margin: 0 !important;
	font-size: 13.5px;
	line-height: 1.4;
}

.bm-breadcrumb-list li,
.bm-breadcrumb-item,
.bm-breadcrumb-separator {
	display: inline-flex !important;
	align-items: center !important;
	list-style: none !important;
	list-style-type: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.bm-breadcrumb-list li::marker,
.bm-breadcrumb-item::marker,
.bm-breadcrumb-separator::marker {
	display: none !important;
	content: "" !important;
	font-size: 0 !important;
}

.bm-breadcrumb-item a {
	text-decoration: none !important;
	font-weight: 600;
	transition: color 0.2s ease;
}

.bm-breadcrumb-separator {
	user-select: none;
	font-size: 12px;
}

/* Breadcrumb: Hero Variant (Blog Index) */
.bm-blog-hero-content .bm-breadcrumb {
	margin-bottom: 16px;
}

.bm-blog-hero-content .bm-breadcrumb-item a {
	color: #486550 !important;
	font-size: 13px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.bm-blog-hero-content .bm-breadcrumb-item a:hover {
	color: #164223 !important;
	text-decoration: underline !important;
}

.bm-blog-hero-content .bm-breadcrumb-separator {
	color: #8c9e92 !important;
	font-size: 13px;
	margin: 0 4px !important;
}

.bm-blog-hero-content .bm-breadcrumb-item.active {
	color: #164223 !important;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

/* Breadcrumb: Light Header Variant (Single Blog Post) */
.bm-single-header-section .bm-breadcrumb {
	margin-bottom: 18px;
}

.bm-single-header-section .bm-breadcrumb-item a {
	color: #486550 !important;
}

.bm-single-header-section .bm-breadcrumb-item a:hover {
	color: #164223 !important;
	text-decoration: underline !important;
}

.bm-single-header-section .bm-breadcrumb-separator {
	color: #8c9e92 !important;
}

.bm-single-header-section .bm-breadcrumb-item.active {
	color: #164223 !important;
	font-weight: 700;
}

.bm-blog-hero-title {
	font-size: clamp(36px, 4.2vw, 56px) !important;
	font-weight: 800 !important;
	color: #164223 !important;
	line-height: 1.15 !important;
	letter-spacing: -1px !important;
	margin: 0 0 18px 0 !important;
}

.bm-blog-hero-desc {
	font-size: clamp(15.5px, 1.35vw, 17px) !important;
	color: #5e6d62 !important;
	line-height: 1.65 !important;
	margin: 0 !important;
	max-width: 520px;
}

.bm-blog-hero-media {
	flex: 1 1 50%;
	position: relative;
	display: flex;
	justify-content: flex-end;
	align-self: stretch;
}

.bm-blog-hero-img-wrap {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 420px;
	border-radius: 20px;
	overflow: hidden;
	display: flex;
}

.bm-blog-hero-img {
	width: 100%;
	height: 100%;
	min-height: 420px;
	object-fit: cover;
	object-position: center;
	display: block;
	border-radius: 20px;
}

@media (min-width: 992px) {
	/* Soft feathered fade blend on left side matching Contact and Services */
	.bm-blog-hero-img-wrap {
		-webkit-mask-image: linear-gradient(to right, transparent 0%, black 14%);
		mask-image: linear-gradient(to right, transparent 0%, black 14%);
		border-radius: 0;
	}

	.bm-blog-hero-img {
		border-radius: 0;
	}
}

@media (max-width: 991px) {
	.bm-blog-hero-row {
		flex-direction: column;
		text-align: left;
		gap: 32px;
	}

	.bm-blog-hero-content {
		max-width: 100%;
	}

	.bm-blog-hero-media {
		width: 100%;
	}

	.bm-blog-hero-img-wrap,
	.bm-blog-hero-img {
		min-height: 280px;
		max-height: 350px;
		border-radius: 16px;
		-webkit-mask-image: none;
		mask-image: none;
	}
}

/* ==========================================================================
   2. Main Layout: 2-Column Grid + Sidebar
   ========================================================================== */
.bm-blog-main-section {
	padding: clamp(40px, 5vw, 70px) 0 clamp(60px, 7vw, 90px) 0;
	background-color: #fafbf9;
}

.bm-blog-layout {
	display: flex;
	align-items: stretch;
	gap: clamp(32px, 3.5vw, 48px);
}

.bm-blog-articles-area {
	flex: 1 1 68%;
	min-width: 0;
}

.bm-blog-grid-2col {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(24px, 2.5vw, 36px);
}

/* Article Card */
.bm-post-card {
	background: #ffffff;
	border: 1px solid #eef2ed;
	border-radius: 18px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.bm-post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(22, 66, 35, 0.08);
	border-color: rgba(62, 160, 60, 0.3);
}

.bm-post-thumb-wrap {
	width: 100%;
	height: 210px;
	overflow: hidden;
	background-color: #e9ece8;
	position: relative;
}

.bm-post-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.bm-post-card:hover .bm-post-thumb {
	transform: scale(1.04);
}

.bm-post-body {
	padding: 24px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.bm-post-badge-wrap {
	margin-bottom: 12px;
}

.bm-post-category {
	display: inline-block;
	background-color: #164223;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.4px;
	padding: 4px 12px;
	border-radius: 9999px;
}

.bm-post-title {
	font-size: 18px !important;
	font-weight: 800 !important;
	line-height: 1.35 !important;
	margin: 0 0 10px 0 !important;
	letter-spacing: -0.3px !important;
}

.bm-post-title a {
	color: #164223 !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
}

.bm-post-title a:hover {
	color: #2b7a37 !important;
}

.bm-post-excerpt {
	font-size: 13.5px !important;
	color: #5e6d62 !important;
	line-height: 1.6 !important;
	margin: 0 0 20px 0 !important;
	flex: 1;
}

/* Post Footer Meta */
.bm-post-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 16px;
	border-top: 1px solid #f2f5f1;
	gap: 12px;
}

.bm-post-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: #6e7c72;
}

.bm-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.bm-meta-sep {
	color: #d1d9d3;
}

.bm-post-readmore {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	font-weight: 700;
	color: #164223;
	text-decoration: none;
	transition: color 0.2s ease;
	white-space: nowrap;
}

.bm-post-readmore:hover {
	color: #3ea03c;
}

.bm-arrow-sym {
	transition: transform 0.2s ease;
	display: inline-block;
}

.bm-post-readmore:hover .bm-arrow-sym {
	transform: translateX(3px);
}

/* ==========================================================================
   3. Sidebar (Search & Recent Posts Only)
   ========================================================================== */
.bm-blog-sidebar {
	flex: 0 0 330px;
	width: 330px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	position: relative;
	overflow: visible !important;
}

/* Widget: Search */
.bm-widget-search {
	width: 100%;
}

.bm-sidebar-search-wrap {
	display: flex;
	align-items: stretch;
	background: #ffffff;
	border: 1px solid #dde3de;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
	transition: border-color 0.2s ease;
}

.bm-sidebar-search-wrap:focus-within {
	border-color: #164223;
	box-shadow: 0 0 0 3px rgba(22, 66, 35, 0.1);
}

.bm-sidebar-search-input {
	flex: 1;
	border: none !important;
	outline: none !important;
	padding: 12px 16px !important;
	font-size: 14px !important;
	color: #1a221b !important;
	background: transparent !important;
	font-family: inherit !important;
	box-shadow: none !important;
}

.bm-sidebar-search-input::placeholder {
	color: #8a968d;
}

.bm-sidebar-search-btn {
	background-color: #164223;
	border: none;
	color: #ffffff;
	padding: 0 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease;
}

.bm-sidebar-search-btn:hover {
	background-color: #245a34;
}

/* Widget: Recent Posts (Sticky Block) */
.bm-widget-recent {
	background: #ffffff;
	border: 1px solid #eef2ed;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
	position: -webkit-sticky;
	position: sticky;
	top: 96px;
	z-index: 10;
	transition: top 0.2s ease;
}

.admin-bar .bm-widget-recent {
	top: 130px;
}

.bm-widget-title {
	font-size: 18px !important;
	font-weight: 800 !important;
	color: #164223 !important;
	margin: 0 0 20px 0 !important;
	line-height: 1.25 !important;
}

.bm-recent-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.bm-recent-item {
	display: flex;
	align-items: center;
	gap: 14px;
}

.bm-recent-thumb-link {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	border-radius: 10px;
	overflow: hidden;
	display: block;
	background-color: #e9ece8;
}

.bm-recent-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 10px;
	transition: transform 0.3s ease;
}

.bm-recent-item:hover .bm-recent-thumb {
	transform: scale(1.08);
}

.bm-recent-info {
	flex: 1;
	min-width: 0;
}

.bm-recent-post-title {
	font-size: 13.5px !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
	margin: 0 0 4px 0 !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bm-recent-post-title a {
	color: #164223 !important;
	text-decoration: none !important;
	transition: color 0.2s ease !important;
}

.bm-recent-post-title a:hover {
	color: #2b7a37 !important;
}

.bm-recent-date {
	font-size: 12px;
	color: #8a968d;
	font-weight: 500;
}

/* ==========================================================================
   4. Bottom Banner: "Together for Healthier Animals"
   ========================================================================== */
.bm-blog-bottom-cta-section {
	width: 100%;
	background-color: #143823;
	padding: clamp(34px, 4.5vw, 52px) 0;
	position: relative;
}

.bm-blog-bottom-cta-box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.bm-bottom-cta-content {
	flex: 1;
}

.bm-bottom-cta-tagline {
	display: block;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 1.5px;
	color: #86d189;
	text-transform: uppercase;
	margin-bottom: 6px;
}

.bm-bottom-cta-title {
	font-size: clamp(24px, 2.8vw, 34px) !important;
	font-weight: 800 !important;
	color: #ffffff !important;
	line-height: 1.25 !important;
	margin: 0 !important;
	letter-spacing: -0.4px !important;
}

.bm-bottom-cta-action {
	flex-shrink: 0;
}

.bm-btn-outline-white {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	background: transparent !important;
	color: #ffffff !important;
	border: 1px solid rgba(255, 255, 255, 0.45) !important;
	border-radius: 9999px !important;
	padding: 10px 24px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: all 0.25s ease !important;
}

.bm-btn-outline-white:hover {
	background: #ffffff !important;
	color: #143823 !important;
	border-color: #ffffff !important;
	transform: translateY(-2px);
}

.bm-btn-arrow {
	transition: transform 0.25s ease;
	display: inline-block;
}

.bm-btn-outline-white:hover .bm-btn-arrow {
	transform: translateX(3px);
}

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

/* Tablets & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
	.bm-blog-layout {
		flex-direction: column;
		gap: 48px;
	}

	.bm-blog-articles-area {
		width: 100%;
	}

	.bm-blog-sidebar {
		width: 100%;
		flex: 1 1 100%;
		position: static !important;
		top: auto !important;
		max-height: none !important;
		overflow-y: visible !important;
	}

	.bm-widget-recent {
		position: static !important;
		top: auto !important;
	}

	.bm-recent-list {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}

/* Tablets (<= 991px) */
@media (max-width: 991px) {
	.bm-blog-hero-row {
		flex-direction: column;
		text-align: center;
		gap: 32px;
	}

	.bm-blog-hero-content {
		max-width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.bm-blog-hero-media {
		width: 100%;
		justify-content: center;
	}

	.bm-blog-hero-img-wrap {
		border-radius: 16px;
		-webkit-mask-image: none;
		mask-image: none;
		height: 260px;
	}

	.bm-blog-bottom-cta-box {
		flex-direction: column;
		text-align: center;
		gap: 20px;
	}
}

/* Mobile Devices (<= 640px) */
@media (max-width: 640px) {
	.bm-blog-grid-2col {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.bm-recent-list {
		grid-template-columns: 1fr;
	}

	.bm-post-footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.bm-post-readmore {
		align-self: flex-end;
	}
}

/* ==========================================================================
   5. Dynamic Pagination Styles
   ========================================================================== */
.bm-blog-pagination {
	margin-top: 48px;
	display: flex;
	justify-content: center;
}

.bm-blog-pagination ul.page-numbers {
	display: flex;
	align-items: center;
	gap: 8px;
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.bm-blog-pagination ul.page-numbers li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.bm-blog-pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 10px;
	background: #ffffff;
	border: 1px solid #dde3de;
	color: #164223;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s ease;
}

.bm-blog-pagination a.page-numbers:hover {
	background-color: #ebf5eb;
	border-color: #245a34;
	color: #245a34;
}

.bm-blog-pagination .page-numbers.current {
	background-color: #164223;
	color: #ffffff;
	border-color: #164223;
	box-shadow: 0 4px 10px rgba(22, 66, 35, 0.2);
}

/* ==========================================================================
   6. Single Blog Post Styles (Editorial Layout, Sticky Sidebar & Related)
   ========================================================================== */
.blackmango-single-post {
	width: 100%;
	background-color: #ffffff;
	color: #1a221b;
	overflow: visible !important;
}

/* Single Header Banner */
.bm-single-header-section {
	padding: clamp(36px, 4vw, 56px) 0 32px 0;
	background: linear-gradient(180deg, #f3f7f4 0%, #fafbf9 100%);
	border-bottom: 1px solid #eef2ed;
}

.bm-single-header-section .bm-breadcrumb {
	margin-bottom: 18px;
}

.bm-single-meta-top {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	flex-wrap: wrap;
}

.bm-single-verified {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	color: #1f5730;
	background-color: #e5f4e6;
	padding: 4px 12px;
	border-radius: 9999px;
}

.bm-single-title {
	font-size: clamp(28px, 3.6vw, 46px) !important;
	font-weight: 800 !important;
	color: #164223 !important;
	line-height: 1.2 !important;
	margin: 0 0 24px 0 !important;
	letter-spacing: -0.6px !important;
	max-width: 980px;
}

/* Author & Publication Bar */
.bm-single-author-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 20px;
	border-top: 1px solid #e6ece7;
	gap: 16px;
	flex-wrap: wrap;
}

.bm-author-info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bm-author-avatar-wrap {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: #164223;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-weight: 800;
	font-size: 15px;
	flex-shrink: 0;
	box-shadow: 0 2px 8px rgba(22, 66, 35, 0.2);
}

.bm-author-details {
	display: flex;
	flex-direction: column;
}

.bm-author-name {
	font-size: 14.5px;
	font-weight: 700;
	color: #164223;
	line-height: 1.3;
}

.bm-author-role {
	font-size: 12px;
	color: #6e7c72;
}

.bm-single-meta-right {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	color: #6e7c72;
}

/* Single Content Main Layout */
.bm-single-content-section {
	padding: clamp(40px, 5vw, 68px) 0 clamp(60px, 7vw, 90px) 0;
	background-color: #ffffff;
}

.bm-single-layout {
	display: flex;
	align-items: stretch;
	gap: clamp(32px, 3.5vw, 48px);
}

.bm-single-main-col {
	flex: 1 1 68%;
	min-width: 0;
}

/* Featured Hero Image */
.bm-single-featured-wrap {
	width: 100%;
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 36px;
	box-shadow: 0 10px 30px rgba(22, 66, 35, 0.07);
	background-color: #f0f4f1;
}

.bm-single-featured-img {
	width: 100%;
	height: auto;
	max-height: 500px;
	object-fit: cover;
	display: block;
}

/* Article Body Typography */
.bm-single-article-body {
	font-size: 17.5px;
	line-height: 1.85;
	color: #2e3a31;
	margin-bottom: 36px;
}

.bm-single-article-body > p:first-of-type {
	font-size: 19.5px;
	line-height: 1.75;
	color: #164223;
	font-weight: 500;
}

.bm-single-article-body p {
	margin-bottom: 24px;
}

.bm-single-article-body h2 {
	font-size: clamp(24px, 2.5vw, 30px) !important;
	font-weight: 800 !important;
	color: #164223 !important;
	margin: 40px 0 18px 0 !important;
	padding-left: 14px;
	border-left: 4px solid #3ea03c;
	line-height: 1.3 !important;
	letter-spacing: -0.4px !important;
}

.bm-single-article-body h3 {
	font-size: clamp(20px, 2vw, 24px) !important;
	font-weight: 700 !important;
	color: #164223 !important;
	margin: 32px 0 14px 0 !important;
	line-height: 1.35 !important;
}

.bm-single-article-body blockquote {
	margin: 36px 0;
	padding: 24px 28px;
	background: #f4f8f4;
	border-left: 5px solid #164223;
	border-radius: 0 14px 14px 0;
	font-style: italic;
	font-size: 18px;
	line-height: 1.7;
	color: #164223;
}

.bm-single-article-body ul,
.bm-single-article-body ol {
	padding-left: 28px;
	margin-bottom: 28px;
}

.bm-single-article-body li {
	margin-bottom: 10px;
	line-height: 1.7;
}

/* Key Takeaways Callout Box */
.bm-takeaways-box {
	background: linear-gradient(135deg, #f2f7f3 0%, #eaf3ec 100%);
	border: 1px solid #d4e7d7;
	border-radius: 18px;
	padding: 28px 32px;
	margin: 40px 0;
}

.bm-takeaways-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.bm-takeaways-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(62, 160, 60, 0.15);
}

.bm-takeaways-title {
	font-size: 18px !important;
	font-weight: 800 !important;
	color: #164223 !important;
	margin: 0 !important;
}

.bm-takeaways-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bm-takeaways-list li {
	position: relative;
	padding-left: 26px;
	font-size: 15px;
	line-height: 1.6;
	color: #384b3c;
	margin: 0 !important;
}

.bm-takeaways-list li::before {
	content: "✔";
	position: absolute;
	left: 0;
	top: 0;
	color: #3ea03c;
	font-weight: 800;
	font-size: 15px;
}

/* Related Tags */
.bm-single-tags-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	padding: 24px 0;
	border-top: 1px solid #eef2ed;
}

.bm-tags-label {
	font-size: 13.5px;
	font-weight: 700;
	color: #164223;
}

.bm-tags-list {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.bm-tag-pill {
	display: inline-block;
	background: #f1f5f2;
	color: #1f5730;
	font-size: 12.5px;
	font-weight: 600;
	padding: 5px 14px;
	border-radius: 9999px;
	text-decoration: none;
	transition: all 0.2s ease;
}

.bm-tag-pill:hover {
	background: #164223;
	color: #ffffff;
}

/* Share Article Bar */
.bm-single-share-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 24px;
	background: #fbfdfb;
	border: 1px solid #e6eae7;
	border-radius: 14px;
	margin: 16px 0 36px 0;
	gap: 16px;
	flex-wrap: wrap;
}

.bm-share-title {
	font-size: 14px;
	font-weight: 700;
	color: #164223;
}

.bm-share-buttons {
	display: flex;
	align-items: center;
	gap: 10px;
}

.bm-share-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 9999px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid #dde3de;
	background: #ffffff;
	color: #2e3a31;
	cursor: pointer;
	transition: all 0.2s ease;
}

.bm-share-btn:hover {
	transform: translateY(-2px);
}

.bm-share-whatsapp:hover {
	background-color: #25d366;
	color: #ffffff;
	border-color: #25d366;
}

.bm-share-linkedin:hover {
	background-color: #0a66c2;
	color: #ffffff;
	border-color: #0a66c2;
}

.bm-share-copy:hover {
	background-color: #164223;
	color: #ffffff;
	border-color: #164223;
}

/* Author Box Card */
.bm-single-author-card {
	display: flex;
	align-items: center;
	gap: 22px;
	padding: 28px;
	background: #ffffff;
	border: 1px solid #eef2ed;
	border-radius: 18px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
	margin-bottom: 36px;
}

.bm-author-card-avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #164223;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: 800;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(22, 66, 35, 0.25);
}

.bm-author-card-body {
	flex: 1;
}

.bm-author-card-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}

.bm-author-card-name {
	font-size: 16px !important;
	font-weight: 800 !important;
	color: #164223 !important;
	margin: 0 !important;
}

.bm-author-card-badge {
	background: #eef7f0;
	color: #256a35;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 9999px;
}

.bm-author-card-desc {
	font-size: 13.5px;
	color: #5e6d62;
	line-height: 1.6;
	margin: 0;
}

/* Previous / Next Article Navigation */
.bm-single-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 24px;
}

.bm-nav-post-card {
	display: flex;
	flex-direction: column;
	padding: 20px 24px;
	background: #fbfdfb;
	border: 1px solid #e6eae7;
	border-radius: 14px;
	text-decoration: none;
	transition: all 0.25s ease;
}

.bm-nav-post-card:hover {
	transform: translateY(-3px);
	border-color: #3ea03c;
	background: #ffffff;
	box-shadow: 0 10px 24px rgba(22, 66, 35, 0.06);
}

.bm-nav-direction {
	font-size: 12px;
	font-weight: 700;
	color: #3ea03c;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 6px;
}

.bm-nav-next .bm-nav-direction {
	align-self: flex-end;
}

.bm-nav-post-title {
	font-size: 14.5px;
	font-weight: 700;
	color: #164223;
	line-height: 1.35;
}

.bm-nav-next {
	text-align: right;
}

/* Widget: Veterinary Consultation Callout in Sidebar */
.bm-sidebar-sticky-group {
	position: -webkit-sticky;
	position: sticky;
	top: 96px;
	z-index: 10;
	display: flex;
	flex-direction: column;
	gap: 20px;
	transition: top 0.2s ease;
}

.admin-bar .bm-sidebar-sticky-group {
	top: 130px;
}

.bm-sidebar-sticky-group .bm-widget-recent {
	position: static !important;
	top: auto !important;
}

.bm-sidebar-sticky-group .bm-widget-consultation {
	margin-top: 0;
}

/* Compact sticky styling for smaller height screens so both blocks fit comfortably */
@media (max-height: 850px) {
	.bm-sidebar-sticky-group {
		top: 76px;
		gap: 14px;
	}

	.admin-bar .bm-sidebar-sticky-group {
		top: 110px;
	}

	.bm-sidebar-sticky-group .bm-widget-recent {
		padding: 18px 20px;
	}

	.bm-sidebar-sticky-group .bm-widget-title {
		margin-bottom: 14px !important;
		font-size: 16px !important;
	}

	.bm-sidebar-sticky-group .bm-recent-list {
		gap: 12px;
	}

	.bm-sidebar-sticky-group .bm-recent-thumb-link {
		width: 50px;
		height: 50px;
	}

	.bm-sidebar-sticky-group .bm-recent-post-title {
		font-size: 13.5px;
		line-height: 1.3;
	}

	.bm-sidebar-sticky-group .bm-widget-consultation {
		padding: 18px 20px;
	}

	.bm-sidebar-sticky-group .bm-consultation-icon {
		width: 42px;
		height: 42px;
		margin-bottom: 10px;
	}

	.bm-sidebar-sticky-group .bm-consultation-title {
		font-size: 15px !important;
		margin-bottom: 6px !important;
	}

	.bm-sidebar-sticky-group .bm-consultation-desc {
		font-size: 12px !important;
		line-height: 1.45 !important;
		margin-bottom: 14px !important;
	}

	.bm-sidebar-sticky-group .bm-consultation-btn {
		padding: 9px 16px !important;
		font-size: 12.5px !important;
	}
}

.bm-widget-consultation {
	background: linear-gradient(135deg, #f2f7f3 0%, #e6f3e8 100%);
	border: 1px solid #d4e7d8;
	border-radius: 16px;
	padding: 24px;
	margin-top: 0;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.bm-consultation-icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
	box-shadow: 0 4px 12px rgba(22, 66, 35, 0.08);
}

.bm-consultation-title {
	font-size: 17px !important;
	font-weight: 800 !important;
	color: #164223 !important;
	margin: 0 0 8px 0 !important;
	line-height: 1.3 !important;
}

.bm-consultation-desc {
	font-size: 13px !important;
	color: #556658 !important;
	line-height: 1.55 !important;
	margin: 0 0 18px 0 !important;
}

.bm-consultation-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	width: 100% !important;
	padding: 11px 20px !important;
	background-color: #164223 !important;
	color: #ffffff !important;
	font-size: 13.5px !important;
	font-weight: 700 !important;
	border-radius: 9999px !important;
	text-decoration: none !important;
	transition: all 0.25s ease !important;
}

.bm-consultation-btn:hover {
	background-color: #245a34 !important;
	transform: translateY(-2px);
}

/* Related Articles Section */
.bm-related-posts-section {
	padding: clamp(50px, 6vw, 84px) 0;
	background-color: #f7f9f7;
	border-top: 1px solid #eef2ed;
}

.bm-related-header {
	margin-bottom: 36px;
}

.bm-related-title {
	font-size: clamp(26px, 3vw, 36px) !important;
	font-weight: 800 !important;
	color: #164223 !important;
	line-height: 1.25 !important;
	margin: 0 !important;
	letter-spacing: -0.4px !important;
}

.bm-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(20px, 2.5vw, 32px);
}

.bm-related-card {
	background: #ffffff;
}

/* Tablet & Mobile Breakpoints for Single Post */
@media (max-width: 1024px) {
	.bm-single-layout {
		flex-direction: column;
		gap: 48px;
	}

	.bm-single-main-col {
		width: 100%;
	}

	.bm-sidebar-sticky-group {
		position: static !important;
		top: auto !important;
	}

	.bm-related-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.bm-single-author-bar {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}

	.bm-single-author-card {
		flex-direction: column;
		text-align: center;
		align-items: center;
	}

	.bm-author-card-header {
		justify-content: center;
	}

	.bm-single-share-bar {
		flex-direction: column;
		align-items: flex-start;
	}

	.bm-share-buttons {
		width: 100%;
		flex-wrap: wrap;
	}

	.bm-single-post-nav {
		grid-template-columns: 1fr;
	}

	.bm-nav-next {
		text-align: left;
	}

	.bm-nav-next .bm-nav-direction {
		align-self: flex-start;
	}

	.bm-related-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   7. Dedicated Search Results Page Layout
   ========================================================================== */
.blackmango-search-page {
	width: 100%;
	background-color: #fafbf9;
	color: #1a221b;
}

.bm-search-hero-section {
	padding: clamp(36px, 4vw, 56px) 0 36px 0;
	background: linear-gradient(180deg, #f0f5f1 0%, #f9fbf9 100%);
	border-bottom: 1px solid #eef2ed;
}

.bm-search-hero-content {
	max-width: 820px;
}

.bm-search-hero-title {
	font-size: clamp(28px, 3.5vw, 42px) !important;
	font-weight: 800 !important;
	color: #164223 !important;
	line-height: 1.2 !important;
	margin: 14px 0 12px 0 !important;
	letter-spacing: -0.5px !important;
}

.bm-search-term {
	color: #1f5730;
	font-style: italic;
	text-decoration: underline;
	text-decoration-color: #3ea03c;
	text-underline-offset: 4px;
}

.bm-search-hero-count {
	font-size: 15px;
	color: #556658;
	margin: 0 0 24px 0;
	line-height: 1.6;
}

.bm-search-hero-count strong {
	color: #164223;
	font-weight: 700;
}

/* Hero Search Form */
.bm-search-hero-box {
	max-width: 680px;
	margin-top: 10px;
}

.bm-search-hero-form {
	width: 100%;
}

.bm-search-hero-input-wrap {
	display: flex;
	align-items: center;
	background: #ffffff;
	border: 2px solid #d4ded6;
	border-radius: 9999px;
	padding: 5px 6px 5px 18px;
	box-shadow: 0 4px 18px rgba(22, 66, 35, 0.06);
	transition: all 0.25s ease;
}

.bm-search-hero-input-wrap:focus-within {
	border-color: #164223;
	box-shadow: 0 6px 24px rgba(22, 66, 35, 0.12);
}

.bm-search-hero-icon {
	flex-shrink: 0;
	margin-right: 12px;
	opacity: 0.7;
}

.bm-search-hero-input {
	flex: 1;
	border: none !important;
	outline: none !important;
	padding: 10px 0 !important;
	font-size: 15px !important;
	color: #164223 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.bm-search-hero-input::placeholder {
	color: #8a968d;
}

.bm-search-hero-submit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: #164223;
	color: #ffffff !important;
	border: none;
	border-radius: 9999px;
	padding: 11px 24px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
	flex-shrink: 0;
}

.bm-search-hero-submit:hover {
	background-color: #245a34;
	transform: translateY(-1px);
}

/* Search Main Section */
.bm-search-main-section {
	padding: clamp(40px, 5vw, 68px) 0 clamp(60px, 7vw, 90px) 0;
	background-color: #fafbf9;
}

/* Empty State Card */
.bm-search-empty-card {
	background: #ffffff;
	border: 1px solid #eef2ed;
	border-radius: 20px;
	padding: clamp(32px, 4vw, 48px);
	text-align: center;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.bm-search-empty-icon {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: #f1f6f2;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px auto;
}

.bm-search-empty-title {
	font-size: clamp(22px, 2.5vw, 28px) !important;
	font-weight: 800 !important;
	color: #164223 !important;
	margin: 0 0 12px 0 !important;
}

.bm-search-empty-desc {
	font-size: 15px;
	color: #556658;
	line-height: 1.65;
	max-width: 540px;
	margin: 0 auto 28px auto;
}

.bm-search-suggested-topics {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 24px;
	background: #fbfdfb;
	border: 1px dashed #d5ded7;
	border-radius: 14px;
	margin-bottom: 40px;
}

.bm-suggested-label {
	font-size: 13.5px;
	font-weight: 700;
	color: #164223;
}

.bm-suggested-tags {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.bm-search-fallback-wrap {
	text-align: left;
	margin-top: 44px;
	padding-top: 36px;
	border-top: 1px solid #eef2ed;
}

.bm-search-fallback-title {
	font-size: 20px !important;
	font-weight: 800 !important;
	color: #164223 !important;
	margin: 0 0 24px 0 !important;
}

@media (max-width: 640px) {
	.bm-search-hero-input-wrap {
		flex-direction: column;
		border-radius: 16px;
		padding: 12px;
		gap: 10px;
	}

	.bm-search-hero-input {
		width: 100%;
		text-align: center;
	}

	.bm-search-hero-submit {
		width: 100%;
		justify-content: center;
	}

	.bm-search-hero-icon {
		display: none;
	}
}
