/* Baloo 2 loaded async on home page (index.html) to avoid render-blocking */
html,
body {
  margin: 0;
  padding: 0;
}

:root {
  --blue: #1565c0;
  --blue-dark: #0d47a1;
  --olive-bg: #e4e9d2;
  --text-main: #333333;
  --page-sky: linear-gradient(to bottom, #e7f3ff 0%, #cfe5ff 55%, #b7d6ff 100%);
  --page-sky-solid: #cfe5ff;
  --panel-pale: #f3f8ff;
  --card-white: #ffffff;
  --footer-navy: #0a2744;
  --qv-flight-card-border: 1.25px solid #1565c0;
  --qv-flight-card-radius: 8px;
  --qv-flight-card-pad: 0.9rem 1.05rem 1rem;
  --qv-flight-card-gap: 0.45rem;
  --qv-results-pad: 0.8rem 0.7rem 1rem;
  --qv-results-pad-x: 0.7rem;
  --w20-watch-card-gap: 0.85rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--blue-dark);
  color: var(--text-main);
}

/* Traveler-facing pages share the homepage light-blue sky background. */
body.site-bg-terminals,
body.amc-page,
body.eligibility-page,
body.faq-page,
body.quick-view-page,
body.social-media-page,
body.feedback-page,
body.travel-alerts-page,
body.terminal-page {
  background: var(--page-sky);
  background-color: var(--page-sky-solid);
}

body.amc-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: auto;
  overflow: visible;
}

body.amc-page .page-nav {
  flex-shrink: 0;
}

body.amc-page .amc-page-title-wrap {
  flex-shrink: 0;
}

body.amc-page .amc-layout {
  flex: 1 0 auto;
  min-height: 0;
  overflow: visible;
}

body.amc-page .amc-results {
  min-height: 0;
  overflow: visible;
}

body.amc-page .amc-terminal-list-panel {
  overflow: visible;
  max-height: none;
}

/* Compact sticky filters on desktop; page itself scrolls. */
@media (min-width: 901px) {
  body.amc-page .amc-filters {
    position: sticky;
    top: 4.25rem;
    align-self: start;
    overflow: visible;
  }
}

body.amc-page .amc-filters {
  min-height: 0;
}

body.amc-page .site-footer {
  flex-shrink: 0;
  margin-top: auto;
}

/* ===========================
   Full-screen home hero (buttons over artwork)
   =========================== */

.hero-full {
  position: relative;
  min-height: 100vh;
  background-color: var(--blue-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  max-width: 100%;
  max-height: 100vh;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem 2.5rem;
}

.pops-title {
  font-family: "Baloo 2", system-ui, sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1.1;
  text-align: center;
  color: #ffd43b;
  margin: 0 0 1.5rem;
  text-shadow:
    -2px -2px 0 #0d47a1,
     2px -2px 0 #0d47a1,
    -2px  2px 0 #0d47a1,
     2px  2px 0 #0d47a1,
     0px  3px 4px rgba(0,0,0,0.6);
}

.hero-button {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 0.65rem 1rem; /* ~15% taller (was 0.55rem) */
  border-radius: 999px;
  border: 2px solid #0d47a1; /* darker blue edge */
  background: linear-gradient(180deg, #42a5f5, #1e88e5, #0d47a1);
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.35);
}

.hero-button:hover {
  background: linear-gradient(180deg, #64b5f6, #1e88e5, #0d47a1);
}

.hero-panel {
  display: flex;
  width: 100%;
  justify-content: center;
  padding-right: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(220px, 260px); /* single column of 8 buttons */
  gap: 0.4rem;
  max-width: 260px;
}

@media (max-width: 800px) {
  .hero-panel {
    justify-content: center;
    padding-right: 0;
  }

  .hero-grid {
    grid-template-columns: minmax(180px, 260px);
  }
}

/* ===========================
   Alternate home (index2) – banner + Pop + buttons
   =========================== */

body.home2-page {
  /* Soft sky background behind the hero card */
  background:
    linear-gradient(to bottom, #e7f3ff 0%, #cfe5ff 55%, #b7d6ff 100%);
}

.home2-main {
  flex: 1;
  max-width: 1320px; /* ~18% wider overall container */
  margin: 0 auto;
  padding: 1.25rem 1rem 2.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.home2-page .spacea-banner {
  margin-top: 0.15rem;
}

.home2-title-img {
  display: block;
  width: min(100%, 780px);
  height: auto;
}

.pops-title {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.home2-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home2-hero-image {
  position: relative;
  display: block;
  align-self: center;
  width: min(100%, 560px);
  margin: 0.38rem 0 0.43rem;
}

.home2-hero-main-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1885 / 834;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.home2-intro {
  max-width: 72rem;
  width: 100%;
  margin: 0.30rem auto 0.55rem;
  padding: 0 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.45;
  color: #0d47a1;
  text-align: center;
}

@media (max-width: 560px) {
  .home2-intro {
    font-size: 1.15rem;
  }
}

.home2-primary-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 72rem;
  width: calc(100% - 2rem);
  margin: 0 auto 0.7rem;
  padding: 0;
}

.home2-primary-links .hero-button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  width: 100%;
  min-width: 0;
  height: 92px;
  min-height: 92px;
  padding: 8px 0.75rem;
  border: 1px solid rgba(13, 71, 161, 0.18);
  border-radius: 14px;
  background: #ffffff;
  color: #0d47a1;
  box-shadow: none;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  white-space: normal;
  box-sizing: border-box;
  overflow: hidden;
}

.home2-primary-links .hero-button:hover,
.home2-primary-links .hero-button:focus-visible {
  background: #f7fbff;
  box-shadow: 0 0 0 2px #0d47a1;
  outline: none;
}

.home2-action-thumb {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(13, 71, 161, 0.18);
  background: #ffffff;
}

.home2-action-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.home2-action-label {
  min-width: 0;
}

.home2-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-items: stretch;
  align-items: stretch;
  gap: 0.65rem;
  max-width: 72rem;
  width: calc(100% - 2rem);
  margin: 0 auto 0.85rem;
  padding: 0;
  overflow-x: hidden;
}

.home2-feature-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0.5rem 0.65rem 0.4rem;
  background: #ffffff;
  border: 1px solid rgba(13, 71, 161, 0.18);
  border-radius: 14px;
  box-sizing: border-box;
}

.home2-feature-heading {
  margin: 0 0 0.15rem;
  padding: 0 0.2rem;
  color: #0d47a1;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
}

.home2-feature-grid a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  min-height: 2.1rem;
  padding: 0.15rem 0.2rem;
  color: #0d47a1;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  border-radius: 8px;
  overflow-wrap: anywhere;
}

.home2-feature-grid a::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #c9a227;
}

.home2-feature-grid a:hover,
.home2-feature-grid a:focus-visible {
  background: #ffffff;
  box-shadow: 0 0 0 2px #0d47a1;
  outline: none;
}

@media (max-width: 1100px) {
  .home2-feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home2-primary-links {
    grid-template-columns: 1fr 1fr;
  }

  .home2-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home2-feature-grid {
    grid-template-columns: 1fr 1fr;
    font-size: 0.88rem;
  }

  .home2-primary-links {
    grid-template-columns: 1fr;
  }

  .home2-primary-links .hero-button {
    font-size: 0.88rem;
    white-space: normal;
    height: auto;
    min-height: 84px;
  }
}

@media (max-width: 340px) {
  .home2-primary-links {
    grid-template-columns: 1fr;
  }

  .home2-feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  .home2-feature-grid a {
    font-size: 0.8rem;
  }
}

.home2-apps {
  max-width: 880px;
  margin: 0.15rem auto 0.7rem;
  padding: 0.85rem 1rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.home2-apps h2 {
  margin: 0 0 0.4rem;
  color: #0d47a1;
  font-size: 1.25rem;
}

.home2-apps p {
  margin: 0 0 0.75rem;
  color: #204060;
  line-height: 1.45;
}

.home2-app-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 160px));
  justify-content: center;
  gap: 0.65rem;
  min-height: 44px;
}

.home2-app-badge-slot {
  display: block;
  min-height: 44px;
  border-radius: 8px;
  background: rgba(13, 71, 161, 0.06);
}

.home2-share-wrap {
  margin: 0.15rem auto 0.35rem;
  padding: 0 1rem;
  text-align: center;
}

.home2-share-x {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 2px solid #0d47a1;
  background: linear-gradient(180deg, #fafafa, #eceff1);
  color: #0d47a1;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.home2-share-x:hover {
  background: linear-gradient(180deg, #ffffff, #e3f2fd);
  color: #0d47a1;
}

.home2-share-x-icon {
  display: block;
  flex-shrink: 0;
}

.home2-updated-line {
  max-width: 880px;
  margin: 0.1rem auto 0.7rem;
  padding: 0 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #455a64;
  text-align: center;
}

/* Home: last-refreshed + schedule cadence (same typography, grouped spacing) */
.home2-updated-stack {
  max-width: 880px;
  margin: 0.1rem auto 0.7rem;
  padding: 0 1rem;
}
.home2-updated-stack > .home2-updated-line {
  max-width: none;
  margin: 0;
  padding: 0;
}
.home2-updated-stack > .home2-updated-line:first-child {
  margin-bottom: 0.35rem;
}

.home2-blog-heading {
  margin: 0.4rem 0 0.75rem;
  font-size: 2.3rem;
  font-weight: 700;
  text-align: left;
  color: #0d47a1;
}

.home2-divider-bar {
  max-width: 880px;
  height: 4px;
  margin: 0.4rem auto 0.8rem;
  background-color: #0d47a1;
  border-radius: 999px;
}

.home2-store-badges {
  position: absolute;
  right: 0.7rem;
  bottom: 0.42rem;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.5rem;
  width: auto;
  max-width: calc(100% - 1.4rem);
  margin: 0;
  padding: 0;
}

.home2-hero-image .nav-app-store,
.home2-hero-image .nav-app-store[aria-disabled="true"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 0;
  height: auto;
  flex: 0 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
  color: inherit;
  cursor: pointer;
}

.home2-hero-image .nav-app-store:hover,
.home2-hero-image .nav-app-store[aria-disabled="true"]:hover {
  background: transparent;
}

.home2-hero-image .nav-app-store:focus-visible {
  outline: 2px solid #0d47a1;
  outline-offset: 2px;
}

.home2-hero-image .w20-store-badge {
  display: block;
  height: 36px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.w20-store-badge {
  display: block;
  height: 7.5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 560px) {
  .home2-store-badges {
    right: 0.45rem;
    bottom: 0.32rem;
    justify-content: flex-end;
    max-width: calc(100% - 0.9rem);
  }

  .home2-hero-image .w20-store-badge {
    height: 32px;
  }
}

.home2-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.875rem; /* ~15% larger */
  flex-wrap: wrap;
  padding: 2.3rem 3.2rem; /* ~15% larger */
  border-radius: 23px; /* ~15% larger */
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.home2-art {
  flex: 1 1 598px; /* ~15% larger than 520px */
  max-width: 667px; /* ~15% larger than 580px */
}

.home2-art-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.home2-menu {
  display: flex;
  justify-content: center;
}

.home2-menu .hero-grid {
  max-width: 345px; /* ~15% larger than 300px */
}

.home2-schedule-updated {
  margin: 0.75rem 0 0;
  font-size: 20px;
  color: #1a5490;
  text-align: center;
}

.home2-disclaimer {
  margin-top: 1.5rem;
}

/* Blog-style home layout (index2) */
.home2-blog-page .home2-main {
  align-items: stretch;
}

.home2-blog-layout {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.home2-blog {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
  min-width: 0;
}

.home2-post {
  position: relative;
  display: block;
  background-color: rgba(255, 255, 255, 0.94);
  border-radius: 16px;
  padding: 12px 16px 34px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  margin: 0;
  overflow: hidden;
  min-width: 0;
}

.home2-post.is-collapsed {
  height: 212px;
  max-height: 212px;
  overflow: hidden;
}

.home2-post.is-collapsed .home2-post-body,
.home2-post.is-collapsed .home2-post-main {
  min-height: 0;
}

.home2-post.is-expanded {
  height: 212px;
  max-height: 212px;
  overflow: hidden;
}

.home2-post:hover,
.home2-post:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(13, 71, 161, 0.18);
  outline: none;
}

.home2-post:focus-visible {
  box-shadow: 0 0 0 3px #0d47a1, 0 8px 18px rgba(13, 71, 161, 0.18);
}

.home2-article-dialog {
  width: min(52rem, calc(100vw - 1.5rem));
  max-width: 52rem;
  max-height: min(92vh, 900px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #fff;
  color: #204060;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.home2-article-dialog::backdrop {
  background: rgba(6, 18, 36, 0.72);
}

.home2-article-dialog-inner {
  display: flex;
  flex-direction: column;
  max-height: min(92vh, 900px);
}

.home2-article-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem 0.5rem;
  border-bottom: 1px solid rgba(13, 71, 161, 0.16);
}

.home2-article-dialog-title {
  margin: 0;
  color: #0d47a1;
  font-size: 1.25rem;
  line-height: 1.3;
  flex: 1 1 auto;
  min-width: 0;
}

.home2-article-dialog-header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0.5rem;
  position: relative;
}

.home2-article-dialog-header-actions .home2-article-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 0.5rem;
  position: static;
  top: auto;
  right: auto;
  z-index: auto;
}

.home2-article-dialog-close {
  flex: 0 0 auto;
  min-width: 5.6rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 2px solid #0d47a1;
  border-radius: 999px;
  background: #0d47a1;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.home2-article-dialog-close:focus-visible {
  outline: 3px solid #c9a227;
  outline-offset: 2px;
}

.home2-article-dialog-body {
  overflow-y: auto;
  padding: 0.85rem 1rem 1.15rem;
  -webkit-overflow-scrolling: touch;
}

.home2-article-dialog-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.home2-article-dialog-body img.emoji,
.home2-article-dialog-body svg.emoji,
.home2-article-dialog-body li > img:not(.home2-post-image),
.home2-article-dialog-body p > img:not(.home2-post-image),
.home2-article-dialog-body .home2-post-body img:not(.home2-post-image) {
  display: inline-block !important;
  float: none !important;
  width: 1em !important;
  height: 1em !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 1em !important;
  max-height: 1em !important;
  margin: 0 0.05em !important;
  vertical-align: -0.2em !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
}

.home2-article-dialog-body .home2-post-image {
  display: block;
  width: auto;
  max-width: min(100%, 36rem);
  max-height: 22rem;
  height: auto;
  object-fit: contain;
  background: #eef4fb;
}

@media (max-width: 640px) {
  .home2-article-dialog,
  .home2-article-dialog-inner {
    width: calc(100vw - 0.6rem);
    max-height: 96vh;
    border-radius: 12px;
  }
}

.home2-post-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.25rem;
  z-index: 3;
}

.home2-post-icon {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border: 1px solid #0d47a1;
  border-radius: 8px;
  background: #fff;
  color: #0d47a1;
  cursor: pointer;
}

.home2-post-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.home2-post-icon:hover {
  background: #e3f2fd;
}

.home2-post-icon:focus-visible {
  outline: 3px solid #ffeb3b;
  outline-offset: 2px;
}

.home2-post-main {
  display: contents;
}

.home2-post > a:has(.home2-post-image),
.home2-post-main > a:has(.home2-post-image) {
  position: absolute;
  top: 52px;
  right: 16px;
  width: 170px;
  height: 125px;
  display: block;
  z-index: 1;
}

.home2-post-image,
.home2-post-avatar {
  position: absolute;
  top: 52px;
  right: 16px;
  width: auto;
  height: auto;
  max-width: 170px;
  max-height: 125px;
  margin: 0;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  object-fit: contain;
  background: #eef4fb;
}

.home2-post > a:has(.home2-post-image) .home2-post-image,
.home2-post-main > a:has(.home2-post-image) .home2-post-image {
  position: static;
  width: 100%;
  height: 100%;
  display: block;
}

.home2-post-avatar {
  object-fit: contain;
  background: #e7f3ff;
}

.home2-post-image--large {
  width: 170px;
  height: 125px;
}

/* Home blog cards (index.html): primary headline per article. Keep this larger and
   heavier than body (.home2-post p) and in-post subheads (.home2-post h3). Use
   <h2 class="home2-post-title">…</h2> for new posts. */
.home2-post-title {
  margin: 0 5.5rem 0.2rem 0;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #042c5c;
}

.home2-post.is-collapsed .home2-post-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.44em;
}

.home2-post-meta {
  margin: 0 186px 0.25rem 0;
  font-size: 0.8rem;
  color: #455a64;
}

.home2-post-body {
  margin: 0 186px 0 0;
  min-width: 0;
  min-height: 0;
}

.home2-post.is-collapsed .home2-post-body {
  max-height: 4.6rem;
  overflow: hidden;
}

