/**
 * Shaip Dataset Layout
 *
 * Every selector is namespaced .shaip-ds* so nothing bleeds into the rest of
 * the site. Retune the whole palette from the custom properties below.
 */

.shaip-ds {
	/* Shaip Elementor global colours */
	--sds-accent: #ff5c39;        /* primary       */
	--sds-accent-soft: #feb09d;   /* 9280f7a       */
	--sds-accent-wash: #fff5f1;   /* tint of peach */
	--sds-cream: #fdf7ea;         /* 41c45fb       */
	--sds-sage: #e0ecde;          /* fd23859       */
	--sds-olive: #575538;         /* dc547a0       */
	--sds-tan: #c0a97e;           /* 2fb7b05       */
	--sds-maroon: #521f28;        /* 02eac27       */
	--sds-ink: #171512;           /* text          */
	--sds-ink-soft: #575538;      /* olive as muted body text */
	--sds-line: #eceae4;
	--sds-card: #ffffff;
	--sds-radius: 14px;
	--sds-gap: 22px;
	--sds-max: 1140px;

	max-width: var(--sds-max);
	margin-inline: auto;
	padding-inline: 16px;
	color: var(--sds-ink);
	box-sizing: border-box;
}

.shaip-ds *,
.shaip-ds *::before,
.shaip-ds *::after { box-sizing: border-box; }

.shaip-ds svg { width: 1em; height: 1em; display: block; }

/* ---------- layout grids ---------- */

.shaip-ds-grid {
	display: grid;
	gap: var(--sds-gap);
	margin-bottom: var(--sds-gap);
}
.shaip-ds-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shaip-ds-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1024px) {
	.shaip-ds-grid--2,
	.shaip-ds-grid--3 { grid-template-columns: 1fr; }
}

/* ---------- card shell ---------- */

.shaip-ds-card {
	background: var(--sds-card);
	border: 1px solid var(--sds-line);
	border-radius: var(--sds-radius);
	padding: 22px;
}

.shaip-ds-card__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}

.shaip-ds-card__icon {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: var(--sds-accent);
	color: #fff;
	font-size: 18px;
	display: grid;
	place-items: center;
}

.shaip-ds-card__title {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.3;
}

/* ---------- hero ---------- */

.shaip-ds-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	align-items: center;
	background: linear-gradient(135deg, var(--sds-accent-wash), #fffaf7 70%);
	border: 1px solid var(--sds-line);
	border-radius: var(--sds-radius);
	padding: 30px;
	margin-bottom: var(--sds-gap);
}

@media (max-width: 860px) {
	.shaip-ds-hero { grid-template-columns: 1fr; padding: 22px; }
}

.shaip-ds-badge {
	display: inline-block;
	background: var(--sds-accent-wash);
	color: var(--sds-accent);
	border: 1px solid var(--sds-accent-soft);
	border-radius: 999px;
	padding: 5px 14px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 14px;
}

.shaip-ds-hero__title { margin: 0 0 8px; line-height: 1.12; }
.shaip-ds-hero__subtitle { margin: 0 0 12px; font-weight: 600; }
.shaip-ds-hero__desc { margin: 0 0 22px; color: var(--sds-ink-soft); }

.shaip-ds-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.shaip-ds-hero__media { margin: 0; }
.shaip-ds-hero__img {
	width: 100%;
	height: auto;
	border-radius: 11px;
	display: block;
}

/* ---------- buttons ---------- */

.shaip-ds-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 12px 22px;
	border-radius: 9px;
	font-weight: 600;
	text-decoration: none;
	line-height: 1;
	transition: opacity 0.18s ease, background-color 0.18s ease;
}
.shaip-ds-btn:hover { opacity: 0.9; }

