@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');

body {
    font-family: "Google Sans", sans-serif;
}

/*
 * Inner pages (About Us and the like). Loaded after css/style.css and uses its colour variables.
 */


/* ---------- page banner ---------- */

.page-hero {
    position: relative;
    padding: 72px 0 80px;
    background: var(--navy-deep) url(../images/offer-plane.jpg) no-repeat center 60% / cover;
    color: #fff;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, rgba(0, 46, 100, .94) 0%, rgba(0, 62, 132, .82) 45%, rgba(0, 62, 132, .45) 100%);
}

.page-hero .container { position: relative; }

.crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 14px;
    color: rgba(255, 255, 255, .75);
}

.crumbs a { color: rgba(255, 255, 255, .75); }
.crumbs a:hover { color: #fff; }

.crumbs [aria-current] {
    font-weight: 500;
    color: #fff;
}

.crumbs-sep {
    width: 6px;
    height: 6px;
    border-top: 1.5px solid var(--accent);
    border-right: 1.5px solid var(--accent);
    transform: rotate(45deg);
}

.page-hero h1 {
    margin: 0 0 14px;
    font-size: 35px;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: #fff;
}

.page-hero p {
    max-width: 620px;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .85);
}

/* "Last updated" badge on the policy pages */
.page-hero .page-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-size: 14px;
    color: rgba(255, 255, 255, .9);
}


/* ---------- content ---------- */

.page-body { padding: 72px 0 88px; }

.prose {
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--text);
}

.prose section + section {
    margin-top: 44px;
    padding-top: 44px;
    border-top: 1px solid var(--line);
}

.prose h2 {
    position: relative;
    margin: 0 0 16px;
    padding-left: 18px;
    font-size: 28px;
    line-height: 1.25;
    letter-spacing: -.015em;
}

.prose h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    border-radius: 4px;
    background: var(--accent);
}

.prose p { margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }

.prose strong { color: var(--ink); }

.prose-quote {
    padding: 18px 22px;
    border-left: 4px solid var(--navy);
    border-radius: 0 12px 12px 0;
    background: var(--mist);
    font-size: 17.5px;
}

.prose-quote strong { color: var(--navy-deep); }

.prose h3 {
    margin: 28px 0 10px;
    font-size: 20px;
    line-height: 1.35;
}

.prose p a {
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* policy pages: bullet lists and numbered steps */

.prose-list,
.prose-steps {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.prose-list li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 24px;
}

.prose-list li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: .72em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.prose-steps { counter-reset: step; }

.prose-steps li {
    position: relative;
    margin-bottom: 14px;
    padding-left: 44px;
    counter-increment: step;
}

.prose-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--mist);
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}


/* "What We Do" and contact cards */

.feature-grid,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.feature-grid li,
.contact-grid li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    transition: border-color .2s, box-shadow .25s;
}

.feature-grid li:hover,
.contact-grid li:hover {
    border-color: #cfd8e6;
    box-shadow: 0 16px 30px -22px rgba(11, 42, 91, .45);
}

/* an odd last card takes the full row */
.feature-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }

.feature-ico {
    display: flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--mist);
    color: var(--navy);
}

.feature-grid strong {
    display: block;
    margin-bottom: 4px;
    font-size: 16.5px;
    line-height: 1.35;
    color: var(--ink);
}

.feature-grid li p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.contact-grid { grid-template-columns: repeat(3, 1fr); }

.contact-grid li { flex-direction: column; }

.contact-grid small {
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
    color: var(--muted);
}

.contact-grid a {
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--ink);
}

.contact-grid a:hover { color: var(--accent-dark); }


/* ---------- sidebar ---------- */

.page-aside {
    position: -webkit-sticky;
    position: sticky;
    top: 110px;
    padding-left: 12px;
    /* long tables of contents (Privacy Policy) scroll inside the sidebar */
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.page-toc {
    margin-bottom: 24px;
    padding: 22px 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.page-toc-title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
}

.page-toc .nav-link {
    position: relative;
    padding: 8px 0 8px 16px;
    font-size: 15px;
    color: var(--text);
    transition: color .2s;
}

.page-toc .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: var(--line);
    transition: background-color .2s;
}

