
/* LearnPress course grid - 3 columns on desktop, 1 column on mobile */
.learnpress-profile .lp-archive-courses ul.learn-press-courses {
    grid-template-columns: repeat(3, 1fr);
}
.learnpress-profile .lp-archive-courses ul.learn-press-courses li.course {
    width: 100%;
}
@media (max-width: 767px) {
.learnpress-profile .lp-archive-courses ul.learn-press-courses {
    grid-template-columns: repeat(1, 1fr);
}
}

/* Gravity Forms - Brand green (#92b76d) for progress bar and buttons */
.gf_progressbar_percentage {
    background-color: #92b76d !important;
}
.gform_wrapper input[type="submit"],
.gform_wrapper .gform_next_button {
    background-color: #92b76d !important;
    border-color: #92b76d !important;
}
.gform_wrapper input[type="submit"]:hover,
.gform_wrapper .gform_next_button:hover {
    background-color: #7a9c5a !important;
}
/* Gravity Forms - Match text size and fonts to site theme, dark grey answers */
.gform_wrapper .gfield_radio label,
.gform_wrapper .gfield_checkbox label {
    font-size: 14px !important;
    font-family: inherit !important;
    color: #4A4A4A !important;
}

.gform_wrapper .gfield_label {
    font-size: 18px !important;
    font-family: inherit !important;
    font-weight: 600 !important;
}
/* Gravity Forms - Change radio button color to brand green when selected */
.gform_wrapper input[type="radio"]:checked::before {
    background-color: #92b76d !important;
}

.gform_wrapper input[type="radio"]:checked {
    border-color: #92b76d !important;
}

.gform_wrapper input[type="radio"]:focus {
    outline-color: #92b76d !important;
    box-shadow: 0 0 0 2px rgba(146, 183, 109, 0.3) !important;
}
/* Gravity Forms - Hide "Step X of X" text but keep the progress bar visible */
.gform_wrapper .gf_progressbar_title {
    display: none !important;
}

.gform_wrapper .gf_progressbar_wrapper {
    display: block !important;
}
/* ================================================================
   DESCRIPTION: HIDES "52 WEEKS" FROM COURSE CARDS & LISTS
   This code removes the automated duration text from your 
   Prolearngo course grids while keeping the 52-week access 
   active in the background. 
   ================================================================ */

/* Hide the duration icon and text on the course archive grid */
.course-duration, 
.meta-item-duration,
.lp-course-metadata .duration,
.course-item .course-meta .course-duration { 
    display: none !important; 
}

/* Hide the duration on individual course page sidebar if needed */
.course-meta-primary .meta-item-duration {
    display: none !important;
}

/* Ensure the course list layout also respects the hide rule */
.lp-course-list .course-duration { 
    display: none !important; 
}
