/* ==========================================================================
   Public (before-login) footer — government design reference.
   Scoped entirely under .gov-footer so it cannot collide with any other
   page styling. Used via {% include 'includes/public_footer.html' %}.
   ========================================================================== */

.gov-footer {
  background: #111330;
  color: #ffffff;
  border-radius: 60px 60px 0 0;
  padding: 3.5rem 0 0;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}

.gov-footer a {
  text-decoration: none;
}

.gov-footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 3rem;
}

.gov-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.gov-footer-col h3 {
  font-family: 'Fraunces', 'Inter', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1.5rem;
}

/* ── Latest News ─────────────────────────────────────────── */

.gov-news-item {
  margin-bottom: 1.75rem;
}

.gov-news-item p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 0.5rem;
}

.gov-view-more {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ef5744;
  text-decoration: underline;
}

.gov-view-more:hover {
  color: #ff7a68;
}

/* ── Location / Map ──────────────────────────────────────── */

.gov-map-wrap {
  border-radius: 6px;
  overflow: hidden;
  line-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.gov-map-wrap iframe {
  display: block;
}

/* ── Contact Information ─────────────────────────────────── */

.gov-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.gov-contact-item i {
  flex-shrink: 0;
  width: 1.1rem;
  margin-top: 0.2rem;
  text-align: center;
  color: #ffffff;
  font-size: 1rem;
}

.gov-contact-item a {
  color: rgba(255, 255, 255, 0.92);
}

.gov-contact-item a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ── Bottom row ───────────────────────────────────────────── */

.gov-footer-bottom {
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0 1.75rem;
  /* Extra left padding on this row only, so the copyright text doesn't sit
     under the GTranslate widget (position:fixed; bottom:20px; left:20px). */
  padding-left: 150px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.gov-footer-copyright { text-align: left; }
.gov-footer-terms { text-align: center; }
.gov-footer-credit { text-align: right; }

.gov-footer-copyright a,
.gov-footer-credit a {
  color: #0d6efd;
}

.gov-footer-copyright a:hover,
.gov-footer-credit a:hover {
  color: #4c94ff;
}

.gov-footer-terms a {
  color: #ffffff;
  text-decoration: underline;
}

.gov-footer-terms a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ── Responsive ───────────────────────────────────────────── */

/* Tablet: keep three columns, tighten spacing */
@media (max-width: 991px) {
  .gov-footer {
    border-radius: 40px 40px 0 0;
    padding-top: 3rem;
  }
  .gov-footer-inner {
    padding: 0 1.75rem;
  }
  .gov-footer-grid {
    gap: 1.5rem;
  }
  .gov-footer-col h3 {
    font-size: 1.25rem;
  }
}

/* Mobile: stack the three sections vertically */
@media (max-width: 640px) {
  .gov-footer {
    border-radius: 28px 28px 0 0;
    padding-top: 2.5rem;
  }
  .gov-footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .gov-footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.75rem;
  }
  .gov-footer-copyright,
  .gov-footer-terms,
  .gov-footer-credit {
    text-align: center;
  }
  .gov-footer-bottom {
    padding-left: 0;
  }
}
