/* ===== Videos (2025 UI) — same card design/behavior as search-2025, layout unchanged ===== */
.videos-2025 * { box-sizing: border-box; }

.videos-2025 .container { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: .5rem; 
}

/* Main area (kept) */
.videos-2025 .main-content,
.main-content { 
  padding: 40px 0; 
  background: #ffffff; 
}

/* === GRID (UNCHANGED LAYOUT) === */
.videos-2025 .videos-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1024px){
  .videos-2025 .videos-grid{ grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 768px){
  .videos-2025 .videos-grid{ grid-template-columns: 1fr; gap: 18px; }
}

/* === CARD: adopt search-2025 look & motion === */
.videos-2025 .video-card{
  /* tokens to match search-2025 */
  border: 1px solid var(--border-color, #E7ECF3);
  border-radius: var(--border-radius, 14px);
  background: var(--background-light, #fff);
  overflow: hidden;

  /* subtle elevation like search-2025 */
  box-shadow: 0 8px 26px rgba(0,0,0,.08);
  transition: 
    box-shadow var(--transition, .25s ease),
    border-color var(--transition, .25s ease),
    transform var(--transition, .25s ease);
}
.videos-2025 .video-card:hover{
  box-shadow: 0 12px 30px rgba(0,0,0,.10);
  border-color: rgba(0,0,0,.10); /* same tint behavior */
  transform: translateY(-1px);   /* lighter lift, like search cards */
}

/* focus-visible parity (like .result-card:focus-within) */
.videos-2025 .video-card:focus-within{
  outline: 3px solid rgba(230, 61, 37, .35);
  outline-offset: 2px;
}

/* make links inherit without underlines */
.videos-2025 .video-link{ 
  display:block; 
  color: inherit; 
  text-decoration: none; 
}

/* === THUMBNAIL: same zoom-on-hover feel === */
.videos-2025 .video-thumbnail{
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--background-muted, #f5f5f5);
}
.videos-2025 .video-thumbnail img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.videos-2025 .video-card:hover .video-thumbnail img{
  transform: scale(1.05);
}

/* Play button kept; subtle hover parity */
.videos-2025 .play-button{
  position: absolute;
  inset: auto auto 12px 12px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,.72);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 16px; box-shadow: 0 4px 14px rgba(0,0,0,.25);
  transition: transform var(--transition, .25s ease), filter var(--transition, .25s ease);
}
.videos-2025 .video-card:hover .play-button{
  transform: translateY(-1px);
  filter: brightness(1.08);
}

/* === CONTENT: typography aligned with search-2025 style === */
.videos-2025 .video-content{ 
  padding: .75rem;                /* matches compact body spacing */
}
.videos-2025 .video-title{
  font-family: var(--font-condensed, inherit);
  font-weight: 700;
  line-height: 1.2;
  font-size: clamp(1rem, 2.2vw, 1.1rem);  /* same scale as result titles */
  color: var(--text-color, #1a1a1a);
  margin: 0 0 .4rem;
}
.videos-2025 .video-title a{
  color: inherit; 
  text-decoration: none;
}
.videos-2025 .video-title a:hover{ 
  color: var(--primary-color, #0b2545);
}
.videos-2025 .video-date{ 
  font-size: .85rem; 
  color: var(--text-muted, #748094); 
}

.videos-2025 .no-videos{ text-align:center; color:#6b7280; padding: 40px 0; }

/* === Reduced motion (parity) === */
@media (prefers-reduced-motion: reduce){
  .videos-2025 .video-card,
  .videos-2025 .video-thumbnail img,
  .videos-2025 .play-button,
  .videos-2025 .videos-pagination .page-numbers { 
    transition: none; 
  }
}


