/* CRM training page (Areas/CrmTraining/Pages/CrmTraining.aspx) - scoped under #crmTraining, classes prefixed ct- */
#crmTraining {
    --ct-red: #e10547;
    --ct-red-btn: #ed1844;
    --ct-blue: #0960ff;
    --ct-blue-dark: #063a99;
    --ct-border: #d5d5d5;
    --ct-soft: #f7f7f7;
    color: #000;
    background: #fff;
    padding-bottom: 20px;
}

    #crmTraining *,
    #crmTraining *::before,
    #crmTraining *::after {
        box-sizing: border-box;
    }

    #crmTraining h1, #crmTraining h2, #crmTraining h3, #crmTraining h4, #crmTraining p, #crmTraining ul {
        margin: 0;
        padding: 0;
    }

    #crmTraining a:hover {
        text-decoration: none;
    }

.ct-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

#crmTraining .ct-section {
    margin-bottom: 34px;
    padding-top: 0;
    padding-bottom: 0;
}

.ct-card {
    background: var(--ct-soft);
    border: 1px solid var(--ct-border);
    border-radius: 24px;
    padding: 34px;
}

.ct-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

/* ---------- buttons ---------- */
.ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}

    .ct-btn:hover {
        transform: translateY(-2px);
    }

.ct-btn--red,
.ct-btn--red:hover,
.ct-btn--red:focus {
    background: var(--ct-red);
    color: #fff;
}

    .ct-btn--red:hover {
        box-shadow: 0 6px 18px rgba(225, 5, 71, .3);
    }

.ct-btn--outline-red,
.ct-btn--outline-red:focus {
    background: #fff;
    border-color: var(--ct-red);
    color: var(--ct-red);
}

    .ct-btn--outline-red:hover {
        background: var(--ct-red);
        color: #fff;
    }

.ct-btn--blue,
.ct-btn--blue:hover,
.ct-btn--blue:focus {
    background: linear-gradient(90deg, var(--ct-blue) 0%, var(--ct-blue-dark) 100%);
    border-color: #fff;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .25);
}

.ct-btn--outline-gray,
.ct-btn--outline-gray:hover,
.ct-btn--outline-gray:focus {
    background: #fff;
    border-color: #999;
    color: #000;
}

    .ct-btn--outline-gray:hover {
        box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    }

.ct-btn--lg {
    min-height: 55px;
    min-width: 193px;
    font-size: 14px;
    font-weight: 600;
}

/* ---------- check list ---------- */
.ct-checklist {
    list-style: none;
    display: grid;
    gap: 14px 44px;
}

    .ct-checklist li {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        line-height: 1.6;
    }

        .ct-checklist li::before {
            content: "";
            flex: 0 0 16px;
            height: 16px;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a8e67' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 12.5 9.5 18 20 6'/%3E%3C/svg%3E") center / contain no-repeat;
        }

/* ---------- 1. hero ---------- */
.ct-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: 20px;
}

.ct-hero__text {
    flex: 1 1 auto;
    max-width: 684px;
    margin-right: 52px;
}

.ct-hero__title {
    color: var(--ct-blue);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 17px !important;
}

.ct-hero__lead {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 10px !important;
}

.ct-hero__desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    text-align: justify;
    padding-right: 27px !important;
}

.ct-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 27px;
    margin-top: 17px;
}

    .ct-hero__actions .ct-btn--red {
        min-width: 174px;
    }

    .ct-hero__actions .ct-btn--outline-red {
        min-width: 196px;
    }

.ct-hero__media {
    flex: 0 0 420px;
/*            margin: -30px 0 -40px 30px;
*/        }

    .ct-hero__media img {
        display: block;
        width: 100%;
        height: auto;
    }

/* ---------- 2. feature pills ---------- */
.ct-features {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    list-style: none;
}

    .ct-features li {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 58px;
        padding: 8px 10px;
        background: #fff;
        border: 1px solid #5a5a5a;
        border-radius: 14px;
        font-size: 13px;
        line-height: 1.5;
        text-align: right;
        transition: transform .3s ease-out, border-color .3s ease-out;
    }

        .ct-features li:hover {
            transform: translateY(-6px);
            border-color: var(--ct-blue);
        }

    .ct-features img {
        flex: 0 0 auto;
        width: 26px;
        height: 22px;
        object-fit: contain;
    }

