.msh-trida-form__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 10px 28px rgba(47, 111, 174, 0.12);
  padding: 18px 18px 0;
  overflow: hidden;
}

.msh-trida-form__fields {
  width: 100%;
  flex: 1 1 auto;
  padding-bottom: 18px;
}

.msh-trida-form button[type="submit"] {
  background: var(--barva-tridy, #4e93c8);
  border-color: transparent;
  color: #fff;
}

.msh-trida-form__kids {
  position: relative;
  width: min(280px, 78vw);
  flex: 0 0 auto;
  line-height: 0;
}

.msh-trida-form__kids .brxe-image img,
.msh-trida-form__kids canvas {
  display: block;
  width: 100%;
  height: auto;
}

.msh-trida-form__logo {
  position: absolute;
  left: 0;
  bottom: 6%;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5%;
  z-index: 2;
  box-sizing: border-box;
}

.msh-trida-form__logo img,
.msh-trida-form__logo .brxe-image {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

@media (min-width: 801px) {
  .msh-trida-form__card {
    flex-direction: row;
    align-items: flex-end;
    gap: 12px;
    padding: 22px 8px 0 22px;
  }

  .msh-trida-form__kids {
    width: 300px;
  }
}
