/* ==========================================================================
   Recruiter Mill — shared header bar
   Single source of truth for the site header (logo + "book a call" CTA).
   Linked by BOTH the Webflow homepage (public/index.html) and the Astro pages
   via src/layouts/BaseLayout.astro. The homepage does NOT load custom.css, so
   the few tokens this file needs are mirrored here from src/styles/custom.css.
   ========================================================================== */
:root {
  --rm-container: 80rem;
  --rm-ink: #171717;
  --rm-teal: #37b3a4;
  --rm-font: "Roboto Condensed", Arial, sans-serif;
}

.rm-header {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
  background-color: #fff9;
  border-bottom: 1px solid #e5e7eb;
}
.rm-header__inner {
  max-width: var(--rm-container); margin: 0 auto; padding: 1rem 5%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.rm-header__logo { display: inline-flex; align-items: center; }
.rm-header__logo img { height: 2.2rem; width: auto; display: block; }
.rm-header__nav { display: flex; align-items: center; gap: 1.5rem; }
.rm-header__link {
  font-family: var(--rm-font); font-weight: 700; text-transform: uppercase;
  font-size: 1rem; letter-spacing: 0.02em; color: var(--rm-ink); text-decoration: none;
}
.rm-header__link:hover { color: var(--rm-teal); }

@media screen and (max-width: 767px) {
  .rm-header__link { display: none; } /* keep CTA + logo on small screens */
}
@media screen and (max-width: 479px) {
  /* Keep the header tight + prevent the Webflow button right-margin from overflowing */
  .rm-header .primary-btn.small { margin-right: 0; }
  .rm-header__logo img { height: 1.9rem; }
}
