.home-section {
  padding: 3rem 0;
}

.home-section-head {
  margin-bottom: 24px;
}

/* Latest program teaser */
.latest-program-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.gallery-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background-color: var(--field);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.22, 0.9, 0.36, 1),
    box-shadow 0.4s;
}
.gallery-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 20, 26, 0.75), transparent 65%);
}
.gallery-tile:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow);
}
.gallery-tile-caption {
  position: relative;
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.gallery-tile-date {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
}

/* Sermons */
.sermon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.sermon-card h3 {
  font-size: 17px;
  margin: 10px 0 6px;
}

.sermon-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin: -28px -28px 16px;
  width: calc(100% + 56px);
}
