.two-row-layout {
    position:relative;
    height: 450px;
    display: flex;
    flex-direction: column;

    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.course-price {
    /*Position the price*/
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;

    /* Align the price to the center of the element */
    display: flex;
    justify-content: center;
    align-items: center;

    /* Style the element */
    background-color: #404040;
    color: white;
    padding: 5px 10px;
    height:70px;
    width:70px;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: bold;
    z-index: 10;
}

.two-row-layout .card-link-overlay {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none; /* Remove link underline */
    color: inherit; /* Maintain text color */
}

.two-row-layout .card-row {
    flex: 1 1 50%;
    width: 100%;
    overflow: hidden;
}

.two-row-layout .card-image-row {
    position: relative;
}

.two-row-layout .card-image-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.two-row-layout .card-content-row {
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.two-row-layout .card-content-inner {
    height:100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.two-row-layout .course-category {
    font-weight: 600;
}
.two-row-layout .card-title {
    font-size: 1.2em;
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.two-row-layout .card-meta,
.two-row-layout .card-stats {
    font-size: 0.9em;
    color: #666;
    margin: 0;
}

.two-row-layout .no-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background-color: #f0f0f0;
    color: #999;
}

.two-row-layout .card-stats {
    border-top: 1px solid #303030;
    padding-top: 8px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}