/* ============================================================
   tonylocke.com rework — GeneratePress + tl-site chrome
   Drop this in after (or in place of the header/footer rules in)
   /wp-content/mu-plugins/tl-site/tl-site.css.

   It restyles the existing GP header/footer and the tl-nav-cta
   item. It does not change page content (see tlr-shared.css).
   Navy is used only as a small accent: links, a thin rule, and
   outlined pills. The page stays mostly white.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Open+Sans:wght@500;700&display=swap");

body.tl-site {
  --navy: #001c36;
  --gold: #d4bb83;
  --ink: #3a3a3a;
  --muted: #4b4f58;
  --line: #e5e5e5;
  --wash: #f9f9f9;
  --sans: "Open Sans", sans-serif;
  --lato: "Lato", sans-serif;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: #ffffff;
}

body.tl-site a { color: var(--navy); }
body.tl-site a:hover,
body.tl-site a:focus { color: var(--gold); }

/* Header: white, ~80px, logo/title left, uppercase nav right */
.tl-site .site-header {
  background: #ffffff !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: none !important;
}
.tl-site .inside-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}
.tl-site .site-branding { margin: 0; }
.tl-site .main-title,
.tl-site .main-title a,
.tl-site .main-title a:hover {
  color: var(--navy) !important;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0;
  text-decoration: none;
  line-height: 1.2;
}
.tl-site .site-description { display: none; }

.tl-site .main-navigation,
.tl-site .main-navigation ul ul,
.tl-site .main-navigation.toggled .main-nav > ul,
.tl-site .main-navigation .menu-toggle {
  background: #ffffff !important;
}
.tl-site .main-navigation .main-nav > ul,
.tl-site .main-navigation .main-nav ul,
.tl-site .main-navigation ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 2px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tl-site .main-navigation li,
.tl-site .main-navigation .main-nav ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tl-site .main-navigation .menu-toggle {
  color: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 50px;
  padding: 6px 16px;
}
.tl-site .main-navigation .main-nav ul li a,
.tl-site .main-navigation .main-nav > ul > li > a {
  color: var(--navy) !important;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent !important;
}
.tl-site .main-navigation .main-nav ul li:hover > a,
.tl-site .main-navigation .main-nav ul li.current-menu-item > a {
  color: var(--gold) !important;
}

/* Invite CTA: outline pill, not a gold fill */
.tl-site .main-navigation .main-nav ul li.tl-nav-cta > a {
  background: transparent !important;
  color: var(--navy) !important;
  border: 1px solid var(--navy);
  border-radius: 50px;
  line-height: 1.2;
  padding: 8px 20px !important;
  margin: 16px 0 16px 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.tl-site .main-navigation .main-nav ul li.tl-nav-cta > a:hover {
  background: var(--gold) !important;
  border-color: var(--gold);
  color: #000 !important;
}

.tl-site .site-content,
.tl-page .site-content,
.tl-page.separate-containers .inside-article,
.tl-page .inside-article {
  background: #ffffff;
}
.tl-page .entry-header { display: none; }

/* Footer */
.tl-site .site-footer {
  background: var(--wash) !important;
  color: var(--muted) !important;
  border-top: 1px solid var(--line);
  padding: 45px 20px;
}
.tl-site .site-footer a { color: var(--navy); text-decoration: none; }
.tl-site .site-footer a:hover { color: var(--gold); }
.tl-site .footer-widgets { max-width: 1200px; margin: 0 auto; }
.tlr-footer-inner,
.tl-site .tlr-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}
.tlr-footer-brand {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}
.tlr-footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.tlr-footer-nav li { margin: 0.2em 0; }
.tlr-footer-copy {
  text-align: right;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 800px) {
  .tl-site .inside-header {
    flex-wrap: wrap;
    min-height: 0;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .tl-site .main-navigation { width: 100%; }
  .tl-site .main-navigation .main-nav > ul,
  .tl-site .main-navigation .main-nav ul {
    display: flex !important;
    flex-wrap: wrap;
    gap: 4px 14px;
    padding: 0;
    margin: 0;
  }
  .tl-site .main-navigation .main-nav ul li.tl-nav-cta > a {
    margin: 4px 0;
  }
  .tlr-footer-inner,
  .tl-site .tlr-footer-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .tlr-footer-nav,
  .tlr-footer-copy { text-align: left; }
}

/* Hide the now-empty GeneratePress copyright bar */
.tl-site .site-info:empty,
.tl-site .copyright-bar:empty,
.tl-site .site-info:has(> :empty):not(:has(img, a, p, span:not(:empty))) {
  display: none;
}
.tl-site .site-info {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  color: inherit;
}
.tlr-note.tlr-ok,
.tl-note.tl-ok { background: #e8f3e8; color: var(--navy, #001c36); padding: 12px 16px; border-radius: 10px; }
.tlr-note.tlr-err,
.tl-note.tl-err { background: #fbe9e7; color: var(--navy, #001c36); padding: 12px 16px; border-radius: 10px; }

/* Full-width wash behind the 3-column footer (printed before .site-footer) */
.tl-site .tlr-footer-wrap {
  background: var(--wash);
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 45px 20px;
}
.tl-site .site-info,
.tl-site .copyright-bar {
  display: none !important;
}

/* Hide the unused default GP copyright footer so it does not leave a second wash band */
.tl-site .site-footer,
.tl-site .site-footer .site-info,
.tl-site .site-footer .inside-site-info,
.tl-site .site-footer .copyright-bar {
  display: none !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* CCGB mobile chrome shows the short nav wrapped under the logo; hide GP's hamburger */
@media (max-width: 800px) {
  .tl-site .main-navigation .menu-toggle {
    display: none !important;
  }
}
