/* The masthead of journa.world's white pages (Pages/Shared/_Masthead.cshtml): the name, search and Journa Legacy across the top, the seven
   categories under them as the menu (the owner, 2026-12-03, after People.com). White, always. */
@font-face { font-family: "IM Fell English"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/im-fell/im-fell-english.woff2") format("woff2"); }

/* The masthead is worn by pages that do not load site.css (the site's information pages), so it hides its own labels. */
.masthead .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.masthead { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid #e3e3e3; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.masthead-row { display: flex; align-items: center; gap: 1rem; max-width: calc(1240px + 2 * clamp(1rem, 3vw, 2rem)); margin: 0 auto; padding: .7rem clamp(1rem, 3vw, 2rem) .4rem; }
.masthead-logo { font-family: "IM Fell English", "Iowan Old Style", Georgia, serif; font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1; color: #0a1424; text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.masthead-logo span { color: #b8892f; }
.masthead-logo:hover, .masthead-logo:focus-visible { color: #0a1424; }
.masthead-search { margin-left: auto; display: flex; align-items: center; border: 1px solid #cfcfcf; border-radius: 999px; overflow: hidden; background: #fff; }
.masthead-search input { border: 0; outline: 0; padding: .45rem .2rem .45rem .9rem; width: clamp(7rem, 18vw, 14rem); font: inherit; font-size: .92rem; color: #111; background: transparent; }
.masthead-search button { border: 0; background: transparent; color: #333; padding: .45rem .8rem .45rem .5rem; cursor: pointer; display: flex; }
.masthead-search:focus-within { border-color: #0a1424; box-shadow: 0 0 0 2px rgba(10, 20, 36, .12); }
.masthead-legacy { font-size: .85rem; font-weight: 600; color: #0a1424; text-decoration: none; border: 1px solid #0a1424; border-radius: 999px; padding: .4rem .9rem; white-space: nowrap; }
.masthead-legacy:hover, .masthead-legacy:focus-visible { background: #0a1424; color: #fff; }
.masthead-nav { display: flex; justify-content: center; gap: .2rem clamp(.8rem, 2.4vw, 2.2rem); max-width: calc(1240px + 2 * clamp(1rem, 3vw, 2rem)); margin: 0 auto; padding: .35rem clamp(1rem, 3vw, 2rem) .55rem; overflow-x: auto; scrollbar-width: none; }
.masthead-nav::-webkit-scrollbar { display: none; }
.masthead-nav a { font-size: .82rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #222; text-decoration: none; padding: .2rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.masthead-nav a:hover, .masthead-nav a:focus-visible { color: #000; border-bottom-color: #b8892f; }
.masthead-nav a[aria-current="page"] { color: #000; border-bottom-color: #0a1424; }
/* Travel (the owner, 2026-12-04) beside Journa Legacy; on a phone only Travel stays, since a traveller is the one holding it (and on
   Travel's own pages, the Magazine). */
@media (max-width: 640px) {
  .masthead-row { gap: .6rem; }
  .masthead-legacy:not(.masthead-keep) { display: none; }
  .masthead-keep { padding: .35rem .75rem; }
  .masthead-search input { width: clamp(4.5rem, 22vw, 7rem); }
  .masthead-nav { justify-content: flex-start; }
}
