.ytl-widget{
    width:100%;
    max-width:760px;
    box-sizing:border-box;
    margin:20px auto;
    padding:22px;
    border:1px solid #e1e5e9;
    border-radius:18px;
    background:#fff;
    box-shadow:0 5px 22px rgba(0,0,0,.07);
    font-family:inherit;
}
.ytl-heading{
    display:flex;
    align-items:flex-start;
    gap:15px;
    margin-bottom:20px;
}
.ytl-icon{
    width:52px;
    height:52px;
    flex:0 0 52px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:#f2f4f6;
    font-size:27px;
}
.ytl-heading-text{min-width:0}
.ytl-heading h2{
    margin:0 0 4px;
    font-size:23px;
    line-height:1.2;
}
.ytl-route{
    font-size:16px;
    color:#555e68;
    margin-bottom:6px;
}
.ytl-stop{
    font-size:15px;
    color:#69717a;
}
.ytl-stop strong{color:#222}
.ytl-buttons{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}
.ytl-button{
    min-height:78px;
    box-sizing:border-box;
    display:flex;
    align-items:center;
    gap:12px;
    padding:13px 14px;
    border-radius:14px;
    text-decoration:none !important;
    color:#111 !important;
    background:#f5f7f9;
    border:1px solid #e5e8eb;
    transition:transform .15s ease, background .15s ease, border-color .15s ease;
}
.ytl-button:hover{
    transform:translateY(-1px);
    background:#eef1f4;
    border-color:#d8dde2;
}
.ytl-button-icon{
    width:40px;
    height:40px;
    flex:0 0 40px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:11px;
    background:#fff;
    font-size:21px;
    font-weight:700;
}
.ytl-button-body{
    min-width:0;
    flex:1;
    display:flex;
    flex-direction:column;
    gap:3px;
}
.ytl-button-body strong{
    font-size:15px;
    line-height:1.25;
}
.ytl-button-body small{
    font-size:12px;
    line-height:1.3;
    color:#6d757d;
}
.ytl-arrow{
    flex:0 0 auto;
    font-size:21px;
}
.ytl-info{
    display:flex;
    align-items:flex-start;
    gap:8px;
    margin-top:14px;
    padding:12px 14px;
    border-radius:11px;
    background:#fafafa;
    color:#616a73;
    font-size:13px;
    line-height:1.4;
}
.ytl-source{
    margin-top:8px;
    font-size:11px;
    color:#8a929a;
}
@media (max-width:620px){
    .ytl-widget{
        padding:15px;
        margin:14px 0;
        border-radius:14px;
    }
    .ytl-heading{
        gap:11px;
        margin-bottom:15px;
    }
    .ytl-icon{
        width:44px;
        height:44px;
        flex-basis:44px;
        border-radius:11px;
        font-size:22px;
    }
    .ytl-heading h2{font-size:20px}
    .ytl-route{font-size:14px}
    .ytl-stop{font-size:14px}
    .ytl-buttons{
        grid-template-columns:1fr;
        gap:9px;
    }
    .ytl-button{
        min-height:66px;
        padding:11px 12px;
    }
    .ytl-button-body strong{font-size:15px}
}

/* Bus pictogram used on both direction buttons */
.ytl-button-icon.ytl-bus-icon{
    background:transparent;
    width:48px;
    height:48px;
    flex:0 0 48px;
    padding:0;
}
.ytl-bus-svg{
    display:block;
    width:48px;
    height:48px;
}
.ytl-bus-svg-departure{
    color:#46b82b;
}
.ytl-bus-svg-arrival{
    color:#1769e0;
}
@media (max-width:620px){
    .ytl-button-icon.ytl-bus-icon{
        width:44px;
        height:44px;
        flex-basis:44px;
    }
    .ytl-bus-svg{
        width:44px;
        height:44px;
    }
}
