/* ==========================================================================
   SHARE THE MOVE / REFERRAL WIDGET

   Rendered by arm_share_the_move_widget() (inc/widget-share-the-move.php) and
   the [share_the_move] shortcode. Content comes from the "Share The Move"
   options page (inc/acf-share-the-move-fields.php).

   Self-contained and namespaced (.stm-*) with no ancestor dependencies, so the
   section looks identical on template-service-page.php, template-junk-removal.php
   or any page that drops in the shortcode. Design mirrors the old Service Page
   "Refer a Friend" section (Sora font, #1C3F95 brand blue, #F1F2F4 grey band).
   Enqueued from functions.php (md_theme_scripts()).
   ========================================================================== */

.stm-section {
	padding: 0;
	margin-bottom: 50px;
	background: #F1F2F4;
}

.stm-holder {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 50px;
	flex-wrap: wrap;
}

/* ---------- LEFT PHOTO ---------- */
.stm-photo {
	width: 400px;
	flex: 0 0 auto;
}

img.stm-photo {
	object-fit: cover;
}

.stm-photo-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 140px;
	background: linear-gradient(135deg, #EEF1F8 0%, #D9DCE3 100%);
	border: 1px solid #D9DCE3;
	color: #1C3F95;
}

.stm-photo-placeholder i {
	font-size: 36px;
	opacity: .55;
}

/* ---------- CONTENT ---------- */
.stm-content {
	flex: 1 1 320px;
}

.stm-title {
	font-family: 'Sora', sans-serif;
	font-size: 26px;
	line-height: 34px;
	font-weight: 700;
	color: #1C3F95;
	margin: 0 0 14px;
}

.stm-text {
	font-family: 'Sora', sans-serif;
	font-size: 15px;
	line-height: 25px;
	font-weight: 300;
	color: #35383E;
	margin: 0;
}

.stm-btn {
	display: inline-block;
	margin-top: 20px;
	font-family: 'Sora', sans-serif;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	padding: 14px 28px;
	border: 1px solid #1C3F95;
	background: #1C3F95;
	color: #fff;
	transition: all .4s ease-out;
}

.stm-btn:hover,
.stm-btn:focus {
	background: #082773;
	border-color: #082773;
	color: #fff;
	text-decoration: none;
}

/* ---------- RIGHT REWARD CARD ---------- */
.stm-reward {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}

.stm-reward i {
	font-size: 34px;
	color: #1C3F95;
}

.stm-reward .stm-reward-image,
.stm-reward .sp-icon-img {
	width: 220px;
	object-fit: contain;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media screen and (max-width: 991px) {
	.stm-holder {
		padding: 20px;
	}

	.stm-content {
		flex: 1 1 100%;
	}
}

@media screen and (max-width: 767px) {
	.stm-holder {
		flex-direction: column;
		text-align: center;
	}

	.stm-photo,
	.stm-reward {
		width: 200px;
	}
}
