.latest-author {
display: flex;
align-items: center;
margin-top: 0;
margin-bottom: 0;
max-width: 400px;
}
.latest-author-container {
display: flex;
align-items: center;
background-color: #f9f9f9;
border-radius: 5px;
padding: 8px 10px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
transition: all 0.3s ease;
}
.latest-author-container:hover {
background-color: #f0f0f0;
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.author-image {
margin-right: 12px;
}
.author-image img {
width: 60px;
height: 60px;
border-radius: 50%;
border: 2px solid #fff;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.author-content {
display: flex;
flex-direction: column;
max-width: 300px;
}
.author-name {
font-weight: bold;
font-size: 14px;
color: #333;
margin-bottom: 3px;
}
.author-name a {
color: #333;
text-decoration: none;
}
.author-name a:hover {
color: #e74c3c;
}
.author-latest-post {
font-size: 14px;
line-height: 1.3;
font-weight: 600;
color: #e74c3c;
text-overflow: ellipsis;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 3;
line-clamp: 3;
-webkit-box-orient: vertical;
box-orient: vertical;
margin-top: 2px;
padding: 3px 6px;
background-color: rgba(231, 76, 60, 0.08);
border-radius: 3px;
transition: all 0.3s ease;
}
.author-latest-post a {
color: #e74c3c;
text-decoration: none;
display: block;
}
.author-latest-post a:hover {
color: #c0392b;
text-decoration: underline;
}
.author-latest-post:hover {
background-color: rgba(231, 76, 60, 0.15);
box-shadow: 0 2px 5px rgba(231, 76, 60, 0.1);
transform: translateY(-1px);
} @media (max-width: 767px) {
.latest-author {
margin-top: 10px;
}
.author-image img {
width: 45px;
height: 45px;
}
.author-content {
max-width: 150px;
}
.author-name {
font-size: 12px;
}
.author-latest-post {
font-size: 11px;
-webkit-line-clamp: 1;
line-clamp: 1;
}
} @media (max-width: 480px) {
.latest-author {
display: none;
}
.mobile-search-icon {
display: block !important;
position: absolute;
right: 15px;
top: 25px;
font-size: 18px;
color: #333;
}
}