/* Rules for body.page-customers. Loaded after css/style.css. */
body.page-customers .nav-pills {
    row-gap: 0.65em;
}
body.page-customers .nav-pills > li {
    margin-bottom: 0;
}
body.page-customers .nav-pills > li > a {
    display: block;
}
body.page-customers .year-type-form-container form {
    display:inline-block;
    margin-left:0.5em;
}
body.page-customers .customer-view-type a.active,
body.page-customers .customer-view-type a:hover {
      color:inherit;
  }
body.page-customers .map-container {
      position:relative;
  }
body.page-customers .alphabet-legend {
      margin-top: 1.0em;
      margin-bottom: 1.0em;
      text-align: center;
  }
body.page-customers .alphabet-header {
      margin-bottom: 0px;
      padding-bottom:1em;
  }
body.page-customers .alphabet {
      margin-bottom:3.0em;
  }
body.page-customers .alphabet div {
      margin-bottom:1.0em;
  }
body.page-customers .country-header {
    margin-top:3em;
    margin-bottom: 1em;
    text-align:left;
}
body.page-customers .top {
      text-align: center;
      margin-top: 1.5em;
  }
body.page-customers .block-cover {
      -webkit-border-top-left-radius: 5px;
      -webkit-border-top-right-radius: 5px;
      -moz-border-radius-topleft: 5px;
      -moz-border-radius-topright: 5px;
      border-top-left-radius: 5px;
      border-top-right-radius: 5px;
  }
body.page-customers .block-cover span.country-flag {
      position:relative;
      top:inherit;
      right:inherit;
  }
body.page-customers .planespotters-photo img {
      width:100%;
  }
body.page-customers .planespotters-photo .photo-owner {
      color:#fff;
  }
body.page-customers .airline-logo {
    width:30px;
  }
body.page-customers .airline-logo-map {
    width:20px;
  }
body.page-customers .country-header {
    margin-top: 2.5em;
}
body.page-customers .country-header h3 {
    margin: 0;
}
body.page-customers a.country-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.1rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-left: 4px solid #f5c518;
    border-radius: 6px;
    background: #fff;
    color: #141414 !important;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
