.author-bio {
box-sizing: border-box;
display: flex;
align-items: center;
gap: 1.75rem;
width: min(1140px, calc(100% - 24px));
max-width: var(--container-max-width, 1140px);
margin: 3rem auto 2rem;
padding: 1rem;
background: #fff;
border: 1px solid #ececec;
box-shadow: 0 12px 40px rgba(17, 24, 39, 0.06);
font-family: inherit;
}
.author-bio__media {
display: flex;
flex: 0 0 168px;
align-items: center;
justify-content: center;
width: 168px;
height: 168px;
padding: 1rem;
background: #f3f4f6;
}
.author-bio__photo {
display: block;
width: auto;
max-width: 100%;
height: auto;
max-height: 120px;
object-fit: contain;
}
.author-bio__content {
display: flex;
flex: 1;
flex-direction: column;
justify-content: center;
min-width: 0;
padding: 0.75rem 1rem 0.75rem 0;
}
.author-bio__name {
margin: 0;
color: #1a1a1a;
font-size: 2rem;
font-weight: 700;
line-height: 1.15;
letter-spacing: -0.02em;
}
.author-bio__link {
color: inherit;
text-decoration: none;
}
.author-bio__link:hover,
.author-bio__link:focus {
text-decoration: underline;
}
.author-bio__role {
margin: 0.4rem 0 0.9rem;
color: #1a1a1a;
font-size: 0.75rem;
font-weight: 700;
letter-spacing: 0.08em;
line-height: 1.2;
text-transform: uppercase;
}
.author-bio__text {
color: #8b9098;
font-size: 1rem;
line-height: 1.65;
}
.author-bio__text p {
margin: 0 0 0.75rem;
}
.author-bio__text p:last-child {
margin-bottom: 0;
}
.author-bio__text strong,
.author-bio__text b {
color: #3a3a3a;
font-weight: 700;
}
@media (max-width: 767px) {
.author-bio {
flex-direction: column;
gap: 1.25rem;
width: min(1140px, calc(100% - 16px));
margin-top: 2rem;
padding: 0.85rem;
}
.author-bio__media {
flex-basis: auto;
width: 132px;
height: 132px;
align-self: flex-start;
}
.author-bio__content {
padding: 0.25rem 0.5rem 0.75rem;
}
.author-bio__name {
font-size: 1.6rem;
}
}