.learndash-course-grid .items-wrapper .grid-1 {
    height: 100%;
}

.learndash-course-grid .items-wrapper .grid-1 .post {
    line-height: 1.428571429;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 1rem !important;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    max-width: 100%;
    width: 100%;
    height: 100% !important;
    display: flex !important;
    flex-flow: column !important;
    position: relative;
    padding: 0;
    margin: 0;
    box-shadow: 2px 2px 2px 1px rgb(0 0 0 / 5%);
    -moz-box-shadow: 2px 2px 2px 1px rgb(0 0 0 / 5%);
    -webkit-box-shadow: 2px 2px 2px 1px rgb(0 0 0 / 5%);
    overflow: hidden !important;
}

.learndash-course-grid .items-wrapper .grid-1 .post p {margin: 0; padding: 0;}
/* course category ribbons */

/* Course category ribbon */
.learndash-course-grid .items-wrapper .grid-1 .hub258-category-ribbon {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    right: auto;
    padding: 6px 12px;
    border-radius: 6px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    line-height: 1.428571429;
    display: flex;
}

/* Community */
.learndash-course-grid .items-wrapper .grid-1
.hub258-category-community-courses {
    background: var(--wp--preset--color--primary);
}

/* DTP */
.learndash-course-grid .items-wrapper .grid-1
.hub258-category-deaf-training-program {
    background: var(--wp--preset--color--stertiary);
}

/* Professional Development */
.learndash-course-grid .items-wrapper .grid-1
.hub258-category-professional-development-courses {
    background: var(--wp--preset--color--accent);
}

/* learndash enrollment ribbon */

.learndash-course-grid .items-wrapper .grid-1 .ribbon {
    text-shadow: 0 1px rgb(0 0 0 / 30%);
    position: absolute;
    z-index: 2;
    top: 10px !important;
    right: 10px !important;
    left: auto;
    padding: 6px 12px !important;
    border-radius: 6px;
    color: #fff;
    background: var(--wp--preset--color--accent) !important;
    font-weight: bold;
    font-size: 0.9rem !important;
    display: flex;
}

.learndash-course-grid .items-wrapper .grid-1 .ribbon::before {
}

.learndash-course-grid .items-wrapper .grid-1 .thumbnail {
    margin: 0;
    padding: 0;
    width: 100%;
    flex-shrink: 0;
}

.learndash-course-grid .items-wrapper .grid-1 .thumbnail .image {
    width: 100%;
    overflow: hidden;
}

.learndash-course-grid .items-wrapper .grid-1 .thumbnail .image a {
    display: flex;
    width: 100%;
}

.learndash-course-grid .items-wrapper .grid-1 .thumbnail p {
     margin: 0;
}
.learndash-course-grid .items-wrapper .grid-1 .thumbnail img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

.learndash-course-grid .items-wrapper .grid-1 .video {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.learndash-course-grid .items-wrapper .grid-1 .video > * {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.learndash-course-grid .items-wrapper .grid-1 .content {
    padding: 0 1rem 1rem 1rem !important;
    color: #333333;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.learndash-course-grid .items-wrapper .grid-1 .content p {
 margin: 0;
}

.learndash-course-grid .items-wrapper .grid-1 .top-meta {
    flex: 1;
  display: flex;
  flex-flow: column;
  margin: 0 !important;
}

.learndash-course-grid .items-wrapper .grid-1 .content > *:not(:last-child) {
    margin-bottom: 0;
}

.learndash-course-grid .items-wrapper .grid-1 .content .top-meta > *:not(:last-child) {
    margin-bottom: 0;
}

.learndash-course-grid .items-wrapper .grid-1 .content .entry-title {
  	flex: 1;
    font-size: var(--wp--preset--font-size--medium) !important;
    font-weight: bold;
    line-height: 1.2;
    color: #333;
    text-align: center !important;
}

.learndash-course-grid .items-wrapper .grid-1 .content .entry-title a {
    display: flex;
    flex-flow: column;
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
    line-height: 1.2;
    font-weight: bold;
}

.learndash-course-grid .items-wrapper .grid-1 .content .entry-content {
    margin-bottom: 20px;
}

.learndash-course-grid .items-wrapper .grid-1 .content .entry-content > * {
    margin: 0;
}

.learndash-course-grid .items-wrapper .grid-1 .content .author {
    font-size: 0.875rem;
    color: #949ca1;
}

.learndash-course-grid .items-wrapper .grid-1 .content .reviews,
.learndash-course-grid .items-wrapper .grid-1 .content .categories {
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

.learndash-course-grid .items-wrapper .grid-1 .icon {
    justify-content: center;
    margin-right: 3px;
}

.learndash-course-grid .items-wrapper .grid-1 .content .categories .icon {
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

.learndash-course-grid .items-wrapper .grid-1 .content .reviews .label {
    margin-right: 10px;
}

.learndash-course-grid .items-wrapper .grid-1 .content .reviews .stars {
    color: #ffb703;
}

.learndash-course-grid .items-wrapper .grid-1 .bottom-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    font-size: 0.75rem;
    gap: 15px;
}

.learndash-course-grid .items-wrapper .grid-1 .bottom-meta .section {
    display: flex;
    align-items: center;
}

.learndash-course-grid .items-wrapper .grid-1 .bottom-meta .section .icon {
    width: auto;
    height: auto;
    display: block;
    font-size: 1rem;
    padding: 5px;
    background: #00bcb6;
    color: #fff;
    border-radius: 5px;
}

.learndash-course-grid .items-wrapper .grid-1 .bottom-meta .section .wrapper {
    margin-left: 5px;
}

.learndash-course-grid .items-wrapper .grid-1 .bottom-meta .section .wrapper .label {
    font-weight: bold;
}

.learndash-course-grid .items-wrapper .grid-1 .bottom-meta .section .wrapper > * {
    display: block;
}


/* Course provider logo */
 

.hub258-course-provider-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 5px;
}

.hub258-course-provider-logo img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 110px;
    max-height: 55px;
    aspect-ratio: auto;
    object-fit: contain;
}