/* Minimal editorial video layout for the homepage only. */
.home-video-section {
  background: #f8f6fb;
}

.home-video-section .home-section-heading h2 {
  color: #2f203d;
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1.12;
}

.home-video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(350px, .75fr);
  gap: 22px;
}

.home-video-featured,
.home-video-item {
  color: inherit;
  text-decoration: none;
}

.home-video-featured {
  display: block;
  overflow: hidden;
  border: 1px solid #e6deef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(73, 51, 111, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}

.home-video-featured:hover {
  box-shadow: 0 18px 34px rgba(73, 51, 111, .13);
  transform: translateY(-3px);
}

.home-video-featured-thumb,
.home-video-item-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: #4b3860;
  background-position: center;
  background-size: cover;
}

.home-video-featured-thumb {
  aspect-ratio: 16 / 9;
}

.home-video-featured-thumb::after,
.home-video-item-thumb::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 23, 53, 0) 48%, rgba(36, 23, 53, .38));
  content: '';
}

.home-video-play,
.home-video-item-play {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #76549b;
  box-shadow: 0 8px 18px rgba(32, 18, 48, .25);
  transition: background .25s ease, transform .25s ease;
}

.home-video-play {
  width: 58px;
  height: 58px;
  top: 50%;
  left: 50%;
  font-size: 1.55rem;
  transform: translate(-50%, -50%);
}

.home-video-featured:hover .home-video-play {
  background: #49336f;
  transform: translate(-50%, -50%) scale(1.08);
}

.home-video-duration {
  position: absolute;
  z-index: 2;
  right: 13px;
  bottom: 12px;
  padding: 5px 8px;
  border-radius: 5px;
  color: #fff;
  background: rgba(36, 23, 53, .72);
  font-size: .62rem;
  font-weight: 700;
}

.home-video-featured-copy {
  display: block;
  padding: 18px 20px 20px;
}

.home-video-featured-copy small,
.home-video-item-copy small {
  display: block;
  color: #988ca5;
  font-size: .65rem;
}

.home-video-featured-copy strong {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  color: #342641;
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-video-featured-copy > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: #76549b;
  font-size: .68rem;
  font-weight: 700;
}

.home-video-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-video-item {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 13px;
  min-height: 94px;
  padding: 9px;
  border: 1px solid #e8e1ef;
  border-radius: 12px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.home-video-item:hover {
  border-color: #cdb8df;
  box-shadow: 0 9px 20px rgba(73, 51, 111, .1);
  transform: translateX(3px);
}

.home-video-item-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
}

.home-video-item-play {
  width: 31px;
  height: 31px;
  top: 50%;
  left: 50%;
  font-size: .95rem;
  transform: translate(-50%, -50%);
}

.home-video-item:hover .home-video-item-play {
  background: #49336f;
  transform: translate(-50%, -50%) scale(1.08);
}

.home-video-item-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.home-video-item-copy strong {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 6px;
  color: #3d2d4b;
  font-size: .78rem;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-video-item-copy > span {
  display: block;
  overflow: hidden;
  margin-top: 6px;
  color: #958a9f;
  font-size: .62rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .home-video-layout { grid-template-columns: 1fr; }
  .home-video-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .home-video-list { display: flex; }
  .home-video-item { grid-template-columns: 118px minmax(0, 1fr); }
  .home-video-featured-copy { padding: 16px; }
}
