.bf-brief-engagement,
.bf-brief-counts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  color: #555;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.5;
}

.bf-brief-engagement {
  margin-block: 24px;
  font-size: 14px;
}

.bf-brief-engagement > p.bf-brief-prompt {
  flex-basis: 100%;
  margin: 0;
  color: inherit;
  font: inherit;
}

.bf-brief-engagement .bf-brief-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.bf-brief-engagement button[data-vote],
.bf-brief-engagement button[data-brief-share],
.bf-brief-engagement .bf-brief-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #d4d4d4;
  border-radius: 0;
  background: transparent;
  color: #444;
  box-shadow: none;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.bf-brief-engagement button[data-vote][aria-pressed="true"] {
  border-color: #222;
  background: #222;
  color: #fff;
}

.bf-brief-engagement button[data-vote]:disabled,
.bf-brief-engagement button[data-brief-share]:disabled {
  cursor: wait;
  opacity: 0.65;
}

.bf-brief-engagement button[data-vote]:focus-visible,
.bf-brief-engagement button[data-brief-share]:focus-visible,
.bf-brief-engagement a:focus-visible,
.bf-brief-counts a:focus-visible {
  outline: 2px solid #222;
  outline-offset: 3px;
}

.bf-brief-counts {
  margin-block: 8px 0;
  gap: 4px 12px;
  font-size: 13px;
}

.bf-brief-counts a {
  display: inline-block;
  line-height: 44px;
  min-height: 44px;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bf-brief-engagement [data-count],
.bf-brief-counts [data-count] {
  font-variant-numeric: tabular-nums;
}

.bf-brief-engagement .bf-brief-status,
.bf-brief-engagement .bf-brief-share-status,
.bf-brief-counts .bf-brief-status {
  flex-basis: 100%;
  margin: 0;
  color: #555;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.bf-brief-engagement .bf-brief-status:empty,
.bf-brief-engagement .bf-brief-share-status:empty,
.bf-brief-engagement [data-brief-share][hidden],
.bf-brief-engagement [data-brief-share-fallback][hidden],
.bf-brief-counts .bf-brief-status:empty {
  display: none;
}

.bf-brief-engagement [data-brief-share-fallback] {
  flex-basis: 100%;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid #d4d4d4;
  padding: 8px 12px;
  background: #fff;
  color: #444;
  font: inherit;
}

.bf-brief-engagement [data-brief-share-fallback]:focus-visible {
  outline: 2px solid #222;
  outline-offset: 3px;
}

@media (forced-colors: active) {
  .bf-brief-engagement button[data-vote][aria-pressed="true"] {
    border: 2px solid Highlight;
    color: Highlight;
  }
}

/* Match the brief's reading column instead of the theme's boxed comment skin. */
body.single-hb_ai_brief .comments-area {
  margin: 40px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.single-hb_ai_brief #respond {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.single-hb_ai_brief #reply-title {
  padding: 0;
  border: 0;
  font-size: 20px;
  font-weight: 500;
}

body.post-type-archive-hb_ai_brief .bf-brief-counts { grid-column: 2; }

body.single-hb_ai_brief .entry-header::before { content: none; display: none; }
body.single-hb_ai_brief .bf-brief-archive-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 8px;
  margin-bottom: 14px;
  color: var(--bf-navy, #17305f);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  text-decoration: none;
}
body.post-type-archive-hb_ai_brief a.hb-brief-label--service {
  min-height: 44px;
  padding: 8px 10px;
  box-sizing: border-box;
}
.bf-brief-reading-nav { margin-block: 32px; }
.bf-brief-reading-nav .bf-brief-list-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #d4d4d4;
  color: inherit;
  font-size: 14px;
  text-decoration: none;
}
.entry-content .bf-brief-reading-nav h2 { margin: 24px 0 8px; font-size: 18px; font-weight: 500; line-height: 1.5; }
.entry-content .bf-brief-reading-nav ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.entry-content .bf-brief-reading-nav li { margin: 0; padding: 0; }
.entry-content .bf-brief-reading-nav li a { display: block; box-sizing: border-box; min-height: 32px; padding-block: 4px; font-size: 14px; font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }
@media (pointer: coarse) {
  .entry-content .bf-brief-reading-nav li a { min-height: 44px; padding-block: 10px; }
}
.bf-brief-reading-nav a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.bf-brief-counts .bf-brief-retry { min-height: 44px; padding: 8px 12px; border: 1px solid #d4d4d4; border-radius: 0; background: transparent; color: #444; box-shadow: none; font: inherit; cursor: pointer; }
.bf-brief-counts .bf-brief-retry[hidden] { display: none; }
.bf-brief-counts .bf-brief-retry:disabled { opacity: .65; cursor: wait; }
.bf-brief-counts .bf-brief-retry:focus-visible { outline: 2px solid #222; outline-offset: 3px; }
body.single-hb_ai_brief .bf-brief-archive-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* One reading column: service/date, title, summary, then reactions. */
body.post-type-archive-hb_ai_brief .bf-editorial-list .bf-editorial-post {
  min-height: 0;
  padding-block: 24px;
  border-color: #e5e5e5;
}
body.post-type-archive-hb_ai_brief .bf-editorial-post .bf-editorial-post__body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-width: 0;
}
body.post-type-archive-hb_ai_brief .bf-editorial-post .hb-brief-labels {
  display: flex;
  align-items: center;
  gap: 0 8px;
  margin: 0 0 4px;
  color: #666;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}
body.post-type-archive-hb_ai_brief .hb-brief-labels .hb-brief-label {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #555;
  padding: 0;
  font-weight: 500;
}
body.post-type-archive-hb_ai_brief .hb-brief-labels a.hb-brief-label--service {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0;
  color: #333;
}
body.post-type-archive-hb_ai_brief .bf-editorial-post .bf-editorial-post__title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}
body.post-type-archive-hb_ai_brief .bf-editorial-post__title a { color: #171717; }
body.post-type-archive-hb_ai_brief .bf-editorial-post .bf-editorial-post__excerpt {
  margin: 0;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  white-space: normal;
}
body.post-type-archive-hb_ai_brief .bf-editorial-post .bf-editorial-post__title,
body.post-type-archive-hb_ai_brief .bf-editorial-post .bf-editorial-post__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}
body.post-type-archive-hb_ai_brief .bf-editorial-post .bf-brief-counts {
  margin-top: 8px;
  gap: 4px 12px;
  font-size: 12px;
  color: #666;
}
