.search-results { container-type: inline-size; }
.search-results table {
    clear: both;
    table-layout: fixed;
    border: 0;
    border-collapse: separate;
    border-spacing: 0;
}
.search-results table :is(th, td) {
    box-sizing: border-box;
    padding: 10px 8px;
    border: 0;
    border-bottom: 1px solid #dae4e7;
    vertical-align: middle;
    overflow-wrap: anywhere;
}
.search-results table thead { background: white; }
.search-results table thead th {
    height: auto;
    background: #e7f1f2;
    box-shadow: none;
    color: #324e59;
    text-align: left;
    font: 600 13px/1.3 var(--ui-font);
}
.search-results .journey-column { width: 36%; }
.search-results .duration-column { width: 12%; }
.search-results .days-column { width: 21%; }
.search-results .result-columns th:first-child { border-radius: 8px 0 0 0; }
.search-results .result-columns th:last-child { border-radius: 0 8px 0 0; }
.search-results table .result-zone {
    padding: 5px 0 8px;
    border: 0;
    color: var(--muted);
    font-size: 13px;
}
.result-journey a {
    display: block;
    color: #254c5b;
    text-decoration: none;
}
.result-number {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    box-sizing: border-box;
    max-width: 100%;
    padding: 1px 5px;
    border-radius: 4px;
    background: #e9f3f4;
    color: var(--accent);
    font: 650 13px/1.3 var(--ui-font);
    font-variant-numeric: tabular-nums;
}
.result-number .transp_type { flex: none; align-self: center; }
.error_selection .list li > a > .related-service { background: none; padding-left: 0; }
.related-service .transp_type { vertical-align: -.15em; }
.result-direction {
    margin-left: 3px;
    font: 600 15px/1.4 var(--ui-font);
}
.result-arrow { color: var(--accent); }
.result-journey a:is(:hover, :focus-visible) .result-direction { color: var(--accent); text-decoration: underline; }
.search-results .time_zone, .result-empty {
    font: 650 19px/1.2 var(--ui-font);
    font-variant-numeric: tabular-nums;
}
.result-empty { color: var(--muted); }
.search-results table .result-clock span.date, .result-platform {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font: 400 12px/1.3 var(--ui-font);
}
.result-label { display: none; }
.search-results .result-days a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-sizing: border-box;
    width: auto;
    max-width: 100%;
    height: auto;
    min-height: 36px;
    background: none;
    color: var(--accent);
    font: 500 13px/1.35 var(--ui-font);
    text-decoration-color: #a4c3cb;
}
.result-calendar {
    position: relative;
    box-sizing: border-box;
    flex: none;
    width: 16px;
    height: 15px;
    border: 1.5px solid currentColor;
    border-radius: 3px;
    background: linear-gradient(currentColor, currentColor) 0 3px / 100% 1px no-repeat;
}
.result-calendar::before {
    content: '';
    position: absolute;
    inset: -3px 3px auto;
    height: 4px;
    border-inline: 2px solid;
}
.result-calendar::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 3px;
    width: 2px;
    height: 2px;
    background: currentColor;
    box-shadow: 4px 0, 0 3px;
}
.call_r .result-calendar { color: #ad4c36; }

@container (max-width: 640px) {
    .search-results table, .search-results thead, .search-results thead tr,
    .search-results table .result-zone, .search-results tbody { display: block; }
    .search-results colgroup, .search-results thead .result-columns { display: none; }
    .search-results table .result-zone { padding: 7px 2px; }
    .search-results tbody tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .82fr);
        align-items: start;
        gap: 8px 10px;
        margin: 0 0 8px;
        padding: 10px 12px 3px;
        border: 1px solid #cfdee1;
        border-radius: 10px;
    }
    .search-results table tbody tr:nth-child(n) { background: white; box-shadow: none; }
    .search-results table tbody td { display: block; padding: 0; border: 0; }
    .result-journey, .result-days { grid-column: 1 / -1; }
    .result-label {
        display: block;
        margin-bottom: 2px;
        color: var(--muted);
        font: 400 12px/1.3 var(--ui-font);
    }
    .search-results .time_zone, .result-empty { font-size: 21px; }
    .search-results table .result-duration { color: var(--ink); font-size: 15px; }
    .search-results table .result-days { border-top: 1px solid #e4ecee; }
    .search-results .result-days a { min-height: 38px; }
}
