/**
 * Public Bus Routes page.
 *
 * @package jpd-theme
 */

.jpd-public-bus-routes-page {
    background: #ffffff;
}

.jpd-public-bus-routes {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: 58px 0 230px;
    background: #ffffff;
    color: #111111;
}

.jpd-public-bus-routes::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    height: 210px;
    pointer-events: none;
    background-image: url("../../images/public-bus-routes/public_bus_bg.svg");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: min(100%, 1440px) auto;
}

.jpd-public-bus-routes__container {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 44px));
    margin: 0 auto;
}

.jpd-public-bus-routes__selector-section {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.jpd-public-bus-routes__section-header {
    margin: 0 auto 18px;
    text-align: center;
}

.jpd-public-bus-routes__count,
.jpd-public-bus-routes__section-title {
    margin: 0;
    color: #111111;
    font-size: clamp(1rem, 1.15vw, 1.18rem);
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
}

.jpd-public-bus-routes__count {
    margin-bottom: 2px;
}

.jpd-public-bus-routes__form {
    display: block;
    width: min(420px, 100%);
    margin: 0 auto 45px;
    text-align: center;
}

.jpd-public-bus-routes__select {
    display: block;
    width: 100%;
    min-height: 35px;
    margin: 0 auto;
    border: 1px solid #d7d7d7;
    border-radius: 3px;
    padding: 0 42px 0 18px;
    background-color: #ffffff;
    color: #111111;
    font-size: 0.88rem;
    line-height: 1.2;
    text-align: center;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
    outline: none;
}

.jpd-public-bus-routes__select:focus {
    border-color: #103d74;
    box-shadow: 0 0 0 3px rgba(16, 61, 116, 0.14);
}

.jpd-public-bus-routes__route-stage {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.jpd-public-bus-routes__route-image {
    display: block;
    width: min(650px, 100%);
    height: auto;
    margin: 0 auto;
}

.jpd-public-bus-routes__empty {
    width: min(560px, 100%);
    margin: 30px auto 0;
    padding: 22px;
    border-radius: 10px;
    background: #ffffff;
    color: #555555;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

@media (max-width: 900px) {
    .jpd-public-bus-routes {
        padding-top: 46px;
        padding-bottom: 180px;
    }
}

@media (max-width: 600px) {
    .jpd-public-bus-routes {
        padding: 34px 0 140px;
    }

    .jpd-public-bus-routes__container {
        width: min(100% - 28px, 1120px);
    }

    .jpd-public-bus-routes__section-header {
        margin-bottom: 16px;
    }

    .jpd-public-bus-routes__count,
    .jpd-public-bus-routes__section-title {
        font-size: 0.94rem;
        line-height: 1.15;
    }

    .jpd-public-bus-routes__form {
        margin-bottom: 30px;
    }

    .jpd-public-bus-routes__select {
        min-height: 42px;
        border-radius: 6px;
        font-size: 0.86rem;
    }

    .jpd-public-bus-routes__route-image {
        width: min(100%, 480px);
    }

    .jpd-public-bus-routes::after {
        height: 125px;
        background-size: auto 100%;
    }
}
