/* Roadwise Insured - site-wide brand layer over Everify.
   Asphalt #1C2228 · signal lime #C8EB4C · concrete #F2F1EC · olive #4D6B00 (links on light).
   Header: one asphalt bar, white logo left, nav right, lime "Get a quote" pill,
   and a dashed lime lane line along its bottom edge. */
:root{
  --rwi-asphalt:#1C2228; --rwi-asphalt-2:#2A3036; --rwi-lime:#C8EB4C; --rwi-lime-2:#B5DA33;
  --rwi-concrete:#F2F1EC; --rwi-line:#E2E0D8; --rwi-olive:#4D6B00; --rwi-mut:#5C636A; --rwi-ink:#2A3036;
  --rwi-disp:"Archivo","Public Sans",system-ui,sans-serif;
  --rwi-sans:"Public Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --wiz-accent:#1C2228; --wiz-on-accent:#C8EB4C; --wiz-primary:#1C2228;
}
body{font-family:var(--rwi-sans);color:var(--rwi-ink);background:#fff}
h1,h2,h3,h4,h5,h6,.large_title,.medium_title,.post_title,.footer_text{font-family:var(--rwi-disp);font-stretch:92%;letter-spacing:-.01em}

/* ---------- Header ---------- */
#header,#header .tmnf_header_row,#header .will_stick,#header .tmnf_menu_row{background:var(--rwi-asphalt)!important;border:0!important}
#header{position:relative;border-bottom:0!important}
#header::after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;
  background:repeating-linear-gradient(90deg,var(--rwi-lime) 0 38px,transparent 38px 64px);opacity:.95}
.header_logo_next #titles{padding:14px 0}
.header_logo_next #titles img.this_is_logo{width:auto;max-height:46px;height:46px}
#header .logo_inv{display:none!important}
#navigation .nav > li > a,#header .header_icon a,#header .show-menu{color:#F2F1EC!important;font-family:var(--rwi-disp);font-weight:600;font-size:15px;letter-spacing:0;text-transform:none}
#navigation .nav > li > a:hover,#navigation .nav > li.current-menu-item > a,#navigation .nav > li.current_page_item > a{color:var(--rwi-lime)!important}
#navigation .nav > li > a::after,#navigation .nav > li > a::before{background:var(--rwi-lime)!important}
#header .header_icon{border-color:#343B42!important}
#header .header_icon i{color:var(--rwi-lime)}
/* The old hand-styled newsletter button in the menu; replaced by wiz-subscribe's item. */
#navigation .nav > li.nav-cta-btn > a{background:none!important;color:#F2F1EC!important;padding-left:12px!important;padding-right:12px!important}
/* Pill items: wiz-subscribe's sign-up (outline) and the quote button (solid lime). */
#navigation .menu > li.wiz-nav-signup > a > span,#navigation .nav > li.wiz-nav-signup > a > span{background:transparent!important;color:#F2F1EC!important;border:1.5px solid #59616A;border-radius:999px!important;padding:7px 15px!important;font-weight:600!important}
#navigation .nav > li.wiz-nav-signup > a:hover > span{border-color:var(--rwi-lime);color:var(--rwi-lime)!important;filter:none}
#navigation .nav > li.rwi-nav-quote > a{padding-right:0!important;display:flex!important;align-items:center;height:1lh;background:none!important}
#navigation .nav > li.rwi-nav-quote > a::after,#navigation .nav > li.rwi-nav-quote > a::before{display:none!important}
#navigation .nav > li.rwi-nav-quote > a > span{display:inline-block;background:var(--rwi-lime);color:var(--rwi-asphalt);border-radius:999px;padding:8px 18px;font-weight:800;line-height:1.2;margin-left:6px}
#navigation .nav > li.rwi-nav-quote > a:hover > span{background:#fff;color:var(--rwi-asphalt)}
#navigation .nav > li.rwi-nav-quote > a:hover{color:var(--rwi-asphalt)!important}
@media (max-width:1100px){
  #navigation{background:var(--rwi-asphalt)!important}
  #navigation .nav > li{border-color:#343B42!important}
  #navigation .nav > li.rwi-nav-quote > a,#navigation .nav > li.wiz-nav-signup > a{height:auto;padding:12px 0!important}
}

/* ---------- Page headers (plain pages, posts) ---------- */
.page_header_plain{background:var(--rwi-concrete)!important;border-bottom:0!important}
.page_header .large_title,.page_header .post_title{color:var(--rwi-asphalt)}
.main_breadcrumbs,.main_breadcrumbs a{color:var(--rwi-mut)!important;font-family:var(--rwi-sans)}
.page_header .main_breadcrumbs a:hover{color:var(--rwi-olive)!important}

