/**
 * Poet Authors — native author archive layout.
 * Loaded as an external stylesheet so LiteSpeed/Chrome cannot strip flex rules
 * from a truncated inline <style> block.
 */

#poet-native-author-page {
	width: 100%;
}

#poet-native-author-page .poet-native-author-wrap {
	width: calc(100% - 40px);
	max-width: 1170px;
	margin: var(--poet-authors-wrap-margin, 48px) auto 70px;
}

@media (min-width: 860px) {
	body.logged-in.admin-bar.poet-authors-archive #poet-native-author-page .poet-native-author-wrap {
		--poet-authors-wrap-margin: 78px;
		margin-top: var(--poet-authors-wrap-margin, 78px);
	}
}

@media (max-width: 859px) {
	body.logged-in.admin-bar.poet-authors-archive #poet-native-author-page .poet-native-author-wrap {
		--poet-authors-wrap-margin: 58px;
		margin-top: var(--poet-authors-wrap-margin, 58px);
	}
}

#poet-native-author-page .poet-native-author-box {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	gap: 22px !important;
	min-height: 198px;
	padding: 20px;
	background: #f7f7f7;
	box-sizing: border-box;
	overflow: hidden;
}

#poet-native-author-page .poet-native-author-photo {
	flex: 0 0 140px !important;
	width: 140px !important;
	max-width: 140px !important;
	min-width: 140px !important;
	overflow: hidden;
}

#poet-native-author-page .poet-native-author-photo img,
#poet-native-author-page .poet-native-author-photo img.poet-authors-avatar,
body.poet-authors-archive #poet-native-author-page .poet-native-author-photo img {
	display: block !important;
	width: 140px !important;
	height: 158px !important;
	max-width: 140px !important;
	max-height: 158px !important;
	min-width: 0 !important;
	object-fit: cover !important;
	border-radius: 8px;
}

#poet-native-author-page .poet-native-author-photo img:hover {
	filter: brightness(1.05) contrast(1.03);
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

#poet-native-author-page .poet-native-author-info {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	max-width: 100%;
}

#poet-native-author-page .poet-native-author-name {
	margin: 0 0 4px;
	padding: 0;
	font-size: 26px !important;
	line-height: 1.2 !important;
	font-weight: 400 !important;
}

#poet-native-author-page .poet-native-author-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0 0 22px;
	font-size: 12px !important;
	color: #718096;
}

#poet-native-author-page .poet-native-author-meta > * {
	display: inline-flex;
	align-items: center;
}

#poet-native-author-page .poet-native-author-meta > * + *::before {
	content: "|";
	display: inline-block;
	margin: 0 7px;
	color: #9aa4ae;
}

#poet-native-author-page .poet-native-author-meta a {
	color: #718096;
	text-decoration: none;
}

#poet-native-author-page .poet-native-author-facebook {
	font-size: 17px !important;
	color: #16304d !important;
}

#poet-native-author-page .poet-native-author-facebook .fab + .poet-native-fb-fallback {
	display: none;
}

#poet-native-author-page .poet-native-author-bio,
#poet-native-author-page .poet-native-author-bio-view {
	font-size: 16px !important;
	line-height: 1.55 !important;
}

#poet-native-author-page .poet-native-author-post-list-view[hidden] {
	display: none !important;
}

#poet-native-author-page .poet-native-author-post-list-view {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 9px 22px;
	max-width: 900px;
}

#poet-native-author-page .poet-native-author-post-list-item {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	font-family: "Alegreya Sans", Lato, sans-serif !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
}

#poet-native-author-page .poet-native-author-post-list-item a {
	text-decoration: none;
}

#poet-native-author-page .poet-native-author-post-list-item a:link {
	color: #111;
}

#poet-native-author-page .poet-native-author-meta a,
#poet-native-author-page .poet-native-author-meta a:link,
#poet-native-author-page .poet-native-author-meta a:visited {
	color: #718096 !important;
	text-decoration: none !important;
}

#poet-native-author-page .poet-native-author-meta a:hover,
#poet-native-author-page .poet-native-author-meta a:focus {
	color: #16304d !important;
	text-decoration: underline !important;
}

#poet-native-author-page .poet-native-author-post-list-item a:visited {
	color: #16304d !important;
	text-decoration: underline !important;
}

#poet-native-author-page .poet-native-author-post-list-item a:hover,
#poet-native-author-page .poet-native-author-post-list-item a:focus {
	color: #0f2238;
	text-decoration: underline;
}

