/* JSC Heritage Accent footer v1 — public surface only.
 * Active only when MHFM2 Public Footer layout_mode === heritage-accent.
 * Never styles staff footers or the approved public header. */
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent {
  margin:25px 0 0;
  border-top:3px solid var(--juf-accent,#d6a619);
  font-family:Lato,Arial,sans-serif;
  color:var(--juf-text,#fff);
}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__top {
  position:relative;
  overflow:hidden;
  background:radial-gradient(ellipse at 87% 5%,rgba(0,163,111,.20),transparent 48%),
    linear-gradient(110deg,var(--juf-bg,#003d30),var(--juf-bg-end,#006345));
}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__top::before {
  content:'⚖';pointer-events:none;position:absolute;left:36%;top:-11px;
  font:normal 156px/1 Georgia,serif;color:#e2b343;opacity:.065;
  transform:rotate(-11deg);
}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__top::after {
  content:'';pointer-events:none;position:absolute;right:-5%;top:-35%;width:27%;height:170%;
  transform:rotate(17deg);border-left:2px solid rgba(220,174,48,.45);
  background:linear-gradient(110deg,transparent,rgba(11,36,29,.18));
}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__inner {
  position:relative;z-index:1;width:100%;margin:0 auto;
  padding:17px clamp(20px,3vw,50px);
  min-height:146px;display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(220px,.73fr) minmax(270px,.90fr);
  gap:clamp(17px,2vw,34px);align-items:center;
}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__identity {
  display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;
}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__brand {
  display:flex;align-items:center;gap:15px;min-width:0;
}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__crest {
  width:clamp(85px,11vw,168px);height:88px;flex:0 0 auto;
}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__crest img {
  display:block;width:100%;height:100%;max-height:88px;max-width:100%;object-fit:contain;
}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__brand-text {
  padding-left:15px;border-left:1px solid var(--juf-accent,#d6a619);gap:5px;
}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__brand-text strong {
  font-family:Georgia,serif;font-size:clamp(14px,1.3vw,20px);font-weight:700;letter-spacing:.15px;line-height:1.15;
}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__brand-text span {
  margin-top:0;font-size:clamp(10px,.78vw,12px);letter-spacing:.35px;
}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__contacts,
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__quick {
  border-left:2px solid var(--juf-accent,#d6a619);
  padding-left:clamp(18px,2vw,30px);min-width:0;align-self:stretch;
  display:flex;flex-direction:column;justify-content:center;gap:8px;
}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent h2 {
  /* Footer Manager must beat Frontend Appearance global heading !important without altering site-wide headings. */
  color:var(--juf-text,#fff) !important;font:700 15px/1.15 Georgia,serif;margin:0 0 3px;
}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent h2::after {
  content:'';display:block;width:34px;height:2px;margin-top:8px;background:var(--juf-accent,#d6a619);
}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__contact-chip {
  display:flex;align-items:center;gap:9px;min-width:0;width:100%;
  border:1px solid rgba(224,183,77,.62);border-radius:999px;padding:7px 10px;
  font-size:11px;line-height:1.32;color:var(--juf-text,#fff)!important;
  background:rgba(0,0,0,.1);text-decoration:none!important;overflow-wrap:anywhere;
}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__contact-chip > span {
  width:22px;height:22px;border-radius:50%;display:inline-flex;flex:none;
  justify-content:center;align-items:center;color:#073a2b;background:var(--juf-accent,#d6a619);
  font-weight:900;font-size:15px;
}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__nav {
  display:flex;justify-content:flex-start;align-items:center;gap:8px;flex-wrap:wrap;
}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__nav-link {
  background:rgba(0,0,0,.14);border-color:rgba(255,255,255,.35);
  font-size:11px;min-height:37px;padding:8px 11px;white-space:nowrap;
}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__nav-link:hover,
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__nav-link:focus-visible {
  border-color:var(--juf-accent,#d6a619);background:rgba(255,255,255,.08);
}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__bottom {
  background:linear-gradient(90deg,var(--juf-accent,#d6a619),#ffe29a,var(--juf-accent,#d6a619));
  border-top:1px solid rgba(255,255,255,.3);
}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__bottom-inner {
  min-height:39px;padding:9px clamp(20px,3vw,50px);display:grid;
  grid-template-columns:1fr 1fr 1fr;justify-items:center;
  align-items:center;gap:12px;color:#073b2c!important;font-size:11px;line-height:1.4;
}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__bottom-inner > *:first-child {justify-self:start}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__bottom-inner > *:last-child {justify-self:end}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__official-site {
  color:#073b2c!important;text-decoration:none;white-space:nowrap;
}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__official-site strong {text-decoration:underline;text-underline-offset:2px}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__secure {
  color:#073b2c!important;white-space:nowrap;
}
.jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__secure > span {color:#073b2c}
@media(max-width:1120px){
 .jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__inner{grid-template-columns:1fr 1fr;gap:12px 20px}
 .jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__identity{grid-column:1/-1}
 .jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__bottom-inner{grid-template-columns:1fr auto;gap:6px 18px}
 .jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__bottom-inner>*:last-child{grid-column:1/-1;justify-self:center}
}
@media(max-width:640px){
 .jsc-unified-footer--public.jsc-unified-footer--heritage-accent{margin-top:18px}
 .jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__inner{padding:15px;grid-template-columns:1fr;min-height:0;gap:15px}
 .jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__identity{grid-column:auto}
 .jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__brand{gap:10px}
 .jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__crest{width:100px;height:55px}
 .jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__crest img{max-height:55px}
 .jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__brand-text{padding-left:10px}
 .jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__brand-text strong{font-size:13px}
 .jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__contacts,
 .jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__quick{padding-left:12px;gap:7px}
 .jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__nav{display:flex;gap:7px}
 .jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__nav-link{width:auto;font-size:10px;padding:7px 9px}
 .jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__bottom-inner{padding:12px 15px;display:flex;flex-direction:column;align-items:flex-start;gap:7px;font-size:10px}
 .jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__bottom-inner > *{justify-self:auto!important}
 .jsc-unified-footer--public.jsc-unified-footer--heritage-accent .jsc-unified-footer__secure{white-space:normal}
}
