.author-card {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex: 1 1 auto;
    height: 100%;
}

.author-img {
    width: 50%;
    flex-shrink: 0;
    display: flex;  
}

.author-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;  
    object-fit: cover;
    flex-grow: 1;
    object-position: top center;
}

.author-details {
    width: 50%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.author-details h2 {
    font-size: 20px;
    margin-bottom: 5px;
    gap: 8px;
}

.author-details .designation {
    color: #282828;
    margin-bottom: 15px;
}

.author-details .desc {
    font-size: 13px;
    color: #555;
    margin-bottom: 20px;
}

.read-link {
    background: #02295e; /* matches your brand color */
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
}

.read-link:hover {
    background: #084aa7;
    color: #fff;
}

.designation {
    color: #282828;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.linkedin-link {
    color: #0077b5; /* LinkedIn official color */
    font-size: 18px;
    text-decoration: none;
}

.linkedin-link:hover {
    color: #005582; /* Darker hover color */
}

.team-heading {
    font-size: 28px;
    font-weight: 700;
    color: #003678;
    border-bottom: 2px solid #ddd;
    padding-bottom: 8px;
}

.team-heading {
    padding-top: 10px;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.col-lg-6, .col-md-6 {
    display: flex;
}

/* Mobile responsive fix */
@media (max-width: 767px) {
    .author-card {
        flex-direction: column;
    }
    .author-img, .author-details {
        width: 100%;
    }
    .author-details {
        padding: 15px;
    }
}