/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
/* Center the wine bottle block */
.wine-bottle,
.wine-bottle .gb-media-wrapper,
.wine-bottle .gb-media-figure {
  display: flex;
  justify-content: center !important;
  align-items: center;
  text-align: center;
}

/* Ensure the actual image centers and isn’t floated */
.wine-bottle img {
  display: block;
  margin: 0 auto !important;
  float: none !important;
}

/* If the block sits inside a grid/column that forces left alignment, override it */
.gb-grid-column .wine-bottle {
  justify-content: center !important;
  text-align: center !important;
}

/* If a <figure> has theme margins, neutralize them */
.wine-bottle figure {
  margin-left: auto !important;
  margin-right: auto !important;
}