/* Success Stories - page 4738. Built from Figma 64jxrTa7vZcWHczfHbSnjb (874:1786 / 874:442). */

/* ---------------------------------------------------------- page backdrop */
/* The backdrop is an image fill on the Figma FRAME itself, drawn at w:140.69%
   left:-32.74%, so only x 23.27%-94.35% of the source is visible. The upload is
   already cropped to that window; stretching it keeps the glow in the same place
   whatever the live page height turns out to be. */
body.page-id-4738 {
	background-color: #0a0a0a;
	background-image: url(../../../../uploads/smmp-success/ss-backdrop.jpg);
	background-repeat: no-repeat;
	background-position: top center;
	background-size: 100% 100%;
	background-attachment: scroll;
}

@media (max-width: 767px) {
	body.page-id-4738 {
		background-image: none;
		background-color: #000;
	}
}

/* ------------------------------------------------- case study cards */
/* Figma frosts the location pill over the photo. */
#ss-badge-1,
#ss-badge-2,
#ss-badge-3 {
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

/* trust bar logos + marquee now live in the shared assets/css/smmp-logo-marquee.css
   module (container CSS ID: smmp-logo-marquee). */

/* --------------------------------------------- testimonials (Swiper) */
/* The slides are the [smmp_testimonials] cards (wp-admin > Testimonials) - or, as a
   fallback, hand-built Elementor card containers; see assets/js/smmp-success.js.
   Swiper writes their width inline. */
#ss-testi-row .ss-tlist.swiper,
#ss-testi-row > .e-con-inner.swiper,
#ss-testi-row.swiper {
	width: 100%;
	overflow: hidden;
	padding-bottom: 4px;
}

@media (max-width: 767px) {
	#ss-testi-row .ss-tlist.swiper,
	#ss-testi-row > .e-con-inner.swiper,
	#ss-testi-row.swiper {
		justify-content: flex-start !important;
	}
}

#ss-testi-row .swiper-wrapper {
	align-items: stretch;
	box-sizing: content-box;
}

#ss-testi-row .swiper-slide {
	height: auto;
	flex-shrink: 0;
}

/* The oversized opening quote the design floats in each card's top-left.
   MUST be ::after - Elementor paints a container's background OVERLAY on ::before,
   so styling ::before here displaced the texture layer by left:16px/top:6px and it
   rendered as a ghost card offset behind every real one. */
#ss-testi-row > .e-con-inner > .e-con::after,
#ss-testi-row .swiper-wrapper > .e-con::after,
#ss-testi-row .ss-tlist .ss-tcard::after {
	content: "\201C";
	position: absolute;
	left: 16px;
	top: 6px;
	font-family: "Liberation Serif", Georgia, "Times New Roman", serif;
	font-size: 60px;
	line-height: 60px;
	color: rgba(245, 176, 0, 0.2);
	pointer-events: none;
	z-index: 1;
}

/* Figma dot row: active is a 27x8 gold pill, the rest 8px white-55 circles */
#ss-testi-dots { min-height: 8px; }

#ss-testi-dots .ss-bullet {
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.55);
	cursor: pointer;
	transition: background .2s ease, width .2s ease;
}

#ss-testi-dots .ss-bullet:hover { background: rgba(255, 255, 255, 0.8); }

#ss-testi-dots .ss-bullet-active {
	width: 27px;
	background: #f5b000;
}

/* ------------------------------ testimonial cards ([smmp_testimonials]) */
/* Content: wp-admin > Testimonials (inc/smmp-testimonials.php). These rules
   reproduce what Elementor generated for the hand-built card containers they
   replaced (f62d83f & co., measured identical at 393-1920). The avatar ring is a
   true circle (54px, 56px on mobile) - the Elementor build rendered it 54x60. */
#ss-testi-row .elementor-widget-shortcode {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	flex: 1 1 100%;
}

#ss-testi-row .ss-tlist {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 32px;
	width: 100%;
	min-width: 0;
}

#ss-testi-row .ss-tlist .ss-tcard {
	position: relative;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: stretch;
	gap: 16px;
	width: calc((100% - 64px) / 3);
	min-width: 0;
	min-height: 266px;
	margin: 0;
	padding: 29px 37px;
	background-color: #121314;
	border: 1px solid rgba(217, 165, 39, 0.5);
	border-radius: 20px;
	box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.4);
}

/* texture layer - the same box Elementor's background overlay used: inset -1px over the
   border AND carrying its own copy of the border, so the gold edge stays at full strength
   through the 30% texture and the image is sized to the padding box, not the border box */
#ss-testi-row .ss-tlist .ss-tcard::before {
	content: "";
	position: absolute;
	top: -1px;
	left: -1px;
	box-sizing: border-box;
	width: calc(100% + 2px);
	height: calc(100% + 2px);
	border: 1px solid rgba(217, 165, 39, 0.5);
	border-radius: 20px;
	/* repeat (Elementor's default) on purpose: cover fits the image to the padding box's
	   width exactly, so the 1px side borders are only textured by the repeat */
	background: url(../../../../uploads/smmp-success/ss-testimonial-texture.jpg) center center / cover;
	opacity: 0.3;
	pointer-events: none;
}

/* content paints above the texture */
#ss-testi-row .ss-tlist .ss-tcard > * { position: relative; }

#ss-testi-row .ss-tquote {
	box-sizing: border-box;
	width: min(100%, 313px); /* lane cap that reproduces Figma's 4/3/4 line breaks */
	max-width: 100%;
	margin: 16px 0 0;
	padding: 0;
	border: 0;
	background: none;
	quotes: none;
	font-family: "Satoshi", Sans-serif;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px;
	letter-spacing: normal;
	text-transform: none;
	color: rgba(255, 255, 255, 0.55);
}

#ss-testi-row .ss-tquote::before,
#ss-testi-row .ss-tquote::after { content: none; }

#ss-testi-row .ss-tauthor {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 0;
	font-style: normal;
}

#ss-testi-row .ss-tavatar {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	flex: 0 0 auto;
	width: 54px;
	height: 54px;
	border: 2px solid #f5b000;
	border-radius: 50px;
	overflow: hidden;
}

#ss-testi-row .ss-tavatar img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 100%;
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: cover;
	object-position: center center;
}

#ss-testi-row .ss-tmeta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: 1 1 auto;
	min-width: 0;
}

#ss-testi-row .ss-tname {
	font-family: "Satoshi", Sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 24px;
	color: #f5b000;
}

#ss-testi-row .ss-trole {
	font-family: "Satoshi", Sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 16px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 1024px) {
	#ss-testi-row .ss-tlist .ss-tcard { width: calc((100% - 32px) / 2); }
}

@media (max-width: 767px) {
	#ss-testi-row .ss-tlist .ss-tcard { width: 100%; padding: 26px 24px; }
	#ss-testi-row .ss-tquote { width: 100%; font-size: 16px; line-height: 23px; }
	#ss-testi-row .ss-tavatar { width: 56px; height: 56px; }
}

/* no photo: the person's initials on a gold disc - same look as the blog author avatars */
#ss-testi-row .ss-tavatar--initials {
	align-items: center;
	justify-content: center;
	background: #f5b000;
	color: #422d00;
	font-family: "Satoshi", Sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.5px;
	-webkit-user-select: none;
	user-select: none;
}