/* ========================================
   CA Course Hero Slot
======================================== */

.ca-course-hero-slot {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    isolation: isolate;
    box-shadow: 0 28px 80px rgba(2, 6, 23, 0.26);
}

.ca-course-hero-slot::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 72% 24%, rgba(240, 4, 116, 0.34), transparent 34%),
        radial-gradient(circle at 8% 88%, rgba(255, 255, 255, 0.10), transparent 28%);
    opacity: 0.9;
}

.ca-course-hero-slot__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.ca-course-hero-slot__container {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
}

.ca-course-hero-slot--container-boxed .ca-course-hero-slot__container {
    max-width: 1180px;
}

.ca-course-hero-slot--container-full-width .ca-course-hero-slot__container {
    max-width: none;
}

.ca-course-hero-slot__inner {
    display: flex;
    justify-content: space-between;
    min-height: 460px;
}

.ca-course-hero-slot--valign-top .ca-course-hero-slot__inner {
    align-items: flex-start;
}

.ca-course-hero-slot--valign-center .ca-course-hero-slot__inner {
    align-items: center;
}

.ca-course-hero-slot--valign-bottom .ca-course-hero-slot__inner {
    align-items: flex-end;
}

.ca-course-hero-slot--split-60-40 .ca-course-hero-slot__content {
    flex: 0 0 calc(60% - 20px);
}

.ca-course-hero-slot--split-60-40 .ca-course-hero-slot__slot-wrap {
    flex: 0 0 calc(40% - 20px);
}

.ca-course-hero-slot--split-50-50 .ca-course-hero-slot__content,
.ca-course-hero-slot--split-50-50 .ca-course-hero-slot__slot-wrap {
    flex: 0 0 calc(50% - 20px);
}

.ca-course-hero-slot--split-40-60 .ca-course-hero-slot__content {
    flex: 0 0 calc(40% - 20px);
}

.ca-course-hero-slot--split-40-60 .ca-course-hero-slot__slot-wrap {
    flex: 0 0 calc(60% - 20px);
}

.ca-course-hero-slot--no-card .ca-course-hero-slot__content {
    flex: 0 1 820px;
}

.ca-course-hero-slot__content {
    max-width: 760px;
}

.ca-course-hero-slot--content-center .ca-course-hero-slot__content {
    margin-right: auto;
    margin-left: auto;
}

.ca-course-hero-slot--content-right .ca-course-hero-slot__content {
    margin-left: auto;
}

.ca-course-hero-slot__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    margin-bottom: 24px;
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.ca-course-hero-slot__badge-icon {
    display: inline-flex;
    line-height: 1;
}

.ca-course-hero-slot__title {
    margin: 0 0 20px;
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.ca-course-hero-slot__description {
    max-width: 680px;
    line-height: 1.72;
}

.ca-course-hero-slot__description p {
    margin-top: 0;
    margin-bottom: 0;
}

.ca-course-hero-slot--content-center .ca-course-hero-slot__description,
.ca-course-hero-slot--content-center .ca-course-hero-slot__tags {
    margin-right: auto;
    margin-left: auto;
}

.ca-course-hero-slot--content-right .ca-course-hero-slot__description,
.ca-course-hero-slot--content-right .ca-course-hero-slot__tags {
    margin-left: auto;
}

.ca-course-hero-slot__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
}

.ca-course-hero-slot--content-center .ca-course-hero-slot__actions,
.ca-course-hero-slot--content-center .ca-course-hero-slot__tags {
    justify-content: center;
}

.ca-course-hero-slot--content-right .ca-course-hero-slot__actions,
.ca-course-hero-slot--content-right .ca-course-hero-slot__tags {
    justify-content: flex-end;
}

.ca-course-hero-slot__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 24px;
    border: 0;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.28s ease, background-color 0.28s ease, color 0.28s ease, box-shadow 0.28s ease;
}

.ca-course-hero-slot__button:hover,
.ca-course-hero-slot__button:focus {
    transform: translateY(-2px);
    text-decoration: none;
}

.ca-course-hero-slot__button--primary {
    box-shadow: 0 18px 40px rgba(240, 4, 116, 0.32);
}

.ca-course-hero-slot__button--primary:hover,
.ca-course-hero-slot__button--primary:focus {
    background: var(--ca-course-primary-hover-bg) !important;
    box-shadow: 0 22px 48px rgba(240, 4, 116, 0.42);
}

.ca-course-hero-slot__button--secondary {
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.18);
}

.ca-course-hero-slot__button--secondary:hover,
.ca-course-hero-slot__button--secondary:focus {
    background: var(--ca-course-secondary-hover-bg) !important;
}

.ca-course-hero-slot__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.ca-course-hero-slot__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 39px;
    padding: 8px 15px;
    border: 1px solid;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.1;
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ca-course-hero-slot__slot-wrap {
    display: flex;
    justify-content: flex-end;
}

.ca-course-hero-slot--content-center .ca-course-hero-slot__slot-wrap,
.ca-course-hero-slot--content-right .ca-course-hero-slot__slot-wrap {
    justify-content: center;
}

