/*
 * The Bulltime - Vanilla CSS Framework
 * High Performance, SaaS Dashboard aesthetic.
 */

:root {
	/* Colors */
	--tb-primary: #2563eb;
	--tb-primary-hover: #1d4ed8;
	--tb-secondary: #0f172a;
	--tb-accent: #f59e0b;
	--tb-success: #10b981;
	--tb-warning: #f59e0b;
	--tb-danger: #ef4444;
	
	--tb-bg-body: #f8fafc;
	--tb-bg-card: #ffffff;
	
	--tb-text-main: #334155;
	--tb-text-heading: #0f172a;
	--tb-text-muted: #64748b;
	
	--tb-border: #e2e8f0;

	/* Typography */
	--tb-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--tb-font-heading: 'Outfit', 'Inter', sans-serif;
	
	/* Spacing */
	--tb-space-xs: 0.25rem;
	--tb-space-sm: 0.5rem;
	--tb-space-md: 1rem;
	--tb-space-lg: 1.5rem;
	--tb-space-xl: 2rem;
	
	/* Borders & Shadows */
	--tb-radius: 12px;
	--tb-radius-lg: 16px;
	--tb-radius-full: 9999px;
	
	--tb-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--tb-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--tb-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	
	/* Gradients */
	--tb-gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
	
	/* Container */
	--tb-container-width: 1200px;
}

/* Reset & Base */
*, *::before, *::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--tb-font-body);
	color: var(--tb-text-main);
	background-color: #e2e8f0; /* Grey background for boxed layout */
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--tb-font-heading);
	color: var(--tb-text-heading);
	font-weight: 600;
	line-height: 1.2;
	margin-top: 0;
	margin-bottom: var(--tb-space-md);
}

a {
	color: var(--tb-primary);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--tb-primary-hover);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
	border-radius: var(--tb-radius);
}

/* Layout */
.site-wrapper {
	max-width: var(--tb-container-width);
	margin: 0 auto;
	background-color: var(--tb-bg-card);
	box-shadow: 0 0 20px rgba(0,0,0,0.1);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-content {
	flex-grow: 1; /* Pushes footer to bottom if content is short */
}

.site-container {
	width: 100%;
	margin: 0 auto;
	padding: 0 var(--tb-space-lg);
}

.layout-with-sidebar {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--tb-space-xl);
}

@media (min-width: 992px) {
	.layout-with-sidebar {
		grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
	}
}

.widget-area {
	display: flex;
	flex-direction: column;
	gap: var(--tb-space-xl);
}

.widget {
	background: var(--tb-bg-card);
	padding: var(--tb-space-xl);
	border-radius: var(--tb-radius-lg);
	box-shadow: var(--tb-shadow-sm);
	border: 1px solid var(--tb-border);
}

.widget-title {
	font-size: 1.25rem;
	border-bottom: 2px solid var(--tb-primary);
	padding-bottom: var(--tb-space-sm);
	margin-bottom: var(--tb-space-lg);
	display: inline-block;
}

/* Header & Navigation */
.site-header {
	background: var(--tb-bg-card);
	position: relative; /* Remove sticky if boxed layout, or keep it inside the wrapper */
	z-index: 100;
}

/* Header Layout (Stacked & Centered) */
.site-header {
	width: 100%;
}

.header-branding-banner {
	padding: 30px 0;
	text-align: center;
	color: #fff;
}

