/**
 * STW Site Tools — block styles
 *
 * Only the Author Quote block needs styles from the plugin. The Note Block and
 * Author Badge are styled from Appearance > Customize > Additional CSS, which
 * is left exactly as it is.
 *
 * Loaded on the front end and inside the editor, so what the writer sees while
 * editing matches the published page.
 */

.vet-insight {
	display: flex;
	align-items: flex-start;
	gap: 18px;
/*	max-width: 960px;*/
	margin: 20px auto;
	padding: 22px 26px;
	background: #faf7f4;
	border: 1px solid #e8e1da;
	border-radius: 12px;
	font-family: "Source Sans 3", "Source Sans Pro", Arial, sans-serif;
	box-sizing: border-box;
}

.vet-insight__img {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #ffffff;
	box-shadow: 0 0 0 1px #e8e1da;
}

/* Text takes the full width when there is no photo. */
.vet-insight__content {
	flex: 1 1 auto;
	min-width: 0;
}

.vet-insight__label {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #b8322a;
}

.vet-insight__quote {
	margin: 0 0 12px;
	font-size: 16px;
	line-height: 1.65;
	color: #2f2f2f;
}

.vet-insight__author {
	margin: 0;
	font-size: 14px;
	color: #777777;
	line-height: 1.25;
}

.vet-insight__author strong {
	font-weight: 600;
/*	color: #2f2f2f;*/
}

@media (max-width: 600px) {
	.vet-insight {
		gap: 14px;
		padding: 18px 16px;
		margin: 16px;
	}

	.vet-insight__img {
		flex-basis: 42px;
		width: 42px;
		height: 42px;
	}

	.vet-insight__label {
		font-size: 11px;
	}

	.vet-insight__quote {
		font-size: 15px;
		line-height: 1.6;
	}

	.vet-insight__author {
		font-size: 13px;
	}
}

/* The site's theme may set its own heading/paragraph rules inside the editor
   canvas — keep the block looking the same there. */
.editor-styles-wrapper .vet-insight__label,
.editor-styles-wrapper .vet-insight__quote,
.editor-styles-wrapper .vet-insight__author {
	margin-top: 0;
}

.editor-styles-wrapper .vet-insight__label {
	margin-bottom: 6px;
}

.editor-styles-wrapper .vet-insight__quote {
	margin-bottom: 12px;
}

/* Placeholder circle shown in the editor when no photo is set. */
.vet-insight__img--empty {
	background: #e8e1da;
	display: inline-block;
}
