.media :is(img, video){
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}
.formatxt .media :is(img, video){
  margin-left: 0;
  margin-right: 0;
}

.name-field-caption{
  margin-top: 5px;
  font-style: italic;
  font-size: var(--fs-small);
  text-align: center;
}
/* media display modes editor */
.media.halfeditor{
  width: 50%;
}
.media.quareditor{
  width: 25%;
}
.media.halfeditor :is(img, video),
.media.quareditor :is(img, video){
  width: 100%;
}

/* media editor alignments */
.formatxt .align-center :is(img, video){
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.formatxt .align-right{
  margin-left: var(--space-0-5);
}
.formatxt .align-left{
  margin-right: var(--space-0-5);
}

/* iframe video */
.name-field-media-oembed-video{
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}
.name-field-media-oembed-video iframe{
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
iframe[src^="https://www.google.com/maps/"]{
  display: block;
  width: 100%;
}

/* image link effect */
.blink{
  display: block;
}
.blink .media--image{
  overflow: hidden;
  display: block;
}
.blink .media--image img{
  transform: scale(1);
  transition: transform 500ms linear;
}
.blink:hover .media--image img{
  transform: scale(1.03);
}