.responsive-block-editor-addons-block-blockquote-item {
  position: relative;
  width: 100%;
  .responsive-block-editor-addons-block-blockquote-quote {
    position: absolute;
    fill: rgba(129, 141, 165, 0.32);
    width: 70px;
    height: 70px;
    transform: translateX(-50%) translateY(-30%);
    top: 20px;
    left: 30px;
    z-index: 5;
    svg {
      width: 100%;
      height: 100%;
    }
  }
  .responsive-block-editor-addons-block-blockquote-text {
    position: relative;
    z-index: 6;
  }
}
.responsive-block-editor-addons-section__video-wrap {
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
  overflow: hidden;
  z-index: 0;
  -webkit-transition: opacity 1s;
  -o-transition: opacity 1s;
  transition: opacity 1s;

  video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 100%;
    height: 100%;
    z-index: 1;
    -o-object-fit: cover;
    object-fit: cover;
  }
}

.rbea-bq__tweet-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.rbea-bq__tweet {
  display: inline-flex;
  position: inherit;
  z-index: 6;
  align-items: center;
  gap: var(--icon-text-spacing, 8px);
  text-decoration: none;
  line-height: 1;
  border-radius: 999px;
  padding: 8px 14px;
  border: 1px solid transparent;
  transition: all .15s ease-in-out;
  
  // Hover styles using data attributes
  &[data-hover-color]:hover {
    color: var(--hover-color) !important;
  }
  
  &[data-hover-bg]:hover {
    background-color: var(--hover-bg) !important;
  }
}

.rbea-bq__tweet .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

/* style variants */
.rbea-bq__tweet--classic {
  background: #000000;
  color: #fff;
}
.rbea-bq__tweet--bubble {
  background: #000000;
  color: #fff;
  border: none;
  position: relative;
  margin-left: 10px; // reserve room for tail

  &::before {
    content: '';
    position: absolute;
    left: -11px; /* slight overlap to avoid hairline gap */
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 14px;
    background: inherit;
    -webkit-clip-path: polygon(0 50%, 100% 0, 100% 100%); /* left-pointing triangle */
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
  }
}
.rbea-bq__tweet--link {
  background: transparent;
  color: #000000;
  padding: 0;
  border: none;
}
.rbea-bq__tweet--link .dashicons {
  position: relative;
  top: 1px;
}

@media (max-width: 976px) {
  .responsive-block-editor-addons-block-quote {
    padding: 10px 20px !important;

    .responsive-block-editor-addons-block-blockquote-item {
      padding: 30px 35px;
    }
  }
}