.shaip-ds-btn--primary { background: var(--sds-accent); color: #fff; }
.shaip-ds-btn--primary:hover { color: #fff; }

.shaip-ds-btn--ghost {
	background: #fff;
	color: var(--sds-ink);
	border: 1px solid var(--sds-line);
}

.shaip-ds-btn__ico { font-size: 17px; }

/* ---------- definition list (overview) ---------- */

.shaip-ds-deflist {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	border: 1px solid var(--sds-line);
	border-radius: 10px;
	overflow: hidden;
}

.shaip-ds-deflist__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 13px 15px;
	border-bottom: 1px solid var(--sds-line);
}
.shaip-ds-deflist__row:last-child { border-bottom: 0; }

.shaip-ds-deflist__key {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-weight: 600;
	color: var(--sds-ink);
}
.shaip-ds-deflist__ico { color: var(--sds-ink-soft); font-size: 17px; }
.shaip-ds-deflist__val { text-align: right; color: var(--sds-ink-soft); }

.shaip-ds-prose__label {
	margin: 0 0 6px;
	font-size: 0.95rem;
	font-weight: 700;
}
.shaip-ds-prose p { margin: 0; color: var(--sds-ink-soft); }

/* ---------- highlight stats ---------- */

.shaip-ds-stats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
@media (max-width: 640px) {
	.shaip-ds-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.shaip-ds-stat {
	border: 1px solid var(--sds-line);
	border-radius: 10px;
	padding: 16px 12px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}
.shaip-ds-stat__ico { color: var(--sds-accent); font-size: 21px; }
.shaip-ds-stat__label { font-weight: 600; font-size: 0.9rem; }
.shaip-ds-stat__value { color: var(--sds-ink-soft); font-size: 0.88rem; }

/* ---------- check lists (use cases) ---------- */

.shaip-ds-checks { list-style: none; margin: 0; padding: 0; }
.shaip-ds-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 7px 0;
	font-size: 0.94rem;
}
.shaip-ds-check__ico { color: var(--sds-accent); font-size: 18px; margin-top: 1px; }

/* ---------- specs table ---------- */

.shaip-ds-tablewrap { overflow-x: auto; }

.shaip-ds-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}
.shaip-ds-table th,
.shaip-ds-table td {
	border: 1px solid var(--sds-line);
	padding: 11px 13px;
	text-align: left;
	vertical-align: top;
}
.shaip-ds-table thead th {
	background: var(--sds-accent-wash);
	color: var(--sds-accent);
	font-weight: 700;
	white-space: nowrap;
}
.shaip-ds-table tbody th { font-weight: 600; white-space: nowrap; }
.shaip-ds-table tbody td { color: var(--sds-ink-soft); }

/* Stack the table into labelled rows on small screens. */
@media (max-width: 600px) {
	.shaip-ds-table,
	.shaip-ds-table thead,
	.shaip-ds-table tbody,
	.shaip-ds-table tr,
	.shaip-ds-table th,
	.shaip-ds-table td { display: block; width: 100%; }

	.shaip-ds-table thead { display: none; }

	.shaip-ds-table tr {
		border: 1px solid var(--sds-line);
		border-radius: 9px;
		margin-bottom: 10px;
		overflow: hidden;
	}
	.shaip-ds-table th,
	.shaip-ds-table td { border: 0; border-bottom: 1px solid var(--sds-line); }
	.shaip-ds-table tr > *:last-child { border-bottom: 0; }

	.shaip-ds-table tbody th {
		background: var(--sds-accent-wash);
		color: var(--sds-accent);
	}
	.shaip-ds-table td::before {
		content: attr(data-label) " ";
		display: block;
		font-weight: 600;
		color: var(--sds-ink);
		font-size: 0.78rem;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		margin-bottom: 3px;
	}
}

/* ---------- benefits ---------- */

