:root {
  --fl-blue: #072E54;
  --fl-blue-panel: #264f74;
  --fl-blue-border: #476c8d;
  --fl-yellow: #FFC425;
  --fl-white: #ffffff;
  --fl-text: #172033;
  --fl-muted: #64748b;
  --fl-bg: #eef3f8;
  --fl-radius: 10px;
  --fl-max-width: 1228px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--fl-bg);
  color: var(--fl-text);
  font-family: Arial, Helvetica, sans-serif;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 10000;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--fl-yellow);
  color: #07182d;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Header */
.fl-site-header {
  background: var(--fl-blue);
  color: var(--fl-white);
}

.fl-header-inner {
  width: min(100% - 44px, var(--fl-max-width));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.fl-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
  color: var(--fl-white);
  text-decoration: none;
}

.fl-brand-logo {
  display: block;
  flex: 0 0 auto;
  border: 2px solid var(--fl-white);
  border-radius: 8px;
}

.fl-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.fl-brand-name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .2px;
}

.fl-brand-name strong {
  color: var(--fl-yellow);
}

.fl-brand-tagline {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .65px;
}

.fl-primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 29px;
}

.fl-primary-nav a {
  color: var(--fl-white);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.fl-primary-nav a:hover,
.fl-primary-nav a:focus-visible,
.fl-primary-nav a[aria-current="page"] {
  color: var(--fl-yellow);
}

.fl-primary-nav .fl-news-link {
  color: var(--fl-yellow);
}

.fl-yellow-ribbon {
  width: 100%;
  height: 5px;
  background: var(--fl-yellow);
}

.fl-menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 7px;
  background: transparent;
  color: var(--fl-white);
  cursor: pointer;
}

.fl-menu-icon,
.fl-menu-icon::before,
.fl-menu-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: auto;
  background: currentColor;
  content: "";
}

.fl-menu-icon {
  position: relative;
}

.fl-menu-icon::before {
  position: absolute;
  top: -7px;
}

.fl-menu-icon::after {
  position: absolute;
  top: 7px;
}

/* Newsletter panel */
.fl-newsletter-area {
  background: var(--fl-blue);
  padding: 18px 22px 16px;
}

.fl-newsletter-panel {
  width: min(100%, var(--fl-max-width));
  min-height: 110px;
  margin: 0 auto;
  padding: 16px 19px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 535px);
  align-items: center;
  gap: 30px;
  border: 1px solid var(--fl-blue-border);
  border-radius: 12px;
  background: var(--fl-blue-panel);
  color: var(--fl-white);
}

.fl-newsletter-eyebrow {
  margin-bottom: 3px;
  color: #b8cce0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.3px;
}

.fl-newsletter-copy h2 {
  margin: 0 0 5px;
  font-size: 21px;
  line-height: 1.15;
}

.fl-newsletter-copy p {
  max-width: 570px;
  margin: 0;
  color: #eef6fd;
  font-size: 13px;
  line-height: 1.45;
}

.fl-newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 102px;
  gap: 10px;
  align-items: stretch;
}

.fl-newsletter-form input[type="email"] {
  width: 100%;
  min-height: 45px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--fl-white);
  color: var(--fl-text);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.fl-newsletter-form input[type="email"]::placeholder {
  color: #78889e;
  opacity: 1;
}

.fl-newsletter-form input[type="email"]:focus {
  outline: 3px solid rgba(255,196,37,.45);
  border-color: var(--fl-yellow);
}

.fl-newsletter-form button {
  min-height: 45px;
  padding: 0 15px;
  border: 0;
  border-radius: 9px;
  background: var(--fl-yellow);
  color: #07182d;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.fl-newsletter-form button:hover,
.fl-newsletter-form button:focus-visible {
  background: #ffd45c;
}

/* Footer */
.fl-footer-ribbon {
  margin-top: 42px;
}

.fl-site-footer {
  background: var(--fl-blue);
  color: var(--fl-white);
}

.fl-footer-inner {
  width: min(100% - 44px, var(--fl-max-width));
  margin: 0 auto;
  padding: 34px 0 27px;
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) 2fr;
  gap: 64px;
}

.fl-footer-brand p {
  max-width: 460px;
  margin: 17px 0 0;
  color: #d6e4f0;
  font-size: 13px;
  line-height: 1.6;
}

.fl-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 28px;
}

