.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.video-grid {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media screen and (max-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.video-card {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  text-align: left;
  cursor: pointer;
}
.video-card__thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #000;
  border-radius: 0px;
  overflow: hidden;
}
.video-card__thumbnail img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
}
.video-card:hover .video-card__thumbnail img {
  transform: scale(1.05);
}
.video-card__play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background-color: rgba(79, 58, 147, 0.7);
  border-radius: 50%;
}
@media screen and (max-width: 768px) {
  .video-card__play-icon {
    width: 36px;
    height: 36px;
  }
}
.video-card__play-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #fff;
}
@media screen and (max-width: 768px) {
  .video-card__play-icon::after {
    border-width: 6px 0 6px 10px;
  }
}
.video-card__title {
  margin-top: 4px;
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: bold;
}

.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.video-modal.is-open {
  display: flex;
  opacity: 1;
}
.video-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 1;
}
.video-modal__content {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: #000;
  border-radius: 8px;
  z-index: 2;
}
.video-modal__close {
  position: absolute;
  top: -45px;
  right: 0;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  padding: 0;
  transition: opacity 0.2s ease;
}
.video-modal__close:hover {
  opacity: 0.7;
}
.video-modal__iframe-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
}
.video-modal__iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
/*# sourceMappingURL=modal.css.map */