/*
Theme Name: SmartMag Child
Theme URI: https://smartmag.theme-sphere.com/
Description: A child theme of SmartMag
Author: ThemeSphere
Author URI: https://theme-sphere.com
Template: smart-mag
Version: 1.1
*/

:root {
	--sidebar-pad: 18px;
}

.mb-20 {
	margin-bottom: 20px;
}

.wp-post-image:hover {
	opacity: 1;
}

.has-el-gap {
	--width-md: calc(var(--max-width-md) + 86px);	
}

.mfp-content {
	vertical-align: top;
	padding-top: 20%;
}

.post-share-float {
	height: calc(100% + 20px);
}

.smart-head {
	--head-row-pad: var(--wrap-padding);
}

.smart-head-search .query {
	width: 180px;
}

.smart-head-search .query:focus {
	width: 250px;
}

.archive-heading {
	font-size: 22px;
    font-weight: bold;
	line-height: 1.5;
    border-left: 4px solid var(--c-main);
	margin-bottom: 20px;
}

.elementor-widget-smartmag-postslist {
	border-radius: 4px;
	overflow: hidden;
}

@media (max-width: 767px) {
	.has-el-gap .elementor-column {
		padding-left: 10px;
		padding-right: 10px;		
	}
    .smart-head-row {
		padding: 0 var(--head-row-pad);
    }
	.has-el-gap {
		--width-md: calc(var(--max-width-md) + 70px);	
	}
}

@media (max-width: 940px) {
    .smart-head-row .wrap {
        max-width: calc(var(--max-width-md) + 50px);
    }
    .elementor-section.elementor-section-boxed {
        --spacer: 18px;
    }
	.elementor-section.elementor-section-boxed > div.elementor-container {
        max-width: var(--width-md, 750px);	
	}
    .ts-contain, .main {
        max-width: calc(var(--max-width-md) + 70px);
    }
}

@media (min-width: 1201px) {
    .elementor-section.elementor-section-boxed > div.elementor-container {
        max-width: var(--width, 1020px);
    }
}