#poet-native-author-page .poet-native-author-doc-icon {
	flex: 0 0 auto;
	font-size: 12px;
	line-height: 1.55;
	color: #16304d;
}

#poet-native-author-page .poet-native-author-posts {
	margin-top: 20px;
}

#poet-native-author-page .poet-native-archive-sorter {
	display: flex;
	justify-content: flex-end;
	margin: 0 0 28px;
	font-size: 12px;
}

#poet-native-author-page .poet-native-archive-sorter .archive-sorter .current-sorter-txt {
	font-size: 12px !important;
	line-height: 1.3 !important;
}

#poet-native-author-page .poet-native-archive-sorter .archive-sorter .options {
	font-size: 12px !important;
}

#poet-native-author-page .poet-native-archive-sorter .archive-sorter .options a {
	font-size: 12px !important;
	line-height: 1.35 !important;
	padding: 7px 18px !important;
}

#poet-native-author-page .poet-native-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
}

#poet-native-author-page .poet-native-post-image {
	display: block;
	width: 100%;
	overflow: hidden;
}

#poet-native-author-page .poet-native-post-image img {
	display: block;
	width: 100%;
	height: auto;
}

#poet-native-author-page .poet-native-post-meta {
	margin-top: 23px;
	color: #8a8a8a;
	font-size: 13px !important;
}

#poet-native-author-page .poet-native-post-title {
	margin: 10px 0 12px;
	font-size: 20px !important;
	line-height: 1.3 !important;
	font-weight: 400 !important;
}

#poet-native-author-page .poet-native-post-title a {
	font-size: inherit !important;
	text-decoration: none;
}

#poet-native-author-page .poet-native-post-title a:link {
	color: #111;
}

#poet-native-author-page .poet-native-post-title a:visited {
	color: #16304d !important;
	text-decoration: underline !important;
}

#poet-native-author-page .poet-native-post-title a:hover,
#poet-native-author-page .poet-native-post-title a:focus {
	color: #0f2238;
	text-decoration: underline;
}

#poet-native-author-page .poet-native-post-excerpt {
	max-width: 390px;
	font-size: 14px;
	line-height: 1.75;
	color: #777;
}

/* Hide theme/Molongui duplicate author output outside the native page. */
body.poet-authors-archive .m-a-box:not(#poet-native-author-page .m-a-box),
body.poet-authors-archive .molongui-author-box:not(#poet-native-author-page .molongui-author-box),
body.poet-authors-archive .site-inner > .m-a-box,
body.poet-authors-archive .site-inner > .molongui-author-box,
body.poet-authors-archive #masthead .m-a-box,
body.poet-authors-archive #masthead .molongui-author-box,
body.poet-authors-archive #content > .m-a-box,
body.poet-authors-archive #content > .molongui-author-box,
body.poet-authors-archive #primary > .m-a-box,
body.poet-authors-archive #primary > .molongui-author-box,
body.poet-authors-archive #contents-wrap > .m-a-box,
body.poet-authors-archive #contents-wrap > .molongui-author-box,
body.poet-authors-archive .tipi-row > .m-a-box,
body.poet-authors-archive .tipi-row > .molongui-author-box {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
}

@media (max-width: 900px) {
	#poet-native-author-page .poet-native-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#poet-native-author-page .poet-native-author-post-list-view {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 650px) {
	#poet-native-author-page .poet-native-author-wrap {
		width: calc(100% - 28px);
		margin-top: var(--poet-authors-wrap-margin, 28px);
	}

	#poet-native-author-page .poet-native-author-box {
		align-items: flex-start !important;
		gap: 16px !important;
		padding: 16px;
	}

	#poet-native-author-page .poet-native-author-photo,
	#poet-native-author-page .poet-native-author-photo img {
		width: 140px !important;
		height: 158px !important;
		max-width: 140px !important;
		max-height: 158px !important;
		flex-basis: 140px !important;
		min-width: 140px !important;
	}

	#poet-native-author-page .poet-native-author-name {
		font-size: 22px !important;
	}

	#poet-native-author-page .poet-native-author-bio {
		font-size: 14px !important;
	}

	#poet-native-author-page .poet-native-author-meta {
		margin-bottom: 12px;
	}

	#poet-native-author-page .poet-native-post-grid {
		grid-template-columns: 1fr;
	}

	#poet-native-author-page .poet-native-author-post-list-view {
		grid-template-columns: 1fr;
	}
}
