/* Addresx Job Reviews - front-end styles */

.axjr-reviews {
	margin: 40px 0 10px;
	padding: 28px;
	background: #fff;
	border: 1px solid #ececf1;
	border-radius: 16px;
	box-shadow: 0 6px 24px rgba(20, 20, 43, 0.05);
	font-family: inherit;
	color: #1f2340;
}

/* Summary header */
.axjr-summary {
	display: flex;
	align-items: center;
	gap: 20px;
	padding-bottom: 22px;
	margin-bottom: 22px;
	border-bottom: 1px solid #f0f0f5;
	flex-wrap: wrap;
}

.axjr-summary-score {
	display: flex;
	align-items: baseline;
	gap: 2px;
	background: linear-gradient(135deg, #6a5cff, #8f7bff);
	color: #fff;
	padding: 14px 22px;
	border-radius: 14px;
	min-width: 96px;
	justify-content: center;
}

.axjr-avg {
	font-size: 34px;
	font-weight: 800;
	line-height: 1;
}

.axjr-avg-max {
	font-size: 15px;
	font-weight: 600;
	opacity: 0.85;
}

.axjr-summary-count {
	font-size: 14px;
	color: #6b6f86;
	margin-top: 4px;
}

/* Stars */
.axjr-stars {
	display: inline-flex;
	line-height: 1;
	letter-spacing: 1px;
	font-size: 18px;
}

.axjr-star-full {
	color: #ffb200;
}

.axjr-star-half {
	position: relative;
	color: #e2e2ea;
}

.axjr-star-half::before {
	content: "★";
	position: absolute;
	left: 0;
	top: 0;
	width: 50%;
	overflow: hidden;
	color: #ffb200;
}

.axjr-star-empty {
	color: #e2e2ea;
}

.axjr-heading {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 18px;
	color: #1f2340;
}

/* List */
.axjr-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 18px;
}

.axjr-item {
	display: flex;
	gap: 14px;
	padding: 18px;
	border: 1px solid #f0f0f5;
	border-radius: 12px;
	background: #fafafe;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.axjr-item:hover {
	box-shadow: 0 6px 18px rgba(20, 20, 43, 0.06);
	transform: translateY(-1px);
}

.axjr-avatar {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: linear-gradient(135deg, #6a5cff, #b06bff);
	color: #fff;
	font-weight: 700;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.axjr-body {
	flex: 1 1 auto;
	min-width: 0;
}

.axjr-item-head {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 4px;
}

.axjr-name {
	font-weight: 700;
	font-size: 15px;
	color: #1f2340;
}

.axjr-loc {
	font-size: 12.5px;
	color: #8a8fa3;
}

.axjr-loc::before {
	content: "📍 ";
}

.axjr-item-stars {
	margin: 2px 0 8px;
}

.axjr-item-stars .axjr-stars {
	font-size: 15px;
}

.axjr-text {
	margin: 0 0 8px;
	font-size: 14.5px;
	line-height: 1.6;
	color: #45496a;
}

.axjr-date {
	font-size: 12.5px;
	color: #a0a4b8;
}

/* Inline rating (shortcode) */
.axjr-inline-rating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: #45496a;
}

.axjr-inline-count {
	color: #8a8fa3;
}

/* Responsive */
@media (max-width: 600px) {
	.axjr-reviews {
		padding: 20px;
	}
	.axjr-summary {
		gap: 14px;
	}
	.axjr-avg {
		font-size: 28px;
	}
	.axjr-item {
		padding: 14px;
	}
}
