@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600&family=Roboto:wght@400;500;700&display=swap');

body#tinymce.mce-content-body {
  color: #242424;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

body#tinymce.mce-content-body h1,
body#tinymce.mce-content-body h2,
body#tinymce.mce-content-body h3,
body#tinymce.mce-content-body h4,
body#tinymce.mce-content-body h5,
body#tinymce.mce-content-body h6 {
  font-family: "Oswald", Arial, sans-serif;
}

body#tinymce.mce-content-body h2 {
  color: #c62828;
}

.bbcg-review-visible .bbcg-review {
  position: relative;
  margin-block: 1rem;
  padding: 2.15rem 1rem 1rem;
  border: 2px solid;
  border-radius: 10px;
  box-shadow: 0 2px 7px rgba(20, 35, 55, 0.13);
}

.bbcg-review-visible .bbcg-review::before {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.22rem 0.65rem;
  border-radius: 8px 0 8px 0;
  color: #171717;
  font: 700 0.78rem/1.35 Arial, sans-serif;
  letter-spacing: 0.035em;
}

.bbcg-review-visible .bbcg-review-status-control {
  position: absolute;
  top: 0.18rem;
  right: 0.45rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #222;
  font: 700 0.78rem/1.35 Arial, sans-serif;
}

.bbcg-review-visible .bbcg-review-status-control select {
  min-height: 1.7rem;
  padding: 0.05rem 1.8rem 0.05rem 0.4rem;
  border: 1px solid #555;
  border-radius: 4px;
  background: #fff;
  color: #111;
  font: 600 0.8rem/1.2 Arial, sans-serif;
}

