/*====================================================
	Block editor (Gutenberg) blocks on the front end
	1. Alignments
	2. Embeds, media
	3. Text blocks
	4. Buttons
	5. Block widgets
====================================================*/

/*====================================================
	1. Alignments
====================================================*/
/* wide and full blocks grow over the column gutters (15px on each side) */
.post-entry .alignwide,
.post-entry .alignfull {
  margin-left: -15px;
  margin-right: -15px;
  max-width: none;
  width: auto;
}
.post-entry .alignfull img,
.post-entry .alignwide img {
  width: 100%;
  height: auto;
}
.post-entry .aligncenter {
  margin-left: auto;
  margin-right: auto;
}
.post-entry .alignleft {
  float: left;
  margin: 0 28px 14px 0;
}
.post-entry .alignright {
  float: right;
  margin: 0 0 14px 28px;
}
.post-entry:after {
  content: "";
  display: table;
  clear: both;
}
.post-entry [class*="wp-block-"] {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/*====================================================
	2. Embeds, media
====================================================*/
.post-entry .wp-block-image,
.post-entry .wp-block-embed,
.post-entry .wp-block-video,
.post-entry .wp-block-audio,
.post-entry .wp-block-gallery,
.post-entry .wp-block-cover,
.post-entry .wp-block-columns,
.post-entry .wp-block-table,
.post-entry .wp-block-media-text {
  margin-top: 0;
  margin-bottom: 28px;
}
.post-entry .wp-block-image img,
.post-entry .wp-block-media-text img {
  max-width: 100%;
  height: auto;
}
.post-entry .wp-block-embed iframe,
.post-entry .wp-block-video video {
  max-width: 100%;
}
.post-entry figcaption,
.post-entry .wp-element-caption {
  font-size: 13px;
  line-height: 1.6em;
  color: #777777;
  text-align: center;
  margin-top: 7px;
}
.post-entry .wp-block-gallery {
  padding: 0;
}
.post-entry .wp-block-cover {
  color: #ffffff;
}
.post-entry .wp-block-cover h1,
.post-entry .wp-block-cover h2,
.post-entry .wp-block-cover h3,
.post-entry .wp-block-cover h4,
.post-entry .wp-block-cover p {
  color: inherit;
}

/*====================================================
	3. Text blocks
====================================================*/
.post-entry .wp-block-quote,
.post-entry .wp-block-pullquote {
  margin: 0 0 28px;
}
.post-entry .wp-block-pullquote {
  border-top: 4px solid #ff4444;
  border-bottom: 4px solid #ff4444;
  padding: 28px 0;
  text-align: center;
}
.post-entry .wp-block-pullquote blockquote {
  background: none;
  padding: 0;
  margin: 0;
}
.post-entry .wp-block-quote cite,
.post-entry .wp-block-pullquote cite {
  font-style: italic;
}
.post-entry .wp-block-table table {
  margin-bottom: 0;
}
.post-entry .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background-color: #f0f0f0;
}
.post-entry .wp-block-separator {
  margin: 28px auto;
  border: 0;
  border-top: 1px solid #eeeeee;
}
.post-entry .wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
  max-width: 100px;
}
.post-entry .wp-block-code,
.post-entry .wp-block-preformatted {
  margin-bottom: 28px;
  white-space: pre-wrap;
}
.post-entry .has-drop-cap:not(:focus):first-letter {
  font-size: 4.5em;
  line-height: 0.9em;
  font-weight: 700;
}
.post-entry .has-large-font-size {
  line-height: 1.4em;
}
.post-entry .has-x-large-font-size,
.post-entry .has-huge-font-size {
  line-height: 1.25em;
}

/*====================================================
	4. Buttons
====================================================*/
.post-entry .wp-block-buttons {
  margin-bottom: 28px;
}
.post-entry .wp-block-button__link {
  border-radius: 0;
  line-height: 1.5em;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}
.post-entry .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background) {
  background-color: #ff4444;
}
.post-entry .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-text-color) {
  color: #ffffff;
}
.post-entry .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background):hover,
.post-entry .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background):focus {
  background-color: #343334;
}
.post-entry .wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color) {
  color: #ff4444;
}

/*====================================================
	5. Block widgets
====================================================*/
/* headings of block based widgets repeat the look of the classic widget title */
.widget .wp-block-heading,
.widget .wp-block-search__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 35px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  background: #343334;
  border-left: 6px solid #ff4444;
  padding: 0 24px;
  margin-bottom: 28px;
}
.widget .wp-block-latest-posts,
.widget .wp-block-categories,
.widget .wp-block-archives,
.widget .wp-block-latest-comments,
.widget .wp-block-page-list {
  padding-left: 0;
  list-style: none;
}
.widget .wp-block-search__inside-wrapper {
  display: -webkit-box;
  display: flex;
}
.widget .wp-block-search__input {
  -webkit-box-flex: 1;
  flex: 1 1 auto;
  min-width: 0;
}
.widget .wp-block-search__button {
  margin-left: 7px;
}
