.ghcl-schedule {
    --ghcl-header-bg: #ffae1a;
    --ghcl-header-text: #000000;
    --ghcl-header-font-size: 21px;
    --ghcl-font-family: inherit;
    --ghcl-text: #070707;
    --ghcl-muted: #4d4d55;
    --ghcl-line: #eeeeee;
    --ghcl-soft-row: #e3e3e3;
    --ghcl-card-color: #ffffff;
    color: var(--ghcl-text);
    font-family: var(--ghcl-font-family);
    width: 100%;
}

.ghcl-schedule * {
    box-sizing: border-box;
}

.ghcl-desktop {
    background: #ffffff;
    overflow-x: auto;
    padding: 48px 10px 14px;
    width: 100%;
}

.ghcl-grid {
    display: grid;
    gap: 28px 22px;
    min-width: 1080px;
}

.ghcl-corner {
    min-height: 45px;
}

.ghcl-day-head {
    align-items: center;
    background: var(--ghcl-header-bg);
    border-radius: 8px;
    color: var(--ghcl-header-text);
    display: flex;
    font-size: var(--ghcl-header-font-size);
    font-weight: 800;
    justify-content: center;
    line-height: 1;
    min-height: 45px;
    padding: 10px 16px;
    text-align: center;
}

.ghcl-time-head {
    align-items: center;
    background: var(--ghcl-header-bg);
    border-radius: 8px;
    color: var(--ghcl-header-text);
    display: flex;
    font-size: calc(var(--ghcl-header-font-size) + 11px);
    font-weight: 800;
    justify-content: center;
    min-height: 182px;
    padding: 18px;
}

.ghcl-cell {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 182px;
}

.ghcl-card {
    align-items: flex-start;
    background: var(--ghcl-card-color);
    border: 1px solid var(--ghcl-line);
    border-radius: 8px;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
    min-height: 182px;
    padding: 16px 12px 14px;
}

.ghcl-card-time {
    color: #33333a;
    font-size: 19px;
    font-weight: 400;
    line-height: 1;
}

.ghcl-card h3 {
    color: #505057;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.5;
    margin: 0;
    overflow-wrap: anywhere;
    text-transform: uppercase;
}

.ghcl-class-name-link,
.ghcl-class-name-text {
    color: inherit;
    text-decoration: none;
    font-weight: 800 !important;
}

.ghcl-class-name-link:focus,
.ghcl-class-name-link:hover {
    color: var(--ghcl-header-text);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.ghcl-card span,
.ghcl-card small,
.ghcl-card em {
    color: #303037;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}

.ghcl-card .ghcl-card-time {
    text-transform: none;
}

.ghcl-card .ghcl-card-teacher {
    font-weight: 700;
    text-transform: none;
}

.ghcl-card .ghcl-card-level {
    align-self: flex-start;
    background: var(--ghcl-header-bg);
    border-radius: 5px;
    color: var(--ghcl-header-text);
    font-size: 13px;
    font-weight: 700;
    padding: 5px 8px;
    text-transform: none;
}

.ghcl-mobile {
    display: none;
}

@media (max-width: 767px) {
    .ghcl-desktop {
        display: none;
    }

    .ghcl-mobile {
        background: #ffffff;
        display: block;
        overflow: hidden;
        width: 100%;
    }

    .ghcl-mobile-head {
        align-items: center;
        display: flex;
        justify-content: flex-start;
        padding: 26px 10px 10px;
    }

    .ghcl-mobile-head div {
        display: flex;
        flex-direction: column;
        gap: 1px;
    }

    .ghcl-mobile-head span {
        color: #000000;
        font-size: 17px;
        font-weight: 400;
        line-height: 1;
    }

    .ghcl-mobile-head strong {
        color: var(--ghcl-header-bg);
        font-size: 23px;
        font-weight: 800;
        line-height: 1;
    }

    .ghcl-mobile-nav {
        align-items: center;
        display: grid;
        grid-template-columns: 42px 1fr 42px;
        margin: 5px auto 14px;
        max-width: 176px;
        min-height: 28px;
    }

    .ghcl-mobile-nav strong {
        color: #000000;
        font-size: 15px;
        font-weight: 700;
        line-height: 1;
        text-align: center;
    }

    .ghcl-mobile-arrow {
        align-items: center;
        appearance: none;
        background: transparent;
        border: 0;
        color: #000000;
        cursor: pointer;
        display: inline-flex;
        font-size: 26px;
        font-weight: 400;
        height: 28px;
        justify-content: center;
        line-height: 1;
        padding: 0;
        width: 42px;
    }

    .ghcl-mobile-arrow:focus {
        outline: 1px solid var(--ghcl-header-bg);
        outline-offset: 2px;
    }

    .ghcl-mobile-day {
        display: none;
        padding: 0 10px;
    }

    .ghcl-mobile-day.is-active {
        display: block;
    }

    .ghcl-mobile-row {
        align-items: flex-start;
        border-radius: 5px;
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 10px;
        min-height: 56px;
        padding: 12px 14px;
    }

    .ghcl-mobile-row:nth-child(odd) {
        background: var(--ghcl-soft-row);
    }

    .ghcl-mobile-time {
        color: #111111;
        font-size: 13px;
        font-weight: 400;
        line-height: 1;
        padding-top: 3px;
        text-align: center;
    }

    .ghcl-mobile-class {
        display: flex;
        flex-direction: column;
        gap: 8px;
        min-width: 0;
    }

    .ghcl-mobile-entry {
        display: grid;
        gap: 4px;
        min-width: 0;
    }

    .ghcl-mobile-card {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        min-width: 0;
        padding: 0 8px;
        text-align: center;
        width: 100%;
    }

    .ghcl-mobile-card strong {
        color: #000000;
        display: block;
        font-size: 10px;
        font-weight: 500;
        line-height: 1.35;
        overflow-wrap: anywhere;
        text-transform: uppercase;
    }

    .ghcl-mobile-card .ghcl-class-name-link:focus,
    .ghcl-mobile-card .ghcl-class-name-link:hover {
        color: var(--ghcl-header-bg);
    }

    .ghcl-mobile-meta {
        color: #111111;
        display: block;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.25;
        overflow: hidden;
        text-align: center;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
