/* ============================================================
   iOS / touch fixes that apply site-wide.
   Loaded on every page via footer.css, so this is the one place
   to put cross-cutting mobile behaviour.
   ============================================================ */

/* On touch devices a tap leaves :hover stuck on the element until you tap
   somewhere else — cards stay lifted, buttons stay highlighted. Neutralise
   transform-based hover lift where there's no real pointer. */
@media (hover: none) and (pointer: coarse) {
  a:hover, button:hover,
  .pillar:hover, .biz-card:hover, .ql-card:hover,
  .svc-shortcut-card:hover, .day-card:hover,
  .species-card:hover, .grid-link:hover, .biz:hover {
    transform: none !important;
  }
}

/* Stop long-press from selecting label text on controls people tap a lot */
button, .fbtn, .biz-act-btn, .sp-tab, .hf-opt {
  -webkit-tap-highlight-color: rgba(201, 107, 26, .15);
}

/* ============================================================
   The Hunt Buddy — shared site footer
   Self-contained: uses no page-specific CSS variables, so it
   renders identically on every page regardless of that page's
   own stylesheet. Edit here once; run stamp_footer.py to apply.
   ============================================================ */

.hb-footer {
  background: #1b3a2d;
  color: rgba(255, 255, 255, .66);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
  padding: 48px 24px 26px;
  margin-top: auto;
  font-size: .88rem;
}

.hb-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.hb-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 30px;
}

.hb-footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}

.hb-footer-brand img {
  height: 30px;
  width: 30px;
  border-radius: 5px;
  object-fit: cover;
  flex-shrink: 0;
}

.hb-footer-brand span {
  color: #fff;
  font-size: 1.02rem;
  letter-spacing: -.005em;
}

.hb-footer-brand em {
  font-style: italic;
  color: #c96b1a;
}

.hb-footer-tag {
  color: rgba(255, 255, 255, .5);
  font-size: .82rem;
  line-height: 1.65;
  max-width: 290px;
}

.hb-footer h3 {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 14px;
  font-weight: 500;
}

.hb-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hb-footer li {
  margin-bottom: 9px;
}

.hb-footer a {
  color: rgba(255, 255, 255, .66);
  text-decoration: none;
  transition: color .15s;
  font-size: .85rem;
}

.hb-footer a:hover {
  color: #fff;
}

.hb-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .76rem;
  color: rgba(255, 255, 255, .42);
}

@media (max-width: 860px) {
  .hb-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .hb-footer-tag {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .hb-footer {
    padding: 36px 20px 22px;
  }
  .hb-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hb-footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}