.ca-course-hero-slot__slot-card {
    width: min(100%, 420px);
    border: 1px solid;
    box-shadow:
        0 28px 70px rgba(2, 6, 23, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(var(--ca-course-card-blur));
    -webkit-backdrop-filter: blur(var(--ca-course-card-blur));
}

.ca-course-hero-slot__slot-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.ca-course-hero-slot__next-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 7px 15px;
    color: var(--ca-course-next-badge-color);
    background: var(--ca-course-next-badge-bg);
    font-size: 12px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(240, 4, 116, 0.34);
}

.ca-course-hero-slot__booking-status {
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    font-weight: 850;
    text-align: right;
}

.ca-course-hero-slot__slot-date {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 30px;
    font-weight: 950;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.ca-course-hero-slot__slot-description {
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
    font-weight: 760;
    line-height: 1.55;
}

.ca-course-hero-slot__info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 34px;
}

.ca-course-hero-slot__info-box {
    min-height: 74px;
    border: 1px solid;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ca-course-hero-slot__info-label,
.ca-course-hero-slot__fee-label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ca-course-hero-slot__info-value {
    color: #ffffff;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.25;
}

.ca-course-hero-slot__fee-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.ca-course-hero-slot__fee-value {
    color: #ffffff;
    font-size: 25px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.035em;
    text-align: right;
    white-space: nowrap;
}

.ca-course-hero-slot__slot-button {
    width: 100%;
    min-height: 50px;
    box-shadow: 0 18px 40px rgba(240, 4, 116, 0.34);
}

.ca-course-hero-slot__slot-button:hover,
.ca-course-hero-slot__slot-button:focus {
    background: var(--ca-course-slot-cta-hover-bg) !important;
    box-shadow: 0 22px 48px rgba(240, 4, 116, 0.44);
}

.ca-course-hero-slot__helper-text {
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.45;
    text-align: center;
}

@media (max-width: 991px) {
    .ca-course-hero-slot {
        padding: 56px 34px !important;
    }

    .ca-course-hero-slot__inner {
        flex-direction: column;
        align-items: stretch !important;
        min-height: auto;
        gap: 38px !important;
    }

    .ca-course-hero-slot__content,
    .ca-course-hero-slot__slot-wrap {
        flex: 0 0 auto !important;
        width: 100%;
        max-width: 100%;
    }

    .ca-course-hero-slot__slot-wrap {
        justify-content: flex-start !important;
    }

    .ca-course-hero-slot--content-center .ca-course-hero-slot__slot-wrap {
        justify-content: center !important;
    }

    .ca-course-hero-slot--content-right .ca-course-hero-slot__slot-wrap {
        justify-content: flex-end !important;
    }

    .ca-course-hero-slot__slot-card {
        width: 100%;
        max-width: 560px;
    }

    .ca-course-hero-slot__title {
        font-size: var(--ca-course-title-tablet-size) !important;
        letter-spacing: -0.045em;
    }
}

@media (max-width: 576px) {
    .ca-course-hero-slot {
        padding: var(--ca-course-mobile-padding) !important;
    }

    .ca-course-hero-slot__badge {
        margin-bottom: 18px;
        font-size: 12px;
    }

    .ca-course-hero-slot__title {
        font-size: var(--ca-course-title-mobile-size) !important;
        line-height: 1.08;
        letter-spacing: -0.035em;
    }

    .ca-course-hero-slot__description {
        font-size: 15px !important;
        line-height: 1.65;
    }

    .ca-course-hero-slot__actions {
        width: 100%;
        gap: 12px;
    }

    .ca-course-hero-slot__button {
        width: 100%;
        min-height: 50px;
    }

    .ca-course-hero-slot__tags {
        gap: 10px;
    }

    .ca-course-hero-slot__tag {
        min-height: 36px;
        font-size: 12px;
    }

    .ca-course-hero-slot__slot-card {
        max-width: none;
    }

    .ca-course-hero-slot__slot-top,
    .ca-course-hero-slot__fee-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .ca-course-hero-slot__booking-status,
    .ca-course-hero-slot__fee-value {
        text-align: left;
    }

    .ca-course-hero-slot__slot-date {
        font-size: 27px;
    }

    .ca-course-hero-slot__info-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 767px){

    .ca-course-hero-slot--hide-mobile-slot
    .ca-course-hero-slot__slot-wrap{
        display:none !important;
    }

}

.ca-course-hero-slot__slot-card{
    position:relative;
    overflow:hidden;
}

.ca-course-hero-slot__corner-discount{
    position:absolute;
    top:0;
    right:0;
    width:130px;
    height:110px;
    border-bottom-left-radius:140px;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:5;
    box-shadow:0 12px 35px rgba(0,0,0,.20);
}

.ca-course-hero-slot__corner-discount span{
    color:#fff;
    font-size:20px;
    font-weight:900;
    line-height:1;
    text-align:center;
    display:block;
    margin-top:-10px; 
    margin-left: 10px;
}