.training-calendar-page {
    --tc-ink: #162e47;
    --tc-muted: #63758a;
    --tc-line: #e6ebf0;
    --tc-paper: #f5f7fa;
    --tc-primary: var(--color-primary, #ba213f);
    font-family: "Raleway", sans-serif;
    color: var(--tc-ink);
    background: #fff;
}

.training-calendar-page [hidden] {
    display: none !important;
}

.tc-breadcrumb {
    padding: 18px 0;
    background: #fff;
}

.tc-breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    color: #78889a;
    font-size: 13px;
    list-style: none;
}

.tc-breadcrumb a {
    color: #50647a;
    text-decoration: none;
    transition: color .2s ease;
}

.tc-breadcrumb a:hover {
    color: var(--tc-primary);
}

.tc-breadcrumb i {
    font-size: 9px;
    color: #a4afbb;
}

.tc-hero {
    position: relative;
    overflow: hidden;
    padding: 180px 0 82px;
    background:
        radial-gradient(ellipse at 82% 18%, rgb(186 33 63 / 25%), transparent 34%),
        linear-gradient(118deg, #10283f 0%, #193d61 60%, #23476a 100%);
    color: #fff;
}

.tc-hero--banner {
    display: flex;
    min-height: 440px;
    align-items: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.tc-hero::after {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgb(255 255 255 / 13%) .7px, transparent .7px);
    background-size: 17px 17px;
    content: "";
    opacity: .14;
    pointer-events: none;
}

.tc-hero__glow {
    position: absolute;
    z-index: 0;
    width: 380px;
    height: 380px;
    border: 1px solid rgb(255 255 255 / 9%);
    border-radius: 50%;
    pointer-events: none;
}

.tc-hero__glow::before,
.tc-hero__glow::after {
    position: absolute;
    border: 1px solid rgb(255 255 255 / 7%);
    border-radius: 50%;
    content: "";
    inset: 28px;
}

.tc-hero__glow::after {
    inset: 58px;
}

.tc-hero__glow--one {
    top: -225px;
    right: 9%;
}

.tc-hero__glow--two {
    right: -270px;
    bottom: -270px;
    width: 480px;
    height: 480px;
}

.tc-hero__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    align-items: center;
    gap: clamp(36px, 8vw, 112px);
}

.tc-eyebrow,
.tc-section-heading__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #e9c2ca;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
}

.tc-eyebrow > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #96c65b;
    box-shadow: 0 0 0 5px rgb(150 198 91 / 15%);
}

.tc-hero h1 {
    max-width: 700px;
    margin: 19px 0 16px;
    color: #fff;
    font-size: clamp(2.6rem, 5.3vw, 4.65rem);
    letter-spacing: -.055em;
    line-height: 1.03;
    text-wrap: balance;
}



.tc-hero__content > p {
    max-width: 530px;
    margin: 0;
    color: rgb(255 255 255 / 76%);
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.7;
}

.tc-hero__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    color: #fff;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

.tc-hero__link i {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 32%);
    border-radius: 50%;
    font-size: 11px;
    transition: transform .2s ease, background-color .2s ease;
}

.tc-hero__link:hover {
    color: #fff;
}

.tc-hero__link:hover i {
    transform: translateY(3px);
    background: rgb(255 255 255 / 12%);
}

.tc-hero__stats {
    display: flex;
    gap: 36px;
    margin-top: 40px;
}

.tc-hero__stats > div {
    display: grid;
    gap: 2px;
}

.tc-hero__stats strong {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
}

.tc-hero__stats span {
    color: rgb(255 255 255 / 65%);
    font-size: 12px;
}

.tc-next-card {
    position: relative;
    padding: 26px;
    border-radius: 5px;
    background: linear-gradient(145deg, rgb(255 255 255 / 14%), rgb(255 255 255 / 7%));
    box-shadow: 0 22px 65px rgb(5 20 34 / 20%);
    backdrop-filter: blur(14px);
}

.tc-next-card__top {
    display: flex;
    align-items: center;
    gap: 11px;
    color: rgb(255 255 255 / 74%);
    font-size: 12px;
    letter-spacing: .12em;
}

.tc-next-card__icon {
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    border-radius: 11px;
    background: rgb(255 255 255 / 14%);
    color: #fff;
    font-size: 15px;
}

.tc-next-card__date {
    margin: 25px 0 6px;
    color: #ba213f;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .04em;
}

