/* Shared footer, scoped so parent and homepage typography cannot override it. */
#page .az-reference-footer {
  background: #1b1b1b url('../assets/images/footer-map.svg') center center / cover no-repeat;
  color: #d0d0d0;
  font-family: var(--az-font-main, Arial, sans-serif);
  font-size: 14px;
  line-height: 1.65;
}
.az-reference-footer *,
.az-reference-footer *::before,
.az-reference-footer *::after { box-sizing: border-box; }
#page .az-reference-footer a { color: inherit; text-decoration: none; }
#page .az-reference-footer a:hover { color: #ffc629; }
.az-reference-footer a:focus-visible { outline: 2px solid #ffc629; outline-offset: 4px; }
.az-reference-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  padding-block: 30px 54px;
}
.az-reference-footer__grid > section { min-width: 0; }
#page .az-reference-footer h2 {
  position: relative;
  margin: 0 0 12px;
  padding: 0 0 14px;
  color: #ffc629;
  font-family: var(--az-font-heading, Arial, sans-serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}
.az-reference-footer h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: #fff;
  content: '';
}
#page .az-reference-footer ul { margin: 0; padding: 0; list-style: none; }
.az-reference-footer li { margin: 0 0 12px; overflow-wrap: anywhere; }
.az-footer-contact-row { display: flex; align-items: baseline; gap: 5px; }
.az-footer-contact-row > svg { position: relative; top: 3px; flex: 0 0 16px; width: 16px; height: 16px; }
.az-footer-contact-row > span { min-width: 0; }
.az-footer-bullet-list > li { position: relative; padding-left: 17px; }
.az-footer-bullet-list > li::before { position: absolute; top: .65em; left: 4px; width: 4px; height: 4px; background: currentColor; content: ''; }
.az-reference-footer__legal strong { font-weight: 700; text-transform: uppercase; }
.az-footer-fanpage-frame { width: 100%; max-width: 340px; height: 300px; overflow: hidden; background: #fff; }
.az-footer-fanpage-frame iframe { display: block; width: 100%; max-width: 100%; height: 300px; border: 0; }
.az-footer-fanpage-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; }
.az-reference-footer__copyright { padding-block: 14px; border-top: 1px solid #ffffff0d; font-size: 12px; text-align: center; }
@media (min-width: 1600px) {
  #page .az-reference-footer { font-size: 16px; }
  #page .az-reference-footer h2 { font-size: 16px; }
  .az-reference-footer__grid { gap: 36px; padding-block: 34px 58px; }
  .az-footer-contact-row > svg { width: 18px; height: 18px; flex-basis: 18px; }
}
@media (max-width: 960px) {
  .az-reference-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; padding-block: 30px 36px; }
}
@media (max-width: 560px) {
  #page .az-reference-footer { font-size: 14px; }
  .az-reference-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; width: calc(100% - 32px); padding-block: 28px 34px; }
  #page .az-reference-footer h2 { font-size: 14px; margin-bottom: 14px; }
  .az-reference-footer li { margin-bottom: 10px; }
  .az-footer-fanpage-frame { max-width: 340px; }
}