.home2-post-more {
  position: absolute;
  left: 16px;
  bottom: 8px;
  z-index: 2;
  appearance: none;
  margin: 0;
  padding: 0.1rem 0.35rem 0.1rem 0;
  border: 0;
  background: rgba(255, 255, 255, 0.96);
  color: #0d47a1;
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.home2-post.is-expanded .home2-post-more {
  position: static;
  display: inline-block;
  margin-top: 0.65rem;
  background: transparent;
}

.home2-post-more:focus-visible {
  outline: 3px solid #ffeb3b;
  outline-offset: 2px;
  border-radius: 4px;
}

.home2-post p {
  margin: 0 0 0.6rem;
  font-size: 0.92rem;
  line-height: 1.5;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Segoe UI Emoji", "Noto Color Emoji",
    sans-serif;
}

/* Twemoji/emoji replacement images must stay inline-sized in blog posts.
   Some mobile browsers/extensions can turn emoji into <img>/<svg>; never let
   those inherit generic image sizing and take over the post card. */
.home2-post img.emoji,
.home2-post svg.emoji,
.home2-post li > img:not(.home2-post-image),
.home2-post p > img:not(.home2-post-image) {
  display: inline-block !important;
  float: none !important;
  width: 1em !important;
  height: 1em !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 1em !important;
  max-height: 1em !important;
  margin: 0 0.05em !important;
  vertical-align: -0.2em !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
}

.home2-post h3 {
  margin: 1.1rem 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1565c0;
  line-height: 1.35;
}

.home2-post h3:first-of-type {
  margin-top: 0.35rem;
}

.home2-post ul {
  margin: 0 0 0.75rem 1.25rem;
  padding: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Excel / Facebook-style emoji lists (no extra bullet disc) */
.home2-post ul.home2-post-list--plain {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.home2-post li {
  margin-bottom: 0.35rem;
}

.home2-post li:last-child {
  margin-bottom: 0;
}

.home2-post-sep {
  border: 0;
  border-top: 1px solid rgba(13, 71, 161, 0.18);
  margin: 1.1rem 0;
}

.home2-post-pull {
  font-size: 0.98rem;
  margin: 0.45rem 0 0.65rem;
  font-weight: 600;
  color: #37474f;
}

.home2-side {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 800px) {
  .home2-main {
    padding-top: 0.15rem;
  }

  .home2-hero {
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.45rem 0.6rem 0.7rem;
  }

  .home2-art {
    max-width: 100%;
  }

  .home2-art-image {
    max-height: 170px;
    object-fit: cover;
  }

  .home2-schedule-updated {
    margin-top: 0.4rem;
    font-size: 0.95rem;
  }

  .home2-blog {
    grid-template-columns: 1fr;
  }

  .home2-side {
    order: -1;
  }

  .home2-post {
    padding: 12px 14px 34px;
  }

  .home2-post.is-collapsed {
    height: 360px;
    max-height: 360px;
  }

  .home2-blog-featured .home2-post.is-collapsed,
  .home2-blog-featured .home2-post.is-expanded,
  .home2-post--featured.is-collapsed,
  .home2-post--featured.is-expanded {
    height: auto;
    max-height: none;
    min-height: 0;
    overflow: visible;
  }

  .home2-post-title {
    margin-right: 5.5rem;
    font-size: 1.12rem;
  }

  .home2-post-meta,
  .home2-post-body {
    margin-right: 0;
  }

  .home2-post > a:has(.home2-post-image),
  .home2-post-main > a:has(.home2-post-image),
  .home2-post-image,
  .home2-post-avatar {
    position: static;
    display: block;
    width: 100%;
    max-width: 246px;
    height: 180px;
    aspect-ratio: 170 / 125;
    margin: 0.45rem 0 0.35rem;
    object-fit: cover;
  }

  .home2-post.is-collapsed .home2-post-body {
    max-height: 4.8rem;
  }

  .home2-blog-featured .home2-post.is-collapsed .home2-post-body,
  .home2-post--featured.is-collapsed .home2-post-body {
    max-height: 9rem;
  }

  .home2-blog-featured .home2-post-image,
  .home2-post--featured .home2-post-image,
  .home2-blog-featured .home2-post > a:has(.home2-post-image),
  .home2-post--featured > a:has(.home2-post-image),
  .home2-blog-featured .home2-post-main > a:has(.home2-post-image),
  .home2-post--featured .home2-post-main > a:has(.home2-post-image) {
    object-fit: contain;
    height: auto;
    max-height: 180px;
  }
}

/* (If we need additional tweaks for very small laptop screens, we can add
   height-based media queries here later.) */

/* Disclaimer box – same max-width, padding, background, type as home .hero-disclaimer */
.hero-disclaimer,
.site-footer p {
  max-width: 52rem;
  padding: 0.7rem 1rem;
  background-color: rgba(8, 28, 52, 0.55);
  color: #eef3fa;
  border-radius: 8px;
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
  box-sizing: border-box;
  margin: 0;
}

.hero-disclaimer {
  margin-top: auto;
  margin-bottom: 1.25rem;
  align-self: center;
}

/* Footer follows page content; dark navy instead of muddy olive-gray */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 1.15rem 1rem 1.4rem;
  background: var(--footer-navy);
  color: #e8eef6;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.8rem;
}

.site-footer-links a {
  color: #ffe566;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.site-footer-links a:hover {
  color: #fff59d;
}

.site-footer-links a:focus-visible {
  outline: 3px solid #ffeb3b;
  outline-offset: 2px;
  border-radius: 2px;
}

.site-footer-build {
  margin: 0;
  max-width: 42rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  color: #c5d4e8;
  text-align: center;
}

.site-footer-build[hidden] {
  display: none !important;
}

.home2-footer-links {
  margin: 0 auto 1.25rem;
}

/* ===========================
   Top menu bar (8 buttons) on all pages except home
   =========================== */

.page-nav {
  position: sticky;
  top: 0;
  z-index: 1100;
  overflow: visible;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.35rem 0.45rem;
  padding: 0.5rem 1rem;
  background: var(--blue-dark);
}

.nav-btn {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 2px solid #0d47a1;
  background: linear-gradient(180deg, #42a5f5, #1e88e5, #0d47a1);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.5rem;
  background: transparent; /* show only the icon image */
  border: none;
  box-shadow: none;
  line-height: 0; /* no extra vertical spacing from inline content */
  border-radius: 999px;
}

.nav-btn-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.nav-btn-icon img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.nav-btn:hover {
  background: linear-gradient(180deg, #64b5f6, #1e88e5, #0d47a1);
}

.nav-btn-icon:hover {
  background: transparent;
}

.nav-btn-active {
  background: linear-gradient(180deg, #7a9fc9, #5a7fa8, #3d5a7a);
  border-color: #3d5a7a;
  color: rgba(255, 255, 255, 0.9);
  cursor: default;
  pointer-events: none;
}

.nav-btn-active:hover {
  background: linear-gradient(180deg, #7a9fc9, #5a7fa8, #3d5a7a);
}

.nav-btn:focus-visible {
  outline: 3px solid #ffeb3b;
  outline-offset: 2px;
}

/* Mobile hamburger nav */
.mobile-nav-toggle {
  position: fixed;
  top: 0.4rem;
  right: 0.6rem;
  z-index: 1200;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 2px solid #0d47a1;
  background: linear-gradient(180deg, #42a5f5, #1e88e5, #0d47a1);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.mobile-nav-toggle-bar {
  width: 1.2rem;
  height: 2px;
  background-color: #fff;
  border-radius: 999px;
  position: relative;
}

.mobile-nav-toggle-bar::before,
.mobile-nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1.2rem;
  height: 2px;
  background-color: #fff;
  border-radius: 999px;
}

.mobile-nav-toggle-bar::before {
  top: -0.3rem;
}

.mobile-nav-toggle-bar::after {
  top: 0.3rem;
}

.mobile-nav-toggle:focus-visible {
  outline: 3px solid #ffeb3b;
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .mobile-nav-toggle {
    display: flex;
  }
}

/* ===========================
   Interior pages (about, eligibility, etc.)
   Keep existing header/layout styles for them
   =========================== */

.site-header {
  background-color: var(--blue-dark);
  color: white;
  padding: 0.5rem 1rem 0.75rem;
}

.logo-title {
  text-align: center;
}

.site-title {
  margin: 0.4rem auto 0.3rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.amc-header-image {
  display: block;
  width: min(100%, 560px);
  height: auto;
  margin: 0.35rem auto 0.2rem;
}

.main-nav {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.main-nav a {
  color: #e3f2fd;
  text-decoration: none;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.main-nav a.active,
.main-nav a:hover {
  background-color: var(--blue);
  color: white;
}

.content {
  max-width: 1120px;
  margin: 1.5rem auto 2.5rem;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 2rem;
}

@media (max-width: 800px) {
  .content {
    display: block;
  }
}

.content.single-column {
  display: block;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
}

.hero-text h1 {
  font-size: 2rem;
  margin-top: 0;
}

.hero-text p {
  font-size: 1rem;
  line-height: 1.6;
}

.primary-button {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #42a5f5, #1e88e5, #0d47a1);
  color: white;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.35);
}

.primary-button:hover {
  background: linear-gradient(180deg, #64b5f6, #1e88e5, #0d47a1);
}

.features-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.features-grid article {
  background: white;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.popsparis-section {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.popsparis-section img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

/* ===========================
   AMC Terminals page
   =========================== */

.amc-layout {
  max-width: 1450px;
  margin: 1rem auto 2.5rem;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 1rem;
}

.amc-side-image {
  display: none;
}

.amc-page-deco {
  display: none;
}

.amc-page-title-wrap {
  display: none;
}

.amc-page-main-title {
  max-width: 1400px;
  margin: 0.75rem auto 0.25rem;
  padding: 0 1rem;
  text-align: center;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.25;
  color: #0d47a1;
}

.amc-page-description {
  max-width: 72rem;
  margin: 0 auto 0.75rem;
  padding: 0 1rem;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.5;
  color: #204060;
}

.amc-page-title-image {
  display: block;
  width: min(100%, 700px);
  height: auto;
}

/* AMC PASSENGER TERMINALS–style banner: yellow fill, blue outline, 3D shadow (CSS only; text per page) */
.spacea-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.4rem 1rem 0.55rem;
  flex-shrink: 0;
}

.spacea-banner-title {
  margin: 0;
  max-width: 100%;
  font-family: "Fredoka", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.65rem, 5.5vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  /* Bright yellow fill (lighter top / deeper gold feel via subtle inner highlight in shadow) */
  color: #ffeb3b;
  /* Thick blue outline like AMC art */
  -webkit-text-stroke: 0.11em #1e88e5;
  paint-order: stroke fill;
  /* 3D extrusion: dark blue steps down-right */
  text-shadow:
    0.04em 0.04em 0 #1565c0,
    0.07em 0.07em 0 #0d47a1,
    0.1em 0.1em 0 #0a3d91,
    0.12em 0.12em 0 #082e6b,
    0.14em 0.14em 0.06em rgba(0, 0, 0, 0.2);
}

/* Long titles: slightly smaller so it fits one line on narrow screens */
.spacea-banner-title--long {
  font-size: clamp(1.2rem, 4vw, 2rem);
  letter-spacing: 0.03em;
}

@media (max-width: 900px) {
  .amc-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* On small screens (e.g. iPhone), tweak AMC layout scrolling */
@media (max-width: 900px) {
  body.amc-page {
    display: block;
    position: relative;
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: auto;
    touch-action: pan-y;
  }
  body.amc-page .page-nav,
  body.amc-page .amc-page-title-wrap,
  body.amc-page .site-footer {
    flex: none;
  }
  body.amc-page .amc-layout {
    display: block;
    overflow: visible;
    min-height: 0;
    flex: none;
  }
  body.amc-page .amc-results {
    overflow: visible;
    min-height: 0;
  }

  body.amc-page .amc-terminal-list-panel {
    flex: none;
    overflow: visible;
    max-height: none;
  }
}

.w20-surface-card,
.amc-filters {
  background: var(--card-white);
  border: 1px solid rgba(13, 71, 161, 0.16);
  border-radius: 8px;
  padding: 0.8rem 0.7rem 1rem;
  box-shadow: 0 2px 6px rgba(13, 71, 161, 0.08);
}

.amc-filters {
  align-self: start;
}

.amc-how-to {
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid rgba(13, 71, 161, 0.18);
  border-radius: 8px;
  background: #fff;
}

.amc-how-to summary {
  cursor: pointer;
  color: #0d47a1;
  font-weight: 700;
  font-size: 0.88rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.amc-direct-terminal-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.amc-direct-terminal-link-list a {
  border: 1px solid rgba(13, 71, 161, 0.22);
  border-radius: 999px;
  background: #fff;
  color: #0d47a1;
  padding: 0.2rem 0.55rem;
  text-decoration: none;
  font-size: 0.78rem;
}

.amc-direct-terminal-link-list a:hover,
.amc-direct-terminal-link-list a:focus-visible {
  background: #0d47a1;
  color: #fff;
  outline: none;
}

.amc-results,
.amc-terminal-list-panel,
.quick-view-results {
  background: var(--card-white);
  border-radius: 10px;
}

.amc-title {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0d47a1;
}

h1.amc-page-main-title,
.amc-title.amc-page-main-title {
  max-width: 1400px;
  margin: 0.75rem auto 0.25rem;
  padding: 0 1rem;
  text-align: center;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.25;
  color: #0d47a1;
}

/* Section headings in AMC / Quick View filter panels (matches amc-terminals.html) */
.amc-heading {
  margin: 0.65rem 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0d47a1;
}

.amc-heading:first-of-type {
  margin-top: 0;
}

.quick-view-search-hint {
  margin: 0 0 0.65rem;
  font-size: 0.76rem;
  color: #204060;
  line-height: 1.35;
}

.amc-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;
}

.amc-search-wrap {
  position: relative;
  margin: 0 0 0.7rem;
}
.amc-search-wrap label {
  display: block;
}
.amc-search-input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.6rem 0.5rem;
  min-height: 2.7em;
  font-size: 0.9rem;
  border: 1px solid #90caf9;
  border-radius: 6px;
  background: #fff;
  color: #0d47a1;
}
.amc-search-input::placeholder {
  color: #5c7a9e;
}
.amc-search-input:focus {
  outline: 2px solid #0d47a1;
  outline-offset: 2px;
}
.amc-search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 220px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #90caf9;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 100;
  margin-top: 2px;
}
.amc-search-suggestions[aria-hidden="true"] {
  display: none;
}
.amc-search-suggestions .amc-search-item {
  display: block;
  width: 100%;
  padding: 0.4rem 0.5rem;
  font-size: 0.88rem;
  text-align: left;
  border: none;
  background: none;
  cursor: pointer;
  color: #0d47a1;
  border-bottom: 1px solid #e3f2fd;
}
.amc-search-suggestions .amc-search-item:last-child {
  border-bottom: none;
}
.amc-search-suggestions .amc-search-item:hover,
.amc-search-suggestions .amc-search-item[aria-selected="true"] {
  background: #e3f2fd;
}

.amc-filter-group {
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0 0 0.7rem;
  min-width: 0;
}

.amc-filter-group legend {
  padding: 0;
  font-weight: 600;
}

.amc-filter-group label {
  display: block;
  font-size: 0.9rem;
  margin-top: 0.18rem;
}

.amc-note {
  font-size: 0.76rem;
  color: #204060;
  margin: 0;
  line-height: 1.35;
}

.amc-closest-radius {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0.5rem 0 0.75rem;
}
.amc-closest-radius-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #204060;
}
.amc-closest-radius input[type="range"] {
  width: 100%;
  max-width: 260px;
}
.amc-closest-zip {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0 0 0.75rem;
}
.amc-closest-zip input[type="text"] {
  padding: 0.25rem 0.4rem;
  border-radius: 4px;
  border: 1px solid #90caf9;
  max-width: 260px;
}

.amc-results {
  min-height: 0;
}

/* Total terminal count from terminals_master → terminals_ui (above cards) */
.amc-terminal-review-banner {
  margin: 0 auto 0.65rem;
  padding: 0 0.5rem;
  max-width: min(70vw, 520px);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d47a1;
  text-align: center;
  line-height: 1.35;
}

/* White boxed list area: AMC Terminals, Closest, Quick View flights (shared look + scrollbar). */
.amc-terminal-list-panel {
  margin: 0;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding: 0.65rem 0.7rem 0.85rem;
  background: #fff;
  border: 1px solid #90caf9;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.amc-terminal-list-panel::-webkit-scrollbar {
  width: 11px;
}

.amc-terminal-list-panel::-webkit-scrollbar-track {
  background: #f2f2f2;
}

.amc-terminal-list-panel::-webkit-scrollbar-thumb {
  background: #a8a8a8;
  border-radius: 5px;
  border: 2px solid #f2f2f2;
}

.amc-terminal-list-panel::-webkit-scrollbar-thumb:hover {
  background: #8a8a8a;
}

@media (max-width: 900px) {
  .amc-terminal-list-panel {
    max-width: none;
  }
}

.amc-terminals-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--qv-flight-card-gap);
  align-items: stretch;
}

@media (min-width: 1100px) {
  .amc-terminals-list {
    grid-template-columns: 1fr 1fr;
  }

  .amc-state-header {
    grid-column: 1 / -1;
  }
}

.amc-terminal-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  background: #ffffff;
  border-radius: var(--qv-flight-card-radius);
  padding: var(--qv-flight-card-pad);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
  border: var(--qv-flight-card-border);
  width: 100%;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.amc-terminal-card-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  text-indent: -9999px;
  overflow: hidden;
}

.amc-terminal-card-hit:focus-visible {
  outline: 3px solid #0d47a1;
  outline-offset: 2px;
}

.amc-terminal-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  text-align: left;
}

.amc-terminal-location,
.amc-terminal-address {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  color: #204060;
  line-height: 1.4;
}

.amc-terminal-flags {
  margin: 0.2rem 0 0;
  font-size: 0.84rem;
  color: #204060;
  line-height: 1.35;
}

.amc-terminal-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.amc-terminal-flag {
  display: inline-block;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: #e7f3ff;
  border: 1px solid rgba(13, 71, 161, 0.2);
  color: #0d47a1;
  font-size: 0.75rem;
  font-weight: 700;
}

.amc-terminal-open {
  margin-top: 0.45rem;
  color: #0d47a1;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.amc-terminal-card:hover,
.amc-terminal-card:focus-within {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(13, 71, 161, 0.18);
  border-color: #0d47a1;
}

.amc-terminal-short {
  font-size: 1.18rem;
  font-weight: 700;
  margin: 0;
  padding-right: 2.2rem;
}

.amc-fav-star {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  appearance: none;
  border: 0;
  background: transparent;
  color: #c9a227;
  font-size: 1.35rem;
  line-height: 1;
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  min-height: 2rem;
  padding: 0;
  cursor: pointer;
}

.amc-fav-star[aria-pressed="true"] {
  color: #c9a227;
}

.amc-fav-star:focus-visible {
  outline: 3px solid #0d47a1;
  outline-offset: 2px;
  border-radius: 4px;
}

.amc-terminal-schedules {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.amc-terminal-schedule {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.15rem 0.55rem;
  border: 1px solid #1565c0;
  border-radius: 6px;
  background: #fff;
  color: #0d47a1;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.amc-terminal-schedule:hover,
.amc-terminal-schedule:focus-visible {
  background: #e3f2fd;
  outline: 2px solid #0d47a1;
  outline-offset: 1px;
}

/* AMC Terminals list: Quick View CSV–based counts — always second line below terminal name */
.amc-terminal-card-stats {
  display: block;
  width: 100%;
  font-size: 0.82rem;
  font-weight: 500;
  color: #37474f;
  margin: 0.5rem 0 0;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(21, 101, 192, 0.22);
  line-height: 1.35;
  text-align: left;
  box-sizing: border-box;
}

.amc-state-header {
  width: 100%;
  min-width: 0;
  margin: 0.8rem 0 0.1rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0d47a1;
  text-align: left;
}

.amc-recent-section {
  width: 100%;
  margin: 0 0 0.85rem;
}

.amc-recent-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 0.35rem;
}

.amc-recent-heading-row .amc-state-header {
  margin: 0;
}

.amc-recent-section[hidden] {
  display: none;
}

.quick-view-flight-card.is-unavailable {
  opacity: 0.72;
}

.amc-map-button,
.amc-action-button {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.amc-map-button {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  justify-content: flex-start;
  background: transparent;
  color: #183a66;
  padding-left: 0.2rem;
  margin: 0.1rem 0 0.5rem;
}

.amc-map-icon {
  font-size: 2rem;
  line-height: 1;
}

.amc-action-button {
  background: #1565c0;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.amc-action-button.is-active {
  background: #0d47a1;
}

@media (max-width: 900px) {
  .amc-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .amc-terminal-card,
  .amc-state-header {
    width: 100%;
  }
}

/* ===========================
   Terminal detail page (per-terminal background + contacts)
   =========================== */

.terminal-page {
  margin: 0;
  min-height: 100vh;
  position: relative;
  background: #1a1a1a;
}

/* Nav bar above full-bleed background (same strip as other interior pages) */
.terminal-page .terminal-page-nav,
.terminal-page .page-nav.terminal-page-nav {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.terminal-bg {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.55);
  z-index: 0;
}

/* Header sits outside overlay so it can span full viewport width */
.terminal-header {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  text-align: center;
  padding: 0.5rem 1rem 0.75rem;
  box-sizing: border-box;
}

.terminal-seo-description {
  max-width: 36rem;
  margin: 0.35rem auto 0;
  padding: 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.terminal-overlay {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 8rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 1rem 2rem;
  max-width: 480px;
  margin: 0 auto;
}

.terminal-header-link {
  display: block;
  width: 100%;
  text-decoration: none;
  color: #fff;
}

.terminal-header-link:hover .terminal-banner-text {
  filter: brightness(1.08);
}

.terminal-header-image {
  display: none;
  max-width: 100%;
  width: auto;
  height: auto;
  vertical-align: middle;
}

/* Banner row: transparent so terminal photo shows through; text keeps yellow/blue stack */
.terminal-header-text {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  background: transparent;
}

.terminal-banner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.45rem 0.4rem;
  min-width: 0;
}

/* Text style like reference: yellow fill, blue outline, 3D depth, drop shadow */
/* Was clamp(0.7rem, 3.2vw, 1.05rem) — too small; now larger while still fitting narrow phones */
.terminal-banner-text {
  font-family: "Baloo 2", system-ui, sans-serif;
  font-weight: 700;
  /* Doubled from clamp(1.15rem, 5.5vw, 1.75rem) */
  font-size: clamp(2.3rem, 11vw, 3.5rem);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  color: #ffeb3b;
  margin: 0;
  /* Blue outline via multi-direction shadows */
  text-shadow:
    1px 0 0 #1565c0, -1px 0 0 #1565c0, 0 1px 0 #1565c0, 0 -1px 0 #1565c0,
    1px 1px 0 #1565c0, -1px -1px 0 #1565c0, 1px -1px 0 #1565c0, -1px 1px 0 #1565c0,
    2px 0 0 #1565c0, -2px 0 0 #1565c0, 0 2px 0 #1565c0, 0 -2px 0 #1565c0,
    2px 2px 0 #1565c0, -2px -2px 0 #1565c0, 2px -2px 0 #1565c0, -2px 2px 0 #1565c0,
    /* 3D chiseled layer (darker blue, bottom-right) */
    3px 3px 0 #0d47a1,
    4px 4px 0 #0a3a82,
    5px 5px 0 #082f6b,
    /* soft drop shadow */
    6px 6px 10px rgba(0, 0, 0, 0.5);
}

.terminal-pdf-disclaimer {
  margin: 0 0 0.75rem 0;
  margin-left: 1.25rem;
  font-size: 1.15rem;
  font-style: italic;
  color: #ffeb3b;
  max-width: 32rem;
}

.terminal-schedule-buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.terminal-schedule-buttons .terminal-btn {
  width: 8.5rem;
  min-width: 8.5rem;
  box-sizing: border-box;
  white-space: nowrap;
}

.terminal-btn {
  display: inline-block;
  text-align: center;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.terminal-btn-72h {
  background: #1565c0;
}

.terminal-btn-rollcall {
  background: #1b5e20;
}

.terminal-btn-30day {
  background: #e65100;
}

.terminal-schedule-buttons .terminal-btn.terminal-btn-30day-wide {
  width: auto;
  min-width: 8.5rem;
  max-width: 11.5rem;
  white-space: nowrap;
}

.terminal-btn-history {
  background: #455a64;
  width: fit-content;
  min-width: auto;
  white-space: nowrap;
  margin-top: 0;
  padding: 0.45rem 0.75rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  flex-shrink: 0;
}

.terminal-btn-history-departure {
  background: #1565c0; /* match the 72h button blue */
  border-color: rgba(255, 255, 255, 0.35);
}

.terminal-btn-history-arrival {
  background: #1b5e20; /* match existing rollcall/green */
  border-color: rgba(255, 255, 255, 0.35);
}

.terminal-history-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.25rem;
  margin: 0.75rem 0 0;
  flex-wrap: nowrap;
}

.terminal-history-note {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
  max-width: 26rem;
  margin: 0;
  display: flex;
  align-items: center; /* keep first line aligned with button */
}

.terminal-quickview-section {
  width: 100%;
  margin-bottom: 1.25rem;
}

.terminal-quickview-section #terminal-qv-arriving-wrap {
  margin-top: 1.25rem;
}

.terminal-quickview-title-arriving {
  color: #e8f5e9;
}

.terminal-quickview-box-arriving {
  border: 2px solid #2e7d32;
}

.terminal-qv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.terminal-qv-table th,
.terminal-qv-table td {
  border: 1px solid #bbb;
  padding: 0.4rem 0.5rem;
  text-align: left;
}

.terminal-qv-table thead th {
  background: #1565c0;
  color: #fff;
}

.terminal-quickview-box-arriving .terminal-qv-table thead th {
  background: #2e7d32;
}

.terminal-quickview-loading,
.terminal-quickview-empty {
  margin: 0;
  color: #555;
  font-size: 0.9rem;
}

.terminal-quickview-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.terminal-contact-header {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffeb3b; /* bright yellow for contrast on varying backgrounds */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.terminal-quickview-box {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  padding: 1rem;
  min-height: 80px;
}

/* Departure History Modal (terminal.html) */
.term-history-overlay {
  position: fixed;
  inset: 0;
  z-index: 1305;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
  -webkit-overflow-scrolling: touch;
}

.term-history-overlay[hidden] {
  display: none;
}

.term-history-dialog {
  width: 100%;
  max-width: 760px;
  margin-top: 4vh;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
}

.term-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  background: #1565c0;
  color: #fff;
}

.term-history-title {
  font-weight: 800;
  font-size: 1.05rem;
}

.term-history-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  padding: 0.1rem 0.45rem;
  cursor: pointer;
}

.term-history-note {
  margin: 0;
  padding: 0.45rem 1rem 0.35rem;
  font-size: 0.88rem;
  font-style: italic;
  color: #37474f;
  line-height: 1.35;
  background: #eceff1;
  border-bottom: 1px solid #cfd8dc;
}

.term-history-controls {
  display: flex;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  flex-wrap: wrap;
}

.term-history-sort-btn {
  background: #2f6fbf;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.term-history-sort-btn.is-active {
  background: #0d47a1;
}

.term-history-table-wrap {
  padding: 0 1rem 1rem 1rem;
  max-height: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
}

.term-history-loading,
.term-history-empty {
  margin: 0;
  padding: 0.75rem 0;
  color: #555;
  font-size: 0.95rem;
}

.terminal-quickview-soon {
  margin: 0;
  color: #555;
  font-size: 0.9rem;
}

.terminal-contact-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.terminal-contact-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: #1565c0;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* Email & Address: label + value left-justified, copy button stays on the right */
.terminal-contact-row-copy {
  align-items: flex-start;
}

.terminal-contact-row-copy .terminal-contact-value-wrap {
  flex: 1;
  min-width: 0;
  justify-content: flex-start;
  align-items: flex-start;
}

.terminal-contact-row-copy .terminal-contact-value {
  text-align: left;
  flex: 1;
  min-width: 0;
}

.terminal-contact-row-copy .terminal-contact-copy {
  margin-left: auto;
  align-self: flex-start;
}

/* Hours of Operation (and any wrap row): long values wrap, row grows taller */
.terminal-contact-row-wrap {
  align-items: flex-start;
  min-width: 0; /* so flex children can shrink inside narrow column */
}

.terminal-contact-row-wrap .terminal-contact-value-wrap {
  flex: 1;
  min-width: 0;
  align-items: flex-start;
  justify-content: flex-start; /* wrapped text starts at left of value area */
}

.terminal-contact-row-wrap .terminal-contact-value {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  /* pre-line keeps intentional newlines (multi-phone) and still wraps long lines */
  white-space: pre-line;
  text-align: left; /* left-justified after wrap */
  line-height: 1.35;
}

/* Wrap row + copy button: keep copy control on the right */
.terminal-contact-row-wrap .terminal-contact-copy {
  margin-left: auto;
  align-self: flex-start;
}

/*
 * Commercial #, DSN #, Commercial Fax, DSN Fax, 24h Recording:
 * Fixed-width label column so all values start at the same horizontal line (line up).
 * Values left-aligned in the value column so multi-line numbers stack neatly.
 */
.terminal-contact-row-phone {
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.75rem;
}

.terminal-contact-row-phone .terminal-contact-label {
  flex-shrink: 0;
  width: 10.5rem; /* fits "Commercial Fax" / "24h Recording" — same for every row */
  min-width: 10.5rem;
  text-align: left;
  align-self: center; /* label vertically centered vs value block */
}

.terminal-contact-row-phone .terminal-contact-value-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.terminal-contact-row-phone .terminal-contact-value {
  text-align: left;
  white-space: pre-line;
  width: 100%;
  max-width: 100%;
}


.terminal-contact-label {
  font-weight: 700;
  flex-shrink: 0;
}

.terminal-contact-value-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

/* Rows without copy: single-line layout — but wrap rows must shrink so text wraps */
.terminal-contact-row:not(.terminal-contact-row-copy):not(.terminal-contact-row-wrap) .terminal-contact-value-wrap {
  flex: none;
}

.terminal-contact-row:not(.terminal-contact-row-copy):not(.terminal-contact-row-wrap) .terminal-contact-value {
  flex: none;
}

.terminal-contact-row:not(.terminal-contact-row-copy):not(.terminal-contact-row-wrap) .terminal-contact-value {
  text-align: right;
}

.terminal-contact-value {
  word-break: break-word;
  text-align: right;
  flex: 1;
  min-width: 0;
}

.terminal-contact-row-copy .terminal-contact-value {
  white-space: pre-line;
}

a.terminal-contact-maps-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

a.terminal-contact-maps-link:hover {
  text-decoration: underline;
}

.terminal-contact-copy {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
}

.terminal-contact-copy:hover {
  background: rgba(255, 255, 255, 0.35);
}

.terminal-contact-copy:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.terminal-placeholder-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  max-width: 320px;
  margin-bottom: 1rem;
}

.terminal-btn-placeholder {
  background: #5c6b2a;
  border-color: rgba(255, 255, 255, 0.6);
}

.terminal-footer.site-footer {
  margin-top: auto;
}

/* ===========================
   Eligibility page (matches Flutter eligibility_screen.dart)
   =========================== */

.eligibility-page .eligibility-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
}

.faq-page .eligibility-main {
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.25rem 1rem 2rem;
}

.faq-blog-meta {
  font-size: 0.9rem;
  color: #555;
  margin: 0 0 1rem;
}

.faq-blog-body {
  margin-top: 0;
}

.faq-blog-body h3 {
  font-size: 1rem;
  margin: 1.25rem 0 0.5rem;
  color: #0d47a1;
}

.faq-blog-body h3:first-of-type {
  margin-top: 0;
}

.faq-blog-body ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}

.faq-blog-body li {
  margin-bottom: 0.35rem;
}

.eligibility-page .eligibility-intro,
.eligibility-intro {
  display: block;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  padding: 0 1rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #204060;
}

.eligibility-disclaimer,
.about-disclaimer {
  max-width: 720px;
  margin: 0 auto 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(196, 124, 0, 0.45);
  background: #fff6db;
  color: #204060;
  border-radius: 14px;
  line-height: 1.45;
}

.eligibility-check-wrap {
  max-width: 720px;
  margin: 0 auto 1.25rem;
  padding: 0 1rem;
}

.eligibility-action-button,
a.eligibility-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 0;
  border-radius: 8px;
  background: #0d47a1;
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.eligibility-action-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.eligibility-action-button:focus-visible,
.eligibility-text-button:focus-visible,
.eligibility-choice:focus-within,
.survey-field select:focus-visible,
.survey-field textarea:focus-visible,
.about-links a:focus-visible {
  outline: 3px solid #ffeb3b;
  outline-offset: 2px;
}

.eligibility-text-button,
a.eligibility-text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 0.5rem;
  padding: 0.4rem 0.75rem;
  border: 0;
  background: transparent;
  color: #0d47a1;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.eligibility-checker-form,
.survey-form,
.survey-card,
.about-card {
  max-width: 720px;
  margin: 0 auto 1.25rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
}

.eligibility-fieldset {
  border: 1px solid #90caf9;
  border-radius: 10px;
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem 0.9rem;
}

.eligibility-fieldset legend {
  font-weight: 800;
  color: #0d47a1;
  padding: 0 0.35rem;
}

.eligibility-choice {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.35rem 0.2rem;
  cursor: pointer;
}

.eligibility-choice input {
  margin-top: 0.3rem;
  width: 1.1rem;
  height: 1.1rem;
}

.eligibility-result {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: #fff8c4;
  color: #204060;
}

.eligibility-result-headline {
  font-weight: 800;
  color: #0d47a1;
  margin: 0 0 0.5rem;
}

.eligibility-result-disclaimer {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

.survey-mail-note,
.survey-status,
.survey-validation {
  max-width: 720px;
  margin: 0 auto 1rem;
  padding: 0 1rem;
  line-height: 1.45;
  color: #204060;
}

.survey-validation {
  color: #b71c1c;
  font-weight: 700;
}

.survey-status {
  font-weight: 700;
}

.survey-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #0d47a1;
}

.survey-field select,
.survey-field textarea {
  min-height: 44px;
  padding: 0.45rem 0.7rem;
  border: 1px solid #90caf9;
  border-radius: 8px;
  font: inherit;
  font-weight: 500;
  color: #204060;
}

.survey-field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.about-card-title {
  margin: 0 0 0.5rem;
  color: #0d47a1;
}

.about-free {
  font-weight: 800;
  color: #0d47a1;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
}

.about-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: #0d47a1;
}

@media (max-width: 800px) {
  .eligibility-action-button,
  a.eligibility-action-button,
  .eligibility-text-button,
  a.eligibility-text-button {
    width: 100%;
  }
}

.eligibility-section {
  margin-bottom: 1.75rem;
}

.eligibility-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0d47a1;
  margin: 0 0 0.75rem;
}

