.mimo-media-cards,
.mimo-app-download {
  --mimo-block-ink: #111827;
  --mimo-block-muted: #6b7280;
  --mimo-block-line: #e5e7eb;
  --mimo-block-primary: var(--mimo-promo-primary, #3b82f6);
  box-sizing: border-box;
}

.mimo-media-cards {
  width: 100%;
  margin: 2.5rem 0;
}

.mimo-media-cards *,
.mimo-app-download *,
.mimo-media-modal *,
.mimo-team * {
  box-sizing: border-box;
}

.mimo-media-cards__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.mimo-media-cards__heading {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  line-height: 1.2;
  color: var(--mimo-block-ink);
  font-weight: 750;
}

.mimo-media-cards__view-all {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--mimo-block-primary);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.35rem 0;
  white-space: nowrap;
}

.mimo-media-cards__view-all:hover {
  text-decoration: underline;
}

.mimo-media-cards__row {
  display: grid;
  grid-template-columns: repeat(var(--mimo-media-cols, 3), minmax(0, 1fr));
  gap: 1.15rem;
}

.mimo-media-cards[data-columns="1"] .mimo-media-card:nth-child(n + 2),
.mimo-media-cards[data-columns="2"] .mimo-media-card:nth-child(n + 3),
.mimo-media-cards[data-columns="3"] .mimo-media-card:nth-child(n + 4),
.mimo-media-cards[data-columns="4"] .mimo-media-card:nth-child(n + 5) {
  display: none;
}

.mimo-media-card {
  background: #fff;
  border: 1px solid var(--mimo-block-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  min-width: 0;
}

.mimo-media-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f3f4f6;
  overflow: hidden;
}

.mimo-media-card__file,
.mimo-media-card__media img,
.mimo-media-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mimo-media-card__placeholder,
.mimo-media-card__phone-empty,
.mimo-app-download__phone-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.85rem;
}

.mimo-media-card__play {
  position: absolute;
  inset: auto 12px 12px auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.78);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  padding-left: 2px;
}

.mimo-media-card__body {
  padding: 0.95rem 1rem 1.1rem;
}

.mimo-media-card__title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--mimo-block-ink);
}

.mimo-media-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  color: var(--mimo-block-muted);
  font-size: 0.8rem;
  margin-bottom: 0.45rem;
}

.mimo-media-card__description {
  margin: 0;
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mimo-media-cards__empty {
  color: var(--mimo-block-muted);
  font-size: 0.9rem;
}

.mimo-media-cards-editor__list {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mimo-media-cards-editor__item {
  border: 1px solid var(--mimo-block-line);
  border-radius: 12px;
  padding: 1rem;
  background: #fff;
}

.mimo-media-cards-editor__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.mimo-media-cards-editor__actions {
  display: flex;
  gap: 0.25rem;
}

.mimo-media-cards-editor__grid {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 1rem;
}

.mimo-media-cards-editor__upload,
.mimo-app-download__shot {
  width: 100%;
  min-height: 140px;
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  color: #6b7280;
}

.mimo-media-cards-editor__upload img,
.mimo-media-cards-editor__upload video,
.mimo-app-download__shot img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.mimo-media-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.mimo-media-modal.is-open {
  display: block;
}

.mimo-media-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(6px);
}

.mimo-media-modal__dialog {
  position: relative;
  width: min(1100px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  margin: 1rem auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mimo-media-modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--mimo-block-line);
}

.mimo-media-modal__top h2 {
  margin: 0;
  font-size: 1.15rem;
}

.mimo-media-modal__close {
  appearance: none;
  border: 0;
  background: #f3f4f6;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.mimo-media-modal__grid {
  overflow: auto;
  padding: 1.15rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.mimo-media-modal__grid .mimo-media-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.mimo-media-modal__grid .mimo-media-card__description {
  -webkit-line-clamp: 5;
}

.mimo-media-modal__feature {
  display: none;
  overflow: auto;
  padding: 1.15rem;
  gap: 1.25rem;
}

.mimo-media-modal.is-feature .mimo-media-modal__grid {
  display: none;
}

.mimo-media-modal.is-feature .mimo-media-modal__feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
}

.mimo-media-modal__feature-media {
  background: #111827;
  border-radius: 16px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mimo-media-modal__feature-media img,
.mimo-media-modal__feature-media video {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.mimo-media-modal__back {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--mimo-block-primary);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  margin-bottom: 0.75rem;
}

.mimo-wp-content .mimo-app-download,
.mimo-app-download.wp-block-bcommerce-app-download,
.mimo-app-download {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2.25rem;
  align-items: center;
  width: 100vw;
  max-width: 100vw;
  margin: 3.5rem 0 0;
  margin-left: calc(50% - 50vw);
  border-radius: 0;
  padding: 5rem max(1.5rem, calc((100vw - 1120px) / 2));
  background:
    linear-gradient(180deg, #f7f4ee 0%, #f3efe6 100%);
  border-top: 1px solid #e7e1d6;
  border-bottom: 1px solid #e7e1d6;
  color: #1a1a1a;
  overflow: visible;
  position: relative;
}

.mimo-app-download::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: 8%;
  top: -120px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12), transparent 68%);
  pointer-events: none;
}

