.lazyframe {
  position: relative;
  background-color: currentColor;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.lazyframe__title {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  padding: 15px 17px;
  z-index: 3;
}

.lazyframe__title::after {
  z-index: -1;
}

.lazyframe:hover {
  cursor: pointer;
}

.lazyframe::before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 100%;
}

.lazyframe[data-ratio="16:9"]::before {
  padding-top: 56.25%;
}

.lazyframe[data-ratio="4:3"]::before {
  padding-top: 75%;
}

.lazyframe[data-ratio="1:1"]::before {
  padding-top: 100%;
}

.lazyframe iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
}

.lazyframe[data-vendor="youtube"],
.lazyframe[data-vendor="youtube_nocookie"] {
  background-color: rgba(0, 0, 0, 0.7);
  /* background-color: #e52d27; */
  font-family: Roboto, Arial, Helvetica, sans-serif;
}

.lazyframe[data-vendor="youtube"] .lazyframe__title,
.lazyframe[data-vendor="youtube_nocookie"] .lazyframe__title {
  color: #eeeeee;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: 18px;
  /* text-shadow: rgba(0, 0, 0, 0.498039) 0 0 2px; */
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.1s cubic-bezier(0.4, 0, 1, 1);
}

.lazyframe[data-vendor="youtube"] .lazyframe__title:hover,
.lazyframe[data-vendor="youtube_nocookie"] .lazyframe__title:hover {
  color: #fff;
}

/* .lazyframe[data-vendor="youtube"] .lazyframe__title::before,
.lazyframe[data-vendor="youtube_nocookie"] .lazyframe__title::before {
  content: "";
  display: block;
  background: linear-gradient(rgba(0, 0, 0, 0.2), transparent);
  height: 98px;
  width: 100%;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  -webkit-tap-highlight-color: transparent;
} */

.lazyframe[data-vendor="youtube"]::before,
.lazyframe[data-vendor="youtube_nocookie"]::before {
  padding-top: 56.25%;
}

.lazyframe[data-vendor="youtube"]::after,
.lazyframe[data-vendor="youtube_nocookie"]::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 48px;
  margin-left: -34px;
  margin-top: -24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48'%3E%3Cpath fill='%23FF0000' d='M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z'/%3E%3Cpath fill='%23FFFFFF' d='M 45,24 27,14 27,34'/%3E%3C/svg%3E");
  /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%231F1F1F' d='M255.7 446.3c-53.3.3-106.6-.4-159.8-3.3-17.4-1-34.7-2.5-50.4-11C35 426.3 27 418.4 22 407.2 13.2 388.6 10.5 369 9 349c-3.4-41.3-3.6-82.6-1.8-123.8 1-22 1.6-44 6.8-65.5 2-8.4 5-16.6 8.8-24.4C32 117 48 108 67.3 104c16.2-3 32.8-3 49.3-3.7 56-2.3 112-3.5 168-3 43 .6 86.2 1.7 129.3 4 13.2.6 26.6.8 39.3 5.5 17.2 6.4 30 17.2 37 34.7 6.6 16.8 9.2 34.2 10.6 52 3.8 48.7 4 97.3.7 146-1 16.3-2.2 32.7-6.5 48.8-9.7 37-32.8 51.5-66.7 53.8-36.2 2.5-72.5 3.8-108.8 4.3-21.3.2-42.7 0-64 0zM203.2 344L348 264.7l-144.8-79.3V344z'/%3E%3Cpath fill='%23FEFDFD' d='M203.2 344V185.5L348 264.8 203.2 344z'/%3E%3C/svg%3E"); */
  background-position: center center;
  background-size: 100%;
  background-repeat: no-repeat;
  /* opacity: .81; */
  border: none;
  z-index: 4;
}

/* .lazyframe[data-vendor="youtube"]:hover::after,
.lazyframe[data-vendor="youtube_nocookie"]:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23DD2C28' d='M255.7 446.3c-53.3.3-106.6-.4-159.8-3.3-17.4-1-34.7-2.5-50.4-11C35 426.3 27 418.4 22 407.2 13.2 388.6 10.5 369 9 349c-3.4-41.3-3.6-82.6-1.8-123.8 1-22 1.6-44 6.8-65.5 2-8.4 5-16.6 8.8-24.4C32 117 48 108 67.3 104c16.2-3 32.8-3 49.3-3.7 56-2.3 112-3.5 168-3 43 .6 86.2 1.7 129.3 4 13.2.6 26.6.8 39.3 5.5 17.2 6.4 30 17.2 37 34.7 6.6 16.8 9.2 34.2 10.6 52 3.8 48.7 4 97.3.7 146-1 16.3-2.2 32.7-6.5 48.8-9.7 37-32.8 51.5-66.7 53.8-36.2 2.5-72.5 3.8-108.8 4.3-21.3.2-42.7 0-64 0zM203.2 344L348 264.7l-144.8-79.3V344z'/%3E%3Cpath fill='%23FEFDFD' d='M203.2 344V185.5L348 264.8 203.2 344z'/%3E%3C/svg%3E");
  opacity: 1;
} */

.lazyframe[data-vendor="vimeo"] {
  background-color: #00adef;
}

.lazyframe[data-vendor="vimeo"] .lazyframe__title {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #00adef;
  font-size: 20px;
  font-weight: 700;
  text-rendering: optimizeLegibility;
  user-select: none;
  -webkit-font-smoothing: auto;
  -webkit-tap-highlight-color: transparent;
  background-color: rgba(0, 0, 0, 0.5);
}

.lazyframe[data-vendor="vimeo"]::before {
  padding-top: 48.25%;
}

.lazyframe[data-vendor="vimeo"]::after {
  content: "";
  height: 40px;
  width: 65px;
  display: block;
  bottom: 10px;
  left: 10px;
  z-index: 3;
  background-color: rgba(0, 0, 0, 0.5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' baseProfile='tiny' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFF' d='M7.765 16.89l8.47-4.89-8.47-4.89'/%3E%3C/svg%3E");
  background-position: center center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border-radius: 5px;
  position: relative;
}

.lazyframe[data-vendor="vimeo"]:hover::after {
  background-color: #00adef;
}



/*  */
.lazyframe {
  height: 100%;
}
.lazyframe::before {
  content: none;
}
.lazyframe iframe {
  margin: 0 !important;
  padding: 0 !important;
}

.lazyframe__title {
  text-align: left;
  text-shadow: 0 0 2px rgba(0, 0, 0, .5);
  background: url(bg.webp) 0 0 repeat-x;
  padding: 23px 12px 60px;
  /* padding: 23px 12px 27px 62px; */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1;
  margin: 0;
  height: auto;
}

.lazyframe.lazyframe__colatour .lazyframe__title {
  padding: 23px 12px 60px 62px;
}
.lazyframe.lazyframe__colatour .lazyframe__title::before {
  content: '';
  width: 40px;
  height: 40px;
  display: inline-block;
  background: url(logo.webp) 0 0 no-repeat;
  background-size: cover;
  border-radius: 50%;
  margin-right: 10px;
  position: absolute;
  left: 12px;
  top: 12px;
}