@import url("https://dailykin.davidzaza.com/colors.css");

/* ── Site-wide layout: keep footer at bottom; gray below ── */
html, body { height: 100%; }
body{
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--footer-bg); /* pale gray */
}

/* Header/footer should not shrink */
.top-bar,
.site-footer { flex-shrink: 0; }

/* Main content expands to push footer down */
main, .page-wrap, .page-content, .container { flex: 1 0 auto; }

/* Default content backdrop: make main content pale blue site‑wide */
main, .page-wrap, .page-content, .container {
  background: var(--page-bg); /* var(--pale-blue) */
}

/* header-v2.css */

html, body {
  overflow-x: hidden;
}

            body {
        font-family: "Figtree", system-ui, sans-serif;
        margin: 0;
        padding: 0px 0px 0px;
        background-color: #ececec;
      }
      h1 {
        text-align: center;
        margin-bottom: 1rem;
        font-size: 2rem;
      }






        /* 🔽 FULL-WIDTH BAR BACKGROUND 🔽 */
  .top-bar {
    position: relative;
    margin: 0 0px 0rem;       /* cancel body’s side-padding */
    background-color: #ececec; 
    border-bottom: 2px solid #459980; /* Green */
  }
  /* 🔼 END BAR BACKGROUND 🔼 */

  /* 🔽 CENTERED INNER WRAPPER 🔽 */
  .top-bar__inner {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 1.0rem 0 1.5rem;
  }
  /* 🔼 END INNER WRAPPER 🔼 */

  /* ─── Desktop menu ─── */
  .page-menu {
    display: flex;
    justify-content: space-evenly;
    width: 120%;
    max-width: 720px;
    min-width: 0;
    font-size: clamp(1rem, 2vw, 1.25rem);
  }
  .page-menu a,
  .page-menu span.active {
    flex: 0 1 auto;
    min-width: 0;
    margin: 0 clamp(0.25rem, 1vw, 0.5rem);
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    color: #143258;             /* Dark Blue */
    font-size: clamp(1rem, 2vw, 1.25rem);
  }
  .page-menu a:hover,
  .page-menu a.active,
  .page-menu span.active {
    color: #459980;             /* Green */
  }

  /* ─── Hamburger + Mobile Menu ─── */
  .menu-toggle,
  .mobile-menu {
    display: none;
  }
  @media (max-width: 600px) {
    /* wrapper becomes row */
    .top-bar__inner {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      padding: 0.5rem 20px 1.5rem;
      max-width: none;
      box-sizing: border-box;
      gap: 0;
    }
    /* hide desktop nav, show toggle */
    .page-menu { display: none; }
    .menu-toggle {
      display: block;
      background: none;
      border: none;
      font-size: 3rem;
      color: #143258;
      cursor: pointer;
    }
    /* dropdown panel */
    .mobile-menu {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      width: 100vw;
      margin: 0;
      padding: 0 20px 1.5rem;
      display: none;
      flex-direction: column;
      background: #ececec;
      border: 1px solid #ccc;
      box-sizing: border-box;
    }
    .mobile-menu.open {
      display: flex;
    }
    .mobile-menu a,
    .mobile-menu span.active {
      padding: 0.75rem 1rem;
      text-align: center;
      border-bottom: 1px solid #ddd;
      color: #143258;
      text-decoration: none;
      font-size: 1.125rem;
    }
.mobile-menu a.active,
.mobile-menu span.active,
.mobile-menu a:hover {
  display: block;       /* ensures <span> is block‐level like <a> */
  padding: 0.75rem 1rem;
  background: #459980;
  color: #fff;
  text-decoration: none;
}
      /*  ➤ append a little arrow for any new-window link */
  .mobile-menu a[target="_blank"]::after {
    content: ' ↗';            /* non-breaking space + Unicode arrow */
    font-size: 0.9em;         /* slightly smaller than link text */
    vertical-align: text-bottom;
  }

}

      /* Logo — full size by default */
      #logo {
        max-width: 600px;
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto 2rem;
      }

      /* On screens narrower than 600px, scale it down */
      @media (max-width: 600px) {
        #logo {
          max-width: 300px; /* or whatever smaller size you prefer */
          margin-bottom: .1rem; /* adjust spacing if you like */
        }
      }




  /* this is the demo‐body placeholder */
  #demo-body {
    height: 100vh;
    background: #e9eff3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #666;
  }


