/**
 * 单篇轻量样式：作者 EEAT + 折叠 FAQ（不依赖模板接管，兼容全部主题）。
 *
 * @package ArvinAutoGEOSEO
 * @since   2.6.28m
 */

/* ---- About the Author（插件块） ---- */
.aags-author-eeat {
	margin: 28px 0 8px;
	padding: 18px 20px;
	background: #f7f8fa;
	border: 1px solid #e6e8ec;
	border-radius: 8px;
	clear: both;
}
.aags-author-eeat > h2 {
	margin: 0 0 12px;
	font-size: 1.15rem;
	line-height: 1.3;
	color: #1d2327;
}
.aags-author-card {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	flex-wrap: nowrap;
}
.aags-author-eeat a > .aags-author-avatar,
.aags-author-eeat .aags-author-avatar,
img.aags-author-avatar {
	width: 80px !important;
	height: 80px !important;
	max-width: 80px !important;
	max-height: 80px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	flex-shrink: 0 !important;
	display: block !important;
	border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.aags-author-meta {
	flex: 1;
	min-width: 0;
}
.aags-author-name {
	margin: 0 0 6px;
	font-size: 15px;
}
.aags-author-name span {
	color: #666;
	font-weight: 400;
}
.aags-author-bio {
	margin: 8px 0;
	cursor: pointer;
}
.aags-author-bio summary {
	color: #444;
	line-height: 1.6;
	list-style: none;
}
.aags-author-bio summary::-webkit-details-marker {
	display: none;
}
.aags-author-bio-full {
	color: #333;
	line-height: 1.7;
	font-size: 14px;
	margin-top: 8px;
}
.aags-author-profile {
	display: inline-block;
	margin-top: 6px;
	color: #2271b1;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}
.aags-author-profile:hover {
	text-decoration: underline;
}

/* 主题 / WP Post Author 作者栏隐藏：仅当正文含插件作者块（body.aags-has-plugin-author） */
body.aags-has-plugin-author .reviewnews-author-bio,
body.aags-has-plugin-author .author-box-content,
body.aags-has-plugin-author h3.awpa-title,
body.aags-has-plugin-author .awpa-title,
body.aags-has-plugin-author .wp-post-author-wrap,
body.aags-has-plugin-author .wp-post-author-shortcode,
body.aags-has-plugin-author .wp-post-author,
body:has(.aags-author-eeat) .reviewnews-author-bio,
body:has(.aags-author-eeat) .author-box-content,
body:has(.aags-author-eeat) h3.awpa-title,
body:has(.aags-author-eeat) .wp-post-author-wrap,
body:has(.aags-author-eeat) .wp-post-author-shortcode,
body:has(.aags-author-eeat) .wp-post-author {
	display: none !important;
}

/* ---- 折叠 FAQ ---- */
.aags-faq-accordion,
.aags-faq-global {
	margin: 28px 0 12px;
	padding: 0;
	border: 1px solid #e5e9ef;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	clear: both;
}
.aags-faq-accordion > h2,
.aags-faq-global > h2 {
	margin: 0;
	padding: 14px 18px;
	font-size: 1.15rem;
	border-bottom: 1px solid #eef1f5;
	background: #fafbfd;
}
.aags-faq-item,
.aags-faq-global details {
	border-bottom: 1px solid #eef1f5;
}
.aags-faq-item:last-child,
.aags-faq-global details:last-child {
	border-bottom: 0;
}
.aags-faq-q,
.aags-faq-global summary {
	padding: 14px 44px 14px 18px;
	cursor: pointer;
	font-weight: 600;
	color: #1d2327;
	list-style: none;
	position: relative;
	line-height: 1.45;
}
.aags-faq-q::-webkit-details-marker,
.aags-faq-global summary::-webkit-details-marker {
	display: none;
}
.aags-faq-q::after,
.aags-faq-global summary::after {
	content: '+';
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 20px;
	color: #94a3b8;
	font-weight: 400;
}
.aags-faq-item[open] .aags-faq-q::after,
.aags-faq-global details[open] summary::after {
	content: '−';
	color: #2271b1;
}
.aags-faq-a,
.aags-faq-global .aags-faq-a {
	padding: 0 18px 14px;
	color: #444;
	line-height: 1.7;
	font-size: 15px;
}

@media (max-width: 600px) {
	.aags-author-card {
		flex-wrap: wrap;
	}
	.aags-author-eeat a > .aags-author-avatar,
	.aags-author-eeat .aags-author-avatar,
	img.aags-author-avatar {
		width: 72px !important;
		height: 72px !important;
		max-width: 72px !important;
	}
}
