/* webinar-video.css - Styling for webinar video cards */ /* Webinar Video Grid - 2x2 layout */ .webinar-videos-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 2.5rem; padding: 0 2rem; } /* Video Card Styling */ .webinar-video-card { background: rgba(20, 30, 50, 0.6); border: 1px solid rgba(109, 40, 217, 0.2); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; display: flex; flex-direction: column; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); min-height: 280px; /* Ensure consistent height for the 2x2 layout */ } .webinar-video-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(109, 40, 217, 0.4); border-color: rgba(109, 40, 217, 0.6); } /* Video Container - Make it cover more of the card */ .webinar-video-card .video-container { position: relative; width: 100%; padding-bottom: 65%; /* Slightly larger aspect ratio for more prominence */ height: 0; overflow: hidden; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); } .webinar-video-card .video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; } /* Video Info Section */ .webinar-video-card .video-info { padding: 12px; text-align: center; } .webinar-video-card .video-info h3 { margin: 0; font-size: 1.8rem; font-weight: 400; color: #52eef5; } /* Responsive Layout */ @media (max-width: 900px) { .webinar-videos-grid { grid-template-columns: 1fr; gap: 20px; } }