/*
 * RTT COURSES HUB LIBRARY
 * Page 363 only.
 * Responsive desktop + mobile.
 */

body.page-id-363 .gc-rtt-course-library-v1 {
    margin: 30px 0 8px;
    padding: 0;
}

body.page-id-363 .gc-rtt-course-library-v1__eyebrow {
    margin: 0 0 7px;

    color: #9d74ff;

    font-family:
        Inter,
        ui-sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

body.page-id-363 .gc-rtt-course-library-v1__title {
    margin: 0 0 22px;

    color: #f5f7fb;

    font-family:
        Inter,
        ui-sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: clamp(1.65rem, 2.5vw, 2.25rem);
    font-weight: 720;
    line-height: 1.1;
    letter-spacing: -.025em;
}

body.page-id-363 .gc-rtt-course-library-v1__title::after {
    content: "";

    display: block;

    width: 44px;
    height: 3px;

    margin-top: 13px;

    border-radius: 999px;

    background: #9865ff;
}

body.page-id-363 .gc-rtt-course-library-v1__grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px 16px;
}

body.page-id-363 .gc-rtt-course-library-v1__card {
    display: flex;

    align-items: center;
    justify-content: space-between;

    min-height: 78px;

    padding: 18px 20px;

    border:
        1px solid rgba(112, 136, 170, .27);

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            rgba(18, 32, 55, .94),
            rgba(20, 25, 48, .94)
        );

    color: #eef3fa !important;

    font-family:
        Inter,
        ui-sans-serif,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: 1.03rem;
    font-weight: 650;
    line-height: 1.3;

    text-decoration: none !important;

    box-sizing: border-box;

    transition:
        border-color .16s ease,
        transform .16s ease,
        background .16s ease;
}

body.page-id-363 .gc-rtt-course-library-v1__card:hover,
body.page-id-363 .gc-rtt-course-library-v1__card:focus-visible {
    border-color: rgba(157, 116, 255, .72);

    background:
        linear-gradient(
            135deg,
            rgba(25, 40, 67, .98),
            rgba(27, 29, 57, .98)
        );

    transform: translateY(-1px);
}

body.page-id-363 .gc-rtt-course-library-v1__text {
    min-width: 0;

    padding-right: 18px;
}

body.page-id-363 .gc-rtt-course-library-v1__arrow {
    flex: 0 0 auto;

    color: #a474ff;

    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1;
}


/*
 * MOBILE
 */
@media screen and (max-width: 700px) {

    body.page-id-363
    .gc-rtt-course-library-v1 {
        margin-top: 24px;
    }

    body.page-id-363
    .gc-rtt-course-library-v1__grid {
        grid-template-columns: 1fr;

        gap: 11px;
    }

    body.page-id-363
    .gc-rtt-course-library-v1__title {
        margin-bottom: 18px;

        font-size: 1.65rem;
    }

    body.page-id-363
    .gc-rtt-course-library-v1__card {
        min-height: 68px;

        padding: 15px 16px;

        border-radius: 11px;

        font-size: .98rem;
        line-height: 1.28;
    }

    body.page-id-363
    .gc-rtt-course-library-v1__arrow {
        font-size: 1.35rem;
    }
}