.eligibility-instructions-list {
  margin: 0;
  padding-left: 1.35rem;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.45;
}

.eligibility-instructions-list li {
  margin-bottom: 0.5rem;
}

.eligibility-instructions-list li::marker {
  font-weight: 700;
}

/* Accordion: same header blue as Flutter _headerBlue #2B3A57 */
.eligibility-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
}

.eligibility-panel {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.eligibility-panel:last-child {
  border-bottom: none;
}

.eligibility-panel-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  background: #2b3a57;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  user-select: none;
}

.eligibility-panel-summary::-webkit-details-marker {
  display: none;
}

.eligibility-panel-summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  width: 1.5rem;
  text-align: center;
}

.eligibility-panel[open] .eligibility-panel-summary::after {
  content: "−";
}

.eligibility-panel-summary:hover {
  filter: brightness(1.08);
}

.eligibility-panel:not([open]) > .eligibility-panel-body {
  display: none;
}

.eligibility-panel-body {
  background: #e0e0e0;
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #222;
}

.eligibility-panel-body p {
  margin: 0 0 0.65rem;
}

.eligibility-panel-body p:last-child {
  margin-bottom: 0;
}

.eligibility-bullets {
  margin: 0.35rem 0 0;
  padding-left: 1.25rem;
}

.eligibility-bullets li {
  margin-bottom: 0.35rem;
}

.eligibility-signup p {
  font-size: 0.95rem;
  line-height: 1.45;
  color: #333;
  margin: 0 0 0.75rem;
}

.eligibility-signup-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 2px solid #1565c0;
  border-radius: 8px;
  color: #1565c0;
  font-weight: 600;
  text-decoration: none;
}

.eligibility-signup-link:hover {
  background: #1565c0;
  color: #fff;
}

/* ===========================
   Social media page (Flutter social_media_screen – text only, no images)
   =========================== */

body.social-media-page {
  display: flex;
  flex-direction: column;
}

body.social-media-page .spacea-banner {
  flex-shrink: 0;
}

.social-media-main {
  flex: 1;
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
  width: 100%;
}

.social-media-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--blue-dark);
  text-align: center;
}

.social-media-intro {
  margin: 0 auto 1.5rem;
  max-width: min(46.875rem, 100%);
  font-size: 0.9rem;
  line-height: 1.45;
  color: #424242;
  text-align: center;
}

.social-media-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0d47a1;
  margin: 0 0 0.75rem;
}

.social-media-list + .social-media-section-title {
  margin-top: 1.5rem;
}

.social-media-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 800px) {
  .social-media-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.75rem;
  }

  .social-media-grid .social-media-item {
    margin-bottom: 0;
  }
}

.social-media-item {
  margin-bottom: 0.75rem;
}

.social-media-link {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  padding: 0.65rem 0.85rem;
  background: #fff;
  border: 1px solid rgba(21, 101, 192, 0.35);
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.social-media-thumb {
  flex: 0 0 auto;
  width: 150px;
  height: 150px;
  max-width: 28vw;
  max-height: 28vw;
  object-fit: contain;
  border-radius: 4px;
  background: #f0f0f0;
}

.social-media-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0.25rem;
  min-width: 0;
}

.social-media-link:hover {
  border-color: var(--blue);
  box-shadow: 0 2px 8px rgba(21, 101, 192, 0.12);
}

.social-media-label {
  font-weight: 700;
  color: var(--blue-dark);
}

.social-media-desc {
  font-size: 0.95rem;
  line-height: 1.35;
  color: #333;
}

.social-media-open {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 1rem;
  line-height: 1;
}

.social-media-back-wrap {
  margin-top: 2rem;
  text-align: center;
}

.social-media-back {
  display: inline-block;
  padding: 0.65rem 2.5rem;
  background: var(--blue-dark);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.social-media-back:hover {
  background: var(--blue);
  color: #fff;
}

.social-media-add-btn {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: var(--blue-dark);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  border: none;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.social-media-add-btn:hover {
  background: var(--blue);
  color: #fff;
}

/* Social modal — same visual language as feedback form */
/* When closed, overlay has hidden attribute; display:flex would override hidden and show it on load */
.social-modal-overlay[hidden] {
  display: none !important;
}
.social-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem 1rem;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}

.social-modal-dialog {
  width: 100%;
  max-width: 520px;
  margin: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.social-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #fafafa;
  border-radius: 10px 10px 0 0;
}

.social-modal-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #333;
}

.social-modal-close {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  border: none;
  background: transparent;
  color: #666;
  cursor: pointer;
  border-radius: 4px;
}

.social-modal-close:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #111;
}

.social-modal-form {
  margin: 0;
  border: none;
  border-radius: 0 0 10px 10px;
  box-shadow: none;
}

.social-modal-success {
  margin: 0;
  border: none;
  border-radius: 0 0 10px 10px;
  padding: 1.5rem;
}

.social-char-count {
  font-weight: 600;
  color: var(--blue-dark);
}

.social-required-mark {
  font-weight: 500;
  color: #555;
  font-size: 0.85rem;
}

.social-optional {
  font-weight: 400;
  color: #777;
  font-size: 0.85rem;
}

/* ===========================
   Quick View page (matches Flutter QuickViewScreen + space_a_departures_future.csv)
   =========================== */
/* Same scroll pattern as body.amc-page: nav + scrollable middle + footer */
body.quick-view-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Embed mode for screenshots: hide nav/banner/footer so only sort buttons + flights show */
body.quick-view-page.quick-view-embed .page-nav,
body.quick-view-page.quick-view-embed .spacea-banner,
body.quick-view-page.quick-view-embed .site-footer,
body.quick-view-page.quick-view-embed .quick-view-intro-centered,
body.quick-view-page.quick-view-embed .amc-side-image {
  display: none;
}

/* Snapshot embed: use natural height like 2026-03-15 backup */
body.quick-view-page.quick-view-embed {
  height: auto;
  min-height: 0;
  overflow: visible;
  padding: 0;
  box-sizing: border-box;
}

body.quick-view-page.quick-view-embed .quick-view-main {
  max-width: 520px; /* narrower for snapshot so less green on sides */
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.25rem; /* override normal 2.5rem bottom margin to shrink green footer */
  height: auto;
  min-height: 0;
  overflow: visible;
}

body.quick-view-page.quick-view-embed .quick-view-results {
  max-height: none;
}

body.quick-view-page .page-nav {
  flex-shrink: 0;
}

body.quick-view-page .spacea-banner {
  flex-shrink: 0;
}

body.quick-view-page .site-footer {
  flex-shrink: 0;
}

