.trips-page-intro .lead {
    max-width: 850px;
}

.trips-custom-section {
    padding-bottom: 0;
}

.trips-custom-card {
    border-left: 4px solid #347da8;
}

.trips-custom-copy {
    max-width: 900px;
}

.trips-custom-copy h2,
.trips-section-heading h2 {
    margin-bottom: 10px;
}

.trips-custom-copy p {
    max-width: 860px;
    color: var(--muted);
}

.trips-privacy-note {
    margin-top: 18px;
    color: #276448;
    background: #edf8f1;
    border-left-color: #65a77d;
    font-weight: 600;
}

.trips-download-section {
    padding-top: 24px;
}

.trips-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 24px;
}

.trips-section-intro {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
}

.trips-file-count {
    flex: 0 0 auto;
    padding: 7px 12px;
    color: #28698f;
    background: #eef6fa;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.trips-table-wrap {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.trips-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.trips-table th,
.trips-table td {
    padding: 18px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.trips-table thead th {
    padding-top: 12px;
    padding-bottom: 12px;
    color: #67636c;
    background: #f7f9fa;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.trips-table thead th:first-child {
    width: 29%;
}

.trips-table thead th:last-child {
    width: 128px;
}

.trips-table tbody tr:last-child > * {
    border-bottom: 0;
}

.trips-table tbody tr:hover {
    background: #fbfcfd;
}

.trips-title {
    display: block;
    color: var(--text);
    font-size: 15px;
    line-height: 1.45;
}

.trips-file-total {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
}

.trips-download-list {
    display: grid;
    gap: 9px;
}

.trips-download-item {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 9px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 11px;
}

.trips-file-type {
    flex: 0 0 auto;
    min-width: 44px;
    padding: 6px 7px;
    color: #55525b;
    background: #f0f2f4;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
}

.trips-file-type--pdf {
    color: #a23a32;
    background: #fff0ef;
}

.trips-file-type--json {
    color: #28704c;
    background: #edf8f1;
}

.trips-file-type--zip {
    color: #8a681c;
    background: #fff8e8;
}

.trips-download-copy {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
}

.trips-download-copy strong {
    font-size: 13px;
    line-height: 1.35;
}

.trips-download-copy span {
    color: var(--muted);
    font-size: 11px;
}

.trips-download-button {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 7px 12px;
    font-size: 12px;
    white-space: nowrap;
}

.trips-updated {
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}

.trips-empty-state {
    padding: 34px;
    background: #f8fafb;
    border: 1px dashed #b8c1c7;
    border-radius: 14px;
    text-align: center;
}

.trips-empty-state p {
    margin: 8px 0 0;
    color: var(--muted);
}

@media (max-width: 760px) {
    .trips-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .trips-table-wrap {
        overflow: visible;
        border: 0;
    }

    .trips-table,
    .trips-table tbody,
    .trips-table tr,
    .trips-table th,
    .trips-table td {
        display: block;
        width: 100%;
    }

    .trips-table thead {
        display: none;
    }

    .trips-table tr {
        margin-bottom: 14px;
        overflow: hidden;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 13px;
    }

    .trips-table th,
    .trips-table td {
        padding: 15px;
        border-bottom: 1px solid var(--line);
    }

    .trips-table th::before,
    .trips-table td::before {
        display: block;
        margin-bottom: 6px;
        color: var(--muted);
        content: attr(data-label);
        font-size: 10px;
        font-weight: 600;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    .trips-table tr > *:last-child {
        border-bottom: 0;
    }

    .trips-updated {
        white-space: normal;
    }

    .trips-download-item {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .trips-download-button {
        width: 100%;
    }
}
