.public-timetable-v2 {
    background: #fbfdfd;
    color: #182749;
}

.public-timetable-v2 .public-legacy-main {
    background: #fbfdfd;
}

.ttv2-page,
.ttv2-page * {
    box-sizing: border-box;
}

.ttv2-page {
    font-family: "Manrope", Arial, sans-serif;
}

.ttv2-container {
    width: min(var(--public-shell-content-width, 1240px), calc(100% - var(--public-shell-content-gutter, 2rem)));
    margin-right: auto;
    margin-left: auto;
}

.ttv2-intro-band {
    padding: 52px 0 20px;
    background: #eaf6f5;
    border-bottom: 1px solid #c9e5e4;
}

.ttv2-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: end;
    padding-bottom: 38px;
}

.ttv2-intro__copy {
    max-width: 760px;
}

.ttv2-eyebrow {
    margin: 0 0 10px;
    color: #60AAA9;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.4;
    text-transform: uppercase;
}

.ttv2-intro h1,
.ttv2-schedule__heading h2,
.ttv2-day__heading h3 {
    letter-spacing: 0;
}

.ttv2-intro h1 {
    max-width: 720px;
    margin: 0;
    color: #182749;
    font-size: 44px;
    font-weight: 750;
    line-height: 1.14;
}

.ttv2-intro__copy > p:last-child {
    max-width: 670px;
    margin: 18px 0 0;
    color: #4e5b76;
    font-size: 18px;
    line-height: 1.65;
}

.ttv2-intro__copy > p.ttv2-intro__subheading {
    margin-top: 12px;
    color: #d23363;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
}

.ttv2-cost-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
    background: #d23363;
    border: 2px solid #d23363;
    border-radius: 4px;
}

.ttv2-cost-link:hover,
.ttv2-cost-link:focus-visible {
    color: #ffffff;
    background: #a9274d;
    border-color: #a9274d;
}

.ttv2-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    background: transparent;
    border: 0;
}

.ttv2-highlight {
    min-width: 0;
    padding: 19px 24px 20px;
    background: #ffffff;
    border: 1px solid #c9e5e4;
    border-radius: 6px;
}

.ttv2-highlight__stat {
    display: flex;
    gap: 12px;
    align-items: center;
    min-height: 28px;
}

.ttv2-highlight__icon {
    position: relative;
    display: block;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    color: #60AAA9;
}

.ttv2-highlight strong,
.ttv2-highlight > span {
    display: block;
}

.ttv2-highlight strong {
    color: #182749;
    font-size: 17px;
    line-height: 1.35;
}

.ttv2-highlight__icon--calendar {
    border: 2px solid currentColor;
    border-radius: 4px;
}

.ttv2-highlight__icon--calendar::before {
    position: absolute;
    top: 7px;
    right: 1px;
    left: 1px;
    content: "";
    border-top: 2px solid currentColor;
}

.ttv2-highlight__icon--calendar::after {
    position: absolute;
    top: -5px;
    left: 6px;
    width: 2px;
    height: 8px;
    content: "";
    background: currentColor;
    border-radius: 2px;
    box-shadow: 10px 0 0 currentColor;
}

.ttv2-highlight__icon--person-camera {
    flex-basis: 50px;
    width: 50px;
    height: 32px;
}

.ttv2-highlight__person,
.ttv2-highlight__camera,
.ttv2-highlight__camera-reel,
.ttv2-highlight__camera-lens {
    position: absolute;
    display: block;
    color: currentColor;
}

.ttv2-highlight__person {
    bottom: 0;
    left: 0;
    width: 16px;
    height: 31px;
}

.ttv2-highlight__person::before {
    position: absolute;
    top: 0;
    left: 3px;
    width: 10px;
    height: 10px;
    content: "";
    border: 2px solid currentColor;
    border-radius: 50%;
}

.ttv2-highlight__person::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 16px;
    height: 17px;
    content: "";
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 9px 9px 0 0;
}

.ttv2-highlight__camera {
    top: 13px;
    left: 20px;
    width: 20px;
    height: 17px;
    border: 2px solid currentColor;
    border-radius: 3px;
}

.ttv2-highlight__camera-reel {
    top: -12px;
    width: 10px;
    height: 10px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.ttv2-highlight__camera-reel--left {
    left: 1px;
}

.ttv2-highlight__camera-reel--right {
    left: 11px;
}

.ttv2-highlight__camera-lens {
    top: 2px;
    right: -11px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid currentColor;
}

.ttv2-highlight__camera-lens::before {
    position: absolute;
    top: -4px;
    left: -8px;
    width: 0;
    height: 0;
    content: "";
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 7px solid #ffffff;
}

.ttv2-highlight__icon--clock {
    border: 2px solid currentColor;
    border-radius: 50%;
}

.ttv2-highlight__icon--clock::before {
    position: absolute;
    top: 5px;
    left: 12px;
    width: 2px;
    height: 8px;
    content: "";
    background: currentColor;
    border-radius: 2px;
}

.ttv2-highlight__icon--clock::after {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 7px;
    height: 2px;
    content: "";
    background: currentColor;
    border-radius: 2px;
    transform-origin: left center;
    transform: rotate(26deg);
}

.ttv2-highlight > span {
    margin-top: 4px;
    color: #645d61;
    font-size: 14px;
    line-height: 1.45;
}

.ttv2-schedule {
    padding-top: 48px;
    padding-bottom: 76px;
}

.ttv2-schedule__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    gap: 36px;
    align-items: end;
    margin-bottom: 26px;
}

