/* -----------------------------------------
Gutenberg general style resets
----------------------------------------- */

$content-spacing-base: 30px !default;

.entry-content,
.entry,
.wp-block-column {
  > [class^="wp-block-"] {
    margin-bottom: $content-spacing-base;
  }
}

.entry-content {
  // Audio embed with caption
  .wp-block-audio {
    margin-bottom: 1.5em;

    audio {
      width: 100%;
      margin: 0;
    }

    figcaption {
      color: inherit;
      opacity: .7;
    }
  }

  // Video embed with caption
  .wp-block-video {
    margin-bottom: 1.5em;

    video {
      width: 100%;
      margin: 0;
    }

    figcaption {
      color: inherit;
      opacity: .7;
    }
  }
}

/* Embed blocks
=================================== */
.wp-block-embed {
  iframe {
    margin: 0;
  }

  figcaption {
    color: inherit;
    opacity: .7;
  }
}

/* Image Block
=================================== */
.wp-block-image {
  figcaption {
    color: inherit;
    opacity: .7;
  }
}

/* Separator Block
=================================== */
.wp-block-separator {
  margin: $content-spacing-base 0;
}

/* Latest Comments Block
=================================== */
.wp-block-latest-comments {
  padding-left: 0;

  .wp-block-latest-comments__comment-avatar {
    padding: 0;
  }

  .wp-block-latest-comments__comment-date {
    color: inherit;
    opacity: .7;
  }
}

/* Latest Posts Block
=================================== */
.wp-block-latest-posts {
	list-style: none;
	padding: 0;

	li {
		margin-bottom: 15px;
	}

  .wp-block-latest-posts__post-date {
    color: inherit;
    opacity: .7;
  }
}

/* Gallery Block
=================================== */
.wp-block-gallery {
  li {
    &::before {
      display: none;
    }

    a {
      border: 0;
      box-shadow: none;
    }
  }
}

/* Columns Block
=================================== */
.wp-block-column {
  :last-child {
    margin-bottom: 0;
  }
}

/* Quote Block
=================================== */
.wp-block-quote {
  &.is-large,
  &.is-style-large {
    background: none;
		font-style: normal;

    &::before,
    &::after {
      display: none;
    }
  }
}

/* Pull Quote Block
=================================== */
.wp-block-pullquote {
  padding: 0;
	font-style: normal;

  blockquote {
		font-style: normal;
    padding: 0;
    border: 0;
  }
}