/* Desktop Quick View: natural page scroll; sticky filters; wide results. */
@media (min-width: 769px) {
  body.quick-view-page:not(.quick-view-embed):not(.snapshot-page) {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  body.quick-view-page:not(.quick-view-embed):not(.snapshot-page) .quick-view-main.amc-layout {
    flex: 1 0 auto;
    min-height: 0;
    overflow: visible;
  }

  body.quick-view-page:not(.quick-view-embed):not(.snapshot-page) .amc-results.quick-view-results-shell {
    min-height: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
  }

  body.quick-view-page:not(.quick-view-embed):not(.snapshot-page) .amc-filters.quick-view-filters {
    min-height: 0;
    align-self: start;
    overflow: visible;
  }

  body.quick-view-page:not(.quick-view-embed):not(.snapshot-page) .quick-view-list-wrap {
    flex: 0 0 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  body.quick-view-page:not(.quick-view-embed):not(.snapshot-page) .quick-view-results.amc-terminal-list-panel {
    flex: 0 0 auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }
}

/* On small screens (e.g. iPhone Safari), allow full-page scroll */
@media (max-width: 768px) {
  body.social-media-page,
  body.eligibility-page {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.quick-view-page {
    height: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.quick-view-page .quick-view-main {
    overflow: visible;
    min-height: 0;
  }
  body.quick-view-page .quick-view-body {
    overflow: visible;
  }
  body.quick-view-page .quick-view-results,
  body.quick-view-page .quick-view-results-shell,
  body.quick-view-page .amc-results.quick-view-results-shell {
    overflow-y: visible;
    min-height: 0;
  }
  body.quick-view-page .quick-view-results.amc-terminal-list-panel {
    flex: 0 1 auto;
    overflow: visible !important;
    max-height: none;
  }
  body.quick-view-page .quick-view-list-wrap {
    overflow: visible;
  }
}

.quick-view-main {
  flex: 1;
  min-height: 0;
  max-width: 1120px;
  margin: 0 auto 2.5rem;
  padding: 0.75rem 1rem 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

.quick-view-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.quick-view-count {
  font-size: 1.5rem;
  font-weight: 700;
  color: #001f3f;
  text-align: center;
}

.quick-view-0f-note {
  font-size: 0.9rem;
  font-weight: normal;
  color: #001f3f;
  text-align: left;
  margin: 0.4rem 0 0.75rem;
}

.quick-view-intro-centered {
  max-width: 72rem;
  margin: 0.35rem auto 0.5rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #204060;
}

/* Pull flight list up: minimal gap between intro and “Pop found…” (Quick View) */
body.quick-view-page .quick-view-intro-centered {
  margin: 0.35rem auto 0.15rem;
  padding: 0 1rem;
  box-sizing: border-box;
}

body.quick-view-page .quick-view-intro-centered p {
  margin: 0 0 0.45rem;
}

body.quick-view-page .quick-view-intro-centered p:last-child {
  margin-bottom: 0;
}

/* Kill default top margin on flight count line */
body.quick-view-page .quick-view-count {
  margin: 0 0 0.4rem;
}

.quick-view-freshness {
  margin: 0 0 0.65rem;
  padding: 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #455a64;
  text-align: center;
}

.terminal-freshness {
  margin: 0 0 1rem;
  margin-left: 1.25rem;
  max-width: 36rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #ffeb3b;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

body.quick-view-page .quick-view-main.amc-layout {
  margin-top: 0;
}

body.quick-view-page .quick-view-main {
  padding-top: 0.25rem;
}

body.quick-view-page .quick-view-list-wrap {
  margin-top: 0;
  padding-top: 0;
}

body.quick-view-page .page-updated {
  margin-top: 0.2rem;
  margin-bottom: 0.15rem;
}

.quick-view-zone-filters,
.quick-view-extra-filters {
  margin: 0 0 0.25rem;
}

.quick-view-zone-filters label,
.quick-view-extra-filters label {
  display: block;
  margin-top: 0.15rem;
}

.page-updated {
  max-width: 900px;
  margin: 0.25rem auto 0.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: #204060;
}

.amc-page-description {
  max-width: 900px;
  margin: 0.35rem auto 0.85rem;
  padding: 0 1rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #204060;
}

.quick-view-loading,
.quick-view-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: #555;
}

.quick-view-empty-hint {
  font-size: 0.9rem;
  color: #666;
  max-width: 28rem;
  margin: 0.75rem auto 0;
  line-height: 1.4;
}

.quick-view-error {
  text-align: center;
  padding: 1.5rem 1rem;
}

.quick-view-error p {
  color: #b71c1c;
  margin-bottom: 1rem;
}

.quick-view-retry {
  max-width: 200px;
  margin: 0 auto;
}

.quick-view-error-help {
  text-align: left;
  max-width: 36rem;
  margin: 0 auto 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #333;
}

.quick-view-error-help p {
  margin: 0 0 0.5rem;
  color: #333;
}

.quick-view-error-help code {
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.quick-view-error-cmd {
  margin-top: 0.75rem !important;
}

.quick-view-error-pre {
  margin: 0 0 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #263238;
  color: #eceff1;
  border-radius: 6px;
  font-size: 0.85rem;
  overflow-x: auto;
}

.quick-view-error-or {
  margin-top: 1rem !important;
}

.quick-view-file-label {
  display: inline-block;
  margin: 0.5rem 0 0.75rem;
  cursor: pointer;
}

.quick-view-file-label input[type="file"] {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.quick-view-file-btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  background: var(--blue-dark);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: none;
}

.quick-view-file-label:hover .quick-view-file-btn {
  background: var(--blue);
}

.quick-view-file-note {
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 0 !important;
}

.quick-view-file-fallback {
  text-align: center;
  padding: 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 8px;
}

.quick-view-file-fallback p {
  margin: 0 0 0.5rem;
  color: #333;
}

.quick-view-past-banner {
  margin: 0 0 0.75rem;
  padding: 0.6rem 0.75rem;
  background: #fff3e0;
  border: 1px solid #ffcc80;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #e65100;
  line-height: 1.4;
  display: none; /* Hide stale CSV warning banner */
}

/* Quick View as AMC-style terminal list: sort bar + card column */
.quick-view-list-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 0;
}

.quick-view-intro {
  text-align: center;
  margin-bottom: 0.5rem;
}

/* Snapshot page: Pop image on right of flight schedule, ~3x size.
   Use flexbox so Pop's feet align with the bottom of the flight list,
   instead of relying on a fixed bottom offset that breaks as content changes. */
.quick-view-snapshot-with-pop {
  position: relative;
  width: 100%;
  min-height: 0;
}

.quick-view-snapshot-content {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

/* Snapshot: flight cards fill content column, 25% shorter cells */
.quick-view-snapshot-with-pop .amc-terminal-card.quick-view-flight-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.52rem 0.9rem;
}

.quick-view-snapshot-with-pop .amc-terminals-list {
  align-items: stretch;
  width: 100%;
  gap: 0.22rem;
  flex: 0 0 auto;
  min-height: 0;
  height: auto;
  justify-content: flex-start;
}

/* Snapshot: Pop centered ABOVE the flight cards */
.snapshot-pop-top {
  display: flex;
  justify-content: center;
  margin: 0.35rem 0 0.35rem;
}

.snapshot-pop-top img {
  display: block;
  max-height: 260px;
  width: auto;
}

.quick-view-snapshot-with-pop .quick-view-flight-route {
  line-height: 1.2;
  font-size: 0.9rem;
}

.quick-view-snapshot-with-pop .quick-view-flight-meta {
  font-size: 0.7rem;
  margin-top: 0.2rem;
}

/* Snapshot intro: larger so header stays readable next to Pop image */
/* Snapshot: hide "Full Flight Schedule Can Be Found At" line */
.quick-view-snapshot-with-pop .quick-view-intro .qv-intro-line1,
.quick-view-snapshot-with-pop .quick-view-intro .qv-intro-line1 + br {
  display: none;
}

.quick-view-snapshot-with-pop .quick-view-intro .qv-intro-line2 {
  font-size: 36px;
  font-weight: 700;
  color: #0b2040;
}

/* Snapshot page: canvas and Pop overlay */
.snapshot-page .snapshot-canvas {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

.snapshot-page .snapshot-pop-overlay {
  position: absolute;
  right: 40px;  /* move Pop further right over cards */
  top: 170px;   /* moved down twice the last upward adjustment */
  z-index: 5;
}

.snapshot-page .snapshot-pop-overlay img {
  display: block;
  max-width: 297px; /* 180px * 1.65 */
  height: auto;
}

/* Snapshot page: make the white flight cards ~25% narrower than normal */
.snapshot-page .amc-terminal-card.quick-view-flight-card {
  width: min(52vw, 390px);
}

.snapshot-page .amc-terminal-list-panel {
  max-width: min(calc(52vw + 1rem), 406px);
}

.quick-view-intro .qv-intro-line1 {
  font-size: 20px;
  font-weight: 600;
}

.quick-view-intro .qv-intro-line2 {
  font-size: 26px;
  font-weight: 700;
  color: #0b2040; /* dark navy for all non-special letters */
}

.qv-letter-red {
  color: #d32f2f;
}

.qv-letter-blue {
  color: #1565c0;
}

.qv-letter-white {
  color: #ffffff;
  /* subtle outline so white letter is visible on light backgrounds */
  text-shadow: 0 0 2px #0b2040;
}

.quick-view-past-banner {
  flex-shrink: 0;
}

.quick-view-sort-bar {
  flex-shrink: 0;
}

/* Scrollable flight list — desktop scroll lives on .amc-terminal-list-panel */
.quick-view-results {
  flex: 1 0 auto;
  min-height: 0;
  overflow: visible;
}

.quick-view-results.amc-terminal-list-panel {
  padding-right: 0.35rem; /* keep scrollbar off card edges */
}

.quick-view-sort-bar {
  display: flex;
  flex-direction: row;
  width: min(100%, 22rem);
  max-width: 100%;
  margin: 0 0 0.75rem;
  border: 1px solid #90caf9;
  border-radius: 8px;
  overflow: hidden;
}

.quick-view-sort-bar .amc-action-button,
.quick-view-sort-bar .qv-sort-btn {
  flex: 1 1 0;
  width: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  border-right: 1px solid #90caf9;
  background: #ffffff;
  color: #0d47a1;
  box-shadow: none;
  min-height: 2.1rem;
  padding: 0.35rem 0.45rem;
  font-size: 0.88rem;
}

.quick-view-sort-bar .qv-sort-btn:last-child {
  border-right: 0;
}

.quick-view-sort-bar .qv-sort-btn.is-active {
  background: #1565c0;
  color: #ffffff;
}

.quick-view-sort-bar .qv-sort-btn:focus-visible {
  outline: 2px solid #0d47a1;
  outline-offset: -2px;
  z-index: 1;
}

.quick-view-flight-list {
  /* inherits .amc-terminals-list flex column + centered cards */
  padding-bottom: 0.5rem;
}

.quick-view-flight-card {
  cursor: default;
  text-align: left;
}

a.quick-view-flight-card {
  cursor: pointer;
}

.quick-view-flight-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.16);
}

.quick-view-flight-route {
  line-height: 1.35;
  word-break: break-word;
}

.quick-view-flight-meta {
  font-size: 0.88rem;
  font-weight: 500;
  color: #37474f;
  margin-top: 0.35rem;
}

/* Natural-language line under each flight card for SEO (visible but subtle) */
.quick-view-flight-seo {
  margin: 0.25rem 0 0;
  font-size: 12px;
  color: #6b6b6b;
  font-weight: normal;
  line-height: 1.3;
}

.quick-view-table-wrap {
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.quick-view-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.quick-view-table {
  width: 100%;
  /* Extra width so Date column can hold DD-MMM-YY (e.g. 31-Dec-99) comfortably */
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.8rem;
}

/* Date column (3rd): widest DD-MMM-YY is 9 glyphs — reserve space so it never wraps/crops */
.quick-view-table th:nth-child(3),
.quick-view-table td:nth-child(3) {
  min-width: 7.25rem;
  white-space: nowrap;
  box-sizing: border-box;
}

.quick-view-table thead tr {
  background: #bbdefb;
}

.quick-view-table th,
.quick-view-table td {
  border: 1px solid #9e9e9e;
  padding: 0.5rem 0.5rem;
  text-align: left;
  vertical-align: middle;
}

.quick-view-table th {
  font-weight: 700;
  color: #0d47a1;
}

.qv-sort {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: #0d47a1;
  cursor: pointer;
  text-decoration: underline;
}

.qv-sort:hover {
  color: #1565c0;
}

.qv-sort-active {
  text-decoration: underline;
}

.quick-view-table td.qv-center {
  text-align: center;
}

.quick-view-disclaimer-dialog {
  max-width: 420px;
}

.quick-view-disclaimer-body {
  padding: 1rem 1.25rem 1.25rem;
}

.quick-view-disclaimer-body p {
  margin: 0 0 0.75rem;
  line-height: 1.45;
  color: #333;
}

.quick-view-disclaimer-body .feedback-submit {
  margin-top: 0.5rem;
  width: 100%;
}

/* ===========================
   Feedback page (matches Flutter SuggestionsScreen → feedback.php)
   =========================== */

body.feedback-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.feedback-main {
  flex: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2rem;
  width: 100%;
}

.feedback-layout {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 400px);
  gap: 1.5rem;
  align-items: center;
}

.feedback-content {
  min-width: 0;
}

.feedback-side {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.feedback-side-image {
  max-width: 360px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

@media (max-width: 900px) {
  .feedback-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .feedback-side {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
  }
}

.feedback-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--blue-dark);
}

.feedback-intro {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #424242;
  max-width: 520px;
}

.feedback-form {
  position: relative;
  background: #fff;
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin-top: 0.5rem;
}

.feedback-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
  pointer-events: none;
}

.feedback-field {
  margin-bottom: 1.1rem;
}

.feedback-field:last-of-type {
  margin-bottom: 0;
}

.feedback-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: #333;
}

.feedback-input,
.feedback-textarea,
.feedback-form select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
  border: 1px solid #aaa;
  border-radius: 4px;
  font-family: inherit;
  box-sizing: border-box;
}

.feedback-textarea {
  resize: vertical;
  min-height: 120px;
}

.feedback-error {
  color: #b71c1c;
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
}

.feedback-field .feedback-error {
  margin: 0.45rem 0 0;
}

.feedback-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  background: var(--blue-dark);
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.feedback-submit:hover:not(:disabled) {
  background: var(--blue);
}

.feedback-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.feedback-footnote {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.35;
}

.feedback-success {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
}

.feedback-success-remark {
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
  color: #333;
}

.feedback-success-message {
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
  color: #555;
}

.feedback-back {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: var(--blue-dark);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
}

.feedback-back:hover {
  background: var(--blue);
  color: #fff;
}

.feedback-fallback {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #444;
}

.feedback-fallback a {
  color: var(--blue-dark);
  font-weight: 600;
}

@media (max-width: 480px) {
  .social-media-link {
    flex-wrap: wrap;
  }
  .social-media-thumb {
    width: 120px;
    height: 120px;
    max-width: 100%;
    max-height: none;
  }
  .social-media-body {
    flex: 1 1 100%;
  }
  .social-media-resource-grid .social-media-thumb,
  .social-media-official-grid .social-media-thumb,
  .social-media-official-grid .social-media-thumb--brand {
    width: 150px;
    height: 150px;
    max-width: 150px;
    max-height: 150px;
  }
  .social-media-resource-grid .social-media-item--logo-poppin .social-media-thumb-wrap {
    height: auto;
    flex-basis: auto;
  }
  .social-media-resource-grid .social-media-item--logo-dod .social-media-thumb-wrap {
    height: 150px;
    flex-basis: 150px;
  }
  .social-media-resource-grid .social-media-thumb--logo-poppin {
    width: 88%;
    height: auto;
    max-width: 16rem;
    max-height: 4.75rem;
    object-fit: contain;
  }
  .social-media-resource-grid .social-media-thumb--logo-dod {
    width: 216px;
    height: auto;
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
  }
}

/* ===========================
   Website 2.0 additions
   Enhance existing pages. Do not replace the current visual identity.
   =========================== */

#w20-preview-banner {
  background: #2b3a57;
  color: #fff;
  text-align: center;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

body.w20-preview {
  padding-top: 0;
}

.nav-drop {
  position: relative;
  display: inline-flex;
  overflow: visible;
}

.nav-drop-toggle {
  cursor: pointer;
  font-family: inherit;
  pointer-events: auto;
}

.nav-drop-toggle.nav-drop-current {
  background: linear-gradient(180deg, #7a9fc9, #5a7fa8, #3d5a7a);
  border-color: #3d5a7a;
}

.nav-drop-panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 13.5rem;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.45rem;
  background: #0d47a1;
  border: 2px solid #fff;
  border-radius: 0.85rem;
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.25);
  pointer-events: auto;
  max-height: calc(100vh - 4.75rem);
  overflow-x: hidden;
  overflow-y: auto;
}

.nav-drop-panel[hidden] {
  display: none;
}

.nav-drop-panel .nav-btn {
  width: 100%;
  text-align: center;
  pointer-events: auto;
}

.nav-app-badge-panel {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.65rem;
  width: max-content;
  min-width: 0;
  max-width: min(24rem, calc(100vw - 1.5rem));
}

.nav-app-badge-panel .nav-app-store,
.nav-app-badge-panel .nav-app-store[aria-disabled="true"] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 0;
  height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
  color: inherit;
}

.nav-app-badge-panel .nav-app-store:hover,
.nav-app-badge-panel .nav-app-store[aria-disabled="true"]:hover {
  background: transparent;
}

.nav-drop-heading {
  display: block;
  margin: 0.15rem 0.15rem 0.05rem;
  padding: 0.2rem 0.45rem 0.1rem;
  color: #c5d8f0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: left;
  pointer-events: none;
  cursor: default;
}

.nav-drop-heading + .nav-drop-heading,
.nav-btn + .nav-drop-heading {
  margin-top: 0.4rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

@media (min-width: 1101px) {
  .page-nav {
    flex-wrap: nowrap;
  }

  .page-nav > .nav-btn,
  .nav-drop-toggle {
    white-space: nowrap;
  }

  .nav-share {
    margin-left: auto;
  }
}

@media (min-width: 1101px) and (max-width: 1279px) {
  .page-nav-center > .nav-btn,
  .page-nav-center .nav-drop-toggle {
    padding: 0.42rem 0.7rem;
  }
}

@media (max-width: 1100px) {
  .nav-drop {
    display: block;
    width: 100%;
  }

  .nav-drop-toggle {
    width: 100%;
  }

  .nav-drop-panel {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 0.35rem;
  }

  /* Keep hamburger tappable when the compact app banner is previewed. */
  #w20-preview-banner,
  #w20-app-banner {
    padding-right: 3.4rem;
  }
}

.nav-more,
.nav-more-toggle,
.nav-more-panel {
  /* kept as aliases during transition */
}

#w20-app-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.85rem;
  background: #0d47a1;
  color: #fff;
  padding: 0.45rem 1rem;
  border-bottom: 2px solid #ffeb3b;
}

.w20-app-banner-copy {
  margin: 0;
  font-weight: 700;
  font-size: 0.92rem;
}

.w20-app-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.w20-app-store-link,
.w20-app-store-fake,
.w20-app-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.82rem;
  text-decoration: none;
}

.w20-app-store-link,
.w20-app-store-fake {
  background: #ffeb3b;
  color: #082e6b;
  border: 2px solid #ffeb3b;
}

.w20-app-store-fake {
  opacity: 0.85;
  cursor: default;
}

.w20-app-continue {
  background: #fff;
  color: #0d47a1;
  border: 2px solid #fff;
  cursor: pointer;
  font-family: inherit;
}

.w20-app-close {
  appearance: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.w20-app-store-link:focus-visible,
.w20-app-continue:focus-visible,
.w20-app-close:focus-visible,
.nav-drop-toggle:focus-visible {
  outline: 3px solid #ffeb3b;
  outline-offset: 2px;
}

.w20-fav-btn,
.w20-dest-btn,
.w20-print-btn,
.w20-save-flight {
  appearance: none;
  border: 1px solid #0d47a1;
  background: #fff;
  color: #0d47a1;
  font-weight: 700;
  font-size: 0.78rem;
  border-radius: 999px;
  min-height: 36px;
  padding: 0.2rem 0.7rem;
  cursor: pointer;
}

.w20-fav-btn[aria-pressed="true"],
.w20-dest-btn[aria-pressed="true"],
.w20-save-flight[aria-pressed="true"] {
  background: #fff8c4;
}

.w20-fav-btn:focus-visible,
.w20-dest-btn:focus-visible,
.w20-print-btn:focus-visible,
.w20-save-flight:focus-visible,
.w20-copy-flight:focus-visible,
.w20-share-flight:focus-visible,
.nav-more-toggle:focus-visible,
.filter-btn:focus-visible,
.alert-card:focus-visible,
.details-toggle:focus-visible,
.source-link:focus-visible,
.w20-alert-row:focus-visible {
  outline: 3px solid #0d47a1;
  outline-offset: 2px;
}

.amc-terminal-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.w20-terminal-tools {
  margin: 0.65rem 0 0.85rem;
}

.w20-terminal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.w20-base-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  margin: 0 0 0.55rem;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: #0d47a1;
  text-decoration: none;
  font-weight: 800;
}

.w20-base-map-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.w20-base-map-link:hover {
  background: #fff8c4;
}

.w20-base-map-link:focus-visible {
  outline: 3px solid #ffeb3b;
  outline-offset: 2px;
}

.w20-alert-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 44px;
  margin: 0 0 0.55rem;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  color: #0d47a1;
  text-decoration: none;
  font-weight: 800;
}

.w20-weather-box,
.w20-parking {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  color: #1a2f44;
  margin-bottom: 0.5rem;
}

.w20-mini-title {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  color: #0d47a1;
}

.w20-weather-now,
.w20-weather-msg,
.w20-parking p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
}

.w20-weather-days {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  line-height: 1.35;
}

.quick-view-flight-card.is-zero-seat {
  opacity: 1;
  background: #f3f5f7;
  color: #3a4248;
}

.quick-view-seats-confirmed {
  font-weight: 800;
  color: #0d47a1;
}

.quick-view-seats-zero {
  font-weight: 700;
  color: #5c656c;
}

.quick-view-seats-note {
  display: inline;
  margin-left: 0.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #5c656c;
}

.watch-form .search-label {
  display: block;
  margin-top: 0.6rem;
}

.watch-form-actions {
  margin: 0.75rem 0 0;
}

.watch-form-actions .amc-action-button,
.w20-remove-watch,
.w20-remove-dest-watch {
  min-height: 44px;
}

.watch-scope-note {
  margin: 0.2rem 0 0.45rem;
  color: #204060;
  font-weight: 600;
}

.w20-saved-watch-card > .watch-scope-note {
  padding-right: 2.75rem;
}

.w20-remove-watch:focus-visible,
.w20-remove-dest-watch:focus-visible,
.watch-form .amc-action-button:focus-visible,
.watch-form input:focus-visible,
.watch-form select:focus-visible {
  outline: 3px solid #ffeb3b;
  outline-offset: 2px;
}

.quick-view-term-link {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.w20-copy-flight,
.w20-share-flight {
  appearance: none;
  border: 1px solid #0d47a1;
  background: #fff;
  color: #0d47a1;
  font-weight: 700;
  font-size: 0.78rem;
  border-radius: 999px;
  min-height: 36px;
  padding: 0.2rem 0.7rem;
  cursor: pointer;
  white-space: normal;
}

.quick-view-flight-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.4rem;
  width: 100%;
  margin-top: 0.45rem;
}

.quick-view-empty-inline {
  margin: 0.75rem 0;
  color: #204060;
}

.alerts-main,
.signup-main,
.checklist-main {
  max-width: 52rem;
  margin: 0 auto 2rem;
  padding: 0 1rem 1.5rem;
}

.alerts-toolbar,
.signup-notice,
.signup-official,
.checklist-note {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(18, 58, 99, 0.18);
  border-radius: 1rem;
  padding: 0.85rem;
  margin-bottom: 0.85rem;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.filter-btn {
  appearance: none;
  border: 2px solid #0d47a1;
  background: #fff;
  color: #0d47a1;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  min-height: 44px;
  cursor: pointer;
}

.filter-btn[aria-pressed="true"] {
  background: #0d47a1;
  color: #fff;
}

.search-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0d47a1;
  margin-bottom: 0.3rem;
}

.search-input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  border: 1px solid #90caf9;
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  font-size: 1rem;
  color: #0d47a1;
  background: #fff;
}

.search-input::placeholder {
  color: #546e7a;
  opacity: 1;
  font-size: 0.92rem;
}

.alerts-count {
  margin: 0.1rem 0 0.5rem;
  font-size: 0.9rem;
  color: #204060;
}

.alert-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.alert-card {
  background: #f7f9f1;
  border: 1px solid rgba(18, 58, 99, 0.18);
  border-radius: 0.75rem;
  padding: 0.4rem 0.7rem 0.4rem;
  box-shadow: 0 0.2rem 0.55rem rgba(0, 0, 0, 0.07);
  cursor: pointer;
}

.alert-card.is-terminal {
  border-left: 6px solid #0d47a1;
}

.alert-card.is-country {
  border-left: 6px solid #f9a825;
}

.alert-kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.45rem;
  margin: 0 0 0.1rem;
}

.alert-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0d47a1;
}

.alert-place {
  margin: 0 0 0.12rem;
  font-size: clamp(1.12rem, 3.2vw, 1.35rem);
  line-height: 1.15;
  color: #0d47a1;
}

.alert-official {
  margin: 0 0 0.15rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #123a63;
}

.alert-kind,
.priority-text {
  display: inline-block;
  margin: 0;
  padding: 0.1rem 0.42rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.alert-kind {
  background: #e3f2fd;
  color: #0d47a1;
}

.priority-text {
  border: 1px solid #0d47a1;
  background: #fff;
  color: #0d47a1;
}

.priority-text.is-breaking {
  background: #0d47a1;
  color: #fff;
}

.priority-text.is-important {
  background: #ffeb3b;
  color: #082e6b;
  border-color: #f9a825;
}

.alert-headline,
.alert-meta,
.alert-terminals {
  margin: 0 0 0.18rem;
  font-size: 0.86rem;
  color: #204060;
  line-height: 1.35;
}

.terminal-link {
  color: #0d47a1;
  font-weight: 800;
}

.details-toggle {
  appearance: none;
  background: none;
  border: 0;
  color: #0d47a1;
  font-weight: 700;
  font-size: 0.88rem;
  min-height: 36px;
  padding: 0;
  cursor: pointer;
}

.source-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  background: #fff;
  border: 2px solid #0d47a1;
  color: #0d47a1;
  font-weight: 800;
  text-decoration: none;
}

.alert-detail {
  margin-top: 0.55rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(18, 58, 99, 0.18);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(7.5rem, 28%) 1fr;
  gap: 0.35rem 0.75rem;
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
}

.detail-grid dt {
  font-weight: 800;
  color: #0d47a1;
}

.detail-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.empty-state,
.fail-state,
.personal-empty {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1rem;
  padding: 1.1rem 1rem;
  text-align: center;
  color: #204060;
}

.fail-state {
  border: 1px solid rgba(196, 124, 0, 0.45);
  background: #fff6db;
  color: #614400;
}

.signup-notice {
  border: 2px solid #0d47a1;
  padding: 0;
}

.signup-notice strong {
  color: #0d47a1;
}

.signup-intro {
  margin: 0 0 0.85rem;
  color: #204060;
  font-size: 0.98rem;
  line-height: 1.45;
}

.signup-notice-toggle {
  display: block;
  width: 100%;
  box-sizing: border-box;
  list-style: none;
  cursor: pointer;
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-radius: 0.95rem;
  color: inherit;
}

.signup-notice-toggle::-webkit-details-marker,
.signup-notice-toggle::marker {
  display: none;
  content: "";
}

.signup-notice-toggle:hover,
.signup-notice-toggle:focus-visible {
  background: rgba(13, 71, 161, 0.07);
}

.signup-notice-toggle:focus-visible {
  outline: 3px solid #ffeb3b;
  outline-offset: -2px;
}

.signup-notice-summary {
  display: block;
  line-height: 1.4;
}

.signup-notice-summary strong {
  display: block;
  margin-bottom: 0.2rem;
}

.signup-notice-details {
  padding: 0 0.9rem 0.75rem;
}

.signup-notice-details p {
  margin: 0 0 0.55rem;
  color: #204060;
  line-height: 1.4;
}

.signup-disclose-label,
.signup-disclose-less,
.signup-disclose-toggle {
  color: #0d47a1;
  font-weight: 800;
  font: inherit;
  font-weight: 800;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.signup-disclose-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  list-style: none;
}

.signup-disclose-toggle::-webkit-details-marker,
.signup-disclose-toggle::marker {
  display: none;
  content: "";
}

.signup-disclose-toggle:hover,
.signup-disclose-toggle:focus-visible,
.signup-disclose-less:hover,
.signup-disclose-less:focus-visible {
  color: #082e6b;
}

.signup-disclose-toggle:focus-visible,
.signup-disclose-less:focus-visible {
  outline: 3px solid #ffeb3b;
  outline-offset: 2px;
  border-radius: 0.25rem;
}

.signup-disclose-less {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

details:not([open]) > summary .signup-disclose-less-text,
details[open] > summary .signup-disclose-more {
  display: none;
}

.signup-region {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 0.85rem;
  margin-bottom: 0.65rem;
  padding: 0.35rem 0.75rem 0.65rem;
}

.signup-region summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  font-weight: 800;
  color: #0d47a1;
  cursor: pointer;
}

.signup-terminal {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.35rem 0;
  min-height: 44px;
}

.signup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.checklist-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 0.85rem;
  padding: 0.75rem;
  margin-bottom: 0.55rem;
}

.checklist-item input {
  margin-top: 0.35rem;
  width: 1.15rem;
  height: 1.15rem;
}

.checklist-item h2 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: #0d47a1;
}

.checklist-item p {
  margin: 0;
  color: #204060;
  line-height: 1.4;
}

@media (max-width: 700px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .filter-btn,
  .source-link,
  .w20-alert-row {
    width: 100%;
  }
}

