.wp-block-image.is-style-square img {
  aspect-ratio: 1;
  -o-object-fit: cover;
     object-fit: cover; }

.wp-block-image .wp-element-caption {
  font-size: var(--wp--preset--font-size--small);
  margin-top: 16px; }

@media (min-width: 1024px) {
  .wp-block-image:not(.is-style-square).alignwide .wp-element-caption {
    max-width: 70%; } }

@media (min-width: 1024px) {
  .wp-block-image:not(.is-style-square):not(.alignwide) .wp-element-caption {
    max-width: 85%; } }

@media (min-width: 1280px) {
  .wp-block-image.alignfull img {
    max-height: 100vh;
    -o-object-fit: cover;
       object-fit: cover; } }

.wp-block-image__container {
  position: relative;
  overflow: hidden;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
          clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }

.wp-block-image.has-gradient .wp-block-image__container:before {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 2;
  background-image: url(../../../assets/images/gradient-small.png);
  background-repeat: no-repeat;
  background-size: 100%; }

.wp-block-image.has-gradient-bottom-right .wp-block-image__container:before {
  background-position: right bottom;
  top: 0;
  left: 15%;
  right: -20%;
  bottom: -30%; }

.wp-block-image.has-gradient-top-left .wp-block-image__container:before {
  background-position: left top;
  top: -40%;
  left: -30%;
  right: 30%;
  bottom: 0; }
  @media (min-width: 1024px) {
    .wp-block-image.has-gradient-top-left .wp-block-image__container:before {
      top: -45%;
      bottom: 10%; } }
