 body {
     background-color: #f9f9f9;
     font-family: 'outfit', Arial, sans-serif;
     padding-top: 0;
     margin: 0;
 }

 .main-content {
     padding: 20px;
     max-width: 1170px;
     margin: 0 auto;
 }

 .video-card {
     margin-bottom: 20px;
     transition: transform 0.2s;
     cursor: pointer;
     background: white;
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
 }

 .video-card:hover {
     transform: scale(1.02);
 }

 .video-thumbnail {
     position: relative;
     overflow: hidden;
     aspect-ratio: 16/9;
 }

 .video-thumbnail img {
     position: absolute;
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
 }

 .video-duration {
     position: absolute;
     bottom: 8px;
     right: 8px;
     background-color: rgba(0, 0, 0, 0.8);
     color: white;
     padding: 2px 4px;
     border-radius: 4px;
     font-size: 12px;
 }

 .video-info {
       min-height: 180px; /* Adjust based on your content */
    padding: 12px;
    display: flex;
    flex-direction: column;
 }

 .video-title {
     font-weight: 600;
     font-size: 16px;
     margin: 0 0 8px 0;
     display: -webkit-box;
     -webkit-line-clamp: 2;
     -webkit-box-orient: vertical;
     overflow: hidden;
     line-height: 1.4;
 }

 .video-description {
     font-size: 14px;
     color: #606060;
     margin-bottom: 8px;
     display: -webkit-box;
     -webkit-line-clamp: 2;
     -webkit-box-orient: vertical;
     overflow: hidden;
     line-height: 1.4;
 }

 .video-channel {
     font-size: 14px;
     color: #606060;
     margin-bottom: 4px;
     display: flex;
     align-items: center;
 }

 .verified-badge {
     /* color: #065fd4; */
     margin-left: 4px;
     font-size: 14px;
 }

 .video-stats {
     font-size: 14px;
     color: #606060;
 }

 .categories {
     margin-bottom: 20px;
     overflow-x: auto;
     white-space: nowrap;
     padding-bottom: 10px;
 }

 .category-chip {
     display: inline-block;
     background-color: #f2f2f2;
     color: #030303;
     padding: 6px 12px;
     border-radius: 16px;
     margin-right: 8px;
     font-size: 14px;
     cursor: pointer;
 }

 .category-chip.active {
     background-color: #030303;
     color: white;
 }

 .section-title {
     margin-bottom: 18px;
     font-size: 32px;
     font-weight: 600;
     text-align: left;
 }

 .lead {
     font-size: 16px;
     color: #555;
     text-align: left;
     margin-bottom: 30px;
 }

 /* Video Lightbox Styles */
 .video-lightbox {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.9);
     z-index: 1000;
     align-items: center;
     justify-content: center;
 }

 .video-container {
     position: relative;
     width: 80%;
     max-width: 900px;
 }

 .video-container iframe {
     width: 100%;
     height: 500px;
     border: none;
 }

 .close-btn {
     position: absolute;
     top: -20px;
     right: -20px;
     color: white;
     font-size: 30px;
     cursor: pointer;
 }

 /* Grid Layout */
 .video-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
     gap: 20px;
 }

 /* Footer styles */
 .cxp_floater {
     display: none !important;
 }

 .scnd-button {
     margin-left: 0px;
     padding: 5px 21px !important;
     border: 1px solid #025e68 !important;
     font-family: outfit, sans-serif;
     margin-bottom: 12px;
 }

 .scnd-button:hover {
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
 }

 @media (max-width: 768px) {
     .video-container {
         width: 95%;
     }

     .video-container iframe {
         height: 300px;
     }

     .video-grid {
         grid-template-columns: 1fr;
     }
 }

 /* social-media */
 .video-info-row {
     display: flex;
     justify-content: space-between;
     align-items: center;
     gap: 10px;
     flex-wrap: wrap;
     /* allows wrapping on small screens */
     margin-top: 8px;
 }

 .video-stats {
     color: #555;
     flex: 1;
 }

 .social-links {
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .social-links i {
     font-size: 18px;
 }

 .fab.fa-youtube {
     color: red;
 }

 .fab.fa-instagram {
     color: #C13584;
 }

 .scnd-button {
     padding: 5px 10px;
     font-size: 0.85rem;
     background-color: #007bff;
     color: white;
     border: none;
     border-radius: 4px;
     cursor: pointer;
     white-space: nowrap;
 }

 .scnd-button:hover {
     background-color: #0056b3;
 }

 /* Shorts section */
 /* Updated Shorts section */
 .shorts-section {
     margin: 40px 0;
     position: relative;
     margin-top: 17px;
 }

 .shorts-container {
     position: relative;
     overflow: hidden;
     width: 100%;
 }

 .shorts-slider {
     display: flex;
     transition: transform 0.3s ease;
     gap: 15px;
     padding: 5px 0;
     /* Add these to ensure proper sizing */
     width: 100%;
     align-items: stretch;
     /* Makes all cards equal height */
 }


 .short-card {
     cursor: pointer;
     flex: 0 0 calc(20% - 12px);
     min-width: 0;
     /* Add these for consistent sizing */
     display: flex;
     flex-direction: column;
 }

 .short-thumbnail {
     position: relative;
     border-radius: 10px;
     overflow: hidden;
     aspect-ratio: 9/16;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
     transition: transform 0.2s;
     /* Add these properties to ensure proper image display */
     width: 100%;
     height: 100%;
 }

 .short-thumbnail img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     /* This ensures the image covers the container */
     object-position: center;
     /* Centers the image */
     display: block;
     /* Removes any default spacing */
     /* Remove any transitions that might cause blurring */
     transition: none;
 }


 .short-thumbnail:hover {
     transform: none;
     /* Remove the scale transform */
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
     /* Alternative hover effect */
 }

 /* Navigation arrows */
 .slider-nav {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     width: 40px;
     height: 40px;
     background: white;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
     cursor: pointer;
     z-index: 10;
     opacity: 0.8;
     transition: opacity 0.2s;
 }

 .slider-nav:hover {
     opacity: 1;
 }

 .slider-nav.prev {
     left: 10px;
 }

 .slider-nav.next {
     right: 10px;
 }

 .slider-nav.disabled {
     opacity: 0.3;
     cursor: not-allowed;
 }

 /* Responsive adjustments */
 @media (max-width: 1200px) {
     .short-card {
         flex: 0 0 calc(25% - 12px);
     }
 }

 @media (max-width: 992px) {
     .short-card {
         flex: 0 0 calc(33.333% - 12px);
     }
 }

 @media (max-width: 768px) {
     .short-card {
         flex: 0 0 calc(50% - 12px);
     }
 }

 @media (max-width: 576px) {
     .short-card {
         flex: 0 0 calc(100% - 12px);
     }
 }