/**
* COLORS
*/
.single-video {
  background: #ffffff;
  min-height: 100vh;
}
@media (max-width: 900px) {
  .single-video {
    padding-bottom: 2.5rem;
  }
}
.single-video__layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0 2.5rem;
  max-width: 1600px;
  margin: 0 auto;
  align-items: start;
  padding: 0 2rem;
  transition: grid-template-columns 0.3s ease;
}
.single-video__layout.is-expanded {
  grid-template-columns: 1fr 0;
  gap: 0;
}
.single-video__layout.is-expanded .single-video__sidebar {
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  width: 0;
}
@media screen and (min-width: 1200px) {
  .single-video__layout {
    grid-template-columns: 1fr 340px;
  }
}
@media (max-width: 900px) {
  .single-video__layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 1rem;
  }
}
.single-video__player-col {
  min-width: 0;
  padding: 2rem 0;
}
@media (max-width: 900px) {
  .single-video__player-col {
    padding: 1rem 0;
  }
}
.single-video__player-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: #000000;
  border-radius: 8px;
  overflow: hidden;
}
.single-video__player, .single-video__player-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}
.single-video__player-thumb {
  object-fit: contain;
}
.single-video__expand-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 4px;
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
  z-index: 10;
}
.single-video__expand-btn .icon-compress {
  display: none;
}
.single-video__expand-btn:hover {
  background: rgba(0, 0, 0, 0.85);
}
@media (max-width: 900px) {
  .single-video__expand-btn {
    display: none;
  }
}
.single-video__player-wrap:hover .single-video__expand-btn {
  opacity: 1;
}
.is-expanded .single-video__expand-btn .icon-expand {
  display: none;
}
.is-expanded .single-video__expand-btn .icon-compress {
  display: block;
}
.single-video__meta {
  padding: 1.25rem 0 1.5rem;
  border-top: 2px solid #f3f3f3;
  margin-top: 1.25rem;
}
.single-video__meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
@media (max-width: 900px) {
  .single-video__meta-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
.single-video__meta-info {
  flex: 1;
  min-width: 0;
}
.single-video__info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.single-video__cat {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  background: #a34a9c;
  color: #ffffff;
  border-radius: 2em;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.single-video__date {
  font-size: 0.825rem;
  color: #888;
}
.single-video__share {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.single-video__share-label {
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #aaa;
  margin-right: 2px;
}
.single-video__description {
  border-top: 2px solid #f3f3f3;
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}
.single-video__desc-body {
  position: relative;
  max-height: 5.25rem;
  overflow: hidden;
  font-size: 0.875rem;
  line-height: 1.75;
  color: #555;
  transition: max-height 0.4s ease;
}
.single-video__desc-body::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5rem;
  background: linear-gradient(to bottom, transparent, #ffffff);
  pointer-events: none;
  transition: opacity 0.3s;
}
.single-video__desc-body p {
  margin: 0 0 0.6em;
}
.single-video__desc-body p:last-child {
  margin-bottom: 0;
}
.single-video__desc-body.is-expanded {
  max-height: 9999px;
}
.single-video__desc-body.is-expanded::after {
  opacity: 0;
}
.single-video__desc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f3f3f3;
  border: none;
  border-radius: 4px;
  color: #000000;
  font-size: 0.825rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  margin-top: 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
}
.single-video__desc-toggle i {
  transition: transform 0.25s;
}
.single-video__desc-toggle[aria-expanded=true] i {
  transform: rotate(90deg);
}
.single-video__desc-toggle:hover {
  background: rgb(227.7, 227.7, 227.7);
}
.single-video__sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  margin: 0;
  transition: opacity 0.3s, width 0.3s;
  scrollbar-width: thin;
  scrollbar-color: rgb(204.75, 204.75, 204.75) transparent;
}
@media (max-width: 900px) {
  .single-video__sidebar {
    position: static;
    height: auto;
    border-radius: 0;
  }
}
.single-video__sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #a34a9c;
  background: #f3f3f3;
  padding: 1rem;
  border-radius: 10px;
  margin: 2rem 0 1.25rem;
}
.single-video__sidebar-list {
  padding: 0.5rem 0;
}
.single-video__sidebar-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 0.6rem 1rem;
  text-decoration: none;
  transition: background 0.15s;
  border-radius: 4px;
}
.single-video__sidebar-item:hover {
  background: #f3f3f3;
}
.single-video__sidebar-item:hover .single-video__sidebar-play {
  opacity: 1;
}
.single-video__sidebar-thumb {
  position: relative;
  flex-shrink: 0;
  width: 120px;
  aspect-ratio: 16/9;
  background: rgb(217.5, 217.5, 217.5);
  border-radius: 4px;
  overflow: hidden;
}
.single-video__sidebar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media screen and (min-width: 1200px) {
  .single-video__sidebar-thumb {
    width: 100px;
  }
}
.single-video__sidebar-no-thumb {
  width: 100%;
  height: 100%;
  background: rgb(212.4, 212.4, 212.4);
}
.single-video__sidebar-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.15s;
}
.single-video__sidebar-info {
  flex: 1;
  min-width: 0;
}
.single-video__sidebar-item-title {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
  color: #000000;
  margin: 0 0 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.single-video__sidebar-date {
  font-size: 0.725rem;
  color: #999;
}
