/* =========================================================
   PARTICIPANT GUIDE PAGE
========================================================= */

.participant-guide-page {
    color: #333;
}

.participant-section {
    scroll-margin-top: 20px;
}


/* =========================================================
   BASIC CARD
========================================================= */

.participant-card {
    padding: 22px 24px;
    background-color: #f7f9fb;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
}

.participant-card-title {
    margin: 0 0 14px;
    color: #132440;
    font-size: 1.1rem;
    font-weight: 700;
}


/* =========================================================
   EVENT / PERIOD INFORMATION
========================================================= */

.participant-info-box {
    background-color: #f7f9fb;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
    overflow: hidden;
}

.participant-info-row {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    border-bottom: 1px solid #e3e8ee;
}

.participant-info-row:last-child {
    border-bottom: 0;
}

.participant-info-label {
    padding: 18px;
    background-color: #eef3f7;
    color: #132440;
    font-weight: 700;
}

.participant-info-content {
    padding: 18px 20px;
}

.participant-event-title {
    margin-top: 5px;
}


/* =========================================================
   DETAIL LIST
========================================================= */

.participant-detail-list {
    margin: 0;
}

.participant-detail-list > div {
    display: grid;
    grid-template-columns: 135px minmax(0, 1fr);
    gap: 14px 22px;
    padding: 16px 0;
    border-bottom: 1px solid #dfe6eb;
}

.participant-detail-list > div:first-child {
    padding-top: 0;
}

.participant-detail-list > div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.participant-detail-list dt {
    color: #132440;
    font-weight: 700;
}

.participant-detail-list dd {
    min-width: 0;
    margin: 0;
}


/* =========================================================
   CLOAKROOM TIME
========================================================= */

.participant-time-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.participant-time-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    padding: 14px 16px;

    background: #fff;
    border-left: 5px solid #16476A;
    border-radius: 5px;
}

.participant-date {
    color: #132440;
    font-weight: 700;
}


/* =========================================================
   LISTS
========================================================= */

.participant-list {
    margin: 0;
    padding-left: 1.4em;
    line-height: 1.9;
}

.participant-list li {
    margin-bottom: 16px;
}

.participant-list li:last-child {
    margin-bottom: 0;
}


/* =========================================================
   PARTICIPANT BADGE
========================================================= */

.participant-link-area {
    margin: 16px 0 5px;
}

.participant-link-area .primary-button {
    margin-top: 0;
}

.participant-notice {
    margin-top: 22px;
    padding: 15px 18px;

    background-color: #fff8e8;
    border-left: 5px solid #d08a00;
    border-radius: 5px;
}

.participant-notice p {
    margin: 0;
    font-weight: 700;
    line-height: 1.8;
}

.participant-note {
    margin-top: 18px;
    line-height: 1.9;
}


/* =========================================================
   VENUE
========================================================= */

.participant-venue-card {
    margin-bottom: 30px;
}

.participant-venue-name {
    margin-bottom: 8px;

    color: #132440;
    font-size: 1.15rem;
    font-weight: 700;
}

.participant-parking-note {
    margin-top: 16px;
    font-weight: 600;
}

.participant-parking-link {
    display: inline-block;
    margin-top: 8px;

    color: #16476A;
    font-weight: 600;
}


/* =========================================================
   SHUTTLE BUS SECTION
========================================================= */

.participant-bus-section {
    margin-top: 34px;
}

.participant-sub-heading {
    margin: 0 0 24px;
    padding: 13px 16px;

    background-color: #132440;
    color: #fff;

    border-radius: 6px;

    font-size: 1.18rem;
    line-height: 1.6;
}

.participant-sub-heading span {
    font-size: 0.95em;
}

.participant-bus-title {
    margin-bottom: 16px;

    color: #132440;
    font-weight: 700;
}


/* =========================================================
   BUS DIRECTIONS
========================================================= */

.participant-bus-directions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;

    align-items: start;
}

.participant-bus-direction {
    min-width: 0;
}

.participant-bus-direction h4 {
    margin: 0 0 14px;
    padding-bottom: 9px;

    color: #132440;

    font-size: 1rem;
    line-height: 1.5;

    border-bottom: 2px solid #16476A;
}

.participant-bus-direction h4 span {
    margin: 0 4px;

    color: #16476A;
}


