/* Keep content inside the edges of a bounded widget background. */
html body [data-design-system="faralink-v2"]:is([data-width="content"],[data-v2-width="content"]):is([style*="--s-bg:#"],[style*="--s-bg: #"],[style*="--section-background:#"],[style*="--section-background: #"],[style*="--fl-v2-section-bg:#"],[style*="--fl-v2-section-bg: #"]) {
  box-sizing: border-box;
  padding-inline: clamp(12px, 2vw, 24px) !important;
}

.fl-v2-hours .hours-widget[data-style="strip"] .hours-tabs button[data-today] {
  border-color: color-mix(in srgb, var(--card-accent) 60%, transparent);
  background: color-mix(in srgb, var(--card-accent) 10%, var(--card-bg));
  padding-block: 4px;
  gap: 2px;
}
.fl-v2-hours .hours-widget[data-style="strip"] .hours-tabs button[data-today][aria-selected="true"] {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--card-accent) 24%, transparent);
}
.fl-v2-hours .hours-widget[data-style="strip"] .hours-tabs button[data-today] small {
  position: static;
  justify-self: center;
  border-radius: 999px;
  padding: 2px 6px;
  color: var(--card-ink);
  background: color-mix(in srgb, var(--card-accent) 16%, var(--card-bg));
  font-weight: 700;
}

.fl-v2-footer .fdemo[data-layout="spotlight"]:not(:has(.footer-lead)) {
  padding-block-start: clamp(20px, 4cqw, 48px);
}
.fl-v2-footer .fdemo[data-layout="spotlight"] > .footer-legal-wrap .footer-legal,
.fl-v2-footer .fdemo[data-layout="spotlight"] > .footer-legal-wrap .footer-legal :is(p,a,span) {
  color: #fff !important;
}
.fl-v2-footer .fdemo[data-layout="spotlight"] > .footer-legal-wrap .logo-light { display: inline-block; }
.fl-v2-footer .fdemo[data-layout="spotlight"] > .footer-legal-wrap .logo-dark { display: none; }
.fl-v2-footer .fdemo[data-layout="spotlight"] .footer-lead[data-action="contact"] .lead-actions {
  justify-content: end;
  gap: 12px;
}
html body .fl-v2-footer .fdemo[data-layout="spotlight"] .footer-lead[data-action="contact"] li:not(:first-child) > a.lead-action {
  --fl-action-ink: #fff;
  --fl-action-stroke: #ffffff80;
  --fl-action-hover: #ffffff24;
}

/* Keep the footer call to action centered when it stacks on mobile. */
@media (max-width: 767px) {
  .fl-v2-footer .fdemo .footer-lead,
  .fl-v2-footer .fdemo[data-layout="spotlight"] .footer-lead {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }
  .fl-v2-footer .fdemo .footer-lead .lead-copy {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .fl-v2-footer .fdemo .footer-lead :is(h2, p) { text-align: center; }
  .fl-v2-footer .fdemo .footer-lead h2::after { margin-inline: auto; }
  .fl-v2-footer .fdemo .footer-lead form { justify-self: center; }
  .fl-v2-footer .fdemo .footer-lead .lead-actions,
  .fl-v2-footer .fdemo[data-layout="spotlight"] .footer-lead[data-action="contact"] .lead-actions {
    justify-content: center;
  }
}
