/* Scout Agent Maker Section */
.scout-agent-maker {
	--scout-am-accent: #e6b51b;
	box-sizing: border-box;
	overflow: hidden;
	color: #172131;
}
.scout-agent-maker *,
.scout-agent-maker *::before,
.scout-agent-maker *::after {
	box-sizing: border-box;
}
.scout-agent-maker__inner {
	width: 100%;
	margin: 0 auto;
}
.scout-agent-maker__top {
	display: grid;
	grid-template-columns: minmax(0, 48%) minmax(0, 1fr);
	align-items: stretch;
}
.scout-agent-maker__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(20px, 3vw, 48px) clamp(30px, 5vw, 78px) clamp(20px, 3vw, 48px) 0;
}
.scout-agent-maker__accent-line {
	width: 44px;
	height: 3px;
	background: var(--scout-am-accent);
	margin-bottom: 24px;
}
.scout-agent-maker__eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .15em;
	margin-bottom: 24px;
}
.scout-agent-maker__heading {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(54px, 5.4vw, 90px);
	line-height: 1.02;
	font-weight: 400;
	letter-spacing: -.035em;
}
.scout-agent-maker__heading em {
	color: var(--scout-am-accent);
	font-style: italic;
	font-weight: 400;
}
.scout-agent-maker__description {
	max-width: 640px;
	margin-top: 24px;
	color: #55606d;
	font-size: 18px;
	line-height: 1.7;
}
.scout-agent-maker__button {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	min-height: 58px;
	margin-top: 32px;
	padding: 0 30px;
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	transition: transform .2s ease, opacity .2s ease;
}
.scout-agent-maker__button:hover {
	transform: translateY(-2px);
}
.scout-agent-maker__image {
	min-width: 0;
	min-height: 560px;
	overflow: hidden;
}
.scout-agent-maker__image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
}

.scout-agent-maker__features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 42px;
	border-top: 1px solid #d8d3cb;
	border-left: 1px solid #d8d3cb;
}
.scout-agent-maker__feature {
	min-width: 0;
	border-right: 1px solid #d8d3cb;
	border-bottom: 1px solid #d8d3cb;
	background: rgba(255,255,255,.35);
}
.scout-agent-maker__feature-icon {
	font-size: 34px;
	line-height: 1;
	color: #172131;
	margin-bottom: 22px;
}
.scout-agent-maker__feature-icon svg,
.scout-agent-maker__feature-icon i {
	color: currentColor;
	fill: currentColor;
}
.scout-agent-maker__feature-category {
	margin-bottom: 10px;
	color: var(--scout-am-accent);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .14em;
}
.scout-agent-maker__feature-title {
	font-size: 24px;
	line-height: 1.25;
	font-weight: 500;
}
.scout-agent-maker__feature-line {
	width: 34px;
	height: 2px;
	background: var(--scout-am-accent);
	margin: 18px 0;
}
.scout-agent-maker__feature-text {
	color: #56606d;
	font-size: 15px;
	line-height: 1.65;
}

