.video-posts-grid,
.video-pages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.video-post-card,
.video-page-card {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s;
}

.video-post-card:hover,
.video-page-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-post-card a,
.video-page-card a {
  text-decoration: none;
  color: inherit;
}

.video-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.video-post-card h3,
.video-page-card h3 {
  padding: 15px;
  margin: 0;
  font-size: 1.1em;
  line-height: 1.4;
}

.post-date,
.page-date {
  padding: 0 15px 15px;
  margin: 0;
  color: #666;
  font-size: 0.9em;
}

/* New styles for no-cover cards */
.video-post-card.no-cover,
.video-page-card.no-cover {
  background-color: #f5f5f5;
  padding: 15px;
}

.video-post-card.no-cover .post-card-content,
.video-page-card.no-cover .page-card-content {
  margin: 0;
}

.video-post-card.no-cover h3,
.video-page-card.no-cover h3 {
  margin: 0 0 10px 0;
  font-size: 1.1em;
}

.no-thumbnail {
  background-color: #f5f5f5;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-icon,
.page-icon {
  font-size: 2em;
  color: #666;
}

.post-card-content,
.page-card-content {
  margin-top: 10px;
}

/* List layout for posts/pages without thumbnails */
/* Removed .posts-list and .pages-list rules */

.post-list-item,
.page-list-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f5f5f5;
  transition: background-color 0.2s;
}

.post-list-item:hover,
.page-list-item:hover {
  background-color: #f9f9f9;
}

.post-list-item:last-child,
.page-list-item:last-child {
  border-bottom: none;
}

.post-list-item a,
.page-list-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 0.25rem 1rem;
}

.post-list-item a:hover,
.page-list-item a:hover {
  color: #007bff;
}

.post-list-title,
.page-list-title {
  font-size: 1.1em;
  font-weight: 400;
  color: #666;
}

.post-date,
.page-date {
  color: #999;
  font-size: 0.8rem;
  font-weight: 300;
}

h2 {
  font-size: 1.5em;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-separator {
  border: 0;
  height: 1px;
  background-color: #e0e0e0;
  margin: 2rem 0;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .video-posts-grid,
  .video-pages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .video-posts-grid,
  .video-pages-grid {
    grid-template-columns: 1fr;
  }
} 