/* Scoped additions for the dynamic Service Details page — kept separate from
   the vendor custom.css so the theme file stays untouched. */

.service-process-box{
	margin-top: 60px;
}

.process-step-number{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--accent-color);
	color: var(--bg-color);
	font-size: 22px;
	font-weight: 700;
}

.category-list-icon{
	display: inline-block;
	width: 18px;
	height: 18px;
	object-fit: contain;
	vertical-align: middle;
	margin-right: 8px;
}

.sidebar-cta-box[style*="background-image"]{
	background-size: cover;
	background-position: center center;
}

.sidebar-cta-title p{
	margin-top: 12px;
	font-size: 14px;
}

.sidebar-cta-btn{
	margin-top: 30px;
}

/* Real uploaded icon photos are opaque rectangles — the theme's default
   hover effect (brightness(0) invert(1)) was built for small transparent
   line icons and instead paints the whole box solid white on these. */
.services-item:hover .services-item-header .icon-box img.icon-box-photo,
.service-feature-item:hover .icon-box img.icon-box-photo{
	filter: none;
	transform: scale(1.1);
}

/* Case Study "Full Story" numbered section cards — optional supporting
   image sits below the text, not squeezed into the small icon-box. */
.cs-section-image{
	margin-top: 20px;
	border-radius: 12px;
	overflow: hidden;
}

.cs-section-image img{
	width: 100%;
	display: block;
}

/* ==========================================================================
   Case Study details page — minimal layout pass.
   ========================================================================== */

/* Lightweight section spacing to replace .project-overview-box in places
   where the content inside (numbered cards, gallery grid, service cards,
   testimonial card) is already its own bordered/background card — avoids
   stacking a heavy card around a card. */
.cs-section{
	margin-top: 70px;
}

/* Readable line length for flowing paragraphs, not the narrower text
   already constrained inside cards/grids. */
.project-entry > p,
.cs-section > p{
	max-width: 65ch;
}

/* Metrics: flex evenly regardless of item count (3 metrics no longer leaves
   an empty gap the way a fixed 25% width did), center each stat, and size
   the value so longer text ("6 Months") sits on one line like the short
   percentage values instead of wrapping awkwardly. */
.cs-metrics{
	margin-top: 50px;
}

.cs-metrics.approach-counter-list{
	justify-content: flex-start;
}

.cs-metrics .approach-counter-item{
	flex: 1 1 180px;
	width: auto;
	text-align: center;
}

.cs-metrics .approach-counter-item h2{
	font-size: 30px;
	line-height: 1.3em;
}

.cs-metrics .approach-counter-content{
	margin-top: 16px;
	padding-top: 16px;
}

.cs-metrics .approach-counter-content h3{
	margin-bottom: 0;
	font-size: 13px;
	letter-spacing: 0.02em;
}
