/*
 * components.css — Reusable UI Components
 * Sapiens + Machines Block Theme — Batch 4 update
 */

.sm-container h2 {
    clamp(1.5rem, 2.25vw, 2.25rem);
}

.sm-service-card {
	border:         1px solid var(--line);
	border-radius:  var(--radius-card);
	padding:        var(--space-md);
	display:        flex;
	flex-direction: column;
	min-height:     420px;
	gap:            0;
}

.sm-service-card__top {
	margin-bottom: auto;
}

.sm-service-card__body {
	display: flex;
	flex-direction: column;
	gap: var(--space-xs);
	min-height: 145px;
	margin-top: var(--space-2xl);
}

.sm-service-card__body .wp-block-heading {
	font-size:   var(--size-h3);
	line-height: 1.15;
	margin:      0;
}

.sm-service-card__body > .wp-block-paragraph {
	font-size:   var(--size-small);
	line-height: 1.6;
	color:       var(--ink-soft);
	margin:      0;
}

.sm-process-steps {
	max-width: 900px;
    margin-left: clamp(0rem, 8vw, 8rem);
}

.sm-process-step {
	gap:           var(--space-xl);
	padding-block: var(--space-xl);
}

.sm-process-step__num {
	flex-shrink: 0;
	width:       3rem;
	padding-top: 0.3em;
}

.sm-process-step__content {
	gap: var(--space-sm);
}

.sm-process-step__content .wp-block-heading {
	font-size:   var(--size-h3);
	line-height: 1.15;
	margin:      0;
}

.sm-process-step__content > .wp-block-paragraph {
	font-size:   var(--size-base);
	line-height: 1.7;
	color:       var(--ink-soft);
	max-width:   58ch;
	margin:      0;
}

.sm-process-steps > .wp-block-separator {
	margin-block: 0 !important;
	border-top:   1px solid var(--line-soft) !important;
	height:       0 !important;
}

.sm-trust-strip__logos {
	gap:        var(--space-xl);
	flex-wrap:  wrap;
	margin-top: var(--space-md);
}

.sm-trust-logo {
	font-family:    var(--font-mono);
	font-size:      var(--size-small);
	font-weight:    500;
	letter-spacing: 0.06em;
	color:          var(--ink-faint);
	text-transform: uppercase;
	margin:         0;
	white-space:    nowrap;
	opacity:        0.65;
	transition:     opacity var(--transition-fast);
}

.sm-trust-logo:hover {
	opacity: 1;
}

.sm-cta--dark .sm-cta__inner {
	align-items: center;
	gap:         var(--space-lg);
}

.sm-cta--dark .sm-cta__headline {
	font-style: italic;
}

.sm-cta--dark .sm-cta__subhead {
	font-size:   var(--size-base);
	max-width:   52ch;
	line-height: 1.65;
	margin:      0 auto;
}

.sm-cta-dark .sm-label,
.sm-cta--dark .sm-label {
    color: rgba(243, 240, 231, 0.42) !important;
}

.sm-cta--light .sm-cta__row {
	gap: var(--space-xl);
}

.sm-cta--light .sm-cta__copy {
	flex:      1 1 auto;
	max-width: 600px;
	gap:       var(--space-sm);
}

.sm-cta--light .sm-cta__headline {
	font-size:   var(--size-h2);
	line-height: 1.1;
	margin:      0;
}

.sm-cta--light .sm-cta__subhead {
	font-size:   var(--size-base);
	color:       var(--ink-soft);
	line-height: 1.65;
	margin:      0;
}

.sm-cta--light .sm-cta__action {
	flex-shrink: 0;
	align-self:  center;
}

.sm-hero__inner {
	gap:       var(--space-xl);
	max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.sm-hero__headline {
    font-size: clamp(3rem, 3.8vw, 4.25rem);
	line-height: 0.98;
	max-width: 1000px;
	font-style:     italic;
	letter-spacing: -0.02em;
}

.sm-hero__subhead {
	font-size:   var(--size-base);
	line-height: 1.7;
	color:       var(--ink-soft);
	max-width:   52ch;
	margin:      0;
}

.sm-hero__actions {
	gap:       var(--space-sm);
	flex-wrap: wrap;
}

.sm-position__inner {
	align-items: center;
	gap: var(--space-lg);
	text-align: center;
	padding-block: 4.5rem;
	max-width: 900px;
	margin-inline: auto;
}

.sm-position__headline {
	font-size: clamp(1.5rem, 2.5vw, 2.75rem) !important;
	line-height: 1.05;
	max-width: 850px;
	margin-inline: auto;
}

.sm-section--services .sm-section__header h2,
.sm-section--process .sm-section__header h2 {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 2.25vw, 2.25rem);
	line-height: 1.05;
	letter-spacing: -0.035em;
	max-width: 780px;
	margin-top: clamp(1rem, 2vw, 1.5rem);
}

