/* FINAL REFINEMENT: Eliminates the gap between the GIF content and the white border. */
.dnd-module .hs-image-widget[src*=".gif"],
.dnd-module .hs-image-widget[src*=".GIF"] {
  /* 1. BORDER STYLING */
  border: 7px solid white !important;
  
  /* 2. ROUNDED CORNERS */
  border-radius: 12px !important;
  
  /* 3. SOFT SHADOW STYLING */
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4) !important;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.4)) !important; 
  
  /* 4. ESSENTIAL SPACING & DISPLAY */
  padding: 0 !important; /* <--- CRITICAL CHANGE: Removes the gap */
  margin: 0 auto !important;
  display: block !important;