/*
 * Custom Element - Quote
 */

 div.ce-quote {
	position: relative;
	margin: 30px 10px 30px 40px;
	display: flex;
	padding: 20px 0;
	background: #E9F4FB;
	border-radius: 16px;
}

div.ce-quote::before {
	content: url("../assets/quote-left-solid.svg");
	width: 50px;
	height: 50px;
	position: absolute;
	top: -30px;
	left: -30px;
	font-family: "Times New Roman", serif;
	font-size: 150px;
	line-height: 0;
}

div.ce-quote p { /* band-aid fox for wordpress insert p tags willy nilly */
	margin: 0 !important;
	padding: 0 !important;
}

div.ce-quote div.ce-quote-content {
	flex-grow: 1;
	padding: 0 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

div.ce-quote div.ce-quote-content div.ce-quote-content-body {
	position: relative;
	margin: 0;
	padding: 0;
}

div.ce-quote div.ce-quote-content div.ce-quote-content-author {
	margin: 10px 0;
	padding: 0 0 0 70px;
	text-align: right;
}

div.ce-quote div.ce-quote-content div.ce-quote-content-author a {
	color: #0489c4;
	text-decoration: none;
}

div.ce-quote div.ce-quote-image {
	max-width: calc(30% - 30px - 30px);
	flex-grow: 0;
	padding: 0 30px;
}

div.ce-quote div.ce-quote-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}


/*
 * Related Blogs component
 */

section.related-blogs p { /* band-aid fox for wordpress insert p tags willy nilly */
	margin: 0 !important;
	padding: 0 !important;
}

section.related-blogs a {
	color: #333;
	text-decoration: none;
}

section.related-blogs div.related-blogs-list-item-button {
	padding: 4px;
    border: 1px solid #00000000;
    border-radius: 4px;
    box-shadow: #000 1px 1px 4px;
}

section.related-blogs div.related-blogs-list-item-button:hover {
	border: 1px solid #0489c4;
}

section.related-blogs div.related-blogs-list-item-button img {
	width: 100%;
	margin: 0 0 5px !important;
	padding: 0 !important;
	aspect-ratio: 4/3;
	object-fit: contain;
}

section.related-blogs div.related-blogs-list-item-button div.related-blogs-list-item-button-title {
	margin: 0 0 5px;
	padding: 0 2px;
	font-weight: bold;
}

section.related-blogs div.related-blogs-list-item-button div.related-blogs-list-item-button-author {
	margin: 0;
	padding: 0 2px;
	font-size: 14px;
	font-weight: normal;
	color: #0489c4;
}

section.related-blogs div.related-blogs-list-item-button div.related-blogs-list-item-button-date {
	margin: 0 0 5px;
	padding: 0 2px;
	font-size: 12px;
	font-weight: normal;
}