.shaip-ds-benefits { list-style: none; margin: 0; padding: 0; }
.shaip-ds-benefit {
	display: flex;
	gap: 12px;
	padding: 11px 0;
	border-bottom: 1px solid var(--sds-line);
}
.shaip-ds-benefit:last-child { border-bottom: 0; }
.shaip-ds-benefit__ico { color: var(--sds-accent); font-size: 20px; flex: 0 0 auto; margin-top: 2px; }
.shaip-ds-benefit__text { display: flex; flex-direction: column; gap: 3px; }
.shaip-ds-benefit__title { font-size: 0.94rem; }
.shaip-ds-benefit__desc { font-size: 0.87rem; color: var(--sds-ink-soft); }

/* ---------- technical details grid ---------- */

.shaip-ds-card--technical { margin-bottom: var(--sds-gap); }

.shaip-ds-specgrid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
@media (max-width: 900px) {
	.shaip-ds-specgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
	.shaip-ds-specgrid { grid-template-columns: 1fr; }
}

.shaip-ds-spec {
	border: 1px solid var(--sds-line);
	border-radius: 10px;
	padding: 14px 15px;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas: "ico label" ". value";
	column-gap: 9px;
	row-gap: 3px;
	align-items: center;
}
.shaip-ds-spec__ico { grid-area: ico; color: var(--sds-accent); font-size: 18px; }
.shaip-ds-spec__label { grid-area: label; font-weight: 600; font-size: 0.88rem; }
.shaip-ds-spec__value { grid-area: value; color: var(--sds-ink-soft); font-size: 0.9rem; }

/* ---------- featured clients ---------- */

.shaip-ds-clients {
	background: var(--sds-card);
	border: 1px solid var(--sds-line);
	border-radius: var(--sds-radius);
	padding: 26px;
	text-align: center;
	margin-bottom: var(--sds-gap);
}
.shaip-ds-clients__title { margin: 0 0 4px; font-size: 1.3rem; }
.shaip-ds-clients__sub { margin: 0 0 20px; color: var(--sds-ink-soft); font-size: 0.92rem; }
.shaip-ds-clients__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}
@media (max-width: 640px) {
	.shaip-ds-clients__grid { grid-template-columns: 1fr; }
}
.shaip-ds-client {
	border: 1px solid var(--sds-line);
	border-radius: 10px;
	padding: 18px;
	display: grid;
	place-items: center;
}
.shaip-ds-client img { max-height: 34px; width: auto; }

/* ---------- CTA / form ---------- */

