/* AI & Automation: one link element for the whole card. */
.page-id-284 .cd-ai-related-grid .cd-ai-related-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}

.page-id-284 .cd-ai-related-link .project-cta {
	margin-top: auto;
}

.page-id-284 .cd-ai-related-link:hover h3 {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.page-id-284 .cd-ai-related-link:focus-visible {
	outline: 3px solid #b3400b;
	outline-offset: 3px;
}

.page-id-284 .cd-ai-related-note {
	margin: 1.25rem 0 0;
}

.page-id-284 #capabilities {
	scroll-margin-top: 7rem;
}

/* At the narrowest widths, let the existing footer grid shrink to its container. */
@media (max-width: 359px) {
	footer.footer--with-hire .footer-top {
		grid-template-columns: minmax(0, 1fr);
	}

	footer.footer--with-hire .footer-brand,
	footer.footer--with-hire .footer-col,
	footer.footer--with-hire .footer-contact-row > * {
		min-width: 0;
	}

	footer.footer--with-hire .footer-contact-row > :not(svg) {
		overflow-wrap: anywhere;
	}

	footer.footer--with-hire .social-row {
		flex-wrap: wrap;
	}
}

/* Existing Astra shell remains on Careers. Let the approved main fill it. */
.page-id-27292 .site-content > .ast-container:has(.continuum-parity-source) {
  max-width: none;
  padding-inline: 0;
}

.page-id-27292 #primary:has(.continuum-parity-source) {
  width: 100%;
  margin: 0;
}

.continuum-parity-source #current-openings,
.continuum-parity-source #landing {
  scroll-margin-top: 7rem;
}

.continuum-parity-source.page-careers .careers-process:has(> :only-child) {
  grid-template-columns: minmax(0, 1fr);
}

.continuum-parity-source .faq-a:has(p) {
  display: none;
}

.continuum-parity-source .faq-item.open .faq-a {
  display: block;
}

/* Solutions all reuse the approved section, grid and service-card styling. */
.cd-parity-related .cd-parity-related-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cd-parity-related .cd-parity-related-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.cd-parity-related .cd-parity-related-link:hover h3 {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.cd-parity-related .cd-parity-related-link .project-cta {
  margin-top: auto;
}

.cd-parity-related .cd-parity-related-link:focus-visible {
  outline: 3px solid #b3400b;
  outline-offset: 3px;
}

.cd-parity-related .cd-parity-related-held {
  cursor: default;
  transform: none;
  box-shadow: none;
}

.cd-parity-related .cd-parity-related-held p {
  margin: 0;
}

@media (max-width: 991px) {
  .cd-parity-related .cd-parity-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .cd-parity-related .cd-parity-related-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* The visually hidden WPForms label otherwise creates 37px of ERP overflow. */
  .page-id-113 .wpforms-field-sublabel.wpforms-sublabel-hide,
  .page-id-26295 .wpforms-field-sublabel.wpforms-sublabel-hide {
    inline-size: 1px !important;
    block-size: 1px !important;
    min-inline-size: 0 !important;
    inset-inline-start: 0 !important;
    inset-inline-end: auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
  }
}

@media (max-width: 420px) {
  .continuum-parity-source.page-service-visual .service-hero h1 {
    font-size: clamp(29px, 8.6vw, 36px);
    overflow-wrap: normal;
  }
}