.w20-sr-only,
.w20-nav-help {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-gated {
  display: none;
}

.nav-gated.is-enabled {
  display: flex;
}

.nav-btn-disabled,
.nav-app-store[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  background: #6b7c93;
  border-color: #5a6b82;
  color: #e8eef5;
}

.nav-gated-off:hover + .w20-nav-help,
.nav-gated-off:focus + .w20-nav-help,
.nav-gated-off:focus-visible + .w20-nav-help,
.nav-app-store[aria-disabled="true"]:hover + .w20-nav-help,
.nav-app-store[aria-disabled="true"]:focus + .w20-nav-help,
.nav-app-store[aria-disabled="true"]:focus-visible + .w20-nav-help {
  position: absolute;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  overflow: visible;
  white-space: normal;
  z-index: 1300;
  left: 0.45rem;
  right: 0.45rem;
  margin-top: 0.15rem;
  padding: 0.4rem 0.55rem;
  background: #fff8c4;
  color: #082e6b;
  border: 1px solid #f9a825;
  border-radius: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  pointer-events: none;
}

.w20-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  margin-left: 0.35rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: #ffeb3b;
  color: #082e6b;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.nav-drop-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.signup-choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.signup-choice-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.signup-choice-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid #0d47a1;
  border-radius: 1rem;
  padding: 0.85rem 0.95rem;
  color: inherit;
  text-decoration: none;
  min-height: 0;
}

.signup-choice-card--featured {
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr) 125px;
  align-items: center;
  gap: 0.5rem 1rem;
  min-height: 0;
  padding: 0.85rem 1rem 0.85rem 0.85rem;
  border-width: 1px;
  border-color: #c9a227;
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.18);
  background: #fff;
  position: relative;
}

.signup-choice-card--featured::before {
  content: "";
  grid-row: 1 / -1;
  grid-column: 1;
  align-self: stretch;
  width: 6px;
  border-radius: 6px;
  background: #f3e2a5;
}

.signup-choice-card--featured .signup-choice-featured-copy {
  grid-column: 2;
}

.signup-choice-card--featured .signup-choice-pop {
  grid-column: 3;
}

.signup-choice-pop {
  width: 120px;
  height: 120px;
  max-width: 125px;
  max-height: 125px;
  object-fit: contain;
  object-position: center right;
  pointer-events: none;
  background: transparent;
}

.signup-choice-card--collapsible {
  cursor: pointer;
  min-height: 6.5rem;
}

.signup-choice-card--collapsible.is-expanded {
  cursor: default;
}

.signup-choice-expand-panel[hidden] {
  display: none;
}

.signup-choice-secondary .signup-choice-action[hidden] {
  display: none;
}

.signup-choice-card:focus-visible {
  outline: 3px solid #0d47a1;
  outline-offset: 2px;
}

.signup-choice-featured-copy {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.signup-choice-featured-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.7rem;
}

.signup-choice-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  background: #f4d56a;
  color: #082e6b;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
}

.signup-choice-pop {
  width: 120px;
  height: 120px;
  max-width: 125px;
  max-height: 125px;
  object-fit: contain;
  object-position: center right;
  pointer-events: none;
  background: transparent;
}

.signup-choice-card--featured h2 {
  font-size: 1.28rem;
}

.signup-choice-more-wrap {
  margin: 0;
}

.signup-choice-more p {
  margin: 0.15rem 0 0;
}

.signup-choice-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.2rem;
  min-height: 44px;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: #0d47a1;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.signup-choice-card--featured .signup-choice-action:hover,
.signup-choice-card--featured .signup-choice-action:focus-visible {
  background: #082e6b;
  color: #fff;
}

.signup-choice-secondary .signup-choice-action {
  margin-top: auto;
  background: #fff;
  color: #0d47a1;
  border: 2px solid #0d47a1;
  padding: 0.3rem 0.85rem;
}

.signup-choice-card:focus-visible,
.signup-choice-action:focus-visible {
  outline: 3px solid #ffeb3b;
  outline-offset: 2px;
}

a.signup-choice-card:hover {
  box-shadow: 0 4px 12px rgba(13, 71, 161, 0.12);
}

.signup-choice-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0d47a1;
}

.signup-choice-card h2 {
  margin: 0;
  font-size: 1.05rem;
  color: #0d47a1;
}

.signup-choice-card p {
  margin: 0;
  color: #204060;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.signup-region-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
}

.signup-region-check-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.signup-region-toggle {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.25rem 0.15rem;
  border: 0;
  background: transparent;
  color: #0d47a1;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.signup-region-toggle:focus-visible {
  outline: 3px solid #0d47a1;
  outline-offset: 2px;
}

.signup-region-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.15rem 1rem;
  padding: 0.15rem 0 0.35rem 2.4rem;
}

.signup-region-panel[hidden] {
  display: none;
}

.signup-terminal.is-disabled {
  opacity: 0.7;
}

.signup-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
}

.signup-form-grid label,
.signup-save-box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0d47a1;
}

.signup-form-grid input,
.signup-form-grid select,
.signup-dep-row input {
  min-height: 44px;
  border: 1px solid #90caf9;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  font: inherit;
}

.signup-form-span {
  grid-column: 1 / -1;
}

.signup-error-summary {
  border: 2px solid #b71c1c;
  background: #ffebee;
  color: #3e2723;
  border-radius: 0.75rem;
  padding: 0.75rem 0.9rem;
  margin: 0.75rem 0 1rem;
}

.signup-error-summary h3 {
  margin: 0 0 0.35rem;
  color: #b71c1c;
  font-size: 1.05rem;
}

.signup-error-summary ul {
  margin: 0;
  padding-left: 1.2rem;
}

.signup-error-summary li {
  margin: 0.2rem 0;
  color: #3e2723;
  font-weight: 700;
}

.signup-field-error {
  display: block;
  margin-top: 0.25rem;
  color: #b71c1c;
  font-size: 0.88rem;
  font-weight: 700;
}

.signup-field-error[hidden] {
  display: none;
}

.signup-form-grid input[aria-invalid="true"],
.signup-form-grid select[aria-invalid="true"] {
  border-color: #b71c1c;
  outline: 2px solid #b71c1c;
  outline-offset: 1px;
}

#signup-leave-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
}

#signup-leave-fields[hidden] {
  display: none;
}

.signup-save-box span {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  min-height: 44px;
}

.signup-main input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  margin: 0;
  flex-shrink: 0;
  align-self: center;
  accent-color: #0d47a1;
}

.signup-form-grid input[type="checkbox"] {
  min-height: 18px;
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 3px;
}

.signup-save-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.signup-notify-block {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
}

.signup-notify-email-label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.signup-notify-decline-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
  margin: 0;
  font-weight: 600;
  color: #204060;
  cursor: pointer;
}

.signup-form-grid .signup-notify-decline-row {
  flex-direction: row;
  align-items: center;
}

.signup-notify-decline-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
}

.signup-selected-status {
  margin: 0.65rem 0 0.35rem;
  font-weight: 700;
  color: #0d47a1;
}

.signup-selected-summary {
  margin: 0.2rem 0 0.8rem;
}

.signup-selected-summary[hidden] {
  display: none;
}

.signup-individual-list .signup-terminal,
.signup-region .signup-terminal,
.signup-save-box span,
.signup-region-check-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

dialog#signup-terminal-dialog {
  width: min(42rem, calc(100vw - 1.25rem));
  max-height: min(86vh, 760px);
  padding: 0;
  border: 2px solid #0d47a1;
  border-radius: 12px;
  color: #204060;
}

dialog#signup-terminal-dialog::backdrop {
  background: rgba(6, 18, 36, 0.72);
}

.signup-terminal-dialog-inner {
  display: flex;
  flex-direction: column;
  max-height: min(86vh, 760px);
  min-height: 0;
}

.signup-terminal-dialog-header,
.signup-terminal-dialog-actions {
  flex-shrink: 0;
  padding: 0.85rem 1rem;
}

.signup-terminal-dialog-header h3 {
  margin: 0 0 0.35rem;
}

.signup-dialog-body {
  overflow: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
  flex: 1 1 auto;
  padding: 0 1rem 0.75rem;
}

.signup-terminal-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  border-top: 1px solid rgba(13, 71, 161, 0.2);
}

body.signup-dialog-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  dialog#signup-terminal-dialog {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }

  .signup-terminal-dialog-inner {
    height: 100dvh;
    max-height: 100dvh;
  }
}

.signup-review-traveler p {
  margin: 0.2rem 0;
  color: #204060;
}

.signup-dep-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.signup-privacy-note {
  margin: 0.35rem 0 0.7rem;
  color: #204060;
  font-weight: 600;
}

.amc-closest-location {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-weight: 700;
  color: #0d47a1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.amc-closest-location input {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  border: 1px solid #90caf9;
  font: inherit;
}

.w20-match-list {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
  color: #204060;
}

.w20-match-list li {
  margin: 0.15rem 0;
}

.signup-mode-toggle {
  display: flex;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
}

.signup-mode-btn {
  flex: 1;
  min-height: 44px;
  border: 1.4px solid #0d47a1;
  border-radius: 12px;
  background: #fff;
  color: #0d47a1;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.signup-mode-btn[aria-pressed="true"] {
  background: #e8f1fb;
  box-shadow: 0 2px 6px rgba(13, 71, 161, 0.18);
}

.signup-mode-btn:focus-visible,
.signup-select-all-row .amc-action-button:focus-visible,
#signup-continue:focus-visible,
#signup-open-email:focus-visible,
#signup-review-edit:focus-visible,
#signup-select-all-cancel:focus-visible,
#signup-select-all-confirm:focus-visible,
.signup-individual-box:focus-visible,
.signup-history-item:focus-within {
  outline: 3px solid #ffeb3b;
  outline-offset: 2px;
}

.signup-select-all-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.signup-select-all-row .amc-action-button {
  width: auto;
  min-width: 12rem;
}

.signup-individual-list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 1rem;
}

.signup-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  margin: 0.85rem 0;
}

.signup-region.is-selected .signup-region-name {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.signup-history-item {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 0.75rem;
  padding: 0.7rem 0.85rem;
  margin: 0.45rem 0;
}

@media (max-width: 900px) {
  .signup-choice-secondary,
  .signup-form-grid,
  .signup-region-panel,
  .signup-dep-row,
  .signup-mode-toggle,
  .signup-select-all-row,
  #signup-leave-fields {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .signup-choice-card--featured {
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .signup-choice-pop {
    position: static;
    width: 120px;
    height: 120px;
    max-width: 125px;
    max-height: 125px;
    align-self: flex-end;
  }

  .signup-choice-featured-copy > h2 {
    padding-right: 0;
  }
}

.nav-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 2px solid #ffc107;
  background: #fff8e1;
  color: #0d47a1;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.nav-share:hover {
  background: #fff;
}

.nav-share:focus-visible {
  outline: 3px solid #ffeb3b;
  outline-offset: 2px;
}

.nav-share-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.nav-share-label--mobile {
  display: none;
}

.nav-build-id,
.page-nav .nav-build-id,
#pops-nav-build {
  display: none !important;
}

.pops-live-status {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 1400;
  max-width: min(92vw, 28rem);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: #0d47a1;
  color: #fff;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.pops-live-status:empty {
  display: none;
}

body.closest-page .amc-layout {
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
}

body.closest-page .amc-filters {
  min-width: 0;
  max-width: 100%;
}

body.closest-page .amc-side-image {
  display: none;
}

body.closest-page .amc-side-image img {
  display: none;
}

body.closest-page .amc-page-title-wrap {
  display: flex;
  justify-content: center;
  padding: 0 1rem 0.1rem;
}

body.closest-page .amc-page-title-image {
  width: min(100%, 480px);
}

body.closest-page .amc-action-button {
  max-width: 100%;
}

body.closest-page .amc-closest-radius input[type="range"] {
  max-width: 100%;
}

@media (max-width: 900px) {
  body.closest-page .amc-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body.closest-page .amc-side-image {
    display: none;
  }
}

@media (max-width: 800px) {
  .nav-share {
    width: 100%;
    margin: 0.35rem 0 0;
    justify-content: center;
  }

  .nav-share-label--desktop {
    display: none;
  }

  .nav-share-label--mobile {
    display: inline;
  }

  .home2-primary-links .hero-button {
    width: 100%;
    min-width: 0;
  }

  .home2-app-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home2-blog {
    grid-template-columns: 1fr;
  }
}

/* Prompt #4 refinements.
   Keep submenu overflow visible and stack the whole nav above Leaflet
   (tile 200, overlay 400, marker 600, popup 700, controls 1000). */
.page-nav {
  position: sticky;
  top: 0;
  overflow: visible;
  z-index: 1100;
}

.page-nav-center {
  overflow: visible;
}

body.home2-page,
body.amc-page,
body.quick-view-page,
body.closest-page,
body.alerts-page {
  overflow-x: hidden;
}

@media (min-width: 1101px) {
  .nav-drop[data-nav-group="terminals"] {
    position: relative;
  }

  #nav-terminals-panel.nav-drop-panel {
    left: 0;
    right: auto;
    transform: none;
    min-width: 12.75rem;
    width: max-content;
    max-width: min(16.5rem, calc(100vw - 1.25rem));
    max-height: min(18rem, calc(100vh - 5rem));
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    padding: 0.3rem;
  }

  #nav-terminals-panel.nav-drop-panel[hidden] {
    display: none !important;
  }
}

#nav-terminals-panel.nav-terminals-compact,
#nav-terminals-panel {
  min-width: 12.75rem;
}

#nav-terminals-panel > .nav-btn {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  margin: 0;
  padding: 0.48rem 0.7rem;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

#nav-terminals-panel > .nav-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

#nav-terminals-panel > .nav-btn:focus-visible {
  outline: 2px solid #ffeb3b;
  outline-offset: 1px;
  background: rgba(255, 255, 255, 0.2);
}

#nav-terminals-panel > .nav-btn:active,
#nav-terminals-panel > .nav-btn.nav-btn-active,
#nav-terminals-panel > .nav-btn[aria-current="page"] {
  background: rgba(255, 255, 255, 0.28);
}

#nav-terminals-panel > .nav-gated:not(.is-enabled),
#nav-terminals-panel > .nav-gated-off,
#nav-terminals-panel > .w20-nav-help {
  display: none !important;
}

#nav-terminals-panel > .nav-gated.is-enabled {
  display: flex !important;
}

body.nav-open #nav-terminals-panel {
  width: 100%;
  max-width: 100%;
  max-height: min(16rem, 40vh);
  overflow: auto;
}

body.nav-open #nav-terminals-panel > .nav-btn {
  padding: 0.5rem 0.75rem;
  border-radius: 0.4rem;
  background: transparent;
  box-shadow: none;
  border: 0;
}

.nav-mega-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.nav-mega-tools .nav-btn {
  width: auto;
}

.nav-mega-search {
  margin: 0 0 0.65rem;
}

.nav-mega-search-input {
  width: min(100%, 18rem);
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  padding: 0.35rem 0.55rem;
  font: inherit;
}

.nav-mega-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem 1rem;
}

.nav-mega-cols--az {
  margin-top: 0.25rem;
}

.nav-mega-search,
.nav-mega-col h3,
.nav-mega-col summary {
  display: none;
}

.nav-mega-col h3,
.nav-mega-col summary {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.nav-mega-col a {
  display: block;
  color: #fff;
  font-size: 0.84rem;
  padding: 0.18rem 0.25rem;
  border-radius: 0.35rem;
  text-decoration: none;
}

.nav-mega-col a:hover,
.nav-mega-col a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: 2px solid #fff;
  outline-offset: 0;
}

@media (max-width: 900px) {
  .nav-mega-cols {
    grid-template-columns: 1fr;
  }

  .nav-mega-col {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 0.35rem;
  }
}

.quick-view-intro-block {
  max-width: 730px;
  width: calc(100% - 2rem);
  margin: 0.35rem auto 0.55rem;
  padding: 0;
  box-sizing: border-box;
}

.quick-view-intro-block p {
  margin: 0 0 0.45rem;
  color: #204060;
  line-height: 1.5;
  text-align: left;
  font-size: inherit;
}

.quick-view-intro-block p:last-child {
  margin-bottom: 0;
}

@media (max-width: 800px) {
  .quick-view-intro-block {
    width: calc(100% - 2rem);
    max-width: 730px;
  }
}

.quick-view-freshness-top {
  margin: 0.15rem auto 0.45rem;
  padding: 0 1rem;
  max-width: 72rem;
  text-align: left;
  font-size: 0.92rem;
  color: #455a64;
}

.qv-seat-hint,
.qv-legend-note {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: #455a64;
}

.qv-view-label {
  margin: 0 0 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0d47a1;
}

.quick-view-flight-list.amc-terminals-list {
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
  gap: var(--qv-flight-card-gap);
  margin: 0;
  padding: 0;
  width: 100%;
}

.qv-legend {
  margin: 0.75rem 0 0.25rem;
  padding: 0.55rem 0.6rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 71, 161, 0.16);
  border-radius: 8px;
}

.qv-legend h3 {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  color: #0d47a1;
}

.qv-legend-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  color: #204060;
}

.qv-legend-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.15rem 0;
}

.qv-seat-badge {
  display: inline-block;
  min-width: 1.7rem;
  padding: 0.05rem 0.35rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
  text-align: center;
}

.qv-seat-badge.is-t {
  background: #ffe082;
  color: #5d4100;
}

.qv-seat-badge.is-f {
  background: #c8e6c9;
  color: #1b5e20;
}

.qv-seat-badge.is-zero {
  background: #cfd8dc;
  color: #37474f;
}

.qv-seat-badge.is-unknown {
  background: #eceff1;
  color: #546e7a;
}

.quick-view-flight-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.quick-view-flight-route {
  min-width: 0;
  flex: 1 1 auto;
}

.quick-view-flight-card .w20-save-flight {
  flex: 0 0 auto;
  margin: 0;
}

.qv-flight-alert-slot {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  min-height: 32px;
}

.qv-flight-alert-slot:empty {
  display: none;
  min-height: 0;
  width: 0;
  margin: 0;
  padding: 0;
}

.amc-side-links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0.55rem 0 0.35rem;
}

.amc-side-links a {
  color: #0d47a1;
  font-weight: 650;
  font-size: 0.92rem;
}

.amc-side-links a:focus-visible,
.amc-side-links a:hover {
  text-decoration: underline;
}

.amc-results-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin: 0 0 0.55rem;
}

.amc-view-toggle {
  display: flex;
  width: min(100%, 20rem);
  border: 1px solid #90caf9;
  border-radius: 8px;
  overflow: hidden;
}

.amc-view-toggle button {
  flex: 1;
  margin: 0;
  border: 0;
  border-radius: 0;
  border-right: 1px solid #90caf9;
  background: #fff;
  color: #0d47a1;
  min-height: 2.1rem;
  font-weight: 650;
  cursor: pointer;
}

.amc-view-toggle button:last-child {
  border-right: 0;
}

.amc-view-toggle button.is-active {
  background: #1565c0;
  color: #fff;
}

.amc-view-toggle button:focus-visible {
  outline: 2px solid #0d47a1;
  outline-offset: -2px;
}

.closest-page-main {
  max-width: 72rem;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.closest-search-card {
  max-width: 36rem;
  margin: 0.75rem auto 1rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(13, 71, 161, 0.18);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(13, 71, 161, 0.08);
}

.closest-search-card h1,
.closest-search-card h2 {
  margin: 0 0 0.45rem;
  color: #0d47a1;
  font-size: 1.35rem;
}

.closest-radius-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #455a64;
}

.closest-empty-hint {
  text-align: center;
  color: #204060;
  margin: 0.5rem auto 1.5rem;
  max-width: 36rem;
}

.closest-results-block[hidden] {
  display: none;
}

.closest-results-heading {
  margin: 0 0 0.35rem;
  color: #0d47a1;
  font-size: 1.2rem;
}

.closest-distance-note {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: #455a64;
}

.closest-results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

@media (min-width: 1100px) {
  .closest-results-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.closest-badge {
  display: inline-block;
  margin-left: 0.15rem;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: #0d47a1;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  vertical-align: middle;
}

.closest-result-card {
  cursor: pointer;
}

.closest-result-card .amc-terminal-card-title {
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.45rem 0.6rem;
}

.closest-card-title-group,
.closest-result-card .amc-terminal-short {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.22rem 0.35rem;
}

.closest-result-card .w20-term-cluster {
  flex: 1 1 auto;
  min-width: 0;
}

.closest-result-card .w20-wx-chip,
.closest-result-card .w20-alert-chip {
  position: relative;
  z-index: 2;
}

.closest-result-card .w20-fav-btn {
  flex: 0 0 auto;
  margin-left: auto;
  position: relative;
  z-index: 2;
}

.closest-page-main,
.closest-search-card,
.closest-empty-hint,
.closest-results-block,
.closest-results-heading,
.closest-distance-note,
.closest-results-grid {
  box-sizing: border-box;
}

.amc-view-toggle button.is-active,
.amc-view-toggle button.is-active {
  background: #1565c0;
  color: #fff;
}

.closest-card-miles {
  font-weight: 700;
  color: #0d47a1;
}

.closest-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  margin-top: 0.45rem;
}

.alerts-inline-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  margin: 0.45rem 0 0.2rem;
  padding: 0.55rem 0.7rem;
  background: #fff6db;
  border: 1px solid #f9a825;
  border-radius: 8px;
  color: #614400;
}

.alerts-inline-notice[hidden] {
  display: none;
}

.alerts-inline-notice p {
  margin: 0;
  flex: 1 1 12rem;
}

.alerts-inline-notice a {
  font-weight: 700;
  color: #0d47a1;
}

.alerts-inline-dismiss {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #614400;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  min-width: 2rem;
  min-height: 2rem;
}

.alerts-inline-dismiss:focus-visible {
  outline: 2px solid #0d47a1;
  outline-offset: 2px;
}

/* Prompt #10 — centered nav, progress badge, blog, Quick View, terminal, alerts */

@media (min-width: 1101px) {
  .page-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.35rem 0.45rem;
    flex-wrap: nowrap;
  }

  .page-nav-center {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem 0.45rem;
    justify-self: center;
    max-width: 100%;
  }

  .page-nav > .nav-share {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
  }
}

