/* River Edge Advisors — static site styles */

  html, body { margin: 0; padding: 0; background: #faf8f4; }
  * { box-sizing: border-box; }
  a { color: #16233c; text-decoration: none; }
  a:hover { color: #1a6f9e; }
  img { display: block; max-width: 100%; }
  input, textarea, button { font: inherit; }

.h1:hover{color: #8ecbec;}
.h2:hover{color: #8ecbec;}
.h3:hover{background: #1a6f9e; color: #ffffff;}
.h4:hover{border-color: #1a6f9e;}
.h5:hover{background: #f2ede3; color: #16233c;}
.h6:hover{background: #f2ede3; color: #16233c;}
.h7:hover{background: #f2ede3;}
.h8:hover{background: #f2ede3; color: #16233c;}
.h9:hover{background: #f2ede3; color: #16233c;}
.h10:hover{background: #f2ede3; color: #16233c;}
.h11:hover{background: #f2ede3; color: #16233c;}
.h12:hover{background: #f2ede3; color: #16233c;}
.h13:hover{background: #f2ede3; color: #16233c;}
.h14:hover{background: #1a6f9e; color: #ffffff;}
.h15:hover{color: #1a6f9e;}
.h16:hover{color: #1a6f9e;}
.h17:hover{color: #1a6f9e;}
.h18:hover{background: #2b8cc4; color: #ffffff;}
.h19:hover{border-color: #1a6f9e; color: #8ecbec;}
.h20:hover{background: #1a6f9e; color: #ffffff;}
.h21:hover{background: #1a6f9e; color: #ffffff;}
.h22:hover{background: #faf8f4;}
.h23:hover{color: #1a6f9e;}
.h24:hover{border-color: #1a6f9e; background: #f4f9fc;}
.h25:hover{background: #1a6f9e; color: #ffffff;}
.h26:hover{border-color: #1a6f9e; color: #8ecbec;}
.h27:hover{color: #1a6f9e;}
.h28:hover{color: #1a6f9e;}
.h29:hover{color: #1a6f9e;}
.h30:hover{background: #1a6f9e;}
.h31:hover{background: #2b8cc4; color: #ffffff;}
.h32:hover{border-color: #1a6f9e; color: #8ecbec;}
.h33:hover{background: #faf8f4;}
.h34:hover{background: #2b8cc4; color: #ffffff;}
.h35:hover{border-color: #1a6f9e; color: #8ecbec;}
.h36:hover{color: #ffffff;}
.h37:hover{color: #1a6f9e;}
.h38:hover{background: #faf8f4;}
.h39:hover{background: #1a6f9e; color: #ffffff;}
.h40:hover{border-color: #1a6f9e; color: #1a6f9e;}
.h41:hover{color: #1a6f9e;}
.h42:hover{background: #2b8cc4; color: #ffffff;}
.h43:hover{border-color: #1a6f9e; color: #8ecbec;}
.h44:hover{border-color: #1a6f9e; color: #8ecbec;}
.h45:hover{color: #1a6f9e;}
.h46:hover{color: #1a6f9e;}
.h47:hover{color: #1a6f9e;}
.h48:hover{background: #1a6f9e; color: #ffffff;}
.h49:hover{color: #1a6f9e;}
.h50:hover{color: #1a6f9e;}
.h51:hover{color: #1a6f9e;}
.h52:hover{color: #1a6f9e;}
.h53:hover{background: #2b8cc4; color: #ffffff;}
.h54:hover{background: #1a6f9e;}
.h55:hover{color: #ffffff;}
.h56:hover{color: #ffffff;}
.h57:hover{color: #ffffff;}
.h58:hover{color: #ffffff;}
.h59:hover{color: #ffffff;}
.h60:hover{color: #ffffff;}
.h61:hover{color: #ffffff;}
.h62:hover{color: #ffffff;}
.h63:hover{color: #ffffff;}
.h64:hover{color: #ffffff;}
.h65:hover{color: #ffffff;}
.h66:hover{color: #ffffff;}
.h67:hover{color: #ffffff;}
.h68:hover{color: #ffffff;}
.h69:hover{color: #8ecbec;}
.h70:hover{color: #ffffff;}
.h71:hover{color: #ffffff;}


/* ---------- services dropdown ---------- */
.svc-panel{display:none !important}
.svc-wrap:hover>.svc-panel,.svc-wrap.open>.svc-panel{display:flex !important}

/* ---------- responsive header ---------- */
.menu-toggle{display:none;margin-left:auto;background:none;border:1px solid #d8d0bf;border-radius:2px;
  width:46px;height:44px;font-size:20px;line-height:1;color:#16233c;cursor:pointer}
.menu-toggle:hover{border-color:#1a6f9e;color:#1a6f9e}
@media (max-width:1199px){
  .menu-toggle{display:block}
  .mainnav{display:none !important;width:100%;flex-direction:column;align-items:stretch !important;
    margin-left:0 !important;border-top:1px solid #e4ddd0;padding:8px 0 4px}
  .mainnav.open{display:flex !important}
  .mainnav>a,.mainnav>div>button{width:100%;text-align:left;padding:14px 8px !important;font-size:14px !important}
  .svc-wrap{position:static !important}
  .svc-panel{position:static !important;box-shadow:none !important;border:0 !important;
    min-width:0 !important;padding:0 0 8px 10px !important}
  .svc-wrap.open>.svc-panel{display:flex}
}

/* ---------- accordions ---------- */
[data-acc]{cursor:pointer}

/* ---------- forms ---------- */
input,textarea{font-family:inherit}
input:focus,textarea:focus{outline:2px solid #1a6f9e;outline-offset:1px}
button[type=submit]{cursor:pointer}

/* ---------- print ---------- */
@media print{header,footer,.menu-toggle{display:none}body{background:#fff}}


/* ---------- industries dropdown (added Oct 2026) ---------- */
.ind-panel{display:none !important}
.ind-wrap:hover>.ind-panel,.ind-wrap.open>.ind-panel{display:flex !important}
@media (max-width:1199px){
  .mainnav>div>button{width:100%}
  .ind-wrap{position:static !important}
  .ind-panel{position:static !important;box-shadow:none !important;border:0 !important;
    min-width:0 !important;padding:0 0 8px 10px !important}
}
/* ---------- lead forms (added Oct 2026) ---------- */
select{font-family:inherit}
select:focus,summary:focus-visible,a:focus-visible,button:focus-visible{outline:2px solid #1a6f9e;outline-offset:2px}
details>summary{list-style-position:outside}

@media(min-width:1320px){header>div{gap:12px!important;flex-wrap:nowrap!important}header .mainnav a,header .mainnav button{padding-left:7px!important;padding-right:7px!important}header>div>a:last-child{white-space:nowrap}}
@media(min-width:1200px) and (max-width:1319px){.menu-toggle{display:block!important;margin-left:auto}.mainnav{display:none!important;width:100%}.mainnav.open{display:flex!important;flex-direction:column;align-items:stretch!important;order:10}.ind-panel,.svc-panel{position:static!important;min-width:0!important}}
@media(max-width:389px){header>div{padding-left:16px!important;padding-right:16px!important;gap:12px!important}header>div>a:first-child{gap:10px!important;min-width:0;max-width:100%}header>div>a:first-child img{height:55px!important}header>div>a:first-child>span{padding-left:10px!important}header>div>a:first-child>span>span:first-child{font-size:18px!important}header>div>a:first-child>span>span:last-child{font-size:8px!important;letter-spacing:.1em!important}}

@media(max-width:389px){main [style*="grid-template-columns"]{grid-template-columns:minmax(0,1fr)!important}main [style*="min-width"]{min-width:0!important}main a{overflow-wrap:anywhere}}
@media(max-width:389px){main h1,main h2{overflow-wrap:anywhere;word-break:normal}main h1{font-size:36px!important}}

/* Newsletter signup */
.subscribe-section{background:#e8f0f3;border-top:1px solid #d7e2e9;padding:44px 28px;color:#16233c}.subscribe-inner{max-width:1224px;margin:auto;display:grid;grid-template-columns:1fr 1.25fr;gap:32px;align-items:center}.subscribe-eyebrow{font-size:11px;font-weight:600;letter-spacing:.16em;margin:0 0 10px;color:#356780}.subscribe-section h2{font-family:Spectral,Georgia,serif;font-size:29px;line-height:1.2;font-weight:500;margin:0 0 12px}.subscribe-section p{line-height:1.6}.subscribe-section #subscribe-consent{font-size:14px;max-width:410px;margin:0}.subscribe-fields{display:grid;grid-template-columns:1fr 1.35fr auto;gap:12px;align-items:end}.subscribe-fields label{font-size:13px;font-weight:600;display:block;min-width:0}.subscribe-fields label span{font-weight:400;color:#576b7a;font-size:11px}.subscribe-fields input{box-sizing:border-box;display:block;width:100%;min-width:0;background:#fff;color:#16233c;border:1px solid #9aabb6;border-radius:4px;padding:12px 10px;font:inherit;font-size:16px;margin-top:7px;height:46px}.subscribe-fields button{border:1px solid #16233c;border-radius:4px;background:#16233c;color:white;font:inherit;font-size:14px;font-weight:600;height:46px;padding:0 20px;cursor:pointer}.subscribe-fields input:focus,.subscribe-fields button:focus-visible{outline:3px solid #5296b9;outline-offset:2px}@media(max-width:900px){.subscribe-inner{grid-template-columns:1fr;gap:22px}}@media(max-width:560px){.subscribe-section{padding:34px 22px}.subscribe-fields{grid-template-columns:1fr;gap:16px}.subscribe-fields button{width:100%}.subscribe-section h2{font-size:27px}}
.subscribe-section{scroll-margin-top:110px}@media(max-width:560px){.subscribe-section{scroll-margin-top:190px}}
