/* Flex container for side-by-side layout */
.author-flex-container {
    display: flex;
    gap: 30px;
    padding: 30px;
    align-items: center; /* <-- This centers image vertically */
    flex-wrap: nowrap;
}


/* Image block - 25% */
.author-image-wrapper {
    flex: 0 0 25%;
    max-width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.author-image-wrapper img {
    width: 100%;
    max-width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
}

/* Text block - 75% */
.author-text {
    flex: 0 0 75%;
    max-width: 75%;
}

/* Author name spacing */
.author-text h3 {
    margin-top: 0;
}

/* Social links styling */
.social-links {
    margin-top: 15px;
}

.social-links a {
	font-size: 0.85em;
    display: inline-block;
    margin-right: 10px;
    color: #27314a;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 18px;
}

.social-links a:hover {
    color: #0056b3;
  
}

/* Container styling */
.mod-author-info {
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 10px;
     margin-bottom: 4rem;
}

/* Responsive - collapse only on very small screens */
@media (max-width: 576px) {
    .author-flex-container {
        flex-direction: column;
        align-items: center;
    }

    .author-image-wrapper,
    .author-text {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .author-text {
        padding-top: 20px;
        text-align: left; /* <-- Force text to align left on small screens */
    }
}

