/* Fleet page */
.fleet-head__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.fleet-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.fleet-facts div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fleet-facts dt { color: var(--text-2); font-size: .9375rem; }
.fleet-facts dd { margin: 4px 0 0; font-style: italic; font-weight: 800; font-stretch: 112%; font-size: 2.4rem; line-height: 1; }
@media (max-width: 900px) { .fleet-head__grid { grid-template-columns: 1fr; } }

.filters { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: end; margin-bottom: 18px; }
.fleet-search { min-width: 220px; }
.fleet-search .input { min-height: 46px; }
.fleet-count { margin: 8px 0 12px; color: var(--ink-2); font-size: .9375rem; }

#fleet-tbl { min-width: 1080px; }
#fleet-tbl thead button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: inherit; }
#fleet-tbl thead button:hover { color: var(--ink); text-decoration: underline; text-decoration-color: #8A6A00; text-underline-offset: 3px; }
#fleet-tbl th[aria-sort="ascending"] button::after { content: " ▲"; font-size: .7em; }
#fleet-tbl th[aria-sort="descending"] button::after { content: " ▼"; font-size: .7em; }
#fleet-tbl tbody th { font-weight: 700; font-style: italic; white-space: nowrap; }
.use-cell .use { display: block; white-space: nowrap; }
.use-cell .use + .use { margin-top: 4px; }
.basis { font-size: .8125rem; color: var(--ink-2); }
.details-btn { min-height: 34px; padding: 4px 12px; border: 1px solid var(--ink-line); background: #fff; color: var(--ink); font-weight: 600; cursor: pointer; }
.details-btn:hover, .details-btn[aria-expanded="true"] { border-color: var(--ink); }
.detail-row td { background: var(--paper); padding: 0; }
.truck { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.truck section { padding: 20px; border-right: 1px solid var(--ink-line); }
.truck section:last-child { border-right: 0; }
.truck h3 { font-size: 1.05rem; margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.truck dl { margin: 0; display: grid; gap: 6px; }
.truck dl div { display: grid; grid-template-columns: 1fr auto; gap: 10px; font-size: .9rem; }
.truck dt { color: var(--ink-2); }
.truck dd { margin: 0; text-align: right; }
.limits { border-collapse: collapse; font-size: .875rem; margin-top: 6px; }
.limits th, .limits td { padding: 3px 10px 3px 0; border: 0; text-align: left; }
.limits th { font-weight: 600; color: var(--ink-2); background: none; position: static; }
@media (max-width: 1100px) { .truck { grid-template-columns: 1fr 1fr; } .truck section:nth-child(2) { border-right: 0; } }

.fleet-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; font-size: .875rem; color: var(--ink-2); }
.fleet-note { margin-top: 12px; }

.fleet-photos__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.fleet-photos .media { aspect-ratio: 4 / 5; }
.fleet-photos h2 { margin-bottom: 20px; max-width: 16ch; }
@media (max-width: 820px) { .fleet-photos__grid { grid-template-columns: 1fr; } .fleet-photos .media { aspect-ratio: 3 / 2; } }
.fleet-search[hidden] { display: none; }  /* the registration search is for people with a login */
