/* Blind Trust editorial vocabulary — shared by article pages and Gutenberg. */
:is(.entry-content,.editor-styles-wrapper) {
  --bt-e-ink: var(--bt-ink, #121315);
  --bt-e-paper: var(--bt-paper, #f8f7f3);
  --bt-e-orange: var(--bt-orange, #ff5a12);
  --bt-e-mono: 'IBM Plex Mono', monospace;
  --bt-e-display: 'Roboto Condensed', Impact, sans-serif;
  --bt-e-serif: 'Noto Serif', Georgia, serif;
  --bt-e-body: 'Manrope', sans-serif;
}

/* Headline vocabulary: rubrics, intertitles, dossier headings. */
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-heading-kicker {
  width: fit-content; color: var(--bt-e-orange); font: 700 13px/1.5 var(--bt-e-mono);
  text-transform: uppercase; letter-spacing: .13em; border-top: 3px solid currentColor;
  padding-top: 10px; margin-block: 2.4em 1.1em;
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-heading-blackbar {
  background: var(--bt-e-ink); color: #fff; padding: .22em .32em .26em;
  font: 900 clamp(32px,4vw,70px)/.99 var(--bt-e-display); letter-spacing: -.045em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-heading-orangebar {
  background: var(--bt-e-orange); color: var(--bt-e-ink); padding: .2em .3em .24em;
  font: 900 clamp(32px,3.5vw,62px)/1 var(--bt-e-display); letter-spacing: -.045em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-heading-index {
  position: relative; border-top: 3px solid var(--bt-e-ink); border-bottom: 1px solid var(--bt-e-ink);
  padding: .55em 0 .35em 1.35em; font: 900 clamp(35px,4vw,73px)/1 var(--bt-e-display);
  letter-spacing: -.045em;
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-heading-index::before {
  content: '↳'; position: absolute; left: 0; top: .62em; color: var(--bt-e-orange);
  font: 900 .66em/.9 var(--bt-e-display);
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-heading-serif {
  font: italic 700 clamp(33px,4.2vw,75px)/1.14 var(--bt-e-serif);
  letter-spacing: -.035em; border-left: 8px solid var(--bt-e-orange); padding-left: .35em;
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-heading-outline {
  color: var(--bt-e-ink); font: 900 clamp(42px,5.5vw,103px)/.91 var(--bt-e-display);
  letter-spacing: -.06em; overflow-wrap: anywhere;
}
@supports (-webkit-text-stroke: 1px #000) {
  :is(.entry-content,.editor-styles-wrapper) .is-style-bt-heading-outline {
    color: transparent; -webkit-text-stroke: 1.5px var(--bt-e-ink);
  }
}

/* Paragraph and inline emphasis. */
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-dropcap::first-letter {
  float: left; margin: .03em .12em -.08em 0; font: 900 4.45em/.78 var(--bt-e-display);
  color: var(--bt-e-orange);
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-marker {
  background: linear-gradient(transparent 43%, #ffbe91 43%, #ffbe91 91%, transparent 91%);
  padding: 0 .08em; width: fit-content; font-weight: 800; line-height: 1.55;
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-underline {
  font: 800 clamp(26px,2.7vw,48px)/1.18 var(--bt-e-display);
  text-decoration: underline; text-decoration-color: var(--bt-e-orange);
  text-decoration-thickness: .13em; text-underline-offset: .16em;
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-statement {
  border-left: 12px solid var(--bt-e-orange); padding: 14px 22px;
  font: 800 clamp(26px,3vw,52px)/1.2 var(--bt-e-display);
  letter-spacing: -.025em; background: #efeee9;
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-data {
  color: var(--bt-e-orange); font: 900 clamp(54px,7vw,120px)/.9 var(--bt-e-display);
  letter-spacing: -.065em; overflow-wrap: anywhere;
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-source {
  font: 600 12px/1.65 var(--bt-e-mono); color: #686868;
  border-top: 1px solid #aaa7a1; padding-top: 10px;
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-warning {
  background: #fff3e9; border: 2px dashed var(--bt-e-orange); padding: 22px;
  font: 700 17px/1.6 var(--bt-e-body);
}
:is(.entry-content,.editor-styles-wrapper) .bt-inline-marker { background: #ffb584; color: #121315; padding-inline: .12em; box-decoration-break: clone; }
:is(.entry-content,.editor-styles-wrapper) .bt-inline-inverse { background: #121315; color: #fff; padding-inline: .18em; box-decoration-break: clone; }
:is(.entry-content,.editor-styles-wrapper) .bt-inline-underline { text-decoration: underline; text-decoration-color: var(--bt-e-orange); text-decoration-thickness: .17em; text-underline-offset: .12em; }
:is(.entry-content,.editor-styles-wrapper) .bt-inline-mono { font: 700 .88em var(--bt-e-mono); color: #a23c12; }

/* Quotes: each variant has a distinct journalistic role. */
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-quote-frame {
  position: relative; border: 2px solid var(--bt-e-ink); padding: clamp(24px,4vw,55px);
  background: transparent; margin-block: 2.5em;
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-quote-frame::before {
  content: '“'; position: absolute; top: -.52em; left: .18em; padding: 0 .12em;
  color: var(--bt-e-orange); background: var(--bt-e-paper);
  font: 900 100px/1 var(--bt-e-display);
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-quote-frame p { font: italic 700 clamp(25px,2.8vw,48px)/1.32 var(--bt-e-serif); }
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-quote-side { border-left: 18px solid var(--bt-e-orange); padding: 12px 0 12px 24px; margin-block: 2.5em; }
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-quote-side p { font: 700 clamp(26px,3vw,52px)/1.15 var(--bt-e-display); }
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-quote-display {
  border-top: 9px solid var(--bt-e-orange); border-bottom: 2px solid var(--bt-e-ink);
  padding: 32px 0; margin-block: 3em;
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-quote-display p { font: 900 clamp(45px,6vw,105px)/.99 var(--bt-e-display); letter-spacing: -.05em; }
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-quote-evidence {
  border-left: 0; border-top: 1px solid #a5a39c; background: #edebe5;
  padding: clamp(22px,3vw,45px); margin-block: 2.2em;
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-quote-evidence::before {
  content: 'ВИТЯГ ІЗ ДОКУМЕНТА  /  ФРАГМЕНТ'; display: block;
  font: 700 11px/1.4 var(--bt-e-mono); letter-spacing: .12em; color: #555;
  margin-bottom: 20px;
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-quote-evidence p { font: 500 clamp(18px,2vw,30px)/1.65 var(--bt-e-serif); }
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-quote-testimony {
  padding: 24px clamp(22px,3vw,45px); border-left: 7px solid #b00000;
  background: #f4e9e4; margin-block: 2.4em;
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-quote-testimony::before {
  content: 'СВІДЧЕННЯ'; display: block; color: #a00000;
  font: 800 12px var(--bt-e-mono); margin-bottom: 18px;
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-quote-testimony p { font: 600 clamp(22px,2.5vw,40px)/1.38 var(--bt-e-serif); }

/* Ready-made case-file panels. */
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-dossier,
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-verdict,
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-document,
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-dark-panel {
  padding: clamp(25px,4vw,60px); margin-block: 2.6em;
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-dossier { border: 2px solid var(--bt-e-ink); border-top: 12px solid var(--bt-e-orange); }
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-dossier::before {
  content: 'BLIND TRUST  /  ДОСЬЄ'; display: block; font: 700 12px var(--bt-e-mono);
  letter-spacing: .1em; margin-bottom: 30px;
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-verdict { background: #ffe5d2; border-left: 14px solid var(--bt-e-orange); }
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-verdict::before {
  content: 'ЩО НАМ ВДАЛОСЯ ВСТАНОВИТИ'; display: block; font: 800 12px var(--bt-e-mono); letter-spacing: .08em; margin-bottom: 23px;
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-document { background: #e7e5df; border: 1px solid #9c9a92; box-shadow: 9px 9px 0 #c9c6bc; }
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-document::before {
  content: 'ДОКУМЕНТ  /  АРХІВ'; display: block; border-bottom: 1px solid #999;
  padding-bottom: 12px; margin-bottom: 22px; font: 700 12px var(--bt-e-mono);
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-dark-panel { background: var(--bt-e-ink); color: #fff; }
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-dark-panel h2,
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-dark-panel h3 { color: #fff; }
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-dark-panel a { color: #ff955a; }
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-dossier > :last-child,
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-verdict > :last-child,
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-document > :last-child,
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-dark-panel > :last-child { margin-bottom: 0; }

/* Evidence lists and structural dividers. */
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-list-timeline {
  list-style: none; padding-left: 0; counter-reset: bt-step;
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-list-timeline li {
  position: relative; list-style: none; border-left: 3px solid var(--bt-e-orange);
  margin: 0 0 0 13px; padding: 0 0 28px 34px; counter-increment: bt-step;
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-list-timeline li::before {
  content: counter(bt-step, decimal-leading-zero); position: absolute; left: -19px; top: -1px;
  background: var(--bt-e-ink); color: #fff; width: 34px; height: 34px;
  display: grid; place-items: center; font: 700 12px var(--bt-e-mono);
}
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-list-evidence { list-style: none; padding-left: 0; }
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-list-evidence li { position: relative; list-style: none; padding: 13px 10px 13px 30px; border-bottom: 1px solid #c9c6c0; }
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-list-evidence li::before { content: '■'; position: absolute; left: 0; color: var(--bt-e-orange); font-size: .72em; }
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-list-documents { list-style: none; padding-left: 0; }
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-list-documents li { list-style: none; border-bottom: 1px solid #999; padding: 12px 6px; font: 600 15px/1.6 var(--bt-e-mono); }
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-list-documents li::before { content: '↗'; color: var(--bt-e-orange); margin-right: 14px; font-weight: 800; }
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-rule-orange { border: 0; border-top: 8px solid var(--bt-e-orange); width: 110px; margin: 50px 0; }
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-rule-double { border: 0; border-top: 3px solid var(--bt-e-ink); border-bottom: 1px solid var(--bt-e-ink); height: 9px; width: 100%; margin: 50px 0; }
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-rule-dots { border: 0; background: none; height: 24px; width: 100%; margin: 45px 0; }
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-rule-dots::after { content: '●  ●  ●'; color: var(--bt-e-orange); font-size: 16px; letter-spacing: 8px; }

/* Images remain original; only their frames/captions change. */
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-evidence-image { border: 2px solid var(--bt-e-ink); padding: 7px; background: #fff; }
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-evidence-image figcaption { background: #e7e5df; color: var(--bt-e-ink); font: 700 12px/1.5 var(--bt-e-mono); margin: 0; padding: 13px; border-top: 3px solid var(--bt-e-orange); }
:is(.entry-content,.editor-styles-wrapper) .is-style-bt-image-offset { box-shadow: 10px 10px 0 var(--bt-e-orange); margin-right: 12px; margin-bottom: 20px; }

@media (max-width: 640px) {
  :is(.entry-content,.editor-styles-wrapper) .is-style-bt-quote-frame,
  :is(.entry-content,.editor-styles-wrapper) .is-style-bt-quote-evidence,
  :is(.entry-content,.editor-styles-wrapper) .is-style-bt-quote-testimony { padding: 26px 20px; }
  :is(.entry-content,.editor-styles-wrapper) .is-style-bt-quote-frame::before { font-size: 75px; }
  :is(.entry-content,.editor-styles-wrapper) .is-style-bt-quote-display p { font-size: 43px; }
  :is(.entry-content,.editor-styles-wrapper) .is-style-bt-statement { font-size: 27px; }
  :is(.entry-content,.editor-styles-wrapper) .is-style-bt-document { box-shadow: 5px 5px 0 #c9c6bc; }
  :is(.entry-content,.editor-styles-wrapper) .is-style-bt-heading-index { padding-left: 1.1em; }
}
