/* .block-qd-image-with-text {
  margin: 24px 0;
} */

.block-qd-image-with-text .blocks-wrap {
  display: grid;
  grid-template-columns: none;
  grid-template-rows: auto auto;
  /* gap: 16px; */
}

.block-qd-image-with-text--border {
  border: 1px solid #3D3819;
}

.qd-image-with-text__text-group {
  padding: 10px 20px;
}


@media (min-width: 768px) {
  /* .block-qd-image-with-text {
    margin: 48px 0;
  } */

  .block-qd-image-with-text .blocks-wrap {
    /* gap: 30px; */
  }

  .qd-image-with-text__text-group {
    padding: 15px 25px;
  }
  
}

@media (min-width: 992px) {
  /* .block-qd-image-with-text {
    margin: 80px 0;
  } */

  .block-qd-image-with-text .blocks-wrap {
    /* gap: 80px; */
    gap: 0;
    grid-template-columns: var(--qd-image-with-text-image-width, auto) auto;
    grid-template-rows: none;
  }

  .qd-image-with-text__text-group {
    padding: 5px 40px;
  }

  .block-qd-image-with-text .blocks-wrap .qd-image-with-text-slideshow img,
  .block-qd-image-with-text .blocks-wrap .qd-image-with-text-slideshow svg { 
    aspect-ratio: var(--qd-image-with-text-image-ratio);
  }
}
@media (max-width: 991.99px) {
  .block-qd-image-with-text .blocks-wrap .qd-image-with-text-slideshow img,
  .block-qd-image-with-text .blocks-wrap .qd-image-with-text-slideshow svg { 
  aspect-ratio: var(--qd-image-with-text-image-ratio-m);
  }
}