/* ============================================
   DEF FOOTER — daviseducationfoundation.org
   ============================================ */
.ts-footer {
  background: var(--navy-deep, #0b1b3c);
  color: rgba(255,255,255,0.85);
  font-family: var(--font-sans, Inter, Helvetica, Arial, sans-serif);
}
.ts-footer a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
}
.ts-footer a:hover { color: #fff; }
.ts-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
/* Left column stack: logo, address, social */
.ts-footer__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* Brand */
.ts-footer__logo {
  display: block;
  max-width: 220px;
  height: auto;
  margin-bottom: 16px;
}
.ts-footer__address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
}
.ts-footer__address a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* Links */
.ts-footer__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ts-footer__links li {
  margin-bottom: 10px;
}
.ts-footer__links a {
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s, opacity 0.2s;
}
.ts-footer__links a:hover {
  opacity: 1;
}
/* Social */
.ts-footer__social h3 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.ts-footer__social-icons {
  display: flex;
  gap: 14px;
}
.ts-footer__social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}
.ts-footer__social-icons a:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
/* Bottom bar */
.ts-footer__bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 20px 24px;
}
.ts-footer__bar p {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin: 0;
}
/* Responsive */
@media (max-width: 768px) {
  .ts-footer__inner {
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    padding: 36px 20px 24px;
  }
  .ts-footer__links {
    text-align: right;
  }
  .ts-footer__links a {
    font-size: 12px;
  }
  .ts-footer__links li {
    margin-bottom: 8px;
  }
}

/* Accessibility: focus styles */
.ts-footer a:focus-visible {
  outline: 3px solid var(--gh-gold, #f5a623);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ts-footer,
  .ts-footer * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}


/* === Best of State band — full-width footer row === */
.ts-footer__boss {
  display: block;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, rgba(255, 194, 77, 0.04) 0%, rgba(255, 194, 77, 0.0) 100%);
  border-top: 1px solid rgba(255, 194, 77, 0.16);
  border-bottom: 1px solid rgba(255, 194, 77, 0.10);
  padding: 28px 24px 24px;
  transition: background 0.3s ease;
}
.ts-footer__boss:hover {
  background: linear-gradient(180deg, rgba(255, 194, 77, 0.08) 0%, rgba(255, 194, 77, 0.0) 100%);
}
.ts-footer__boss:focus-visible {
  outline: 3px solid var(--gh-gold, #f5a623);
  outline-offset: -3px;
}
.ts-footer__boss-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.ts-footer__boss-band {
  display: block;
  width: 50%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 6px 20px rgba(255, 194, 77, 0.18));
}
.ts-footer__boss-kicker {
  font-family: var(--gh-font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gh-gold, #f5a623);
  margin: 0;
}
.ts-footer__boss-years {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.ts-footer__boss-years span {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}
.ts-footer__boss-years span.is-boss {
  color: var(--gh-gold, #f5a623);
  font-weight: 700;
}
.ts-footer__boss-years span + span::before {
  content: "·";
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 400;
}
@media (max-width: 768px) {
  .ts-footer__boss { padding: 22px 16px 18px; }
  .ts-footer__boss-band { width: 60%; max-width: 320px; }
  .ts-footer__boss-kicker { font-size: 1rem; }
  .ts-footer__boss-years { font-size: 11px; }
  .ts-footer__boss-years span + span::before { margin: 0 5px; }
}
