.pc-ts-page{
    background:#fff;
    color:#171717;
    padding:14px 0 0;
}

.pc-ts-shell{
    width:min(1180px,calc(100% - 32px));
    margin:0 auto;
}

.pc-ts-breadcrumb{
    display:flex;
    gap:8px;
    align-items:center;
    flex-wrap:wrap;
    margin:0 0 12px;
    color:#777;
    font-size:14px;
}

.pc-ts-breadcrumb a{
    color:#555;
    text-decoration:none;
}

.pc-ts-breadcrumb strong{
    color:#222;
}

.pc-ts-tool{
    padding:20px;
    border:1px solid #e0dfdb;
    border-radius:18px;
    background:#faf9f6;
}

.pc-ts-heading{
    margin-bottom:18px;
}

.pc-ts-kicker,
.pc-ts-results-label{
    display:block;
    margin-bottom:5px;
    color:#e82323;
    font-size:13px;
    font-weight:850;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.pc-ts-heading h1{
    margin:0;
    color:#171717;
    font-size:30px;
    line-height:1.1;
    letter-spacing:-.035em;
}

.pc-ts-heading p{
    margin:7px 0 0;
    color:#666;
    font-size:15px;
}

.pc-ts-search{
    padding:15px;
    border:1px solid #e1e0dc;
    border-radius:13px;
    background:#fff;
}

.pc-ts-search label{
    display:block;
    margin-bottom:7px;
    font-size:14px;
    font-weight:800;
}

.pc-ts-search-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px;
}

.pc-ts-search input{
    width:100%;
    height:52px;
    box-sizing:border-box;
    padding:0 15px;
    border:1px solid #cdccc7;
    border-radius:10px;
    background:#fff;
    color:#181818;
    font:inherit;
    font-size:16px;
    outline:none;
}

.pc-ts-search input:focus{
    border-color:#171717;
    box-shadow:0 0 0 3px rgba(0,0,0,.06);
}

.pc-ts-mode{
    display:flex;
    height:52px;
    padding:3px;
    border:1px solid #d9d8d3;
    border-radius:10px;
    background:#f3f2ee;
    box-sizing:border-box;
}

.pc-ts-mode button{
    min-width:70px;
    padding:0 12px;
    border:0;
    border-radius:7px;
    background:transparent;
    color:#555;
    font-weight:800;
    cursor:pointer;
}

.pc-ts-mode button.is-active{
    background:#171717;
    color:#fff;
}

.pc-ts-results-head{
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:flex-end;
    padding:19px 3px 11px;
}

.pc-ts-results-head h2{
    margin:0;
    font-size:21px;
    line-height:1.2;
}

.pc-ts-results-head > span{
    color:#777;
    font-size:14px;
    font-weight:750;
}

.pc-ts-results{
    overflow:hidden;
    border:1px solid #e1e0dc;
    border-radius:13px;
    background:#fff;
}

.pc-ts-empty,
.pc-ts-loading{
    min-height:125px;
    box-sizing:border-box;
    padding:22px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.pc-ts-empty strong{
    font-size:16px;
}

.pc-ts-empty span{
    margin-top:4px;
    color:#737373;
    font-size:14px;
}

.pc-ts-loading{
    flex-direction:row;
    align-items:center;
    justify-content:center;
    gap:10px;
    color:#555;
}

.pc-ts-loading span{
    width:18px;
    height:18px;
    border:2px solid #ddd;
    border-top-color:#222;
    border-radius:50%;
    animation:pcTsSpin .8s linear infinite;
}

@keyframes pcTsSpin{
    to{transform:rotate(360deg)}
}

.pc-ts-result{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
    padding:14px 16px;
    border-bottom:1px solid #ecece8;
}

.pc-ts-result:last-child{
    border-bottom:0;
}

.pc-ts-result-main{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
}

.pc-ts-type{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:48px;
    min-height:27px;
    padding:0 8px;
    border-radius:999px;
    font-size:12px;
    font-weight:850;
}

.pc-ts-type--rail{
    background:#171717;
    color:#fff;
}

.pc-ts-type--bus{
    background:#f0eee7;
    color:#333;
}

.pc-ts-copy{
    min-width:0;
}

.pc-ts-copy strong{
    display:block;
    color:#171717;
    font-size:16px;
    line-height:1.25;
}

.pc-ts-copy span{
    display:block;
    margin-top:3px;
    color:#777;
    font-size:13px;
}

.pc-ts-actions{
    display:flex;
    gap:7px;
    flex:0 0 auto;
}

.pc-ts-actions a{
    display:inline-flex;
    align-items:center;
    min-height:39px;
    padding:0 12px;
    border-radius:8px;
    font-size:13px;
    font-weight:800;
    text-decoration:none;
}

.pc-ts-guide{
    border:1px solid #d9d9d4;
    color:#333;
    background:#fff;
}

.pc-ts-departures{
    border:1px solid #171717;
    background:#171717;
    color:#fff;
}

.pc-ts-links{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin-top:14px;
}

.pc-ts-links a{
    display:flex;
    justify-content:space-between;
    padding:14px 15px;
    border:1px solid #dfdfdb;
    border-radius:11px;
    color:#222;
    background:#fff;
    font-size:14px;
    font-weight:800;
    text-decoration:none;
}

.pc-ts-seo{
    max-width:850px;
    margin:50px 0 42px;
    padding-top:33px;
    border-top:1px solid #e9e9e5;
}

.pc-ts-seo h2{
    margin:0 0 13px;
    font-size:27px;
    line-height:1.15;
    letter-spacing:-.025em;
}

.pc-ts-seo h3{
    margin:25px 0 8px;
    font-size:20px;
}

.pc-ts-seo p{
    margin:0 0 14px;
    color:#606060;
    font-size:16px;
    line-height:1.7;
}

.pc-ts-attribution{
    padding:17px 0 25px;
    border-top:1px solid #ecece8;
    color:#777;
    font-size:13px;
}


@media(max-width:760px){

    .pc-ts-page{
        padding-top:9px;
    }

    .pc-ts-shell{
        width:calc(100% - 20px);
    }

    .pc-ts-tool{
        padding:13px;
        border-radius:14px;
    }

    .pc-ts-heading h1{
        font-size:24px;
    }

    .pc-ts-search{
        padding:11px;
    }

    .pc-ts-search-row{
        grid-template-columns:1fr;
    }

    .pc-ts-mode{
        width:100%;
    }

    .pc-ts-mode button{
        flex:1;
    }

    .pc-ts-results-head{
        align-items:flex-start;
    }

    .pc-ts-result{
        align-items:flex-start;
        flex-direction:column;
    }

    .pc-ts-actions{
        width:100%;
    }

    .pc-ts-actions a{
        flex:1;
        justify-content:center;
    }

    .pc-ts-links{
        grid-template-columns:1fr;
    }

    .pc-ts-seo{
        margin-top:37px;
    }

    .pc-ts-seo h2{
        font-size:23px;
    }

    .pc-ts-seo p{
        font-size:15px;
    }
}
