/* Sermons Page */
.sermons-wrap {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.sermons-wrap h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #222;
}

/* Masonry grid container */
.masonry-grid {
  position: relative;
}

/* Masonry items */
.masonry-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px; /* vertical gap */
}

.masonry-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Sermon image */
.sermon-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 250px;
}

/* Sermon content */
.sermon-content {
  padding: 15px 20px 20px;
}

.sermon-content h3 {
  font-size: 20px;
  margin: 0 0 10px;
  color: #0078ff;
}

.sermon-content .meta {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.sermon-content .view-btn {
  display: inline-block;
  background: #0078ff;
  color: #fff;
  padding: 8px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s ease;
}

.sermon-content .view-btn:hover {
  background: #005dc1;
}