/* =====================================================================
   RoadDog Rewards: Election Day 2026 theme, option A: Classic
   Navy banner 'It's Election Day! Get out and vote', balanced red/white/blue strip, thin tri-stripe under the top bar.
   CSS only. No markup, template, or database changes. Strictly nonpartisan: no candidates, parties
   or issues; red (#C8102E) and blue (#1F3A93) are used in equal measure; nothing tied to rewards.
   Every rule is scoped to body.rdui-on (RoadDog UI shell), so wp-admin / Elementor editor / login are untouched.
   Banner: body.home.rdui-on #rdw-root::before (home page only, pseudo-element, no markup).
   Contrast: #fff on #1F3A93 = 10.4:1, #fff on #C8102E = 5.9:1, #1F3A93 on #fff = 10.4:1 (all AA).
   ===================================================================== */
body.rdui-on{--ev-red:#C8102E;--ev-navy:#1F3A93;--ev-navy-2:#162B6E;--ev-white:#FFFFFF}
body.home.rdui-on #rdw-root::before{
  display:flex;align-items:center;justify-content:center;text-align:center;white-space:pre-line;
  margin:0 0 16px;border-radius:20px;font-family:var(--rdui-font);
}

/* thin balanced tri-stripe under the top bar */
body.rdui-on .rdui .rdui-topbar{box-shadow:0 6px 16px -6px rgba(31,58,147,.35)}
body.rdui-on .rdui .rdui-topbar::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;pointer-events:none;
  background:linear-gradient(90deg,var(--ev-red) 0 33.333%,var(--ev-white) 33.333% 66.666%,var(--ev-navy) 66.666% 100%)}
body.home.rdui-on #rdw-root::before{
  content:"It\2019s Election Day!\A Get out and vote";
  min-height:92px;padding:18px 70px 22px;
  font-weight:800;font-size:20px;line-height:1.3;color:#fff;
  background-color:var(--ev-navy);
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3E%3Crect%20x='14'%20y='4'%20width='20'%20height='22'%20rx='2'%20fill='%23fff'%20stroke='%231F3A93'%20stroke-width='2.5'%20transform='rotate(-8%2024%2015)'/%3E%3Cpath%20d='M18.5%2015l4%204%207-9'%20fill='none'%20stroke='%23C8102E'%20stroke-width='3.2'%20stroke-linecap='round'%20stroke-linejoin='round'%20transform='rotate(-8%2024%2015)'/%3E%3Crect%20x='5'%20y='22'%20width='38'%20height='22'%20rx='4'%20fill='%231F3A93'/%3E%3Crect%20x='5'%20y='22'%20width='38'%20height='6'%20fill='%23C8102E'/%3E%3Crect%20x='14'%20y='23.5'%20width='20'%20height='3'%20rx='1.5'%20fill='%230b1530'/%3E%3Cpath%20d='M17%2036h14'%20stroke='%23fff'%20stroke-width='2.5'%20stroke-linecap='round'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M12%201.8l3%206.6%207.2.8-5.4%204.9%201.5%207.1L12%2017.6l-6.3%203.6%201.5-7.1L1.8%209.2%209%208.4z'%20fill='%23FFFFFF'%20stroke='%231F3A93'%20stroke-width='1.6'%20stroke-linejoin='round'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20d='M12%201.8l3%206.6%207.2.8-5.4%204.9%201.5%207.1L12%2017.6l-6.3%203.6%201.5-7.1L1.8%209.2%209%208.4z'%20fill='%23FFFFFF'%20stroke='%231F3A93'%20stroke-width='1.6'%20stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(90deg,var(--ev-red) 0 33.333%,var(--ev-white) 33.333% 66.666%,#3D6BE0 66.666% 100%),
    linear-gradient(160deg,#2A4BB0,var(--ev-navy) 55%,var(--ev-navy-2));
  background-repeat:no-repeat;
  background-size:50px 50px,16px,12px,100% 7px,auto;
  background-position:right 12px center,left 18px top 18px,left 38px bottom 22px,left bottom,center;
  box-shadow:0 10px 24px rgba(31,58,147,.28),inset 0 0 0 1.5px rgba(255,255,255,.25);
}
@media (max-width:360px){body.home.rdui-on #rdw-root::before{font-size:18px;padding:16px 62px 20px}}

/* 2026-11-03: phone widths only, 16px side gap so the banner lines up with the content below (Mike) */
@media (max-width:759px){body.home.rdui-on #rdw-root::before{margin-left:16px;margin-right:16px}}