/* ---------- 3. course paths ---------- */
.ct-courses {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ct-course {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ct-border);
    border-radius: 24px;
    overflow: hidden;
}

.ct-course__banner {
    display: block;
}

    .ct-course__banner img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 810 / 400;
    }

.ct-course__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px 16px;
}

.ct-course__title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 5px !important;
}

.ct-course__desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    min-height: 45px;
}

.ct-course__meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    list-style: none;
    margin: 24px 0 !important;
}

    .ct-course__meta li {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 65px;
        padding: 7px 16px;
        background: #f3f3f3;
        border-radius: 14px;
        font-size: 13px;
        font-weight: 300;
        line-height: 1.6;
    }

        .ct-course__meta li strong {
            font-weight: 700;
        }

.ct-course__teachers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    position: relative;
    margin-bottom: 24px;
}

    .ct-course__teachers::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 12px;
        right: 50%;
        width: 1px;
        background: #ddd;
    }

.ct-teacher__photo {
    display: block;
    width: 82px;
    height: 80px;
    margin-bottom: 7px;
    border-radius: 10px;
    object-fit: cover;
}

.ct-teacher__name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 2px !important;
}

.ct-teacher__desc {
    font-size: 12px;
    font-weight: 300;
    line-height: 1.6;
}

.ct-course__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: auto;
    padding: 0 4px;
}

    .ct-course__actions .ct-btn {
        min-height: 55px;
        border-radius: 17px;
        font-size: 14px;
    }

    .ct-course__actions .ct-btn--red,
    .ct-course__actions .ct-btn--red:hover {
        background: var(--ct-red-btn);
    }

    .ct-course__actions .ct-btn--outline-dark,
    .ct-course__actions .ct-btn--outline-dark:focus {
        background: #fff;
        border-color: #000;
        color: #000;
    }

        .ct-course__actions .ct-btn--outline-dark:hover {
            background: var(--ct-blue);
            border-color: var(--ct-blue);
            color: #fff;
        }

/* ---------- 4 & 6. centered section titles ---------- */
.ct-center-head {
    text-align: center;
    margin-bottom: 17px;
}

    .ct-center-head h2 {
        color: var(--ct-red);
        font-size: 24px;
        font-weight: 800;
        line-height: 1.5;
    }

    .ct-center-head p {
        max-width: 1000px;
        margin: 0 auto !important;
        font-size: 17px;
        line-height: 2;
    }

/* ---------- 4. stats ---------- */
.ct-stats-card {
    padding: 30px 34px;
}

.ct-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    list-style: none;
}

    .ct-stats li {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 148px;
        padding: 16px 12px;
        background: #fff;
        border: 1px solid var(--ct-border);
        border-radius: 16px;
        text-align: center;
    }

.ct-stats__num {
    color: var(--ct-blue);
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
}

.ct-stats__label {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

.ct-stats__sub {
    font-size: 11px;
    line-height: 1.8;
}

/* ---------- 5. organizational training ---------- */
#crmTraining .ct-org {
    padding: 52px 0 55px;
    background: #fff;
}

.ct-org__row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.ct-org__text {
    flex: 0 0 540px;
    max-width: 540px;
}

.ct-org__desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 2.2;
    text-align: justify;
    margin: 18px 0 !important;
}

.ct-org .ct-checklist {
    grid-template-columns: auto auto;
    justify-content: start;
    margin-bottom: 18px !important;
}

.ct-org__gallery {
    flex: 1;
    display: grid;
    grid-template-columns: 302fr 297fr;
    grid-template-rows: 1fr 1fr;
    gap: 18px 12px;
    height: 327px;
}

    .ct-org__gallery img {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 0;
        border-radius: 14px;
        object-fit: cover;
    }

        .ct-org__gallery img:first-child {
            grid-row: 1 / 3;
        }

.ct-org__divider {
    height: 1px;
    margin: 41px 0;
    border: 0;
    background: #b5b5b5;
}

.ct-org__clients-title {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 14px !important;
}

