:root {
  --navy: #071827;
  --navy-2: #102d43;
  --sky: #7ad6e5;
  --paper: #eef3f6;
  --white: #ffffff;
  --ink: #0c2233;
  --muted: #647581;
  --line: rgba(12, 34, 51, 0.13);
  --gold: #c7982d;
  --gold-light: #f7e3a0;
  --container: min(1460px, calc(100vw - 48px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.evr-flight-log {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
body.admin-bar .flight-hero { padding-top: 58px; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
.flight-container { width: var(--container); margin-inline: auto; }

.flight-gate {
  position: relative;
  display: grid;
  min-height: 100vh;
  padding: 54px 24px;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 18% 22%, rgba(122, 214, 229, 0.18), transparent 24%),
    radial-gradient(circle at 84% 76%, rgba(233, 79, 53, 0.18), transparent 26%),
    var(--navy);
}
.flight-gate::before,
.flight-gate::after {
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  content: "";
}
.flight-gate::before { top: -260px; right: -170px; }
.flight-gate::after { bottom: -320px; left: -170px; }
.gate-card {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  padding: clamp(34px, 7vw, 64px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 34px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 34px 100px rgba(0,0,0,.32);
}
.gate-mark,
.hero-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 22px;
  background: var(--navy);
  color: var(--sky);
}
.gate-mark svg { width: 48px; }
.gate-kicker,
.hero-kicker,
.toolbar-kicker,
.notes-kicker {
  margin: 28px 0 12px;
  color: #137b91;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.gate-card h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 8vw, 68px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
}
.gate-copy { margin: 24px 0 30px; color: var(--muted); font-size: 18px; }
.flight-password-form label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.password-control { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.password-control input {
  min-width: 0;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f8fafb;
  color: var(--ink);
  outline: none;
}
.password-control input:focus { border-color: #1689a0; box-shadow: 0 0 0 4px rgba(22,137,160,.13); }
.password-control button {
  min-height: 54px;
  padding: 12px 18px;
  border: 0;
  border-radius: 13px;
  background: #e94f35;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}
.gate-note { margin: 22px 0 0; color: #87949c; font-size: 12px; }

.flight-hero {
  position: relative;
  padding: 26px 0 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 30%, rgba(122,214,229,.17), transparent 26%),
    linear-gradient(135deg, #071827 0%, #0d2c43 100%);
  color: #fff;
}
.flight-hero::after {
  position: absolute;
  top: -260px;
  right: -180px;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  content: "";
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 3vw, 40px); }
.hero-icon { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.1); color: var(--sky); }
.hero-icon svg { width: 28px; }
.hero-kicker { margin: 8px 0 4px; color: var(--sky); font-size: 10px; }
.flight-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4.6vw, 60px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .94;
}
.hero-intro { max-width: 640px; margin: 8px 0 0; color: rgba(255,255,255,.7); font-size: clamp(14px, 1.2vw, 16px); line-height: 1.4; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(112px, 1fr)); gap: 6px; }
.hero-stats div { min-width: 112px; padding: 11px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.07); backdrop-filter: blur(10px); }
.hero-stats strong, .hero-stats span { display: block; }
.hero-stats strong { color: var(--sky); font-family: Georgia, "Times New Roman", serif; font-size: 26px; line-height: 1; }
.hero-stats span { margin-top: 3px; color: rgba(255,255,255,.65); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.flight-main { padding: 30px 0 80px; }
.flight-toolbar { margin-bottom: 20px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.88); box-shadow: 0 18px 55px rgba(7,24,39,.07); }
.toolbar-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.toolbar-kicker, .notes-kicker { margin: 0 0 8px; color: #b3432f; }
.toolbar-kicker { margin-bottom: 4px; }
.toolbar-heading h2, .flight-notes h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 4vw, 46px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.toolbar-heading h2 { font-size: clamp(27px, 3vw, 36px); }
.filter-grid { display: grid; grid-template-columns: minmax(260px, 1.6fr) repeat(4, minmax(140px, 1fr)); gap: 9px 10px; }
.filter-grid label { display: flex; min-width: 0; flex-direction: column; }
.filter-grid label > span { display: block; margin: 0 0 4px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.filter-grid input, .filter-grid select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  outline: none;
}
.filter-grid input:focus, .filter-grid select:focus { border-color: #1689a0; box-shadow: 0 0 0 3px rgba(22,137,160,.11); }
.filter-status { margin-top: 10px; color: var(--muted); font-size: 12px; }
.filter-status strong { color: var(--ink); }

.flight-table { width: 100%; }
.flight-table-head, .flight-row { display: grid; grid-template-columns: minmax(220px, 280px) 145px minmax(300px, 1.35fr) minmax(190px, .9fr) minmax(170px, .78fr); gap: 22px; }
.flight-table-head { padding: 0 24px 12px; color: #71818b; font-size: 10px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.flight-rows { display: grid; gap: 14px; }
.flight-row {
  position: relative;
  align-items: center;
  min-height: 184px;
  padding: 14px 24px 14px 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 8px solid var(--airline);
  border-radius: 22px;
  background: linear-gradient(112deg, var(--airline-tint) 0%, #fff 31%, #fff 100%);
  box-shadow: 0 12px 34px rgba(7,24,39,.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.flight-row:hover { transform: translateY(-3px); box-shadow: 0 18px 45px rgba(7,24,39,.12); }
.flight-row[hidden] { display: none; }
.flight-row.is-business {
  border-color: rgba(187,139,35,.48);
  border-left-color: var(--airline);
  box-shadow: 0 14px 42px rgba(128,91,13,.13), inset 0 0 0 1px rgba(255,220,127,.2);
}
.flight-row.is-business::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #d6aa42 28%, #fff0b2 50%, #d6aa42 72%, transparent);
  content: "";
}
.aircraft-photo { position: relative; height: 156px; overflow: hidden; border-radius: 15px; background: #d9e2e7; }
.aircraft-photo::after { position: absolute; inset: auto 0 0; height: 46%; background: linear-gradient(transparent, rgba(0,0,0,.66)); content: ""; pointer-events: none; }
.aircraft-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 320ms ease; }
.flight-row:hover .aircraft-photo img { transform: scale(1.035); }
.photo-credit { position: absolute; z-index: 2; right: 10px; bottom: 8px; color: rgba(255,255,255,.86); font-size: 10px; font-weight: 700; text-decoration: none; }
.flight-identity strong, .flight-identity span { display: block; }
.flight-date { color: var(--muted); font-size: 13px; }
.flight-identity strong { margin-top: 5px; color: var(--airline-dark); font-size: 21px; }
.flight-number { margin-top: 8px; color: #8b989f; font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.route-line { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 12px; }
.route-line strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(18px, 1.8vw, 25px); font-weight: 600; line-height: 1.18; }
.route-arrow { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; background: var(--airline); color: #fff; font-size: 17px; }
.airline-cell strong, .airline-cell small, .cabin-cell strong { display: block; }
.airline-cell { position: relative; padding-left: 18px; }
.airline-dot { position: absolute; top: 6px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--airline); }
.airline-cell strong { font-size: 15px; line-height: 1.35; }
.airline-cell small { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.cabin-badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px; font-size: 10px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.economy-badge { background: #e7edf0; color: #50616c; }
.business-badge { border: 1px solid #e0bd62; background: linear-gradient(135deg, #fff5c6, #d7a83d); color: #5d3f08; box-shadow: 0 7px 18px rgba(169,119,15,.18); }
.aircraft-type { margin-top: 12px; font-size: 14px; }
.flight-empty { padding: 70px 24px; border: 1px dashed #aebbc2; border-radius: 20px; color: var(--muted); text-align: center; }

.flight-notes { display: grid; grid-template-columns: minmax(260px,.7fr) minmax(0,1.3fr); gap: 48px; margin-top: 60px; padding: 42px; border-radius: 28px; background: var(--navy); color: #fff; }
.flight-notes p { color: rgba(255,255,255,.64); }
.photo-credits-panel { align-self: start; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.06); }
.photo-credits-panel summary { padding: 18px 20px; cursor: pointer; color: var(--sky); font-weight: 800; }
.credit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-height: 420px; padding: 0 18px 18px; overflow: auto; }
.credit-grid p { margin: 0; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: 11px; }
.credit-grid strong, .credit-grid span, .credit-grid a { display: block; }
.credit-grid strong { color: #fff; font-size: 12px; }
.credit-grid span { margin-top: 5px; }
.credit-grid a { margin-top: 7px; color: var(--sky); font-weight: 750; text-decoration: none; }
.flight-footer { padding: 30px 0; background: #04111c; color: rgba(255,255,255,.55); }
.flight-footer .flight-container { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; }

@media (max-width: 1180px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 24px; }
  .hero-stats { width: auto; }
  .filter-grid { grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(110px, 1fr)); gap: 10px; }
  .filter-grid label:nth-child(4), .filter-grid label:nth-child(5) { grid-column: auto; }
  .flight-table-head { display: none; }
  .flight-row { grid-template-columns: 220px 130px minmax(240px,1fr) minmax(170px,.8fr); }
  .cabin-cell { grid-column: 2 / -1; display: flex; align-items: center; gap: 14px; margin-top: -4px; }
  .aircraft-type { margin-top: 0; }
}

@media (max-width: 820px) {
  :root { --container: min(100% - 28px, 1460px); }
  body.admin-bar .flight-hero { padding-top: 68px; }
  .flight-hero { padding: 22px 0 20px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 16px; }
  .hero-icon { width: 36px; height: 36px; border-radius: 11px; }
  .hero-icon svg { width: 26px; }
  .hero-kicker { margin: 6px 0 3px; }
  .flight-hero h1 { font-size: clamp(38px, 7vw, 50px); }
  .hero-intro { margin-top: 5px; font-size: 14px; line-height: 1.35; }
  .hero-stats { grid-template-columns: repeat(3, minmax(90px, 1fr)); }
  .hero-stats div { min-width: 90px; padding: 9px 8px; }
  .hero-stats strong { font-size: 22px; }
  .hero-stats span { font-size: 8px; line-height: 1.25; }
  .flight-toolbar { padding: 18px; }
  .toolbar-heading h2 { font-size: clamp(27px, 4.2vw, 34px); }
  .filter-grid { grid-template-columns: minmax(200px, 1.8fr) repeat(2, minmax(120px, 1fr)); gap: 8px; }
  .search-field { grid-column: auto; }
  .flight-row { grid-template-columns: 1fr 1fr; gap: 18px; padding: 14px; }
  .aircraft-photo { grid-column: 1 / -1; height: auto; aspect-ratio: 16 / 9; }
  .route-cell { grid-column: 1 / -1; }
  .airline-cell { grid-column: 1 / -1; }
  .cabin-cell { grid-column: 1 / -1; margin: 0; }
  .flight-notes { grid-template-columns: 1fr; padding: 28px; }
  .credit-grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .flight-gate { padding: 20px 14px; }
  .gate-card { padding: 30px 22px; border-radius: 24px; }
  .password-control { grid-template-columns: 1fr; }
  .flight-main { padding-top: 20px; }
  .flight-toolbar { padding: 16px 14px; }
  .toolbar-heading { display: block; margin-bottom: 12px; }
  .toolbar-heading .toolbar-kicker { display: none; }
  .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .search-field { grid-column: 1 / -1; }
  .flight-row { grid-template-columns: 1fr; }
  .aircraft-photo, .route-cell, .airline-cell, .cabin-cell { grid-column: auto; }
  .route-line { grid-template-columns: 1fr; gap: 8px; }
  .route-arrow { width: 30px; height: 30px; transform: rotate(90deg); }
  .flight-footer .flight-container { flex-direction: column; }
}

@media (max-width: 640px) {
  body.admin-bar .flight-hero { padding-top: 66px; }
  .flight-hero { padding: 20px 0 18px; }
  .hero-inner { grid-template-columns: 1fr; gap: 10px; }
  .flight-hero h1 { font-size: clamp(38px, 11vw, 48px); }
  .hero-intro { margin-top: 5px; }
  .hero-stats { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-stats div { min-width: 0; }
  .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-field { grid-column: 1 / -1; }
}

@media (max-width: 380px) {
  .hero-stats strong { font-size: 22px; }
  .hero-stats span { font-size: 8px; }
}

/* Extra-slim hero and filter toolbar. Kept last to win over earlier breakpoints. */
.flight-hero { padding: 12px 0; }
body.admin-bar .flight-hero { padding-top: 44px; }
.hero-inner { gap: 16px; }
.hero-main {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  grid-template-areas:
    "icon kicker"
    "icon title";
  column-gap: 10px;
  align-items: center;
  min-width: 0;
}
.hero-icon {
  grid-area: icon;
  width: 32px;
  height: 32px;
  border-radius: 9px;
}
.hero-icon svg { width: 22px; }
.hero-kicker {
  grid-area: kicker;
  margin: 0;
  font-size: 8px;
  line-height: 1.15;
  white-space: nowrap;
}
.flight-hero h1 {
  grid-area: title;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.045em;
}
.hero-intro { display: none; }
.hero-stats {
  grid-template-columns: repeat(3, minmax(82px, 1fr));
  gap: 5px;
}
.hero-stats div {
  min-width: 0;
  padding: 5px 8px;
  border-radius: 9px;
}
.hero-stats strong { font-size: 20px; }
.hero-stats span {
  margin-top: 1px;
  font-size: 8px;
  line-height: 1.15;
  white-space: nowrap;
}

.flight-main { padding-top: 14px; }
.flight-toolbar {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  grid-template-areas: "heading filters status";
  align-items: end;
  gap: 10px;
  margin-bottom: 14px;
  padding: 8px 10px;
  border-radius: 14px;
}
.toolbar-heading {
  grid-area: heading;
  display: block;
  align-self: center;
  min-width: 0;
  margin: 0;
}
.toolbar-heading .toolbar-kicker { display: none; }
.toolbar-heading h2 {
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}
.filter-grid {
  grid-area: filters;
  grid-template-columns: minmax(160px, 1.6fr) repeat(4, minmax(96px, 1fr));
  gap: 6px;
  min-width: 0;
}
.filter-grid label > span {
  margin-bottom: 2px;
  font-size: 8px;
  line-height: 1.15;
}
.filter-grid input,
.filter-grid select {
  min-height: 36px;
  padding: 4px 7px;
  border-radius: 8px;
  font-size: 14px;
}
.filter-status {
  grid-area: status;
  margin: 0;
  padding-bottom: 6px;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .flight-toolbar {
    grid-template-columns: minmax(0, 1fr) max-content;
    grid-template-areas:
      "heading status"
      "filters filters";
    align-items: center;
    row-gap: 6px;
  }
  .filter-status { padding-bottom: 0; }
}

@media (max-width: 782px) {
  body.admin-bar .flight-hero { padding-top: 58px; }
}

@media (max-width: 680px) {
  body.admin-bar .flight-hero { padding-top: 55px; }
  .flight-hero { padding: 9px 0 8px; }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .flight-hero h1 { font-size: 28px; }
  .hero-stats {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .flight-toolbar {
    display: block;
    padding: 8px;
    border-radius: 12px;
  }
  .toolbar-heading { display: none; }
  .filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .search-field { grid-column: 1 / -1; }
  .filter-grid input,
  .filter-grid select {
    min-height: 42px;
    padding: 6px 8px;
    font-size: 16px;
  }
  .filter-status {
    margin-top: 6px;
    padding: 0 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* WordPress-managed navigation for the two private subsite headers. */
.flight-hero .hero-inner {
  grid-template-columns: minmax(0, 1fr) auto 44px;
  gap: 12px;
}
.evr-subsite-nav {
  position: relative;
  z-index: 30;
  width: 44px;
  margin: 0;
  color: #fff;
}
.evr-subsite-nav > summary {
  list-style: none;
}
.evr-subsite-nav > summary::-webkit-details-marker {
  display: none;
}
.evr-subsite-nav__toggle {
  display: grid;
  width: 44px;
  height: 44px;
  box-sizing: border-box;
  padding: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 11px;
  background: rgba(255,255,255,.09);
  color: #fff;
  cursor: pointer;
  place-items: center;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.evr-subsite-nav__toggle:hover,
.evr-subsite-nav[open] .evr-subsite-nav__toggle {
  border-color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.16);
}
.evr-subsite-nav__toggle:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}
.evr-subsite-nav__icon {
  display: grid;
  gap: 4px;
}
.evr-subsite-nav__icon i {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: opacity 160ms ease, transform 160ms ease;
}
.evr-subsite-nav[open] .evr-subsite-nav__icon i:first-child {
  transform: translateY(6px) rotate(45deg);
}
.evr-subsite-nav[open] .evr-subsite-nav__icon i:nth-child(2) {
  opacity: 0;
}
.evr-subsite-nav[open] .evr-subsite-nav__icon i:last-child {
  transform: translateY(-6px) rotate(-45deg);
}
.evr-subsite-nav__panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  right: 0;
  width: min(220px, calc(100vw - 28px));
  box-sizing: border-box;
  padding: 6px;
  border: 1px solid rgba(7,24,39,.14);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(0,0,0,.24);
  color: #071827;
}
.evr-subsite-nav:not([open]) .evr-subsite-nav__panel {
  display: none;
}
.evr-subsite-nav__list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.evr-subsite-nav__list a {
  display: flex;
  min-height: 42px;
  box-sizing: border-box;
  align-items: center;
  padding: 8px 11px;
  border-radius: 8px;
  color: #071827;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
}
.evr-subsite-nav__list a:hover,
.evr-subsite-nav__list a:focus-visible {
  background: #edf4f7;
  outline: none;
}
.evr-subsite-nav__list .current-menu-item > a,
.evr-subsite-nav__list .current_page_item > a {
  background: #dff4f7;
  color: #0b6676;
}
.flight-hero.has-open-subsite-menu {
  z-index: 300;
  overflow: visible;
}
.flight-hero.has-open-subsite-menu::after {
  display: none;
}

@media (max-width: 680px) {
  .flight-hero .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .flight-hero .hero-main {
    padding-right: 52px;
  }
  .flight-hero .evr-subsite-nav {
    position: absolute;
    top: 0;
    right: 0;
  }
}

@media print {
  .evr-subsite-nav { display: none !important; }
}

/* Combined Flight Log brand supplied by the site owner. */
.flight-hero .hero-main {
  display: block;
  min-width: 0;
}
.flight-hero h1.flight-brand {
  width: clamp(112px, calc(78px + 9vw), 160px);
  margin: 0;
  font-size: inherit;
  letter-spacing: normal;
  line-height: 0;
}
.flight-brand__viewport {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 480 / 196;
  overflow: hidden;
}
.flight-brand__image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

@media (max-width: 680px) {
  .flight-hero .hero-main {
    padding-right: 52px;
  }
}