.header-branding-banner .site-container {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

.site-branding-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.site-title {
	margin: 0;
	font-size: 2.2rem;
	font-weight: 700;
	letter-spacing: 1px;
}

.site-title a {
	color: #fff;
}

.site-tagline {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 500;
	opacity: 0.9;
}

/* Custom Logo */
.custom-logo-link img {
	max-height: 80px;
	width: auto;
}

/* Mobile Menu Toggle */
.menu-toggle {
	display: none;
	background: transparent;
	border: 1px solid rgba(255,255,255,0.5);
	padding: 8px 12px;
	border-radius: var(--tb-radius);
	color: #fff;
	cursor: pointer;
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
}

.menu-toggle .dashicons {
	font-size: 24px;
	width: 24px;
	height: 24px;
}

/* Desktop Navigation Bar */
.header-nav-banner {
	padding: 0;
	border-bottom: 2px solid rgba(0,0,0,0.1);
}

.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

.main-navigation li {
	display: flex;
	align-items: center;
}

/* The Pipe Separator */
.main-navigation li:not(:last-child)::after {
	content: "|";
	color: rgba(255, 255, 255, 0.8);
	margin: 0 15px;
	font-size: 14px;
	display: inline-block;
	vertical-align: middle;
}

.main-navigation a {
	color: #ffffff;
	font-weight: 600;
	padding: 12px 5px;
	display: inline-block;
	font-size: 0.95rem;
	letter-spacing: 0.5px;
	transition: opacity 0.2s;
	vertical-align: middle;
}

.main-navigation a:hover {
	opacity: 0.8;
}

/* Mobile Menu - Horizontally Scrollable */
@media (max-width: 991px) {
	.menu-toggle {
		display: none;
	}
	
	.header-nav-banner {
		display: block; /* Ensure the nav banner is visible on mobile */
		width: 100%;
		overflow: hidden;
	}

	.main-navigation ul {
		display: flex;
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		white-space: nowrap;
		justify-content: flex-start; /* Align left for scrolling */
		padding: 0;
		margin: 0;
		scrollbar-width: none; /* Firefox */
	}
	
	.main-navigation ul::-webkit-scrollbar {
		display: none; /* Safari and Chrome */
	}

	.main-navigation li {
		display: inline-block;
		vertical-align: middle;
	}
	
	.main-navigation li:not(:last-child)::after {
		margin: 0 5px;
	}
	
	.main-navigation a {
		padding: 10px 5px;
		font-size: 0.9rem;
	}
}

/* Utilities */
.btn, .button {
	display: inline-block;
	padding: 0.5rem 1.25rem;
	font-weight: 500;
	text-align: center;
	border-radius: var(--tb-radius);
	cursor: pointer;
	transition: all 0.2s ease;
	border: none;
}

.btn-primary {
	background: var(--tb-primary);
	color: #fff;
	box-shadow: var(--tb-shadow);
}

.btn-primary:hover {
	background: var(--tb-primary-hover);
	transform: translateY(-1px);
	box-shadow: var(--tb-shadow-lg);
}

/* Cards (Job Card / Post Grid) */
.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: var(--tb-space-xl);
	margin-top: var(--tb-space-xl);
}

.post-grid article {
	background: var(--tb-bg-card);
	border-radius: var(--tb-radius-lg);
	padding: var(--tb-space-xl);
	box-shadow: var(--tb-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-grid article:hover {
	transform: translateY(-4px);
	box-shadow: var(--tb-shadow-lg);
}

/* Footer */
.site-footer {
	background: var(--tb-secondary);
	color: #fff;
	padding: var(--tb-space-xl) 0;
	margin-top: var(--tb-space-xl);
}

.site-info {
	border-top: 1px solid rgba(255,255,255,0.1);
	margin-top: var(--tb-space-xl);
	padding-top: var(--tb-space-md);
	text-align: center;
	font-size: 0.875rem;
}

/* Back to top */
.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	background: var(--tb-primary);
	color: #fff;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: var(--tb-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: 999;
}
.back-to-top.show {
	opacity: 1;
	visibility: visible;
}
.back-to-top:hover {
	background: var(--tb-primary-hover);
	transform: translateY(-3px);
}

/* Single Post Layout */
.single-post-layout .entry-title {
	font-size: 2.5rem;
	margin-bottom: var(--tb-space-md);
}

.post-meta-top {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
	padding: 10px 0;
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--tb-border);
	border-radius: 0;
	margin-bottom: var(--tb-space-md);
	font-size: 0.9rem;
	color: var(--tb-text-main);
	box-shadow: none;
}

.post-meta-top .meta-author {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	color: var(--tb-text-heading);
}

.post-meta-top .meta-author img {
	border-radius: 50%;
	width: 30px;
	height: 30px;
}

.meta-separator {
	color: var(--tb-border);
}

.post-meta-top .meta-date,
.post-meta-top .meta-read-time {
	display: flex;
	align-items: center;
	gap: 5px;
	color: var(--tb-text-muted);
}

.post-meta-top .meta-actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 10px;
}

