/*
 * MBM Book Reviews - public stylesheet
 *
 * Targets the book-review block emitted by MBMBR_Renderer.
 * Ported from the legacy book-review-public.min.css (plugin v2.3.9),
 * modernised for 2026: vendor-prefixed border-radius removed,
 * archives rules dropped, Unicode star rating styles added.
 */

/* Book-review container */
#book-review {
	padding: 0.625em;
	border-radius: 5px;
	overflow: hidden;
}

/* Field labels - inline-block so they sit beside values */
#book-review label {
	display: inline-block;
	font-weight: bold;
	padding-right: 0.3125em;
	margin-right: -4px;
}

/* Cover image - floats right, max half the container width */
#book-review .cover {
	float: right;
	border: 0;
	max-width: 50%;
	margin-left: 1em;
	margin-bottom: 1em;
}

/* Rating - legacy padding plus gold colour for Unicode stars */
#book-review .rating {
	padding-top: 0.3125em;
	font-size: 1.2em;
	letter-spacing: 0.05em;
	color: #d4a017;
}

/* Summary - left-bordered, slightly muted, to signal "external/database content"
 * and visually separate the book's blurb from the reviewer's own prose that follows.
 */
#book_review_summary {
	border-left: 4px solid #d4a017;
	padding: 0.25em 0 0.25em 1em;
	margin: 0.75em 0;
	color: #555;
	font-style: italic;
}

#book_review_summary p:first-child {
	margin-top: 0;
}

#book_review_summary p:last-child {
	margin-bottom: 0;
}

/* Links list - centred, inline items, no bullets */
#book-review .links {
	clear: right;
	margin: 0;
	padding: 0;
	text-align: center;
	list-style: none;
}

#book-review .links li {
	display: inline-block;
	padding-right: 0.5em;
}

/* Remove border from custom links */
#book-review .links .custom-link {
	border: 0;
}

/* Rating image - used by legacy plugin in excerpts, kept for theme compatibility */
.book_review_rating_image {
	float: left;
	margin: 0 0.5em 0 0;
}
