/* voli-rt/assets/base.css: tokens and the few primitives the board uses (served first in /assets/app.css, then the sito's flights.css,
   then theme.css). Colours of romagnatransfer.com (theme emerald: #00964F / #007A40, ink #111827), font Inter self-hosted. */
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('/assets/fonts/inter-var.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
:root {
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --gs-magenta: #00964F; --gs-magenta-dark: #007A40; --gs-magenta-soft: #ECFDF5;
  --gs-ink: #111827; --gs-ivory: #F6F7F8; --gs-ease: cubic-bezier(.2, .7, .2, 1);
  --color-primary: #00964F; --color-primary-dark: #007A40;
  --color-text-primary: #111827; --color-text-secondary: #374151; --color-text-muted: #4B5563;
  --color-bg-gray-light: #F3F4F6; --color-border-primary: #E5E7EB; --color-border-light: #EEF0F2; --color-border-medium: #D1D5DB;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .06), 0 2px 8px rgba(17, 24, 39, .06);
  --radius-sm: 6px; --radius-md: 8px; --radius-lg: 10px; --radius-xl: 14px; --radius-pill: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-family); font-size: 15px; line-height: 1.5; color: var(--color-text-primary); background: #fff; }
h1, h2 { margin: 0 0 .5rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary-dark); }
table { border-collapse: collapse; }
th { text-align: inherit; }
svg { vertical-align: middle; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.form-control { display: block; width: 100%; height: 46px; padding: 0 14px; font: inherit; font-size: 16px; color: inherit; background: #fff; border: 1px solid var(--color-border-medium); border-radius: var(--radius-md); }
.form-control:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(0, 150, 79, .18); }
.gs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gs-chip { background: #fff; border: 1px solid var(--color-border-primary); border-radius: var(--radius-pill); padding: 9px 14px; font-size: .95rem; }
.gs-chip-link { text-decoration: none; color: var(--color-text-primary); transition: border-color .15s var(--gs-ease), color .15s var(--gs-ease); }
.gs-chip-link:hover { border-color: var(--gs-magenta); color: var(--gs-magenta-dark); }
.gs-seg { display: inline-flex; padding: 4px; border-radius: var(--radius-pill); background: var(--color-bg-gray-light); gap: 2px; }

/* sections/flights.css: the public flight board (sito/pages/flights.php, lib/flight_board.php), 30 Sep 2026. */
.gs-fb-head { margin-bottom: 24px; }
.gs-fb-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 0 0 18px; }
.gs-fb-airports { margin: 0; }
.gs-fb-airports .gs-chip.is-active, .gs-fb-airports .gs-chip.is-active:hover { background: var(--gs-magenta); border-color: var(--gs-magenta); color: #fff; }
.gs-fb-airports .gs-chip.is-active .gs-fb-iata { color: rgba(255, 255, 255, .8); }
.gs-fb-dir > a { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: var(--radius-pill); font-weight: 600; color: var(--color-text-secondary); text-decoration: none; }
.gs-fb-dir > a.is-active { background: #fff; color: var(--gs-ink); box-shadow: var(--shadow-sm); }
.gs-fb-dir > a:last-child svg { transform: scaleY(-1); }
.gs-fb-iata { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--color-text-muted); }
.gs-fb-meta { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 4px 20px; align-items: end; margin: 0 0 12px; }
.gs-fb-h { font-size: 22px; margin: 0; grid-column: 1; }
.gs-fb-upd { margin: 0; font-size: 14px; color: var(--color-text-muted); grid-column: 1; }
.gs-fb-search { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.gs-fb { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--color-border-primary); border-radius: var(--radius-xl); overflow: hidden; font-size: 15px; }
.gs-fb th { background: var(--gs-ink); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 10px 14px; text-align: left; }
.gs-fb td { padding: 11px 14px; border-top: 1px solid var(--color-border-light); vertical-align: middle; }
.gs-fb tbody tr:nth-child(even) td { background: var(--gs-ivory); }
.gs-fb-time { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 17px; }
.gs-fb-old { color: var(--color-text-muted); text-decoration: line-through; font-weight: 500; font-size: 14px; margin-right: 6px; }
.gs-fb-new { color: #B45309; }
.gs-fb-tmr { display: block; font-size: 11px; font-weight: 600; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .04em; }
.gs-fb-no { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.gs-fb-al { color: var(--color-text-secondary); }
.gs-fb-al-m { display: none; }
.gs-fb-st { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; white-space: nowrap; background: var(--color-bg-gray-light); color: var(--color-text-secondary); }
.gs-fb-st.is-ok { background: #E7F6EC; color: #166534; }
.gs-fb-st.is-done { background: #E8EEFF; color: #1E3A8A; }
.gs-fb-st.is-late { background: #FEF3C7; color: #92400E; }
.gs-fb-st.is-bad { background: #FDE8E8; color: #9B1C1C; }
/* Bologna's airport statuses (lib/flight_official.php): now = boarding / last call (solid, pulsing dot), go = boarding closed / gate closed */
.gs-fb-st { gap: 6px; }
.gs-fb-st.is-now { background: #15803D; color: #fff; }
.gs-fb-st.is-go { background: #FFEDD5; color: #9A3412; }
.gs-fb-st-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: gs-fb-pulse 1.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .gs-fb-st-dot { animation: none; } }
.gs-fb-row.is-bad .gs-fb-time > span:first-child { text-decoration: line-through; color: var(--color-text-muted); }
.gs-fb-gate { display: block; margin-top: 3px; font-size: 12px; color: var(--color-text-muted); }
.gs-fb-empty { padding: 28px 20px; margin: 0; text-align: center; background: #fff; border: 1px solid var(--color-border-primary); border-radius: var(--radius-xl); color: var(--color-text-secondary); }
.gs-fb-note { margin: 14px 0 0; font-size: 13px; color: var(--color-text-muted); }
.gs-fb-why { max-width: 760px; }
@media (max-width: 767px) {
  .gs-fb-bar { flex-direction: column; align-items: stretch; }
  .gs-fb-dir { display: grid; grid-template-columns: 1fr 1fr; }
  .gs-fb-dir > a { justify-content: center; }
  .gs-fb-meta { grid-template-columns: 1fr; }
  .gs-fb-search { grid-column: 1; grid-row: auto; margin-top: 8px; }
  .gs-fb thead, .gs-fb .gs-fb-al { display: none; }
  .gs-fb, .gs-fb tbody { display: block; }
  .gs-fb-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "time place st" "time no st"; gap: 2px 12px; padding: 10px 12px; border-top: 1px solid var(--color-border-light); }
  .gs-fb tbody tr:first-child { border-top: 0; }
  .gs-fb tbody tr:nth-child(even) { background: var(--gs-ivory); }
  .gs-fb td { display: block; padding: 0; border: 0; background: none !important; }
  .gs-fb-time { grid-area: time; font-size: 16px; }
  .gs-fb-old { display: block; margin: 0; font-size: 12px; }
  .gs-fb-place { grid-area: place; min-width: 0; }
  .gs-fb-no { grid-area: no; font-size: 13px; color: var(--color-text-secondary); }
  .gs-fb-row > td:last-child { grid-area: st; text-align: right; }
  .gs-fb-al-m { display: block; font-size: 12px; color: var(--color-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
.gs-fb-row[hidden], .gs-fb[hidden] { display: none !important; }
/* Live column of the arrivals (sito/lib/flight_live.php, 30 Sep 2026): wait tag, "Vedi live" button, ATTERRATO tag. */
.gs-fb-live { width: 1%; white-space: nowrap; text-align: right; }
.gs-fb-live-btn { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: var(--radius-pill); border: 1px solid var(--gs-ink); color: var(--gs-ink); background: #fff; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.gs-fb-live-btn:hover, .gs-fb-live-btn:focus-visible { background: var(--gs-ink); color: #fff; }
.gs-fb-live-btn.is-live { background: var(--gs-magenta); border-color: var(--gs-magenta); color: #fff; }
.gs-fb-live-btn.is-live:hover, .gs-fb-live-btn.is-live:focus-visible { filter: brightness(.9); }
.gs-fb-live-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: gs-fb-pulse 1.4s ease-in-out infinite; }
@keyframes gs-fb-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .gs-fb-live-dot { animation: none; } }
.gs-fb-live-tag { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; white-space: nowrap; }
.gs-fb-live-tag.is-wait { color: var(--color-text-muted); background: var(--color-bg-gray-light); }
.gs-fb-live-tag.is-landed { color: #1E3A8A; background: #E8EEFF; letter-spacing: .04em; }
@media (max-width: 767px) {
  .gs-fb-row:has(.gs-fb-live) { grid-template-areas: "time place st" "time no live"; }
  .gs-fb-row > td.gs-fb-live { grid-area: live; text-align: right; align-self: end; justify-self: end; width: auto; }
  .gs-fb-live-btn, .gs-fb-live-tag { height: 28px; padding: 0 10px; font-size: 12px; gap: 6px; }
  .gs-fb-row > td.gs-fb-live:empty { display: none; }
  .gs-fb-row:has(.gs-fb-live) > td:nth-last-child(2) { grid-area: st; text-align: right; }
}

/* voli-rt/assets/theme.css: the page around the board (header, title, call to action, footer). Served last in /assets/app.css. */
.vrt-top { border-bottom: 1px solid var(--color-border-primary); background: #fff; }
.vrt-top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.vrt-logo img { display: block; height: 35px; width: auto; }
.vrt-top-nav { display: flex; align-items: center; gap: 18px; }
.vrt-lang { color: var(--color-text-secondary); text-decoration: none; font-weight: 600; font-size: 14px; }
.vrt-lang:hover { color: var(--color-primary-dark); }
.vrt-btn { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: var(--radius-md); background: linear-gradient(135deg, #00964F 0%, #007A40 100%); color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.vrt-btn:hover, .vrt-btn:focus-visible { background: linear-gradient(135deg, #007A40 0%, #006435 100%); color: #fff; }
.vrt-btn-lg { height: 50px; padding: 0 24px; font-size: 16px; }
.vrt .gs-fb-wrap { padding: 32px 0 40px; }
.vrt-head { margin-bottom: 22px; }
.vrt-head h1 { font-size: 34px; }
.vrt-lead { font-size: 17px; color: var(--color-text-secondary); max-width: 720px; margin: 0; }
.vrt-cta { background: var(--gs-ivory); border-top: 1px solid var(--color-border-primary); padding: 36px 0; }
.vrt-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.vrt-cta h2 { font-size: 24px; }
.vrt-cta p { margin: 0; color: var(--color-text-secondary); max-width: 620px; }
.vrt-cta-act { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.vrt-more { font-weight: 600; }
.vrt-foot { padding: 20px 0 28px; font-size: 13px; color: var(--color-text-muted); }
.vrt-foot a { color: inherit; }
.vrt-embed, .vrt-embed body { background: transparent; }
.vrt-embed .gs-fb-wrap { padding: 4px 0 8px; }
.vrt-embed .container { padding: 0 2px; max-width: none; }
@media (max-width: 767px) {
  .vrt-top-in { height: 60px; }
  .vrt-logo img { height: 30px; }
  .vrt-top-nav { gap: 12px; }
  .vrt-btn { height: 38px; padding: 0 12px; font-size: 14px; }
  .vrt .gs-fb-wrap { padding: 22px 0 28px; }
  .vrt-head h1 { font-size: 27px; }
  .vrt-lead { font-size: 15px; }
  .vrt-embed .gs-fb-wrap { padding: 4px 0 8px; }
}

