/* =========================================================
   Bintan Ferry Schedule Page
   Layout reference: card-based ferry schedule page
   Brand color kept as Bintan blue.
========================================================= */

/* BREADCRUMB */
.custom-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    list-style: none;
    font-size: 16px;
}

.custom-breadcrumb .breadcrumb-item {
    display: flex;
    align-items: center;
}

.custom-breadcrumb .breadcrumb-item a {
    color: #7d8ea1;
    text-decoration: none;
    transition: color 0.2s;
}

.custom-breadcrumb .breadcrumb-item a:hover {
    color: #359DD7;
}

.custom-breadcrumb .breadcrumb-item.active {
    color: #359DD7;
    font-weight: 600;
}

.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: 12px;
    padding-left: 12px;
    color: #758599;
    content: "/";
    font-weight: 600;
}

/* BREADCRUMB */

.terminal-card {
    border: 1px solid #E9ECEF;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.terminal-header {
    background-color: #359DD7;
    color: white;
    text-align: center;
    padding: 12px;
    font-size: 1.5rem;
    font-weight: 500;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table th {
    text-align: center;
    padding: 15px 5px;
    font-size: 0.85rem;
    font-weight: 700;
    vertical-align: top;
    border-bottom: 1px solid var(--border-color);
    background: white;
}

.time-badge {
    display: inline-block;
    background-color: var(--ferry-red);
    color: white;
    font-size: 10px;
    padding: 2px 10px;
    border-radius: 10px;
    margin-top: 5px;
}

.schedule-page {
    background: #ffffff;
    color: #021320;
    font-family: 'Inter', sans-serif;
}

.schedule-section {
    padding: 70px 0 80px;
}

.schedule-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 55px;
}

.schedule-top-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 60px;
}

.schedule-heading-block {
    max-width: 720px;
}

.schedule-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #94a3b8;
    color: #64748b;
    border-radius: 999px;
    padding: 6px 22px;
    font-size: 13px;
    line-height: 1;
    margin-bottom: 22px;
}

.schedule-heading-block h1 {
    padding: 14px 0;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0;
    max-width: 600px;
}

h3.schedule-notes-title {
    font-size: 1.25rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 24px;
    max-width: 600px;
}

h3.schedule-notes-title.check-in {
    padding-top: 24px;
}

.schedule-heading-block p {
    color: #758599;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.schedule-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #359DD7;
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 12px 24px rgba(53, 157, 215, 0.18);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.schedule-download-btn:hover {
    transform: translateY(-1px);
    background: #238dcc;
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(53, 157, 215, 0.22);
}

.schedule-region-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 0 42px;
}

.schedule-region-heading::before,
.schedule-region-heading::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #edf1f5;
}

.schedule-region-heading span {
    color: #8a98a9;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 42px;
}

.schedule-card {
    background: #ffffff;
    border: 1px solid #e5ebf1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.schedule-card h2 {
    margin: 0;
    background: #359DD7;
    color: #ffffff;
    text-align: center;
    padding: 14px 20px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.schedule-table-scroll {
    overflow-x: auto;
}

.schedule-table {
    width: 100%;
    min-width: 440px;
    border-collapse: collapse;
    table-layout: fixed;
}

.schedule-table th {
    background: #ffffff;
    color: #102033;
    text-align: center;
    vertical-align: top;
    padding: 20px 16px 14px;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 800;
    border-bottom: 1px solid #e8eef5;
}

.schedule-table th span {
    display: inline-flex;
    margin-top: 7px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #359DD7;
    color: #ffffff;
    font-size: 9px;
    line-height: 1;
    font-weight: 700;
}

.schedule-table td {
    padding: 14px 22px;
    color: #34465c;
    font-size: 14px;
    line-height: 1.45;
    border-bottom: 1px solid #e8eef5;
    text-align: left;
}

.schedule-table td:nth-child(2) {
    text-align: right;
}

.schedule-table tbody tr:nth-child(odd) td {
    background: #f9fbfd;
}

.schedule-table tbody tr:last-child td {
    border-bottom: 0;
}

.schedule-table small {
    display: inline-block;
    color: #359DD7;
    font-size: 10px;
    font-weight: 700;
    margin-left: 4px;
}

.schedule-notes-card {
    background: #ffffff;
    border: 1px solid #e5ebf1;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    padding: 28px 28px 22px;
    margin-top: 8px;
}

.schedule-note-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    color: #334155;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 14px;
}

.schedule-note-item p {
    margin: 0;
}

.schedule-note-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #359DD7;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    margin-top: 1px;
}

.schedule-note-item a {
    color: #359DD7;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.schedule-notes-card hr {
    border: 0;
    border-top: 1px solid #e8eef5;
    margin: 22px 0 14px;
    opacity: 1;
}

.schedule-disclaimer {
    color: #8a98a9;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .schedule-section {
        padding: 50px 0 64px;
    }

    .schedule-top-row {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 46px;
    }

    .schedule-heading-block h1 {
        font-size: 38px;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .schedule-container {
        padding: 0 16px;
    }

    .schedule-heading-block h1 {
        font-size: 32px;
    }

    .schedule-heading-block p {
        font-size: 14px;
    }

    .schedule-download-btn {
        width: 100%;
        padding: 14px 18px;
    }

    .schedule-region-heading {
        gap: 12px;
        margin-bottom: 28px;
    }

    .schedule-region-heading span {
        font-size: 13px;
    }

    .schedule-card h2 {
        font-size: 18px;
    }

    .schedule-table th {
        padding: 16px 12px 12px;
    }

    .schedule-table td {
        padding: 13px 16px;
        font-size: 13px;
    }

    .schedule-notes-card {
        padding: 22px 18px 18px;
    }
}