.page-toc .nav-link:hover { color: var(--navy); }

.page-toc .nav-link.active {
    font-weight: 600;
    color: var(--navy);
}

.page-toc .nav-link.active::before { background: var(--accent); }

.page-cta {
    padding: 28px 24px;
    border-radius: 18px;
    background: var(--navy-deep);
    color: rgba(255, 255, 255, .8);
}

.page-cta h2 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.25;
    color: #fff;
}

.page-cta p {
    margin: 0 0 20px;
    font-size: 15px;
}

.page-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 12px;
    font-weight: 600;
    color: #fff;
    transition: background-color .2s, border-color .2s;
}

.page-cta-btn:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.page-cta-btn.is-main {
    border-color: var(--accent);
    background: var(--accent);
}

.page-cta-btn.is-main:hover {
    border-color: var(--accent-dark);
    background: var(--accent-dark);
    filter: brightness(.95);
}


/* ---------- responsive ---------- */

@media (max-width: 991.98px) {
    .page-hero { padding: 25px 0 64px; }
    .page-hero h1 { font-size: 40px; }

    .page-body { padding: 56px 0 72px; }

    .page-aside {
        position: static;
        margin-top: 48px;
        padding-left: 0;
        max-height: none;
        overflow: visible;
    }

    .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575.98px) {
    .page-hero h1 { font-size: 20px; margin: 0 0 10px 0;}
    .page-hero p { font-size: 12px; }

    .prose { font-size: 16px; }
    .prose h2 { font-size: 24px; }

    .prose section + section {
        margin-top: 36px;
        padding-top: 36px;
    }

    .feature-grid,
    .contact-grid { grid-template-columns: 1fr; }

    .feature-grid li,
    .contact-grid li { padding: 18px; }
}


/* ==================== Airline pages ==================== */

/* logos come from pics.avs.io on a transparent background, so they sit on a white tile */
.airline-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    padding: 10px 18px;
    border-radius: 12px;
    background: #fff;
}

.airline-logo img {
    display: block;
    width: 120px;
    height: 40px;
    object-fit: contain;
}

.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

/* banner with the flight search form (searchform.php) under the heading */
.page-hero--search { padding-bottom: 56px; }

.hero-airline,
.hero-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 32px;
}

.page-hero-search {
    position: relative;
    z-index: 5;
    margin-top: 34px;
    color: var(--text);   /* the banner text is white, the form card is not */
}

.btn-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 12px;
    font-weight: 600;
    color: #fff;
    transition: background-color .2s, border-color .2s;
}

.btn-line:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.airline-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.airline-facts li {
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--mist);
}

.airline-facts small {
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
    color: var(--muted);
}

.airline-facts strong {
    font-size: 16px;
    line-height: 1.35;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.hub-grid li {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.hub-grid strong {
    display: block;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: .04em;
    color: var(--navy);
}

.hub-grid span {
    font-size: 14.5px;
    line-height: 1.45;
}

.hub-grid + p { margin-top: 20px; }

/* destination pages: logo cards linking to the airline guides */
.airline-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.airline-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    height: 100%;
    padding: 18px 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    color: var(--ink);
    transition: border-color .2s, box-shadow .25s;
}

.airline-links a:hover {
    border-color: #cfd8e6;
    box-shadow: 0 16px 30px -22px rgba(11, 42, 91, .45);
    color: var(--navy);
}

.airline-links img {
    width: 120px;
    height: 40px;
    object-fit: contain;
}

/* bullet list with orange check marks */
.prose-checks li { padding-left: 32px; }

.prose-checks li::before {
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
}

.prose-checks li::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 9px;
    width: 9px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

.prose-note {
    margin: 22px 0 0;
    padding: 16px 20px;
    border-left: 4px solid var(--accent);
    border-radius: 0 12px 12px 0;
    background: var(--sand);
    font-size: 15.5px;
    line-height: 1.65;
}

.page-cta .airline-logo { margin-bottom: 16px; }

@media (max-width: 767.98px) {
    .btn-line{ padding: 8px 24px;}
    .airline-facts,
    .hub-grid,
    .airline-links { grid-template-columns: repeat(2, 1fr); }
}


/* ==================== Contact Us ==================== */

/* extra room at the bottom of the banner for the cards that overlap it */
.page-hero--contact { padding-bottom: 128px; }

.contact-methods {
    position: relative;
    z-index: 2;
    margin-top: -72px;
}

.contact-method {
    display: block;
    height: calc(100% - 24px);
    margin-bottom: 24px;
    padding: 26px 22px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(20, 22, 26, .05), 0 24px 44px -26px rgba(11, 42, 91, .45);
    color: var(--text);
    transition: transform .25s, box-shadow .25s;
}

.contact-method:hover {
    color: var(--text);
    box-shadow: 0 1px 4px rgba(20, 22, 26, .05), 0 30px 50px -24px rgba(11, 42, 91, .55);
    transform: translateY(-3px);
}

.contact-method-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--accent);
    color: #fff;
}

