/* ==========================================================================
   THE BALLISTICS REPORT — SITE CHROME
   Real footer in place of the theme demo footer, plus fixes for the
   hand-built "bdr-" topic pages.
   ========================================================================== */

/* ---- retire the theme's demo footer everywhere on the front end ---- */
html body.tbr-chrome .footer_wrap,
html body.tbr-chrome footer.footer_wrap,
html body.tbr-chrome .footer_custom{display:none!important}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.tbrf{
  --f-red:#cc0000;--f-red-lt:#ff5a5a;--f-ink:#0a0a0a;
  --f-disp:'Barlow Condensed',Impact,sans-serif;
  --f-sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  position:relative;overflow:hidden;background:var(--f-ink);
  font-family:var(--f-sans);color:rgba(255,255,255,.62);
  padding:70px 0 0;border-top:1px solid rgba(255,255,255,.08);z-index:2
}
.tbrf *{box-sizing:border-box}
.tbrf__glow{position:absolute;top:-160px;left:-120px;width:620px;height:420px;border-radius:50%;background:radial-gradient(ellipse,rgba(204,0,0,.28),transparent 66%);pointer-events:none}
.tbrf__inner{position:relative;z-index:2;width:100%;max-width:1220px;margin:0 auto;padding:0 28px}

.tbrf__top{display:grid;grid-template-columns:1.6fr repeat(4,1fr);gap:40px;padding-bottom:52px}

.tbrf__logo{display:inline-block;font-family:var(--f-disp);font-size:30px;font-weight:900;line-height:.92;letter-spacing:.5px;text-transform:uppercase;color:var(--f-red)!important;text-decoration:none!important;margin-bottom:16px}
.tbrf__logo span{display:block;color:#fff}
.tbrf__brand p{margin:0 0 20px;font-size:14px;line-height:1.66;color:rgba(255,255,255,.55);max-width:360px;font-weight:300}
.tbrf__cta{display:inline-flex;align-items:center;gap:10px;padding:12px 22px;border-radius:50px;background:var(--f-red);color:#fff!important;font-size:12.5px;font-weight:700;letter-spacing:.4px;text-decoration:none!important;transition:.25s}
.tbrf__cta:hover{background:#e63333;transform:translateY(-2px);box-shadow:0 12px 28px rgba(204,0,0,.32)}

.tbrf__col h4{font-family:var(--f-sans)!important;font-size:10.5px!important;font-weight:800!important;letter-spacing:2.6px!important;text-transform:uppercase!important;color:var(--f-red-lt)!important;margin:4px 0 16px!important}
.tbrf__col ul{list-style:none;margin:0;padding:0}
.tbrf__col li{margin:0 0 10px}
.tbrf__col a{font-size:13.5px;color:rgba(255,255,255,.6)!important;text-decoration:none!important;transition:.2s;display:inline-block;word-break:break-word}
.tbrf__col a:hover{color:#fff!important;transform:translateX(3px)}
.tbrf__note{margin:14px 0 0;font-size:12px;line-height:1.55;color:rgba(255,255,255,.36)}

.tbrf__bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:20px 0 24px;border-top:1px solid rgba(255,255,255,.08)}
.tbrf__bottom p{margin:0;font-size:12.5px;color:rgba(255,255,255,.4)}
.tbrf__legal{display:flex;gap:22px;flex-wrap:wrap}
.tbrf__legal a{font-size:12.5px;color:rgba(255,255,255,.48)!important;text-decoration:none!important;transition:.2s}
.tbrf__legal a:hover{color:var(--f-red-lt)!important}
.tbrf__top-btn{width:38px;height:38px;border-radius:50%!important;border:1px solid rgba(255,255,255,.16)!important;background:rgba(255,255,255,.05)!important;color:#fff!important;cursor:pointer;display:grid;place-items:center;padding:0!important;transition:.25s}
.tbrf__top-btn svg{width:17px;height:17px}
.tbrf__top-btn:hover{background:var(--f-red)!important;border-color:var(--f-red)!important;transform:translateY(-2px)}

@media (max-width:1040px){
  .tbrf__top{grid-template-columns:1fr 1fr 1fr;gap:34px}
  .tbrf__brand{grid-column:1/-1}
}
@media (max-width:640px){
  .tbrf{padding-top:48px}
  .tbrf__inner{padding:0 20px}
  .tbrf__top{grid-template-columns:1fr 1fr;gap:28px}
  .tbrf__bottom{justify-content:flex-start}
}
@media print{.tbrf{display:none!important}}

/* ==========================================================================
   "bdr-" TOPIC PAGES — full width, single nav, readable hero
   ========================================================================== */
html body.tbr-bdr.tbr-bdr.tbr-bdr [class*="content_wrap"] > .content,
html body.tbr-bdr.tbr-bdr.tbr-bdr .content,
html body.tbr-bdr.tbr-bdr.tbr-bdr .page_content_wrap [class*="content_wrap"],
html body.tbr-bdr.tbr-bdr.tbr-bdr .page_content_wrap{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;float:none!important}
html body.tbr-bdr .sidebar,
html body.tbr-bdr .top_panel_title,
html body.tbr-bdr .sc_layouts_title,
html body.tbr-bdr .bdr-nav{display:none!important}
/* the page reserved room for its own fixed nav — reclaim it */
html body.tbr-bdr .bdr-inner-hero{margin-top:0!important}
html body.tbr-bdr .bdr-inner-hero h1,
html body.tbr-bdr .bdr-hero h1,
html body.tbr-bdr .bdr-inner-hero h2{color:#fff!important;-webkit-text-fill-color:#fff!important}
html body.tbr-bdr .bdr-inner-hero .bdr-eyebrow{color:#ff4d4d!important}
html body.tbr-bdr .bdr-container{width:100%!important;max-width:1220px!important;margin:0 auto!important;padding-left:28px!important;padding-right:28px!important}
@media (max-width:820px){html body.tbr-bdr .bdr-container{padding-left:20px!important;padding-right:20px!important}}

/* ---- polish ---- */
html body .tbrf__col h4{font-style:normal!important;font-family:'Inter',sans-serif!important}
html body .tbrf__col a{overflow-wrap:anywhere}
html body .tbrf__brand p,html body .tbrf__note{font-style:normal!important}
html body .tbrf__logo{font-style:normal!important}
/* one back-to-top control per page: ours wins on article + listing views */
html body.tbr-ax .trx_addons_scroll_to_top{display:none!important}