.ct-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 30px;
    list-style: none;
}

    .ct-logos img {
        display: block;
        width: 80px;
        height: 80px;
        object-fit: contain;
        transition: transform .2s ease;
    }

        .ct-logos img:hover {
            transform: scale(1.06);
        }

/* ---------- 6. audience ---------- */
.ct-audience-card {
    padding: 30px 34px 41px;
}

.ct-audience {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
    list-style: none;
}

    .ct-audience li {
        padding: 14px 14px 16px;
        background: rgba(255, 255, 255, .7);
        border: 1px solid rgba(213, 213, 213, .6);
        border-radius: 14px;
        text-align: center;
    }

    .ct-audience h3 {
        color: var(--ct-blue);
        font-size: 16px;
        font-weight: 700;
        line-height: 1.75;
        margin-bottom: 6px !important;
    }

    .ct-audience p {
        font-size: 13px;
        font-weight: 500;
        line-height: 1.9;
    }

/* ---------- 7. certificate ---------- */
#crmTraining .ct-cert {
    padding: 64px 0;
    background: #f8f8f8;
}

.ct-cert__row {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 0 40px;
}

.ct-cert__text {
    flex: 0 0 540px;
    max-width: 540px;
}

.ct-cert__desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 2.2;
    text-align: justify;
    margin: 10px 0 !important;
}

.ct-cert .ct-checklist {
    margin-bottom: 10px !important;
}

.ct-cert__media {
    flex: 1;
    height: 284px;
    border-radius: 14px;
    border: 1px solid rgba(213, 213, 213, .6);
    background: #d2d4d3 center / cover no-repeat;
}

/* ---------- 8. free videos ---------- */
.ct-free-card {
    padding: 34px 27px;
    background: #fff;
    border-radius: 16px;
}

.ct-free-videos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    list-style: none;
}

.ct-free-video {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--ct-border);
    border-radius: 16px;
    overflow: hidden;
    color: #000;
    transition: box-shadow .2s ease, transform .2s ease;
}

    .ct-free-video:hover {
        color: #000;
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    }

.ct-free-video__thumb {
    position: relative;
    display: block;
    aspect-ratio: 409 / 201;
    border-bottom: 1px solid #999;
}

    .ct-free-video__thumb img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.ct-free-video__play {
    position: absolute;
    right: 9px;
    bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #fff;
    border-radius: 10px;
    background: linear-gradient(180deg, var(--ct-blue-dark) 0%, var(--ct-blue) 100%);
    box-shadow: 0 0 15px rgba(0, 0, 0, .25);
}

    .ct-free-video__play::after {
        content: "";
        margin-left: 3px;
        border-style: solid;
        border-width: 8px 0 8px 13px;
        border-color: transparent transparent transparent #fff;
    }

.ct-free-video__time {
    position: absolute;
    left: 9px;
    bottom: 14px;
    padding: 1px 8px;
    border: 1px solid #999;
    border-radius: 40px;
    background: #fff;
    color: #6c6c6c;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.6;
}

.ct-free-video__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 16px 16px 18px;
    text-align: center;
}

.ct-free-video__title {
    display: block;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 5px;
}

.ct-free-video__sub {
    display: block;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
}

.ct-free-note {
    font-size: 16px;
    line-height: 2;
    text-align: justify;
    margin: 17px 0 !important;
}

.ct-free-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ---------- 9. alumni ---------- */
.ct-alumni {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    list-style: none;
}

    .ct-alumni li {
        display: flex;
        flex-direction: column;
        padding: 24px 25px 27px;
        background: #fff;
        border: 1px solid var(--ct-border);
        border-radius: 24px;
    }

.ct-alumni__head {
    display: flex;
    align-items: center;
    gap: 23px;
    margin-bottom: 17px;
}

.ct-alumni__photo {
    flex: 0 0 100px;
    width: 100px;
    height: 104px;
    border-radius: 24px;
    background: #515151;
    object-fit: cover;
}

.ct-alumni__name {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.5;
}

.ct-alumni__role {
    font-family: Lato, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.3;
    text-align: right;
    margin-top: 4px !important;
}

