/* Comment List Styles */
.comments-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 1rem;
}

.comments-list.level-0 {
    margin-left: 0;
}

.comments-list.level-1 {
    margin-left: 2rem;
    border-left: 2px solid #cce5ff;
    padding-left: 1rem;
}

.comments-list.level-2 {
    margin-left: 3rem;
    border-left: 2px solid #99ccff;
    padding-left: 1rem;
}

.comment-item {
    margin-bottom: 1rem;
}

.comment-box {
    background-color: #f8faff;
    padding: 1rem;
    border-radius: 6px;
    box-shadow: 0 0 5px rgb(0 0 0 / 0.05);
}

.comment-meta {
    font-size: 0.85rem;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-weight: 600;
    margin-right: 1rem;
}

.comment-date {
    color: #666;
    font-style: italic;
}

.comment-text {
    margin-bottom: 0.5rem;
    white-space: pre-wrap;
}

.reply-link {
    font-size: 0.85rem;
    color: #0056b3;
    cursor: pointer;
}

.reply-link:hover {
    text-decoration: underline;
}

.reply-box {
    margin-top: 0.5rem;
}

/* Comment Form Styles */
.comment-form {
    margin-top: 2rem;
    max-width: 600px;
}

.comment-form .form-group {
    margin-bottom: 1rem;
}

.comment-form input.form-control,
.comment-form textarea.form-control {
    width: 100%;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    resize: vertical;
}

.comment-form button.btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
}

.comment-form button.btn:hover {
    background-color: #0056b3;
}

    body {
      font-family: Arial, sans-serif;
      background: #f7f7f7;
      margin: 0;
      padding: 20px;
    }

    h1 {
      text-align: center;
      margin-bottom: 30px;
    }

    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 20px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .card {
      background: white;
      border-radius: 8px;
      padding: 15px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .card h3 {
      font-size: 1.2em;
      margin: 0 0 10px;
    }

    .card p {
      margin: 4px 0;
      font-size: 0.95em;
      color: #555;
    }

    .card video {
      width: 100%;
      border-radius: 4px;
    }

    .card a {
      text-decoration: none;
      color: #007bff;
      font-weight: bold;
    }

    .card a:hover {
      text-decoration: underline;
    }