.fl-footer-nav h2 {
  margin: 0 0 13px;
  color: var(--fl-yellow);
  font-size: 12px;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.fl-footer-nav a {
  display: block;
  width: fit-content;
  margin: 0 0 9px;
  color: var(--fl-white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.fl-footer-nav a:hover,
.fl-footer-nav a:focus-visible {
  color: var(--fl-yellow);
}

.fl-footer-bottom {
  width: min(100% - 44px, var(--fl-max-width));
  margin: 0 auto;
  padding: 17px 0 23px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(255,255,255,.17);
  color: #bdd0df;
  font-size: 11px;
}

.fl-footer-bottom p {
  margin: 0;
}

/* Responsive */
@media (max-width: 1050px) {
  .fl-primary-nav {
    gap: 18px;
  }

  .fl-primary-nav a {
    font-size: 12px;
  }

  .fl-newsletter-panel {
    grid-template-columns: 1fr 440px;
  }
}

@media (max-width: 900px) {
  .fl-header-inner {
    min-height: 76px;
  }

  .fl-menu-toggle {
    display: block;
  }

  .fl-primary-nav {
    position: absolute;
    z-index: 500;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    padding: 13px 22px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,.15);
    background: var(--fl-blue);
  }

  .fl-primary-nav.is-open {
    display: flex;
  }

  .fl-primary-nav a {
    padding: 11px 0;
    font-size: 14px;
  }

  .fl-newsletter-panel {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .fl-footer-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 600px) {
  .fl-header-inner,
  .fl-footer-inner,
  .fl-footer-bottom {
    width: min(100% - 28px, var(--fl-max-width));
  }

  .fl-brand-logo {
    width: 46px;
    height: 46px;
  }

  .fl-brand-name {
    font-size: 18px;
  }

  .fl-brand-tagline {
    font-size: 9px;
  }

  .fl-newsletter-area {
    padding: 14px;
  }

  .fl-newsletter-panel {
    padding: 17px;
  }

  .fl-newsletter-form {
    grid-template-columns: 1fr;
  }

  .fl-newsletter-form button {
    width: 100%;
  }

  .fl-footer-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .fl-footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}


/* ==========================================================
   July 2026 header refinement
   Aligns the header with the 1,240px main-content grid and
   presents both the brand and subscribe form as contained cards.
   ========================================================== */

:root {
  --fl-max-width: 1240px;
}

.fl-site-header {
  background: #072E54;
  color: #fff;
  padding: 12px 0 10px;
}

.fl-header-inner,
.fl-header-subscribe-wrap {
  width: min(calc(100% - 48px), var(--fl-max-width));
  margin-left: auto;
  margin-right: auto;
}

.fl-header-inner {
  min-height: 68px;
  gap: 24px;
}

.fl-brand-card {
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 5px 16px rgba(0,0,0,.14);
}

.fl-brand-card:hover,
.fl-brand-card:focus-visible {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,196,37,.65);
}

.fl-brand-logo {
  background: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
}

.fl-primary-nav {
  gap: 22px;
}

.fl-header-subscribe-wrap {
  margin-top: 8px;
}

.fl-subscribe-card {
  min-height: 50px;
  padding: 6px 8px 6px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  background: rgba(255,255,255,.075);
  color: #fff;
}

.fl-subscribe-copy {
  min-width: 0;
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fl-subscribe-copy strong {
  color: var(--fl-yellow);
}

.fl-subscribe-copy span {
  margin-left: 5px;
  color: #dce8f3;
}

.fl-subscribe-form {
  display: grid;
  grid-template-columns: minmax(220px, 310px) auto;
  gap: 7px;
  flex: 0 0 auto;
}

.fl-subscribe-form input[type="email"] {
  width: 100%;
  height: 36px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 7px;
  background: #fff;
  color: var(--fl-text);
  font: 700 13px Arial, Helvetica, sans-serif;
}

.fl-subscribe-form input[type="email"]:focus {
  outline: 3px solid rgba(255,196,37,.32);
  border-color: var(--fl-yellow);
}

.fl-subscribe-form button {
  min-height: 36px;
  height: 36px;
  padding: 0 15px;
  border: 0;
  border-radius: 7px;
  background: var(--fl-yellow);
  color: #07182d;
  font: 900 13px Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.fl-subscribe-form button:hover,
.fl-subscribe-form button:focus-visible {
  background: #ffd45c;
}

.fl-yellow-ribbon {
  height: 5px;
}

@media (max-width: 1080px) {
  .fl-primary-nav {
    gap: 15px;
  }

  .fl-primary-nav a {
    font-size: 12px;
  }

  .fl-subscribe-copy span {
    display: none;
  }
}

@media (max-width: 900px) {
  .fl-site-header {
    padding-bottom: 10px;
  }

  .fl-header-inner,
  .fl-header-subscribe-wrap {
    width: min(calc(100% - 32px), var(--fl-max-width));
  }

  .fl-primary-nav {
    top: 82px;
  }

  .fl-subscribe-card {
    padding: 8px;
  }

  .fl-subscribe-copy {
    display: none;
  }

  .fl-subscribe-form {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (max-width: 560px) {
  .fl-header-inner,
  .fl-header-subscribe-wrap {
    width: min(calc(100% - 24px), var(--fl-max-width));
  }

  .fl-brand-card {
    padding-right: 9px;
  }

  .fl-brand-logo {
    width: 44px;
    height: 44px;
  }

  .fl-brand-name {
    font-size: 17px;
  }

  .fl-brand-tagline {
    font-size: 8px;
    letter-spacing: .45px;
  }

  .fl-subscribe-form {
    grid-template-columns: 1fr;
  }

  .fl-subscribe-form button {
    width: 100%;
  }
}


/* Final brand treatment: no card around the Flightline logo or wordmark */
.fl-brand,
.fl-brand-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.fl-brand:hover,
.fl-brand:focus-visible,
.fl-brand-card:hover,
.fl-brand-card:focus-visible {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.fl-subscribe-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.fl-subscribe-status {
  display: none;
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 700;
}

.fl-subscribe-status.is-visible {
  display: block;
}

.fl-subscribe-status.is-success {
  color: #baf3d2;
}

.fl-subscribe-status.is-error {
  color: #ffd0cc;
}

.fl-subscribe-form.is-complete input[type="email"] {
  border-color: #58c985;
}