.bbcg-review-visible .bbcg-review-status-control.is-saving::after { content: "Saving…"; }
.bbcg-review-visible .bbcg-review-status-control.is-saved::after { content: "Saved"; color: #17692f; }

.bbcg-review-visible .bbcg-review--ready { background: #e3f4e7; border-color: #32864a; }
.bbcg-review-visible .bbcg-review--ready::before { content: "READY"; background: #a9d9b5; }
.bbcg-review-visible .bbcg-review--light { background: #e5f2fc; border-color: #337baa; }
.bbcg-review-visible .bbcg-review--light::before { content: "LIGHT EDIT"; background: #b9dcf3; }
.bbcg-review-visible .bbcg-review--major { background: #fff0d9; border-color: #b56a16; }
.bbcg-review-visible .bbcg-review--major::before { content: "MAJOR EDIT"; background: #f5c989; }
.bbcg-review-visible .bbcg-review--verify { background: #fde5e5; border-color: #b63232; }
.bbcg-review-visible .bbcg-review--verify::before { content: "VERIFY / UPDATE"; background: #efb2b2; }
.bbcg-review-visible .bbcg-review--new { background: #f0e8fa; border-color: #7650a3; }
.bbcg-review-visible .bbcg-review--new::before { content: "NEW MATERIAL"; background: #d3bce9; }

.bbcg-review-visible .bbcg-review-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid #8a8a8a;
  border-radius: 8px;
  background: #f7f7f7;
  color: #222;
  font-size: 0.9rem;
}

.bbcg-in-page-menu a,
.bbcg-in-page-menu a:visited {
  color: #0000ff;
  text-decoration: underline;
}

/* Full-content BBCG Procedures archive; the theme sidebar is intentionally absent. */
.bbcg-category-archive {
  background: #fff;
  color: #242424;
  font: 18px/1.6 "Roboto", Arial, sans-serif;
}
.bbcg-category-archive-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 64px;
}
.bbcg-category-archive--embed .bbcg-category-archive-inner {
  width: 100%;
  padding: 0;
}
.bbcg-category-archive h1,
.bbcg-category-archive h2 {
  font-family: "Oswald", Arial, sans-serif;
  color: #c62828;
}
.bbcg-category-header h1 { margin-bottom: 12px; }
.bbcg-editor-archive-note {
  padding: 5px 10px;
  background: #fff6e6;
  font-size: 0.86em;
}
.bbcg-archive-menu {
  position: sticky;
  top: calc(var(--bbcg-adminbar-height, 0px) + 12px);
  z-index: 20;
  margin: 20px 0 28px;
  padding: 8px 0;
  border-bottom: 1px solid #c8ced6;
  background: #fff;
  font-size: .9em;
  line-height: 1.5;
  text-align: center;
}
.bbcg-archive-menu a,
.bbcg-archive-menu a:visited,
.bbcg-archive-article-link a,
.bbcg-archive-article-link a:visited {
  color: #0000ff;
  text-decoration: underline;
}
.bbcg-menu-separator { padding: 0 5px; color: #555; }
.bbcg-archive-article {
  margin: 0 0 42px;
  padding: 0;
  scroll-margin-top: var(--bbcg-archive-scroll-offset, 150px);
}
.bbcg-archive-article h2[id] { scroll-margin-top: var(--bbcg-archive-scroll-offset, 150px); }
.bbcg-archive-article-header {
  margin-bottom: 20px;
}
.bbcg-archive-article-header h2 { margin: 0 0 12px; }
.bbcg-archive-article-header h2 a { color: #c62828; text-decoration: none; }
.bbcg-archive-article-header h2 a:hover { text-decoration: underline; }
.bbcg-archive-article-body::after { content: ""; display: block; clear: both; }
.bbcg-archive-article-body p { margin-bottom: 1em; }
.bbcg-archive-article-body h2 { clear: both; margin: 1.15em 0 .5em; }
.bbcg-archive-article-link { margin: 18px 0 0; font-size: .9em; }
.bbcg-draft-label { display: inline-block; margin: 0 0 12px; color: #795000; font-size: .82em; font-weight: 700; }
@media (max-width: 767px) {
  .bbcg-category-archive-inner { width: calc(100% - 24px); padding-top: 24px; }
  .bbcg-archive-menu { max-height: 35vh; overflow-y: auto; }
}

.bbcg-review-visible .bbcg-legend-item {
  padding: 0.18rem 0.48rem;
  border: 1px solid currentColor;
  border-radius: 5px;
}

.bbcg-review-visible .bbcg-legend-ready { background: #e3f4e7; color: #256b38; }
.bbcg-review-visible .bbcg-legend-light { background: #e5f2fc; color: #275f84; }
.bbcg-review-visible .bbcg-legend-major { background: #fff0d9; color: #874d0d; }
.bbcg-review-visible .bbcg-legend-verify { background: #fde5e5; color: #8f2929; }
.bbcg-review-visible .bbcg-legend-new { background: #f0e8fa; color: #5d3c83; }

body:not(.bbcg-review-visible) .bbcg-review-legend {
  display: none !important;
}

body:not(.bbcg-review-visible) .bbcg-review {
  margin: initial;
  padding: initial;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body:not(.bbcg-review-visible) .bbcg-review::before {
  content: none;
}

body:not(.bbcg-review-visible) .bbcg-review-status-control {
  display: none !important;
}

@media (max-width: 767px) {
  .bbcg-review-visible .bbcg-review-legend {
    align-items: flex-start;
    flex-direction: column;
  }

  .bbcg-review-visible .bbcg-review-status-control {
    position: static;
    display: flex;
    margin: -0.45rem 0 0.7rem;
  }
}

/* Managed engagement image used by the BBCG article editor and public Posts. */
img.bbcg-inline-image {
  display: block;
  height: auto;
  max-width: 100%;
  box-sizing: border-box;
}

img.bbcg-inline-left {
  float: left;
  margin-top: .35rem;
  margin-bottom: 1rem;
}

img.bbcg-inline-right {
  float: right;
  margin-top: .35rem;
  margin-bottom: 1rem;
}

img.bbcg-inline-size-small { width: 18%; }
img.bbcg-inline-size-standard { width: 25%; }
img.bbcg-inline-size-large { width: 38%; }
img.bbcg-inline-left.bbcg-inline-gap-narrow { margin-right: 10px; }
img.bbcg-inline-left.bbcg-inline-gap-standard { margin-right: 18px; }
img.bbcg-inline-left.bbcg-inline-gap-wide { margin-right: 28px; }
img.bbcg-inline-right.bbcg-inline-gap-narrow { margin-left: 10px; }
img.bbcg-inline-right.bbcg-inline-gap-standard { margin-left: 18px; }
img.bbcg-inline-right.bbcg-inline-gap-wide { margin-left: 28px; }

img.bbcg-inline-photo {
  padding: 10px;
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
}

@media (max-width: 600px) {
  img.bbcg-inline-image,
  img.bbcg-inline-left,
  img.bbcg-inline-right {
    float: none;
    width: min(100%, 420px);
    margin: 1rem auto;
  }
}
