.ceiling-mounted-image-and-text {
  background: rgb(var(--color-background));
}

.ceiling-mounted-image-and-text .image-with-text-section-box {
  width: 100%;
  position: sticky;
  top: 120px;
  z-index: 2;
}

.ceiling-mounted-image-and-text .image-with-text-section {
  /* border-radius: 1.39vw; */
  border-radius: 9px;
  background: rgb(var(--color-background));
  /* display:grid;
  grid-template-columns: repeat(2,1fr);
  gap:10px; */
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
}

.ceiling-mounted-image-and-text .image-with-text-section picture {
  display: flex;
  height: -webkit-fill-available;
}

.ceiling-mounted-image-and-text .image-with-text-section .image-with-text_media {
  overflow: hidden;
  border-radius:10px;
  width: 50%;
  max-height: 37.5vw;
  flex-shrink: 0;
}

.ceiling-mounted-image-and-text .image-with-text-section .image-with-text_info {
  display: flex;
  flex-direction: column;
  margin-top: var(--margin-top, 0px);
}

.ceiling-mounted-image-and-text .image-with-text-section .image-with-text_info[style*="--margin-top: 0px"] {
  /* margin-top: auto; */
}

/* .ceiling-mounted-image-and-text .image-with-text-section .image-with-text_info ~ .image-with-text_info {
  margin-top: 30px;
} */

.ceiling-mounted-image-and-text .image-with-text-section .image-with-text_info>.block-heading {
  padding-bottom: 14px;
  /* border-bottom:1px solid rgba(var(--color-entry-line),0.4); */
}

.ceiling-mounted-image-and-text .image-with-text-section .image-with-text_info>.rte {
  /* padding-top:20px; */
}

.ceiling-mounted-image-and-text .button:not(.button--link, .button--icon) {
  border-radius: 50px;
}

.ceiling-mounted-image-and-text button-content {
  /* padding: 4px 22px; */
}

.ceiling-mounted-image-and-text .image-with-text_container {
  /* width: 100%; */
  width: 45vw;
}

.ceiling-mounted-image-and-text .block-heading {
  margin-top: 10px;
}

.ceiling-mounted-image-and-text .serial-number-group {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: auto;
}

.ceiling-mounted-image-and-text .serial-number {
  border-radius: 60px;
  border: 1px solid rgba(var(--color-entry-line), 0.40);
  display: flex;
  width: 60px;
  height: 60px;
  padding: 9px 15px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  margin-top: 1.81vw;
}

.ceiling-mounted-image-and-text .block-heading {
  overflow-wrap: break-word;
}

.ceiling-mounted-image-and-text .rte {
  overflow-wrap: break-word;
}

@media (max-width: 959px) {
  .ceiling-mounted-image-and-text .image-with-text-section {
    flex-direction: column;
    gap: 0;
  }

  .ceiling-mounted-image-and-text .image-with-text-section .image-with-text_media {
    width: auto;
    height: 36vh;
    max-height: unset;
  }


  .ceiling-mounted-image-and-text .serial-number {
    display: flex;
    width: 60px;
    height: 60px;
    padding: 9px 15px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    border-radius: 60px;
    border: 1px solid rgba(var(--color-entry-line), 0.40);
  }


  .ceiling-mounted-image-and-text .image-with-text_container {
    width: auto;
  }

  .ceiling-mounted-image-and-text .image-with-text-section-box {
    top: 100px;
  }

  .ceiling-mounted-image-and-text .image-with-text-section .image-with-text_info {
    margin-top: var(--mobile-margin-top, 0px) !important;
  }
  
  .ceiling-mounted-image-and-text .image-with-text-section .image-with-text_info[style*="--mobile-margin-top: 0px"] {
    margin-top: auto;
  }
}