.nav-pops-progress-host {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.nav-pops-progress-host[hidden] {
  display: none !important;
}

.nav-pops-progress {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  margin: 0 0.15rem 0 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.nav-pops-progress-coin,
.pops-progress-dialog-coin {
  display: block;
  background: transparent;
  border: 0;
  box-shadow: none;
  object-fit: contain;
}

.nav-pops-progress-coin {
  width: 28px;
  height: 28px;
}

.pops-progress-dialog-coin {
  width: 112px;
  height: 112px;
  margin: 0 auto 0.75rem;
}

.nav-pops-progress:focus-visible {
  outline: 3px solid #ffeb3b;
  outline-offset: 2px;
}

.nav-pops-progress-tooltip {
  position: fixed;
  z-index: 1400;
  max-width: min(18rem, calc(100vw - 1rem));
  padding: 0.4rem 0.55rem;
  border: 1px solid #f9a825;
  border-radius: 0.5rem;
  background: #fff8c4;
  color: #082e6b;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  pointer-events: none;
}

.nav-pops-progress-tooltip[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .nav-pops-progress,
  .nav-pops-progress-coin,
  .pops-progress-dialog-coin,
  .nav-pops-progress-tooltip {
    transition: none;
    animation: none;
  }
}

.pops-progress-dialog {
  width: min(34rem, calc(100vw - 1.5rem));
  padding: 0;
  border: 0;
  border-radius: 14px;
}

.pops-progress-dialog-header,
.pops-progress-dialog-body {
  padding: 0.85rem 1rem;
}

.pops-progress-dialog-header {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(13, 71, 161, 0.16);
}

.pops-progress-dialog-close {
  min-width: 44px;
  min-height: 44px;
  padding: 0.2rem 0.7rem;
  border: 1px solid #0d47a1;
  border-radius: 8px;
  background: #fff;
  color: #0d47a1;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
}

.pops-progress-dialog-close:focus-visible {
  outline: 2px solid #c9a227;
  outline-offset: 2px;
}

.pops-progress-item {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #bbdefb;
  border-radius: 10px;
}

.pops-progress-item.is-active {
  border-color: #c9a227;
  background: #fff8e1;
}

.pops-progress-disclaimer,
.pops-progress-renewal {
  font-size: 0.9rem;
}

.pops-progress-level {
  text-align: center;
  font-weight: 800;
}

.home2-blog-featured {
  margin: 0 0 1rem;
}

.home2-post--featured {
  grid-column: 1 / -1;
}

.home2-blog-featured .home2-post,
.home2-post--featured {
  padding: 1.05rem 1.1rem 2.6rem;
  height: auto;
  max-height: none;
  min-height: 13.5rem;
  overflow: visible;
}

.home2-blog-featured .home2-post.is-collapsed,
.home2-blog-featured .home2-post.is-expanded,
.home2-post--featured.is-collapsed,
.home2-post--featured.is-expanded {
  height: auto;
  max-height: none;
  min-height: 13.5rem;
  overflow: visible;
}

.home2-blog-featured .home2-post.is-collapsed .home2-post-body,
.home2-post--featured.is-collapsed .home2-post-body {
  max-height: 9rem;
  overflow: hidden;
}

.home2-blog-featured .home2-post-more,
.home2-post--featured .home2-post-more {
  bottom: 0.7rem;
}

.home2-post-latest {
  display: inline-block;
  margin: 0 0 0.45rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: #0d47a1;
  color: #c9a227;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.home2-blog-featured .home2-post-title,
.home2-post--featured .home2-post-title {
  font-size: 1.28rem;
}

.home2-blog-featured .home2-post-image,
.home2-post--featured .home2-post-image {
  max-width: 240px;
  max-height: 168px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.home2-post-title-row {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0 5.5rem 0.2rem 0;
}

.home2-post-title-row .home2-post-title {
  margin: 0;
}

.home2-new-badge {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  margin-top: 0.15em;
}

.qv-control-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  width: auto;
  max-width: 100%;
  margin: 0 auto 0.85rem;
  align-items: stretch;
}

.qv-control-group {
  display: flex;
  flex: 0 0 auto;
  min-width: 0;
  border: 1px solid #90caf9;
  border-radius: 8px;
  overflow: hidden;
}

.qv-control-group .qv-ctrl {
  flex: 1 1 0;
  min-width: 9.25rem;
  min-height: 2.35rem;
  margin: 0;
  border: 0;
  border-right: 1px solid #90caf9;
  border-radius: 0;
  background: #fff;
  color: #0d47a1;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.qv-control-group .qv-ctrl:last-child {
  border-right: 0;
}

.qv-control-group .qv-ctrl[aria-pressed="true"] {
  background: #1565c0;
  color: #fff;
}

.qv-control-group .qv-ctrl:focus-visible {
  outline: 3px solid #ffeb3b;
  outline-offset: -2px;
}

.quick-view-results-shell {
  position: relative;
}

body.travel-alerts-page .amc-results.quick-view-results-shell,
body.quick-view-page .amc-results.quick-view-results-shell,
body.watches-page .amc-results.quick-view-results-shell {
  background: var(--card-white);
  border: 1px solid rgba(13, 71, 161, 0.16);
  border-radius: 8px;
  padding: var(--qv-results-pad);
  box-shadow: 0 2px 6px rgba(13, 71, 161, 0.08);
}

body.quick-view-page .quick-view-results.amc-terminal-list-panel {
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.quick-view-page .quick-view-flight-card .quick-view-flight-meta,
.quick-view-page .qv-seat-badge {
  font-size: calc(0.88rem + 2px);
}

.quick-view-page .qv-seat-badge {
  padding: 0.22rem 0.48rem;
}

.w20-watch-card {
  position: relative;
  padding-right: 3rem;
}

.w20-watch-star {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  border: 0;
  background: transparent;
  color: #c9a227;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.w20-match-list a {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: 6px;
  padding: 0.2rem 0.3rem;
}

.w20-match-list a:hover,
.w20-match-list a:focus-visible {
  background: #e3f2fd;
  outline: 2px solid #0d47a1;
}

.w20-terminal-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.45rem;
  margin: 0.65rem 0 0.85rem;
}

.w20-terminal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.w20-terminal-basemap {
  margin-left: auto;
}

.w20-terminal-basemap:empty {
  display: none;
}

.w20-fav-btn,
.w20-dest-btn,
.w20-print-btn,
.w20-terminal-basemap .w20-base-map-link,
.w20-terminal-basemap a,
.w20-terminal-basemap button {
  min-height: 2.4rem;
  display: inline-flex;
  align-items: center;
}

.w20-route-watch-star-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2rem;
}

.w20-route-watch-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #455a64;
  -webkit-text-stroke: 0;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  min-height: 2rem;
  flex: 0 0 2rem;
}

.w20-route-watch-star[aria-pressed="false"] {
  color: #455a64;
  -webkit-text-stroke: 0;
  font-size: 1.65rem;
}

.w20-route-watch-star[aria-pressed="true"] {
  color: #f5c518;
  -webkit-text-stroke: 0;
  font-size: 1.65rem;
}

.terminal-v2-table th.terminal-v2-watch-cell,
.terminal-v2-table td.terminal-v2-watch-cell {
  text-align: center;
  vertical-align: middle;
}

.terminal-v2-watch-cell {
  text-align: center;
  vertical-align: middle;
}

.terminal-v2-watch-cell .w20-route-watch-star {
  margin: 0;
}

.w20-weather-box {
  margin: 0.75rem 0;
}

.w20-weather-summary {
  font-weight: 600;
  color: #1565c0;
}

.w20-weather-summary:empty,
.w20-weather-summary[hidden] {
  display: none;
}

.skip-to-main {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 10050;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  background: #0d47a1;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-to-main:focus,
.skip-to-main:focus-visible {
  transform: translateY(0);
  outline: 3px solid #c9a227;
  outline-offset: 2px;
}

.terminal-v2-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.terminal-v2-table tbody td {
  font-size: 0.875rem;
  vertical-align: middle;
}

.terminal-v2-contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.5rem;
}

.terminal-v2-contact-label {
  flex: 0 0 auto;
  font-weight: 800;
}

.terminal-v2-contact-value {
  flex: 1 1 12rem;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.terminal-w20-parking-host[hidden],
.terminal-w20-parking-host:empty {
  display: none !important;
  margin: 0;
  padding: 0;
  height: 0;
}

.terminal-v2-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.55rem;
}

.terminal-v2-tab[hidden] {
  display: none !important;
}

.terminal-pdf-humor {
  text-align: center;
  margin: 0.7rem 0 0.35rem;
}

.alerts-layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 1rem 1.25rem;
  max-width: 1180px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
  align-items: start;
  overflow-x: hidden;
}

.alerts-sidebar {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  padding: 0.85rem;
}

.alerts-results {
  min-width: 0;
}

.alert-card.is-level-1 {
  border-left: 6px solid #2e7d32;
}

.alert-card.is-level-2 {
  border-left: 6px solid #f9a825;
}

.alert-card.is-level-3 {
  border-left: 6px solid #ef6c00;
}

.alert-card.is-level-4 {
  border-left: 6px solid #c62828;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.checklist-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  flex: 0 0 18px;
  margin-top: 0.2rem;
}

.survey-send-confirm {
  margin: 0.85rem 0;
  padding: 0.85rem 1rem;
  border: 1px solid #90caf9;
  border-radius: 10px;
  background: #e3f2fd;
}

.survey-send-confirm[hidden],
.survey-renewal[hidden],
.checklist-complete-dialog[hidden] {
  display: none;
}

.faq-guide-callout {
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  border: 1px solid #c9a227;
  border-radius: 12px;
  background: #fff8e1;
}

@media (max-width: 800px) {
  .nav-pops-progress {
    width: 2.1rem;
    height: 2.1rem;
    margin: 0;
  }

  .qv-control-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .qv-control-group {
    flex: 1 1 calc(50% - 0.5rem);
    max-width: 22rem;
    width: auto;
  }

  .w20-terminal-basemap {
    margin-left: 0;
  }

  .alerts-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .home2-blog-featured .home2-post-image,
  .home2-post--featured .home2-post-image,
  .home2-post-image {
    max-width: 45vw;
    object-fit: contain;
  }
}

@media (max-width: 430px) {
  .nav-pops-progress-coin {
    width: 26px;
    height: 26px;
  }
}

/* Mobile header: keep medals + hamburger in flow; hide menu items until open.
   A later `.page-nav { position: relative }` must not be combined with a
   translateY hide — that reserved the full menu height as blank space. */
@media (max-width: 1100px) {
  .page-nav {
    position: sticky;
    top: 0;
    left: auto;
    right: auto;
    transform: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.4rem 3.5rem 0.4rem 0.75rem;
    overflow: visible;
    z-index: 1100;
  }

  .page-nav-center {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
  }

  .page-nav-center > .nav-pops-progress-host {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
  }

  .page-nav-center > .nav-btn,
  .page-nav-center > .nav-drop,
  .page-nav-center > .nav-build-id,
  .page-nav > .nav-share {
    display: none;
  }

  .nav-pops-progress {
    width: 2.1rem;
    height: 2.1rem;
    margin: 0;
    max-width: 100%;
  }

  body.nav-open .page-nav-center {
    flex-direction: column;
    align-items: stretch;
  }

  body.nav-open .page-nav-center > .nav-btn,
  body.nav-open .page-nav-center > .nav-drop,
  body.nav-open .page-nav > .nav-share {
    display: flex;
  }

  body.nav-open .page-nav-center > .nav-build-id,
  .page-nav .nav-build-id {
    display: none !important;
  }

  body.nav-open .page-nav-center > .nav-drop {
    display: block;
    width: 100%;
  }

  body.nav-open .page-nav-center > .nav-btn,
  body.nav-open .page-nav-center > .nav-drop > .nav-drop-toggle {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    min-height: 2.25rem;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-width: 2px;
    border-radius: 999px;
  }

  body.nav-open .page-nav-center > .nav-btn.nav-btn-active,
  body.nav-open .page-nav-center > .nav-drop > .nav-drop-toggle.nav-drop-current {
    text-align: left;
    justify-content: flex-start;
    padding: 0.45rem 0.85rem;
    width: 100%;
    min-height: 2.25rem;
    font-size: 0.85rem;
    font-weight: 600;
  }

  body.nav-open .nav-drop-panel .nav-btn {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 0.45rem 0.85rem 0.45rem 1.7rem;
  }

  body.nav-open .nav-app-badge-panel.nav-drop-panel {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: none;
  }

  body.nav-open .nav-app-badge-panel .nav-btn {
    width: auto;
    justify-content: center;
    text-align: center;
    padding: 0;
  }

  body.nav-open .nav-drop-panel .nav-btn.nav-gated:not(.is-enabled) {
    display: none;
  }

  body.nav-open .page-nav > .nav-share {
    justify-content: center;
    text-align: center;
    width: 100%;
  }
}

@media (max-width: 1100px) {
  body.home2-page:not(.nav-open) .page-nav {
    padding-top: max(0.2rem, env(safe-area-inset-top, 0px));
    padding-bottom: 0.2rem;
    padding-left: 0.6rem;
    gap: 0;
    min-height: 0;
  }

  body.home2-page:not(.nav-open) .page-nav-center {
    min-height: 2.5rem;
  }

  body.home2-page .home2-main {
    padding-top: 0.1rem;
  }
}

.pops-progress-callout {
  max-width: 46rem;
  margin: 0 auto 1rem;
  padding: 0.5rem 0.8rem;
  background: #1b396a;
  color: #ffe566;
  border: 1px solid #c9a227;
  border-radius: 8px;
  font-size: 0.88rem;
  line-height: 1.4;
}

.pops-progress-callout a {
  color: #ffe566;
  font-weight: 800;
}

.alerts-priority-legend {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #204060;
}

.alerts-sidebar .search-input {
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .alerts-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.terminal-w20-local-travel[hidden],
.terminal-w20-local-travel:empty {
  display: none !important;
  margin: 0;
  padding: 0;
  height: 0;
}

.w20-local-travel {
  margin: 1rem 0 0.75rem;
  color: #1a2f44;
}

.w20-local-travel-title {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

.w20-local-travel-category {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.5rem;
}

.w20-local-travel-category > summary {
  cursor: pointer;
  font-weight: 800;
  color: #0d47a1;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  list-style: none;
}

.w20-local-travel-category > summary::-webkit-details-marker {
  display: none;
}

.w20-lt-chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  flex: 0 0 auto;
}

.w20-local-travel-category[open] > summary .w20-lt-chevron {
  transform: rotate(45deg);
}

.w20-lt-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  flex: 1 1 auto;
}

.w20-lt-title {
  font-weight: 800;
}

.w20-lt-meta,
.w20-lt-state {
  font-weight: 600;
  font-size: 0.82rem;
  color: #204060;
}

.w20-lt-state {
  flex: 0 0 auto;
  margin-left: auto;
}

.w20-contact-field {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.45rem 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(13, 71, 161, 0.12);
}

.w20-contact-field-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.5rem;
  min-width: 0;
  flex: 1 1 12rem;
}

.w20-contact-field-main .terminal-v2-contact-label {
  flex: 0 0 auto;
  font-weight: 800;
}

.w20-contact-field-main .terminal-v2-contact-value {
  flex: 1 1 12rem;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.w20-base-map-card {
  padding: 0.35rem 0.55rem;
}

.w20-amc-gram {
  margin: 0.65rem 0 0;
}

.w20-watch-mode {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 auto 1rem;
  max-width: 52rem;
  padding: 0 1rem;
}

.w20-watch-mode-btn {
  min-height: 44px;
  min-width: 11.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 2px solid #0d47a1;
  background: #fff;
  color: #0d47a1;
  font-weight: 800;
  text-decoration: none;
}

.w20-watch-mode-btn.is-selected,
.w20-watch-mode-btn[aria-current="page"] {
  background: #0d47a1;
  color: #fff;
}

.w20-watch-mode-btn:focus-visible {
  outline: 3px solid #c9a227;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .w20-lt-chevron,
  .w20-local-travel-category[open] > summary .w20-lt-chevron {
    transition: none;
  }
}

.w20-local-travel-category > summary:focus-visible {
  outline: 3px solid #c9a227;
  outline-offset: 2px;
}

.w20-local-travel-body {
  margin-top: 0.45rem;
}

.w20-local-travel-subgroup {
  margin: 0.7rem 0 0.35rem;
  font-size: 0.92rem;
  color: #0d47a1;
}

.w20-local-travel-card,
.w20-local-travel-row {
  border: 1px solid rgba(13, 71, 161, 0.18);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.45rem;
  background: #fff;
}

.w20-local-travel-card h4 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  color: #0d47a1;
}

.w20-local-travel-meta {
  margin: 0.15rem 0 0;
  font-size: 0.86rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.w20-local-travel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.w20-local-travel-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  background: #0d47a1;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.86rem;
}

.w20-local-travel-action:hover,
.w20-local-travel-action:focus-visible {
  outline: 3px solid #c9a227;
  outline-offset: 2px;
}

.w20-local-travel-number {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-start;
  justify-content: space-between;
}

@media (max-width: 640px) {
  .w20-local-travel-number {
    flex-direction: column;
  }

  .w20-local-travel-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 560px) {
  .qv-control-row {
    flex-direction: column;
    align-items: stretch;
  }

  .qv-control-group {
    width: 100%;
    max-width: none;
    flex: 1 1 auto;
  }

  .qv-control-group .qv-ctrl {
    min-width: 0;
  }

  body.travel-alerts-page .alerts-segmented {
    flex-direction: column;
    width: min(100%, calc(4 * 9.25rem + 0.75rem + 6px));
  }

  body.travel-alerts-page .alerts-menu:first-child .alerts-menu-toggle {
    border-right: 0;
    border-bottom: 1px solid #90caf9;
    border-radius: 8px 8px 0 0;
  }

  body.travel-alerts-page .alerts-menu:last-child .alerts-menu-toggle {
    border-radius: 0 0 8px 8px;
  }
}

.home2-blog-empty {
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  padding: 1.1rem 1.2rem;
  text-align: center;
  color: #204060;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(13, 71, 161, 0.16);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(13, 71, 161, 0.08);
}

.home2-blog-layout.is-empty .home2-blog,
.home2-blog-layout.is-empty .home2-blog-featured {
  display: none;
}

.social-media-thumb--brand {
  object-fit: cover;
  background: transparent;
}

.support-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  max-width: 46rem;
  margin: 0.75rem auto 0.35rem;
  padding: 0 1rem;
}

.support-hero img {
  width: 72px;
  height: 67px;
  object-fit: contain;
  flex: 0 0 auto;
}

.support-topic-card {
  max-width: 46rem;
  margin: 0 auto 1.25rem;
  padding: 0.85rem 1rem 1rem;
  background: #fff;
  border: 1px solid rgba(13, 71, 161, 0.16);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(13, 71, 161, 0.08);
}

.support-topic-card .eligibility-section-title {
  margin-bottom: 0.65rem;
}

.support-topic-card .eligibility-panel:last-child {
  border-bottom: 0;
}

.support-feedback-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.1rem;
  border-radius: 8px;
  background: #0d47a1;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.support-feedback-link:focus-visible {
  outline: 3px solid #ffeb3b;
  outline-offset: 2px;
}

.survey-medals-status {
  max-width: 46rem;
  margin: 0 auto 0.75rem;
  padding: 0.45rem 0.8rem;
  color: #0d47a1;
  font-weight: 800;
  text-align: left;
}

body.terminal-v2-page .terminal-v2-card {
  background: rgba(18, 28, 40, 0.9);
  border: 1.5px solid #8ea0b5;
  border-radius: 1rem;
  box-shadow:
    0 1.15rem 2.6rem rgba(0, 0, 0, 0.55),
    0 0.35rem 1.05rem rgba(0, 0, 0, 0.38);
  padding: 1rem 1rem 2.1rem;
  backdrop-filter: none;
}

:root {
  --w20-control-height: 44px;
  --w20-control-border: 1px solid #90caf9;
  --w20-control-radius: 8px;
  --w20-control-bg: #fff;
  --w20-control-font: 1rem;
  --w20-control-pad: 0.5rem 0.75rem;
  --w20-label-weight: 700;
  --w20-label-gap: 0.3rem;
  --w20-placeholder: #5c7a9e;
  --w20-focus-outline: 2px solid #0d47a1;
  --w20-focus-offset: 2px;
}

.w20-label,
.search-label,
.feedback-label,
.amc-search-wrap .w20-label {
  display: block;
  font-weight: var(--w20-label-weight);
  color: #0d47a1;
  font-size: 0.88rem;
  margin: 0 0 var(--w20-label-gap);
}

.w20-control,
.amc-search-input,
.search-input,
.feedback-input,
.feedback-textarea,
.feedback-form select,
.signup-form-grid input:not([type="checkbox"]):not([type="radio"]),
.signup-form-grid select,
.signup-dep-row input:not([type="checkbox"]):not([type="radio"]),
.survey-field select,
.survey-field textarea,
.watch-form input:not([type="checkbox"]):not([type="radio"]),
.watch-form select,
.amc-closest-location input,
.amc-closest-zip input[type="text"],
.alerts-input,
.alerts-select {
  min-height: var(--w20-control-height);
  border: var(--w20-control-border);
  border-radius: var(--w20-control-radius);
  background: var(--w20-control-bg);
  font-size: var(--w20-control-font);
  padding: var(--w20-control-pad);
  color: #0d47a1;
  font-family: inherit;
  box-sizing: border-box;
}

.feedback-textarea,
.survey-field textarea {
  min-height: 120px;
  resize: vertical;
}

.w20-control::placeholder,
.amc-search-input::placeholder,
.search-input::placeholder,
.feedback-input::placeholder,
.feedback-textarea::placeholder {
  color: var(--w20-placeholder);
  opacity: 1;
}

.w20-control:focus,
.w20-control:focus-visible,
.amc-search-input:focus,
.amc-search-input:focus-visible,
.search-input:focus,
.search-input:focus-visible,
.feedback-input:focus,
.feedback-input:focus-visible,
.feedback-textarea:focus,
.feedback-textarea:focus-visible,
.feedback-form select:focus,
.feedback-form select:focus-visible,
.signup-form-grid input:focus,
.signup-form-grid input:focus-visible,
.signup-form-grid select:focus,
.signup-form-grid select:focus-visible,
.signup-dep-row input:focus,
.signup-dep-row input:focus-visible,
.survey-field select:focus,
.survey-field select:focus-visible,
.survey-field textarea:focus,
.survey-field textarea:focus-visible,
.watch-form input:focus,
.watch-form input:focus-visible,
.watch-form select:focus,
.watch-form select:focus-visible,
.amc-closest-location input:focus,
.amc-closest-location input:focus-visible,
.amc-closest-zip input[type="text"]:focus,
.amc-closest-zip input[type="text"]:focus-visible,
.alerts-input:focus,
.alerts-input:focus-visible,
.alerts-select:focus,
.alerts-select:focus-visible {
  outline: var(--w20-focus-outline);
  outline-offset: var(--w20-focus-offset);
}

