video::-webkit-media-controls, video::-webkit-media-controls.inline.mac:not(.audio, .narrowviewer){
    background:none !important;
    background-color: rgba(0, 0, 0, 0.0) !important;
}




.video-item {
  position: relative;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;

  border: 0;
  padding: 0;
  background: none;
  aspect-ratio: 16/9;
  display: block;
  
}

/* image */
.video-item img {
width: 100%;
  display: block;
  border-radius: 10px;
  box-shadow: 6px 6px 28px -11px rgba(0,0,0,0.75);
  box-shadow: 6px 6px 28px -11px rgba(0,0,0,0.75);
  -webkit-box-shadow: 6px 6px 28px -11px rgba(0,0,0,0.75);
  -moz-box-shadow: 6px 6px 28px -11px rgba(0,0,0,0.75);
}

/* focus (keyboard accessibility) */
.video-item:focus-visible {
  outline: 3px solid #1a73e8;
  outline-offset: 3px;
}

/* play overlay */
.video-item::after {
content: "▶";
  position: relative;
  bottom: 3.5rem;
  left: 4rem;
  transform: translate(-50%, -50%);
  font-size: var(--wp--preset--font-size--medium) !important;
  color: white;
  background: var(--wp--preset--color--contrast);
  padding-inline: 5px;
  width: 73px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
  border: 2px solid white;

}

/* hide play button when active */
.video-item.is-playing::after {
  opacity: 0;
}

/* injected video */
.video-item video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: black;
    border-radius: 10px;


  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;       /* Firefox */
  scrollbar-color: #888 #f0f0f0;
}

.scroll-transcript{
  padding: var(--wp--preset--spacing--40);
overflow-y: scroll;
max-height: 300px;
background-color: var(--wp--preset--color--accent-6);

}


/* WebKit/Blink */
.scroll-transcript::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
.scroll-transcript::-webkit-scrollbar-track {
  background: #f0f0f0;
}
.scroll-transcript::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 0px;
  border: 2px solid #f0f0f0;
}

.scroll-transcript::-webkit-scrollbar-thumb:hover {
  background: #666;
}

@media (max-width:782px) {
/*  .hdsg-rw-video-block .hdsg-rw-video-block-cols{
    flex-direction:column-reverse;
  }*/

.hdsg-rw-video-block-cols wp-block-column:nth-of-type(1) {

  display:contents;
}

.hdsg-rw-video-block-cols wp-block-column:nth-of-type(2) {
	display: contents;
}
.video-item{
  order:2;
}
.hdsg-rw-video-block-cols wp-block-column:nth-of-type(2) .wp-block-heading:first-of-type {
	order: 3;
}

.hdsg-rw-video-block-cols .wp-block-details.is-layout-flow.wp-block-details-is-layout-flow {
	order: 1;
}



} 

@media (max-width:800px) {
  .hdsg-rw-video-block-cols{
    flex-direction:column!important;
  }
}