/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--db); padding: 60px 48px 36px; border-top: 3px solid var(--py); }
.footer-grid { display: grid; grid-template-columns: 2fr auto auto auto auto; gap: 44px; margin-bottom: 44px; max-width: 1320px; margin-left: auto; margin-right: auto; }
/* Footer logo (square-friendly sizing) */
.f-brand .custom-logo-link,
.f-brand a.custom-logo-link { display: inline-block; margin-bottom: 18px; }
.f-brand .custom-logo,
.f-brand img { height: 96px !important; width: auto !important; max-width: 180px; object-fit: contain; display: block; filter: drop-shadow(0 4px 12px rgba(30,58,82,.4)); }
.f-brand p { font-family: var(--fb); font-size: .84rem; line-height: 1.78; max-width: 260px; color: rgba(255,255,255,.55); }
.f-brand-meta { margin-top: 8px; font-size: .78rem; line-height: 1.65; color: rgba(255,255,255,.4); }
.f-brand-meta a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .84rem; }
/* Logo via cove_logo_url() helper */
.f-brand .f-brand-logo { height: 96px !important; width: auto !important; max-width: 180px; object-fit: contain; display: block; filter: drop-shadow(0 4px 12px rgba(30,58,82,.4)); margin-bottom: 18px; }
/* Social icons — 44px touch target meets WCAG 2.5.5 */
.f-social { display: flex; gap: 8px; margin-top: 16px; }
.f-social a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); color: rgba(255,255,255,.5); transition: all .2s; }
.f-social a:hover { background: var(--py); color: var(--db); }
/* ChurchSuite login link */
.f-cs-login { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-family: var(--fb); font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.72); text-decoration: none; padding: 6px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 100px; transition: all .2s; }
.f-cs-login:hover { color: var(--py); border-color: var(--py); }
.f-col h5 { font-family: var(--ft); font-size: 1rem; text-transform: uppercase; letter-spacing: .8px; color: var(--py); margin-bottom: 16px; }
.f-col ul { list-style: none; }
.f-col li { margin-bottom: 10px; }
.f-col a  { font-family: var(--fb); color: rgba(255,255,255,.72); text-decoration: none; font-size: .84rem; transition: color .2s; }
.f-col a:hover { color: var(--py); }
.f-sg-band { max-width: 1320px; margin: 0 auto 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 28px; border-radius: 12px; background: rgba(26,122,110,.12); border: 1px solid rgba(77,184,174,.2); }
.f-sg-inner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.f-sg-inner span { font-family: var(--fb); font-weight: 700; font-size: .92rem; color: var(--teal-la); white-space: nowrap; }
.f-sg-inner p { font-family: var(--fb); font-size: .82rem; color: rgba(255,255,255,.55); margin: 0; }
.f-sg-link { font-family: var(--fb); font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--teal-la); border: 1.5px solid var(--teal-la); padding: 8px 18px; border-radius: 100px; transition: all .2s; white-space: nowrap; }
.f-sg-link:hover { background: var(--teal-la); color: var(--db); }
.f-bottom { max-width: 1320px; margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; font-family: var(--fb); font-size: .76rem; color: rgba(255,255,255,.35); }
.f-bottom a { color: rgba(255,255,255,.45); text-decoration: none; transition: color .2s; }
.f-bottom a:hover { color: var(--py); }

/* ── ≤ 1100px  (wide tablet / small laptop) ─────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* ── ≤ 768px  (phone landscape / small tablet) ──────────── */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .f-brand .custom-logo, .f-brand img, .f-brand .f-brand-logo { height: 80px !important; }
  .f-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .f-sg-band { flex-direction: column; text-align: center; gap: 14px; }
}

/* ── ≤ 480px  (phone portrait) ──────────────────────────── */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
