.video-index{padding-top: clamp(40px,5vw,64px);}
.video-index-lead {font-size: clamp(16px, 3vw, 20px); line-height: 2; margin-bottom: clamp(40px, 5.6vw, 80px);}
.n-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(40px, 5.6vw, 80px);
}
.n-chip {
  border: 1px solid rgba(43, 111, 196, .5);
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 5px 22px;
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: .3s var(--ease);
  font-family: "Zen Kaku Gothic New", sans-serif;

  &.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
  }

  &:not(.active):hover{background:var(--paper);}

  .n-chip__badge {color: var(--cyan); margin-left: 10px; font-size: 120%;}
}

.video-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.video-item {
  position: relative;
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--navy);
  border-radius: 12px;
  background-color: #ffffff;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;

  &.is-hidden {display: none !important;}

  .video-thumb {
    width: 100%;
    height: 186px;
    background-color: #f4f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;

    img {width: 100%; height: 100%; object-fit: cover;}
  }

  .video-content {padding: 15px 20px 20px; display: flex; flex-direction: column; height: 100%;
    .video-body {margin-bottom: 16px;}
  }

  .video-tags {margin-bottom: 12px;
    .tag {
      display: inline-block;
      padding: 4px 8px;
      border: 1px solid var(--slate-d);
      border-radius: 4px;
      font-size: 12px;
      color: var(--slate-d);
      line-height: 1;
    }
  }

  .video-title {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: bold;
    color: var(--navy);
    line-height: 1.4;
    min-height: calc(18px * 1.4 * 2);
  }

  .video-desc {
    font-size: 13px;
    color: var(--slate-d);
    line-height: 1.6;
  }

  .desc-text.is-clamped {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .btn-toggle-more {
    background: none;
    border: none;
    padding: 8px 0;
    color: var(--cyan);
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;

    .icon-arrow {transition: transform 0.3s ease;}

    &.is-expanded .icon-arrow {transform: rotate(180deg);}
  }

  .video-footer {
    border-top: 1px solid #2b4970;
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
  }

  .link-digest {
    color: var(--navy);
    font-weight: bold;
    font-size: 14px;
    position: relative;
    text-decoration: none;

    &:after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      height: 2px;
      width: 0;
      background: var(--cyan);
      transition: width 0.4s var(--ease);
    }

    &:hover:after {width: 100%;}
  }

  .btnSty {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid var(--navy);
    border-radius: 999px;
    color: var(--navy);
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;

    &.--outline {
      &:hover {background-color: var(--navy); color: #ffffff;}
    }
  }
}

@media screen and (min-width: 769px) {
  .video-item {transition: 0.25s;
    &:hover {transform: translateY(-10px);}
  }
}

@media screen and (min-width: 1025px) and (max-width: 1200px) {
  .video-list {gap: 20px;}
}

@media screen and (max-width: 1024px) {
  .video-list {grid-template-columns: repeat(2, 1fr); gap: 20px;}
}

@media screen and (max-width: 768.999px) {
  .video-list {grid-template-columns: 1fr; gap: 16px;}
  .video-item {justify-self: center;}

  .video-item {
    .video-footer {flex-direction: column; align-items: flex-start; padding-top: 10px;}
  }
}

@media screen and (max-width: 374.999px) {
  .video-item {
    .video-thumb {height: auto; aspect-ratio: 725 / 374;}
    .video-footer {align-items: center;}
  }
}