.contact-method h2 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
}

.contact-method strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
    line-height: 1.35;
    color: var(--ink);
    word-break: break-word;
}

.contact-method:hover strong { color: var(--navy); }

.contact-method p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
}

.contact-body { padding-top: 40px; }


/* form */

.cform-card {
    padding: 36px 34px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    scroll-margin-top: 110px;
}

.cform-card h2 {
    margin: 0 0 8px;
    font-size: 28px;
    letter-spacing: -.015em;
}

.cform-intro {
    margin-bottom: 26px;
    font-size: 15.5px;
}

.req { color: var(--accent); }

.cform-field {
    position: relative;
    margin-bottom: 20px;
}

.cform-field > label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
}

.cform-field > label small {
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
}

.cform-field input,
.cform-field select,
.cform-field textarea {
    display: block;
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border: 1px solid #dce2ec;
    border-radius: 12px;
    background: #fff;
    font-size: 15.5px;
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}

.cform-field textarea {
    height: auto;
    min-height: 140px;
    padding: 12px 14px;
    line-height: 1.6;
    resize: vertical;
}

.cform-field select {
    padding-right: 42px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%237c859a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.cform-field input:hover,
.cform-field select:hover,
.cform-field textarea:hover { border-color: #b8c3d6; }

.cform-field input:focus,
.cform-field select:focus,
.cform-field textarea:focus {
    border-color: var(--navy);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, .14);
}

.cform-field.is-invalid input,
.cform-field.is-invalid select,
.cform-field.is-invalid textarea { border-color: #d93025; }

.cform-error {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #d93025;
}

.cform-consent > label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--text);
    cursor: pointer;
}

.cform-consent input {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--navy);
    cursor: pointer;
}

.cform-submit {
    border: 0;
    cursor: pointer;
}

.cform-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.cform-alert {
    margin-bottom: 24px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.55;
}

.cform-alert strong { display: block; }

.cform-alert.is-success {
    border: 1px solid #bfe5cc;
    background: #effaf3;
    color: #1b5e36;
}

.cform-alert.is-error {
    border: 1px solid #f3c4c0;
    background: #fff3f2;
    color: #a1241a;
}


/* help + map */

.contact-aside { padding-left: 12px; }

.contact-tips {
    margin-bottom: 24px;
    padding: 28px 26px;
    border-radius: 20px;
    background: var(--sand);
}

.contact-tips h2 {
    margin: 0 0 16px;
    font-size: 20px;
}

.contact-tips ul {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.contact-tips li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 30px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
}

.contact-tips li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
}

.contact-tips li::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 8px;
    width: 9px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

.contact-map {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 260px;
    border: 0;
}

.contact-map-info { padding: 18px 22px; }

.contact-map-info strong {
    display: block;
    font-size: 15.5px;
    color: var(--ink);
}

.contact-map-info span {
    font-size: 14.5px;
    color: var(--text);
}

@media (max-width: 991.98px) {
    .page-hero--contact { padding-bottom: 112px; }

    .contact-aside {
        margin-top: 32px;
        padding-left: 0;
    }
}

@media (max-width: 575.98px) {
    .contact-methods { margin-top: -64px; }

    .contact-method {
        height: auto;
        margin-bottom: 14px;
        padding: 20px 18px;
    }

    .cform-card { padding: 26px 20px; }
    .cform-card h2 { font-size: 24px; }
}