.sm-section__header {
	gap:           var(--space-sm);
	margin-bottom: var(--space-xl);
}

.sm-section__header--left {
	align-items: flex-start;
}

.sm-section__header .wp-block-heading,
.sm-services__title {
	font-size:   clamp(1.5rem, 2.25vw, 2.25rem);
	line-height: 1.1;
	font-style:  normal;
	margin:      0;
	margin-top: clamp(1rem, 2vw, 1.5rem);
}

.sm-section__lead {
	font-size:   var(--size-large);
	line-height: 1.65;
	color:       var(--ink-soft);
	max-width:   58ch;
	margin:      0 auto;
}

.sm-label--faint {
	color: var(--ink-faint);
}

.sm-service-card__dots {
	display:     flex;
	align-items: center;
	gap:         4px;
	margin:      0;
	line-height: 1;
}

.sm-dot {
	display:       inline-block;
	width:         8px;
	height:        8px;
	border-radius: 50%;
	flex-shrink:   0;
}

.sm-dot--sapiens {
	background-color: var(--sapiens);
}

.sm-dot--machine {
	background-color: var(--machine);
}

.home .wp-block-post-content {
	max-width: none !important;
	width: 100% !important;
	margin-inline: 0 !important;
}

/* Service Detail Page components */

.sm-section--header h1.wp-block-heading {
	font-family: "Fraunces", serif;
	font-weight: 600;
	font-size: 56px;
	line-height: 1.02;
	letter-spacing: -0.56px;
	color: var(--ink, #1b1916);
	margin: 0;
}

.sm-service-lede {
	font-family: "Work Sans", sans-serif;
	font-size: 24px !important;
	line-height: 1.65;
	color: var(--ink-soft, #4a453e);
	max-width: 720px;
}

.sm-service-date {
	font-family: "Work Sans", sans-serif!important;
	font-size: 14px !important;
	line-height: 1.65;
	color: var(--ink-soft, #4a453e);
	max-width: 720px;
	font-style:italic;
}

.sm-service__legal {
	margin-bottom:100px;
}

.sm-form-success h2 {
    font-size:clamp(1.5rem, 2.25vw, 2.25rem)!important;
}

.sm-form-success .sm-service-lede {
    font-family: var(--font-body)!important;
    font-size: var(--size-base)!important;
    line-height: 1.7!important;
    color: var(--ink-soft)!important;
}

.sm-service-intro-text {
	font-family: "Work Sans", sans-serif;
	font-size: 18px;
	line-height: 1.65;
	color: var(--ink, #1b1916);
	max-width: 760px;
}

.sm-service-intro-text--soft {
	color: var(--ink-soft, #4a453e);
}

.sm-benefit-card h3 {
	font-family: "Fraunces", serif;
	font-weight: 600;
	font-size: 28px;
	line-height: 1.15;
	letter-spacing: -0.28px;
	color: var(--ink, #1b1916);
	margin: 0;
}

.sm-benefit-card p {
	font-family: "Work Sans", sans-serif!important;
	font-size: 16px!important;
	line-height: 1.6!important;
	color: var(--ink-soft, #4a453e)!important;
	margin: 0!important;
}

.sm-capability-list {
	background: var(--paper-lift, #fbf9f3);
	border: 1px solid var(--line, #d7d0bc);
	border-radius: 4px;
	padding: var(--space-md, 24px);
}

.sm-capability-item-full {
	padding: var(--space-xs, 12px) 0;
	border-bottom: 1px solid var(--line-soft, #e3ddcb);
}

.sm-capability-item-full--last {
	border-bottom: none;
}

.sm-capability-item {
	position: relative;
	padding: 0 0 0 18px;
	margin: 0;
	font-family: "Work Sans", sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink, #1b1916);
}

.sm-capability-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--sapiens, #b8763f);
}

.sm-capability-item__desc {
	padding-left: 18px;
	margin: 4px 0 0 0;
	font-family: "Work Sans", sans-serif;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ink-soft, #4a453e);
}

.sm-tag-row {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 30px!important;
}

.sm-tag,
.wp-block-post-content p.sm-tag {
	display: inline-flex;
	align-items: center;
	width: auto;
	margin: 0;
	padding: var(--space-3xs, 4px) var(--space-2xs, 8px);
	border: 1px solid var(--line, #d7d0bc);
	border-radius: 3px;
	font-family: "IBM Plex Mono", monospace;
	font-weight: 500;
	font-size: 11px;
	line-height: 1;
	letter-spacing: 0.66px;
	text-transform: uppercase;
	color: var(--ink-faint, #7a7567);
}

.sm-tag a,
.wp-block-post-content p.sm-tag a {
	text-decoration: none;
}

.sm-case-study__image {
	width: 260px;
	height: 200px;
	background: #e8d9bd;
}

.sm-case-study__title {
	font-family: "Fraunces", serif;
	font-weight: 600;
	font-size: 22px;
	line-height: 1.15;
	letter-spacing: -0.22px;
	color: var(--ink, #1b1916);
	margin: 0 0 var(--space-xs, 12px) 0;
}

.sm-case-study__stat-label {
	font-family: "IBM Plex Mono", monospace;
	font-size: 12px;
	line-height: 1.5;
	letter-spacing: 0.24px;
	color: var(--ink-faint, #7a7567);
	margin: 0;
}

.sm-case-study__stat-value {
	font-family: "Fraunces", serif;
	font-weight: 600;
	font-size: 24px;
	line-height: 1.15;
	letter-spacing: -0.24px;
	color: var(--ink, #1b1916);
	margin: 0;
}

.sm-case-study__link a {
	font-family: "Work Sans", sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink, #1b1916);
	text-decoration: none;
}

.sm-case-study__link a:hover {
	text-decoration: underline;
}

.sm-faq-item {
	border-top: 1px solid var(--line, #d7d0bc);
	padding: var(--space-sm, 16px) 0;
	margin-top:0;
}

.sm-faq-item p {
    margin-top:20px;
}

.sm-faq-item summary.sm-faq-item__question {
	font-family: "Fraunces", serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.15;
	letter-spacing: -0.18px;
	color: var(--ink, #1b1916);
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.sm-faq-item summary.sm-faq-item__question::-webkit-details-marker {
	display: none;
}

.sm-faq-item summary.sm-faq-item__question::after {
	content: "+";
	font-family: "Work Sans", sans-serif;
	font-weight: 500;
	font-size: 16px;
	color: var(--sapiens, #b8763f);
	margin-left: var(--space-sm, 16px);
}

.sm-faq-item[open] summary.sm-faq-item__question::after {
	content: "−";
}

.sm-related-link {
	margin: 0;
	font-family: "Work Sans", sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 1.5;
}

.sm-related-link a {
	color: var(--ink, #1b1916);
	text-decoration: none;
}

.sm-related-link a:hover {
	text-decoration: underline;
}

/* Who This Is / Isn't For */

.sm-fit-check {
	display: flex;
	gap: 40px;
	flex-wrap: wrap;
}

.sm-fit-check__col {
	flex: 1 1 320px;
	display: flex;
	flex-direction: column;
	gap: var(--space-xs, 12px);
}

.sm-fit-check__heading {
	font-family: "IBM Plex Mono", monospace;
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.66px;
	text-transform: uppercase;
	margin: 0;
}

.sm-fit-check__col--yes .sm-fit-check__heading {
	color: var(--moss-deep, #2c3727);
}

.sm-fit-check__col--no .sm-fit-check__heading {
	color: var(--ink-faint, #7a7567);
}

.sm-fit-check__item {
	position: relative;
	padding-left: 24px;
	margin: 0;
	font-family: "Work Sans", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink-soft, #4a453e);
}

.sm-fit-check__item::before {
	position: absolute;
	left: 0;
	top: 0;
	font-family: "Work Sans", sans-serif;
	font-weight: 600;
}

.sm-fit-check__col--yes .sm-fit-check__item::before {
	content: "✓";
	color: var(--moss, #3f4d38);
}

.sm-fit-check__col--no .sm-fit-check__item::before {
	content: "✕";
	color: var(--ink-faint, #7a7567);
}

/* How Pricing Works */

.sm-pricing-explainer {
	background: var(--paper-lift, #fbf9f3);
	border: 1px solid var(--line, #d7d0bc);
	border-radius: 4px;
	padding: var(--space-lg, 32px);
	display: flex;
	flex-direction: column;
	gap: var(--space-md, 24px);
}

.sm-pricing-row {
	display: flex;
	gap: 32px;
	flex-wrap: wrap;
}

.sm-pricing-item {
	flex: 1 1 220px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.sm-pricing-item__label {
	font-family: "IBM Plex Mono", monospace;
	font-weight: 500;
	font-size: 11px;
	letter-spacing: 0.66px;
	text-transform: uppercase;
	color: var(--sapiens-deep, #8c5a2e);
	margin: 0;
}

.sm-pricing-item__text {
	font-family: "Work Sans", sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ink, #1b1916);
	margin: 0;
}

/* Per-service accent variants — AI Solutions & Brand+Paid Media use default sapiens */

.sm-service--web .sm-capability-item::before { background: var(--machine, #3e5c6b); }
.sm-service--web .sm-tag { color: var(--machine-deep, #28404c); border-color: var(--machine, #3e5c6b); }
.sm-service--web .sm-case-study__stat-value { color: var(--machine-deep, #28404c); }
.sm-service--web .sm-faq-item summary.sm-faq-item__question::after { color: var(--machine, #3e5c6b); }
.sm-service--web .sm-case-study__image { background: var(--machine-tint, #d7e1e3); }

.sm-service--leadgen .sm-capability-item::before { background: var(--moss, #3f4d38); }
.sm-service--leadgen .sm-tag { color: var(--moss-deep, #2c3727); border-color: var(--moss, #3f4d38); }
.sm-service--leadgen .sm-case-study__stat-value { color: var(--moss-deep, #2c3727); }
.sm-service--leadgen .sm-faq-item summary.sm-faq-item__question::after { color: var(--moss, #3f4d38); }
.sm-service--leadgen .sm-case-study__image { background: var(--moss-tint, #dce3d3); }

.sm-service--software .sm-capability-item::before { background: var(--ink-soft, #4a453e); }
.sm-service--software .sm-tag { color: var(--ink, #1b1916); border-color: var(--ink-soft, #4a453e); }
.sm-service--software .sm-case-study__stat-value { color: var(--ink, #1b1916); }
.sm-service--software .sm-faq-item summary.sm-faq-item__question::after { color: var(--ink-soft, #4a453e); }
.sm-service--software .sm-case-study__image { background: var(--line-soft, #e3ddcb); }

.sm-service--it .sm-capability-item::before { background: var(--machine, #3e5c6b); }
.sm-service--it .sm-tag { color: var(--machine-deep, #28404c); border-color: var(--machine, #3e5c6b); }
.sm-service--it .sm-case-study__stat-value { color: var(--machine-deep, #28404c); }
.sm-service--it .sm-faq-item summary.sm-faq-item__question::after { color: var(--machine, #3e5c6b); }

.sm-service--seo .sm-capability-item::before { background: var(--moss, #3f4d38); }
.sm-service--seo .sm-tag { color: var(--moss-deep, #2c3727); border-color: var(--moss, #3f4d38); }
.sm-service--seo .sm-case-study__stat-value { color: var(--moss-deep, #2c3727); }
.sm-service--seo .sm-faq-item summary.sm-faq-item__question::after { color: var(--moss, #3f4d38); }

/* About Page */

.sm-team-avatar {
	width: 88px;
	height: 100%;
	overflow: hidden;
	flex-shrink: 0;
	background: var(--sapiens-tint, #efdfc8);
}

.sm-team-avatar__img {
    height:100%!important;
}

@media (max-width: 590px) {
	.sm-team-avatar {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	background: var(--sapiens-tint, #efdfc8);
}
.sm-team-avatar__img {
    height:inherit!important;
}
.sm-team-card__details {
    margin-top:0;
}

}

.sm-team-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

.sm-team-card__details {
	display: flex;
	flex-direction: column;
	gap: var(--space-2xs, 8px);
}

.sm-team-name {
	font-family: "Work Sans", sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink, #1b1916);
	margin: 0;
}

.sm-team-role {
	font-family: "IBM Plex Mono", monospace!important;
	font-size: 12px!important;
	letter-spacing: 0.24px;
	color: var(--sapiens-deep, #8c5a2e);
	margin: 0;
}

.sm-team-bio {
	font-family: "Work Sans", sans-serif!important;
	font-size: 14px!important;
	line-height: 1.65!important;
	color: var(--ink-soft, #4a453e)!important;
	margin: 0!important;
}

.sm-stat-value {
	font-family: "Fraunces", serif;
	font-weight: 600;
	font-size: 36px;
	line-height: 1.1;
	letter-spacing: -0.36px;
	color: var(--ink, #1b1916);
	margin: 0;
}

.sm-stat-label {
	font-family: "IBM Plex Mono", monospace;
	font-size: 12px;
	letter-spacing: 0.24px;
	color: var(--ink-faint, #7a7567);
	margin: 0;
}

/* Contact Page */

.sm-contact-h1 {
	font-family: "Fraunces", serif;
	font-weight: 600;
	font-size: 48px;
	line-height: 1.1;
	letter-spacing: -0.48px;
	color: var(--ink, #1b1916);
	margin: 0;
	max-width: 1000px;
}

.sm-contact-form {
	background: var(--paper-lift, #fbf9f3);
	border: 1px solid var(--line, #d7d0bc);
	padding: var(--space-lg, 32px);
	display: flex;
	flex-direction: column;
	gap: var(--space-md, 24px);
}

.sm-contact-row {
	display: flex;
	gap: var(--space-md, 24px);
	flex-wrap: wrap;
}

.sm-field {
	display: flex;
	flex-direction: column;
	gap: var(--space-3xs, 4px);
	flex: 1 1 260px;
}

.sm-field__label {
	font-family: "IBM Plex Mono", monospace;
	font-weight: 500;
	font-size: 11px;
	letter-spacing: 0.66px;
	text-transform: uppercase;
	color: var(--ink-soft, #4a453e);
}

.sm-field__input {
	font-family: "Work Sans", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink, #1b1916);
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--line, #d7d0bc);
	padding: 4px 0;
	width: 100%;
}

.sm-field__input:focus {
	outline: none;
	border-bottom-width: 2px;
	border-bottom-color: var(--sapiens, #b8763f);
}

.sm-field__input::placeholder {
	color: var(--ink-faint, #7a7567);
}

.sm-field__textarea {
	resize: vertical;
	min-height: 60px;
	border: none;
	border-bottom: 1px solid var(--line, #d7d0bc);
}

.sm-qualification {
	display: flex;
	flex-direction: column;
	gap: var(--space-2xs, 8px);
}

.sm-qualification__label {
	font-family: "IBM Plex Mono", monospace;
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.96px;
	color: var(--ink-soft, #4a453e);
	margin: 0;
}

.sm-chip-row {
	display: flex;
	gap: var(--space-2xs, 8px);
	flex-wrap: wrap;
}

.sm-chip-radio {
	position: relative;
	cursor: pointer;
}

.sm-chip-radio__input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.sm-chip-radio__label.sm-tag {
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.sm-chip-radio__input:checked + .sm-chip-radio__label.sm-tag {
	background: var(--sapiens-tint, #efdfc8);
	color: var(--sapiens-deep, #8c5a2e);
	border-color: transparent;
}

.sm-chip-radio__input:focus-visible + .sm-chip-radio__label.sm-tag {
	outline: 2px solid var(--sapiens, #b8763f);
	outline-offset: 2px;
}

.sm-submit-block {
	display: flex;
	flex-direction: column;
	gap: var(--space-2xs, 8px);
	max-width: 400px;
}

.sm-button--submit {
	font-family: "Work Sans", sans-serif;
	font-weight: 500;
	font-size: 16px;
	background: var(--moss, #3f4d38);
	color: var(--paper-lift, #fbf9f3);
	border: none;
	border-radius: 10px;
	padding: var(--space-xs, 12px) var(--space-sm, 16px);
	cursor: pointer;
}

.sm-button--submit:hover {
	background: var(--moss-deep, #2c3727);
}

.sm-submit-helper {
	font-family: "Work Sans", sans-serif;
	font-size: 13px;
	line-height: 1.65;
	color: var(--ink-faint, #7a7567);
	margin: 0;
}

.sm-info-panel {
	background: var(--paper-deep, #eae5d6);
	border-radius: 4px;
	padding: var(--space-lg, 32px);
	display: flex;
	flex-direction: column;
	gap: var(--space-lg, 32px);
}

.sm-info-step {
	display: flex;
	flex-direction: column;
	gap: var(--space-3xs, 4px);
}

.sm-info-step__number {
	font-family: "IBM Plex Mono", monospace;
	font-weight: 500;
	font-size: 13px;
	letter-spacing: 0.52px;
	color: var(--sapiens-deep, #8c5a2e);
	margin: 0;
}

.sm-info-step__title {
	font-family: "Work Sans", sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ink, #1b1916);
	margin: 0;
}

.sm-info-step__desc {
	font-family: "Work Sans", sans-serif;
	font-size: 14px;
	line-height: 1.65;
	color: var(--ink-soft, #4a453e);
	margin: 0;
}

.sm-info-divider {
	border: none;
	border-top: 1px solid var(--line, #d7d0bc);
	margin: 0;
}

.sm-info-email-block {
	display: flex;
	flex-direction: column;
	gap: var(--space-3xs, 4px);
}

.sm-info-email {
	font-family: "Work Sans", sans-serif;
	font-size: 16px;
	color: var(--ink, #1b1916);
	margin: 0;
}

.sm-info-email a {
	color: var(--ink, #1b1916);
	text-decoration: none;
}

.sm-info-email a:hover {
	text-decoration: underline;
}

/* Start a Conversation Page */

.sm-trust-item__label {
	font-family: "IBM Plex Mono", monospace;
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.96px;
	color: var(--sapiens-deep, #8c5a2e);
	margin: 0;
}

.sm-trust-item__text {
	font-family: "Work Sans", sans-serif;
	font-size: 14px;
	line-height: 1.65;
	color: var(--ink-soft, #4a453e);
	margin: 0;
}

/* Insights / Single Article */

.sm-article-breadcrumb {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 4px;
	align-items: baseline;
}

.sm-article-breadcrumb__prefix,
.sm-article-breadcrumb__term {
	margin: 0;
}

.sm-article-breadcrumb__term a {
	color: var(--ink-faint, #7a7567);
	text-decoration: none;
}

.sm-article-title {
	font-family: "Fraunces", serif;
	font-weight: 600;
	font-size: 48px;
	line-height: 1.05;
	letter-spacing: -0.48px;
	color: var(--ink, #1b1916);
	margin: 0;
}

.sm-article-meta {
	gap: 4px;
}

.sm-article-meta__item {
	font-family: "Work Sans", sans-serif;
	font-size: 14px;
	color: var(--ink-faint, #7a7567);
	margin: 0;
}

.sm-article-meta__item:not(:first-child)::before {
	content: "· ";
}

.sm-toc {
	border: 1px solid var(--line, #d7d0bc);
	padding: var(--space-sm, 16px);
	display: flex;
	flex-direction: column;
	gap: var(--space-2xs, 8px);
}

.sm-toc__label {
	font-family: "IBM Plex Mono", monospace;
	font-weight: 500;
	font-size: 11px;
	letter-spacing: 0.66px;
	text-transform: uppercase;
	color: var(--ink-faint, #7a7567);
	margin: 0;
}

.sm-toc__item {
	margin: 0;
}

.sm-toc__link {
	font-family: "Work Sans", sans-serif;
	font-size: 14px;
	color: var(--ink-soft, #4a453e);
	text-decoration: none;
}

.sm-toc__link:hover {
	text-decoration: underline;
}

.sm-article-body h2 {
	font-family: "Fraunces", serif;
	font-weight: 600;
	font-size: 30px;
	line-height: 1.1;
	letter-spacing: -0.36px;
	color: var(--ink, #1b1916);
	margin: var(--space-md, 24px) 0 0 0;
	scroll-margin-top: 24px;
	margin-bottom:20px;
	margin-top:40px!important;
}

.sm-article-body p, .sm-article-body ul {
	font-family: "Work Sans", sans-serif;
	font-size: 18px;
	line-height: 1.65;
	color: var(--ink, #1b1916);
	margin: 0 0 var(--space-sm, 16px) 0;
}

.sm-article-body ul {
	margin-bottom:40px;
}

.sm-direct-answer {
	padding: var(--space-md, 24px);
	border-radius: 4px;
	display: flex;
	flex-direction: column;
	gap: var(--space-2xs, 8px);
}

.sm-direct-answer__label {
	font-family: "IBM Plex Mono", monospace;
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.96px;
	text-transform: uppercase;
	color: var(--machine-deep, #28404c);
	margin: 0;
}

.sm-direct-answer__text {
	font-family: "Work Sans", sans-serif;
	font-size: 18px;
	line-height: 1.65;
	color: var(--ink, #1b1916);
	margin: 0;
}

.sm-data-diagram {
	display: flex;
	flex-direction: column;
	gap: var(--space-2xs, 8px);
}

.sm-data-diagram__placeholder {
	background: #edede8;
	border: 1px solid var(--line, #d7d0bc);
	height: 360px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sm-data-diagram__placeholder-text {
	font-family: "IBM Plex Mono", monospace;
	font-size: 12px;
	color: var(--ink-faint, #7a7567);
	margin: 0;
}

.sm-data-diagram__caption {
	font-family: "Work Sans", sans-serif;
	font-size: 14px;
	color: var(--ink-faint, #7a7567);
	margin: 0;
}

.sm-article-body .wp-block-pullquote,
.wp-block-pullquote {
	border: none;
	padding: var(--space-md, 24px) 0;
	text-align: center;
}

.sm-article-body .wp-block-pullquote p,
.wp-block-pullquote p {
	font-family: "Fraunces", serif;
	font-style: italic;
	font-weight: 400;
	font-size: 26px;
	line-height: 1.2;
	color: var(--sapiens-deep, #8c5a2e);
	max-width: 600px;
	margin: 0 auto;
}

.wp-block-pullquote cite {
	display: none;
}

.sm-article-faq {
	display: flex;
	flex-direction: column;
	gap: var(--space-sm, 16px);
	margin-top: var(--space-md, 24px);
}

.sm-author-bio {
	border-top: 1px solid var(--line, #d7d0bc);
	border-bottom: 1px solid var(--line, #d7d0bc);
	padding: var(--space-sm, 16px) 0;
	gap: var(--space-sm, 16px);
}

.sm-author-bio__avatar img {
	border-radius: 50%;
	width: 56px;
	height: 56px;
}

.sm-author-bio__details {
	gap: 2px;
}

.sm-author-bio__name {
	font-family: "Work Sans", sans-serif;
	font-weight: 500;
	font-size: 16px;
	color: var(--ink, #1b1916);
	margin: 0;
}

.sm-author-bio__text {
	font-family: "Work Sans", sans-serif;
	font-size: 14px;
	color: var(--ink-soft, #4a453e);
	margin: 0;
}

.sm-article-card__thumbnail {
	background: #d6e0e3;
	border: 1px solid var(--line, #d7d0bc);
	margin: 0 0 var(--space-2xs, 8px) 0;
}

.sm-article-card__meta {
	gap: 4px;
	margin-bottom: var(--space-2xs, 8px);
}

.sm-article-card__category,
.sm-article-card__category-sep,
.sm-article-card__readtime {
	font-family: "IBM Plex Mono", monospace;
	font-size: 12px;
	letter-spacing: 0.24px;
	color: var(--ink-faint, #7a7567);
	margin: 0;
}

.sm-article-card__category a {
	color: var(--ink-faint, #7a7567);
	text-decoration: none;
}

.sm-article-card__title {
	font-family: "Fraunces", serif;
	font-weight: 600;
	font-size: 20px;
	line-height: 1.15;
	letter-spacing: -0.2px;
	color: var(--ink, #1b1916);
	margin: 0 0 var(--space-2xs, 8px) 0;
}

.sm-article-card__title a {
	color: inherit;
	text-decoration: none;
}

.sm-article-card__excerpt {
	font-family: "Work Sans", sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: var(--ink-soft, #4a453e);
	margin: 0;
}

/* Case Study Single Template */

.sm-case-study-glance{
	margin-bottom: 50px;
}

.sm-case-study-glance .sm-case-study__stats {
	gap: 72px;
	margin-top: var(--space-2xs, 8px);
}

.sm-case-study-client-label {
	font-family: "IBM Plex Mono", monospace;
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.96px;
	text-transform: uppercase;
	color: var(--sapiens-deep, #8c5a2e);
	margin: 0;
}

.sm-tag--filled {
	background: var(--sapiens-tint, #efdfc8);
	color: var(--sapiens-deep, #8c5a2e);
	border-color: transparent;
}

.sm-case-study-testimonial {
	text-align: center;
	max-width: 600px;
	margin: var(--space-lg, 32px) auto 0 auto;
	display: flex;
	flex-direction: column;
	gap: var(--space-2xs, 8px);
}

.sm-case-study-testimonial__quote {
	font-family: "Fraunces", serif;
	font-style: italic;
	font-size: 26px;
	line-height: 1.2;
	color: var(--sapiens-deep, #8c5a2e);
	margin: 0;
}

.sm-case-study-testimonial__author {
	font-family: "Work Sans", sans-serif;
	font-size: 14px;
	color: var(--ink-faint, #7a7567);
	margin: 0;
}

.sm-case-study-subheadline {
	font-family: "Work Sans", sans-serif;
	font-size: 18px;
	line-height: 1.65;
	color: var(--ink-soft, #4a453e);
	max-width: 720px;
	margin: 0;
}

.sm-case-studies-filter .sm-tag a {
	color: inherit;
	text-decoration: none;
	display: block;
}

a.sm-service-card {
	color: inherit;
	text-decoration: none;
}

a.sm-service-card:hover {
	border-color: var(--ink-soft, #4a453e);
}

.sm-services-grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 80px!important;
	margin-top:40px!important;
}

h2.wp-block-heading {
    font-size:clamp(1.5rem, 2.25vw, 2.25rem);
}

@media (max-width: 900px) {
	.sm-services-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.sm-services-grid {
		grid-template-columns: 1fr;
	}
}

/* Insights Index Pagination */

.wp-block-query-pagination {
	margin-top: var(--space-lg, 32px);
	gap: var(--space-sm, 16px);
}

.wp-block-query-pagination-previous,
.wp-block-query-pagination-next,
.wp-block-query-pagination-numbers a,
.wp-block-query-pagination-numbers span {
	font-family: "IBM Plex Mono", monospace;
	font-size: 13px;
	color: var(--ink-soft, #4a453e);
	text-decoration: none;
}

.wp-block-query-pagination-numbers .page-numbers.current {
	color: var(--sapiens-deep, #8c5a2e);
	font-weight: 500;
}

.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover,
.wp-block-query-pagination-numbers a:hover {
	text-decoration: underline;
}

/* Technology Page */

.sm-tech-band {
	padding-top: 56px;
	padding-bottom: 56px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.sm-tech-band-heading {
	display: flex;
	flex-direction: column;
	gap: var(--space-2xs, 8px);
}

.sm-tech-band-eyebrow {
	font-family: "IBM Plex Mono", monospace;
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.96px;
	text-transform: uppercase;
	color: var(--machine-deep, #28404c);
	margin: 0;
}

.sm-tech-band-headline {
	font-family: "Fraunces", serif;
	font-weight: 600;
	font-size: 26px;
	line-height: 1.15;
	letter-spacing: -0.26px;
	color: var(--ink, #1b1916);
	margin: 0;
	max-width: 760px;
}

.sm-tech-category {
	display: flex;
	flex-direction: column;
	gap: var(--space-2xs, 8px);
}

.sm-tech-category__subhead {
	font-family: "Work Sans", sans-serif;
	font-size: 14px;
	color: var(--ink-soft, #4a453e);
	margin: 0;
	max-width: 600px;
}

.sm-tag--machine {
	background: var(--machine-tint, #d7e1e3);
	color: var(--machine-deep, #28404c);
	border-color: transparent;
}

.sm-tech-callout {
	background: var(--paper-lift, #fbf9f3);
	border: 1px solid var(--line, #d7d0bc);
	border-radius: 4px;
	padding: var(--space-sm, 16px);
	display: flex;
	flex-direction: column;
	gap: 4px;
	max-width: 600px;
}

.sm-tech-callout__label {
	font-family: "IBM Plex Mono", monospace;
	font-weight: 500;
	font-size: 11px;
	letter-spacing: 0.66px;
	text-transform: uppercase;
	color: var(--machine-deep, #28404c);
	margin: 0;
}

.sm-tech-callout__text {
	font-family: "Work Sans", sans-serif;
	font-size: 14px;
	line-height: 1.55;
	color: var(--ink-soft, #4a453e);
	margin: 0;
}

.sm-tech-note {
	font-family: "IBM Plex Mono", monospace;
	font-size: 12px;
	letter-spacing: 0.24px;
	line-height: 1.5;
	color: var(--ink-faint, #7a7567);
	margin: 0;
	max-width: 600px;
}

.sm-tech-closing {
	font-family: "Fraunces", serif;
	font-weight: 600;
	font-size: 28px;
	line-height: 1.3;
	letter-spacing: -0.28px;
	color: var(--ink, #1b1916);
	margin: 40px 0!important;
	max-width: 900px;
}

.sm-footer-brand .wp-block-image {
	width: 100px;
	max-width: 100px;
	margin: 0;
}

.sm-footer-brand .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}

.sm-site-footer .sm-footer-top,
.sm-site-footer .sm-footer-bottom {
	width: calc(100% - 48px);
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 767px) {
	.sm-site-footer .sm-footer-top,
	.sm-site-footer .sm-footer-bottom {
		width: calc(100% - 32px);
	}
}