/* WP Course Relations - Frontend Styles */

.wcr-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.wcr-course-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wcr-course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wcr-course-thumbnail {
    width: 100%;
    overflow: hidden;
}

.wcr-course-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.wcr-course-content {
    padding: 15px;
}

.wcr-course-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.wcr-course-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wcr-course-title a:hover {
    color: #0073aa;
}

.wcr-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.wcr-btn:hover {
    background: #005177;
    color: #fff;
}

.wcr-empty {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 16px;
    background: #f9f9f9;
    border: 1px dashed #ddd;
    border-radius: 4px;
}

/* Elementor Typography Support - Enhanced Specificity */
.elementor-widget-wcr_course_relations .wcr-course-title a {
    /* Elementor typography controls will inject here */
}

.elementor-widget-wcr_course_relations .wcr-btn {
    /* Elementor typography controls will inject here */
}

.elementor-widget-wcr_course_relations .wcr-empty {
    /* Elementor typography controls will inject here */
}
