/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/

/* =============================================
   OTHER POPULAR BLOG POSTS — related by category
   ============================================= */

.bg-related-category-wrap {
	margin: 40px 0 20px;
	clear: both;
	width: 100%;
	padding-right: 30px;
	box-sizing: border-box;
}

.bg-related-category-title {
	font-size: 18px;
	font-weight: normal;
	margin-bottom: 24px;
	padding-bottom: 0;
}

.bg-related-category-grid {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	gap: 24px;
	width: 100%;
}

.bg-related-category-item {
	flex: 1 1 0 !important;
	min-width: 0;
	width: 33.333% !important;
	float: none !important;
}

.bg-related-img-link {
	display: block;
	overflow: hidden;
	margin-bottom: 14px;
}

.bg-related-img-link img {
	width: 100% !important;
	height: 220px !important;
	object-fit: cover !important;
	display: block;
	transition: opacity 0.3s;
	border-radius: 5px;
}

.bg-related-img-link:hover img {
	opacity: 0.85;
}

.bg-related-content h3 {
	font-size: 16px !important;
	line-height: 1.4 !important;
	margin: 0 0 8px !important;
	font-weight: 600;
}

.bg-related-content h3 a {
	color: inherit;
	text-decoration: none;
}

.bg-related-content h3 a:hover {
	color: #444;
}

.bg-related-content .blog-categories.minor-meta {
	display: block;
}

.bg-related-content .blog-categories.minor-meta a {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #888;
	text-decoration: none;
}

@media (max-width: 767px) {
	.bg-related-category-grid {
		flex-direction: column !important;
	}
	.bg-related-category-item {
		width: 100% !important;
	}
}

/* =============================================
   POST TAGS — theme color, match old blog style
   ============================================= */

.single .blog-tags.minor-meta {
	font-size: 13px;
	text-transform: none !important;
	letter-spacing: 0;
}

.single .blog-tags.minor-meta a {
	text-transform: none !important;
	font-size: 13px;
	color: var(--enfold-main-color-primary) !important;
}

/* =============================================
   BLOG POST CTA BOX
   ============================================= */

.textwidget.custom-html-widget {
	padding-right: 30px;
	box-sizing: border-box;
}

.bg-cta-box {
	background-color: var(--enfold-main-color-primary, #5b9bbf);
	border-radius: 12px;
	padding: 48px 40px;
	text-align: center;
	margin: 40px 0;
}

.bg-cta-subtitle {
	color: rgba(255,255,255,0.85);
	font-size: 15px;
	margin-bottom: 10px;
}

.bg-cta-title {
	color: #fff !important;
	font-size: 36px !important;
	font-weight: 300 !important;
	margin-bottom: 30px !important;
	line-height: 1.2 !important;
}

.bg-cta-button {
	display: inline-block;
	background: #fff;
	color: #333 !important;
	padding: 16px 40px;
	border-radius: 8px;
	font-size: 16px;
	text-decoration: none !important;
	transition: background 0.2s, color 0.2s;
}

.bg-cta-button:hover {
	background: rgba(255,255,255,0.9);
}

/* =============================================
   BLACKLIST REPORT MODAL POPUP
   ============================================= */

.bg-modal-overlay {
	display: none !important;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.65);
	z-index: 999999;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
	overflow-y: auto;
}

.bg-modal-overlay.active {
	display: flex !important;
}

.bg-modal-box {
	background: #fff;
	border-radius: 10px;
	max-width: 780px;
	width: 100%;
	position: relative;
	padding: 30px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.35);
	box-sizing: border-box;
	margin: auto;
}

.bg-modal-close {
	position: absolute;
	top: 12px;
	right: 16px;
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: #aaa;
	padding: 0;
	z-index: 1;
}

.bg-modal-close:hover { color: #333; }

/* Image inside CF7 form */
.bg-modal-box .wpcf7-form img {
	width: 100%;
	border-radius: 6px;
	margin-bottom: 16px;
	border: 1px solid #e1e1e1;
	display: block;
}

/* Title and intro inside CF7 form */
.bg-modal-box .wpcf7-form h3 {
	font-size: 22px !important;
	margin: 12px 0 6px !important;
	flex: 0 0 100%;
	width: 100%;
}

.bg-modal-box .wpcf7-form > p:first-of-type {
	color: #555;
	font-size: 14px;
	margin: 0 0 16px !important;
	flex: 0 0 100%;
	width: 100%;
}

/* Two-column form grid */
.bg-modal-box .wpcf7-form {
	display: flex !important;
	flex-wrap: wrap;
	gap: 6px 16px;
	align-items: flex-start;
}

.bg-modal-box .wpcf7-form .flex_column {
	flex: 0 0 calc(50% - 8px) !important;
	max-width: calc(50% - 8px) !important;
	width: auto !important;
	display: block !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box;
}

/* Full-width rows: image, recaptcha, submit */
.bg-modal-box .wpcf7-form > img,
.bg-modal-box .wpcf7-form > p,
.bg-modal-box .wpcf7-form > .wpcf7-submit-container {
	flex: 0 0 100%;
	width: 100%;
	margin: 0 !important;
}

.bg-modal-box .wpcf7-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 2px;
}