.ct-alumni__quote {
    flex: 1;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    text-align: justify;
    padding-bottom: 17px !important;
    border-bottom: 1px solid #8c8c8c;
    margin-bottom: 17px !important;
}

.ct-alumni__meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.6;
}

    .ct-alumni__meta strong {
        font-weight: 700;
    }

/* ---------- 10 & 11. blocks shared with Company/Home.aspx ---------- */
/* only the rules this page uses, copied from Company/asset/minimalhome.css */
#crmTraining {
    --brand: #E6004D;
    --ink: #141414;
}

.homeSpecific {
    display: block !important;
}

.videoRowContainer {
    width: 100% !important;
}

.sec-eyebrow {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    direction: rtl;
}

    .sec-eyebrow span {
        color: var(--brand);
        font-size: 15px;
        font-weight: 700;
        margin-right: 15px;
        order: 2;
    }

    .sec-eyebrow::after {
        content: '';
        width: 50px;
        height: 3px;
        background: var(--brand);
        border-radius: 2px;
        order: 1;
    }

.sec-heading {
    font-size: 22px;
    font-weight: bold;
    color: var(--ink);
    margin: 0 0 0px;
    text-align: right;
}

/* FAQ & Articles Section */
.info-section {
    width: 100vw;
    max-width: 1200px;
    margin: auto;
    border-radius: 30px;
    padding: 40px;
    border: solid 1px #d5d5d5;
    box-shadow: 0.1px 5px 21px rgb(0 0 0 / 8%);
}

.info-row {
    display: flex;
    gap: 25px;
}

.info-card {
    background: #fff;
    border-radius: 25px;
    padding: 35px;
    border: solid 1px #d5d5d5;
    flex: 1;
    box-shadow: 0.1px 5px 21px rgb(0 0 0 / 8%);
}

.info-card-title {
    font-size: 22px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: right;
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

    .faq-item:hover {
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    cursor: pointer;
    background: #fafafa;
    transition: background 0.3s;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

    .faq-question:hover {
        background: #f0f0f0;
    }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
    font-size: 13px;
    color: black;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    background: #fafafa;
    max-height: 200px;
    padding: 0 20px 18px;
}

.faq-item summary {
    list-style: none;
}

    .faq-item summary::-webkit-details-marker {
        display: none;
    }

    .faq-item summary::after {
        content: "⌵";
        float: left;
        font-size: 20px;
        line-height: 1;
        transition: transform .25s ease;
        color: #555;
    }

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.article-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px 18px;
    border: 1px solid #eee;
    border-radius: 14px;
    margin-bottom: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

    .article-item:hover {
        box-shadow: 0 4px 15px rgba(0,0,0,0.08);
        transform: translateX(-5px);
    }

.article-thumb {
    width: 110px;
    height: 80px;
    border-radius: 12px;
    flex-shrink: 0;
    overflow: hidden;
}

    .article-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.article-content {
    flex: 1;
}

.article-title {
    font-size: 15px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 6px;
    line-height: 1.5;
}

.article-desc {
    font-size: 12px;
    color: black;
    line-height: 1.6;
    margin: 0;
}

/* video playlist (Media/VideoPlayList.ascx) */
.video-section {
    max-width: 1200px;
    margin: auto;
    width: 100vw;
    padding: 40px;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.bmsdVideoPlayerSection .tbk__title {
    display: none;
}

.bmsdVideoPlayerSection {
    border-radius: 30px;
    padding: 40px;
    border: solid 1px #d5d5d5;
    box-shadow: 0.1px 5px 21px rgb(0 0 0 / 8%);
}

.videoPlayerPlaylistDiv {
    padding-right: 5px !important;
}

.videoPlayerPlayerDiv {
    padding-left: 5px !important;
}

.why-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border: 1px solid #2196F3;
    border-radius: 12px;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: all .3s;
    background: #2196F3;
    color: #fff;
}

    .why-download:hover {
        background: #3EAAFF;
        color: #fff;
        border-color: #2196F3;
    }

@media (max-width: 991px) {
    .info-section {
        border: none;
        padding: 0;
    }

    .info-row {
        flex-direction: column;
    }

    .info-card {
        padding: 25px;
    }
}

@media screen and (max-width: 780px) {
    .bmsdVideoPlayerSection {
        padding: 40px 10px;
    }

    .videoPlayerPlaylistDiv,
    .videoPlayerPlayerDiv {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }

    .info-section,
    .video-section {
        width: 95vw !important;
    }
}

@media (max-width: 576px) {
    .bmsdVideoPlayerSection {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .sec-heading {
        font-size: 20px;
    }

    .info-card-title {
        font-size: 18px;
    }

    .article-item {
        padding: 14px;
    }

    .article-thumb {
        width: 90px;
        height: 65px;
    }

    .article-title {
        font-size: 13px;
    }

    .faq-question {
        font-size: 13px;
        padding: 14px 16px;
    }
}

/* page-specific overrides of the shared blocks */
#crmTraining .info-section,
#crmTraining .video-section {
    margin-bottom: 34px;
}

#crmTraining .video-section {
    padding-top: 0;
    padding-bottom: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
    .ct-container {
        width: 95vw;
    }

    .ct-hero__text {
        margin-right: 0;
    }

    .ct-org__text,
    .ct-cert__text {
        flex-basis: 48%;
        max-width: 48%;
    }

    .ct-cert__row {
        padding: 0;
    }
}

