@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    margin: 0;
    padding: 0;
}

p,
h1,
h2,
ul,
li,
header {
    line-height: 150%;
}

ul,
ol {
    padding-left: 20px;
}

ul li,
ul li ul li,
ul li ul li ul li {
    list-style-type: disc;
}

a {
    color: #3da3e6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 640px;
    margin: auto;
    margin-top: 44px;
}

.logo {
    width: 240px;
    margin-bottom: 24px;
}

.hero-img {
    width: 100%;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

header {
    background-color: #80652a;
    height: 44px;
    padding-left: 16px;
    padding-right: 16px;
    display: flex;
    align-items: center;
    font-weight: bold;
    color: white;
    gap: 4px;
}

header a {
    color: white;
    text-decoration: none;
}

header a:hover {
    text-decoration: underline;
}

article h1 {
    margin-top: 0;
    text-transform: uppercase;
}

.bt_bb_wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 44px;
}

.bt_bb_wrapper .past {
    text-decoration: line-through;
    color: #666 !important;
    font-style: oblique !important;
}

.bt_bb_wrapper .past-background {
    background-color: #eee !important;
}

.bt_bb_wrapper .bt_bb_timetable_inner_row.has-routes:hover {
    background-color: #ddd !important;
    cursor: pointer;
}

.bt_bb_timetable_title,
.bt_bb_timetable_inner_row,
td,
.start-hours th {
    padding: 8px;
}

.bt_bb_timetable_title {
    background-color: #80652a;
    color: white;
    font-weight: bold;
}

.bt_bb_timetable_inner_row,
td {
    border-bottom: 1px solid #ddd;
}

.bt_bb_timetable_inner_row .sm\:flex {
    display: flex;
    align-items: center;
}

.bt_bb_timetable_inner_row .sm\:flex a {
    font-size: 80%;
}

.btn-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 44px;
}

.btn {
    display: block;
    background-color: #80652a;
    color: white;
    padding: 8px;
    border-radius: 4px;
    /* font-weight: bold; */
    text-decoration: none;
    box-sizing: border-box;
    width: 100%;
}

.btn:hover {
    background-color: #b89660;
    text-decoration: none;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

footer {
    margin-top: 44px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 80%;
    background-color: #eee;
}

.map-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
}

.map-cell {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.map-cell img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background-color: #eee;
}

.map-grid .btn-group {
    margin-top: 0px;
}

.map-cell div,
.map-cell small,
.map-cell a {
    width: 100%;
    text-align: center;
}

.w-full {
    width: 100%;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.sponsor-cell {
    aspect-ratio: 1;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
}

.sponsor-cell img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.start-hours {
    width: 100%;
    border-top: 1px solid #eee;
    border-collapse: collapse;
}

.start-hours th {
    background-color: #eee;
    text-align: left;
}

.nobr {
    white-space: nowrap;
}

.mt-8 {
    margin-top: 22px;
}

.mt-16 {
    margin-top: 44px;
}

@media (max-width: 640px) {
    header {
        display: block;
        height: auto;
        padding: 16px;
    }

    header .title {
        font-size: 80%;
    }

    header .separator {
        display: none;
    }

    .home h1 {
        font-size: 150%;
    }

    h2 {
        font-size: 110%;
    }

    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .map-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .container {
        width: auto;
        margin: 0 10px;
    }

    .bt_bb_timetable_inner_row .sm\:flex {
        flex-wrap: wrap;
    }

    .bt_bb_timetable_inner_row .sm\:flex > div:last-child {
        flex-basis: 100%;
        padding-left: 155px;
    }

    .logo {
        width: 100%;
    }

    body {
        font-size: 18px;
    }

    .grid-2 {
        display: block;
    }

    footer {
        padding-bottom: 40px;
    }
}
