/* Extras for the blog pages rendered by the backend (stats, likes, pager, body of posts written in the admin). */

/* the Wix "more" menu needed its runtime */
[data-hook="more-button"] { display: none !important; }

.bv-stats, .bv-post-stats { display: flex; align-items: center; gap: 14px; opacity: .85; }
.bv-stat { display: inline-flex; align-items: center; gap: 5px; }
.bv-like { display: inline-flex; align-items: center; gap: 5px; margin: 0; padding: 4px 6px; border: 0; background: none;
  color: inherit; font: inherit; cursor: pointer; }
.bv-like:disabled { opacity: .5; cursor: default; }
.bv-like svg path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.bv-like[aria-pressed="true"] { color: #b5452f; }
.bv-like[aria-pressed="true"] svg path { fill: currentColor; }

.bv-pager { display: flex; justify-content: space-between; align-items: center; box-sizing: border-box; padding: 6px 12px; font-size: 14px; }
.bv-pager a { color: inherit; text-decoration: underline; }
[data-hook="category-dropdown"] + div { position: relative; }
.bv-cat-menu { position: absolute; top: 0; left: 0; right: 0; z-index: 60; margin: 0; padding: 6px 0; list-style: none; background: rgb(255, 250, 238);
  border: 1px solid rgba(64, 63, 43, .25); box-shadow: 0 6px 16px rgba(0, 0, 0, .12); }
.bv-cat-menu[hidden] { display: none; }
.bv-cat-menu a { display: block; padding: 11px 18px; color: rgb(64, 63, 43); text-decoration: none; font: 15px/1.3 helvetica-w01-light, sans-serif; }
.bv-cat-menu a[aria-current] { font-weight: 700; }
.bv-empty { padding: 24px 0; text-align: center; opacity: .8; }
.bv-draft-banner { padding: 10px 16px; background: #fff3cd; color: #664d03; text-align: center; font: 14px/1.4 sans-serif; }
.bv-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 99999; padding: 10px 18px; border-radius: 4px;
  background: #403f2b; color: #fff; font: 14px/1.3 sans-serif; }

/* body of posts written in the admin: same look as the imported Wix posts */
.bv-post-body { color: rgb(64, 63, 43); font-family: helvetica-w01-light, sans-serif; font-size: 18px; line-height: 1.5; overflow-wrap: anywhere; }
.bv-post-body > :first-child { margin-top: 0; }
.bv-post-body p { margin: 0 0 1em; }
.bv-post-body h2, .bv-post-body h3, .bv-post-body h4 { margin: 1.4em 0 .5em; font-family: fraunces_120pt-light, serif; font-weight: 600; line-height: 1.25; }
.bv-post-body h2 { font-size: 30px; }
.bv-post-body h3 { font-size: 24px; }
.bv-post-body h4 { font-size: 20px; }
.bv-post-body a { color: rgb(112, 110, 92); text-decoration: underline; }
.bv-post-body ul, .bv-post-body ol { margin: 0 0 1em; padding-left: 1.5em; }
.bv-post-body li { margin: .2em 0; }
.bv-post-body blockquote { margin: 1.2em 0; padding: .2em 0 .2em 1.1em; border-left: 3px solid rgba(64, 63, 43, .35); font-style: italic; }
.bv-post-body img { display: block; max-width: 100%; height: auto; margin: 1.2em auto; }
.bv-post-body figure { margin: 1.2em 0; }
.bv-post-body figcaption { font-size: 14px; text-align: center; opacity: .8; }
.bv-post-body hr { border: 0; border-top: 1px solid rgba(64, 63, 43, .3); margin: 1.6em 0; }

@media print { .bv-like, [data-hook^="share-button"], .bv-pager { display: none !important; } }
