/*
=================================================================
NAIT Course Item - Data Column Styling
=================================================================
*/

.course_item_data {
    background-color: #f6f6f6;
    border-radius: 44px;
    line-height: 1;
    padding: 20px;
    font-size: 0.9rem;
    color: #555;
}

/* Hide any location div that is NOT the primary one */
.course_item_location:not(.location_first) {
    display: none !important;
}

/* --- INLINE TITLE + BADGE --- */
.nait-title-wrapper > a {
    text-decoration: none !important;
}

.nait-title-wrapper > a h2 {
    display: inline;
    font-size: 1.5rem;
    margin: 0;
    font-weight: bold;
    white-space: normal;
    vertical-align: middle;
}

.nait-title-wrapper .nait_course_item_status {
    display: inline-block;
    margin-left: 1em;
    vertical-align: middle;
    color: #0f2c6d;
    border: 1px solid #0f2c6d;
    border-radius: 44px;
    padding: 5px 10px;
    min-width: 90px !important;
    text-transform: uppercase;
    text-align: center;
    width: auto !important;
    font-size: 11px;
}

/* Optional: Make all links black */
a {
    color: #000 !important;
}

.nait-visibility-hidden {
    visibility: hidden !important;
}


/*
=================================================================
Legacy Styles (can be removed if no longer needed after JS update)
=================================================================
*/
/*
.nait-title-wrapper > a .nait-title-flex {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}
.nait-title-wrapper > a .nait-title-flex h2 {
    display: inline;
    font-size: 1.5rem;
    margin: 0;
    white-space: normal;
    font-weight: bold;
}
.course_item_header .course_item_title a {
    display: flex;
    align-items: center;
    text-decoration: none !important;
}
.course_item_header .course_item_title a h2 {
    margin: 0;
    font-size: 1.5rem;
}
.nait_course_item_status {
    color: #0f2c6d;
    border: 1px solid #0f2c6d;
    border-radius: 44px;
    width: auto !important;
    text-align: center;
    padding: 5px;
    min-width: 90px !important;
    text-transform: uppercase;
}
*/
