/* ORIVAL site footer (site index + bottom bar). ONE copy for the whole site.
   The markup is company.soy .siteIndex, added to every page by OrivalPageFactory (SiteFooter);
   the mockups use the same markup (docs/mockups/build/site_nav.py). Scoped under .site-footer so it
   cannot change anything else on a page; it looks the same on new and old-design pages. */
.site-footer{
  --red:#c40203; --black:#0A0A0A; --white:#FFFFFF; --soft-red:#F3C0C0;
  --g100:#F5F5F5; --g200:#E9E9E9; --g300:#D6D6D6; --g500:#7A7A7A; --g700:#3B3B3B; --g900:#111111;
  --sp-xs:4px; --sp-s:8px; --sp-m:16px; --sp-l:24px; --sp-xl:32px; --sp-2xl:48px; --sp-3xl:64px; --sp-4xl:96px; --sp-5xl:128px;
  --margin:80px; --gutter:24px; --w-container:1200px; --w-narrow:800px;
  font-family:'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-size:16px;line-height:26px;-webkit-font-smoothing:antialiased;text-align:left}
@media (max-width:1023px){.site-footer{--margin:40px}}
@media (max-width:767px){.site-footer{--margin:16px;--gutter:16px}}
/* the old page frame around the footer (Bootstrap container) must not add side padding */
body>.container-fluid:has(>.site-footer){padding:0;margin:0;width:100%;max-width:none}
.site-footer *,.site-footer *::before,.site-footer *::after{box-sizing:border-box}
.site-footer a{color:inherit;text-decoration:none}
.site-footer a:hover,.site-footer a:focus{text-decoration:none}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer h2,.site-footer h3,.site-footer p,.site-footer dl,.site-footer dd{margin:0}
.site-footer img{max-width:100%;display:block}
.site-footer :focus-visible{outline:2px solid var(--white);outline-offset:3px;border-radius:4px}
.site-footer :focus-visible{outline-color:var(--white)}
.site-footer .hp-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.site-footer .hp-container{width:min(100% - 2*var(--margin),var(--w-container));margin-inline:auto}
.site-footer .hp-container-narrow{width:min(100% - 2*var(--margin),var(--w-narrow));margin-inline:auto}
.site-footer{background:var(--g900);color:var(--g300);padding-top:var(--sp-3xl)}
.site-footer .foot-top{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--gutter);padding-bottom:var(--sp-2xl)}
.site-footer .foot-brand{grid-column:span 3}
.site-footer .foot-brand img{height:56px;width:auto;margin-bottom:var(--sp-l)}
.site-footer .foot-brand dl{display:grid;gap:var(--sp-m);margin:0}
.site-footer .foot-brand dt{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--g500)}
.site-footer .foot-brand dd{margin:2px 0 0;font-weight:600;color:var(--white)}
.site-footer .foot-brand a:hover{color:var(--soft-red)}
/* LinkedIn (Inbar, 19 Nov) */
.site-footer .li-link{display:inline-flex;align-items:center;gap:8px}
.site-footer .li-link svg{flex:none}
/* no box around a link after a mouse click (the old stylesheet draws one on :focus; Inbar, 24 Nov): keyboard focus keeps its ring */
.site-footer a:focus:not(:focus-visible){outline:none;box-shadow:none;background:none}
.site-footer .foot-copy{margin-top:var(--sp-l);font-size:13px;color:var(--g500)}
.site-footer .foot-cols{grid-column:4/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gutter) var(--sp-xl)}
.site-footer .foot-col h2{font-size:12px;line-height:16px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--white);margin-bottom:var(--sp-m);padding-bottom:var(--sp-s);border-bottom:2px solid var(--red);display:inline-block}
/* the column titles sit on one line at the bottom, so their red lines are level even when a title takes two lines (Inbar, 24 Nov) */
.site-footer .foot-col{display:grid;grid-template-rows:subgrid;grid-row:span 2;align-content:start}
.site-footer .foot-col h2{align-self:end;justify-self:start;margin-bottom:0}
.site-footer .foot-col{row-gap:var(--sp-s)}
.site-footer .foot-col ul{align-self:start;align-content:start}
.site-footer .foot-col h3{font-size:13px;font-weight:700;color:var(--white);margin:var(--sp-m) 0 var(--sp-s)}
.site-footer .foot-col h3:first-of-type{margin-top:0}
.site-footer .foot-col ul{display:grid;gap:2px}
.site-footer .foot-col a{display:block;padding:5px 0;font-size:14px;color:var(--g300);transition:color .15s}
.site-footer .foot-col a:hover{color:var(--white);text-decoration:underline}
.site-footer .foot-col details{margin-top:var(--sp-m)}
.site-footer .foot-col summary{cursor:pointer;font-size:13px;font-weight:700;color:var(--white);padding:4px 0}
.site-footer .foot-bottom{border-top:1px solid rgba(255,255,255,.14);padding-block:var(--sp-l);display:flex;justify-content:space-between;gap:var(--sp-m);flex-wrap:wrap;font-size:13px;color:var(--g500)}
.site-footer .foot-bottom a{color:var(--g300)}
.site-footer .foot-bottom a:hover{color:var(--white)}
.site-footer .foot-bottom nav{display:flex;gap:var(--sp-l);flex-wrap:wrap}
@media (max-width:1023px){.site-footer .foot-brand{grid-column:1/-1}
.site-footer .foot-cols{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:767px){.site-footer .foot-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
}
