/* /z/<slug>/: airport page. Light only; tokens from styl.css. Same cover as the destination
   pages (photo, paper sheet with the H1), the sentence tool, then an editorial list of
   destinations: country as a side head, ruled rows, no cards. */

/* ---------------------------------------------------------------- cover */
.lot-okladka { position: relative; }
.lot-foto { position: relative; overflow: hidden; margin: 0 calc(-1 * var(--gutter)); background: var(--papier-2); }
.lot-foto-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 55%; }
.lot-podpis { font-size: .6875rem; line-height: 1.45; color: var(--tusz-2); padding: .45rem var(--gutter) 0; text-align: right; }
.lot-podpis a { color: inherit; }
.lot-podpis a:hover { color: var(--akcent-tekst); }

/* no photo: sky, sun and sandy horizon, three variants by slug */
.lot-kafel { overflow: hidden; aspect-ratio: 16 / 9;
  background: linear-gradient(180deg, #F3E3CC 0, var(--piasek) 62%, var(--piasek-2) 62% 100%); }
.lot-kafel-slonce { position: absolute; left: 68%; top: 22%; width: clamp(72px, 16vw, 168px); aspect-ratio: 1;
  border-radius: 50%; background: var(--slonce);
  box-shadow: 0 0 0 clamp(10px, 2.4vw, 24px) rgba(242, 167, 102, .26), 0 0 0 clamp(20px, 4.8vw, 48px) rgba(242, 167, 102, .12); }
.lot-kafel::after { content: ""; position: absolute; left: 0; right: 0; top: 62%; height: 1px; background: rgba(26, 23, 20, .18); }
.lot-kafel-1 { background: linear-gradient(180deg, #F1DFC6 0, #EFDCC2 56%, #E6C7A1 56% 100%); }
.lot-kafel-1 .lot-kafel-slonce { left: 18%; top: 30%; }
.lot-kafel-1::after { top: 56%; }
.lot-kafel-2 { background: linear-gradient(180deg, #F4DDC2 0, #F1D2B0 60%, #D9AE85 60% 100%); }
.lot-kafel-2 .lot-kafel-slonce { left: 46%; top: 38%; background: #EE9A5A; }
.lot-kafel-2::after { top: 60%; }
.lot-kafel-znak { position: absolute; right: var(--gutter); bottom: .75rem; margin: 0; font-size: .6875rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(26, 23, 20, .62); font-variant-numeric: tabular-nums; }

/* the sheet with the title; the H1 is long ("Loty bezpośrednie z Warszawy (Chopin)"), so smaller than on destination pages */
.lot-arkusz { position: relative; z-index: 2; background: var(--papier); padding: 1.5rem 0 0; max-width: 46rem; }
.lot-arkusz::before { content: ""; position: absolute; left: 0; top: 0; width: 3.5rem; height: 4px; background: var(--akcent); }
.lot-arkusz h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 4rem); font-weight: 500; line-height: 1; letter-spacing: -0.035em;
  margin: 0 0 .8rem; }
.lot-lotnisko { margin: 0; font-size: clamp(1rem, .95rem + .4vw, 1.25rem); line-height: 1.3; color: var(--tusz-2); }

@media (min-width: 760px) {
  .lot-foto { margin: 0; }
  .lot-foto-img { aspect-ratio: auto; height: clamp(380px, 48vw, 560px); }
  figure.lot-foto::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; pointer-events: none;
    background: linear-gradient(0deg, rgba(24, 16, 10, .55), rgba(24, 16, 10, 0)); }
  .lot-podpis { position: absolute; z-index: 1; right: 1rem; bottom: .9rem; max-width: min(22rem, 30%); padding: 0;
    color: rgba(255, 255, 255, .86); }
  .lot-podpis a:hover { color: #fff; }
  .lot-kafel { aspect-ratio: auto; height: clamp(280px, 30vw, 380px); }
  .lot-arkusz { margin-top: calc(-1 * var(--nachodzi)); max-width: min(46rem, 70%); padding: 1.75rem var(--arkusz-pad) 0; }
  .lot-arkusz::before { left: var(--arkusz-pad); }
}
@media (prefers-reduced-motion: no-preference) {
  .lot-foto-img { animation: okladka-oddech 2.8s var(--ease) both; }
  .lot-arkusz { animation: wjazd 1.1s var(--ease) .2s both; }
}

/* ---------------------------------------------------------------- the tool, directly under the cover */
.lot-narzedzie { margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.lot-narzedzie .zdanie { margin: 0; padding: 1.25rem 0 0; animation: none; }
.lot-narzedzie .zdanie::before { left: 0; }
.lot-narzedzie .zdanie-tekst { font-size: clamp(1.25rem, 1rem + 1.1vw, 1.75rem); }

/* ---------------------------------------------------------------- the list: country side heads, ruled rows */
.lot-tresc { margin-top: clamp(2.5rem, 6vw, 4rem); }
.lot-sekcja > h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem); font-weight: 500; letter-spacing: -0.025em;
  margin: 0 0 .5rem; padding-top: .9rem; border-top: 2px solid var(--linia); }
.lot-kraj { margin-top: 2rem; }
.lot-kraj h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.015em; margin: 0; padding: .65rem 0 .5rem;
  border-bottom: 1px solid var(--linia); }
.lot-kraj-licznik { font-family: var(--font-tekst); font-size: .75rem; font-weight: 600; letter-spacing: .02em; color: var(--tusz-2);
  margin-left: .5em; white-space: nowrap; }
.lot-lista { list-style: none; margin: 0; padding: 0; }

/* one row: name and km, carriers, 12-month strip, source line (phone: stacked, desktop: one line) */
.lot-poz { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; padding: .8rem 0;
  border-bottom: 1px solid var(--linia-miekka); }
.lot-poz p { margin: 0; }
.lot-nazwa { font-family: var(--font-naglowek); font-size: 1.25rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; }
.lot-nazwa a { text-decoration: none; border-bottom: 1px solid var(--linia-miekka); }
.lot-nazwa a:hover { color: var(--akcent-tekst); border-bottom-color: currentColor; }
.lot-km { align-self: baseline; font-size: .875rem; font-weight: 600; color: var(--tusz-2); white-space: nowrap;
  font-variant-numeric: tabular-nums; }
.lot-przewoznicy { grid-column: 1 / -1; font-size: .9375rem; line-height: 1.4; font-weight: 600; margin-top: .15rem !important; }
.lot-dowod { font-weight: 400; color: var(--tusz-2); }
.lot-rok { grid-column: 1 / -1; list-style: none; margin: .5rem 0 0; padding: 0; display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2px; max-width: 15rem; }
.lot-rok li { border-top: 3px solid var(--linia-miekka); padding-top: .15rem; text-align: center; font-size: .5625rem;
  font-weight: 700; line-height: 1.2; letter-spacing: .04em; color: #A79C8B; }
.lot-rok li.jest { border-top-color: var(--akcent); color: var(--tusz); }
.lot-zrodlo { grid-column: 1 / -1; font-size: .75rem; line-height: 1.5; color: var(--tusz-2); margin-top: .45rem !important; }
.lot-sekcja > .lot-zrodlo { margin-top: .75rem !important; }
.lot-zrodlo a { color: inherit; }
.lot-zrodlo a:hover { color: var(--akcent-tekst); }
.lot-msz { grid-column: 1 / -1; font-size: .75rem; line-height: 1.5; color: var(--akcent-tekst); margin-top: .2rem !important; }

@media (min-width: 700px) {
  .lot-poz { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr) 15rem 5.5rem; column-gap: 1.25rem; align-items: baseline;
    padding: .9rem 0; }
  .lot-nazwa { grid-column: 1; grid-row: 1; }
  .lot-przewoznicy { grid-column: 2; grid-row: 1; margin-top: 0 !important; }
  .lot-rok { grid-column: 3; grid-row: 1; margin: 0; max-width: none; align-self: center; }
  .lot-km { grid-column: 4; grid-row: 1; text-align: right; align-self: baseline; }
  .lot-zrodlo, .lot-msz { grid-column: 2 / -1; }
}
@media (min-width: 900px) {
  .lot-kraj { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 2.5rem; margin-top: 2.5rem;
    border-top: 1px solid var(--linia-miekka); }
  .lot-kraj:first-of-type { border-top: 0; }
  .lot-kraj h3 { border-bottom: 0; padding: .9rem 0 0; position: sticky; top: 1rem; align-self: start; }
  .lot-kraj-licznik { display: block; margin: .25rem 0 0; }
  .lot-poz:first-child { padding-top: .9rem; }
}

/* ---------------------------------------------------------------- paragraph and other airports */
.lot-akapit { max-width: 42rem; margin: clamp(2.5rem, 6vw, 4rem) 0 0; color: var(--tusz-2); }
.lot-inne { margin-top: clamp(2rem, 5vw, 3rem); }
.lot-inne h2 { font-family: var(--font-tekst); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin: 0 0 .9rem; padding-top: .75rem; border-top: 2px solid var(--linia); }
