.webcam-new .media {
  position: relative;
  overflow: hidden;
}
.webcam-new .media > * {
  position: absolute;
  width: 100%;
  height: 100%;
}
.webcam-new .media img,
.webcam-new .media picture,
.webcam-new .media picture img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.webcam-new .webcam-main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
@media (min-width: 768px) {
  .webcam-new .webcam-main {
    aspect-ratio: 16/9;
  }
}
.webcam-new .webcam-main.is-webcam-loading .webcam-main__loading {
  display: flex;
}
.webcam-new .webcam-main__iframe-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  visibility: hidden;
}
.webcam-new .webcam-main__iframe-wrapper.is-ready {
  visibility: visible;
}
.webcam-new .webcam-main__iframe-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.webcam-new .webcam-main__loading {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  background: #e5e5e5;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  pointer-events: none;
}
.webcam-new .webcam-main__loading::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: webcamSkeletonLoading 1.4s infinite;
}
.webcam-new .webcam-main__loading-spinner {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  border: 3px solid rgba(0, 0, 0, 0.12);
  border-top-color: #20b7d8;
  border-radius: 50%;
  animation: webcamSpinner 0.8s linear infinite;
}
.webcam-new .webcam-main__loading-text {
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: #333333;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
@keyframes webcamSkeletonLoading {
  100% {
    transform: translateX(100%);
  }
}
@keyframes webcamSpinner {
  100% {
    transform: rotate(360deg);
  }
}
.webcam-new .webcams {
  display: grid;
  gap: clamp(10px, 3vw, 30px);
  grid-template-columns: repeat(2, 1fr);
}
@media screen and (min-width: 768px) {
  .webcam-new .webcams {
    gap: clamp(20px, 10vw, 40px);
  }
}
@media screen and (min-width: 1026px) {
  .webcam-new .webcams {
    gap: clamp(30px, 10vw, 60px);
  }
}
.webcam-new .webcam-single {
  position: relative;
  overflow: hidden;
}
.webcam-new .webcam-single h5 {
  margin-top: 20px;
  color: #ffffff !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.webcam-new .webcam-single .icon svg {
  width: 20px;
  height: 20px;
  margin-right: 3px;
}
.webcam-new .webcam-single.is-active:before {
  content: "";
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  pointer-events: none;
  outline: 4px solid #20b7d8;
  outline-offset: -4px;
  z-index: 5;
}
.webcam-new .webcam-single .media {
  aspect-ratio: 4/3;
  position: relative;
}
@media (min-width: 768px) {
  .webcam-new .webcam-single .media {
    aspect-ratio: 16/9;
  }
}
.webcam-new .webcam-single .media:before {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 90px;
  opacity: 0.49;
  z-index: 1;
  pointer-events: none;
  bottom: 0;
  top: auto;
  background: linear-gradient(0, #000, transparent);
}
@media (min-width: 768px) {
  .webcam-new .webcam-single .media:before {
    top: 0;
    height: 136px;
    bottom: auto;
    background: linear-gradient(180deg, #000, transparent);
  }
}
.webcam-new .webcam-single .media img, .webcam-new .webcam-single .media iframe, .webcam-new .webcam-single .media video {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  position: absolute;
}
.webcam-new .webcam-single__button {
  position: absolute;
  inset: 0;
  z-index: 5;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.webcam-new .webcam-single__info-text {
  left: 0;
  top: auto;
  bottom: 0;
  z-index: 5;
  color: #ffffff;
  padding: 0 15px 10px;
  position: absolute;
  pointer-events: none;
}
@media (min-width: 768px) {
  .webcam-new .webcam-single__info-text {
    top: 0;
    bottom: auto;
    padding: 0 30px;
  }
}
@media (max-width: 768px) {
  .webcam-new .webcam-single__info-text .webcam-details {
    display: none;
  }
}
.webcam-new .webcam-details {
  display: flex;
  align-items: center;
}