/* ---------- Articles ---------- */
.tmnf_entry{font-family:var(--rwi-sans);font-size:18px;line-height:1.72;color:var(--rwi-ink)}
.tmnf_entry h2{font-size:clamp(24px,2.6vw,30px);line-height:1.18;margin:1.6em 0 .55em;color:var(--rwi-asphalt);padding-top:.6em;border-top:3px dashed var(--rwi-line)}
.tmnf_entry h3{font-size:21px;color:var(--rwi-asphalt)}
.tmnf_entry a{color:var(--rwi-olive)!important;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
.tmnf_entry a:hover{color:var(--rwi-asphalt)!important;text-decoration-color:var(--rwi-lime)}
.tmnf_entry ul li::marker{color:var(--rwi-olive)}
.tmnf_entry blockquote{border-left:5px solid var(--rwi-lime);background:var(--rwi-concrete)}
.tmnf_meta,.tmnf_meta a{color:var(--rwi-mut)!important}
.tmnf_meta_categs a,.tmnf_meta a.tmnf-category{background:var(--rwi-asphalt)!important;color:var(--rwi-lime)!important}
.entryhead img{border-radius:14px}

/* ---------- Sidebar ---------- */
#sidebar .widget,.sidebar_item{background:var(--rwi-concrete)!important;border:0!important;border-radius:14px}
#sidebar h2,#sidebar .widget h2,#sidebar .widgettitle{font-family:var(--rwi-disp);color:var(--rwi-asphalt);border-color:var(--rwi-lime)!important}
#sidebar a{color:var(--rwi-asphalt)!important}
#sidebar a:hover{color:var(--rwi-olive)!important}

/* ---------- Footer ---------- */
#footer{background:var(--rwi-asphalt)!important;color:#C9CCC4}
#footop{background:var(--rwi-lime)!important;padding:30px 0!important}
#footop .footer_text{color:var(--rwi-asphalt)!important;font-weight:700;font-size:clamp(20px,2.4vw,28px);max-width:30ch;margin:0 auto}
#footer a{color:#F2F1EC!important}
#footer a:hover{color:var(--rwi-lime)!important}
#footer h2,#footer .widget h2{color:#fff!important;font-family:var(--rwi-disp);letter-spacing:.08em}
#footer .footer_icons{border-color:#343B42!important}
#footer .bottom_line{border-color:#343B42!important}
.footer_credits{color:#9DA3A8!important}

/* ---------- Buttons, forms ---------- */
.tmnf_button,input[type=submit],button[type=submit],.wp-block-button__link{background:var(--rwi-asphalt)!important;color:var(--rwi-lime)!important;border-radius:999px!important}
.tmnf_button:hover,input[type=submit]:hover,button[type=submit]:hover{background:var(--rwi-olive)!important;color:#fff!important}
::selection{background:var(--rwi-lime);color:var(--rwi-asphalt)}
:focus-visible{outline:3px solid var(--rwi-olive);outline-offset:2px}

/* ---------- Plain pages (About, Contact, legal) ---------- */
.rwi-page{max-width:760px;margin:0 auto;font-size:17.5px;line-height:1.7}
.rwi-page h2{font-size:26px;margin:1.5em 0 .5em;color:var(--rwi-asphalt)}
.rwi-page a{color:var(--rwi-olive)}
.rwi-disclose{background:var(--rwi-asphalt);color:#E6E8E2;border-radius:18px;padding:24px 26px;margin:28px 0;position:relative;overflow:hidden}
.rwi-disclose::before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:repeating-linear-gradient(180deg,var(--rwi-lime) 0 18px,transparent 18px 30px)}
.rwi-disclose h2{color:var(--rwi-lime)!important;margin:0 0 10px!important;font-size:22px!important;border:0!important;padding:0!important}
.rwi-disclose p{margin:0 0 10px}
.rwi-disclose a{color:var(--rwi-lime)!important}
.rwi-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0;padding:0;list-style:none}
.rwi-facts li{background:var(--rwi-concrete);border-radius:14px;padding:16px 18px;margin:0!important}
.rwi-facts b{display:block;font-family:var(--rwi-disp);font-size:18px;color:var(--rwi-asphalt);margin:0 0 4px}
@media (max-width:700px){.rwi-facts{grid-template-columns:minmax(0,1fr)}}

/* Footer widgets */
#footer .footer_text{letter-spacing:-.01em!important;text-transform:none!important}
#footer .widget_media_image img{max-width:190px;height:auto}
.rwi-foot-blurb{color:#C9CCC4;font-size:15px;line-height:1.6;max-width:34ch;margin:14px 0 10px}
#footer a.rwi-foot-quote{color:var(--rwi-lime)!important;font-weight:700}
#footer a.rwi-foot-btn{display:inline-block;background:var(--rwi-lime);color:var(--rwi-asphalt)!important;font:800 15px/1 var(--rwi-disp);padding:12px 20px;border-radius:999px;text-decoration:none}
#footer a.rwi-foot-btn:hover{background:#fff}
#footer .textwidget p{color:#C9CCC4}
#footer .widget_media_image img,#footer .widget img.image{max-width:190px!important;width:190px!important;height:auto!important}
/* Below 1155px Everify swaps to the inverse (dark) logo for a white bar; this bar is dark, so keep the white one. */
@media screen and (max-width:1155px){
  #titles a.logo:not(.logo_inv){display:block!important;margin:12px 0!important}
  #titles a.logo_inv{display:none!important}
  .header_logo_next #titles{padding:0}
  .header_logo_next #titles img.this_is_logo{height:36px;max-height:36px}
  #header .show-menu{background:var(--rwi-lime)!important;color:var(--rwi-asphalt)!important}
}
#footer .tmnf_foocol img.image{width:190px!important;max-width:190px!important;height:auto!important}
/* Centre the quote pill on the same line as wiz-subscribe's pill (whose anchor is 48px tall). */
@media (min-width:1156px){#navigation .nav > li.rwi-nav-quote > a{height:48px!important;box-sizing:border-box;padding:0!important}}
.rwi-facts{list-style:none!important;padding-left:0!important}
.rwi-facts li::marker{content:none}
.rwi-facts li::before{content:none!important}