.btn-share-icon {
	background: transparent;
	border: 1px solid var(--tb-border);
	border-radius: 50%;
	width: 35px;
	height: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--tb-text-muted);
	transition: all 0.2s;
}

.btn-share-icon:hover {
	background: var(--tb-bg-body);
	color: var(--tb-text-heading);
}

.btn-google-source {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background: var(--tb-bg-card);
	border: 1px solid var(--tb-border);
	border-radius: 50px;
	color: var(--tb-text-heading);
	font-weight: 500;
	font-size: 0.9rem;
	box-shadow: var(--tb-shadow-sm);
	transition: all 0.2s;
}

.btn-google-source:hover {
	background: var(--tb-bg-body);
}

.btn-share-icon {
	background: #fff;
	border: 1px solid var(--tb-border);
	border-radius: 50%;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: var(--tb-shadow-sm);
	color: var(--tb-text-main);
	transition: all 0.2s;
}

.btn-share-icon:hover {
	border-color: var(--tb-primary);
	color: var(--tb-primary);
}

.post-thumbnail {
	margin-bottom: var(--tb-space-xl);
}

.post-thumbnail img,
.job-banner img {
	width: 100%;
	border-radius: var(--tb-radius-lg);
	box-shadow: var(--tb-shadow);
	display: block;
}

/* Post Footer (Light Mode Requested) */
.post-footer-light {
	margin-top: var(--tb-space-xl);
	padding-top: var(--tb-space-lg);
	border-top: 1px solid var(--tb-border);
}

.post-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-bottom: var(--tb-space-lg);
}

.tags-label {
	font-weight: 600;
	color: var(--tb-text-heading);
	display: flex;
	align-items: center;
	gap: 5px;
}



/* Ensure the site wrapper takes full height and flexes */
.site-wrapper {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	min-height: 100%;
}

/* Push the footer down by letting the main content grow */
.site-main, #primary {
	flex-grow: 1;
}

.post-tags a {
	background: var(--tb-bg-body);
	color: var(--tb-text-muted);
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.85rem;
	border: 1px solid var(--tb-border);
}

.post-tags a:hover {
	background: var(--tb-primary);
	color: #fff;
	border-color: var(--tb-primary);
}

.post-share-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-bottom: var(--tb-space-xl);
	padding-bottom: var(--tb-space-lg);
	border-bottom: 1px solid var(--tb-border);
}

.share-label {
	font-weight: 600;
	margin-right: 10px;
}

.share-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 30px;
	color: #fff !important;
	font-weight: 600;
	font-size: 0.85rem;
	flex: 1 1 auto;
	border: none;
	cursor: pointer;
	text-decoration: none;
}

