.bh-news-dialog {
  width: min(460px, calc(100vw - 32px));
  max-height: min(600px, calc(100dvh - 32px));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid #c8d9e2;
  border-radius: 8px;
  background: #fff;
  color: #101c32;
  box-shadow: 0 20px 70px #07172740;
  font-family: Inter, Arial, sans-serif;
}

.bh-news-dialog::backdrop {
  background: #061424a8;
}

.bh-news-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 0;
}

.bh-news-eyebrow {
  color: #087a70;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}

.bh-news-header h2 {
  margin: 7px 0 0;
  color: inherit;
  font: 700 23px/1.25 Manrope, Inter, Arial, sans-serif;
}

.bh-news-close {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #526175;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.bh-news-close:hover,
.bh-news-close:focus-visible {
  background: #e8f4f3;
  color: #101c32;
}

.bh-news-summary {
  margin: 12px 24px 18px;
  color: #526175;
  font-size: 14px;
  line-height: 1.5;
}

.bh-news-list {
  margin: 0 24px;
  padding: 0;
  list-style: none;
}

.bh-news-list li {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-top: 1px solid #e0e9ee;
  font-size: 13px;
  line-height: 1.4;
}

.bh-news-list strong {
  color: #101c32;
  font-weight: 700;
}

.bh-news-list span {
  color: #526175;
}

.bh-news-footer {
  display: flex;
  justify-content: flex-end;
  padding: 18px 24px 24px;
}

.bh-news-done {
  min-width: 102px;
  min-height: 38px;
  border: 1px solid #0f766e;
  border-radius: 5px;
  background: #0f766e;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.bh-news-done:hover,
.bh-news-done:focus-visible {
  background: #0b5e59;
}

html.dark-mode .bh-news-dialog {
  border-color: #355466;
  background: #172a35;
  color: #f2f7fa;
}

html.dark-mode .bh-news-eyebrow { color: #57d9c6; }
html.dark-mode .bh-news-summary,
html.dark-mode .bh-news-list span { color: #b6c9d3; }
html.dark-mode .bh-news-list strong { color: #f2f7fa; }
html.dark-mode .bh-news-list li { border-color: #355466; }
html.dark-mode .bh-news-close { color: #c2d1d8; }
html.dark-mode .bh-news-close:hover,
html.dark-mode .bh-news-close:focus-visible {
  background: #28434e;
  color: #fff;
}
