/* =========================================================
   BIUSA color theme: Navy + Amber
   Served only through /site-theme when Orchid > Site Settings >
   Color theme = Navy + Amber. Classic serves an empty file.
   Colors only. No layout, spacing or font changes.
   Every selector below was matched against main.min.css (1.1.0.3).
   Prefix ":root body" = specificity of one class + one element,
   enough to beat the matching main.min.css rule.
   Emergency off: rename this file. No file = classic colors.
   ========================================================= */

/* ---------- Tokens ----------
   --color-accent drives 52 rules in main.min.css plus inline
   var(--color-accent,#e10707) in page content and templates.
   Red -> blue for links, icons, chat. Quote buttons -> amber below. */
:root body{
  --color-main:#1B2330;
  --color-accent:#1563CA;
  --color-accent-lighter:#114DA3;
  --quote-bg:#F2A900;
  --quote-bg-hover:#D99700;
  --quote-text:#0A1E3D;
}

/* ---------- Headings: charcoal -> navy ---------- */
:root body h1,:root body h2,:root body h3,:root body h4{color:#0A1E3D!important}

/* ---------- Banner "Start A Quote" (blue -> amber) ---------- */
:root body .banner-content .button,
:root body .banner-content a.button{background:#F2A900!important;border-color:#F2A900!important;color:#0A1E3D!important}
:root body .banner-content .button:hover,
:root body .banner-content a.button:hover{background:#D99700!important;border-color:#D99700!important;color:#0A1E3D!important}

/* ---------- Banner title + subtitle (desktop half banner: #000 -> navy).
   Phones and portrait tablets keep white text over the dark tint. ---------- */
@media (min-width:1000px){
  :root body .banner-half .banner-title,
  :root body .banner-half .banner-subtitle{color:#0A1E3D!important}
}
@media (min-width:750px) and (max-width:1024px) and (orientation:portrait){
  :root body .banner-half .banner-title,
  :root body .banner-half .banner-subtitle{color:#fff!important}
}

/* ---------- Header phone ---------- */
:root body .top-phone a,:root body .top-phone>a{color:#0A1E3D!important}
:root body .top-phone a:hover,:root body .top-phone>a:hover{color:#1563CA!important}

/* ---------- Desktop nav ---------- */
:root body .mainNav>ul>li.menu-get-quote>a{background:#F2A900!important;color:#0A1E3D!important}
:root body .mainNav>ul>li.menu-get-quote>a:hover{background:#D99700!important;color:#0A1E3D!important}
:root body .mainNav .menu-parent-trigger::before,
:root body .mainNav>ul>li.menu-item-has-children>.menu-parent-trigger::before,
:root body .mainNav>ul>li.menu-item-has-children>a::before{background:#0A1E3D}
:root body .mainNav .mega-menu .mega-menu-col a:hover,
:root body .mainNav .mega-menu .mega-menu-col>a:hover,
:root body .mainNav .menu-item-has-children-narrow .mega-menu-narrow a:hover,
:root body .mainNav .menu-item-has-children-narrow .mega-menu-narrow>a:hover{background:#F7F4EC!important;color:#0A1E3D!important}

/* ---------- Mobile nav ---------- */
:root body .mobile-nav-trigger .cd-menu-icon:not(.is-clicked),
:root body .mobile-nav-trigger .cd-menu-icon::before,
:root body .mobile-nav-trigger .cd-menu-icon::after{background:#0A1E3D!important}
:root body .mobileNav>ul>li.menu-get-quote>a,
:root body .mobileNav.mobileNav-drilldown .menu-get-quote a{background:#F2A900;color:#0A1E3D!important;box-shadow:0 4px 14px rgba(242,169,0,.35)}
:root body .mobileNav>ul>li.menu-get-quote>a:hover,
:root body .mobileNav>ul>li.menu-get-quote>a:active,
:root body .mobileNav.mobileNav-drilldown .menu-get-quote a:hover,
:root body .mobileNav.mobileNav-drilldown .menu-get-quote a:active{background:#D99700;box-shadow:0 8px 22px rgba(242,169,0,.45)}
:root body .mobileNav .menu-parent-label::before,
:root body .mobileNav>ul>li.menu-item-has-children>.menu-parent-label::before,
:root body .mobileNav>ul>li.menu-item-has-children>a::before{background:#F2A900}
:root body .mobileNav>ul>li:not(.menu-item-has-children)>a:hover,
:root body .mobileNav>ul>li:not(.menu-item-has-children)>a:active{background:rgba(21,99,202,.06)}
:root body .mobileNav .sub-menu{border-left-color:rgba(21,99,202,.35)}
:root body .mobileNav .sub-menu li a::before{background:rgba(21,99,202,.45)}
:root body .mobileNav .sub-menu li a:hover,
:root body .mobileNav .sub-menu li a:active{background:rgba(21,99,202,.07)}
:root body .mobileNav .sub-menu li a:hover::before{background:#1563CA;box-shadow:0 0 8px rgba(21,99,202,.45)}

/* ---------- Nav search / Ask AI (inline styles in header.blade.php) ---------- */
:root body .nav-ai-user{background:#1563CA}
:root body .nav-ai-disc a{color:#1563CA}
:root body #m-ai-toggle,:root body #nav-ai-toggle{accent-color:#1563CA!important}

/* ---------- Sections ---------- */
:root body .bg-light-grey{background-color:#F7F4EC;background-image:radial-gradient(at 20% 25%,rgba(21,99,202,.08) 0,transparent 50%)}
:root body .bg-accent{background:#0A1E3D}
:root body .service-block:hover{box-shadow:0 5px 10px 0 rgba(21,99,202,.35)}
:root body .bi-card-row__link{color:#1563CA}

/* Why Choose Us */
:root body .why-choose-us{background-color:#F7F4EC;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='600' viewBox='0 0 1200 600'><g fill='none' stroke='%230d2b5e' stroke-opacity='0.08' stroke-width='1'><path d='M0,200 Q300,150 600,220 T1200,180'/><path d='M0,260 Q300,210 600,280 T1200,240'/><path d='M0,320 Q300,270 600,340 T1200,300'/><path d='M0,380 Q300,330 600,400 T1200,360'/><path d='M0,440 Q300,390 600,460 T1200,420'/></g></svg>");background-size:cover;background-position:center}
:root body .why-choose-us-eyebrow{color:#8A6116!important}
:root body .why-choose-us-headline,
:root body .why-choose-us-num,
:root body .why-choose-us-label{color:#0A1E3D}
:root body .why-choose-us-sub{color:#3A4352}
:root body .why-choose-us-stat{background:#fff;border-bottom-color:#0A1E3D}
:root body .why-choose-us-plus{color:#0A1E3D}

/* FAQ block */
:root body .page-faq-wrap{background-color:#F7F4EC}
:root body .page-faq-wrap::before{border-top-color:#0A1E3D;border-right-color:#0A1E3D}

/* ---------- Pricing widget: "Most Popular" card ---------- */
:root body .pricing-table-grid.col-4 .pricing-table-col:first-child,
:root body .pricing-table-grid.col-4 .pricing-table-col:first-child:hover{border-color:#0A1E3D!important}
:root body .pricing-table-grid.col-4 .pricing-table-col:first-child::before{background:#0A1E3D;color:#fff}
:root body .pricing-table-grid.col-4 .pricing-table-col:first-child .pricing-table-price-currency,
:root body .pricing-table-grid.col-4 .pricing-table-col:first-child .pricing-table-price-value{color:#0A1E3D!important}
:root body .pricing-table-grid.col-4 .pricing-table-col:first-child .pricing-table-footer a.button{color:#0A1E3D!important}
:root body .pricing-table-grid.col-4 .pricing-table-col:first-child .pricing-table-footer a.button:hover,
:root body .pricing-table-grid.col-4 .pricing-table-col:first-child .pricing-table-footer a.button:focus{color:#1563CA!important}

/* ---------- Related Articles cards (orange base unchanged) ---------- */
:root body .related-article-card--blue{--rc-tint:#1563CA;--rc-tint-rgb:21,99,202;--rc-bg:#E8F0FB}
:root body .related-article-card--green{--rc-tint:#0F7A4A;--rc-tint-rgb:15,122,74;--rc-bg:#E6F2EC}

/* ---------- Products index (/commercial-insurance-products) ---------- */
:root body .cip-hero-eyebrow{color:#8A6116}
:root body .cip-search-wrap:focus-within{border-color:#1563CA;box-shadow:0 4px 20px rgba(21,99,202,.12)}
:root body .cip-result-card:hover{border-color:#1563CA;box-shadow:0 6px 16px -8px rgba(21,99,202,.2)}
:root body .cip-result-arrow{color:#1563CA}
:root body .cip-result-card--industry-solutions .cip-result-section{color:#0A1E3D}
:root body .cip-popular-card--rose{--pc-tint:#8A6116}
:root body .cip-popular-card--green{--pc-tint:#0F7A4A}
:root body .cip-popular-card--blue{--pc-tint:#1563CA}

/* ---------- Ask USA chat + FAQ inline chat ---------- */
:root body .bia-chat-header{background:#0A1E3D}
:root body button.faq-ask-btn:hover,
:root body button.faq-ask-reply-send:hover{background:#114DA3}
:root body .faq-ask-form input.faq-ask-input:focus{box-shadow:0 0 0 3px rgba(21,99,202,.15)}
:root body .faq-ask-replyform input.faq-ask-reply-input:focus{box-shadow:0 0 0 3px rgba(21,99,202,.12)}

/* ---------- Footer CTA band: paper + wave (same as Why Choose Us and FAQ) ---------- */
:root body .footer-cta-wrap{background-color:#F7F4EC;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='600' viewBox='0 0 1200 600'><g fill='none' stroke='%230d2b5e' stroke-opacity='0.08' stroke-width='1'><path d='M0,200 Q300,150 600,220 T1200,180'/><path d='M0,260 Q300,210 600,280 T1200,240'/><path d='M0,320 Q300,270 600,340 T1200,300'/><path d='M0,380 Q300,330 600,400 T1200,360'/><path d='M0,440 Q300,390 600,460 T1200,420'/></g></svg>");background-size:cover;background-position:center;border-top-color:#E2DCCB}
:root body .footer-cta-tick{background:#F2A900}
:root body .footer-cta-eyebrow{color:#8A6116}
:root body .footer-cta-sub{color:#3A4352}
:root body .footer-cta-btn-primary{background:#F2A900;border-color:#F2A900;color:#0A1E3D;box-shadow:0 4px 14px rgba(242,169,0,.25)}
:root body .footer-cta-btn-primary:hover,
:root body .footer-cta-btn-primary:focus{background:#D99700;border-color:#D99700;color:#0A1E3D;box-shadow:0 8px 22px rgba(242,169,0,.35)}
:root body .footer-cta-btn-secondary{background:transparent;color:#0A1E3D;border-color:#0A1E3D}
:root body .footer-cta-btn-secondary:hover,
:root body .footer-cta-btn-secondary:focus{background:rgba(10,30,61,.06);border-color:#0A1E3D;color:#0A1E3D}
:root body .footer-cta-btn:focus-visible{outline:2px solid #1563CA;outline-offset:3px}

/* ---------- Google reviews widget: Google blue -> site blue ---------- */
:root body .rv-cta,:root body .rvg-cta{background:#1563CA;color:#fff;box-shadow:0 2px 10px rgba(21,99,202,.25)}
:root body .rv-cta:hover,:root body .rv-cta:focus,:root body .rvg-cta:hover,:root body .rvg-cta:focus{background:#114DA3;color:#fff;box-shadow:0 4px 18px rgba(21,99,202,.35)}
:root body .rv-avatar-placeholder,:root body .rvg-avatar-placeholder,
:root body .rv-modal-avatar-placeholder,:root body .rvg-modal-avatar-placeholder{background:#E8F0FB;color:#1563CA}
:root body .rv-readmore,:root body .rvg-readmore,:root body .rv-more-title{color:#1563CA}
:root body .rv-arrow:hover:not([disabled]){background:#E8F0FB;border-color:#1563CA;box-shadow:0 3px 12px rgba(21,99,202,.18)}
:root body .rv-dot.active{background:#1563CA}
:root body .rvg-loadmore-btn{color:#1563CA;border-color:#1563CA}
:root body .rvg-loadmore-btn:hover{background:#1563CA;color:#fff}
:root body svg[aria-label="Verified"] circle{fill:#1563CA}
:root body .rv-card a[href="/reviews"] svg{stroke:#1563CA}
:root body .rv-card a[href="/reviews"] span:first-of-type{color:#1563CA!important}

/* ---------- Footer ---------- */
:root body .footer-top{background:#0A1E3D}
:root body .footer-btm{background:#06152C}
:root body .page-footer a:hover,
:root body .footer-block li a:hover{color:#F2A900}
@media (max-width:749px){
  :root body .footer-block h3{-webkit-tap-highlight-color:rgba(242,169,0,.15)}
  :root body .footer-block.is-open h3::after{color:#F2A900}
}