.bg-modal-box .wpcf7-form input[type="text"],
.bg-modal-box .wpcf7-form input[type="email"],
.bg-modal-box .wpcf7-form select {
	display: block;
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	box-sizing: border-box;
	margin-top: 4px;
}

/* reCAPTCHA — strip the box, just show the checkbox */
.bg-modal-box .wpcf7-form .wpcf7-recaptcha,
.bg-modal-box .wpcf7-form .wpcf7-recaptcha > div {
	background: none !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	height: auto !important;
}

.bg-modal-box .wpcf7-form .wpcf7-recaptcha iframe {
	transform: scale(0.85);
	transform-origin: left center;
}

/* Submit button */
.bg-modal-box .wpcf7-form input[type="submit"] {
	background: var(--enfold-main-color-primary, #5b9bbf);
	color: #fff;
	border: none;
	padding: 12px 20px;
	border-radius: 6px;
	font-size: 15px;
	cursor: pointer;
	width: auto;
	margin: 0 auto !important;
	display: block;
}

.bg-modal-box .wpcf7-form input[type="submit"]:hover { opacity: 0.9; }

/* Remove any padding after submit */
.bg-modal-box .wpcf7-form > p:last-of-type {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

@media (max-width: 600px) {
	.bg-modal-box .wpcf7-form .flex_column {
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}
}

.bg-cta-title {
    margin: 0;
}

.bg-cta-subtitle {
	margin: 0 0 10px 0 !important;
}

.bg-cta-box.bg-blacklist-cta {
	margin: 30px 0px 10px 0;
	padding: 24px;
}

.bg-cta-button {
	border: 0;
	padding: 12px 20px 12px 20px;
}

h2.bg-cta-title {
	font-size: 32px !important;
}

.bg-modal-box {
	margin: 0;
	padding: 20px 30px 0px 30px;
}

.rc-anchor-light.rc-anchor-normal, .rc-anchor-light.rc-anchor-compact {
	border: 0;
}

.rc-anchor {
	border-radius: 3px;
	box-shadow: none;
	/* -webkit-box-shadow: 0 0 4px 1px rgba(0,0,0,.08); */
	-moz-box-shadow: 0 0 4px 1px rgba(0,0,0,.08);
}



.rc-anchor-logo-portrait {
	display: none;
}

.rc-anchor-light {
	background: unset;
	color: #000;
}



/* =============================================
   HIDE SHARE THIS ENTRY
   ============================================= */

.single .av-share-box,
.single .av-social-sharing-box {
	display: none !important;
}

/* Hide the duplicate post title in the content area on single posts
   (title is now displayed in the blue banner via avia_title()) */
.single .post-title.entry-title {
	display: none;
}

/* Hide the empty heading wrapper left behind after title suppression */
.single .av-heading-wrapper {
	display: none;
}

/* Hide featured image on all single posts */
.single .big-preview {
	display: none;
}

/* Pull the content wrapper up to align with the top of the sidebar */
.single .entry-content-wrapper.clearfix.standard-content {
	margin-top: -20px;
}

/* 30px gap between the views counter and the article text */
.single .pvc_stats {
	margin-bottom: 30px;
}

/* Views meta margin on single blog posts (post-27621 class excluded — applies to all posts) */
.single .post-views.content-post.entry-meta.load-static {
	margin: 0 0 30px 0;
}

/* =============================================
   YOUTUBE LITE FACADE — [bg_youtube] shortcode
   ============================================= */

.bg-yt-lite {
	position: relative;
	display: block;
	overflow: hidden;
	background: #000;
	cursor: pointer;
	border-radius: 5px;
}

.bg-yt-lite img {
	width: 100%;
	height: auto;
	display: block;
	transition: opacity 0.3s;
}

.bg-yt-lite:hover img {
	opacity: 0.8;
}

.bg-yt-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	filter: drop-shadow(0 2px 12px rgba(0,0,0,0.6));
	transition: transform 0.2s;
}

.bg-yt-lite:hover .bg-yt-play {
	transform: translate(-50%, -50%) scale(1.08);
}





