/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 01 2026 | 22:19:56 */
/* The Arbor — Clinical Reviewer card
 *
 * Styles the card DM Author Review appends to blog posts so it matches the
 * Elementor mockup "Medical Reviewer Template" (template 4440).
 * Values are measured from the rendered mockup at 1512px wide (Oct 1 2026).
 *
 * Tokens are the site's own Elementor kit globals:
 *   Deep Green  #224D28   Orange Accent #DE9547   Body text #183819
 *   Light Cream #FDF0CC   Middle Cream  #FFE7C0
 *   headings Playfair Display · body Century Gothic
 *
 * Everything is scoped to --reviewer, so the author and editor cards keep the
 * plugin's default styling if they are ever switched on.
 *
 * The plugin's own stylesheet sets a 250px photo, an uppercase semi-bold label
 * and bold name/title, so each of those is overridden explicitly below.
 *
 * The separate credentials line (.dm-role-card__credentials) and the
 * per-person button text are added by arbor_reviewer_card_markup() in the
 * theme glue (inc/arbor-staff.php); the plugin itself renders neither.
 */

.dm-author-section--reviewer {
	/* the plugin default is a 1px #333 border with a 30px radius;
	   mockup 4440 is a flat band */
	border: 0;
	border-radius: 0;
	background: #FFE7C0;
	/* Customify caps .entry-content children at the content size (1000px);
	   the mockup band spans the full content area */
	max-width: none !important;
	margin: 48px 0 0;
	padding: 40px 50px 50px;
	display: grid;
	/* Elementor's 37% column minus its 10px padding: 389px / 675px on desktop,
	   253px / 444px on tablet */
	grid-template-columns: calc(37% - 12.6px) 1fr;
	/* the 1fr spacer rows centre whichever column is shorter, as Elementor
	   does (the text is shorter on desktop, the photo on tablet) */
	grid-template-areas:
		".      body"
		"label  body"
		"avatar body"
		".      body";
	grid-template-rows: 1fr auto auto 1fr;
	column-gap: 20px;
	color: #183819;
}

/* The label is a sibling of the card, but the mockup puts it above the photo
 * in the left column. display:contents lets the card's own children join the
 * section grid so all three can be placed independently. */
.dm-author-section--reviewer .dm-role-card--reviewer {
	display: contents;
}

.dm-author-section--reviewer .dm-author-section__label {
	grid-area: label;
	margin: 0 0 20px;
	font-family: "Playfair Display", serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	color: #224D28;
}

.dm-author-section--reviewer .dm-role-card__avatar {
	grid-area: avatar;
	flex: none;
	width: auto;
	margin: 0;
}

.dm-author-section--reviewer .dm-role-card__avatar-img {
	display: block;
	width: 100%;
	max-width: none;
	height: 352px;
	object-fit: cover;
	object-position: 50% 0;
	border-radius: 0;   /* the plugin default is a circular avatar */
}

/* the mockup's right column is vertically centred against label + photo */
.dm-author-section--reviewer .dm-role-card__body {
	grid-area: body;
	align-self: center;
	margin-top: 10px;   /* Elementor centres the mockup column with 10px wrap padding; this lands it on the same line */
}

.dm-author-section--reviewer .dm-role-card__name {
	margin: 0;
	font-family: "Playfair Display", serif;
	font-size: 28.8px;
	font-weight: 400;
	line-height: 1;
	color: #224D28;
}

.dm-author-section--reviewer .dm-role-card__credentials {
	margin: 10px 0 0;
	font-family: "Playfair Display", serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	color: #224D28;
}

.dm-author-section--reviewer .dm-role-card__title {
	margin: 0;
	font-family: "Playfair Display", serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	color: #224D28;
}

/* the accent rule the mockup places between the credentials and the role */
.dm-author-section--reviewer .dm-role-card__title::before {
	content: "";
	display: block;
	width: 35%;
	height: 3px;
	margin: 22px 0 12px;
	background: #DE9547;
}

.dm-author-section--reviewer .dm-role-card__excerpt {
	margin: 20px 0 0;
	font-family: "Century Gothic", sans-serif;
	font-size: 16px;
	line-height: 1.618;
	color: #183819;
}

.dm-author-section--reviewer .dm-role-card__link {
	display: inline-block;
	margin-top: 43px;
	padding: 12px 24px;
	border-radius: 0;
	background: #224D28;
	color: #FDF0CC;
	font-family: "Century Gothic", sans-serif;
	font-size: 15px;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}

.dm-author-section--reviewer .dm-role-card__link:hover,
.dm-author-section--reviewer .dm-role-card__link:focus {
	background: #DE9547;
	color: #FFFFFF;
}

@media (max-width: 1024px) {
	.dm-author-section--reviewer .dm-role-card__avatar-img { height: 240px; }
	.dm-author-section--reviewer .dm-role-card__name { font-size: 25.6px; }
}

@media (max-width: 767px) {
	.dm-author-section--reviewer {
		grid-template-columns: 1fr;
		grid-template-areas:
			"label"
			"avatar"
			"body";
		grid-template-rows: auto;
		column-gap: 0;
	}
	/* the plugin's own mobile rules cap the photo and its wrapper at 250px */
	.dm-author-section--reviewer .dm-role-card__avatar {
		max-width: none;
	}
	.dm-author-section--reviewer .dm-role-card__avatar-img {
		height: 320px;
	}
	.dm-author-section--reviewer .dm-role-card__body {
		margin-top: 20px;
	}
	.dm-author-section--reviewer .dm-role-card__name { font-size: 24px; }
	.dm-author-section--reviewer .dm-role-card__link {
		padding: 10px;
	}
}
