/* Opt-in shared header geometry for franklyaf.com and Frankly Digital only. */
.frankly-header {
  --frankly-header-width: min(1180px, calc(100vw - 48px));
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: var(--frankly-header-width);
  max-width: none;
  margin-inline: calc((100% - var(--frankly-header-width)) / 2);
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.frankly-header > a { display: block; flex: 0 0 auto; line-height: 0; }
.frankly-header .header-logo { display: block; width: 260px; max-width: 100%; height: auto; aspect-ratio: 900 / 417; margin: 0; object-fit: contain; }
.frankly-header .presence-header-links { display: contents; }
.frankly-header .site-nav { display: flex; flex: 0 1 auto; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 24px; padding: 8px 0 0; margin: 0; }
.frankly-header .site-nav a { display: inline-flex; align-items: center; margin: 0; padding: 0; font-size: .92rem; font-weight: 850; line-height: 1; white-space: nowrap; }
.frankly-header .site-nav a + a::before { left: -12px; }
.frankly-header .site-nav a.nav-pill { min-height: 28px; padding: 5px 12px 6px; border-radius: 999px; }
.frankly-header .site-nav a.nav-pill:not(.nav-pill-sites) { color: var(--ink); background: var(--accent); }
.frankly-header .site-nav a.nav-pill.nav-pill-sites { color: white; background: #123b67; box-shadow: 0 10px 24px rgba(8, 32, 62, .14); }
.frankly-header .site-nav a.nav-pill.nav-pill-sites:hover,
.frankly-header .site-nav a.nav-pill.nav-pill-sites:focus-visible { color: white; background: var(--ink); }
.frankly-header .site-nav a:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.frankly-header-utility { margin-bottom: 32px; }
@media (max-width: 760px) {
  .frankly-header { flex-direction: column; gap: 12px; }
  .frankly-header .header-logo { width: 250px; max-width: 74vw; }
  .frankly-header .site-nav { justify-content: flex-start; padding-top: 0; gap: 12px 14px; }
  .frankly-header .site-nav a + a::before { display: none; }
}
@media (max-width: 600px) {
  .frankly-header { --frankly-header-width: calc(100vw - 32px); }
}
/* Keep the existing support return link inside narrow utility-page content. */
.page:has(> .frankly-header) .support-about .contact-button { max-width: 100%; white-space: normal; text-align: center; }
