/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Reset footer paragraph margins */
.footerinfo p {
	margin: 0 !important;
}

/* Add spacing between footer icons */
.iconsfooter a {
	margin-left: 20px !important;
}

/* Hero image full width with bottom border */
.hereoimg1 img {
	width: 100%;
	border-bottom: 1px solid #E6E9EB;
}

/* Specific section fix for page ID 124 – remove min-height, adjust stacking */
.page-id-124 .elementor-element-b178c36 > div {
	min-height: 0 !important;
	z-index: 2;
}

/* Pull hero image upwards slightly */
.hereoimg1 {
	margin-top: -68.3px !important;
}

/* Remove list margins in solids section */
.solids ul {
	margin: 0;
}

/* Hide certain elements on page ID 135 */
.page-id-135 .elementor-element-54c77d7, 
.page-id-135 .elementor-element-b178c36 {
	display: none;
}

/* Force sponsor images full width, remove height restrictions */
.spub img {
	width: 100% !important;
	height: auto !important;
	max-height: unset !important;
}

/* Remove margin around logo tagline */
.logotagline {
	margin: 0 !important;
}

/* Set logo image width with responsive max */
.logotagline img {
	width: 240px;
	max-width: 100%;
}

/* Email link span/anchor full width block */
.emaillink a, .emaillink span {
	display: block;
	width: 100%;
}

/* Ensure email span wraps text properly */
.emaillink span span {
	overflow-wrap: break-word;
	width: 100%;
	display: block;
}

/* Remove margins from text in vision and machines sections */
.visionp p, .machines1 p {
	margin: 0 !important;
}

/* Adjust element layout for page ID 138 */
.page-id-138 .elementor-element-b178c36 {
	height: 0;
	position: relative;
	z-index: 5;
}

/* Remove right border from tabs content wrapper */
.tabs1content .elementor-tabs-content-wrapper {
	border-right: 0 !important;
}

/* Adjust blog background CTA images */
.blog12 .elementor-cta__bg {
	background-size: contain !important;
	background-repeat: no-repeat !important;
}

/* Enable text hyphenation */
.content123 p {
	hyphens: auto;
}

/* Limit logo image height in logos section */
.logos12 img {
	max-height: 80px;
	width: auto !important;
}

/* Align menu toggle to the right */
.menu12 .hfe-nav-menu__toggle.elementor-clickable {
	margin: 0 !important;
	margin-left: auto !important;
}

/* Form elements full width and remove outlines */
.form12 input[type=text], 
.form12 input[type=email], 
.form12 textarea, 
.form12 label {
	width: 100%;
	outline: 0 !important;
}

/* Style links inside comments and content areas */
.comments-area a, 
.page-content a {
	text-decoration: auto;
}

/* Prevent horizontal overflow in single post layout */
.wp-singular.single-post.single main {
	overflow: hidden;
}

/* Style single post content wrapper with borders & padding */
.wp-singular.single-post.single main > div, .error404 main > div, .wp-singular.page.page-template-default main > div {
	border-style: solid;
	border-width: 0px 1px 0px 1px;
	border-color: #e6e9eb;
	padding: 60px 30px 0;
	width: 1140px;
	margin: 0 auto;
	max-width: 100%;
}

.wp-singular.single-post.single main .page-content, .error404 main .page-content, .wp-singular.page.page-template-default main .page-content {
	padding-top: 0;
	padding-bottom: 60px
}

/*** 404 page ***/

.error404 main .page-content, .wp-singular.page.page-template-default .page-content{
	min-height: 55vh
}

/* Responsive styles for ≤1200px screens */
@media (max-width:1200px) {
	.wp-singular.single-post.single main, .error404 main, .wp-singular.page main {
		padding: 0 30px;
	}
	.wp-singular.single-post.single main > div, .wp-singular.page main > div {
		padding: 60px 30px;
	}
}

/* Responsive styles for ≤768px screens */
@media (max-width:768px) {
	.wp-singular.single-post.single main > div, .error404 main > div, .wp-singular.page.page-template-default main > div {
		padding: 30px 15px;
	}
	.wp-singular.single-post.single main, .error404 main, .wp-singular.page.page-template-default main {
		padding: 0 15px;
	}
}

/* Ensure page headers don’t exceed container */
.page-header .entry-title {
	max-width: 100% !important;
}

/* Adjust tabs image width */
.tabsimgs {
	width: 70% !important;
}

/* Remove border from specific tab */
#elementor-tab-title-9173 {
	border-bottom: 0 !important;
}

/* Remove bottom border from tab content */
.tabs1content .elementor-tabs-content-wrapper {
	border-bottom: 0 !important;
}

/* Responsive adjustments for ≤1021px screens */
@media (max-width:1021px) {
	/* Align footer icons properly */
	.iconsfooter a.elementor-icon {
		position: relative;
		top: 8px;
	}
	/* Reset footer menu spacing */
	.footermenu a.elementor-item {
		margin-right: 0 !important;
	}
}

/* Responsive adjustments for ≤768px screens */
@media (max-width:768px) {
	/* Restrict hero image height */
	.hereoimg1 img {
		height: 300px;
	}
	/* Hide certain elements on mobile (page ID 124 & 138) */
	.page-id-124 .elementor-element-b178c36 > div,
	.page-id-138 .elementor-element-b178c36 {
		display: none;
	}
	/* Reset hero image top margin */
	.hereoimg1 {
		margin-top: 0 !important;
	}
	/* Remove spacing between footer icons */
	.iconsfooter a {
		margin-left: 0 !important;
	}
	/* Video scaling fix */
	.homevideo video {
		object-fit: unset !important;
	}
}
