.schedule-page {
    --schedule-purple: #6834a5;
    --schedule-blue: #4b73c6;
    --schedule-cyan: #25b5e0;
    --schedule-gradient: linear-gradient(90deg, var(--schedule-purple) 0%, var(--schedule-blue) 48%, var(--schedule-cyan) 100%);
    --schedule-table-blue: #2f7fd1;
    --schedule-table-blue-dark: #245fa9;
    --schedule-table-line: #d7e4f5;
    --schedule-area: #e8f1f9;
    --schedule-highlight: #e8f6df;
    margin: 0;
    background: #fff;
    color: #0f1f3f;
    font-family: Arial, sans-serif;
}

.schedule-page *,
.schedule-page *::before,
.schedule-page *::after {
    box-sizing: border-box;
}

.schedule-page .site-header .header__nav a[href="/schedule/"] {
    color: #29a7e1 !important;
}

.schedule-hero {
    position: relative;
    width: 100%;
    height: calc((350/1918) * 100vw);
    min-height: 280px;
    overflow: hidden;
    background: #dfeaf3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.schedule-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 39, 88, 0.5), rgba(41, 167, 225, 0.18));
}

.schedule-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.schedule-hero h1 {
    position: absolute;
    z-index: 1;
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 5.6vw, 86px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.schedule-main {
    width: 100%;
    padding: clamp(34px, 4vw, 56px) clamp(20px, 4vw, 76px) clamp(28px, 3.5vw, 52px);
}

.schedule-intro {
    max-width: 1180px;
    margin: 0 auto clamp(18px, 2.6vw, 34px);
    text-align: center;
}

.schedule-kicker {
    margin: 0 0 8px;
    color: #29a7e1;
    font-size: clamp(16px, 1.2vw, 22px);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.schedule-intro h2 {
    margin: 0;
    color: #29a7e1;
    font-size: clamp(24px, 2.2vw, 36px);
    font-weight: 700;
    line-height: 1.18;
    text-transform: uppercase;
}

.schedule-note {
    max-width: 820px;
    margin: 14px auto 0;
    color: #5b6575;
    font-size: clamp(14px, 1vw, 16px);
    line-height: 1.6;
}

.schedule-card {
    max-width: 1560px;
    height: auto;
    min-height: 0;
    margin: 0 auto;
}

.schedule-enquiry {
    display: grid;
    grid-template-columns: auto minmax(280px, 1fr) minmax(520px, 0.9fr);
    align-items: center;
    gap: clamp(24px, 3vw, 46px);
    max-width: 1560px;
    margin: clamp(28px, 3vw, 44px) auto 0;
    padding: clamp(26px, 3vw, 42px) clamp(28px, 3.4vw, 54px);
    border: 1px solid rgba(47, 127, 209, 0.14);
    border-radius: 8px;
    background:
        radial-gradient(circle at 7% 50%, rgba(41, 167, 225, 0.16), rgba(41, 167, 225, 0) 22%),
        linear-gradient(100deg, #eff8ff 0%, #f6fbff 50%, #f0ecff 100%);
    box-shadow: 0 18px 45px rgba(18, 48, 102, 0.08);
}

.schedule-enquiry__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(82px, 6vw, 116px);
    aspect-ratio: 1;
    border: 1px solid rgba(47, 127, 209, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 26px rgba(47, 127, 209, 0.12);
}

.schedule-enquiry svg {
    width: 54%;
    height: 54%;
    fill: none;
    stroke: currentColor;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.schedule-enquiry__icon svg {
    color: var(--schedule-table-blue);
}

.schedule-enquiry__icon img,
.schedule-enquiry__action-icon img {
    display: block;
    width: 60%;
    height: 100%;
    object-fit: contain;
}

.schedule-enquiry__copy h3 {
    margin: 0 0 clamp(10px, 1.1vw, 16px);
    color: #17345f;
    font-size: clamp(22px, 1.65vw, 32px);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.schedule-enquiry__copy p {
    max-width: 560px;
    margin: 0;
    color: #33506f;
    font-size: clamp(14px, 0.92vw, 17px);
    font-weight: 600;
    line-height: 1.65;
}

.schedule-enquiry__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 30px);
}

.schedule-enquiry__action {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(10px, 1vw, 18px);
    min-height: clamp(92px, 6.8vw, 124px);
    padding: clamp(18px, 2vw, 28px) clamp(20px, 2.2vw, 34px);
    border: 2px solid rgba(47, 127, 209, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #17345f;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(47, 127, 209, 0.08);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.schedule-enquiry__action:hover,
.schedule-enquiry__action:focus-visible {
    border-color: rgba(41, 167, 225, 0.72);
    box-shadow: 0 14px 32px rgba(47, 127, 209, 0.16);
    transform: translateY(-2px);
    outline: none;
}

.schedule-enquiry__action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(42px, 3.2vw, 56px);
    aspect-ratio: 1;
    color: var(--schedule-table-blue);
}

.schedule-enquiry__action span:nth-child(2) {
    color: #17345f;
    font-size: clamp(13px, 0.88vw, 16px);
    font-weight: 600;
    line-height: 1.28;
    text-transform: uppercase;
    white-space: nowrap;
}

.schedule-enquiry__arrow {
    color: var(--schedule-table-blue);
    font-size: clamp(18px, 1.45vw, 26px);
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 1280px) {
    .schedule-enquiry {
        grid-template-columns: auto 1fr;
    }

    .schedule-enquiry__actions {
        grid-column: 1 / -1;
    }
}

.schedule-table-wrap {
    width: 100%;
    height: auto;
    min-height: 0 !important;
    max-height: none;
    padding-bottom: 0 !important;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-gutter: auto;
    border: 1px solid rgba(47, 127, 209, 0.16);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(18, 48, 102, 0.08);
}

.schedule-table {
    width: 100%;
    min-width: 900px;
    height: auto !important;
    margin: 0 !important;
    padding-bottom: 0 !important;
    border-collapse: collapse;
    table-layout: fixed;
    color: #17345f;
    text-transform: uppercase;
}

.schedule-table tbody,
.schedule-table tr:last-child,
.schedule-table tr:last-child th,
.schedule-table tr:last-child td {
    margin-bottom: 0;
}

.schedule-table th,
.schedule-table td {
    border: 1px solid var(--schedule-table-line);
    padding: 13px 14px;
    text-align: center;
    vertical-align: middle;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.28;
    overflow-wrap: anywhere;
    position: relative;
}

.schedule-table thead th {
    position: sticky;
    top: 0;
    z-index: 5;
    background: var(--schedule-gradient);
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.02em;
    border-color: rgba(255, 255, 255, 0.5);
}

.schedule-table tbody td {
    background: #f7fbff;
}

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

.schedule-table tbody tr:hover td {
    background: #e8f4ff;
}

.schedule-table .schedule-area {
    width: 18%;
    background: var(--schedule-area);
    color: #24516f;
    font-size: 17px !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em;
    line-height: 1.25;
    border-color: #cad9e8;
}

.schedule-table .schedule-area > span,
.schedule-area__name,
.schedule-area__label {
    display: block !important;
    font-weight: 800 !important;
    color: inherit !important;
    line-height: 1.25 !important;
    max-width: 190px;
    margin-left: auto;
    margin-right: auto;
    white-space: normal;
    overflow-wrap: anywhere;
}

.schedule-table .schedule-area > span:first-child,
.schedule-area__name {
    font-size: 17px !important;
    text-transform: uppercase !important;
}

.schedule-table .schedule-area > span + span,
.schedule-table .schedule-area > br + span,
.schedule-area__label {
    margin-top: 7px !important;
    font-size: 15px !important;
    text-transform: none !important;
}

.schedule-table tr.schedule-highlight td {
    background: var(--schedule-highlight);
    color: #244d39;
}

.schedule-table tbody tr.schedule-highlight:hover td {
    background: #ddf0d0;
}

.schedule-empty {
    height: 96px;
    color: #6d7888;
    font-weight: 600;
    text-transform: none;
}

.schedule-hot {
    color: #f02a3a;
    font-weight: 800;
}

.schedule-subnote {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: none;
}

.schedule-table tr.schedule-highlight .schedule-hot {
    color: #e6001d;
}

.schedule-pic {
    position: relative;
    overflow: visible;
    z-index: 1;
}

.schedule-pic:hover,
.schedule-pic:focus-within {
    z-index: 100;
}

.schedule-contact-wrap {
    position: relative;
    display: inline-flex;
    justify-content: center;
    overflow: visible;
}

.schedule-contact-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 998;
    display: none;
    width: 100%;
    min-width: 160px;
    height: 18px;
}

.schedule-contact-wrap:hover::after,
.schedule-contact-wrap:focus-within::after {
    display: block;
}

.schedule-contact-button {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    min-height: 32px;
    padding: 7px 16px;
    border: 1px solid rgba(47, 127, 209, 0.34);
    border-radius: 4px;
    background: #fff;
    color: var(--schedule-table-blue-dark);
    cursor: pointer;
    font: 700 12px / 1 Arial, sans-serif;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(47, 127, 209, 0.1);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.schedule-contact-button:hover,
.schedule-contact-button:focus-visible {
    background: var(--schedule-table-blue);
    border-color: var(--schedule-table-blue);
    color: #fff;
    box-shadow: 0 10px 22px rgba(47, 127, 209, 0.2);
    outline: none;
    transform: translateY(-1px);
}

.schedule-contact-card {
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    z-index: 999;
    width: max-content;
    min-width: 240px;
    max-width: min(360px, 80vw);
    padding: 14px 16px;
    border: 1px solid rgba(63, 115, 197, 0.28);
    border-radius: 6px;
    background: #fff;
    color: #17345f;
    box-shadow: 0 16px 34px rgba(18, 48, 102, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity 0.18s ease 0.08s, transform 0.18s ease 0.08s, visibility 0s linear 0.26s;
    text-align: left;
    text-transform: none;
    user-select: text;
    white-space: normal;
}

.schedule-contact-card::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid rgba(63, 115, 197, 0.28);
    border-top: 1px solid rgba(63, 115, 197, 0.28);
    transform: translate(-50%, 6px) rotate(45deg);
}

.schedule-contact-card strong,
.schedule-contact-card span,
.schedule-contact-card em {
    display: block;
}

.schedule-contact-person + .schedule-contact-person {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e6edf7;
}

.schedule-contact-card em {
    margin-bottom: 6px;
    color: #6d7888;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.2;
}

.schedule-contact-card strong {
    margin-bottom: 8px;
    color: #0f4d91;
    font-size: 14px;
    line-height: 1.35;
}

.schedule-contact-card span {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}

.schedule-contact-wrap:hover .schedule-contact-card,
.schedule-contact-wrap:focus-within .schedule-contact-card,
.schedule-contact-card:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
    transition-delay: 0s;
}

.schedule-floating-contact-ready .schedule-table-wrap {
    overflow-y: hidden;
}

.schedule-floating-contact-ready .schedule-contact-wrap::after {
    display: none;
}

.schedule-floating-contact-ready .schedule-contact-card {
    display: none;
}

.schedule-contact-portal {
    position: fixed;
    z-index: 5000;
    width: max-content;
    min-width: 240px;
    max-width: min(360px, calc(100vw - 48px));
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1px solid rgba(63, 115, 197, 0.28);
    border-radius: 6px;
    background: #fff;
    color: #17345f;
    box-shadow: 0 16px 34px rgba(18, 48, 102, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
    text-align: left;
    text-transform: none;
    user-select: text;
    white-space: normal;
}

.schedule-contact-portal.is-visible,
.schedule-contact-portal.is-measuring {
    visibility: visible;
}

.schedule-contact-portal.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

.schedule-contact-portal.is-measuring {
    opacity: 0;
    pointer-events: none;
    transition: none;
}

.schedule-contact-portal::before {
    content: "";
    position: absolute;
    left: var(--schedule-contact-arrow-left, 50%);
    bottom: 100%;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid rgba(63, 115, 197, 0.28);
    border-top: 1px solid rgba(63, 115, 197, 0.28);
    transform: translate(-50%, 6px) rotate(45deg);
}

.schedule-contact-portal[data-placement="top"]::before {
    top: 100%;
    bottom: auto;
    transform: translate(-50%, -6px) rotate(225deg);
}

.schedule-contact-portal strong,
.schedule-contact-portal span,
.schedule-contact-portal em {
    display: block;
}

.schedule-contact-portal .schedule-contact-person + .schedule-contact-person {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e6edf7;
}

.schedule-contact-portal em {
    margin-bottom: 6px;
    color: #6d7888;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.2;
}

.schedule-contact-portal strong {
    margin-bottom: 8px;
    color: #0f4d91;
    font-size: 14px;
    line-height: 1.35;
}

.schedule-contact-portal span {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}

@media (min-width: 1440px) {
    .schedule-main {
        padding-left: clamp(34px, 3vw, 58px);
        padding-right: clamp(34px, 3vw, 58px);
    }

    .schedule-card {
        max-width: 1680px;
    }

    .schedule-enquiry {
        max-width: 1680px;
    }

    .schedule-intro {
        max-width: 1420px;
    }
}

@media (min-width: 1920px) {
    .schedule-main {
        padding-left: 48px;
        padding-right: 48px;
    }

    .schedule-card {
        max-width: 1840px;
    }

    .schedule-enquiry {
        max-width: 1840px;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 14px 16px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .schedule-main {
        padding: 30px 16px 48px;
    }

    .schedule-hero {
        height: 220px;
    }

    .schedule-table-wrap {
        max-height: none;
        overflow-x: auto;
        overflow-y: visible;
        box-shadow: none;
    }

    .schedule-note {
        text-align: left;
    }

    .schedule-enquiry {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 22px;
        padding: 24px 18px;
        text-align: center;
    }

    .schedule-enquiry__icon {
        margin: 0 auto;
        width: 82px;
    }

    .schedule-enquiry__copy p {
        max-width: none;
    }

    .schedule-enquiry__actions {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .schedule-enquiry__action {
        min-height: 82px;
        padding: 16px 18px;
        text-align: left;
    }

    .schedule-table .schedule-area > span:first-child,
    .schedule-area__name {
        font-size: 17px !important;
    }

    .schedule-table .schedule-area > span + span,
    .schedule-table .schedule-area > br + span,
    .schedule-area__label {
        margin-top: 7px !important;
        font-size: 15px !important;
    }
}
