:root {
	--abp-primary: #0B3D91;
	--abp-accent: #2E8B57;
	--abp-text: #222;
	--abp-muted: #666;
	--abp-bg: #fafafa;
}

.abp-blog-body {
	background: var(--abp-bg) !important;
	color: var(--abp-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.abp-archive-wrap,
.abp-post-header,
.abp-post-body {
	background: var(--abp-bg);
}

/* Reading progress bar */
#abp-reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 4px;
	width: 0%;
	background: linear-gradient(90deg, var(--abp-primary), var(--abp-accent));
	z-index: 9999;
	transition: width 0.1s ease;
}

/* Breadcrumbs */
.abp-breadcrumbs {
	font-size: 13px !important;
	color: var(--abp-muted) !important;
	margin: 0 0 20px !important;
	display: block !important;
}
.abp-breadcrumbs a {
	color: var(--abp-muted);
	text-decoration: none;
}
.abp-breadcrumbs a:hover {
	color: var(--abp-primary);
}
.abp-breadcrumbs span {
	color: var(--abp-text);
}

/* Category filter pills */
.abp-category-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-bottom: 45px;
}
.abp-pill {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 30px;
	border: 1px solid #ddd;
	background: #fff;
	color: var(--abp-text);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s ease;
}
.abp-pill:hover {
	border-color: var(--abp-accent);
}
.abp-pill.active {
	background: var(--abp-accent);
	border-color: var(--abp-accent);
	color: #fff;
}

/* Archive / listing grid */
.abp-archive-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 24px 80px !important;
}
.abp-archive-header, .abp-author-header {
	text-align: center;
	margin-bottom: 25px;
}
.abp-archive-header h1, .abp-author-header h1 {
	font-size: 38px;
	color: var(--abp-primary);
	margin-bottom: 8px;
	text-decoration: underline;
	text-decoration-color: var(--abp-accent);
	text-underline-offset: 8px;
}
.abp-author-header img {
	border-radius: 50%;
	margin-bottom: 16px;
}
.abp-archive-header p, .abp-author-header p {
	color: var(--abp-muted);
	max-width: 500px;
	margin: 0 auto;
}
.abp-author-topbar {
	height: 6px;
	background: var(--abp-accent);
}

.abp-archive-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 32px;
}
.abp-post-card {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 2px 10px rgba(0,0,0,0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.abp-post-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}
.abp-card-image img {
	width: 100%;
	height: 210px;
	object-fit: cover;
	display: block;
}
.abp-card-body {
	padding: 22px;
}
.abp-category-badge {
	display: inline-block;
	background: var(--abp-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 20px;
	margin-bottom: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.abp-card-body h2 {
	font-size: 20px;
	margin: 0 0 10px;
	line-height: 1.4;
	color: var(--abp-text);
}
.abp-card-body p {
	color: var(--abp-muted);
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 16px;
}
.abp-card-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--abp-muted);
	flex-wrap: wrap;
}
.abp-card-meta img {
	border-radius: 50%;
}

.abp-pagination {
	margin-top: 50px;
	text-align: center;
}
.abp-pagination a, .abp-pagination span {
	display: inline-block;
	margin: 0 4px;
	padding: 8px 14px;
	border-radius: 6px;
	text-decoration: none;
	color: var(--abp-text);
}
.abp-pagination .current {
	background: var(--abp-primary);
	color: #fff;
}

/* Single post — Neil Patel style: breadcrumb, title, author/meta row, image below */
.abp-post-header {
	max-width: 850px;
	margin: 0 auto;
	padding: 48px 24px 0 !important;
}
.abp-post-header h1 {
	font-size: 36px;
	line-height: 1.3;
	margin: 0 0 24px;
	color: var(--abp-text);
}
.abp-post-top-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	padding-bottom: 24px;
	margin-bottom: 24px;
	border-bottom: 1px solid #eee;
}
.abp-top-author {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--abp-text);
}
.abp-top-author img {
	border-radius: 50%;
}
.abp-top-author span {
	display: flex;
	flex-direction: column;
	font-size: 14px;
}
.abp-top-author strong {
	color: var(--abp-primary);
}
.abp-top-author em {
	font-style: normal;
	color: var(--abp-muted);
	font-size: 12px;
}
.abp-top-dates {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	font-size: 13px;
	color: var(--abp-muted);
}

.abp-featured-image {
	border-radius: 14px;
	overflow: hidden;
	margin-bottom: 10px;
}
.abp-featured-image img {
	width: 100%;
	height: auto;
	display: block;
}

.abp-post-body {
	max-width: 850px;
	margin: 0 auto;
	padding: 40px 24px 90px;
}
.abp-post-content {
	font-size: 18px;
	line-height: 1.85;
	color: var(--abp-text);
}
.abp-post-content p {
	margin-bottom: 22px;
}
.abp-post-content h2 {
	margin-top: 45px;
	margin-bottom: 16px;
	font-weight: 700;
	color: var(--abp-primary);
}
.abp-post-content h3 {
	margin-top: 35px;
	margin-bottom: 14px;
	font-weight: 600;
}
.abp-post-content blockquote {
	border-left: 4px solid var(--abp-accent);
	padding: 6px 0 6px 22px;
	font-size: 21px;
	font-style: italic;
	color: #333;
	margin: 32px 0;
}
.abp-post-content img {
	border-radius: 10px;
	max-width: 100%;
	height: auto;
}

/* Author box (bottom of post) */
.abp-author-box {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	background: #fff;
	border-radius: 14px;
	padding: 28px;
	margin: 50px 0;
	box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.abp-author-box-img {
	border-radius: 10px;
	width: 90px;
	height: 90px;
	object-fit: cover;
	flex-shrink: 0;
}
.abp-author-label {
	display: block;
	font-size: 13px;
	color: var(--abp-muted);
	margin-bottom: 6px;
}
.abp-author-name {
	font-size: 19px;
	font-weight: 700;
	color: var(--abp-accent);
	text-decoration: none;
	display: block;
}
.abp-author-role {
	color: var(--abp-muted);
	font-size: 14px;
	margin: 4px 0 10px;
}
.abp-author-bio {
	color: var(--abp-text);
	font-size: 14px;
	line-height: 1.7;
	margin: 0;
}

.abp-related-posts h3 {
	margin-bottom: 20px;
	color: var(--abp-primary);
}
.abp-related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
}
.abp-related-card {
	text-decoration: none;
	color: inherit;
}
.abp-related-card img {
	width: 100%;
	height: 130px;
	object-fit: cover;
	border-radius: 10px;
	margin-bottom: 10px;
}
.abp-related-card h4 {
	font-size: 15px;
	line-height: 1.4;
	color: var(--abp-text);
}

/* Extra clearance below the site's fixed header — aligned to its own
   900px breakpoint, with generous buffer since the header's own
   mobile padding-top has very little margin for error. */
@media (max-width: 900px) {
	.abp-archive-wrap { padding-top: 56px !important; }
	.abp-post-header { padding-top: 56px !important; }
}

@media (max-width: 780px) {
	.abp-post-top-meta { flex-direction: column; align-items: flex-start; }
	.abp-top-dates { align-items: flex-start; }
	.abp-post-header h1 { font-size: 28px; }
	.abp-author-box { flex-direction: column; text-align: center; align-items: center; }
}
