/* ==========================================================================
   GordonByte custom styles — demo.gordonbyte.com
   Loaded by wp-content/mu-plugins/gordonbyte-custom.php on all front-end pages.
   ========================================================================== */

/* --------------------------------------------------------------------------
   "Our Services" cards — equal height regardless of description length.
   The services grid renders each service with the Elementor entry template
   (.elementor-95) inside a grid cell. The cell already stretches to the
   tallest item; these rules make the card inside stretch to fill the cell,
   while keeping the image block and text block at their natural size
   (extra space is left at the bottom of shorter cards).
   -------------------------------------------------------------------------- */
.cmsmasters-blog__post-inner > .elementor-95,
.cmsmasters-blog__post-inner > .elementor-95 > .elementor-inner,
.cmsmasters-blog__post-inner > .elementor-95 > .elementor-inner > .elementor-section-wrap {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.cmsmasters-blog__post-inner > .elementor-95 .elementor-section-wrap > .e-con {
	flex: 1 1 auto;
}

.cmsmasters-blog__post-inner > .elementor-95 .elementor-section-wrap > .e-con > .e-con {
	flex-grow: 0;
}

/* --------------------------------------------------------------------------
   Header logo — centered on mobile only.
   The header template (Elementor id 114) lays out a row (215e18ae) with the
   logo container (24fc338a) on the left and the hamburger-menu container
   (31024183) on the right. On mobile we let the logo container span the full
   row and center the logo image, while the hamburger is pulled out of the
   flow and pinned to the right edge (matching the row's 20px side padding)
   so it doesn't push the logo off-center.
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
	.elementor-114 .elementor-element.elementor-element-215e18ae {
		position: relative;
	}

	.elementor-114 .elementor-element.elementor-element-24fc338a {
		--width: 100% !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.elementor-114 .elementor-element-16f7070a .elementor-widget-cmsmasters-site-logo__container {
		display: flex !important;
		justify-content: center !important;
	}

	.elementor-114 .elementor-element.elementor-element-31024183 {
		position: absolute !important;
		right: 20px;
		top: 50%;
		transform: translateY(-50%);
		--width: auto;
		width: auto !important;
	}
}