body.page-customers a.country-card:hover,
body.page-customers a.country-card:focus-visible {
    border-color: #f5c518;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}
body.page-customers .country-card-flag {
    font-size: 1.6em;
    line-height: 1;
}
body.page-customers .country-card-name {
    display: flex;
    flex-direction: column;
    font-weight: 700;
}
body.page-customers .country-card-name small {
    font-size: 13px !important;
    font-weight: 400;
    color: #6b6b6b;
    letter-spacing: 0.02em;
}
body.page-customers .country-card-cta {
    margin-left: auto;
    padding: 0.45em 0.9em;
    border-radius: 999px;
    background: #f5c518;
    color: #fff;
    font-size: 12px !important;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}
body.page-customers a.country-card:hover .country-card-cta i {
    transform: translateX(3px);
}
body.page-customers .country-card-cta i {
    margin-left: 0.35em;
    transition: transform 0.15s ease;
}
@media (max-width: 575px) {
    body.page-customers .country-card-cta {
        font-size: 0 !important;
        padding: 0.6rem 0.75rem;
    }
    body.page-customers .country-card-cta i {
        font-size: 14px !important;
        margin-left: 0;
    }
}
/* Photo hero, data bar and largest customers. */
body.page-customers .page-cover.customers-hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: clamp(300px, 40vh, 420px);
    margin-bottom: 0;
    color: #fff;
}
body.page-customers .page-cover.customers-hero::after {
    background: linear-gradient(90deg, rgba(8, 10, 14, 0.85) 0%, rgba(8, 10, 14, 0.35) 60%, rgba(8, 10, 14, 0.1) 100%);
}
body.page-customers .customers-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 2.25rem;
}
body.page-customers .customers-hero .customers-hero-kicker {
    margin: 0 0 0.5rem;
    color: var(--gold) !important;
    font-size: 0.8rem !important;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
body.page-customers .customers-hero .customers-hero-title {
    position: static;
    margin: 0 0 0.5rem;
    padding: 0;
    color: #fff !important;
    font-size: clamp(2rem, 4vw, 3.2rem) !important;
    line-height: 1.08 !important;
    background: none;
}
body.page-customers .customers-hero .customers-hero-title::after {
    display: none;
}
body.page-customers .customers-hero .customers-hero-sub {
    margin: 0;
    color: rgba(255, 255, 255, 0.9) !important;
}
body.page-customers .home-hero-credit {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    z-index: 2;
    color: #fff;
    font-size: 0.75rem !important;
    text-shadow: 0 1px 2px #000;
}
body.page-customers .customers-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem 1.25rem;
    align-items: center;
    margin: 1.5rem 0 0.5rem;
}
body.page-customers .customers-toolbar > div {
    float: none !important;
}
body.page-customers .customers-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--text, #111);
}
body.page-customers .customers-section-head h2 {
    margin: 0;
}
body.page-customers .customers-section-head span {
    color: var(--muted, #777);
}
body.page-customers .customers-top {
    margin: 2.5rem 0 1.5rem;
}
body.page-customers .customers-top-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.8rem;
}
body.page-customers .customers-top-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 1rem 0.75rem;
    text-align: center;
    color: var(--text, #111) !important;
    text-decoration: none;
    background: var(--surface, #fff);
    border: 1px solid var(--line, rgba(128, 128, 128, 0.28));
    border-radius: 8px;
}
body.page-customers .customers-top-card:hover {
    border-color: var(--gold);
}
body.page-customers .customers-top-logo {
    display: grid;
    place-items: center;
    height: 52px;
    font-size: 2rem;
}
body.page-customers .customers-top-logo img {
    max-width: 100%;
    max-height: 48px;
    width: auto;
}
body.page-customers .customers-top-card b {
    font-size: 0.95rem;
    line-height: 1.25;
}
body.page-customers .customers-top-card em {
    color: var(--muted, #777);
    font-size: 0.8rem !important;
    font-style: normal;
}
@media only screen and (max-width: 1199px) {
    body.page-customers .customers-top-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media only screen and (max-width: 767px) {
    body.page-customers .customers-top-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body.page-customers .customers-toolbar {
        justify-content: flex-start;
    }
}
@media only screen and (max-width: 767px) {
    body.page-customers .nav-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    body.page-customers .nav-pills::-webkit-scrollbar {
        display: none;
    }
    body.page-customers .nav-pills > li {
        flex: 0 0 auto;
    }
    body.page-customers .nav-pills > li > a {
        white-space: nowrap;
    }
}
/* A–Z list: letter buttons, filter and customer cards. */
body.page-customers .alphabet-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem;
    justify-content: flex-start;
    margin: 1rem 0 1.5rem;
    font-size: 0;
    color: transparent;
}
body.page-customers .alphabet-legend a {
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text, #111) !important;
    text-decoration: none;
    border: 1px solid var(--line, rgba(128, 128, 128, 0.35));
    border-radius: 6px;
}
body.page-customers .alphabet-legend a:hover,
body.page-customers .alphabet-legend a:focus-visible {
    color: #111 !important;
    background: var(--gold);
    border-color: var(--gold);
}
body.page-customers .customers-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 2.5rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--text, #111);
}
body.page-customers .customers-filter h2 {
    margin: 0;
}
body.page-customers .customers-filter input {
    width: min(20rem, 100%);
    padding: 0.45rem 1rem;
    color: inherit;
    background: var(--surface, #fff);
    border: 1px solid var(--line, rgba(128, 128, 128, 0.45));
    border-radius: 999px;
}
body.page-customers .customers-filter-empty {
    margin: 1.5rem 0;
    color: var(--muted, #777);
}
body.page-customers .alphabet-header.jumbotron {
    margin: 0 0 0.6rem;
    padding: 0;
    text-align: left;
    background: none;
}
body.page-customers .alphabet-header h2 {
    margin: 0;
    color: var(--gold-ink, #8a6d00);
    font-size: 1.5rem !important;
}
body.page-customers .alphabet-header p {
    display: none;
}
body.page-customers .row.alphabet {
    margin-bottom: 2rem;
    row-gap: 0.5rem;
}
body.page-customers .row.alphabet > div {
    margin-bottom: 0;
}
body.page-customers .row.alphabet h5 {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0.55rem 0.75rem;
    font-size: 1rem !important;
    border: 1px solid var(--line, rgba(128, 128, 128, 0.28));
    border-radius: 8px;
}
body.page-customers .row.alphabet h5:hover {
    border-color: var(--gold);
}
body.page-customers .row.alphabet h5 .airline-logo,
body.page-customers .row.alphabet h5 .country-flag {
    flex: 0 0 34px;
    max-width: 34px;
    max-height: 26px;
    object-fit: contain;
    text-align: center;
}
body.page-customers .row.alphabet h5 a {
    flex: 1;
    color: var(--text, #111) !important;
    font-weight: 600;
    text-decoration: none;
}
/* Keep names aligned whether a card has a logo, a flag or neither. */
body.page-customers .row.alphabet h5 {
    position: relative;
    min-height: 3rem;
    padding-left: calc(0.75rem + 34px + 0.7rem);
}
body.page-customers .row.alphabet h5 .airline-logo,
body.page-customers .row.alphabet h5 .country-flag {
    position: absolute;
    top: 50%;
    left: 0.75rem;
    width: 34px;
    transform: translateY(-50%);
}
body.page-customers .alphabet-header.summary h2 {
    margin: 0;
    padding: 0;
    text-align: left;
}
body.page-customers .customers-map-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 0.75rem;
}
body.page-customers .customers-map-search {
    position: relative;
    width: min(26rem, 100%);
    margin: 0;
}
body.page-customers .customers-map-search i {
    position: absolute;
    top: 50%;
    left: 0.9rem;
    transform: translateY(-50%);
    color: var(--muted, #737373);
    pointer-events: none;
}
body.page-customers .customers-map-search input {
    width: 100%;
    padding: 0.45rem 1rem 0.45rem 2.3rem;
    color: inherit;
    background: var(--surface, #fff);
    border: 1px solid var(--line, rgba(128, 128, 128, 0.45));
    border-radius: 999px;
}
body.page-customers .customers-map-count {
    color: var(--muted, #737373);
    font-size: 0.9rem;
}
body.page-customers .map-container .disclaimer {
    margin: 1.25rem auto 1rem;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.5;
}
@media (max-width: 575.98px) {
    body.page-customers .customers-map-filter {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    body.page-customers .customers-map-search {
        width: 100%;
    }
}
body.page-customers .page-cover.customers-hero--plain {
    min-height: clamp(180px, 22vh, 240px);
    background: #0b0d10;
}
body.page-customers .page-cover.customers-hero--plain::after {
    display: none;
}
body.page-customers .customers-empty {
    margin: 2.5rem auto;
    text-align: center;
    color: var(--muted, #737373);
}
body.page-customers .customers-empty i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
