body {
      margin: 0;
      font-family: Arial, sans-serif;
      background: #f4f4f4;
    }

     .media-grid1 {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 20px;
      padding: 30px;
      min-height: 70vh;
    }

    .card {
      background: #fff;
      border: 1px solid #ddd;
      border-radius: 8px;
      overflow: hidden;
      cursor: pointer;
      transition: transform 0.2s, box-shadow 0.2s;
      gap:20px;
      height: fit-content;
    }

    .card:hover {
      transform: scale(1.03);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      color: #1ca4ac;
    }

    .card img {
      width: 100%;
      height: 160px;
      object-fit: cover;
    }

    .card h3 {
      margin: 10px;
      font-size: 16px;
      color: #111;
    }

    /* Sidebar (Video Drawer) */
    .sidebar {
      position: fixed;
      top: 0;
      right: -100%;
      width: 420px;
      max-width: 95%;
      height: 100%;
      background: #fff;
      color: #111;
      border-left: 2px solid #ddd;
      box-shadow: -4px 0 10px rgba(0, 0, 0, 0.15);
      overflow-y: auto;
      transition: right 0.4s ease-in-out;
      z-index: 1000;
      padding: 20px;
    }

    .sidebar.active {
      right: 0;
    }

    .sidebar .close-btn {
      font-size: 20px;
      cursor: pointer;
      background: none;
      border: none;
      color: #333;
      float: right;
    }

    .video-player {
      width: 300px;
      
      /* aspect-ratio: 16 / 9; */
      /* margin-bottom: 15px; */
      background: #000;
      border-radius: 8px;
      /* overflow: hidden; */
    }

    .sidebar h2 {
      font-size: 18px;
      margin-bottom: 10px;
      color: #111;
    }

    .sidebar p {
      font-size: 14px;
      color: #444;
    }

    .related {
      margin-top: 20px;
    }

    .related h3 {
      font-size: 16px;
      margin-bottom: 10px;
      color: #1ca4ac;
    }

    .related-videos {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
      gap: 10px;
    }

    .related-card {
      background: #f9f9f9;
      border: 1px solid #ddd;
      border-radius: 6px;
      overflow: hidden;
      cursor: pointer;
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .related-card:hover {
      transform: scale(1.05);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .related-card img {
      width: 100%;
      height: 80px;
      object-fit: cover;
    }

    .related-card p {
      padding: 5px;
      font-size: 12px;
      margin: 0;
      color: #1ca4ac;
    }
    @media(max-width:400px) {
      .media-grid1 {
        margin-left: -20px;
      }
    }

 