/* Author SEO — estilos públicos dos widgets e templates de autor */

/* ---------- Bloco de Autor ---------- */
.ase-author-box {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}
.ase-author-box .ase-author-figure {
	flex: 0 0 auto;
}
.ase-author-avatar {
	display: block;
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 50%;
}
.ase-author-content {
	flex: 1 1 auto;
	min-width: 0;
}
.ase-author-name {
	margin: 0;
}
.ase-author-name a {
	text-decoration: none;
}
.ase-author-role {
	opacity: 0.8;
	margin-top: 2px;
}
.ase-author-bio {
	margin-top: 10px;
}
.ase-author-bio p:last-child {
	margin-bottom: 0;
}
.ase-author-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 12px;
}
.ase-author-socials a {
	text-decoration: none;
	font-size: 14px;
	line-height: 1;
}

/* Layouts (prefix_class ase-layout-) */
.ase-layout-top .ase-author-box {
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.ase-layout-top .ase-author-socials {
	justify-content: center;
}
.ase-layout-right .ase-author-box {
	flex-direction: row-reverse;
}

.ase-author-box.ase-empty {
	padding: 16px;
	border: 1px dashed #c3c4c7;
	color: #646970;
	border-radius: 6px;
}

/* ---------- Assinatura inline (byline) ---------- */
.ase-byline {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}
.ase-byline-avatar {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: cover;
	border-radius: 50%;
	flex: 0 0 auto;
}
.ase-byline-prefix {
	line-height: 1;
}
.ase-byline-name {
	margin: 0;
	line-height: 1.2;
}
.ase-byline-name a {
	text-decoration: underline;
}

/* ---------- Perfil completo ---------- */
.ase-profile {
	display: flex;
	align-items: flex-start;
	gap: 40px;
}
.ase-aside-right .ase-profile {
	flex-direction: row-reverse;
}
.ase-profile-aside {
	flex: 0 0 34%;
	display: flex;
	flex-direction: column;
	background: #fdfaf1;
	padding: 24px;
	border-radius: 4px;
}
.ase-profile-figure {
	margin-bottom: 16px;
}
.ase-profile-photo {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
}
.ase-profile-role {
	color: #b9902e;
	font-weight: 600;
}
.ase-profile-name {
	margin: 0;
	line-height: 1.2;
}
.ase-profile-name a {
	text-decoration: none;
}
.ase-profile-credential {
	margin-top: 6px;
	opacity: 0.85;
}
.ase-profile-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}
.ase-profile-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid currentColor;
	border-radius: 50%;
	color: #b9902e;
	text-decoration: none;
	line-height: 1;
	transition: color .15s ease, border-color .15s ease;
}
.ase-profile-socials a i {
	font-size: 16px;
	line-height: 1;
}
.ase-profile-name-prefix {
	margin-right: 6px;
}

.ase-profile-main {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.ase-profile-intro p:last-child,
.ase-section-text p:last-child {
	margin-bottom: 0;
}
.ase-profile-section {
	margin: 0;
}
.ase-section-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	line-height: 1.2;
}
.ase-section-marker {
	display: inline-block;
	width: 14px;
	height: 20px;
	background-color: #c9a24b;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%);
	flex: 0 0 auto;
}
.ase-section-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.ase-section-list li {
	margin-bottom: 6px;
}
.ase-section-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.ase-tag {
	display: inline-block;
	padding: 8px 16px;
	background-color: #f5efe0;
	color: #6b5a33;
	border: 1px solid #e3d8bd;
	border-radius: 40px;
	line-height: 1.2;
}

.ase-profile.ase-empty,
.ase-byline.ase-empty {
	padding: 16px;
	border: 1px dashed #c3c4c7;
	color: #646970;
	border-radius: 6px;
}

@media (max-width: 767px) {
	.ase-profile,
	.ase-aside-right .ase-profile {
		flex-direction: column;
	}
	.ase-profile-aside {
		flex-basis: auto !important;
		width: 100%;
	}
}

/* ---------- Grade de posts do autor ---------- */
.ase-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
.ase-post-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
}
.ase-post-thumb {
	display: block;
}
.ase-post-thumb img {
	display: block;
	width: 100%;
	height: auto;
}
.ase-post-body {
	padding: 16px;
}
.ase-post-title {
	margin: 0 0 6px;
	font-size: 18px;
	line-height: 1.3;
}
.ase-post-title a {
	text-decoration: none;
}
.ase-post-date {
	display: block;
	font-size: 13px;
	opacity: 0.7;
	margin-bottom: 8px;
}
.ase-post-excerpt {
	font-size: 14px;
	line-height: 1.5;
}

/* ---------- Template de arquivo de autor (modo automático) ---------- */
.ase-author-archive {
	padding: 40px 20px;
}
.ase-archive-inner {
	max-width: 1080px;
	margin: 0 auto;
}
.ase-archive-header {
	display: flex;
	gap: 24px;
	align-items: center;
	margin-bottom: 36px;
	padding-bottom: 28px;
	border-bottom: 1px solid #e5e7eb;
}
.ase-archive-avatar {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
}
.ase-archive-name {
	margin: 0 0 4px;
}
.ase-archive-role {
	margin: 0 0 8px;
	opacity: 0.8;
}
.ase-archive-bio {
	margin: 0 0 10px;
	max-width: 64ch;
}
.ase-archive-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.ase-archive-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid currentColor;
	border-radius: 50%;
	text-decoration: none;
	line-height: 1;
}
.ase-archive-socials a i {
	font-size: 16px;
	line-height: 1;
}

@media (max-width: 767px) {
	.ase-posts-grid {
		grid-template-columns: 1fr;
	}
	.ase-archive-header {
		flex-direction: column;
		text-align: center;
	}
	.ase-archive-socials {
		justify-content: center;
	}
}
