/* Blogs: scoped fixes for the existing theme. */

/* Skip link: hidden until a keyboard user tabs to it */
.bb-skip {position:absolute;left:-9999px;top:0;z-index:11000;padding:.75rem 1rem;background:#fff;color:#000;}
.bb-skip:focus {left:.5rem;top:.5rem;}
.bb-a11y-main:focus {outline:none;}

/* Listings stay visible without JS; the loader shows only while scripts arrange the grid (max 4s) */
#se-pre-con {display:none!important;}
.bb-js:not(.bb-ready) #se-pre-con {display:flex!important;}
.bb-js:not(.bb-ready) #maincontent {visibility:hidden;}
/* Multi-line field on the blocked-account review form keeps its rows (theme fixes inputs at 50px) */
.modern-login-form textarea.modern-input {height:auto;}

/* Post editor */
#dynamic_field select[name="extra[]"] {width:auto!important;min-width:10.5rem;flex:0 0 auto;}
#dynamic_field .input-group > input.w-85 {width:auto!important;flex:1 1 auto;min-width:0;}
.bb-block-menu-btn {font-size:1.35rem;line-height:1;text-decoration:none;}
.bb-preview-body img {max-width:100%;height:auto;}
/* Images inserted in rich text keep within the article column */
.bb-article-body img {max-width:100%;height:auto;}
.bb-search-results-title,.bb-article-body {overflow-wrap:anywhere;}
.bb-article-body p {font-size:18px;line-height:1.8;margin-bottom:24px;}
.bb-article-category:focus-visible {outline:2px solid currentColor;outline-offset:2px;}

.heart:focus-visible,
.heartguest:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -6px;
  border-radius: 50%;
}

.bb-cookie-notice .toast {
  max-width: 100%;
}

@media (min-width: 768px) {
  .bb-article-body p {font-size:16px;line-height:26px;margin-bottom:16px;}
  .bb-cookie-notice {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 11;
  }
}