.shaip-ds-cta {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 30px;
	align-items: start;
	background: linear-gradient(135deg, var(--sds-accent-wash), #fffaf7 70%);
	border: 1px solid var(--sds-line);
	border-radius: var(--sds-radius);
	padding: 30px;
	margin-bottom: var(--sds-gap);
	scroll-margin-top: 90px;
}
@media (max-width: 860px) {
	.shaip-ds-cta { grid-template-columns: 1fr; padding: 22px; }
}
.shaip-ds-cta__title { margin: 0 0 10px; line-height: 1.2; }
.shaip-ds-cta__desc { margin: 0; color: var(--sds-ink-soft); }
.shaip-ds-note { color: var(--sds-ink-soft); font-style: italic; }

/* Let Gravity Forms inherit rather than fighting its own stylesheet. */
.shaip-ds-cta__form .gform_wrapper { margin: 0; }
.shaip-ds-cta__form input[type="submit"] {
	background: var(--sds-accent);
	color: #fff;
	border: 0;
	border-radius: 9px;
	padding: 13px 26px;
	font-weight: 600;
	cursor: pointer;
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
	.shaip-ds-btn { transition: none; }
}

/* ==================================================================
   THEME RESET
   The Shaip theme applies gradient text to headings and buttons via
   background-clip:text + -webkit-text-fill-color:transparent. Inside
   these cards that renders as invisible text, so the fill is reset
   explicitly rather than only setting `color`.
   It also applies hero min-height to the first section of a single
   post, which stretched the hero by several hundred pixels.
   ================================================================== */

.shaip-ds h1,
.shaip-ds h2,
.shaip-ds h3,
.shaip-ds h4,
.shaip-ds h5,
.shaip-ds h6,
.shaip-ds p,
.shaip-ds a,
.shaip-ds span,
.shaip-ds strong,
.shaip-ds li,
.shaip-ds th,
.shaip-ds td {
	-webkit-text-fill-color: currentColor;
	-webkit-background-clip: border-box;
	background-clip: border-box;
	text-shadow: none;
}

.shaip-ds .shaip-ds-hero,
.shaip-ds .shaip-ds-cta,
.shaip-ds .shaip-ds-card {
	min-height: 0;
}

.shaip-ds .shaip-ds-hero__title,
.shaip-ds .shaip-ds-hero__subtitle,
.shaip-ds .shaip-ds-card__title,
.shaip-ds .shaip-ds-cta__title {
	color: var(--sds-ink);
	-webkit-text-fill-color: var(--sds-ink);
}

.shaip-ds .shaip-ds-hero__desc,
.shaip-ds .shaip-ds-cta__desc {
	color: var(--sds-ink-soft);
	-webkit-text-fill-color: var(--sds-ink-soft);
}

.shaip-ds .shaip-ds-badge {
	color: var(--sds-accent);
	-webkit-text-fill-color: var(--sds-accent);
}

/* Buttons: the theme also restyles links, so pin both properties. */
.shaip-ds a.shaip-ds-btn--primary,
.shaip-ds a.shaip-ds-btn--primary:link,
.shaip-ds a.shaip-ds-btn--primary:visited,
.shaip-ds a.shaip-ds-btn--primary:hover,
.shaip-ds a.shaip-ds-btn--primary:focus {
	color: #fff;
	-webkit-text-fill-color: #fff;
	background-color: var(--sds-accent);
	text-decoration: none;
}

.shaip-ds a.shaip-ds-btn--ghost,
.shaip-ds a.shaip-ds-btn--ghost:link,
.shaip-ds a.shaip-ds-btn--ghost:visited,
.shaip-ds a.shaip-ds-btn--ghost:hover,
.shaip-ds a.shaip-ds-btn--ghost:focus {
	color: var(--sds-ink);
	-webkit-text-fill-color: var(--sds-ink);
	background-color: #fff;
	text-decoration: none;
}

/* Hero: keep a small placeholder SVG from stretching the row. */
.shaip-ds .shaip-ds-hero { align-items: center; }
.shaip-ds .shaip-ds-hero__media {
	display: flex;
	justify-content: center;
	align-items: center;
}
.shaip-ds .shaip-ds-hero__img {
	max-height: 300px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

/* Fill available width instead of leaving empty grid cells when a
   dataset only has two or three values to show. */
.shaip-ds .shaip-ds-stats {
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.shaip-ds .shaip-ds-specgrid {
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.shaip-ds .shaip-ds-grid--3 {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.shaip-ds .shaip-ds-grid--2 {
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

@media (max-width: 1024px) {
	.shaip-ds .shaip-ds-grid--2,
	.shaip-ds .shaip-ds-grid--3 { grid-template-columns: 1fr; }
}

/* Card titles were rendering at theme h2 scale, much larger than the
   mockup, which unbalanced every card. */
.shaip-ds .shaip-ds-card__title {
	font-size: 1.15rem;
	line-height: 1.3;
	margin: 0;
	font-weight: 700;
}
.shaip-ds .shaip-ds-hero__title {
	font-size: clamp(1.6rem, 3vw, 2.3rem);
	margin: 0 0 8px;
}
.shaip-ds .shaip-ds-cta__title {
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

/* ==================================================================
   v1.0.4 - palette alignment and CTA composition
   ================================================================== */

/* Hero and CTA share the cream-to-peach wash from the mockup. */
.shaip-ds .shaip-ds-hero,
.shaip-ds .shaip-ds-cta {
	background: linear-gradient(120deg, var(--sds-accent-wash) 0%, var(--sds-cream) 100%);
	border-color: var(--sds-accent-soft);
}

.shaip-ds .shaip-ds-badge {
	background: #fff;
	border-color: var(--sds-accent-soft);
}

/* CTA: copy and illustration stacked left, form right. */
.shaip-ds .shaip-ds-cta {
	grid-template-columns: 0.9fr 1.1fr;
	align-items: stretch;
}
@media (max-width: 900px) {
	.shaip-ds .shaip-ds-cta { grid-template-columns: 1fr; }
}

.shaip-ds .shaip-ds-cta__text {
	display: flex;
	flex-direction: column;
}
.shaip-ds .shaip-ds-cta__lead {
	margin: 0 0 8px;
	font-weight: 600;
	color: var(--sds-ink);
	-webkit-text-fill-color: var(--sds-ink);
}
.shaip-ds .shaip-ds-cta__media {
	margin: auto 0 0;
	padding-top: 18px;
}
.shaip-ds .shaip-ds-cta__media img {
	max-width: 100%;
	height: auto;
	max-height: 190px;
	display: block;
}

/* Featured clients: white cards on cream, per the mockup. */
.shaip-ds .shaip-ds-clients {
	background: var(--sds-card);
	border-color: var(--sds-line);
}
.shaip-ds .shaip-ds-client {
	background: #fff;
	min-height: 88px;
}
.shaip-ds .shaip-ds-client img {
	max-height: 38px;
	max-width: 78%;
	width: auto;
	object-fit: contain;
}

/* Specs table header uses the peach tint with primary text. */
.shaip-ds .shaip-ds-table thead th {
	background: var(--sds-accent-wash);
	color: var(--sds-accent);
	-webkit-text-fill-color: var(--sds-accent);
	border-color: var(--sds-accent-soft);
}

/* Card icon tiles and accent glyphs pinned to primary. */
.shaip-ds .shaip-ds-card__icon {
	background: var(--sds-accent);
	color: #fff;
}
.shaip-ds .shaip-ds-card__icon svg { color: #fff; }
.shaip-ds .shaip-ds-stat__ico,
.shaip-ds .shaip-ds-check__ico,
.shaip-ds .shaip-ds-benefit__ico,
.shaip-ds .shaip-ds-spec__ico { color: var(--sds-accent); }

/* Muted body copy across cards. */
.shaip-ds .shaip-ds-deflist__val,
.shaip-ds .shaip-ds-stat__value,
.shaip-ds .shaip-ds-benefit__desc,
.shaip-ds .shaip-ds-spec__value,
.shaip-ds .shaip-ds-clients__sub,
.shaip-ds .shaip-ds-prose p,
.shaip-ds .shaip-ds-table tbody td {
	color: var(--sds-ink-soft);
	-webkit-text-fill-color: var(--sds-ink-soft);
}

.shaip-ds .shaip-ds-clients__title {
	color: var(--sds-ink);
	-webkit-text-fill-color: var(--sds-ink);
	font-size: 1.35rem;
}

/* ==================================================================
   v1.0.5 - requested tweaks and sizing fixes
   ================================================================== */

/* Requested directly. */
.shaip-ds .shaip-ds-stat { margin: 0; }
.shaip-ds .shaip-ds-deflist__row { padding-left: 0; }
.shaip-ds .shaip-ds-deflist { border-left: 0; border-right: 0; border-radius: 0; }
.shaip-ds .shaip-ds-deflist__row:first-child { padding-top: 0; }

/* Client logos: these SVGs carry no intrinsic size, so max-height alone left
   them a few pixels tall. Give the box a fixed frame and let the mark fit. */
.shaip-ds .shaip-ds-client {
	min-height: 96px;
	padding: 20px 24px;
}
.shaip-ds .shaip-ds-client img {
	width: 100%;
	max-width: 150px;
	height: 42px;
	max-height: 42px;
	object-fit: contain;
	object-position: center;
}

/* Specs table was clipping its third column inside the narrow middle card.
   Give that column more of the row and tighten the table a little. */
@media (min-width: 1100px) {
	.shaip-ds .shaip-ds-grid--3 {
		grid-template-columns: 1fr 1.32fr 1.16fr;
	}
}
.shaip-ds .shaip-ds-tablewrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 0 -4px;
	padding: 0 4px;
}
.shaip-ds .shaip-ds-table {
	font-size: 0.84rem;
	min-width: 100%;
}
.shaip-ds .shaip-ds-table th,
.shaip-ds .shaip-ds-table td {
	padding: 9px 10px;
}
.shaip-ds .shaip-ds-table thead th { white-space: normal; }
.shaip-ds .shaip-ds-table tbody th { white-space: normal; }

/* Cards in the same row share a height, so their content should top-align
   rather than the shorter card stretching its list. */
.shaip-ds .shaip-ds-card { align-self: stretch; }
.shaip-ds .shaip-ds-card__body { height: auto; }

/* Hero image is now a bundled SVG with a known aspect ratio. */
.shaip-ds .shaip-ds-hero__img {
	width: 100%;
	max-width: 480px;
	max-height: 330px;
	height: auto;
}

/* Use-case rows were spaced wider than the mockup. */
.shaip-ds .shaip-ds-check { padding: 6px 0; font-size: 0.92rem; }
.shaip-ds .shaip-ds-checks { display: flex; flex-direction: column; }

/* ==================================================================
   v1.2.0 - list spacing, benefit icons, client grid
   ================================================================== */

/* Requested: strip inherited list margins across the component. The theme
   adds bottom margin to every li, which stacked up inside the cards. */
.shaip-ds ul,
.shaip-ds ol {
	margin: 0;
	padding: 0;
	list-style: none;
}
.shaip-ds li { margin: 0; }
.shaip-ds .shaip-ds-check { margin: 0; }
.shaip-ds .shaip-ds-benefit { margin: 0; }
.shaip-ds .shaip-ds-stat { margin: 0; }
.shaip-ds .shaip-ds-spec { margin: 0; }
.shaip-ds .shaip-ds-client { margin: 0; }
.shaip-ds .shaip-ds-deflist__row { margin: 0; }

/* Benefit rows now carry their own glyph, so give the icon a soft tile to sit
   in rather than floating loose against the text. */
.shaip-ds .shaip-ds-benefit {
	gap: 13px;
	padding: 13px 0;
	align-items: flex-start;
}
.shaip-ds .shaip-ds-benefit__ico {
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: var(--sds-accent-wash);
	border: 1px solid var(--sds-accent-soft);
	display: grid;
	place-items: center;
	font-size: 18px;
	margin: 0;
	flex: 0 0 34px;
}

/* Use-case rows: tighter, aligned with the mockup. */
.shaip-ds .shaip-ds-check {
	padding: 5px 0;
	gap: 9px;
	align-items: flex-start;
	line-height: 1.45;
}

/* Featured Clients grid. */
.shaip-ds .shaip-ds-clients { padding: 28px 26px; }
.shaip-ds .shaip-ds-clients__grid {
	gap: 16px;
	align-items: stretch;
}
.shaip-ds .shaip-ds-client {
	border: 1px solid var(--sds-line);
	border-radius: 11px;
	background: #fff;
	min-height: 92px;
	padding: 18px 22px;
	transition: border-color .18s ease, box-shadow .18s ease;
}
.shaip-ds .shaip-ds-client:hover {
	border-color: var(--sds-accent-soft);
	box-shadow: 0 2px 10px rgba(255, 92, 57, .08);
}
.shaip-ds .shaip-ds-client img {
	width: 100%;
	max-width: 158px;
	height: 40px;
	max-height: 40px;
	object-fit: contain;
	object-position: center;
	display: block;
}
@media (prefers-reduced-motion: reduce) {
	.shaip-ds .shaip-ds-client { transition: none; }
}

/* ==================================================================
   v1.2.2 - logo cropping and CTA composition
   ================================================================== */

/* The supplied logo SVGs are 300x300 with the mark small and centred, so
   object-fit fits the padded square and the mark ends up a few pixels tall.
   Scaling inside a clipped box crops the dead space. Per-logo dial:
     add_filter( 'shaip_dsl_client_logos', ... 'scale' => 3.0 ... );  */
.shaip-ds .shaip-ds-client {
	overflow: hidden;
	min-height: 104px;
	padding: 10px;
	display: grid;
	place-items: center;
}
.shaip-ds .shaip-ds-client img {
	width: 100%;
	max-width: 100%;
	height: 78px;
	max-height: 78px;
	object-fit: contain;
	transform: scale(var(--sds-logo-scale, 2.6));
	transform-origin: center center;
	will-change: transform;
}

/* --------------- CTA --------------- */

.shaip-ds .shaip-ds-cta {
	grid-template-columns: 0.92fr 1.08fr;
	gap: 36px;
	padding: 34px 36px;
	align-items: stretch;
}
@media (max-width: 900px) {
	.shaip-ds .shaip-ds-cta {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 24px 22px;
	}
}

/* Heading was breaking to a lone "for?" on its own line. */
.shaip-ds .shaip-ds-cta__title {
	font-size: clamp(1.3rem, 1.9vw, 1.7rem);
	line-height: 1.22;
	margin: 0 0 12px;
	max-width: 22ch;
	text-wrap: balance;
}
.shaip-ds .shaip-ds-cta__lead {
	margin: 0 0 8px;
	font-size: 0.97rem;
	line-height: 1.45;
	max-width: 42ch;
}
.shaip-ds .shaip-ds-cta__desc {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.5;
	max-width: 42ch;
}

/* Illustration anchors the bottom of the column instead of floating mid-air. */
.shaip-ds .shaip-ds-cta__media {
	margin: 22px 0 0;
	padding: 0;
	align-self: end;
}
.shaip-ds .shaip-ds-cta__media img {
	width: 100%;
	max-width: 400px;
	height: auto;
	max-height: 210px;
	object-fit: contain;
	object-position: left bottom;
	display: block;
}
@media (max-width: 900px) {
	.shaip-ds .shaip-ds-cta__media { margin-top: 14px; }
	.shaip-ds .shaip-ds-cta__media img { max-height: 150px; margin-inline: auto; }
}

/* Form column: tighten Gravity Forms so rows line up with the copy block. */
.shaip-ds .shaip-ds-cta__form .gform_wrapper .gform_fields { row-gap: 12px; }
.shaip-ds .shaip-ds-cta__form .gform_wrapper input[type="text"],
.shaip-ds .shaip-ds-cta__form .gform_wrapper input[type="email"],
.shaip-ds .shaip-ds-cta__form .gform_wrapper input[type="tel"],
.shaip-ds .shaip-ds-cta__form .gform_wrapper select,
.shaip-ds .shaip-ds-cta__form .gform_wrapper textarea {
	border: 1px solid var(--sds-line);
	border-radius: 8px;
	background: #fff;
}
.shaip-ds .shaip-ds-cta__form .gform_wrapper input:focus,
.shaip-ds .shaip-ds-cta__form .gform_wrapper select:focus {
	outline: 2px solid var(--sds-accent-soft);
	outline-offset: 1px;
}
.shaip-ds .shaip-ds-cta__form input[type="submit"] {
	background: var(--sds-accent);
	color: #fff;
	-webkit-text-fill-color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 13px 34px;
	font-weight: 600;
	cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
	.shaip-ds .shaip-ds-client img { will-change: auto; }
}
