/**
 * Airway Connect header + footer — styling extracted 1:1 from the live site
 * (airwayconnect.com build CSS). Tailwind utilities (Play CDN) cover layout;
 * this file supplies the brand variables + custom-class rules + responsive
 * off-canvas mobile drawer, so the chrome matches the original exactly.
 */

:root {
  --color-primary: #1e40af;
  --color-dark: #000000;
  --color-white: #ffffff;
}

/* Chrome typography — the live site renders in Figtree. */
.header,
.header *,
footer.bg-dark-color,
footer.bg-dark-color * {
  font-family: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ===== Header ===== */
.header {
  top: 0;
  left: 0;
  z-index: 50;
}

/* The header is absolute + transparent (overlays a hero). On the single blog
 * page the article header starts at the very top, so add clearance equal to the
 * header height to stop the nav overlapping the breadcrumb/title. Hero pages
 * (home, archive, taxonomy) need no offset — their tall hero sits behind it. */
.single-blog .art-head {
  padding-top: 110px;
}

/* Tailwind (loaded for the header/footer) also defines `.container`, which
 * otherwise overrides the theme's container on the blog detail page. Re-assert
 * the theme container here with higher specificity so blog content keeps its
 * theme max-width (--maxw, 1536px) + gutters, while the header/footer keep
 * Tailwind's own container. */
.single-blog .container {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  /* padding-left: 24px; */
  /* padding-right: 24px; */
  padding-left: 0;
  padding-right: 0;
}

.header .desktop-menu {
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header .desktop-menu li {
  list-style: none;
  margin: 0;
}

/* ===== Buttons (exact: min-width 139 / height 50 / radius 10) ===== */
.primary-button,
.outline-button {
  min-width: 139px;
  height: 50px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
}

.primary-button {
  background: var(--color-primary);
  color: var(--color-white);
  border: 1px solid var(--color-primary);
}

.outline-button {
  background: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
}

/* ===== Footer ===== */
.bg-dark-color {
  background: var(--color-dark);
}

footer .footer-container {
  padding: 90px 0 30px;
  border-bottom: 1px solid white;
}

footer .left-content {
  width: 30%;
}
footer .right-content {
  width: 40%;
}

footer .footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer .right-content .footer-menu {
  margin-top: 10px;
}

footer .right-content .footer-menu li {
  margin-bottom: 10px;
}

footer .right-content .footer-menu li a {
  color: #9ca3af;
  font-size: 18px;
}

.social-icons img {
  height: 30px !important;
  width: 30px !important;
}

/* ===== Responsive: off-canvas mobile drawer (≤991px), exact behaviour ===== */
@media screen and (max-width: 991px) {
  #mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    padding: 2rem;
    transition: transform 0.5s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
  }

  #mobile-menu.active {
    transform: translateX(0);
  }

  #mobile-menu ul {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 4rem;
  }

  #menu-toggle {
    z-index: 1001;
  }

  footer .footer-container {
    flex-direction: column;
  }

  footer .footer-container .left-content,
  footer .footer-container .right-content {
    width: 100%;
    margin-bottom: 20px;
  }

  footer .social-container .social-icons {
    justify-content: center;
  }
}