/* Navigation styling adapted from the user-supplied Frostwood theme. */
/* Header */
.fw-nav-shell {
  position: fixed;
  z-index: 1000;
  top: 24px;
  left: 50%;
  width: 315px;
  height: 58px;
  margin: 0 !important;
  transform: translateX(-50%);
  will-change: width;
  transition: width 780ms cubic-bezier(.4,0,.2,1);
}
.fw-nav-shell:hover,
.fw-nav-shell:focus-within,
.fw-nav-shell.is-open {
  width: min(620px, calc(100vw - 40px));
  transition-duration: 900ms;
  transition-timing-function: cubic-bezier(.16,1,.3,1);
}
.fw-nav-pill {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 58px;
  margin: 0;
  padding: 0 22px;
  overflow: hidden;
  border: 1px solid rgba(226,240,255,.58);
  border-radius: 999px;
  background:
    radial-gradient(120% 190% at 9% -70%, rgba(255,255,255,.46) 0%, rgba(205,226,250,.17) 36%, transparent 62%),
    radial-gradient(90% 180% at 96% 130%, rgba(163,202,245,.27) 0%, transparent 56%),
    linear-gradient(112deg, rgba(180,210,242,.18), rgba(72,99,132,.13) 48%, rgba(10,22,38,.24));
  background-position: 0 0, 0 0, 0 0;
  box-shadow:
    inset 0 1.5px 1px rgba(255,255,255,.48),
    inset 0 -1.5px 2px rgba(196,222,250,.16),
    inset 18px 0 30px -27px rgba(255,255,255,.72),
    inset -20px 0 32px -28px rgba(201,226,255,.60),
    0 16px 44px rgba(0,8,20,.18),
    0 0 0 .5px rgba(255,255,255,.10);
  backdrop-filter: blur(20px) saturate(150%) brightness(1.07) contrast(1.03);
  -webkit-backdrop-filter: blur(20px) saturate(150%) brightness(1.07) contrast(1.03);
  transition:
    padding 780ms cubic-bezier(.4,0,.2,1),
    background-position 900ms cubic-bezier(.16,1,.3,1),
    border-color 420ms ease,
    box-shadow 520ms ease;
}
.fw-nav-pill::before,
.fw-mega-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 25% 150% at 88% 0%, rgba(255,255,255,.42), rgba(210,230,255,.13) 34%, transparent 67%),
    radial-gradient(ellipse 18% 120% at 5% 78%, rgba(215,235,255,.23), transparent 70%),
    linear-gradient(104deg, transparent 18%, rgba(255,255,255,.06) 43%, rgba(255,255,255,.16) 51%, transparent 62%);
  background-size: 100% 100%, 100% 100%, 165% 100%;
  background-position: 0 0, 0 0, 82% 0;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: background-position 900ms cubic-bezier(.16,1,.3,1), transform 900ms cubic-bezier(.16,1,.3,1), opacity 420ms ease;
}
.fw-nav-pill::after,
.fw-mega-menu::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.10);
  border-top-color: rgba(255,255,255,.48);
  box-shadow: inset 0 8px 14px -14px rgba(255,255,255,.78), inset 0 -8px 14px -15px rgba(188,218,250,.42);
  pointer-events: none;
}
.fw-nav-shell:hover .fw-nav-pill,
.fw-nav-shell:focus-within .fw-nav-pill,
.fw-nav-shell.is-open .fw-nav-pill { padding-inline: 30px; border-color: rgba(236,246,255,.72); background-position: 7% 0, -5% 0, 0 0; box-shadow: inset 0 1.5px 1px rgba(255,255,255,.56), inset 0 -1.5px 2px rgba(196,222,250,.20), inset 26px 0 38px -34px rgba(255,255,255,.78), inset -28px 0 42px -36px rgba(201,226,255,.68), 0 20px 54px rgba(0,8,20,.20), 0 0 0 .5px rgba(255,255,255,.16); }
.fw-nav-shell:hover .fw-nav-pill::before,
.fw-nav-shell:focus-within .fw-nav-pill::before,
.fw-nav-shell.is-open .fw-nav-pill::before { background-position: 2% 0, -2% 0, 25% 0; transform: translateX(1.5%); }
.fw-brand { position: relative; z-index: 1; gap: 11px; }
.fw-brand .fw-icon { width: 19px; height: 19px; flex-basis: 19px; color: rgba(255,255,255,.92); }
.fw-brand p, .fw-nav-pill p { margin: 0; color: rgba(255,255,255,.94); font-size: 12px; font-weight: 500; line-height: 1; letter-spacing: .09em; }
.fw-menu-toggle {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.78);
  cursor: pointer;
  transition: color 220ms ease;
}
.fw-menu-toggle:hover { color: #fff; }
.fw-menu-toggle svg { width: 20px; height: 20px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.fw-menu-line { transform-box: fill-box; transform-origin: center; transition: transform 280ms ease, opacity 180ms ease; }
.fw-nav-shell.is-open .fw-menu-line-1 { transform: translateY(5px) rotate(45deg); }
.fw-nav-shell.is-open .fw-menu-line-2 { opacity: 0; }
.fw-nav-shell.is-open .fw-menu-line-3 { transform: translateY(-5px) rotate(-45deg); }

/* Mega Menu */
.fw-mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 100%;
  height: 448px;
  margin: 0 !important;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(226,240,255,.52);
  border-radius: 28px;
  background:
    radial-gradient(110% 70% at 10% -12%, rgba(224,239,255,.27), transparent 58%),
    radial-gradient(85% 65% at 104% 106%, rgba(133,178,228,.18), transparent 60%),
    linear-gradient(142deg, rgba(154,188,224,.20), rgba(48,72,102,.25) 48%, rgba(9,19,32,.38));
  box-shadow: inset 0 1.5px 1px rgba(255,255,255,.36), inset 0 -1px 2px rgba(187,216,247,.12), inset 18px 0 36px -34px rgba(255,255,255,.50), inset -18px 0 36px -34px rgba(193,222,255,.38), 0 26px 74px rgba(0,0,0,.24);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transform-origin: top center;
  transition: opacity 330ms ease 0ms, transform 330ms ease 0ms, visibility 330ms;
  backdrop-filter: blur(24px) saturate(145%) brightness(1.045) contrast(1.025);
  -webkit-backdrop-filter: blur(24px) saturate(145%) brightness(1.045) contrast(1.025);
}
.fw-nav-shell.is-open .fw-mega-menu[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 280ms;
}
.fw-nav-search {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 50px;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
}
.fw-nav-search svg { width: 21px; height: 21px; flex: 0 0 21px; fill: none; stroke: rgba(255,255,255,.9); stroke-width: 1.5; }
.fw-nav-search input { width: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: #fff; font-family: inherit; font-size: 14px; font-weight: 400; line-height: 1; }
.fw-nav-search input::placeholder { color: rgba(255,255,255,.5); }
.fw-weather-card,
.fw-cabin-selector { position: relative; z-index: 1; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.035); box-shadow: inset 0 1px rgba(255,255,255,.08); }
.fw-weather-card { height: 142px; margin: 14px 0 !important; padding: 18px 24px; border-radius: 20px; align-items: center !important; }
.fw-weather-copy p { margin: 0; }
.fw-weather-place { font-size: 15px; font-weight: 500; }
.fw-weather-temp { margin-top: 4px !important; font-size: 42px; font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.fw-weather-condition { margin-top: 7px !important; color: rgba(255,255,255,.62); font-size: 13px; }
.fw-weather-card > .fw-icon { width: 92px; height: 92px; flex-basis: 92px; color: rgba(255,255,255,.82); transform: translateY(2px); }
.fw-cabin-selector { height: 188px; padding: 14px; border-radius: 22px; }
.fw-cabin-slide { display: none !important; height: 112px; align-items: stretch !important; gap: 18px; opacity: 0; transform: translateX(8px); transition: opacity 300ms ease, transform 300ms ease; }
.fw-cabin-slide.is-active { display: flex !important; opacity: 1; transform: translateX(0); animation: fw-cabin-in 300ms ease both; }
.fw-cabin-slide.is-active.is-reverse { animation: fw-cabin-in-reverse 300ms ease both; }
@keyframes fw-cabin-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fw-cabin-in-reverse { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }
.fw-cabin-image { width: 40%; height: 112px; flex: 0 0 40%; margin: 0 !important; }
.fw-cabin-image a, .fw-cabin-image img { display: block; width: 100%; height: 100%; }
.fw-cabin-image img { object-fit: cover; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; }
.fw-cabin-info { align-self: center; margin: 0 !important; }
.fw-cabin-title { margin: 0; font-size: 22px; font-weight: 400; letter-spacing: -.015em; }
.fw-cabin-title a { color: #fff; text-decoration: none; }
.fw-cabin-kicker { margin: 5px 0 0; color: rgba(255,255,255,.56); font-size: 13px; }
.fw-cabin-controls { position: absolute; right: 14px; bottom: 14px; left: calc(40% + 32px); display: flex; align-items: center; justify-content: space-between; }
.fw-cabin-controls button, .fw-cabin-position { display: flex; min-width: 64px; height: 40px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.04); color: #fff; }
.fw-cabin-controls button { cursor: pointer; transition: background 180ms ease, border-color 180ms ease; }
.fw-cabin-controls button:hover { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.09); }
.fw-cabin-controls svg { width: 19px; height: 19px; fill: currentColor; }
.fw-cabin-position { min-width: 78px; flex-direction: column; gap: 3px; font-size: 12px; }
.fw-cabin-dots { display: flex; gap: 3px; }
.fw-cabin-dots i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.28); }
.fw-cabin-dots i.is-active { background: rgba(255,255,255,.92); }