.w20-search-control {
  position: relative;
}

.w20-search-control .w20-control,
.w20-search-control .search-input {
  width: 100%;
  padding-right: 2.2rem;
}

.w20-search-control input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.w20-search-clear {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #0d47a1;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.w20-search-clear:focus-visible {
  outline: var(--w20-focus-outline);
  outline-offset: var(--w20-focus-offset);
}

.amc-filter-section {
  margin: 0 0 0.7rem;
}

.amc-filter-section .amc-heading {
  margin-top: 0;
}

.amc-filter-divider {
  border: 0;
  border-top: 1px solid rgba(13, 71, 161, 0.16);
  margin: 0.35rem 0 0.75rem;
}

.amc-favorites-only {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0d47a1;
}

.amc-tool-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.amc-tool-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(13, 71, 161, 0.22);
  border-radius: 8px;
  background: #fff;
  color: #0d47a1;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.amc-tool-link:hover,
.amc-tool-link:focus-visible {
  background: #e8f1fb;
  outline: var(--w20-focus-outline);
  outline-offset: 2px;
}

body.amc-page .amc-results.amc-results-shell,
body.travel-alerts-page .amc-results.amc-results-shell {
  background: var(--card-white);
  border: 1px solid rgba(13, 71, 161, 0.16);
  border-radius: 8px;
  padding: 0.8rem 0.7rem 1rem;
  box-shadow: 0 2px 6px rgba(13, 71, 161, 0.08);
}

body.amc-page .amc-results.amc-results-shell .amc-terminal-list-panel {
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.amc-results-toolbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  margin: 0 0 0.7rem;
}

.amc-view-toggle-row {
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}

.amc-view-toggle-row .amc-view-toggle {
  width: auto;
  min-width: 16rem;
  max-width: 20rem;
}

body.travel-alerts-page .quick-view-main.amc-layout {
  max-width: 1120px;
  padding-top: 0.25rem;
}

body.travel-alerts-page .alerts-sidebar.amc-filters {
  background: var(--card-white);
  border: 1px solid rgba(13, 71, 161, 0.16);
  border-radius: 8px;
  padding: 0.8rem 0.7rem 1rem;
  box-shadow: 0 2px 6px rgba(13, 71, 161, 0.08);
}

body.travel-alerts-page .quick-view-count {
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #001f3f;
  text-align: center;
}

body.travel-alerts-page .alerts-filter-row {
  width: auto;
  max-width: 100%;
  margin: 0 auto 0.85rem;
}

body.travel-alerts-page .alerts-segmented.qv-control-group {
  display: flex;
  flex: 0 0 auto;
  width: calc(4 * 9.25rem + 0.75rem + 6px);
  max-width: 100%;
  overflow: visible;
}

body.travel-alerts-page .alerts-menu {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: visible;
}

body.travel-alerts-page .alerts-menu .alerts-menu-toggle {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border-right: 0;
}

body.travel-alerts-page .alerts-menu:first-child .alerts-menu-toggle {
  border-right: 1px solid #90caf9;
  border-radius: 8px 0 0 8px;
}

body.travel-alerts-page .alerts-menu:last-child .alerts-menu-toggle {
  border-radius: 0 8px 8px 0;
}

body.travel-alerts-page .alerts-menu-toggle[aria-expanded="true"] {
  background: #1565c0;
  color: #fff;
}

.alerts-menu-list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.25rem;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(13, 71, 161, 0.22);
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(13, 71, 161, 0.16);
  max-width: min(100%, calc(100vw - 2rem));
}

.alerts-menu-option {
  display: block;
  width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 0.35rem 0.6rem;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: #0d47a1;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.alerts-menu-option::before {
  content: "";
  display: inline-block;
  width: 1.1em;
  margin-right: 0.3rem;
}

.alerts-menu-option[aria-selected="true"]::before {
  content: "✓";
}

.alerts-menu-option[aria-selected="true"],
.alerts-menu-option:hover,
.alerts-menu-option:focus-visible {
  background: #e8f1fb;
}

.alerts-menu-option:focus-visible {
  outline: var(--w20-focus-outline);
  outline-offset: 0;
}

.alerts-legend-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.alerts-legend-list li {
  display: grid;
  grid-template-columns: 0.85rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
  font-size: 0.82rem;
  color: #204060;
}

.alert-legend-swatch {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 2px;
}

.alert-legend-swatch.is-level-1 { background: #2e7d32; }
.alert-legend-swatch.is-level-2 { background: #f9a825; }
.alert-legend-swatch.is-level-3 { background: #ef6c00; }
.alert-legend-swatch.is-level-4 { background: #c62828; }

body.travel-alerts-page .alert-card {
  background: #fffdf8;
  border-width: 1.25px;
  border-style: solid;
  border-color: #1565c0;
  border-left-width: 6px;
  border-radius: 8px;
  padding: 0.9rem 1.05rem 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

body.travel-alerts-page .alert-card.is-terminal { border-left-color: #0d47a1; }
body.travel-alerts-page .alert-card.is-country { border-left-color: #f9a825; }
body.travel-alerts-page .alert-card.is-level-1 { border-left-color: #2e7d32; }
body.travel-alerts-page .alert-card.is-level-2 { border-left-color: #f9a825; }
body.travel-alerts-page .alert-card.is-level-3 { border-left-color: #ef6c00; }
body.travel-alerts-page .alert-card.is-level-4 { border-left-color: #c62828; }

body.travel-alerts-page .alert-list {
  gap: 0.45rem;
}

dialog#signup-terminal-dialog {
  width: min(40rem, calc(100vw - 1.25rem));
  max-width: min(40rem, calc(100vw - 1.25rem));
  background: #fff;
  border: 1px solid rgba(13, 71, 161, 0.22);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(6, 18, 36, 0.35);
  color: #204060;
  overflow: hidden;
}

dialog#signup-terminal-dialog::backdrop {
  background: rgba(6, 18, 36, 0.78);
}

.signup-terminal-dialog-inner {
  display: flex;
  flex-direction: column;
  max-height: min(86vh, 760px);
  min-height: 0;
  background: #fff;
}

.signup-terminal-dialog-header,
.signup-dialog-toolbar,
.signup-terminal-dialog-actions {
  flex-shrink: 0;
}

.signup-terminal-dialog-header {
  padding: 0.85rem 1rem 0.55rem;
}

.signup-dialog-toolbar {
  padding: 0 1rem 0.55rem;
}

.signup-dialog-body {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
  flex: 1 1 auto;
  padding: 0;
}

.signup-dialog-body[hidden] {
  display: none;
}

.signup-dialog-scroller {
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
  flex: 1 1 auto;
  padding: 0 1rem 0.75rem;
}

.signup-select-all-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  margin: 0.45rem 0 0;
}

.signup-bulk-btn {
  min-height: 36px;
  padding: 0.2rem 0.15rem;
  border: 0;
  background: transparent;
  color: #0d47a1;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.signup-bulk-btn:focus-visible {
  outline: var(--w20-focus-outline);
  outline-offset: 2px;
}

.signup-terminal-dialog-actions {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(13, 71, 161, 0.2);
  background: #fff;
}

.signup-dialog-action-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.signup-dialog-action-group .amc-action-button {
  width: auto;
  min-width: 10rem;
}

.signup-dialog-action-group .eligibility-text-button {
  margin-top: 0;
}

#signup-dialog-apply:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.signup-picker-row,
.signup-individual-list .signup-terminal,
.signup-region-head {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  column-gap: 0.65rem;
  align-items: center;
  min-height: 2.75rem;
  margin: 0;
  padding: 0.15rem 0;
}

.signup-individual-list .signup-picker-row {
  grid-template-columns: 1.75rem minmax(7.5rem, 0.85fr) minmax(0, 1.35fr);
}

.signup-individual-list .signup-picker-names {
  display: contents;
}

.signup-region-head.signup-picker-row {
  grid-template-columns: 1.75rem minmax(0, 1fr) 7.5rem 1.5rem;
  column-gap: 0.5rem;
  cursor: pointer;
}

.signup-picker-check,
.signup-individual-box,
.signup-region-all,
.signup-terminal-box {
  width: 1.1rem;
  height: 1.1rem;
  min-width: 1.1rem;
  margin: 0;
  justify-self: center;
}

.signup-region-check-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  min-height: 2.75rem;
}

.signup-picker-names {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.65rem;
  min-width: 0;
}

.signup-picker-primary,
.signup-region-name {
  font-weight: 700;
  color: #0d47a1;
}

.signup-picker-secondary,
.signup-region-count {
  font-weight: 500;
  color: #546e7a;
}

.signup-region-name,
.signup-region-count {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  cursor: pointer;
}

.signup-region-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0d47a1;
  cursor: pointer;
}

.signup-region-toggle:focus-visible {
  outline: var(--w20-focus-outline);
  outline-offset: 2px;
}

.signup-region-count {
  justify-content: flex-end;
  text-align: right;
  white-space: nowrap;
}

.signup-region-chevron {
  text-align: right;
}

.signup-region-panel {
  padding-left: 0;
}

.social-media-resource-grid {
  align-items: stretch;
}

.social-media-resource-grid .social-media-item {
  display: flex;
  height: 100%;
}

.social-media-resource-grid .social-media-card,
.social-media-resource-grid .social-media-link.social-media-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  min-height: 22.5rem;
  padding: 0.85rem;
}

.social-media-thumb-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 150px;
  flex: 0 0 150px;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  background: #fff;
}

.social-media-resource-grid .social-media-thumb {
  width: 150px;
  height: 150px;
  max-width: 150px;
  max-height: 150px;
  object-fit: contain;
  background: #fff;
}

.social-media-resource-grid .social-media-body {
  flex: 1 1 auto;
  min-height: 6.5rem;
}

.social-media-resource-grid .social-media-label {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.social-media-resource-grid .social-media-desc {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.social-media-card-links {
  margin-top: auto;
  padding-top: 0.65rem;
  color: #0d47a1;
  font-weight: 700;
  font-size: 0.9rem;
}

.social-media-card-links a {
  color: #0d47a1;
  font-weight: 700;
}

.social-media-official-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.75rem;
}

.social-media-official-grid .social-media-item {
  display: flex;
  flex: 1 1 15rem;
  min-width: min(100%, 15rem);
  max-width: 20rem;
  height: auto;
  margin-bottom: 0;
}

.social-media-official-grid .social-media-official-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  min-height: 16.5rem;
  padding: 0.85rem;
}

.social-media-official-grid .social-media-thumb-wrap {
  background: #fff;
}

.social-media-official-grid .social-media-thumb,
.social-media-official-grid .social-media-thumb--brand {
  width: 150px;
  height: 150px;
  max-width: 150px;
  max-height: 150px;
  margin: 0 auto;
  object-fit: contain;
  background: transparent;
}

.social-media-official-grid .social-media-body {
  flex: 1 1 auto;
  min-height: 4.5rem;
  text-align: center;
  align-items: center;
}

.social-media-official-grid .social-media-label,
.social-media-official-grid .social-media-desc {
  text-align: center;
}

.social-media-official-grid .social-media-card-links {
  text-align: center;
}

.social-media-resource-grid .social-media-item--logo-dod .social-media-thumb-wrap {
  height: 150px;
  flex: 0 0 150px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-media-resource-grid .social-media-item--logo-dod .social-media-body {
  min-height: 0;
  overflow: visible;
}

.social-media-resource-grid .social-media-item--logo-dod .social-media-label,
.social-media-resource-grid .social-media-item--logo-dod .social-media-desc {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}

.social-media-resource-grid .social-media-item--logo-dod .social-media-card,
.social-media-resource-grid .social-media-item--logo-dod .social-media-link.social-media-card {
  min-height: 22.5rem;
  height: 22.5rem;
  overflow: visible;
}

.social-media-resource-grid .social-media-item--logo-poppin .social-media-card,
.social-media-resource-grid .social-media-item--logo-poppin .social-media-link.social-media-card {
  min-height: 22.5rem;
  height: 100%;
  overflow: visible;
}

.social-media-resource-grid .social-media-thumb--logo-dod {
  width: 216px;
  height: auto;
  max-height: 150px;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

/* Poppin’ Smoke resource card — scoped personality, same square footprint */
.social-media-resource-grid .social-media-item--logo-poppin .social-media-card,
.social-media-resource-grid .social-media-item--logo-poppin .social-media-link.social-media-card {
  --poppin-purple: #3a0b6c;
  position: relative;
  isolation: isolate;
  background-color: #fff;
  gap: 0.45rem;
}

.social-media-resource-grid .social-media-item--logo-poppin .social-media-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 36%, #fff 58%),
    repeating-linear-gradient(
      114deg,
      rgba(186, 176, 230, 0.16) 0 0.42rem,
      rgba(186, 176, 230, 0) 0.42rem 1.55rem
    ),
    repeating-linear-gradient(
      72deg,
      rgba(176, 206, 245, 0.12) 0 0.38rem,
      rgba(176, 206, 245, 0) 0.38rem 1.7rem
    ),
    linear-gradient(180deg, #f4f1ff 0%, #eef5ff 26%, #ffffff 56%);
}

.social-media-resource-grid .social-media-item--logo-poppin .social-media-card > * {
  position: relative;
  z-index: 1;
}

.social-media-resource-grid .social-media-item--logo-poppin .social-media-thumb-wrap {
  height: auto;
  flex: 0 0 auto;
  overflow: visible;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem 0 0;
}

.social-media-resource-grid .social-media-thumb--logo-poppin {
  width: 92%;
  height: auto;
  max-width: 17.5rem;
  max-height: 5.35rem;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border-radius: 0;
}

.social-media-resource-grid .social-media-item--logo-poppin .social-media-body {
  min-height: 0;
  overflow: visible;
  gap: 0.4rem;
}

.social-media-resource-grid .social-media-item--logo-poppin .social-media-headline {
  display: block;
  margin: 0;
  text-align: center;
  font-family: "Fredoka", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(0.92rem, 2.1vw, 1.08rem);
  line-height: 1.25;
  letter-spacing: 0.03em;
  color: var(--poppin-purple, #3a0b6c);
}

.social-media-resource-grid .social-media-item--logo-poppin .social-media-desc {
  display: block;
  text-align: left;
  font-size: 0.86rem;
  line-height: 1.4;
  color: #333;
  overflow: visible;
  overflow-wrap: break-word;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.social-media-resource-grid .social-media-item--logo-poppin .social-media-card-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.3rem;
}

.social-media-resource-grid .social-media-item--logo-poppin .social-media-poppin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  min-height: 2rem;
  padding: 0.28rem 0.62rem;
  border: 1px solid #3a0b6c;
  border-radius: 999px;
  background: #fff;
  color: #3a0b6c;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.social-media-resource-grid .social-media-item--logo-poppin .social-media-poppin-btn svg {
  width: 0.9rem;
  height: 0.9rem;
  flex: 0 0 auto;
}

.social-media-resource-grid .social-media-item--logo-poppin .social-media-poppin-btn:hover {
  background: #3a0b6c;
  color: #fff;
  border-color: #3a0b6c;
}

.social-media-resource-grid .social-media-item--logo-poppin .social-media-poppin-btn:focus,
.social-media-resource-grid .social-media-item--logo-poppin .social-media-poppin-btn:focus-visible {
  outline: var(--w20-focus-outline);
  outline-offset: var(--w20-focus-offset);
}

.social-media-resource-grid .social-media-item--logo-poppin {
  min-width: 0;
}

@media (max-width: 600px) {
  .signup-choice-card--featured {
    grid-template-columns: 6px minmax(0, 1fr);
  }

  .signup-choice-card--featured .signup-choice-pop {
    grid-column: 2;
    justify-self: end;
  }

  .signup-choice-card--featured .signup-choice-featured-copy,
  .signup-choice-card--featured .signup-choice-pop {
    grid-column: 2;
  }

  .signup-individual-list .signup-picker-row,
  .signup-region-head.signup-picker-row {
    grid-template-columns: 1.75rem minmax(0, 1fr) minmax(5.5rem, auto) 1.25rem;
  }

  .signup-individual-list .signup-picker-secondary {
    grid-column: 2 / -1;
  }
}

@media (max-width: 800px) {
  body.travel-alerts-page .alerts-filter-row {
    width: auto;
    max-width: 100%;
  }

  body.travel-alerts-page .alerts-segmented.qv-control-group {
    flex: 0 0 auto;
    width: min(100%, calc(4 * 9.25rem + 0.75rem + 6px));
    max-width: 100%;
  }

  body.travel-alerts-page .alerts-menu {
    width: auto;
    min-width: 0;
  }
}

.quick-view-flight-route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.4rem;
  overflow: visible;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.quick-view-page .quick-view-flight-card,
.watches-page .quick-view-flight-card {
  overflow: visible;
}

.w20-term-cluster {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.22rem 0.32rem;
  max-width: 100%;
  min-width: 0;
}

.w20-term-cluster .quick-view-term-link,
.w20-term-cluster > a {
  flex: 0 1 auto;
  word-break: break-word;
}

.w20-route-arrow {
  flex: 0 0 auto;
  font-weight: 700;
}

.w20-wx-chip,
.w20-alert-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  margin: 0;
  min-height: 32px;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  vertical-align: middle;
}

.w20-wx-chip {
  border: 1px solid #90a4ae;
  background: #f7fbff;
  color: #102a43;
}

.w20-wx-icon,
.w20-alert-icon {
  font-size: 0.95rem;
}

.w20-wx-icon {
  color: #607d8b;
}

.w20-wx-svg {
  display: block;
  overflow: visible;
}

.w20-wx-clear .w20-wx-icon {
  color: #f5c400;
}
.w20-wx-clear .w20-wx-svg [fill="#F5C400"],
.w20-wx-clear .w20-wx-svg circle {
  fill: #f5c400;
}
.w20-wx-clear .w20-wx-svg [stroke="#F5C400"] {
  stroke: #f5c400;
}

.w20-wx-partly .w20-wx-icon {
  color: #f5c400;
}
.w20-wx-partly .w20-wx-svg [fill="#F5C400"],
.w20-wx-partly .w20-wx-svg circle {
  fill: #f5c400;
}
.w20-wx-partly .w20-wx-svg [stroke="#F5C400"] {
  stroke: #f5c400;
}
.w20-wx-partly .w20-wx-svg [fill="#D7DDE4"] {
  fill: #90caf9;
}
.w20-wx-partly .w20-wx-svg [stroke="#5F6B78"] {
  stroke: #1565c0;
}

.w20-wx-cloudy .w20-wx-icon {
  color: #1565c0;
}
.w20-wx-cloudy .w20-wx-svg [fill="#D7DDE4"] {
  fill: #64b5f6;
}
.w20-wx-cloudy .w20-wx-svg [stroke="#5F6B78"] {
  stroke: #1565c0;
}

.w20-wx-rain .w20-wx-icon {
  color: #1565c0;
}
.w20-wx-rain .w20-wx-svg [fill="#D7DDE4"] {
  fill: #90caf9;
}
.w20-wx-rain .w20-wx-svg [stroke="#5F6B78"] {
  stroke: #1565c0;
}
.w20-wx-rain .w20-wx-svg [stroke="#2196F3"] {
  stroke: #1565c0;
}

.w20-wx-snow .w20-wx-icon {
  color: #4fc3f7;
}
.w20-wx-snow .w20-wx-svg [stroke="#5EB3E8"] {
  stroke: #4fc3f7;
}
.w20-wx-snow .w20-wx-svg [fill="#E8F6FF"] {
  fill: #e3f2fd;
}
.w20-wx-snow .w20-wx-svg [fill="#5EB3E8"] {
  fill: #4fc3f7;
}

.w20-wx-thunder .w20-wx-icon {
  color: #5e35b1;
}
.w20-wx-thunder .w20-wx-svg [fill="#B7C0CB"] {
  fill: #5c6bc0;
}
.w20-wx-thunder .w20-wx-svg [stroke="#5F6B78"] {
  stroke: #4527a0;
}
.w20-wx-thunder .w20-wx-svg [fill="#F5C400"] {
  fill: #7e57c2;
}
.w20-wx-thunder .w20-wx-svg [stroke="#C79200"] {
  stroke: #4527a0;
}

.w20-wx-fog .w20-wx-icon {
  color: #78909c;
}
.w20-wx-fog .w20-wx-svg [stroke="#8A96A3"] {
  stroke: #78909c;
}

.w20-wx-unknown .w20-wx-icon {
  color: #90a4ae;
}
.w20-wx-unknown .w20-wx-svg [fill="#F5C400"],
.w20-wx-unknown .w20-wx-svg circle {
  fill: #90a4ae;
}
.w20-wx-unknown .w20-wx-svg [stroke="#F5C400"] {
  stroke: #90a4ae;
}
.w20-wx-unknown .w20-wx-svg [fill="#D7DDE4"] {
  fill: #cfd8dc;
}
.w20-wx-unknown .w20-wx-svg [stroke="#5F6B78"] {
  stroke: #90a4ae;
}

.w20-alert-chip {
  border: 1px solid #b71c1c;
  background: #c62828;
  color: #fff;
  letter-spacing: 0.02em;
}

.w20-alert-text {
  font-size: 0.72rem;
}

.w20-wx-chip:focus-visible,
.w20-alert-chip:focus-visible,
.w20-condition-dialog-close:focus-visible {
  outline: 3px solid #0d47a1;
  outline-offset: 2px;
}

.w20-alert-chip:focus-visible {
  outline-color: #ffeb3b;
}

.quick-view-flight-card .w20-save-flight {
  margin-left: auto;
}

body.quick-view-page,
body.quick-view-page .quick-view-main,
body.quick-view-page .quick-view-results-shell,
body.quick-view-page .quick-view-list-wrap,
body.quick-view-page .quick-view-results,
body.quick-view-page .quick-view-flight-card,
body.quick-view-page .quick-view-flight-head,
body.quick-view-page .quick-view-flight-route,
body.quick-view-page .w20-term-cluster {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

body.quick-view-page:not(.quick-view-embed):not(.snapshot-page) .quick-view-main.amc-layout {
  max-width: calc(300px + 3rem + 52rem);
  width: 100%;
  margin: 1rem auto 2.5rem;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 52rem);
  gap: 1rem;
  justify-content: start;
}

body.quick-view-page:not(.quick-view-embed):not(.snapshot-page) .amc-results.quick-view-results-shell {
  max-width: 52rem;
  width: 100%;
  min-width: 0;
}

@media (max-width: 900px) {
  body.quick-view-page:not(.quick-view-embed):not(.snapshot-page) {
    overflow-x: hidden;
  }
  body.quick-view-page:not(.quick-view-embed):not(.snapshot-page) .quick-view-main.amc-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
}

body.quick-view-page .quick-view-flight-list.amc-terminals-list {
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
}

body.quick-view-page .amc-terminal-card.quick-view-flight-card {
  padding: 0.4rem 0.7rem 0.45rem;
  gap: 0.22rem;
}

body.quick-view-page .quick-view-flight-card .w20-wx-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.7875rem;
  height: 0.7875rem;
  line-height: 0;
}

body.quick-view-page .quick-view-flight-card .w20-wx-icon svg {
  display: block;
  width: 0.7875rem;
  height: 0.7875rem;
  flex: none;
  overflow: visible;
}

body.quick-view-page .quick-view-flight-card .w20-alert-icon {
  font-size: 0.7125rem;
  line-height: 1;
}

body.quick-view-page .quick-view-flight-head {
  align-items: center;
  gap: 0.35rem 0.5rem;
}

body.quick-view-page .quick-view-flight-detail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.28rem 0.55rem;
}

body.quick-view-page .quick-view-flight-meta {
  margin-top: 0;
  flex: 1 1 12rem;
  min-width: 0;
}

body.quick-view-page .quick-view-flight-actions {
  align-items: center;
  justify-content: flex-end;
  width: auto;
  margin-top: 0;
  margin-left: auto;
  flex: 0 1 auto;
}

body.quick-view-page .quick-view-flight-card .w20-save-flight,
body.quick-view-page .w20-copy-flight,
body.quick-view-page .w20-share-flight {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  align-self: center;
  white-space: nowrap;
}

.qv-action-short {
  display: none;
}

@media (max-width: 900px) {
  body.quick-view-page .qv-action-full {
    display: none;
  }
  body.quick-view-page .qv-action-short {
    display: inline;
  }

  body.quick-view-page .quick-view-flight-card {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    column-gap: 0.4rem;
    row-gap: 0.35rem;
  }

  body.quick-view-page .quick-view-flight-head,
  body.quick-view-page .quick-view-flight-detail,
  body.quick-view-page .quick-view-flight-actions {
    display: contents;
  }

  body.quick-view-page .quick-view-flight-route {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
  }

  body.quick-view-page .quick-view-flight-meta {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0;
    flex: none;
    width: 100%;
  }

  body.quick-view-page .qv-flight-alert-slot {
    grid-column: 1 / -1;
  }

  body.quick-view-page .quick-view-flight-card .w20-save-flight,
  body.quick-view-page .w20-copy-flight,
  body.quick-view-page .w20-share-flight {
    flex: none;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0.35rem 0.3rem;
    white-space: nowrap;
    text-align: center;
    align-self: stretch;
  }

  body.quick-view-page .quick-view-flight-card .w20-save-flight {
    grid-column: 1;
    grid-row: 3;
    margin-left: 0;
  }

  body.quick-view-page .w20-copy-flight {
    grid-column: 2;
    grid-row: 3;
  }

  body.quick-view-page .w20-share-flight {
    grid-column: 3;
    grid-row: 3;
  }
}

body.quick-view-page .qv-control-row {
  justify-content: flex-start;
  align-items: stretch;
  gap: 0.5rem;
  margin: 0 0 0.4rem;
  width: 100%;
}

body.quick-view-page .qv-control-group {
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

body.quick-view-page .qv-control-group .qv-ctrl {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  min-height: 2.5rem;
  padding: 0.35rem 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

@media (max-width: 700px) {
  body.quick-view-page .qv-control-group .qv-ctrl {
    white-space: normal;
  }
}

body.quick-view-page .quick-view-count {
  margin: 0 0 0.25rem;
}

body.quick-view-page .w20-term-cluster > a,
body.quick-view-page .quick-view-term-link {
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

#dest-list .checklist-item h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.35rem;
}

.w20-condition-dialog {
  width: min(34rem, calc(100vw - 1.5rem));
  max-height: min(85vh, 40rem);
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
}

.w20-condition-dialog::backdrop {
  background: rgba(8, 24, 48, 0.45);
}

.w20-condition-dialog-inner {
  display: flex;
  flex-direction: column;
  max-height: min(85vh, 40rem);
}

.w20-condition-dialog-header,
.w20-condition-dialog-body {
  padding: 0.85rem 1rem;
}

.w20-condition-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(13, 71, 161, 0.16);
}

.w20-condition-dialog-header h2 {
  margin: 0;
  font-size: 1.05rem;
  color: #0d47a1;
}

.w20-condition-dialog-close {
  min-width: 44px;
  min-height: 44px;
  padding: 0.2rem 0.7rem;
  border: 1px solid #0d47a1;
  border-radius: 8px;
  background: #fff;
  color: #0d47a1;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.w20-condition-dialog-body {
  overflow: auto;
  overscroll-behavior: contain;
}

.w20-cond-terminal {
  margin: 0 0 0.65rem;
  font-weight: 800;
  color: #0d47a1;
}

.w20-cond-section {
  margin: 0 0 0.9rem;
}

.w20-cond-section h3,
.w20-cond-alert h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.w20-cond-dl {
  margin: 0;
}

.w20-cond-row {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 0.25rem 0.75rem;
  margin: 0 0 0.28rem;
}

.w20-cond-row dt {
  font-weight: 700;
  color: #37474f;
}

.w20-cond-row dd {
  margin: 0;
}

.w20-cond-forecast,
.w20-cond-copy {
  margin: 0;
  padding-left: 1.1rem;
}

.w20-cond-forecast li.is-selected {
  font-weight: 700;
}

.w20-cond-alert {
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #cfd8dc;
}

.w20-cond-alert:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.w20-cond-source {
  font-weight: 700;
}

@media (max-width: 700px) {
  .w20-wx-chip,
  .w20-alert-chip {
    font-size: 0.84rem;
    min-height: 34px;
  }

  .w20-cond-row {
    grid-template-columns: 1fr;
  }

  .quick-view-flight-route,
  #dest-list .checklist-item h2 {
    overflow: visible;
  }
}

.terminal-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  font-size: 0.82rem;
}

.terminal-breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.6rem;
  opacity: 0.7;
}

.terminal-breadcrumbs a {
  color: #ffe566;
  overflow-wrap: anywhere;
}

.terminal-verified-description,
.terminal-noscript p,
.terminal-faq-answer,
.terminal-v2-contact-value,
.terminal-related-links a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.terminal-action-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.35rem 0 0.75rem;
}