.tc-next-card h2 {
    margin: 0;
    color: #fff;
    font-size: 22px;
    letter-spacing: -.025em;
    line-height: 1.3;
}

.tc-next-card__meta {
    min-height: 42px;
    margin: 11px 0 20px;
    color: rgb(255 255 255 / 69%);
    font-size: 12px;
    line-height: 1.6;
}

.tc-next-card__meta > span {
    padding: 0 4px;
}

.tc-next-card > a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
}

.tc-next-card > a i {
    color: #ba213f;
    transition: transform .2s ease;
}

.tc-next-card > a:hover i {
    transform: translateX(4px);
}

.tc-schedule {
    padding: 68px 0 94px;
    background:
        linear-gradient(180deg, #f8fafc 0, #fff 270px);
}

.tc-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 27px;
}

.tc-section-heading__eyebrow {
    color: var(--tc-primary);
    font-size: 10px;
}

.tc-section-heading h2 {
    margin: 9px 0 7px;
    color: var(--tc-ink);
    letter-spacing: -.045em;
    line-height: 1.2;
}

.tc-section-heading p {
    margin: 0;
    color: var(--tc-muted);
    font-size: 14px;
}

.tc-catalog-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    padding: 11px 15px;
    border: 1px solid #dfe5eb;
    border-radius: 9px;
    background: #fff;
    color: var(--tc-ink);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.tc-catalog-link:hover {
    transform: translateY(-1px);
    border-color: var(--tc-primary);
    color: var(--tc-primary);
}

.tc-catalog-link i {
    font-size: 11px;
}

.tc-filters {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) minmax(180px, 220px) minmax(200px, 240px);
    gap: 12px;
    padding: 15px;
    border: 1px solid var(--tc-line);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 7px 22px rgb(22 46 71 / 4%);
}

.tc-search,
.tc-select {
    display: flex;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    gap: 11px;
    padding: 0 14px;
    border: 1px solid #e8edf2;
    border-radius: 8px;
    background: #fbfcfd;
    color: #8492a1;
}

.tc-search:focus-within,
.tc-select:focus-within {
    border-color: #c97b8b;
    box-shadow: 0 0 0 3px rgb(186 33 63 / 8%);
}

.tc-search > i,
.tc-select > i {
    flex: 0 0 auto;
    font-size: 13px;
}

.tc-search input,
.tc-select select {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--tc-ink);
    font: inherit;
    font-size: 14px;
}

.tc-search input::placeholder {
    color: #8a97a5;
    opacity: 1;
}

.tc-select select {
    appearance: none;
    cursor: pointer;
}

.tc-select {
    position: relative;
}

.tc-select::after {
    position: absolute;
    right: 14px;
    width: 7px;
    height: 7px;
    transform: translateY(-2px) rotate(45deg);
    border-right: 1.5px solid #8794a2;
    border-bottom: 1.5px solid #8794a2;
    content: "";
    pointer-events: none;
}

.tc-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 21px 2px 12px;
}

.tc-results-bar p {
    margin: 0;
    color: var(--tc-muted);
    font-size: 13px;
}

.tc-results-bar p strong {
    color: var(--tc-ink);
    font-size: 15px;
}

.tc-results-bar > span {
    color: #8a97a5;
    font-size: 11px;
}

.tc-batch-list {
    display: grid;
    gap: 11px;
}

