/* Departure board: split-flap tiles, the agenda as a timetable. */
:root { --te-radius: .25rem; --flap: color-mix(in srgb, var(--te-surface) 70%, #000); }
.te-nav-wrap { padding: 0; }
.te-nav { max-width: none; border-radius: 0; box-shadow: none; background: var(--flap); backdrop-filter: none; -webkit-backdrop-filter: none; }
.te-nav-brand { font-weight: 500; }
.te-nav-link { border-radius: .125rem; font-family: var(--te-heading); font-size: .8125rem; }
.te-nav-link.is-active { background: var(--te-accent); color: var(--te-on-accent); }
.te-btn, .te-btn-outline { border-radius: .125rem; font-family: var(--te-heading); font-weight: 600; box-shadow: none; }
.te-btn { background: var(--te-accent); color: var(--te-on-accent); }
.bd-hero { display: grid; gap: 0; }
.bd-panel { padding: clamp(1.75rem, 5vw, 4rem) clamp(1.25rem, 4vw, 3.5rem); display: flex; flex-direction: column; align-items: flex-start; gap: 1.75rem; }
.bd-heading { font-family: var(--te-heading); color: var(--te-accent-text); font-size: 1rem; }
.bd-title { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; font-weight: 500; margin: 0; }
.bd-word { display: inline-flex; gap: 3px; }
.bd-flap { position: relative; display: grid; place-items: center; width: clamp(1.9rem, 5.4vw, 4.5rem); height: clamp(2.8rem, 7.6vw, 6.25rem); background: linear-gradient(180deg, color-mix(in srgb, var(--flap) 82%, #fff) 0 49.2%, #000 49.2% 50.8%, var(--flap) 50.8%); color: var(--te-primary-text); font-size: clamp(1.5rem, 4.6vw, 3.9rem); border-radius: 3px; text-transform: uppercase; box-shadow: 0 2px 0 rgba(0,0,0,.4); }
.bd-row { display: grid; width: 100%; border-block: 1px solid var(--te-line); }
.bd-cell { display: grid; gap: .25rem; padding: .875rem 0; }
.bd-cap { color: var(--te-muted); font-size: .875rem; }
.bd-val { font-family: var(--te-heading); }
.bd-status { color: var(--te-accent-text); }
.bd-panel .te-count { justify-content: flex-start; width: min(100%, 30rem); gap: 3px; }
.bd-photo { min-height: 18rem; position: relative; }
.bd-photo > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
@media (min-width: 1000px) { .bd-hero { grid-template-columns: 1fr 26rem; } .bd-row { grid-template-columns: 2fr 1fr 1fr; gap: 1.5rem; } }
.te-count-cell { background: linear-gradient(180deg, color-mix(in srgb, var(--flap) 82%, #fff) 0 49.2%, #000 49.2% 50.8%, var(--flap) 50.8%) !important; border-radius: 3px; box-shadow: none !important; }
.te-tile, .te-card { background: var(--te-surface); border: 0; border-radius: .125rem; box-shadow: none; }
.te-icon-tile { display: none; }
.te-section-head { max-width: 72rem; text-align: left; }
.te-h-section, .te-h-page { font-weight: 500; }
.te-h-card { font-weight: 500; }
ol.te-card { background: none; padding: 0 !important; }
.te-schedule > div { max-width: 72rem !important; }
.te-schedule li { grid-template-columns: 1fr !important; padding: 1rem 0 !important; border-bottom: 1px solid var(--te-line); }
.te-schedule li > div:first-child { display: none; }
.te-schedule li .te-chip { background: var(--flap); color: var(--te-accent-text); font-family: var(--te-heading); border-radius: 2px; }
.te-explore > div { max-width: 72rem !important; }
.te-explore .grid { gap: 2px !important; }
.te-chip { border-radius: 2px; }
.te-page-head { margin: 0; border-radius: 0; background: var(--flap); text-align: left; }
.te-gallery-grid { max-width: 72rem !important; gap: 3px !important; }
.te-gallery-item { border-radius: 0 !important; }
.te-closing-panel { background: var(--flap); border-radius: 0; }
.te-field, .te-choice { border-radius: 2px; }
.te-btn-soft { background: var(--te-tint-strong); color: var(--te-primary-text); }
.te-btn-accent { background: var(--te-accent); color: var(--te-on-accent); }
.te-btn-light { background: #fff; color: #14141c; }
.te-btn-soft { background: var(--flap); color: var(--te-ink); }
@media (min-width: 800px) { .te-schedule li > div:last-child { display: grid; grid-template-columns: 8rem 1fr 1fr; align-items: baseline; column-gap: 1.5rem; } .te-schedule li .te-chip { margin: 0 !important; justify-self: start; } .te-schedule li p { margin: 0 !important; } }
.te-btn.te-btn-outline { background: transparent; color: var(--te-primary-text); }