.terminal-action-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.2rem 0.85rem;
  border: 1px solid #ffe566;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffe566;
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  text-align: center;
}

.terminal-action-btn:focus-visible {
  outline: 3px solid #ffeb3b;
  outline-offset: 2px;
}

.terminal-verified-description {
  max-width: 42rem;
  margin: 0 auto 0.9rem;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

.terminal-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  margin: 0.85rem 0 1rem;
  font-size: 0.85rem;
}

.terminal-related-links a {
  color: #ffe566;
}

.terminal-faq {
  margin: 1.1rem 0 0.4rem;
  text-align: left;
}

.terminal-faq h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.terminal-faq-verified,
.terminal-faq-more {
  font-size: 0.82rem;
  line-height: 1.4;
  margin: 0 0 0.7rem;
}

.terminal-faq-item {
  background: rgba(255, 255, 255, 0.92);
  color: #1f2a30;
  border-radius: 0.45rem;
  margin: 0 0 0.45rem;
  padding: 0.15rem 0.65rem 0.15rem;
}

.terminal-faq-item summary {
  cursor: pointer;
  font-weight: 800;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  overflow-wrap: anywhere;
}

.terminal-faq-item summary:focus {
  outline: 2px solid #1565c0;
  outline-offset: 2px;
}

.terminal-faq-answer {
  padding: 0 0 0.7rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.terminal-faq-answer a {
  color: #0d47a1;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.terminal-static-contacts[hidden],
.terminal-static-contacts[inert],
.terminal-static-contacts[data-replaced-by-js="1"] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .terminal-faq-item,
  .terminal-v2-tab {
    transition: none;
  }
}

/* Space-A glossary */
.glossary-page .eligibility-main {
  max-width: 52rem;
  margin: 0 auto 2rem;
  padding: 0 1rem 1.5rem;
}

.glossary-page .glossary-intro,
.glossary-page .glossary-disclaimer,
.glossary-page .glossary-notice {
  margin: 0 auto 1rem;
  line-height: 1.55;
}

.glossary-disclaimer,
.glossary-notice {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(13, 71, 161, 0.18);
  border-radius: 10px;
  padding: 0.85rem 1rem;
}

.glossary-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-end;
  margin: 1.25rem 0 1rem;
}

.glossary-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-end;
  flex: 1 1 16rem;
  margin: 1.25rem 0 0.75rem;
}

.glossary-search-form > div {
  flex: 1 1 14rem;
  min-width: 12rem;
}

.glossary-search-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.glossary-search-form input[type="search"] {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.45rem 0.7rem;
  font-size: 1rem;
  border: 1px solid rgba(13, 71, 161, 0.35);
  border-radius: 8px;
}

.glossary-search-form button {
  min-height: 2.75rem;
  padding: 0.45rem 0.9rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
}

.glossary-az a:focus-visible,
.glossary-search-form input:focus-visible,
.glossary-search-form button:focus-visible,
.glossary-back-top:focus-visible,
.glossary-entry a:focus-visible {
  outline: 3px solid #0d47a1;
  outline-offset: 2px;
}

.glossary-az {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.glossary-az a,
.glossary-az span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0.2rem;
  border: 1px solid rgba(13, 71, 161, 0.28);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}

.glossary-az a.is-disabled,
.glossary-az span.is-empty {
  opacity: 0.45;
  pointer-events: none;
}

.glossary-letter,
.glossary-entry {
  scroll-margin-top: 5.5rem;
}

.glossary-letter h2 {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.35rem;
}

.glossary-list {
  margin: 0;
}

.glossary-entry {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(13, 71, 161, 0.14);
  border-radius: 10px;
  padding: 0.85rem 1rem 1rem;
  margin: 0 0 0.75rem;
}

.glossary-entry dt {
  font-size: 1.12rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.glossary-also,
.glossary-kind {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.glossary-kind {
  font-weight: 600;
  color: #1a365d;
}

.glossary-entry dd {
  margin: 0;
}

.glossary-entry dd p {
  margin: 0 0 0.5rem;
}

.glossary-see {
  margin-top: 0.35rem;
}

.glossary-back-top {
  display: inline-block;
  margin: 0.35rem 0 1.25rem;
}

.glossary-sources li {
  margin: 0.35rem 0;
}

.glossary-verified {
  font-weight: 700;
}

#glossary-search-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.glossary-empty {
  font-weight: 600;
  margin: 0 0 1rem;
}

@media (max-width: 800px) {
  .glossary-az {
    flex-wrap: wrap;
  }

  .glossary-letter,
  .glossary-entry {
    scroll-margin-top: 6.25rem;
  }
}

/* Prompt #19E terminal modals */
body.pops-modal-open {
  overflow: hidden;
}

.pops-page-modal {
  width: min(800px, 94vw);
  max-width: 820px;
  max-height: 75vh;
  margin: auto;
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #eef6ff;
  color: #1f2a30;
  box-shadow: 0 18px 48px rgba(13, 47, 92, 0.35);
}
.pops-page-modal::backdrop {
  background: rgba(12, 32, 58, 0.62);
}
.pops-page-modal-shell {
  display: flex;
  flex-direction: column;
  max-height: 75vh;
}
.pops-page-modal-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem 0.7rem;
  background: #e3f0ff;
  border-bottom: 1px solid #90caf9;
  border-radius: 14px 14px 0 0;
}
.pops-page-modal-title-host h2,
.pops-page-modal-header h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #0d47a1;
}
.pops-page-modal-x {
  appearance: none;
  border: 0;
  background: transparent;
  color: #0d47a1;
  font-size: 1.7rem;
  line-height: 1;
  width: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  cursor: pointer;
  border-radius: 8px;
}
.pops-page-modal-x:focus-visible,
.pops-page-modal-close:focus-visible {
  outline: 3px solid #0d47a1;
  outline-offset: 2px;
}
.pops-page-modal-body {
  overflow-y: auto;
  padding: 0.85rem 1rem 0.4rem;
  -webkit-overflow-scrolling: touch;
}
.pops-page-modal-footer {
  position: sticky;
  bottom: 0;
  padding: 0.7rem 1rem 0.9rem;
  background: #eef6ff;
  border-top: 1px solid #bbdefb;
  border-radius: 0 0 14px 14px;
}
.pops-page-modal-close {
  appearance: none;
  min-height: 2.75rem;
  padding: 0.4rem 1.1rem;
  border: 1px solid #1565c0;
  border-radius: 8px;
  background: #0d47a1;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.pops-page-modal .terminal-faq {
  margin: 0;
  text-align: left;
}
.pops-page-modal .terminal-faq-item {
  background: #fff;
  border: 1px solid #90caf9;
  border-radius: 10px;
  margin: 0 0 0.65rem;
  padding: 0.15rem 0.8rem 0.15rem;
  box-shadow: 0 1px 2px rgba(13, 71, 161, 0.08);
}
.pops-page-modal .glossary-search-form,
.pops-page-modal .glossary-az {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #eef6ff;
}
@media (max-width: 700px) {
  .pops-page-modal {
    width: 94vw;
    max-height: 85vh;
  }
  .pops-page-modal-shell {
    max-height: 85vh;
  }
}

.amc-card-tools {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
  flex: 0 0 auto;
}
.amc-card-tool {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #546e7a;
  text-decoration: none;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}
.amc-card-weather {
  color: #ffd600;
}
.amc-card-tool:focus-visible {
  outline: 3px solid #0d47a1;
  outline-offset: 2px;
}
.amc-card-tool.is-active {
  color: #b71c1c;
  background: #ffebee;
}
.amc-card-tool-count {
  position: absolute;
  top: 0.1rem;
  right: 0.1rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  background: #c62828;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1rem;
  text-align: center;
}
.amc-card-tool {
  position: relative;
}
.amc-terminal-card .amc-fav-star {
  position: static;
  top: auto;
  right: auto;
}
.amc-terminal-short {
  padding-right: 0;
}

.watches-page .quick-view-main.amc-layout {
  align-items: start;
}
.watches-sidebar-box {
  display: block;
}
.watches-sidebar-box > summary.watches-sidebar-toggle {
  display: none;
}
.watches-sidebar-box .search-label {
  display: block;
  margin: 0.7rem 0 0.25rem;
}
.watches-sidebar-box .search-input,
.watches-sidebar-box select.search-input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.watches-results {
  display: flex;
  flex-direction: column;
  gap: var(--w20-watch-card-gap);
}

body.watches-page[data-watch-mode="destination"] .w20-dest-watch-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  text-align: center;
  padding: 1.25rem 1rem;
}

body.watches-page[data-watch-mode="destination"] .w20-dest-watch-empty-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 168px;
  max-height: 168px;
  margin: 0 auto 0.85rem;
  object-fit: contain;
  background: transparent;
}

body.watches-page[data-watch-mode="destination"] .w20-dest-watch-empty-heading {
  margin: 0 0 0.45rem;
  color: #0d47a1;
  font-size: 1.28rem;
  font-weight: 800;
}

body.watches-page[data-watch-mode="destination"] .w20-dest-watch-empty-copy {
  margin: 0 0 1rem;
  max-width: 28rem;
  color: #204060;
}

body.watches-page[data-watch-mode="destination"] .w20-dest-watch-empty-action {
  width: auto;
  min-width: 12.5rem;
  margin: 0 0 0.85rem;
}

body.watches-page[data-watch-mode="destination"] .w20-dest-watch-empty-action:focus-visible {
  outline: 3px solid #ffeb3b;
  outline-offset: 2px;
}

body.watches-page[data-watch-mode="destination"] .w20-dest-watch-empty-hint {
  margin: 0;
  max-width: 28rem;
  color: #37474f;
}

body.watches-page[data-watch-mode="route"] .w20-route-watch-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  text-align: center;
  padding: 1.25rem 1rem;
}

body.watches-page[data-watch-mode="route"] .w20-route-watch-empty-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 168px;
  max-height: 168px;
  margin: 0 auto 0.85rem;
  object-fit: contain;
  background: transparent;
}

body.watches-page[data-watch-mode="route"] .w20-route-watch-empty-heading {
  margin: 0 0 0.45rem;
  color: #0d47a1;
  font-size: 1.28rem;
  font-weight: 800;
}

body.watches-page[data-watch-mode="route"] .w20-route-watch-empty-copy {
  margin: 0 0 1rem;
  max-width: 28rem;
  color: #204060;
}

body.watches-page[data-watch-mode="route"] .w20-route-watch-empty-action {
  width: auto;
  min-width: 12.5rem;
  margin: 0 0 0.85rem;
}

body.watches-page[data-watch-mode="route"] .w20-route-watch-empty-action:focus-visible {
  outline: 3px solid #ffeb3b;
  outline-offset: 2px;
}

body.watches-page[data-watch-mode="route"] .w20-route-watch-empty-hint {
  margin: 0;
  max-width: 28rem;
  color: #37474f;
}

@media (min-width: 901px) {
  body.watches-page .quick-view-main.amc-layout:has(.w20-dest-watch-empty),
  body.watches-page .quick-view-main.amc-layout:has(.w20-route-watch-empty) {
    align-items: stretch;
  }

  body.watches-page .amc-results.quick-view-results-shell:has(.w20-dest-watch-empty),
  body.watches-page .amc-results.quick-view-results-shell:has(.w20-route-watch-empty) {
    display: flex;
    align-self: stretch;
    min-height: 0;
  }

  body.watches-page .watches-results:has(.w20-dest-watch-empty),
  body.watches-page .watches-results:has(.w20-route-watch-empty) {
    flex: 1;
    justify-content: center;
  }

  body.watches-page[data-watch-mode="destination"] .w20-dest-watch-empty,
  body.watches-page[data-watch-mode="route"] .w20-route-watch-empty {
    flex: 1;
    padding: 2rem 1.5rem;
  }
}

.w20-watch-block,
.w20-saved-watch-card {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  margin: 0;
  padding: var(--qv-results-pad);
  background: #fff;
  border: var(--qv-flight-card-border);
  border-radius: var(--qv-flight-card-radius);
}

.w20-saved-watch-card .quick-view-flight-list {
  margin-top: 0.35rem;
}
.w20-watch-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.45rem 0.8rem;
  margin: 0 0 0.35rem;
  padding-right: 3.25rem;
}
.w20-watch-heading h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.22rem 0.4rem;
  margin: 0;
  min-width: 0;
  max-width: 100%;
  font-size: 1.05rem;
  color: #0d47a1;
}
.w20-watch-heading .w20-term-cluster {
  min-width: 0;
}
.w20-route-watch-chips {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.35rem;
  min-width: 0;
}
.w20-dest-watch-heading,
.w20-route-watch-heading {
  align-items: center;
  gap: 0.2rem 0.4rem;
}
.w20-dest-watch-toggle,
.w20-route-watch-toggle {
  appearance: none;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #0d47a1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.w20-dest-watch-toggle:hover,
.w20-route-watch-toggle:hover {
  background: rgba(13, 71, 161, 0.08);
}
.w20-dest-watch-toggle:active,
.w20-route-watch-toggle:active {
  background: rgba(13, 71, 161, 0.16);
}
.w20-dest-watch-toggle:focus-visible,
.w20-route-watch-toggle:focus-visible {
  outline: 3px solid #ffeb3b;
  outline-offset: 2px;
}
.w20-dest-watch-chevron {
  font-size: 0.95rem;
  line-height: 1;
}
.w20-dest-watch-body > .watch-scope-note,
.w20-route-watch-body > .watch-scope-note {
  padding-right: 2.75rem;
}
.w20-dest-watch-body[hidden],
.w20-route-watch-body[hidden] {
  display: none !important;
}
.w20-saved-watch-card.is-collapsed .w20-watch-heading {
  margin-bottom: 0;
}
.w20-watch-remove {
  appearance: none;
  position: absolute;
  top: calc(0.55rem - 5px);
  right: calc(0.55rem - 5px);
  z-index: 2;
  box-sizing: border-box;
  flex-shrink: 0;
  isolation: isolate;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}
.w20-watch-remove::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #c62828;
  pointer-events: none;
  z-index: 0;
}
.w20-watch-remove:hover::before {
  background: #b71c1c;
}
.w20-watch-remove:active::before {
  background: #8e0000;
}
.w20-watch-remove:focus-visible {
  outline: 3px solid #ffeb3b;
  outline-offset: 2px;
}
.w20-watch-empty {
  margin: 0.35rem 0 0.2rem;
  color: #37474f;
}
@media (max-width: 900px) {
  .watches-sidebar-box > summary.watches-sidebar-toggle {
    display: list-item;
    min-height: 2.75rem;
    cursor: pointer;
    font-weight: 800;
    color: #0d47a1;
  }
  body.watches-page {
    overflow-x: hidden;
  }
}

.social-media-resource-grid .social-media-item--community-focus .social-media-thumb-wrap {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.social-media-resource-grid .social-media-item--community-focus .social-media-thumb {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  object-position: center;
  transform: none;
}
.social-media-resource-grid .social-media-item--community-focus .social-media-label {
  font-size: 1.08rem;
  line-height: 1.28;
}
.social-media-resource-grid .social-media-item--community-focus .social-media-desc {
  font-size: 1.02rem;
  line-height: 1.45;
}
.social-media-resource-grid .social-media-item--logo-dod.social-media-item--community-focus .social-media-thumb--logo-dod {
  width: auto;
  max-width: 100%;
  max-height: 150px;
  height: auto;
  object-fit: contain;
  object-position: center;
  transform: none;
}




