/*
 * Services page styles.
 *
 * Ported from the live compiled CSS (index-CTd4ANgl.css). The Services body is
 * Elementor; these rules style only what the theme injects into each
 * .WorksListPlaceholder: the servicesWorkList wrapper, the worklist indent, the
 * "Some of the teams work" label, and the ProjectsListByCat two-card grid with
 * its ByCat canvas. The card internals (workWrap, workPlaceholder, imgPlaceholder,
 * taglist, workData) and the my-masonry-grid flex container come from works.css,
 * which the Services page also enqueues.
 */

.servicesWorkList {
	max-width: 1550px;
	margin: 0 auto -3rem;
}

/* Indents the grid to the right of the section copy, matching live. */
.worklist {
	padding-left: calc(36% - 6vw);
	transform: translate(6vw);
}

.servicesWorkList_span {
	color: var(--secondaryColor);
	font-weight: 500;
	font-size: 0.8rem;
	margin-bottom: 2rem;
	display: inline-block;
}

/* The ByCat grid section. Pulled up 8rem and left 6vw over the section above,
   widened by 6vw, as live does. */
.ProjectsListByCat {
	position: relative;
	z-index: 2;
	width: calc(100% + 6vw);
	margin: -8rem auto auto -6vw;
	padding: 8rem 6vw 0;
}

.ProjectsListByCat .workWrap {
	background-color: #fff;
	padding-bottom: 6rem;
}

/* ByCat canvas variant: the services canvas shifts left 1.25%, unlike the main
   grid canvas (plain scale(1) in works.css). Scoped so the main grid is left
   untouched. */
.ProjectsListByCat .worksCanvas {
	transform: scale(1) translate(-1.25%);
}

@media (max-width: 700px) {
	.worklist {
		padding-left: 0;
		transform: translate(0);
	}

	.servicesWorkList > span,
	.servicesWorkList_span {
		padding-left: 0;
	}

	.ProjectsListByCat {
		padding-left: 0;
		padding-right: 0;
		margin-left: 0;
		width: 100%;
	}
}
