/* Per-airport Fast Track guide pages (inc/ft-airport-pages.php).
   Enqueued ONLY on the four airport posts. Everything is scoped under
   .kt-ftap / .kt-ftap-sticky so nothing leaks into the article or the rest of
   the page.

   Colours are the site's: orange CTA #EF6C00 (homepage CTA), blue #0461ca
   (links), pink #e4367e (form focus), ink #0d0d0d, hairline #eee. The quick
   answer box reuses the article's own .kt-key look (orange left rule) so it
   reads as part of the same page, not a widget dropped on top. */

.kt-ftap {
    font-family: inherit;
    line-height: 1.55;
    margin: 0 0 22px;
}

.kt-ftap .kt-ftap-eyebrow {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #6b6b6b;
}

.kt-ftap .kt-ftap-h {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #0d0d0d;
    line-height: 1.3;
}

.kt-ftap .kt-ftap-sub {
    margin: 2px 0 0;
    font-size: 13px;
    color: #6b6b6b;
}

/* --- 1. Quick answer --- */
.kt-ftap-quick {
    background: #FFF7F0;
    border-left: 4px solid #EF6C00;
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
}

.kt-ftap-quick ul {
    margin: 0;
    padding-left: 20px;
}

.kt-ftap-quick li {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.kt-ftap-quick li + li {
    margin-top: 5px;
}

/* --- 2. Booking widget --- */
.kt-ftap-book {
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    padding: 18px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .05);
}

.kt-ftap-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

@media (min-width: 640px) {
    .kt-ftap-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.kt-ftap-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.kt-ftap-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #777;
    margin: 0 0 5px;
}

.kt-ftap-book select,
.kt-ftap-fixed {
    width: 100%;
    height: 42px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    color: #0d0d0d;
    line-height: 1.4;
    margin: 0;
    box-sizing: border-box;
}

.kt-ftap-fixed {
    display: flex;
    align-items: center;
    background: #f4f4f4;
    color: #444;
}

.kt-ftap-book select:focus {
    outline: none;
    border-color: #e4367e;
    box-shadow: 0 0 0 3px rgba(228, 54, 126, .14);
}

.kt-ftap-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
}

.kt-ftap-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    font-family: inherit;
    min-height: 42px;
}

.kt-ftap-btn:focus-visible {
    outline: 3px solid #FFD44F;
    outline-offset: 2px;
}

.kt-ftap-btn-primary,
.kt-ftap-btn-primary:hover {
    background: #EF6C00;
    color: #fff;
}

/* The article content area sets a.brxe-post-content a{color:var(--primary)},
   which would tint the WhatsApp anchor's text; force button text white in every
   context (the widget lives inside .brxe-post-content). */
.kt-ftap-btn-primary,
.kt-ftap-btn-primary span,
.kt-ftap-btn-wa,
.kt-ftap-btn-wa:hover,
.kt-ftap-btn-wa span {
    color: #fff !important;
}

.kt-ftap-btn-ghost,
.kt-ftap-btn-ghost:hover {
    background: transparent;
    color: #0461ca;
    border-color: #0461ca;
}

/* WhatsApp buttons use the brand green + glyph so the alternate channel is
   instantly recognisable, without competing with the orange primary. */
.kt-ftap-btn-wa {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}

.kt-ftap-btn-wa:hover {
    background: #1DA851;
    border-color: #1DA851;
    color: #fff;
}

.kt-ftap-wa-ic {
    flex: 0 0 auto;
}

.kt-ftap-actions .kt-ftap-note {
    flex-basis: 100%;
    margin: 0;
    font-size: 12px;
    color: #6b6b6b;
}

/* --- 3. Arrivals chart --- */
.kt-ftap-chart {
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    padding: 16px 16px 12px;
    background: #fafafa;
    margin: 6px 0 30px;
}

.kt-ftap-bars {
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    gap: 3px;
    align-items: end;
    height: 120px;
    margin-top: 22px;
}

.kt-ftap-bar {
    position: relative;
    background: #0461ca;
    border-radius: 2px 2px 0 0;
    min-height: 2px;
}

.kt-ftap-bar.is-peak {
    background: #EF6C00;
}

.kt-ftap-bar[data-v]::after {
    content: attr(data-v);
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 700;
    color: #444;
    line-height: 1;
}

.kt-ftap-axis {
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    gap: 3px;
    margin-top: 6px;
    font-size: 10px;
    font-weight: 600;
    color: #777;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.kt-ftap-chart .kt-ftap-foot {
    margin: 10px 0 0;
    font-size: 12.5px;
    color: #555;
    line-height: 1.5;
}

@media (max-width: 520px) {
    .kt-ftap-bar[data-v]::after {
        display: none;
    }
}

/* --- 4. Other airports --- */
.kt-ftap-other {
    max-width: 1160px;
    margin: 34px auto 24px;
    padding: 22px 20px 0;
    border-top: 1px solid #eee;
}

.kt-ftap-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

@media (max-width: 520px) {
    .kt-ftap-cards {
        grid-template-columns: 1fr;
    }
}

.kt-ftap-cards a {
    display: block;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    padding: 12px 14px;
    text-decoration: none;
    color: #0d0d0d;
    background: #fff;
}

.kt-ftap-cards a:hover {
    border-color: #0461ca;
}

.kt-ftap-cards a,
.kt-ftap-cards a b {
    color: #0d0d0d !important;
}

.kt-ftap-cards a b {
    display: block;
    font-size: 15px;
}

.kt-ftap-cards a span {
    display: block;
    font-size: 12.5px;
    color: #6b6b6b !important;
    margin-top: 2px;
}

.kt-ftap-other .kt-ftap-hub {
    margin: 12px 0 0;
    font-size: 14px;
}

/* --- 5. Sticky bottom bar, mobile only --- */
.kt-ftap-sticky {
    display: none;
}

@media (max-width: 639px) {
    .kt-ftap-sticky {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        display: flex;
        gap: 8px;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid #e7e7e7;
        box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
    }

    .kt-ftap-sticky .kt-ftap-btn {
        flex: 1;
        padding-left: 10px;
        padding-right: 10px;
    }

    body.kt-ftap-page {
        padding-bottom: 76px;
    }
}
