/*
Theme Name: Prologika Enfold Child
Description: Upgrade-safe Prologika customizations for the Enfold theme.
Author: Prologika
Template: enfold8
Version: 1.0.0
Text Domain: prologika-enfold-child
*/

/* Existing presentation is retained in Enfold's generated theme CSS. */

/* Match production's wider site container and smaller side gutters. */
html.responsive #top .container {
	max-width: 1200px;
	padding-left: 15px;
	padding-right: 15px;
}

/* Match production: show the invisible reCAPTCHA badge only on Contact. */
.grecaptcha-badge {
	z-index: 0 !important;
	opacity: 0;
}

.page-id-24 .grecaptcha-badge {
	z-index: 99999 !important;
	opacity: 1;
}

/* Match production blog and newsletter listing spacing. */
#top.page-id-1466 .casestudylisting,
#top.page-template-newsletter .casestudylisting,
#top.page-template-news .casestudylisting {
	margin: 18px 0;
	padding: 10px 0;
}

/* The News template uses production's tighter bottom spacing. */
#top.page-template-news .casestudylisting {
	margin: 0;
	padding: 10px 0 5px;
}

#top.page-id-1466 .casestudylisting.blog > img,
#top.page-template-news .casestudylisting.blog > img {
	float: left;
	display: block;
	position: relative;
	width: 25%;
	margin: 4px 10px 0 0;
}

/* Match production's full-width layout for every standard blog post. */
html #top .fullsize .template-blog .post .entry-content-wrapper,
html #top .fullsize .template-blog .post .entry-content-wrapper > * {
	max-width: unset;
}

/* Keep Enfold's related-post grid but use readable title cards instead of thumbnails. */
#top .related_posts .relThumWrap {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 58px;
	padding: 4px 8px;
	border: 1px solid #e1e1e1;
	background: #fff;
}

#top .related_posts .related_image_wrap {
	display: none;
}

#top .related_posts .av-related-title {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.35;
	text-align: center;
}
