/* Footer v5: full-width upper groups and edge-to-edge divider; lower grid unchanged. */
#siteFooter.brand-site-footer {
  --footer-gutter: clamp(16px, 3.8vw, 72px);
  --footer-inset: max(var(--footer-gutter), calc((100% - 1584px) / 2 + var(--footer-gutter)));
  box-sizing: border-box;
  display: grid;
  grid-template-columns: var(--footer-inset) minmax(0, 1fr) repeat(3, minmax(0, 400px)) minmax(0, 1fr) var(--footer-inset);
  grid-template-rows: auto auto auto;
  column-gap: 0;
  align-items: center;
  padding: 22px 0 16px;
}
#siteFooter > .brand-site-footer-inner {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(20px, 2.6vw, 44px);
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 0 0 12px;
  padding: 0 clamp(16px, 2.6vw, 44px) 15px;
  border-bottom: 1px solid var(--line, var(--shik-t-d22e17ac8b0053,#d8e0e8));
}
#siteFooter .brand-footer-column {flex: 0 1 auto; min-width: 0; text-align: left; overflow-wrap: break-word;}
#siteFooter .brand-footer-column :is(h2,h3) {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 650;
  letter-spacing: normal;
}
#siteFooter .brand-footer-column p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}
#siteFooter .brand-footer-column > a {
  display: inline-block;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}
#siteFooter .brand-footer-column > p + a {margin-top: 5px;}
#siteFooter .brand-footer-column .brand-footer-social-title {
  margin: 12px 0 5px !important;
  font-size: 14px;
}
#siteFooter .brand-footer-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
#siteFooter .brand-footer-socials .brand-footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
#siteFooter .brand-footer-socials .brand-footer-social:hover {
  background: var(--shik-t-6261ee6ee76e70,rgba(0, 71, 160, .08));
}
#siteFooter .brand-footer-socials svg {
  display: block;
  width: 17px;
  height: 17px;
}
@media (min-width: 901px) {
  #siteFooter .brand-footer-column :is(h2,h3) {font-size: 16px;}
  #siteFooter .brand-footer-column p,
  #siteFooter .brand-footer-column > a {font-size: 14px;}
  #siteFooter .brand-footer-column .brand-footer-social-title {font-size: 15px;}
}
/* The native analytics script appends its button directly to the footer.
   Place it in the central grid column without moving DOM or changing consent. */
#siteFooter > .brand-footer-bottom {display: contents;}
#siteFooter > .brand-footer-bottom > span,
#siteFooter > .brand-footer-bottom > a {
  margin: 0;
  min-width: 0;
  color: var(--muted, var(--shik-t-6d2647d3c752f2,#536477));
  font-size: 13px;
  line-height: 1.5;
}
#siteFooter > .brand-footer-bottom > :first-child {
  grid-column: 3;
  grid-row: 2 / 4;
  justify-self: center;
  text-align: center;
}
#siteFooter > .brand-footer-bottom > .analytics-policy-footer-link {
  grid-column: 4;
  grid-row: 2;
  justify-self: center;
  text-align: center;
  color: var(--blue, var(--shik-t-145d61f708fb3f,#0047a0));
}
#siteFooter > .brand-footer-bottom > :last-child {
  grid-column: 5;
  grid-row: 2 / 4;
  justify-self: center;
  text-align: center;
}
#siteFooter > #analyticsSettings {
  grid-column: 4;
  grid-row: 3;
  justify-self: center;
  position: static;
  box-sizing: border-box;
  width: max-content;
  max-width: 100%;
  min-height: 34px;
  margin: 5px 0 0;
  padding: 6px 11px;
  font-size: 12px;
  line-height: 1.4;
  white-space: normal;
  text-align: center;
}
@media (max-width: 900px) {
  #siteFooter.brand-site-footer {column-gap: 0;}
  #siteFooter > .brand-site-footer-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }
}
@media (max-width: 650px) {
  #siteFooter.brand-site-footer {
    grid-template-columns: var(--footer-inset) minmax(0, 1fr) 16px minmax(0, 1fr) var(--footer-inset);
    column-gap: 0;
    grid-template-rows: auto auto auto auto;
    padding-top: 18px;
    padding-bottom: 16px;
  }
  #siteFooter > .brand-footer-bottom > .analytics-policy-footer-link {
    grid-column: 2 / 5;
    grid-row: 2;
  }
  #siteFooter > #analyticsSettings {
    grid-column: 2 / 5;
    grid-row: 3;
  }
  #siteFooter > .brand-footer-bottom > :first-child,
  #siteFooter > .brand-footer-bottom > :last-child {
    grid-row: 4;
    align-self: start;
    margin-top: 12px;
    font-size: 12px;
  }
  #siteFooter > .brand-footer-bottom > :first-child {grid-column: 2;}
  #siteFooter > .brand-footer-bottom > :last-child {grid-column: 4;}
}
@media (max-width: 350px) {
  #siteFooter > .brand-site-footer-inner {grid-template-columns: 1fr;}
  #siteFooter > .brand-footer-bottom > :first-child,
  #siteFooter > .brand-footer-bottom > :last-child {
    grid-column: 2 / 5;
    justify-self: center;
    text-align: center;
  }
  #siteFooter > .brand-footer-bottom > :last-child {grid-row: 5; margin-top: 6px;}
}
