.block[data-type="four-boxes"] .four-boxes-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }
  
  .block[data-type="four-boxes"] .box {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 50px;
    max-width: 25%;
  }
  
  .block[data-type="four-boxes"] .image-placeholder {
    margin-bottom: 12px;
    width: 100%;
    height: auto;
    position: relative;
  }

  .block[data-type="four-boxes"] .image-placeholder img {
    width: 100%;
    max-height: 400px;
  }
  
  .block[data-type="four-boxes"] .box-text {
    font-size: 16px;
    outline: none;
    width: 100%;
    height: auto;
  }

  .box:has(img) {
    height: auto;
  }

  .block[data-type="four-boxes"] .box-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
  }
  
  .block[data-type="four-boxes"] .change-image-button,
  .block[data-type="four-boxes"] .delete-image-button {
    position: absolute;
    top: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    padding: 4px 6px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    display: none;
    z-index: 2;
  }
  
  .block[data-type="four-boxes"] .change-image-button {
    right: 8px;
  }
  
  .block[data-type="four-boxes"] .delete-image-button {
    right: 90px;
  }
  
  .block[data-type="four-boxes"] .image-placeholder:hover .change-image-button,
  .block[data-type="four-boxes"] .image-placeholder:hover .delete-image-button {
    display: block;
  }