/* Dedicated Video Card Styling for the Videos Page */
.video-grid-container {
  padding-top: 32px;
}

.video-card-item {
  margin-bottom: 32px;
  display: flex;
}

.video-card-item .card {
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  width: 100% !important;
  margin: 0 !important;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensure all cards in a row have equal height */
}

.video-card-item .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-card-item .card:hover h3 {
  color: #ec3323;
}

.video-card-item .card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #000;
  border-radius: 0;
}

.video-card-item .card-img img:not(.paly-btn) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card-item .paly-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  z-index: 2;
  transition: transform 0.3s ease;
}

.video-card-item .card:hover .paly-btn {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card-item .card h3 {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
  color: #1a1a1a;
  padding: 16px 20px 24px;
  margin: 0;
  flex-grow: 1;
  font-family: "Shurjo", sans-serif;
  text-align: left;
}

.filter-tabs {
  margin-bottom: 32px;
}

.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 32px;
}

@media (max-width: 575px) {
  .filter-list {
    gap: 0px;
  }
}

.filter-item {
  padding: 12px 0;
  font-size: 20px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
  font-family: "Shurjo", sans-serif;
}

.filter-item:hover,
.filter-item.active {
  color: #ec3323;
}

.filter-item.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #ec3323;
}

@media (max-width: 575px) {
  .filter-list {
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .filter-item {
    white-space: nowrap;
    font-size: 18px;
  }
}
