/* Article content and the pieces of the post page that used to rely on Flatsome. */

/* quote */
.entry-content blockquote {
  position: relative;
  margin: 24px 0 1.25em;
  padding: 0 1.25em 0 20px;
  font-size: 17px;
  font-style: italic;
  color: #333;
  border-left: 2px solid var(--fs-color-primary, #ff7a00);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }

/* images: keep the space of an image that has not loaded (the intrinsic ratio wins once it is loaded) */
.entry-content img,
.entry-image img {
  display: block;
  height: auto;
  aspect-ratio: auto 3 / 2;
}
@supports (aspect-ratio: attr(width type(<number>))) {
  .entry-content img[width][height] { aspect-ratio: auto attr(width type(<number>)) / attr(height type(<number>)); }
}
.entry-image img { width: 100%; }

/* post meta in the hero: no blue links, show only the published date */
.entry-meta a { color: inherit; text-decoration: none; }
.entry-meta .updated:not(.published) { display: none; }
.entry-meta .author-avatar {
  width: 32px;
  height: 32px;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 50%;
}

/* table of contents (Easy Table of Contents): lists and toggle button */
.ez-toc-widget-sticky-container ul,
#ez-toc-container ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ez-toc-widget-sticky-container ul ul,
#ez-toc-container ul ul {
  margin: 0;
  padding-left: 0.9em;
}
.ez-toc-widget-sticky-container li,
#ez-toc-container li { margin: 0 0 0.25em; }

.ez-toc-widget-sticky-container button,
.ez-toc-widget-sticky-container a.ez-toc-btn,
#ez-toc-container button,
#ez-toc-container a.ez-toc-btn {
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}


/* gap between the post title and the cover/meta block */
.entry-header .entry-header-text-top { margin-bottom: 1.5em; }
.entry-header .entry-header-text-top .entry-title { margin-bottom: 0; }


/* lists: same geometry for ul and ol, and the gap between items that came from Flatsome (li margin-bottom .6em) */
.entry-content ol.wp-block-list li,
.entry-content ul.wp-block-list li {
  margin-bottom: 0.6em;
}
.entry-content ol.wp-block-list li:last-child,
.entry-content ul.wp-block-list li:last-child {
  margin-bottom: 0;
}

/* ul: the circle sits like in ol (the old left margin of ul came from Flatsome) */
.entry-content ul.wp-block-list li {
  padding-left: 36px;
  margin-left: 15px;
}
.entry-content ul.wp-block-list li::before {
  left: 0 !important;
  top: 1px;
}