.mimo-app-download__copy,
.mimo-app-download__device {
  position: relative;
  z-index: 1;
}

.mimo-wp-content .mimo-app-download,
.mimo-wp-content .mimo-app-download p,
.mimo-wp-content .mimo-app-download h2,
.mimo-app-download,
.mimo-app-download p,
.mimo-app-download h2 {
  color: #1a1a1a !important;
}

.mimo-app-download__eyebrow,
.mimo-wp-content .mimo-app-download__eyebrow {
  margin: 0 0 0.75rem !important;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #1d4ed8 !important;
}

.mimo-app-download__heading,
.mimo-wp-content .mimo-app-download__heading {
  margin: 0 0 1rem !important;
  font-size: clamp(2rem, 4vw, 3.15rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em;
  font-weight: 750 !important;
  color: #111111 !important;
  max-width: 18ch;
}

.mimo-app-download__text,
.mimo-wp-content .mimo-app-download__text {
  margin: 0 0 1.75rem !important;
  color: #3f3f46 !important;
  font-size: 1.125rem !important;
  line-height: 1.7 !important;
  max-width: 34rem;
  font-weight: 400 !important;
}

.mimo-app-download__actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}

.mimo-app-download__btn,
.mimo-wp-content .mimo-app-download__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
  border-radius: 12px;
  padding: 0.85rem 1.15rem;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  line-height: 1.2 !important;
  min-height: 56px;
  min-width: 220px;
  justify-content: flex-start;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mimo-app-download__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.12);
}

.mimo-app-download__btn--apple,
.mimo-wp-content .mimo-app-download__btn--apple {
  background: #111111 !important;
  color: #ffffff !important;
}

.mimo-app-download__btn--play,
.mimo-wp-content .mimo-app-download__btn--play {
  background: #ffffff !important;
  color: #111111 !important;
  border: 1px solid #d4d4d8;
}

.mimo-app-download__btn-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.mimo-app-download__badge,
.mimo-wp-content .mimo-app-download__badge {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
  text-decoration: none !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  width: auto !important;
  overflow: visible !important;
  border-radius: 0 !important;
}

