/* Portfolio cards must not keep their intrinsic two-column width on phones. */
/* The original lead page uses a fixed-width calendar inside a narrow container. */
.obtino-lead-legacy-121 .elementor-element-0d14fa4,
.obtino-lead-legacy-121 .elementor-element-3492e28,
.obtino-lead-legacy-121 .cal-inline-container {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
.obtino-lead-legacy-121 .elementor-element-0d14fa4 { flex-basis: auto; }
.obtino-lead-legacy-121 .elementor-element-a51cb72:empty { display: none; }

body.obtino-studio .service-proof-heading h2,
body.obtino-studio .service-testimonials blockquote {
  overflow-wrap: anywhere;
}
/* Some platform steps place the heading and paragraph directly beside the counter. */
body.obtino-studio .service-process li > h3,
body.obtino-studio .service-process li > p {
  grid-column: 2;
  min-width: 0;
}
body.obtino-studio .service-process li::before {
  grid-column: 1;
  grid-row: 1;
}

body.obtino-studio .portfolio-grid > .portfolio-item {
  min-width: 0;
}

body.obtino-studio .portfolio-item h2,
body.obtino-studio .portfolio-item p {
  overflow-wrap: anywhere;
}

/* Keep the existing choice pills, with their native keyboard controls available. */
body.obtino-studio-native .elementor-form input[type="checkbox"],
body.obtino-studio-native .elementor-form input[type="radio"] {
  display: block !important;
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
body.obtino-studio-native .elementor-form input:focus-visible + label {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (max-width: 600px) {
  body.obtino-studio .portfolio-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  body.obtino-studio .portfolio-photo {
    width: 100%;
    max-width: 100%;
  }
}
