/* ============================================
   Author Box Section
   ============================================ */

.author-box-section {
	margin-top: 60px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Author Box */
.author-box {
	border-radius: 12px;
	padding: 24px;
	border: 1px solid #EAECF0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.author-box--reviewer {
	background: #F9FAFB;
}

.author-box--author {
	background: #fff;
}

.author-box__header {
	display: flex;
	gap: 16px;
	align-items: center;
}

.author-box__avatar {
	flex-shrink: 0;
}

.author-box__avatar img {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	object-fit: cover;
}

.author-box__info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.author-box__label {
	font-size: 11px;
	font-weight: 600;
	line-height: 16px;
	color: #475467;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.author-box__name {
	font-size: 18px;
	font-weight: 600;
	line-height: 26px;
	color: var(--color-heading-primary);
	margin: 0;
}

.author-box__name a {
	color: var(--color-heading-primary);
	text-decoration: none;
	transition: color 0.2s ease;
}

.author-box__name a:hover {
	color: var(--color-primary);
}

.author-box__social {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-top: 2px;
}

.author-box__social a {
	width: 32px;
	height: 32px;
	padding: 6px;
	background: #fff;
	border: 1px solid #D0D5DD;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	color: #475467;
}

.author-box__social a:hover {
	background: #F9FAFB;
	border-color: #98A2B3;
	color: var(--color-heading-primary);
}

.author-box__social svg {
	width: 16px;
	height: 16px;
}

.author-box__bio {
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-text-dark);
}

.author-box__bio p {
	margin: 0 0 12px 0;
}

.author-box__bio p:last-child {
	margin-bottom: 0;
}

/* ============================================
   Responsive Styles
   ============================================ */

/* Tablet (991px and below) */
@media (max-width: 991px) {
	.author-box-section {
		margin-top: 48px;
		gap: 16px;
	}

	.author-box {
		padding: 20px;
	}

	.author-box__name {
		font-size: 17px;
		line-height: 24px;
	}
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
	.author-box-section {
		margin-top: 40px;
	}

	.author-box__header {
		flex-direction: column;
		gap: 12px;
		text-align: center;
	}

	.author-box__avatar {
		align-self: center;
	}

	.author-box__info {
		align-items: center;
	}

	.author-box__social {
		justify-content: center;
	}
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
	.author-box-section {
		margin-top: 32px;
		gap: 12px;
	}

	.author-box {
		padding: 16px;
	}

	.author-box__avatar img {
		width: 56px;
		height: 56px;
	}

	.author-box__name {
		font-size: 16px;
		line-height: 22px;
	}

	.author-box__bio {
		font-size: 15px;
	}
}
