.accordion {
  width: 100%;
  padding: 12px;
  background: #9dc9ed;
  border: 1px solid #bababa;
  border-radius: 5px;
  cursor: pointer;
  text-align: left;
}

.panel {
  display: none;
  padding: 12px;
  border: 1px solid #ddd;
}

.panel label {
  display: block;
  margin-bottom: 6px;
  cursor: pointer;
}

.video-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.video-item {
  cursor: pointer;
}

.video-grid .video-item:first-child {
  grid-column: span 3;
}

@media (max-width: 768px) {
  .video-grid .video-item:first-child {
    grid-column: span 1;
  }
}

.video-item img {
  width: 100%;
  display: block;
}
.video-thumbnail {
  position: relative;
}
.video-thumbnail::before {
  content: '';
  display: block;
  background: rgba(0,0,0,.3);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.video-thumbnail::after {
  content: '';
  display: block;
  background: url('/kiwi/videos/img/icon/start.svg') no-repeat center center;
  background-size: cover;
  width: 64px;
  height: 64px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 1;
  margin: auto;
}

.video-thumbnail:hover::after {
  background: url('/kiwi/videos/img/icon/start--hover.svg') no-repeat center center;
}


.video-grid .video-item:first-child .video-thumbnail::after {
  width: 128px;
  height: 128px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 1;
  margin: auto;
}

@media (max-width: 768px) {
  .video-grid .video-item:first-child .video-thumbnail::after {
    width: 64px;
    height: 64px;
  }
}

.video-title {
  font-size: 18px;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-top: 6px;
  text-align: center;
}

.video-date {
  color: #6d6d6d;
  text-align: right;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  width: 90%;
  max-width: 800px;
  padding: 16px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #FFF;
  font-size: 30px;
  line-height: 1;
  border: none;
  background: none;
  cursor: pointer;
}

iframe, video {
  width: 100%;
  height: 450px;
}