/* THF author profile card */
.thf-author-card {
	position: relative;
	margin: 42px 0 28px;
	padding: 30px;
	overflow: hidden;
	color: #f7faf8;
	background:
		radial-gradient(circle at 100% 0, rgba(11, 173, 95, 0.16), transparent 38%),
		linear-gradient(145deg, #202522 0%, #292f2b 100%);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 18px;
	box-shadow: 0 18px 45px rgba(0,0,0,0.18);
	direction: ltr;
	text-align: left;
}
.thf-author-card__accent {
	position: absolute;
	inset: 0 auto 0 0;
	width: 5px;
	background: linear-gradient(180deg, #10bd70, #087b4c);
}
.thf-author-card__eyebrow {
	margin: 0 0 3px !important;
	padding: 0 !important;
	color: #68d9a4;
	font-size: 12px !important;
	font-weight: 700;
	line-height: 1.4 !important;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}
.thf-author-card__title {
	margin: 0 0 24px !important;
	padding: 0 !important;
	color: #fff;
	font-size: clamp(25px, 3vw, 34px) !important;
	line-height: 1.15 !important;
}
.thf-author-card__layout {
	display: grid;
	grid-template-columns: 148px minmax(0, 1fr);
	gap: 26px;
	align-items: start;
}
.thf-author-card__photo-link {
	display: block;
	width: 148px;
	height: 148px;
	border: 4px solid rgba(22,190,110,0.85);
	border-radius: 50%;
	box-shadow: 0 0 0 6px rgba(22,190,110,0.1);
	overflow: hidden;
	text-decoration: none !important;
}
.thf-author-card__photo {
	display: block;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	border-radius: 50% !important;
	object-fit: cover;
}
.thf-author-card__content {
	min-width: 0;
}
.thf-author-card__identity {
	display: flex;
	gap: 18px;
	align-items: flex-start;
	justify-content: space-between;
}
.thf-author-card__name {
	margin: 0 !important;
	padding: 0 !important;
	color: #fff;
	font-size: 24px !important;
	line-height: 1.25 !important;
}
.thf-author-card__name a {
	color: #fff !important;
	text-decoration: none !important;
}
.thf-author-card__name a:hover {
	color: #68d9a4 !important;
}
.thf-author-card__role {
	margin: 4px 0 0 !important;
	padding: 0 !important;
	color: #aeb9b3;
	font-size: 14px !important;
	line-height: 1.5 !important;
}
.thf-author-card__badge {
	flex: 0 0 auto;
	padding: 6px 10px;
	color: #b7f3d6;
	background: rgba(22,190,110,0.12);
	border: 1px solid rgba(22,190,110,0.28);
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
}
.thf-author-card__bio {
	max-width: 760px;
	margin: 17px 0 20px !important;
	padding: 0 !important;
	color: #e2e7e4;
	font-size: 16px !important;
	line-height: 1.75 !important;
}
.thf-author-card__footer {
	display: flex;
	gap: 18px;
	align-items: center;
	justify-content: space-between;
	padding-top: 16px;
	border-top: 1px solid rgba(255,255,255,0.09);
}
.thf-author-card__socials {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.thf-author-card__socials a {
	display: inline-flex;
	width: 38px;
	height: 38px;
	align-items: center;
	justify-content: center;
	color: #fff !important;
	background: rgba(255,255,255,0.07);
	border: 1px solid rgba(255,255,255,0.11);
	border-radius: 50%;
	font-size: 15px;
	text-decoration: none !important;
	transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
.thf-author-card__socials a:hover,
.thf-author-card__socials a:focus-visible {
	color: #fff !important;
	background: #0ba65f;
	border-color: #0ba65f;
	transform: translateY(-2px);
}
.thf-author-card__articles {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	color: #7be0ae !important;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none !important;
}
.thf-author-card__articles:hover {
	color: #fff !important;
}
.thf-author-card a:focus-visible {
	outline: 3px solid #8ce8ba;
	outline-offset: 3px;
}

@media (max-width: 640px) {
	.thf-author-card {
		margin: 34px 0 22px;
		padding: 24px 20px 22px;
		border-radius: 14px;
	}
	.thf-author-card__title {
		margin-bottom: 20px !important;
	}
	.thf-author-card__layout {
		display: flex;
		gap: 18px;
		align-items: center;
		flex-direction: column;
	}
	.thf-author-card__photo-link {
		width: 108px;
		height: 108px;
	}
	.thf-author-card__identity {
		align-items: center;
		flex-direction: column;
		gap: 10px;
		text-align: center;
	}
	.thf-author-card__name {
		font-size: 21px !important;
	}
	.thf-author-card__bio {
		margin-top: 18px !important;
		font-size: 15px !important;
		line-height: 1.7 !important;
		text-align: left;
	}
	.thf-author-card__footer {
		align-items: flex-start;
		flex-direction: column;
	}
	.thf-author-card__articles {
		white-space: normal;
	}
}

/* Public author archive */
body.author .thf-author-archive__hero {
	position: relative;
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	margin: 8px 0 38px;
	padding: 30px;
	overflow: hidden;
	color: #f7faf8;
	background:
		linear-gradient(115deg, rgba(8, 166, 94, 0.16), transparent 45%),
		linear-gradient(145deg, #1d231f 0%, #292f2b 100%);
	border: 1px solid rgba(111, 227, 168, 0.18);
	border-radius: 22px;
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}
body.author .thf-author-archive__hero::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 5px;
	background: linear-gradient(180deg, #16be6e, #087b4c);
}
body.author .thf-author-archive__glow {
	position: absolute;
	right: -90px;
	top: -120px;
	width: 260px;
	height: 260px;
	background: rgba(14, 190, 107, 0.12);
	border-radius: 50%;
	filter: blur(2px);
	pointer-events: none;
}
body.author .thf-author-archive__portrait {
	position: relative;
	width: 150px;
	height: 150px;
	margin-top: 38px;
	z-index: 1;
}
body.author .thf-author-archive__photo {
	display: block;
	width: 150px !important;
	height: 150px !important;
	margin: 0 !important;
	border: 4px solid #19b96f;
	border-radius: 50% !important;
	box-shadow: 0 0 0 7px rgba(25, 185, 111, 0.11);
	object-fit: cover;
}
body.author .thf-author-archive__verified {
	position: absolute;
	right: 4px;
	bottom: 8px;
	display: inline-flex;
	width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: #0bad61;
	border: 4px solid #232a26;
	border-radius: 50%;
	font-size: 12px;
}
body.author .thf-author-archive__content {
	position: relative;
	z-index: 1;
	min-width: 0;
}
body.author .thf-author-archive__eyebrow,
body.author .thf-author-archive__stories-heading p {
	margin: 0 0 5px !important;
	padding: 0 !important;
	color: #6fe0a9;
	font-size: 11px !important;
	font-weight: 800;
	line-height: 1.4 !important;
	letter-spacing: 1.45px;
	text-transform: uppercase;
}
body.author .thf-author-archive__name {
	margin: 0 !important;
	padding: 0 !important;
	color: #fff;
	font-size: clamp(27px, 3.2vw, 38px) !important;
	line-height: 1.1 !important;
}
body.author .thf-author-archive__role {
	margin: 6px 0 0 !important;
	padding: 0 !important;
	color: #aab7b0;
	font-size: 14px !important;
	line-height: 1.5 !important;
}
body.author .thf-author-archive__bio {
	margin: 17px 0 18px !important;
	padding: 0 !important;
	color: #e5ebe7;
	font-size: 15px !important;
	line-height: 1.72 !important;
}
body.author .thf-author-archive__meta {
	display: flex;
	gap: 10px 22px;
	flex-wrap: wrap;
	margin-bottom: 18px;
	color: #abb7b0;
	font-size: 12px;
}
body.author .thf-author-archive__meta span {
	position: relative;
}
body.author .thf-author-archive__meta span + span::before {
	content: "";
	position: absolute;
	left: -12px;
	top: 50%;
	width: 3px;
	height: 3px;
	background: #18bb6d;
	border-radius: 50%;
	transform: translateY(-50%);
}
body.author .thf-author-archive__meta strong {
	color: #fff;
}
body.author .thf-author-archive__socials {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
body.author .thf-author-archive__socials a {
	display: inline-flex;
	gap: 7px;
	align-items: center;
	padding: 8px 11px;
	color: #eef7f2 !important;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none !important;
	transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
body.author .thf-author-archive__socials a:hover,
body.author .thf-author-archive__socials a:focus-visible {
	background: #0ba65f;
	border-color: #0ba65f;
	transform: translateY(-2px);
}
body.author .thf-author-archive__socials a:focus-visible,
body.author .news-article-list a:focus-visible {
	outline: 3px solid #86e5b5;
	outline-offset: 3px;
}
body.author .thf-author-archive__stories-heading {
	margin: 0 0 18px;
	padding-left: 2px;
}
body.author .thf-author-archive__stories-heading h2 {
	margin: 0 !important;
	padding: 0 !important;
	color: #fff;
	font-size: clamp(23px, 3vw, 30px) !important;
	line-height: 1.25 !important;
}

/* Category sections and article cards */
body.author .news-article-list .news-category {
	display: flex;
	gap: 12px;
	align-items: center;
	margin: 34px 0 16px !important;
	padding: 0 !important;
	color: #fff;
	font-size: 20px !important;
	line-height: 1.25 !important;
}
body.author .news-article-list .news-category:first-child {
	margin-top: 0 !important;
}
body.author .news-article-list .news-category::after {
	content: "";
	height: 1px;
	flex: 1;
	background: linear-gradient(90deg, rgba(24, 187, 109, 0.55), rgba(255, 255, 255, 0.04));
}
body.author .news-article-list .news-category a {
	color: #fff !important;
	text-decoration: none !important;
}
body.author .news-article-list ul {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
body.author .news-article-list li {
	display: block !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}
body.author .news-article-list article {
	display: flex !important;
	height: 100%;
	overflow: hidden;
	flex-direction: column;
	background: #242824;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 15px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
	transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
body.author .news-article-list article:hover {
	border-color: rgba(25, 185, 111, 0.38);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
	transform: translateY(-4px);
}
body.author .news-article-list .news-image {
	position: relative;
	width: 100% !important;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #171a18;
}
body.author .news-article-list .news-image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	object-fit: cover;
	transition: transform .35s ease;
}
body.author .news-article-list article:hover .news-image img {
	transform: scale(1.035);
}
body.author .news-article-list .news-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 15px 16px 14px;
}
body.author .news-article-list .entry-title {
	text-decoration: none !important;
}
body.author .news-article-list .news-headline {
	margin: 0 !important;
	padding: 0 !important;
	color: #f8faf9;
	font-size: 16px !important;
	font-weight: 700;
	line-height: 1.48 !important;
	transition: color .2s ease;
}
body.author .news-article-list .entry-title:hover .news-headline {
	color: #78dda9;
}
body.author .news-article-list .post-meta {
	margin: auto 0 0 !important;
	padding: 13px 0 0 !important;
	color: #9eaaa3 !important;
	font-size: 11px !important;
	line-height: 1.4 !important;
}
body.author .news-article-list .post-meta i {
	margin-right: 4px;
	color: #25bd72;
}

@media (max-width: 760px) {
	body.author .thf-author-archive__hero {
		grid-template-columns: 112px minmax(0, 1fr);
		gap: 21px;
		padding: 25px 22px;
	}
	body.author .thf-author-archive__portrait,
	body.author .thf-author-archive__photo {
		width: 112px !important;
		height: 112px !important;
	}
	body.author .thf-author-archive__verified {
		right: 0;
		bottom: 3px;
	}
}

@media (max-width: 540px) {
	body.author .thf-author-archive__hero {
		display: flex;
		align-items: flex-start;
		flex-direction: column;
		margin-bottom: 30px;
		padding: 25px 20px;
		border-radius: 17px;
	}
	body.author .thf-author-archive__portrait {
		align-self: center;
		margin-top: 0;
	}
	body.author .thf-author-archive__content {
		width: 100%;
	}
	body.author .thf-author-archive__eyebrow,
	body.author .thf-author-archive__name,
	body.author .thf-author-archive__role {
		text-align: center;
	}
	body.author .thf-author-archive__meta,
	body.author .thf-author-archive__socials {
		justify-content: center;
	}
	body.author .news-article-list ul {
		grid-template-columns: 1fr;
	}
	body.author .news-article-list .news-category {
		font-size: 19px !important;
	}
}

/* Author archive v2: full-height portrait and combined Blog + News feed */
body.author .thf-author-archive__hero {
	grid-template-columns: minmax(210px, 1fr) minmax(0, 2fr);
	gap: 0;
	align-items: stretch;
	padding: 0;
}
body.author .thf-author-archive__portrait {
	align-self: stretch;
	width: 100%;
	height: auto;
	min-height: 390px;
	margin: 0;
	overflow: hidden;
	background: #161b18;
	z-index: 1;
}
body.author .thf-author-archive__photo {
	display: block;
	width: 100% !important;
	height: 100% !important;
	min-height: 390px;
	margin: 0 !important;
	border: 0;
	border-radius: 20px 0 0 20px !important;
	box-shadow: none;
	object-fit: cover;
	object-position: center;
}
body.author .thf-author-archive__verified {
	right: 16px;
	bottom: 16px;
	width: 38px;
	height: 38px;
	border-color: #1f2722;
}
body.author .thf-author-archive__content {
	display: flex;
	min-width: 0;
	padding: 32px 32px 30px;
	flex-direction: column;
	justify-content: center;
}
body.author .news-article-list {
	display: none !important;
}
body.author .thf-author-feed a:focus-visible {
	outline: 3px solid #86e5b5;
	outline-offset: 3px;
}
body.author .thf-author-feed__grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
body.author .thf-author-feed__grid > li {
	display: block !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}
body.author .thf-author-feed article {
	display: flex !important;
	height: 100%;
	overflow: hidden;
	flex-direction: column;
	background: #242824;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 15px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
	transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
body.author .thf-author-feed article:hover {
	border-color: rgba(25, 185, 111, 0.38);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
	transform: translateY(-4px);
}
body.author .thf-author-feed .news-image {
	position: relative;
	display: flex;
	width: 100% !important;
	aspect-ratio: 16 / 9;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #171a18;
}
body.author .thf-author-feed .news-image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0;
	object-fit: contain;
	object-position: center;
	transition: opacity .2s ease;
}
body.author .thf-author-feed article:hover .news-image img {
	opacity: .9;
}
body.author .thf-author-feed__image-fallback {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	color: #5f6d65;
	font-size: 42px;
}
body.author .thf-author-feed__type {
	position: absolute;
	top: 11px;
	left: 11px;
	z-index: 2;
	padding: 6px 9px;
	color: #fff;
	background: rgba(12, 20, 15, .9);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .7px;
	text-transform: uppercase;
}
body.author .thf-author-feed__type--news {
	background: rgba(5, 143, 78, .94);
}
body.author .thf-author-feed__type--post {
	background: rgba(151, 99, 20, .94);
}
body.author .thf-author-feed .news-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 15px 16px 14px;
}
body.author .thf-author-feed .entry-title {
	text-decoration: none !important;
}
body.author .thf-author-feed .news-headline {
	margin: 0 !important;
	padding: 0 !important;
	color: #f8faf9;
	font-size: 16px !important;
	font-weight: 700;
	line-height: 1.48 !important;
	transition: color .2s ease;
}
body.author .thf-author-feed .entry-title:hover .news-headline {
	color: #78dda9;
}
body.author .thf-author-feed .post-meta {
	margin: auto 0 0 !important;
	padding: 13px 0 0 !important;
	color: #9eaaa3 !important;
	font-size: 11px !important;
	line-height: 1.4 !important;
}
body.author .thf-author-feed .post-meta i {
	margin-right: 4px;
	color: #25bd72;
}
body.author .thf-author-feed__pagination {
	margin-top: 30px;
}
body.author .thf-author-feed__pagination .page-numbers {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}
body.author .thf-author-feed__pagination li {
	margin: 0 !important;
	padding: 0 !important;
}
body.author .thf-author-feed__pagination a,
body.author .thf-author-feed__pagination span {
	display: inline-flex;
	min-width: 38px;
	height: 38px;
	align-items: center;
	justify-content: center;
	padding: 0 12px;
	color: #eef7f2 !important;
	background: #242824;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 999px;
	font-size: 12px;
	text-decoration: none !important;
}
body.author .thf-author-feed__pagination .current,
body.author .thf-author-feed__pagination a:hover {
	background: #0ba65f;
	border-color: #0ba65f;
	color: #fff !important;
}
body.author .thf-author-feed__empty {
	padding: 24px;
	color: #cdd6d1;
	background: #242824;
	border-radius: 14px;
}

@media (max-width: 760px) {
	body.author .thf-author-archive__hero {
		grid-template-columns: minmax(160px, 1fr) minmax(0, 2fr);
		gap: 0;
		padding: 0;
	}
	body.author .thf-author-archive__portrait,
	body.author .thf-author-archive__photo {
		width: 100% !important;
		height: 100% !important;
		min-height: 360px;
	}
	body.author .thf-author-archive__content {
		padding: 26px 24px;
	}
}

@media (max-width: 540px) {
	body.author .thf-author-archive__hero {
		display: flex;
		align-items: stretch;
		padding: 0;
	}
	body.author .thf-author-archive__portrait,
	body.author .thf-author-archive__photo {
		width: 100% !important;
		height: 290px !important;
		min-height: 290px;
		border-radius: 16px 16px 0 0 !important;
	}
	body.author .thf-author-archive__content {
		padding: 25px 20px 27px;
	}
	body.author .thf-author-feed__grid {
		grid-template-columns: 1fr;
	}
}