@media (max-width: 1024px) {
	.scout-agent-maker__top {
		grid-template-columns: 1fr !important;
	}
	.scout-agent-maker__content {
		padding: 0 0 44px;
	}
	.scout-agent-maker__features {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.scout-agent-maker__heading {
		font-size: clamp(46px, 15vw, 66px);
	}
	.scout-agent-maker__description {
		font-size: 16px;
	}
	.scout-agent-maker__image {
		min-height: 340px;
	}
	.scout-agent-maker__features {
		grid-template-columns: 1fr;
	}
	.scout-agent-maker__button {
		width: 100%;
	}
}


/* v1.0.1 — constrain Elementor icons inside feature cards */
.scout-agent-maker__feature{
	position:relative;
	overflow:hidden;
}

.scout-agent-maker__feature-icon{
	display:flex;
	align-items:center;
	justify-content:flex-start;
	width:38px;
	height:38px;
	max-width:100%;
	flex:0 0 auto;
	overflow:hidden;
	font-size:38px;
	line-height:1;
	color:#172131;
	margin-bottom:22px;
}

.scout-agent-maker__feature-icon .elementor-icon{
	display:flex;
	align-items:center;
	justify-content:center;
	width:100%;
	height:100%;
	line-height:1;
}

.scout-agent-maker__feature-icon svg{
	display:block;
	width:38px !important;
	height:38px !important;
	max-width:38px !important;
	max-height:38px !important;
	min-width:0 !important;
	min-height:0 !important;
	object-fit:contain;
	overflow:visible;
	flex:0 0 auto;
}

.scout-agent-maker__feature-icon i{
	display:block;
	width:auto;
	height:auto;
	font-size:38px !important;
	line-height:1 !important;
}

.scout-agent-maker__feature-icon svg,
.scout-agent-maker__feature-icon svg *{
	fill:currentColor;
	stroke:currentColor;
}

@media(max-width:1024px){
	.scout-agent-maker__feature-icon{
		width:34px;
		height:34px;
		font-size:34px;
	}
	.scout-agent-maker__feature-icon svg{
		width:34px !important;
		height:34px !important;
		max-width:34px !important;
		max-height:34px !important;
	}
	.scout-agent-maker__feature-icon i{
		font-size:34px !important;
	}
}

@media(max-width:767px){
	.scout-agent-maker__feature-icon{
		width:30px;
		height:30px;
		font-size:30px;
	}
	.scout-agent-maker__feature-icon svg{
		width:30px !important;
		height:30px !important;
		max-width:30px !important;
		max-height:30px !important;
	}
	.scout-agent-maker__feature-icon i{
		font-size:30px !important;
	}
}


/* v1.0.2 — mobile image-height fix and swipeable feature cards */
@media (max-width: 767px) {
	/* Elementor previously applied only min-height, which left a large empty
	   area beneath images whose intrinsic ratio was shorter than the container. */
	.scout-agent-maker__image {
		min-height: 0 !important;
		height: 340px;
	}

	.scout-agent-maker__image img {
		width: 100%;
		height: 100% !important;
		min-height: 0 !important;
		object-fit: cover;
	}

	/* Feature cards become a native touch slider instead of stacking. */
	.scout-agent-maker__features {
		display: grid;
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: minmax(82%, 1fr);
		gap: 14px;
		margin-top: 30px;
		padding: 0 2px 14px;
		border: 0;
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-inline: contain;
		scroll-snap-type: inline mandatory;
		scroll-padding-inline: 2px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.scout-agent-maker__features::-webkit-scrollbar {
		display: none;
	}

	.scout-agent-maker__feature {
		width: 100%;
		min-height: 100%;
		border: 1px solid #d8d3cb;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}
}


/* v1.0.3 — mobile carousel navigation cue */
.scout-agent-maker__features-wrap {
	position: relative;
}

.scout-agent-maker__next {
	display: none;
}

@media (max-width: 767px) {
	.scout-agent-maker__features-wrap {
		position: relative;
	}

	.scout-agent-maker__next {
		position: absolute;
		top: 50%;
		right: 8px;
		z-index: 4;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #f2c500;
		color: #fff;
		box-shadow: 0 8px 24px rgba(0,0,0,.18);
		font: inherit;
		font-size: 22px;
		line-height: 1;
		transform: translateY(-50%);
		cursor: pointer;
		transition: opacity .2s ease, transform .2s ease;
	}

	.scout-agent-maker__next:hover,
	.scout-agent-maker__next:focus {
		color: #fff;
		transform: translateY(-50%) scale(1.04);
		outline: none;
	}

	.scout-agent-maker__next:active {
		transform: translateY(-50%) scale(.95);
	}

	.scout-agent-maker__next.is-hidden {
		opacity: 0;
		pointer-events: none;
	}
}


/* v1.0.4 — interactive mobile next-card control */
.scout-agent-maker{
	position:relative;
}

.scout-agent-maker__mobile-next{
	display:none;
	position:absolute;
	z-index:20;
	top:50%;
	right:8px;
	align-items:center;
	justify-content:center;
	width:42px;
	height:42px;
	padding:0;
	border:0;
	border-radius:50%;
	background:#F2C500;
	color:#fff;
	box-shadow:0 8px 24px rgba(0,0,0,.18);
	font-size:21px;
	line-height:1;
	cursor:pointer;
	transform:translateY(-50%);
	transition:opacity .2s ease, transform .2s ease, box-shadow .2s ease;
	-webkit-tap-highlight-color:transparent;
}

.scout-agent-maker__mobile-next span{
	display:block;
	transform:translateX(1px);
}

.scout-agent-maker__mobile-next:hover,
.scout-agent-maker__mobile-next:focus{
	background:#F2C500;
	color:#fff;
	box-shadow:0 10px 28px rgba(0,0,0,.22);
	outline:none;
	transform:translateY(-50%) scale(1.04);
}

.scout-agent-maker__mobile-next:active{
	transform:translateY(-50%) scale(.95);
}

.scout-agent-maker__mobile-next.is-disabled{
	opacity:0;
	pointer-events:none;
}

@media(max-width:767px){
	.scout-agent-maker__features{
		display:flex;
		gap:18px;
		overflow-x:auto;
		scroll-snap-type:x mandatory;
		scroll-behavior:smooth;
		overscroll-behavior-x:contain;
		-webkit-overflow-scrolling:touch;
		padding-right:var(--scout-am-peek,24px);
		scrollbar-width:none;
	}

	.scout-agent-maker__features::-webkit-scrollbar{
		display:none;
	}

	.scout-agent-maker__feature{
		flex:0 0 calc(100% - var(--scout-am-peek,24px));
		scroll-snap-align:start;
		scroll-snap-stop:always;
	}

	.scout-agent-maker__mobile-next{
		display:flex;
	}
}