.mimo-app-download__badge img,
.mimo-wp-content .mimo-app-download__badge img {
  display: block;
  height: 48px !important;
  width: auto !important;
  max-width: none !important;
  max-height: 48px !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.mimo-app-download-editor__badge-field {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.mimo-app-download__device {
  display: flex;
  justify-content: flex-end;
}

.mimo-app-download__phone {
  width: min(320px, 78vw);
  border-radius: 36px;
  padding: 22px 9px 18px;
  background: #111111;
  box-shadow:
    0 0 0 1px rgba(17, 24, 39, 0.2),
    0 24px 50px rgba(17, 24, 39, 0.16);
  overflow: hidden;
  position: relative;
}

.mimo-app-download__phone::before,
.mimo-app-download__phone::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #2f2f2f;
  z-index: 2;
  pointer-events: none;
}

.mimo-app-download__phone::before {
  top: 8px;
  width: 64px;
  height: 6px;
  border-radius: 999px;
}

.mimo-app-download__phone::after {
  bottom: 7px;
  width: 72px;
  height: 4px;
  border-radius: 999px;
}

.mimo-app-download__phone img,
.mimo-app-download__phone-empty,
.mimo-wp-content .mimo-app-download__phone img {
  position: relative;
  z-index: 1;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  aspect-ratio: 9 / 19.5;
  object-fit: contain;
  object-position: center top;
  border-radius: 4px;
  background: #000;
  color: #71717a;
  display: block;
}

.editor-styles-wrapper .mimo-app-download,
.mimo-app-download--editor,
.mimo-app-download-editor .mimo-app-download {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  border-radius: 20px;
  padding: 2.5rem 2rem;
}

.mimo-app-download__shot {
  min-height: 240px;
  background: #fff;
  border: 2px dashed #d6d3d1;
  color: #57534e;
}

.mimo-app-download--editor .mimo-app-download__heading {
  max-width: none;
}

@media (max-width: 900px) {
  .mimo-app-download,
  .mimo-media-modal.is-feature .mimo-media-modal__feature,
  .mimo-media-cards-editor__grid {
    grid-template-columns: 1fr;
  }

  .mimo-app-download__heading,
  .mimo-wp-content .mimo-app-download__heading {
    max-width: none;
  }

  .mimo-app-download__device {
    order: -1;
  }
}

@media (max-width: 768px) {
  .mimo-media-cards__row {
    grid-template-columns: 1fr;
  }

  .mimo-media-cards[data-columns] .mimo-media-card:nth-child(n + 2) {
    display: none;
  }

  .mimo-app-download {
    padding: 3rem 1.25rem 2.5rem;
    gap: 2rem;
    margin-top: 2rem;
  }

  .mimo-app-download__btn,
  .mimo-wp-content .mimo-app-download__btn {
    min-width: 0;
    justify-content: center;
  }

  .mimo-app-download__actions {
    flex-wrap: nowrap;
  }

  .mimo-app-download__badge img,
  .mimo-wp-content .mimo-app-download__badge img {
    height: 42px !important;
    max-height: 42px !important;
    max-width: none !important;
  }
}

.mimo-team {
  width: 100%;
  margin: 2.5rem 0;
  color: #1a1a1a;
}

.mimo-team__heading {
  margin: 0 0 1.5rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  color: #111111;
}

.mimo-team__company {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 1.5rem;
  padding: 1.25rem 1.4rem;
  margin-bottom: 2.25rem;
  background: #f7f4ee;
  border: 1px solid #e7e1d6;
  border-radius: 16px;
}

.mimo-team__company-item {
  margin: 0;
  color: #3f3f46;
  font-size: 0.98rem;
  line-height: 1.55;
  white-space: pre-line;
}

.mimo-team__company-item span {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1d4ed8;
}

.mimo-team__company-item a {
  color: #111111;
  text-decoration: none;
}

.mimo-team__company-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.mimo-team__group {
  margin-top: 2rem;
}

.mimo-team__group-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: #111111;
}

.mimo-team__staff-note {
  margin: 0 0 1.15rem;
  color: #52525b;
  line-height: 1.6;
}

.mimo-team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.15rem;
}

.mimo-team-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.mimo-team-card__photo {
  aspect-ratio: 1 / 1;
  background: #f3f4f6;
}

.mimo-team-card__photo img,
.mimo-team-card__photo-empty {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: #9ca3af;
}

.mimo-team-card__body {
  padding: 1rem 1.05rem 1.15rem;
}

.mimo-team-card__name {
  margin: 0 0 0.2rem;
  font-size: 1.08rem;
  color: #111111;
}

.mimo-team-card__role {
  margin: 0 0 0.55rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #1d4ed8;
}

.mimo-team-card__bio {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #4b5563;
}

.mimo-team-card__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.mimo-team-card__social-link {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  text-decoration: none;
  background: #fff;
}

.mimo-team-card__social-link:hover {
  border-color: #1d4ed8;
  color: #1d4ed8;
}

.mimo-team-editor__hint {
  color: #6b7280;
  font-size: 0.85rem;
}

.mimo-team-editor__person {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #fff;
}

.mimo-team-editor__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.mimo-team-editor__actions {
  display: flex;
  gap: 0.25rem;
}

.mimo-team-editor__grid {
  display: grid;
  grid-template-columns: minmax(140px, 180px) 1fr;
  gap: 1rem;
}

.mimo-team-editor__upload {
  width: 100%;
  min-height: 160px;
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  color: #6b7280;
}

.mimo-team-editor__upload img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .mimo-team-editor__grid {
    grid-template-columns: 1fr;
  }
}