.tc-batch {
    display: grid;
    grid-template-columns: 67px minmax(190px, 1.75fr) minmax(165px, 1.05fr) minmax(155px, 1fr) 135px;
    align-items: center;
    gap: 21px;
    padding: 19px 21px;
    border: 1px solid var(--tc-line);
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 4px 14px rgb(22 46 71 / 3%);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tc-batch:hover {
    transform: translateY(-2px);
    border-color: #d7bdc2;
    box-shadow: 0 12px 30px rgb(22 46 71 / 8%);
}

.tc-batch__date {
    display: flex;
    width: 64px;
    min-height: 76px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #f0d7dc;
    border-radius: 10px;
    background: #fff8f9;
}

.tc-batch__date > span {
    color: var(--tc-primary);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.tc-batch__date > strong {
    color: var(--tc-ink);
    font-size: 24px;
    font-weight: 750;
    letter-spacing: -.05em;
    line-height: 1.05;
}

.tc-batch__date > small {
    margin-top: 2px;
    color: #8995a2;
    font-size: 10px;
}

.tc-batch__course {
    min-width: 0;
}

.tc-batch__category {
    display: inline-block;
    margin-bottom: 5px;
    color: var(--tc-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.tc-batch__course h3 {
    margin: 0;
    color: var(--tc-ink);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.42;
}

.tc-batch__course h3 a {
    color: inherit;
    text-decoration: none;
}

.tc-batch__course h3 a:hover {
    color: var(--tc-primary);
}

.tc-batch__course p {
    overflow: hidden;
    margin: 5px 0 0;
    color: #8491a0;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-batch__schedule,
.tc-batch__format {
    display: grid;
    justify-items: start;
    gap: 4px;
    min-width: 0;
}

.tc-batch__label {
    margin-bottom: 2px;
    color: #8794a2;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .1em;
}

.tc-batch__schedule > strong,
.tc-batch__format > strong {
    color: #2a4056;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.4;
}

.tc-batch__schedule > span,
.tc-batch__format > span {
    color: #718196;
    font-size: 11px;
    line-height: 1.4;
}

.tc-batch__schedule > small,
.tc-batch__format > small {
    color: #94a0ad;
    font-size: 10px;
}

.tc-batch__format .tc-batch__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
    color: #53812c;
    font-weight: 750;
}

.tc-batch__status > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #83b84f;
}

.tc-batch__action a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 13px;
    border: 1px solid var(--tc-primary);
    border-radius: 8px;
    background: var(--tc-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.tc-batch__action a:hover {
    transform: translateY(-1px);
    border-color: #961a32;
    background: #961a32;
    color: #fff;
}

.tc-batch__action i {
    font-size: 10px;
}

.tc-empty {
    display: grid;
    justify-items: center;
    padding: 48px 22px;
    border: 1px dashed #d9e0e7;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.tc-empty > span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    background: #fbedef;
    color: var(--tc-primary);
    font-size: 18px;
}

.tc-empty h3 {
    margin: 15px 0 5px;
    color: var(--tc-ink);
    font-size: 18px;
    font-weight: 750;
}

.tc-empty p {
    max-width: 500px;
    margin: 0;
    color: var(--tc-muted);
    font-size: 13px;
    line-height: 1.6;
}

.tc-empty > a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    color: var(--tc-primary);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .tc-hero {
        padding: 62px 0 68px;
    }

    .tc-hero__layout {
        grid-template-columns: minmax(0, 1fr) minmax(245px, 300px);
        gap: 30px;
    }

    .tc-batch {
        grid-template-columns: 58px minmax(0, 1.6fr) minmax(145px, 1fr) minmax(140px, 1fr);
        gap: 16px;
    }

    .tc-batch__date {
        width: 56px;
    }

    .tc-batch__action {
        grid-column: 2 / -1;
    }
}

@media (max-width: 767.98px) {
    .tc-hero--banner {
        min-height: 0;
    }

    .tc-hero__layout {
        grid-template-columns: 1fr;
    }

    .tc-next-card {
        max-width: 480px;
    }

    .tc-schedule {
        padding: 52px 0 70px;
    }

    .tc-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
    }

    .tc-filters {
        grid-template-columns: 1fr 1fr;
        padding: 11px;
    }

    .tc-search {
        grid-column: 1 / -1;
    }

    .tc-batch {
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 13px 15px;
        padding: 15px;
    }

    .tc-batch__date {
        grid-row: span 2;
        width: 58px;
        align-self: start;
    }

    .tc-batch__course {
        align-self: center;
    }

    .tc-batch__schedule,
    .tc-batch__format {
        grid-column: 2;
        padding-top: 10px;
        border-top: 1px solid #eff2f5;
    }

    .tc-batch__action {
        grid-column: 2;
    }

    .tc-batch__action a {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .tc-breadcrumb {
        padding: 13px 0;
    }

    .tc-hero {
        padding: 49px 0 52px;
    }

    .tc-hero h1 {
        font-size: clamp(2.35rem, 11vw, 3.2rem);
    }

    .tc-hero__stats {
        gap: 26px;
        margin-top: 31px;
    }

    .tc-next-card {
        padding: 21px;
    }

    .tc-filters {
        grid-template-columns: 1fr;
    }

    .tc-search {
        grid-column: auto;
    }

    .tc-results-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}
