/* E-E-A-T author + single */
.rework-author-hero {
	display: grid;
	grid-template-columns: 160px 1fr;
	gap: 28px;
	align-items: start;
	padding: 32px 0 24px;
	margin-bottom: 24px;
	border-bottom: 1px solid #e2e8f0;
}
.rework-author-hero__avatar {
	width: 160px;
	height: 160px;
	border-radius: 50%;
	overflow: hidden;
	background: transparent;
}
.rework-author-hero__img {
	border-radius: 50% !important;
	display: block;
	width: 160px !important;
	height: 160px !important;
	max-width: none !important;
	object-fit: cover;
	background: #e2e8f0;
}
.rework-author-hero__eyebrow {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #64748b;
}
.rework-author-hero__title {
	margin: 0 0 8px;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.15;
	color: #0f172a;
}
.rework-author-hero__job {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 600;
	color: #334155;
}
.rework-author-hero__expertise,
.rework-author-hero__creds {
	margin: 0 0 10px;
	color: #475569;
}
.rework-author-hero__bio {
	margin: 12px 0;
	font-size: 16px;
	line-height: 1.55;
	color: #334155;
	text-align: left;
}
.rework-author-hero__bio p { margin: 0 0 .75em; }
.rework-author-hero__bio--empty { color: #94a3b8; font-style: italic; }
.rework-author-hero__social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none !important;
}
.rework-author-hero__social li {
	list-style: none !important;
}
.rework-author-hero__social a {
	color: #2563eb;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.rework-author-posts__title {
	margin: 0 0 20px;
	font-size: 22px;
}

/* Author archive pagination — match blog/media UI */
.rework-author-posts .navigation.pagination,
.rework-author-page .navigation.pagination {
	clear: both;
	float: none;
	width: 100%;
	margin: 28px 0 40px;
	padding-top: 8px;
}

.rework-author-posts .navigation.pagination .nav-links,
.rework-author-page .navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
	width: 100%;
}

.rework-author-posts .navigation.pagination .page-numbers,
.rework-author-page .navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 10px;
	border: 1px solid transparent;
	background-color: #eef1f6;
	color: #4b5568;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rework-author-posts .navigation.pagination a.page-numbers:hover,
.rework-author-posts .navigation.pagination a.page-numbers:focus,
.rework-author-page .navigation.pagination a.page-numbers:hover,
.rework-author-page .navigation.pagination a.page-numbers:focus {
	background-color: #0a65fc;
	color: #fff;
	outline: none;
}

.rework-author-posts .navigation.pagination .page-numbers.current,
.rework-author-page .navigation.pagination .page-numbers.current {
	background-color: #0a65fc;
	color: #fff;
	cursor: default;
}

.rework-author-posts .navigation.pagination .page-numbers.dots,
.rework-author-page .navigation.pagination .page-numbers.dots {
	min-width: auto;
	padding: 0 6px;
	border-radius: 0;
	background: transparent;
	color: #7a8499;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 1px;
}

.rework-author-posts .navigation.pagination a.prev.page-numbers,
.rework-author-posts .navigation.pagination a.next.page-numbers,
.rework-author-page .navigation.pagination a.prev.page-numbers,
.rework-author-page .navigation.pagination a.next.page-numbers {
	width: auto;
	min-width: 40px;
	padding: 0 16px;
	background: #fff;
	color: #0a65fc;
	border-color: #dfe3ea;
}

.rework-author-posts .navigation.pagination a.prev.page-numbers:hover,
.rework-author-posts .navigation.pagination a.prev.page-numbers:focus,
.rework-author-posts .navigation.pagination a.next.page-numbers:hover,
.rework-author-posts .navigation.pagination a.next.page-numbers:focus,
.rework-author-page .navigation.pagination a.prev.page-numbers:hover,
.rework-author-page .navigation.pagination a.prev.page-numbers:focus,
.rework-author-page .navigation.pagination a.next.page-numbers:hover,
.rework-author-page .navigation.pagination a.next.page-numbers:focus {
	background: #edf3ff;
	color: #0a65fc;
	border-color: #0a65fc;
}

