/**
 * KO Instructor Widget Styles
 * Structural styles only - visual customization via Elementor
 *
 * @package KO_Elementor_Addons
 */

/* Container */
.ko-instructor-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Grid Layout */
.ko-instructor-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.ko-instructor-grid.ko-layout-reversed {
    direction: rtl;
}

.ko-instructor-grid.ko-layout-reversed > * {
    direction: ltr;
}

/* Photo Wrapper */
.ko-instructor-photo-wrapper {
    position: relative;
}

.ko-instructor-photo {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.ko-instructor-photo-wrapper::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    width: 100%;
    aspect-ratio: 16 / 9;
    opacity: 0.25;
    z-index: 0;
}

/* Label */
.ko-instructor-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.ko-instructor-label::before {
    content: '';
    width: 24px;
    height: 2px;
    border-radius: 2px;
}

/* Title */
.ko-instructor-title {
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0 0 22px 0;
}

/* Subtitle */
.ko-instructor-subtitle {
    line-height: 1.75;
    margin: 0 0 28px 0;
}

/* Bio List */
.ko-bio-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 28px;
}

.ko-bio-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ko-bio-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.ko-bio-icon svg {
    width: 18px;
    height: 18px;
}

.ko-bio-text {
    line-height: 1.45;
}

/* Highlight Box */
.ko-highlight-box {
    border-left-width: 4px;
    border-left-style: solid;
    border-radius: 0 12px 12px 0;
    margin-top: 4px;
}

.ko-highlight-box p {
    line-height: 1.65;
    margin: 0;
    font-style: italic;
}

.ko-highlight-box p::before {
    content: '"';
    font-size: 22px;
    font-weight: 700;
    margin-right: 4px;
    line-height: 0;
    vertical-align: middle;
}

.ko-highlight-box p::after {
    content: '"';
    font-size: 22px;
    font-weight: 700;
    margin-left: 4px;
    line-height: 0;
    vertical-align: middle;
}

/* Responsive - Tablet */
@media screen and (max-width: 1024px) {
    .ko-instructor-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ko-instructor-grid.ko-layout-reversed {
        direction: ltr;
    }

    .ko-instructor-photo-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }

    .ko-instructor-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .ko-instructor-label {
        justify-content: center;
    }

    .ko-instructor-subtitle {
        max-width: 600px;
    }

    .ko-bio-list {
        text-align: left;
        max-width: 500px;
    }

    .ko-highlight-box {
        max-width: 560px;
        text-align: left;
    }
}

/* Responsive - Mobile */
@media screen and (max-width: 767px) {
    .ko-instructor-grid {
        gap: 32px;
    }

    .ko-instructor-photo-wrapper::before {
        top: -8px;
        left: -8px;
    }

    .ko-bio-icon svg {
        width: 16px;
        height: 16px;
    }
}
