/* 复用 videos.php 的主要样式（精简必要部分） */
.videos-section { position: relative; padding: 0.5rem 0; overflow: hidden; }
.videos-section .container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 15px; }
.videos-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: start; }
.videos-grid .video-card-large { grid-column: 1; }
.videos-grid .video-grid-small { grid-column: 2; }
.video-grid-small { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.video-card { background-color: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: transform .3s ease; position: relative; display: flex; flex-direction: column; }
.video-card:hover { transform: translateY(-5px); }
.video-thumbnail { position: relative; overflow: hidden; flex-grow: 1; border-radius: 16px 16px 0 0; }
.video-card-large .video-thumbnail { height: 480px; }
.video-thumbnail img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px 16px 0 0; background-color: #f0f0f0; transition: opacity .3s ease; }
.video-play-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,.3); display:flex; align-items:center; justify-content:center; opacity:0; transition: opacity .3s ease; pointer-events:none; }
.video-card:hover .video-play-overlay { opacity:1; pointer-events:auto; }
.video-play-btn { width:80px; height:80px; background: rgba(255,255,255,.9); border-radius:50%; display:flex; align-items:center; justify-content:center; }
.video-play-btn svg { width:50px; height:50px; fill:#C10715; }
.video-info { padding: 8px; background: #fff; }
.video-title { font-size: 1.05rem; color:#222; text-align:center; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.video-card-large .video-title { font-size: 0.95rem; }
.video-card-small .video-title { font-size: 1rem; }

@media (max-width: 992px) {
  .videos-grid { grid-template-columns: 1fr; }
  .videos-grid .video-card-large,
  .videos-grid .video-grid-small { grid-column: auto; }
  .video-card-large .video-thumbnail { height: 300px; }
  .video-card-small .video-thumbnail { height: 180px; }
}

@media (max-width: 768px) {
  .video-grid-small { grid-template-columns: 1fr 1fr; }
  .video-card-large .video-thumbnail { height: 250px; }
  .video-card-small .video-thumbnail { height: 160px; }
  .video-title { font-size: 0.95rem; }
  .video-card-large .video-title { font-size: 0.9rem; }
  .video-card-small .video-title { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .video-grid-small { grid-template-columns: 1fr 1fr; gap: 8px; }
  .video-card-large .video-thumbnail { height: 200px; }
  .video-card-small .video-thumbnail { height: 120px; }
  .video-title { font-size: 0.9rem; }
  .video-card-large .video-title { font-size: 0.85rem; }
  .video-card-small .video-title { font-size: 0.9rem; }
}