.rework-author-posts .navigation.pagination a.page-numbers:active,
.rework-author-page .navigation.pagination a.page-numbers:active {
	transform: scale(0.97);
}

@media (max-width: 767px) {
	.rework-author-posts .navigation.pagination .nav-links,
	.rework-author-page .navigation.pagination .nav-links {
		gap: 6px;
	}

	.rework-author-posts .navigation.pagination .page-numbers,
	.rework-author-page .navigation.pagination .page-numbers {
		min-width: 36px;
		height: 36px;
		padding: 0 10px;
		font-size: 13px;
	}

	.rework-author-posts .navigation.pagination a.prev.page-numbers,
	.rework-author-posts .navigation.pagination a.next.page-numbers,
	.rework-author-page .navigation.pagination a.prev.page-numbers,
	.rework-author-page .navigation.pagination a.next.page-numbers {
		padding: 0 12px;
	}
}

.rework-author-posts__list ul.row,
.rework-author-page .rework-blog-grid,
.rework-author-page .careerfy-posts-list ul {
	display: grid;
	gap: 20px;
	list-style: none !important;
	margin: 0;
	padding: 0;
}
.rework-author-posts__list ul.row > li,
.rework-author-page .rework-blog-grid > li,
.rework-author-page .rework-article-card,
.rework-author-page li.rework-article-card {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0;
	padding-left: 0;
}
.rework-author-page .rework-article-card::marker,
.rework-author-page .rework-blog-grid > li::marker,
.rework-author-posts__list li::marker {
	content: none;
	display: none;
}
/* Comments disabled — hide leftover comment counters anywhere on blog surfaces */
body.single-post .careerfy-blog-other > li:has(.fa-comment),
body.single-post .rework-single-meta > li:has(.fa-comment),
body.single-post .careerfy-blog-other > li:has(a[href*="#respond"]),
.careerfy-archive-options > li:has(.fa-comment) {
	display: none !important;
}

/* Wider single / author content for modern viewports */
body.single-post .rework-single-post > .container,
body.author .rework-author-page > .container,
.rework-single-post > .container {
	width: 100%;
	max-width: min(1320px, calc(100vw - 48px));
	padding-left: 24px;
	padding-right: 24px;
}