/* =========================================================
   TIMETABLE GRID
========================================================= */

.participant-timetable-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.participant-timetable {
    min-width: 0;
}

.participant-timetable-heading {
    min-height: 88px;

    padding: 10px;

    background-color: #f7f9fb;

    color: #333;

    border: 1px solid #d8e0e6;
    border-bottom: 0;

    font-size: 0.87rem;
    line-height: 1.55;
}

.participant-timetable-heading small {
    display: block;

    margin-top: 3px;

    color: #555;
    font-size: 0.82rem;
}


/* =========================================================
   BUS TABLE
========================================================= */

.participant-timetable table {
    width: 100%;
    border-collapse: collapse;

    background-color: #fff;

    font-size: 0.9rem;
}

.participant-timetable th,
.participant-timetable td {
    padding: 5px 8px;

    border: 1px solid #cfd8df;

    text-align: center;
}

.participant-timetable thead th {
    background-color: #dcefd7;

    color: #132440;
    font-weight: 700;
}

.participant-timetable tbody th {
    width: 35%;

    background-color: #eef8eb;

    color: #132440;
    font-weight: 500;
}

.participant-timetable tbody td {
    text-align: right;
}

.participant-timetable-note {
    margin-top: 6px;

    font-size: 0.78rem;
    line-height: 1.5;
}


/* =========================================================
   BUS NOTICE
========================================================= */

.participant-bus-notice {
    margin-top: 25px;
    padding: 15px 18px;

    background-color: #f2f6f9;

    border-left: 5px solid #16476A;
    border-radius: 5px;

    color: #132440;
    font-weight: 700;
    line-height: 1.8;
}


/* =========================================================
   BUS STOP MAPS
========================================================= */

.participant-station-maps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;

    margin-top: 30px;
}

.participant-station-map {
    margin: 0;
}

.participant-station-map figcaption {
    margin-bottom: 12px;

    color: #132440;
    font-size: 1.05rem;
    font-weight: 700;
}

.participant-station-map img {
    display: block;

    width: 100%;
    max-width: 430px;
    height: auto;

    margin: 0 auto;

    border: 1px solid #d9e0e6;
    border-radius: 6px;

    background-color: #fff;
}


/* =========================================================
   LUNCH
========================================================= */

.participant-lunch-times {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;

    margin-top: 24px;
}

.participant-lunch-times > div {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 18px;

    padding: 15px 18px;

    background-color: #f7f9fb;

    border-left: 5px solid #16476A;
    border-radius: 5px;
}

.participant-lunch-times span {
    color: #132440;
    font-weight: 700;
}

.participant-lunch-times strong {
    white-space: nowrap;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .participant-bus-directions {
        grid-template-columns: 1fr;
        gap: 30px;
    }

}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 768px) {

    .participant-card {
        padding: 20px 16px;
    }


    /* Event info */
    .participant-info-row {
        grid-template-columns: 1fr;
    }

    .participant-info-label {
        padding: 12px 15px;
    }

    .participant-info-content {
        padding: 15px;
    }


    /* Details */
    .participant-detail-list > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }


    /* Cloakroom */
    .participant-time-grid {
        grid-template-columns: 1fr;
    }


    /* Timetables */
    .participant-timetable-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    /* Maps */
    .participant-station-maps {
        grid-template-columns: 1fr;
    }

    .participant-station-map img {
        max-width: 520px;
    }


    /* Lunch */
    .participant-lunch-times {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .participant-card {
        padding: 18px 14px;
    }

    .participant-list {
        padding-left: 1.2em;
    }


    /* Shuttle heading */
    .participant-sub-heading {
        padding: 12px 13px;

        font-size: 1.05rem;
    }

    .participant-sub-heading span {
        display: block;

        margin-top: 3px;

        font-size: 0.88rem;
    }


    /* Each bus table becomes full-width */
    .participant-timetable-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .participant-timetable-heading {
        min-height: 0;
    }


    /* Time cards */
    .participant-time-item,
    .participant-lunch-times > div {
        flex-direction: column;
        align-items: flex-start;

        gap: 4px;
    }


    /* Confit button */
    .participant-link-area .primary-button {
        width: 100%;
    }

}

.participant-parking-link {
    margin-top: 1rem;
}

.participant-parking-link .text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
}