/**
 * Yiontech Instructor Card Widget Styles
 */

.yiontech-instructor-cards-wrapper {
    display: grid;
    grid-gap: 20px;
}

.yiontech-instructor-cards-columns-1 {
    grid-template-columns: 1fr;
}

.yiontech-instructor-cards-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.yiontech-instructor-cards-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.yiontech-instructor-cards-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.yiontech-instructor-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.yiontech-instructor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.yiontech-instructor-card .instructor-avatar {
    margin: 0 auto 15px;
}

.yiontech-instructor-card .instructor-avatar img {
    border-radius: 50%;
    border: 3px solid #e5e7eb;
}

.yiontech-instructor-card .instructor-name {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.3;
}

.yiontech-instructor-card .instructor-bio {
    margin: 0 0 15px;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
}

.yiontech-instructor-card .instructor-stats {
    display: flex;
    justify-content: center;
    margin: 0 0 15px;
}

.yiontech-instructor-card .instructor-stats > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px;
}

.yiontech-instructor-card .instructor-stats .count {
    font-size: 18px;
    font-weight: 700;
    color: #1e40af;
}

.yiontech-instructor-card .instructor-stats .label {
    font-size: 12px;
    color: #6b7280;
}

.yiontech-instructor-card .instructor-social {
    display: flex;
    justify-content: center;
    margin: 0 0 15px;
}

.yiontech-instructor-card .instructor-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #4b5563;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.yiontech-instructor-card .instructor-social .social-link:hover {
    background-color: #1e40af;
    color: #ffffff;
}

.yiontech-instructor-card .instructor-button-wrapper {
    margin-top: auto;
}

.yiontech-instructor-card .instructor-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1e40af;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.yiontech-instructor-card .instructor-button:hover {
    background-color: #1e3a8a;
    color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .yiontech-instructor-cards-columns-2,
    .yiontech-instructor-cards-columns-3,
    .yiontech-instructor-cards-columns-4 {
        grid-template-columns: 1fr;
    }
}