/* Gap between article column and author sidebar */
.rework-single-post > .container > .row {
	display: flex;
	flex-wrap: wrap;
	margin-left: -16px;
	margin-right: -16px;
}
.rework-single-post > .container > .row > [class*="col-"] {
	padding-left: 16px;
	padding-right: 16px;
	box-sizing: border-box;
}
.rework-single-post .careerfy-content-col {
	padding-right: 36px !important;
}
.rework-single-post .careerfy-sidebar-col {
	padding-left: 20px !important;
}
@media (max-width: 991px) {
	.rework-single-post .careerfy-content-col,
	.rework-single-post .careerfy-sidebar-col {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
}

/* Sidebar author card */
.careerfy-author-detail.rework-author-card {
	display: flex !important;
	flex-direction: column;
	align-items: stretch;
	float: none !important;
	width: 100% !important;
	min-height: 0 !important;
	text-align: left;
	padding: 20px 18px 22px;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	overflow: hidden;
	box-sizing: border-box;
}
.careerfy-author-detail.rework-author-card > * {
	float: none !important;
	clear: both;
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
}
.rework-author-card__heading {
	float: none !important;
	width: 100% !important;
	margin: 0 0 16px !important;
}
.rework-author-card__heading h2 {
	margin: 0;
	padding: 0 0 10px;
	border-bottom: 1px solid #e2e8f0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #2563eb;
	text-align: left;
}
.rework-author-card__figure {
	display: block !important;
	float: none !important;
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	width: 120px !important;
	max-width: 120px !important;
	height: 120px;
	margin: 0 auto 16px !important;
	padding: 0;
	text-align: center;
	overflow: visible;
}
.rework-author-card__figure > a {
	display: block !important;
	float: none !important;
	position: relative;
	width: 120px !important;
	height: 120px !important;
	margin: 0 auto;
	padding: 0;
}
.rework-author-card__avatar {
	display: block !important;
	float: none !important;
	position: relative;
	width: 120px !important;
	height: 120px !important;
	max-width: none !important;
	margin: 0 auto !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	background: #e2e8f0;
}
.rework-author-card__meta,
.detail-content.rework-author-card__meta {
	display: block !important;
	float: none !important;
	clear: both !important;
	position: relative;
	z-index: 2;
	width: 100% !important;
	margin: 0 0 14px !important;
	padding: 0;
	text-align: center;
}
.rework-author-card__by {
	display: block;
	position: relative;
	margin: 0 0 4px;
	padding: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: #0f172a;
}
.rework-author-card__by a {
	color: #2563eb;
	text-decoration: none;
}
.rework-author-card__by a:hover { text-decoration: underline; }
.rework-author-card__date {
	display: block;
	margin: 0 0 10px;
	font-size: 13px;
	color: #64748b;
}
.rework-author-card__stats {
	display: flex;
	justify-content: center;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: #64748b;
	font-size: 13px;
}
.rework-author-card__stats li {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	list-style: none;
}
.rework-author-card__body {
	text-align: left;
}
.rework-author-card__role {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.4;
	color: #0f172a;
	text-align: center;
}
.rework-author-card__expertise {
	margin: 0 0 10px;
	font-size: 13px;
	color: #64748b;
	text-align: center;
}
.rework-author-card__bio {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.55;
	color: #334155;
}
.rework-author-card__bio p {
	margin: 0 0 .7em;
}
.rework-author-card__bio p:last-child {
	margin-bottom: 0;
}
.rework-author-card__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	box-sizing: border-box;
	margin-top: 4px;
	padding: 10px 14px;
	border-radius: 10px;
	border: 1px solid #cbd5e1;
	background: #fff;
	color: #0f172a !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.rework-author-card__cta:hover,
.rework-author-card__cta:focus {
	background: #0f172a;
	border-color: #0f172a;
	color: #fff !important;
}
.rework-author-card .careerfy-post-author-social,
.rework-author-card .author-social {
	margin-top: 14px;
	text-align: center;
}

.rework-single-heading__title {
	margin: 0 0 12px;
	font-size: clamp(26px, 3.5vw, 36px);
	line-height: 1.2;
	color: #0f172a;
}
.rework-single-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	align-items: center;
}
.rework-single-meta__sep { margin: 0 4px; color: #94a3b8; }
.rework-eeat-reviewed {
	margin: 0 0 1.25em;
	padding: 10px 14px;
	border-left: 3px solid #cbd5e1;
	background: #f8fafc;
	color: #475569;
	font-size: 14px;
}
.rework-eeat-profile-form {
	max-width: 640px;
	margin: 24px 0;
}
.rework-eeat-profile-form__input {
	width: 100%;
	max-width: 640px;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-sizing: border-box;
}
.rework-eeat-profile-form__submit {
	display: inline-flex;
	align-items: center;
	padding: 10px 18px;
	border: 0;
	border-radius: 10px;
	background: #0f172a;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}
.rework-eeat-profile-form__ok {
	margin-bottom: 12px;
	padding: 10px 12px;
	border-radius: 8px;
	background: #ecfdf5;
	color: #065f46;
}
.rework-eeat-profile-avatar-preview {
	display: block;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 10px;
}
@media (max-width: 767px) {
	.rework-author-hero {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}
	.rework-author-hero__bio { text-align: center; }
	.rework-author-hero__social { justify-content: center; }
}
