/* ==========================================================================
   Footer
   ========================================================================== */

.tv-footer {
  padding-block: clamp(44px, 6vw, 72px) calc(24px + env(safe-area-inset-bottom));
  background: var(--tv-footer-bg);
  color: var(--tv-footer-text);
  font-size: 14px;
}
.tv-footer a, .tv-footer .tv-link-btn { color: inherit; text-decoration: none; opacity: .86; transition: opacity .2s; }
.tv-footer a:hover, .tv-footer .tv-link-btn:hover { color: inherit; opacity: 1; text-decoration: underline; }
.tv-footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.tv-footer-brand .tv-brand-text { color: var(--tv-footer-heading); font-size: 1.6rem; opacity: 1; }
.tv-footer-brand .tv-brand-text:hover { text-decoration: none; }
.tv-footer-blurb { max-width: 40ch; margin: 14px 0 20px; line-height: 1.6; opacity: .85; }
.tv-footer-title { margin: 4px 0 14px; color: var(--tv-footer-heading); font-size: 15px; font-weight: 700; }
.tv-footer-menu { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tv-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tv-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-radius: 12px;
  opacity: 1;
  transition: background-color .2s, border-color .2s;
}
.tv-social a:hover { border-color: color-mix(in srgb, currentColor 45%, transparent); background: color-mix(in srgb, currentColor 10%, transparent); text-decoration: none; }
.tv-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  font-size: 13px;
}
.tv-copyright { margin: 0; opacity: .8; }
.tv-legal-menu { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 760px) {
  .tv-footer-grid { grid-template-columns: 1fr 1fr; }
  .tv-footer-brand { grid-column: 1 / -1; }
}
