/**
 * Course Listing Styles
 * ============================================================================
 * Styles specific to course archive and category listing pages.
 * Extends base course card styles from styles.css.
 *
 * Load order: After styles.css (content-specific)
 * Dependencies: 00-tokens.css, styles.css
 * ============================================================================
 */

/* Center the button */
.courses-main-area .button {
    margin: 30px 0 40px;
    display: flex;
    justify-content: center;
}

/* Course-specific solid background button style */
.courses-main-area .button.outline {
    background: var(--brand-main);
    color: var(--white);
    font-size: var(--text-base);
    border: none;
    box-shadow: 0 2px 8px var(--shadow-light);
    width: 100%;
    max-width: 347px;
    min-width: 200px;
    height: 48px;
    gap: var(--space-2);
    border-radius: var(--radius-full);
}

/* Optional: Hover effect */


.courses-main-area .course-type-container {
    margin-bottom: -20px;
}

/* Mobile responsive button behavior */
@media (width <= 480px) {
    .courses-main-area .button.outline {
        width: 100%;
        max-width: none;
        min-width: 280px;
    }
}

.button-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.button-container .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    padding: 0 24px;
    height: 48px;
}

.swiper-slide .course-content a {
    display: flex;
}

.swiper-slide .course-content {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.courses-main-area .numeric {
    margin-bottom: 10px;
}

#coursesList .course .course-content {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.read-more [class*="material-"] {
    height: 20px;
}


