/* ========================================
   Instructor Profile - Flexible Content Block
   ======================================== */

.fce-instructor-profile {
    padding: 25px 0;
}

.fce-ip-wrapper {
    max-width: 100%;
}

.fce-ip-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Grid layout - Multiple cards in rows */
.fce-ip-grid.layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

/* Single Instructor Card */
.fce-ip-card {
    background: #ffffff;
    width: 100%;
}

.fce-ip-card-inner {
    display: flex;
    align-items: center;
    gap: 48px;
}

/* Image Section (Left Side) */
.fce-ip-image-section {
    flex-shrink: 0;
}

.fce-ip-image-wrapper {
    width: 350px;
    height: 350px;
    position: relative;
}

.fce-ip-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

/* Content Section (Right Side) */
.fce-ip-content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 0;
}

/* Instructor Name */
.fce-ip-name {
    margin: 0;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.2;
    color: #000000;
    font-family: 'Playfair Display', serif;
}

/* Instructor Title/Specialty */
.fce-ip-title {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: #888888;
    line-height: 1.4;
}

/* Biography */
.fce-ip-bio {
    margin: 8px 0 0 0;
    font-size: 15px;
    line-height: 1.7;
    color: #333333;
}

.fce-ip-bio p {
    margin: 0 0 12px 0;
}

.fce-ip-bio p:last-child {
    margin-bottom: 0;
}

/* Social Links */
.fce-ip-social-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.fce-ip-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    color: rgba(23, 46, 74, 1);
}

.fce-ip-social-link:hover {
    color: rgba(0, 128, 255, 1);
    text-decoration: none;
}

.fce-ip-social-link:active,
.fce-ip-social-link:focus,
.fce-ip-social-link:visited {
    color:rgba(23, 46, 74, 1);
    text-decoration: none;
}

.fce-ip-social-link i {
    font-size: 20px;
    color: #0077B5;
}

.fce-ip-social-link:hover i {
    color: #005582;
}

.fce-ip-social-link:active i,
.fce-ip-social-link:focus i,
.fce-ip-social-link:visited i {
    color: #0077B5;
}

/* Tablet */
@media (max-width: 991px) {
    .fce-instructor-profile {
        padding: 20px 0;
    }

    .fce-ip-card-inner {
        gap: 32px;
        align-items: flex-start;
    }

    .fce-ip-image-wrapper {
        width: 200px;
        height: 200px;
    }

    .fce-ip-name {
        font-size: 23px;
    }

    .fce-ip-grid {
        gap: 40px;
    }

    .fce-ip-grid.layout-grid {
        gap: 40px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .fce-instructor-profile {
        padding:0px;
    }

    .fce-ip-card-inner {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        text-align: center;
    }

    .fce-ip-image-wrapper {
        width: 180px;
        height: 180px;
    }

    .fce-ip-name {
        font-size: 20px;
    }

    .fce-ip-title {
        font-size: 15px;
    }

    .fce-ip-bio {
        font-size: 14px;
        text-align: center;
    }

    .fce-ip-social-links {
        justify-content: center;
    }

    .fce-ip-grid {
        gap: 32px;
    }

    .fce-ip-grid.layout-grid {
        gap: 32px;
    }
}
