/* Transportation page. The hero banner comes from about.css (same as the other inner pages).
   Every class here starts with tr- so no other page is touched. */

/* 1. The picture of the buses at the left, the message at the right */
.tr-service { padding-block: var(--section); background: linear-gradient(180deg, var(--base) 0%, var(--flame-tint) 100%); }
.tr-service__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(1.5rem, 1rem + 2.5vw, 3rem); align-items: stretch; }
.tr-photo { position: relative; margin: 0; min-height: 14rem; }
.tr-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; border: 2px solid var(--flame); border-radius: calc(var(--r-lg) * 1.25); background: #fff; box-shadow: 0 1.5rem 3.5rem -2rem rgba(12, 74, 143, 0.45); }
.tr-service__message { display: flex; flex-direction: column; justify-content: center; gap: 0.9rem; padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); border-radius: calc(var(--r-lg) * 1.25); background: #fff; }
.tr-service__headline { margin: 0; font-family: var(--display); font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.4rem); font-weight: 290; font-style: italic; line-height: 1.08; letter-spacing: -0.025em; color: var(--maroon); }
.tr-service__message p { margin: 0; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); line-height: 1.75; color: var(--text); text-wrap: pretty; }

/* 2. The route files on a dark band: one card for each PDF */
.tr-routes { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); background: var(--band); color: var(--on-dark); }
.tr-routes__grid { margin-bottom: clamp(1.5rem, 1rem + 2vw, 3rem); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.tr-routes__title { margin: 0; font-family: var(--display); font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.4rem); font-weight: 290; line-height: 1.08; letter-spacing: -0.025em; color: var(--base); }
.tr-frame { position: relative; overflow: hidden; height: clamp(520px, 84vh, 1100px); border-radius: var(--r-lg); border: 1px solid var(--line-dark); background: var(--surface); }
.tr-frame + .tr-frame { margin-top: 1.5rem; }
.tr-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tr-files { display: grid; gap: 0.9rem; margin: 0; padding: 0; list-style: none; }
.tr-file { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem clamp(1rem, 0.5rem + 2vw, 2rem); padding: clamp(1rem, 0.75rem + 1vw, 1.5rem) clamp(1.1rem, 0.75rem + 1.5vw, 2rem); border: 1px solid var(--line-dark); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.06); color: var(--base); text-decoration: none; transition: background-color 0.3s, border-color 0.3s, transform 0.3s; }
.tr-file:hover, .tr-file:focus-visible { border-color: var(--flame); background: rgba(255, 255, 255, 0.12); transform: translateX(6px); }
.tr-file__icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 0.75rem; background: var(--flame); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; color: var(--band); }
.tr-file__title { font-family: var(--display); font-size: clamp(1.15rem, 1rem + 0.7vw, 1.6rem); font-weight: 320; line-height: 1.2; }
.tr-file__open { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--flame); white-space: nowrap; }

@media (max-width: 900px) {
  .tr-photo { min-height: 0; aspect-ratio: 800 / 242; }
  .tr-service__grid, .tr-routes__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .tr-file { grid-template-columns: auto minmax(0, 1fr); }
  .tr-file__open { grid-column: 2; }
}
