.elementor-4949 .elementor-element.elementor-element-0b8db35{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-26da2f0 *//* WSE course catalogue grid */
.wse-course-catalog {
    display: grid;
    grid-template-columns: repeat(var(--wse-columns, 4), minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
    width: 100%;
}

/* Individual course card */
.wse-course-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 390px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 13px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .08);
    transition: box-shadow .2s ease, transform .2s ease;
}

.wse-course-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, .12);
}

/* Image and enrollment badge */
.wse-course-image {
    position: relative;
    display: block;
    flex-shrink: 0;
    height: 180px;
    overflow: hidden;
    background: #f2f2f2;
}

.wse-course-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.wse-enrollment-badge {
    position: absolute;
    top: 9px;
    right: 9px;
    z-index: 2;
    padding: 5px 9px;
    border-radius: 20px;
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

.wse-enrollment-badge.is-not-enrolled {
    background: #f05259;
}

.wse-enrollment-badge.is-enrolled {
    background: #25a55b;
}

/* Card content */
.wse-course-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 10px;
    min-width: 0;
}

.wse-course-title {
    margin: 0 0 9px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    
    color: #171717;
}

.wse-course-title a {
    color: inherit;
    text-decoration:
    none;
    font-weight: 600;
    color: #0E1633;
}

.wse-course-title a:hover {
    font-weight: 600;
    color: #0E1633;
}

.wse-course-description {
    margin: 0 0 12px;
    color: #777;
    font-size: 12.5px;
    line-height: 1.55;
    font-family: inherit;
    font-weight: 500;
    
}

/* Instructor row */
.wse-course-instructor {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: auto;
    padding-top: 6px;
    color: #555;
    font-size: 13px;
    line-height: 0.2;
    font-weight: 600;
}

/* Duration left, price right */
.wse-course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    margin-top: 7px;
    padding: 8px 0;
    border-bottom: 1px solid #ededed;
    color: #444;
    font-size: 13px;
    font-weight: 600;
}

.wse-course-duration {
    display: flex;
    align-items: center;
    gap: 5px;
}

.wse-course-price {
    margin-left: auto;
    flex-shrink: 0;
    color: #111;
    font-weight: 700;
    text-align: right;
}

/* Footer and aligned button */
.wse-course-footer {
    margin-top: auto;
    padding-top: 12px;
}

.wse-course-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 38px;
    box-sizing: border-box;
    padding: 9px 12px;
    border: 0;
    border-radius: 25px;
    background: #5D6EAA;
    color: #fff !important;
    font-size: 15px!important;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    transition: background .2s ease;
}

.wse-course-button:hover {
    background: #0E1633;
}

/* Tablet */
@media (max-width: 1024px) {
    .wse-course-catalog {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 600px) {
    .wse-course-catalog {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .wse-course-image {
        height: 190px;
    }
}/* End custom CSS */