/* buslo.pl/komunikacja-miejska (site/transit.js): dodatki do site.css w tym samym stylu portalu. */
.transit .page-body > section { margin: 0 0 34px; }
.transit .page-head h1 { text-transform: none; }
.t-h2 { font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; margin: 0 0 14px; }
.t-h3 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--brass); margin: 18px 0 8px; }
.t-tbl a { color: var(--head); text-decoration: none; font-weight: 700; }
.t-tbl a:hover { color: var(--brass-light); }
.t-tbl td.t-th { padding-top: 4px; padding-bottom: 4px; width: 104px; }
.t-tbl .t-th img { width: 96px; height: 60px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }
.t-other { color: var(--muted); font-size: 14px; margin: 14px 0 0; }
.t-other a { font-weight: 700; }

/* Miasta */
.t-cities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.t-city { display: grid; gap: 6px; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--enamel); border-radius: var(--r); padding: 18px 20px; text-decoration: none; color: var(--soft); }
.t-city b { color: var(--head); font-size: 20px; text-transform: uppercase; letter-spacing: .02em; }
.t-city span { font-size: 14px; }
.t-city:hover { border-color: var(--brass-dark); }
.t-city:hover b { color: var(--brass-light); }
.t-live-n { color: #7fe0a6; font-weight: 700; font-size: 13px; }
.t-live-n:empty { display: none; }

/* Zdjecia */
.t-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; }
.t-photos.lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.t-photos.lead .t-photo:first-child { grid-column: 1 / -1; }
.t-photo { margin: 0; min-width: 0; }
/* Cale zdjecie razem z paskiem znaku wodnego (site/watermark.js), bez przycinania. */
.t-photo > a { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--panel2); }
.t-photos.lead .t-photo:first-child > a { aspect-ratio: auto; max-height: 620px; }
.t-photo img { width: 100%; height: auto; }
.t-photos.lead .t-photo:first-child img { height: auto; max-height: 620px; object-fit: contain; background: #06090e; }
.t-photo figcaption { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.t-photo figcaption b { color: var(--soft); }
.t-ph-v { flex-basis: 100%; font-weight: 800; color: var(--head); text-decoration: none; font-size: 14px; }
.t-report { margin-left: auto; color: var(--muted); font-size: 12px; }
.t-report:hover { color: var(--brass-light); }

/* Woz */
.t-plate { display: inline-block; vertical-align: middle; font-size: 18px; letter-spacing: .06em; color: #10151f; background: #f3f1ea; border: 2px solid #10151f;
  border-left: 14px solid #1f4ea8; border-radius: 4px; padding: 1px 10px 0 8px; margin-left: 10px; text-transform: none; }
.t-veh-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; margin-bottom: 34px; }
.t-facts dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; margin: 0; font-size: 14px; }
.t-facts dt { color: var(--muted); }
.t-facts dd { margin: 0; color: var(--head); font-weight: 700; }
.t-nopic { background: var(--panel); border: 1px dashed var(--line2); border-radius: var(--r); padding: 28px 20px; text-align: center; }
.t-nums { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.t-nums a { min-width: 58px; text-align: center; padding: 6px 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); color: var(--head); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.t-nums a:hover { border-color: var(--brass); color: var(--brass-light); }

/* Mapa */
.t-map { height: 440px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #e9e0cc; }
.t-veh .t-map { height: 380px; }
.t-map-note { color: var(--soft); font-size: 13.5px; margin: 8px 0 0; }
.t-pop { display: grid; gap: 2px; font: 600 13px/1.4 Montserrat, system-ui, sans-serif; color: #1b2230; }
.t-pop b { font-size: 14px; }
.t-pop a { color: #b8391c; font-weight: 800; }
.maplibregl-popup-content { border-radius: 6px; padding: 10px 26px 10px 12px; }

/* Wezwanie do gry */
.t-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; margin: 40px 0 0;
  background: linear-gradient(135deg, var(--navy-dark), #0f1c30); border: 1px solid #26497a; border-radius: var(--r); padding: 24px 26px; }
.t-cta h2 { font-size: 24px; font-weight: 800; text-transform: uppercase; }
.t-cta p { margin: 6px 0 0; color: var(--soft); max-width: 640px; }

/* Formularz zgloszenia */
.t-form { display: grid; gap: 12px; }
.t-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.t-form legend, .t-form > label { font-weight: 800; color: var(--head); margin-bottom: 4px; }
.t-form textarea { width: 100%; font: inherit; color: var(--text); background: var(--bg2); border: 1px solid var(--line2); border-radius: 4px; padding: 10px; }
.t-form-ph { color: var(--soft); font-size: 14px; }
.t-form-msg { margin: 0; color: var(--brass-light); font-weight: 700; min-height: 1.4em; }

@media (max-width: 900px) {
  .t-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .t-veh-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .t-cities { grid-template-columns: minmax(0, 1fr); }
  .t-photos, .t-photos.lead { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .t-map { height: 360px; }
  .t-veh .t-map { height: 320px; }
  .t-plate { font-size: 15px; margin: 6px 0 0; }
  .t-h2 { font-size: 19px; }
  .t-cta { padding: 20px 18px; }
  .t-cta .btn { width: 100%; }
  .t-report { margin-left: 0; }
}