.ttv2-schedule__heading h2 {
    margin: 0;
    color: #182749;
    font-size: 30px;
    font-weight: 750;
    line-height: 1.25;
}

.ttv2-schedule__heading > p {
    margin: 0;
    color: #645d61;
    font-size: 15px;
    line-height: 1.6;
}

.ttv2-days {
    display: grid;
    gap: 24px;
}

.ttv2-day {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5dddf;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(71, 55, 63, 0.06);
}

.ttv2-day__heading {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
    padding: 13px 22px;
    color: #ffffff;
    background: #60AAA9;
    border-radius: 5px 5px 0 0;
}

.ttv2-day__heading h3 {
    margin: 0;
    color: inherit;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
}

.ttv2-day__heading span {
    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
}

.ttv2-class-list {
    padding: 0 22px;
}

.ttv2-class-row {
    display: grid;
    grid-template-columns: minmax(170px, 0.85fr) minmax(230px, 1.15fr) minmax(140px, 0.7fr) 44px 132px;
    gap: 22px;
    align-items: center;
    min-height: 102px;
    padding: 17px 0;
    border-bottom: 1px solid #eee8ea;
}

.public-timetable-v2--beginner .ttv2-class-row {
    grid-template-columns: minmax(170px, 0.85fr) minmax(230px, 1.15fr) minmax(140px, 0.7fr) 44px 132px 132px;
}

.public-timetable-v2--full .ttv2-class-row {
    grid-template-columns: minmax(170px, 0.85fr) minmax(230px, 1.15fr) minmax(140px, 0.7fr) 44px 132px 132px;
}

@media (min-width: 801px) {
    .public-timetable-v2--full .ttv2-book {
        grid-column: 6;
    }
}

.ttv2-class-row:last-child {
    border-bottom: 0;
}

.ttv2-time,
.ttv2-location {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
}

.ttv2-field-label {
    margin-bottom: 5px;
    color: #60AAA9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.3;
    text-transform: uppercase;
}

.ttv2-time strong,
.ttv2-location strong,
.ttv2-location a {
    color: #182749;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.45;
}

