/* Video & Media Center Page Styles */

.page-media-center {
  overflow-x: hidden;
}

.c-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

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

.c-vidcard {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 75, 135, 0.06);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.c-vidcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 75, 135, 0.14);
  border-color: rgba(0, 75, 135, 0.2);
}

.c-vidcard__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}

.c-vidcard__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: all 0.4s ease;
}

.c-vidcard:hover .c-vidcard__thumb img {
  opacity: 0.65;
  transform: scale(1.06);
}

.c-vidcard__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.c-vidcard__play svg {
  width: 60px;
  height: 60px;
  color: #fff;
  background: rgba(0, 75, 135, 0.85);
  border-radius: 50%;
  padding: 16px;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.6);
  animation: videoCardPulse 2.2s infinite;
  transition: transform 0.3s ease, background 0.3s ease;
}

.c-vidcard:hover .c-vidcard__play svg {
  transform: scale(1.12);
  background: var(--color-primary);
  box-shadow: 0 4px 20px rgba(0, 75, 135, 0.5);
  animation: none;
}

@keyframes videoCardPulse {
  0%   { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.6); }
  70%  { box-shadow: 0 0 0 14px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.c-vidcard__duration {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.c-vidcard__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.c-vidcard__cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.c-vidcard__title {
  font-size: 1.05rem;
  color: var(--color-dark);
  line-height: 1.4;
  margin: 0;
}

.c-vidcard__desc {
  font-size: 0.85rem;
  color: var(--color-secondary);
  line-height: 1.6;
  margin: 0;
}