@media (max-width: 991px) {
    .ct-hero {
        flex-direction: column-reverse;
        gap: 0;
        text-align: center;
    }

    .ct-hero__text {
        max-width: 100%;
    }

    .ct-hero__desc {
        padding-right: 0 !important;
    }

    .ct-hero__actions {
        justify-content: center;
    }

    .ct-hero__media {
        flex-basis: auto;
        width: 340px;
        max-width: 90%;
        margin: 0px auto -10px;

    }

    .ct-hero__title {
        font-size: 28px;
    }

    .ct-features {
        grid-template-columns: repeat(3, 1fr);
    }

    .ct-courses,
    .ct-alumni {
        grid-template-columns: 1fr;
    }

    .ct-stats,
    .ct-audience,
    .ct-free-videos {
        grid-template-columns: repeat(2, 1fr);
    }

    .ct-org__row,
    .ct-cert__row {
        flex-direction: column;
        gap: 30px;
    }

    .ct-org__text,
    .ct-cert__text {
        flex-basis: auto;
        max-width: 100%;
    }

    .ct-org__gallery,
    .ct-cert__media {
        width: 100%;
        flex: none;
    }

    .ct-center-head p {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .ct-card,
    .ct-stats-card,
    .ct-audience-card {
        padding: 24px 16px;
    }

    .ct-free-card {
        padding: 24px 14px;
    }

    .ct-section-head {
        flex-direction: column;
        align-items: stretch;
    }

        .ct-section-head .ct-btn {
            align-self: flex-start;
        }

    .ct-hero__title {
        font-size: 22px;
    }

    .ct-hero__lead {
        font-size: 15px;
    }

    .ct-hero__actions .ct-btn {
        flex: 1 1 100%;
    }

    .ct-features {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

        .ct-features li {
            font-size: 12px;
        }

    .ct-course__meta {
        gap: 8px;
    }

        .ct-course__meta li {
            padding: 7px 10px;
            font-size: 12px;
        }

    .ct-course__teachers {
        gap: 16px;
    }

    .ct-course__actions {
        grid-template-columns: 1fr;
    }

    .ct-center-head h2 {
        font-size: 19px;
    }

    .ct-center-head p {
        font-size: 14px;
    }

    .ct-stats,
    .ct-audience,
    .ct-free-videos {
        grid-template-columns: 1fr;
    }

    .ct-stats__num {
        font-size: 44px;
    }

    .ct-org .ct-checklist {
        grid-template-columns: 1fr;
    }

    .ct-org__gallery {
        height: 240px;
    }

    .ct-cert__media {
        height: 200px;
    }

    .ct-logos {
        gap: 10px 18px;
    }

        .ct-logos img {
            width: 64px;
            height: 64px;
        }

    .ct-free-note {
        font-size: 14px;
    }

    .ct-free-actions .ct-btn {
        flex: 1 1 100%;
    }

    .ct-alumni__name {
        font-size: 20px;
    }
}

.ct-cert .ct-btn--outline-red {
    min-width: 143px;
}