.ttv2-location a {
    color: #d23363;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.ttv2-location a:hover,
.ttv2-location a:focus-visible {
    color: #a9274d;
}

.ttv2-time > span:last-child,
.ttv2-location > span:last-child {
    margin-top: 3px;
    color: #645d61;
    font-size: 13px;
    line-height: 1.45;
}

.ttv2-level {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    min-height: 36px;
    padding: 7px 14px;
    color: #185f62;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    background: #e8f5f4;
    border: 1px solid #8bc8c6;
    border-radius: 6px;
}

.ttv2-level--advanced {
    color: #9f2349;
    background: #fff0f4;
    border-color: #e8a6ba;
}

.ttv2-info {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ttv2-info-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    color: #182749;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    background: #e8f5f4;
    border: 2px solid #60AAA9;
    border-radius: 50%;
    cursor: pointer;
}

.ttv2-info-button:hover,
.ttv2-info-button[aria-expanded="true"] {
    color: #ffffff;
    background: #60AAA9;
    border-color: #60AAA9;
}

.ttv2-info-button:focus-visible,
.ttv2-book:focus-visible,
.ttv2-trial:focus-visible,
.ttv2-cost-link:focus-visible,
.ttv2-location a:focus-visible {
    outline: 3px solid #182749;
    outline-offset: 3px;
}

.ttv2-popover {
    position: absolute;
    right: 50%;
    bottom: calc(100% + 13px);
    z-index: 20;
    width: 270px;
    padding: 15px 17px 16px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    background: #182749;
    border-top: 4px solid #d23363;
    border-radius: 6px;
    box-shadow: 0 14px 32px rgba(24, 39, 73, 0.24);
    transform: translateX(50%);
}

.ttv2-popover[hidden] {
    display: none;
}

.ttv2-popover::after {
    position: absolute;
    right: calc(50% - 8px);
    bottom: -8px;
    width: 0;
    height: 0;
    content: "";
    border-top: 8px solid #182749;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
}

.ttv2-popover strong,
.ttv2-popover span {
    display: block;
}

.ttv2-popover strong {
    margin-bottom: 4px;
    color: #ffffff;
    font-size: 14px;
}

.ttv2-popover span {
    color: #e5edf8;
}

.ttv2-book {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 13px;
    color: #d23363;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
    background: #ffffff;
    border: 2px solid #d23363;
    border-radius: 4px;
}

.ttv2-book:hover,
.ttv2-book:focus-visible {
    color: #ffffff;
    background: #d23363;
}

.public-timetable-v2--trial-only .ttv2-book {
    display: none;
}

.public-timetable-v2--trial-only .ttv2-class-row--no-trial {
    display: none;
}

.public-timetable-v2--trial-only .ttv2-day--no-trial {
    display: none;
}

.public-timetable-v2--term-only .ttv2-trial {
    display: none;
}

.public-timetable-v2--trial-only .ttv2-class-row {
    grid-template-columns: minmax(170px, 0.85fr) minmax(230px, 1.15fr) minmax(140px, 0.7fr) 44px 132px;
}

.ttv2-trial {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 13px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    text-decoration: none;
    background: #60AAA9;
    border: 2px solid #60AAA9;
    border-radius: 4px;
}

.ttv2-trial:hover,
.ttv2-trial:focus-visible {
    color: #ffffff;
    background: #185f62;
    border-color: #185f62;
}

@media (max-width: 900px) {
    .ttv2-intro {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        align-items: start;
    }

    .ttv2-cost-link {
        justify-self: start;
    }

    .ttv2-class-row {
        grid-template-columns: minmax(145px, 0.8fr) minmax(190px, 1.1fr) minmax(125px, 0.7fr) 44px 124px;
        gap: 16px;
    }

    .public-timetable-v2--beginner .ttv2-class-row {
        grid-template-columns: minmax(120px, 0.8fr) minmax(170px, 1.1fr) minmax(110px, 0.7fr) 44px 112px 112px;
        gap: 12px;
    }

    .public-timetable-v2--full .ttv2-class-row {
        grid-template-columns: minmax(120px, 0.8fr) minmax(170px, 1.1fr) minmax(110px, 0.7fr) 44px 112px 112px;
    }

    .public-timetable-v2--trial-only .ttv2-class-row {
        grid-template-columns: minmax(120px, 0.8fr) minmax(170px, 1.1fr) minmax(110px, 0.7fr) 44px 112px;
    }
}

@media (max-width: 800px) {
    .ttv2-intro-band {
        padding-top: 34px;
    }

    .ttv2-intro {
        padding-bottom: 30px;
    }

    .ttv2-intro h1 {
        font-size: 34px;
        line-height: 1.18;
    }

    .ttv2-intro__copy > p:last-child {
        margin-top: 14px;
        font-size: 16px;
        line-height: 1.55;
    }

    .ttv2-highlights {
        grid-template-columns: minmax(0, 1fr);
    }

    .ttv2-highlight {
        padding: 15px 18px;
    }

    .ttv2-schedule {
        padding-top: 36px;
        padding-bottom: 52px;
    }

    .ttv2-schedule__heading {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-bottom: 20px;
    }

    .ttv2-schedule__heading h2 {
        font-size: 25px;
    }

    .ttv2-days {
        gap: 20px;
    }

    .ttv2-day__heading {
        min-height: 56px;
        padding: 11px 16px;
    }

    .ttv2-day__heading h3 {
        font-size: 20px;
    }

    .ttv2-class-list {
        padding: 0 16px;
    }

    .ttv2-class-row {
        grid-template-areas:
            "time info"
            "location level"
            "book book";
        grid-template-columns: minmax(0, 1fr) minmax(125px, 38%);
        gap: 15px 12px;
        align-items: start;
        min-height: 0;
        padding: 18px 0 20px;
    }

    .public-timetable-v2--beginner .ttv2-class-row {
        grid-template-areas:
            "time info"
            "location level"
            "trial book";
        grid-template-columns: minmax(0, 1fr) minmax(125px, 38%);
    }

    .public-timetable-v2--full .ttv2-class-row {
        grid-template-areas:
            "time info"
            "location level"
            "trial book";
        grid-template-columns: minmax(0, 1fr) minmax(125px, 38%);
    }

    .public-timetable-v2--trial-only .ttv2-class-row {
        grid-template-areas:
            "time info"
            "location level"
            "trial trial";
    }

    .ttv2-time {
        grid-area: time;
    }

    .ttv2-location {
        grid-area: location;
    }

    .ttv2-info {
        grid-area: info;
        justify-content: flex-end;
    }

    .ttv2-level {
        grid-area: level;
        width: 100%;
        min-width: 0;
        align-self: center;
    }

    .ttv2-book {
        grid-area: book;
        width: 100%;
    }

    .public-timetable-v2--beginner .ttv2-trial {
        grid-area: trial;
        width: 100%;
    }

    .public-timetable-v2--full .ttv2-trial {
        grid-area: trial;
        width: 100%;
    }

    .ttv2-popover {
        right: 0;
        width: min(270px, calc(100vw - 48px));
        transform: none;
    }

    .ttv2-popover::after {
        right: 10px;
    }
}
