/* ═══════════════════════════════════════════════════════════════════
   JAK TU DOLECIEĆ

   Sekcja na stronie wycieczki, która mówi to, czego nie powie żadna
   wyszukiwarka lotów: dokąd lecieć NA TĘ trasę, kiedy i czy wracać
   z innego miasta. Ceny są z naszej własnej historii sprawdzeń —
   i wyglądają jak informacja, a nie jak oferta, bo nią nie są.
   ═══════════════════════════════════════════════════════════════════ */

.gt-scope .gt-openjaw {
    margin: 0 0 1rem;
    padding: 0.7rem 0.9rem;
    border-left: 3px solid var(--hub-accent);
    border-radius: 0 10px 10px 0;
    background: rgb(var(--hub-accent-rgb) / 0.07);
    font-size: 0.9rem;
    line-height: 1.6;
}

.gt-legs { display: grid; gap: 0.6rem; }

.gt-leg {
    display: grid;
    grid-template-columns: auto 1fr auto auto auto;
    align-items: center;
    gap: 0.5rem 1rem;
    padding: 0.8rem 1rem;
    border: 1px solid var(--hub-hairline);
    border-radius: 12px;
    background: var(--hub-elev);
}

.gt-leg-kind {
    padding: 0.15rem 0.55rem;
    border: 1px solid var(--hub-hairline);
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--hub-ink-muted);
    white-space: nowrap;
}

.gt-leg-main { min-width: 0; }
.gt-leg-main strong { font-size: 1.05rem; letter-spacing: 0.01em; }
.gt-leg-city { display: block; font-size: 0.8rem; color: var(--hub-ink-muted); }
.gt-leg-when { font-size: 0.88rem; font-weight: 600; white-space: nowrap; }

.gt-leg-price { text-align: right; }
.gt-price { display: block; font-size: 0.95rem; font-weight: 800; font-variant-numeric: tabular-nums; }

/* Przy trzech obserwacjach „zwykle tyle" brzmi jak wiedza, a jest
   przypadkiem — taka cena mówi szeptem. */
.gt-price-thin { font-weight: 500; font-size: 0.82rem; color: var(--hub-ink-muted); }
.gt-price-sub { display: block; font-size: 0.72rem; color: var(--hub-ink-muted); }

.gt-leg-go {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: var(--hub-accent);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.gt-leg-go:hover { background: var(--hub-accent-strong, var(--hub-accent)); }

.gt-ours {
    margin: 0.8rem 0 0;
    font-size: 0.85rem;
    color: var(--hub-ink-muted);
}

/* ── Kiedy lecieć ─────────────────────────────────────────────────── */

.gt-when {
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--hub-hairline);
}

.gt-when h3 {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--hub-ink-muted);
}

.gt-season { margin: 0 0 0.75rem; font-size: 0.9rem; line-height: 1.6; }

.gt-months {
    list-style: none;
    margin: 0 0 0.6rem;
    padding: 0;
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.gt-month {
    display: grid;
    gap: 0.1rem;
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--hub-hairline);
    border-radius: 10px;
    background: var(--hub-elev);
    text-align: center;
}

/* Najtańszy miesiąc wyróżniony, ale bez obietnicy: pod spodem stoi zdanie,
   że najtaniej nie znaczy najlepiej. */
.gt-month.is-cheapest { border-color: rgb(var(--hub-accent-rgb) / 0.5); background: rgb(var(--hub-accent-rgb) / 0.08); }

.gt-month-name { font-size: 0.78rem; font-weight: 600; }
.gt-month-price { font-size: 0.95rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.gt-month-n { font-size: 0.66rem; color: var(--hub-ink-muted); }

.gt-when-note {
    margin: 0;
    max-width: 62ch;
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--hub-ink-muted);
}

@media (max-width: 720px) {
    .gt-leg {
        grid-template-columns: 1fr auto;
        row-gap: 0.35rem;
    }
    .gt-leg-kind { grid-column: 1 / -1; justify-self: start; }
    .gt-leg-when { grid-column: 2; text-align: right; }
    .gt-leg-price { grid-column: 1 / -1; text-align: left; }
    .gt-leg-go { grid-column: 1 / -1; text-align: center; }
}