.share-whatsapp { background: #25D366; }
.share-telegram { background: #0088cc; }
.share-facebook { background: #1877F2; }
.share-twitter { background: #000000; }
.share-linkedin { background: #0A66C2; }
.share-more { background: #8B5CF6; }

/* Author Box Light */
.author-box {
	display: flex;
	gap: 20px;
	background: #ffffff;
	padding: 30px;
	border-radius: 24px;
	border: 1px solid #f1f5f9;
	box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
	margin-bottom: 2rem;
}

.author-avatar img {
	border-radius: 50%;
	width: 90px !important;
	height: 90px !important;
	max-width: 90px;
	border: 3px solid #ffffff;
	box-shadow: 0 0 0 3px #e0e7ff;
	object-fit: cover !important;
	flex-shrink: 0;
	display: block;
	margin: 5px;
}

.author-info .written-by {
	font-size: 0.8rem;
	font-weight: 700;
	color: #6366f1;
	letter-spacing: 1px;
	text-transform: uppercase;
	display: block;
	margin-bottom: 8px;
}

.author-name-box {
	margin: 0 0 12px 0;
	font-size: 1.4rem;
	font-weight: 700;
	color: #0f172a;
}

.author-bio {
	color: #475569;
	margin-bottom: 15px;
	line-height: 1.6;
}

.author-link {
	font-size: 0.95rem;
	font-weight: 600;
	color: #94a3b8;
}

.author-link:hover {
	color: #6366f1;
}

/* FAQ Design (Light Mode adaptation of screenshot) */
.tb-faq-item {
	background: var(--tb-bg-card);
	border: 1px solid var(--tb-border);
	border-radius: var(--tb-radius-lg);
	padding: 2px 20px;
	margin-bottom: var(--tb-space-xl);
	box-shadow: var(--tb-shadow-sm);
}

.tb-faq-question {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 15px;
}

.tb-faq-question h4 {
	margin: 0;
	font-size: 1.1rem;
	color: var(--tb-text-heading);
	line-height: 1.4;
}

.tb-faq-icon {
	background: #8B5CF6;
	color: #fff;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-size: 12px;
	font-weight: bold;
	flex-shrink: 0;
	margin-left: 15px;
}

.tb-faq-answer {
	color: var(--tb-text-main);
	font-size: 0.95rem;
	line-height: 1.6;
}

.tb-faq-answer p {
	margin: 0;
}

/* Comments Section Styling */
.comments-area {
	margin-top: 1.5rem; /* Reduced Gap */
	padding-top: var(--tb-space-xl);
	border-top: 1px solid var(--tb-border);
}

.comment-respond {
	background: var(--tb-bg-card);
	padding: var(--tb-space-xl);
	border-radius: var(--tb-radius-lg);
	box-shadow: var(--tb-shadow-sm);
	border: 1px solid var(--tb-border);
}

.comment-reply-title {
	font-size: 1.5rem;
	margin-bottom: var(--tb-space-md);
}

.comment-form {
	display: flex;
	flex-direction: column;
	gap: var(--tb-space-md);
}

.comment-form p {
	margin: 0;
	padding: 0;
}

.comment-form label {
	display: block;
	font-weight: 500;
	margin-bottom: 5px;
	color: var(--tb-text-heading);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid var(--tb-border);
	border-radius: var(--tb-radius);
	font-family: inherit;
	font-size: 1rem;
	background: var(--tb-bg-body);
	color: var(--tb-text-main);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--tb-primary);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.comment-form .submit {
	background: var(--tb-primary);
	color: #fff;
	border: none;
	padding: 12px 24px;
	border-radius: var(--tb-radius);
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s;
	display: inline-block;
	width: auto;
	align-self: flex-start;
}

.comment-form .submit:hover {
	background: var(--tb-primary-hover);
}

/* Header Live Search */
.header-search-wrap {
	position: relative;
	display: flex;
	align-items: center;
	margin-left: var(--tb-space-lg);
}

.header-search-toggle {
	background: transparent;
	border: none;
	color: var(--tb-text-heading);
	cursor: pointer;
	padding: 8px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
}

.header-search-toggle:hover {
	background: var(--tb-bg-body);
}

.header-search-dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	width: 320px;
	background: var(--tb-bg-card);
	box-shadow: var(--tb-shadow-lg);
	border: 1px solid var(--tb-border);
	border-radius: var(--tb-radius-lg);
	padding: 15px;
	margin-top: 15px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s ease;
	z-index: 999;
}

.header-search-wrap.active .header-search-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.header-search-dropdown .search-form {
	display: flex;
	margin-bottom: 15px;
}

.header-search-dropdown .search-field {
	flex-grow: 1;
	padding: 10px 15px;
	border: 1px solid var(--tb-border);
	border-radius: var(--tb-radius) 0 0 var(--tb-radius);
	outline: none;
	font-family: inherit;
}

.header-search-dropdown .search-field:focus {
	border-color: var(--tb-primary);
}

.header-search-dropdown .search-submit {
	background: var(--tb-primary);
	color: #fff;
	border: none;
	padding: 0 15px;
	border-radius: 0 var(--tb-radius) var(--tb-radius) 0;
	cursor: pointer;
}

.header-search-dropdown .search-submit::before {
	content: "🔍";
	font-size: 16px;
}

.live-search-results {
	max-height: 350px;
	overflow-y: auto;
}

.live-search-results .searching,
.live-search-results .no-results,
.live-search-results .error {
	padding: 10px;
	text-align: center;
	color: var(--tb-text-muted);
	font-size: 14px;
}

.search-suggestions {
	list-style: none;
	margin: 0;
	padding: 0;
}

.search-suggestions li {
	margin-bottom: 5px;
}

.search-suggestions li:last-child {
	margin-bottom: 0;
}

.search-suggestions a {
	display: block;
	padding: 8px 12px;
	color: var(--tb-text-main);
	border-radius: var(--tb-radius);
	transition: background 0.2s;
	font-size: 14px;
	line-height: 1.4;
}

.search-suggestions a:hover {
	background: var(--tb-bg-body);
	color: var(--tb-primary);
}

/* Breadcrumbs */
.thebulltime-breadcrumb {
	margin-bottom: 15px;
	font-size: 0.9rem;
	color: var(--tb-text-muted);
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	background: transparent;
	padding: 0;
	border-radius: 0;
	border: none;
	box-shadow: none;
}

.thebulltime-breadcrumb a {
	color: var(--tb-primary);
	font-weight: 500;
	transition: color 0.2s;
}

.thebulltime-breadcrumb a:hover {
	color: var(--tb-primary-hover);
}

.thebulltime-breadcrumb .separator {
	margin: 0 10px;
	color: #94a3b8;
	font-size: 14px;
}

.thebulltime-breadcrumb .current {
	color: var(--tb-text-heading);
	font-weight: 500;
}

/* Category Archive Theme */
.archive-dark-theme {
	/* Override background for the whole page if needed, but usually we just style the cards */
	padding-top: var(--tb-space-xl);
}

.archive-dark-theme .page-header {
	margin-bottom: var(--tb-space-xl);
	text-align: center;
}

/* Featured Post */
.archive-featured-post {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch; /* Ensure columns stretch to match height perfectly */
	background: #ffffff;
	border-radius: var(--tb-radius-lg);
	overflow: hidden;
	margin-bottom: var(--tb-space-xl);
	box-shadow: var(--tb-shadow);
	border: 1px solid var(--tb-border);
}

.archive-featured-post .featured-image-wrapper {
	width: 100%;
	position: relative;
}

@media (min-width: 992px) {
	.archive-featured-post .featured-image-wrapper {
		width: 55%;
	}
	.archive-featured-post .featured-content {
		width: 45%;
	}
}

.archive-featured-post .featured-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 0;
}

.badge-latest {
	position: absolute;
	top: 20px;
	left: 20px;
	background: rgba(0,0,0,0.6);
	color: #fff;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	backdrop-filter: blur(4px);
}

.archive-featured-post .featured-content {
	padding: 30px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 15px;
	color: #94a3b8;
	font-size: 13px;
	align-items: center;
}

.post-meta .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
	margin-right: 4px;
	vertical-align: middle;
	color: #ef4444; /* Red icons */
}

.post-meta .meta-cat {
	color: #2563eb; /* Blue category */
}

.archive-featured-post .featured-title {
	font-size: 2rem;
	margin-bottom: 15px;
}

.archive-featured-post .featured-title a {
	color: var(--tb-text-heading);
}

.archive-featured-post .featured-title a:hover {
	color: #ef4444;
}

.archive-featured-post .featured-excerpt {
	color: var(--tb-text-main);
	margin-bottom: 25px;
	font-size: 1rem;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Grid Cards */
.archive-post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
	margin-bottom: 40px;
}

.archive-grid-card {
	background: #ffffff;
	border-radius: var(--tb-radius-lg);
	overflow: hidden;
	border: 1px solid var(--tb-border);
	box-shadow: var(--tb-shadow);
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.archive-grid-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--tb-shadow-lg);
}

.card-image-wrapper img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
	border-radius: 0;
}

.card-content {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.card-title {
	font-size: 1.25rem;
	margin-bottom: 12px;
}

.card-title a {
	color: var(--tb-text-heading);
}

.card-title a:hover {
	color: #ef4444;
}

.card-excerpt {
	color: var(--tb-text-main);
	font-size: 0.95rem;
	margin-bottom: 20px;
	flex-grow: 1;
}

.read-more-link {
	color: #ef4444;
	font-weight: 600;
	font-size: 0.95rem;
	margin-top: auto;
}

.read-more-link:hover {
	color: #dc2626;
	text-decoration: underline;
}

/* Pagination Styling */
.thebulltime-pagination {
	margin: 40px 0;
	display: flex;
	justify-content: center;
}

.thebulltime-pagination .nav-links {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.thebulltime-pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 45px;
	height: 45px;
	padding: 0 15px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	color: #0f172a;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: all 0.2s ease;
}

.thebulltime-pagination a.page-numbers:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
	color: #0f172a;
}

.thebulltime-pagination .page-numbers.current {
	background: #ef4444; /* Red active state */
	border-color: #ef4444;
	color: #ffffff;
}

.thebulltime-pagination .page-numbers.dots {
	background: transparent;
	border-color: transparent;
	color: #0f172a;
	font-size: 18px;
	min-width: 30px;
}

/* -----------------------------
 * NEW FOOTER REDESIGN
 * ----------------------------- */
.site-footer {
	background: #ffffff;
	color: #000000;
	border-top: 1px solid var(--tb-border);
	padding: 60px 0 30px;
	margin-top: 60px;
}

.footer-top-area {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 40px;
	margin-bottom: 40px;
}

@media (max-width: 991px) {
	.footer-top-area {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 575px) {
	.footer-top-area {
		grid-template-columns: 1fr;
	}
}

.footer-brand-column .footer-logo h2 {
	margin: 0 0 15px;
	font-size: 1.5rem;
}

.footer-brand-column .footer-logo a {
	color: #000000;
}

.footer-brand-column .footer-description {
	color: #000000;
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 25px;
}

.footer-social-icons {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.footer-social-icons a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: #f8fafc;
	border: 1px solid var(--tb-border);
	color: #000000;
	transition: all 0.3s ease;
}

/* Brand Colors for Social Icons */
.footer-social-icons a.social-whatsapp { color: #25D366; border-color: rgba(37, 211, 102, 0.3); }
.footer-social-icons a.social-whatsapp:hover { background: #25D366; color: #fff; border-color: #25D366; }

.footer-social-icons a.social-facebook-alt { color: #1877F2; border-color: rgba(24, 119, 242, 0.3); }
.footer-social-icons a.social-facebook-alt:hover { background: #1877F2; color: #fff; border-color: #1877F2; }

.footer-social-icons a.social-twitter { color: #000000; border-color: rgba(0, 0, 0, 0.3); }
.footer-social-icons a.social-twitter:hover { background: #000000; color: #fff; border-color: #000000; }

.footer-social-icons a.social-instagram { color: #E1306C; border-color: rgba(225, 48, 108, 0.3); }
.footer-social-icons a.social-instagram:hover { background: #E1306C; color: #fff; border-color: #E1306C; }

.footer-social-icons a.social-linkedin { color: #0A66C2; border-color: rgba(10, 102, 194, 0.3); }
.footer-social-icons a.social-linkedin:hover { background: #0A66C2; color: #fff; border-color: #0A66C2; }

.footer-social-icons a.social-youtube { color: #FF0000; border-color: rgba(255, 0, 0, 0.3); }
.footer-social-icons a.social-youtube:hover { background: #FF0000; color: #fff; border-color: #FF0000; }

.footer-social-icons a.social-pinterest { color: #E60023; border-color: rgba(230, 0, 35, 0.3); }
.footer-social-icons a.social-pinterest:hover { background: #E60023; color: #fff; border-color: #E60023; }

.footer-social-icons a.social-megaphone { color: #0088cc; border-color: rgba(0, 136, 204, 0.3); }
.footer-social-icons a.social-megaphone:hover { background: #0088cc; color: #fff; border-color: #0088cc; }

.footer-column-title {
	font-size: 1rem;
	color: #000000;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 20px;
	font-weight: 700;
}

.footer-nav-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-nav-menu li {
	margin-bottom: 12px;
}

.footer-nav-menu a {
	color: #000000;
	font-size: 0.95rem;
	transition: color 0.2s;
}

.footer-nav-menu a:hover {
	color: var(--tb-primary);
}

.footer-bottom-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	padding-top: 30px;
	border-top: 1px solid var(--tb-border);
	font-size: 0.9rem;
	color: #000000;
}

.footer-bottom-menu {
	flex-grow: 1;
	display: flex;
	justify-content: center;
}

.footer-inline-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.footer-inline-menu a {
	color: #000000;
}

.footer-inline-menu a:hover {
	color: #64748b;
}

@media (max-width: 991px) {
	.footer-bottom-bar {
		flex-direction: column;
		text-align: center;
	}
}

/* Mobile Fixes */
@media (max-width: 767px) {
	.post-share-bottom {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
	}
	.share-label {
		display: none;
	}
	.share-btn {
		flex: 1 1 calc(33.333% - 10px);
		padding: 10px 5px;
		font-size: 0.85rem;
	}
	
	.author-box {
		flex-direction: column;
		text-align: center;
		align-items: center;
	}
	.author-info {
		text-align: center;
	}
	
	.comment-respond {
		padding: 15px;
	}
	
	.footer-inline-menu {
		justify-content: center;
	}
	
	.back-to-top {
		width: 40px;
		height: 40px;
		bottom: 20px;
		right: 20px;
	}
	.site-footer {
		padding-bottom: 80px;
	}
}

/* Home Page Hero Section */
.home-hero-section {
	margin-bottom: 30px;
}
.home-subheader {
	text-align: center;
	color: var(--tb-text-muted);
	font-size: 1.1rem;
	margin: 20px 0;
}
.home-search-bar {
	margin: 20px auto;
	max-width: 600px;
}
.home-search-bar .search-form {
	display: flex;
	border: 1px solid var(--tb-border);
	border-radius: 4px;
	overflow: hidden;
}
.home-search-bar .search-field {
	flex-grow: 1;
	border: none;
	padding: 12px 15px;
	outline: none;
}
.home-search-bar .search-submit {
	border: none;
	color: #fff;
	padding: 0 25px;
	cursor: pointer;
}
.home-cta-buttons {
	display: flex;
	gap: 15px;
	margin: 30px 0;
	flex-wrap: wrap;
}
.home-cta-btn {
	flex: 1;
	min-width: 250px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 20px;
	color: #fff !important;
	font-weight: 600;
	font-size: 1.1rem;
	border-radius: 4px;
	text-decoration: none;
	transition: opacity 0.2s;
}
.home-cta-btn:hover {
	opacity: 0.9;
}
.home-quick-links-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2px; /* 2px gap forms the thicker border */
	padding: 2px; /* Border around */
	border: 1px solid rgba(255,255,255,0.4); /* Outer border if needed, or rely on padding */
	overflow: hidden;
}
.quick-link-item {
	/* Background color is set inline via front-page.php */
	color: #fff !important;
	padding: 15px 10px;
	text-align: center;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s;
}
.quick-link-item:hover {
	opacity: 0.9;
}

@media (max-width: 768px) {
	.home-quick-links-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.home-cta-buttons {
		flex-direction: column;
	}
	.home-cta-btn {
		width: 100%;
	}
}
@media (max-width: 480px) {
	.home-quick-links-grid {
		grid-template-columns: 1fr;
	}
}

/* Related Posts Block injected into content */
.thebulltime-related-posts-block {
	border: 1px solid var(--tb-border);
	margin: 30px 0;
	background: var(--tb-bg-card);
}

.thebulltime-related-posts-block .related-header {
	padding: 12px 15px;
	color: #fff;
}

.thebulltime-related-posts-block .related-header h3 {
	margin: 0;
	font-size: 1.2rem;
	color: #fff;
}

.thebulltime-related-posts-block .related-list {
	display: flex;
	flex-direction: column;
}

.thebulltime-related-posts-block .related-item {
	display: flex;
	align-items: center;
	padding: 15px;
	border-bottom: 1px solid var(--tb-border);
	gap: 15px;
}

.thebulltime-related-posts-block .related-item:last-child {
	border-bottom: none;
}

.thebulltime-related-posts-block .related-thumb {
	flex: 0 0 100px;
}

.thebulltime-related-posts-block .related-thumb img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	border: 1px solid var(--tb-border);
	display: block;
}

.thebulltime-related-posts-block .fallback-thumb {
	width: 100%;
	aspect-ratio: 16/9;
	background: #f1f1f1;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	color: #aaa;
	border: 1px solid var(--tb-border);
}

.thebulltime-related-posts-block .related-title a {
	font-size: 1rem;
	color: var(--tb-heading);
	text-decoration: none;
	line-height: 1.4;
	font-weight: 500;
}

.thebulltime-related-posts-block .related-title a:hover {
	color: var(--tb-primary);
}
