/* Veltica Single Mentor Modern Styles */

body.single-mentor {
    background-color: #f4f7f6;
}

.mentor-profile-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.mentor-profile-card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .mentor-profile-card {
        flex-direction: row;
    }
}

.mentor-sidebar {
    background-color: #f9f9f9;
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid #e9e9e9;
}

@media (min-width: 768px) {
    .mentor-sidebar {
        width: 425px;
        border-bottom: none;
        border-right: 1px solid #e9e9e9;
    }
}

.mentor-sidebar .profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mentor-sidebar .mentor-name {
    font-size: 1.3em;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #333;
}

.mentor-bio p {
    margin: 0 0 .8em;
}

.mentor-sidebar .job-title {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 2px;
}

.mentor-sidebar .company {
    font-size: 1em;
    color: #777;
    margin-bottom: 20px;
}

.mentor-sidebar .linkedin-link {
    display: inline-block;
    background-color: #0077b5;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-top: 1em;
}

.mentor-sidebar .linkedin-link:hover {
    background-color: #005582;
}

.mentor-content {
    padding: 40px;
    flex: 1;
}

@media (max-width: 768px) {
    .mentor-content {
        padding: 20px;
    }

    .mentor-content h2 {
        font-size: 1.2em;
    }

    .mentor-content .entry-content p {
        font-size: 1em;
    }
}

.mentor-content h2 {
    font-size: 1.5em;
    font-weight: 700;
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.mentor-content .entry-content p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #444;
}

.mentor-section {
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.mentor-section:last-child {
    margin-bottom: 0;
}