/**
 * OGEEAT Author Box — Front-end styles.
 * @since 2.0.0
 */

:root {
	--ogeeat-primary: #2271b1;
	--ogeeat-text: #1d2327;
	--ogeeat-muted: #666;
}

.ogeeat-author-box {
	background: #fff;
	border: 1px solid #eaeaea;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0,0,0,.03);
	padding: 28px;
	margin: 36px 0;
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.ogeeat-author-box img {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	flex-shrink: 0;
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ogeeat-primary);
}

.ogeeat-author-box-content {
	flex: 1;
	min-width: 0;
}

.ogeeat-author-box-name {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--ogeeat-text);
	margin: 0 0 2px;
}

.ogeeat-author-box-title {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .5px;
	font-weight: 600;
	color: var(--ogeeat-primary);
	margin: 0 0 10px;
}

.ogeeat-author-box-bio {
	font-size: 14px;
	line-height: 1.65;
	color: #444;
}

.ogeeat-author-box-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 12px;
}

.ogeeat-author-box-links a {
	color: var(--ogeeat-primary);
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
}

.ogeeat-author-box-links a:hover {
	text-decoration: underline;
}

.ogeeat-author-box-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}

.ogeeat-author-box-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	background: #f0f6fc;
	color: var(--ogeeat-primary);
	padding: 3px 10px;
	border-radius: 12px;
	border: 1px solid #d0dbe8;
	line-height: 1.4;
}

.ogeeat-author-box-meta {
	font-size: 12.5px;
	color: var(--ogeeat-muted);
	margin-top: 10px;
}

.ogeeat-author-box-meta span[itemprop="knowsAbout"] {
	color: var(--ogeeat-text);
	font-weight: 500;
}

.ogeeat-author-box-reviewed {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px dashed #dcdcde;
	font-size: 13px;
	color: #50575e;
	display: flex;
	align-items: center;
	gap: 4px;
}

.ogeeat-author-box-reviewed .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	color: #00a32a;
}

.ogeeat-author-box-reviewed a {
	color: var(--ogeeat-text);
	font-weight: 600;
	text-decoration: none;
}

.ogeeat-author-box-reviewed a:hover {
	text-decoration: underline;
}

@media (max-width: 480px) {
	.ogeeat-author-box {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 24px 20px;
	}
	.ogeeat-author-box-links {
		justify-content: center;
	}
	.ogeeat-author-box-reviewed {
		justify-content: center;
	}
}
