.author-container {
max-width: 1280px;
margin: 0 auto;
padding: 0 15px;
} .author-header {
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
padding: 30px 0;
margin-bottom: 30px;
}
.author-profile {
display: flex;
gap: 30px;
align-items: flex-start;
}
.author-avatar {
flex-shrink: 0;
}
.author-avatar img {
width: 140px;
height: 140px;
border-radius: 8px;
object-fit: cover;
border: 3px solid #ccc;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.author-info {
flex: 1;
}
.author-name {
font-size: 32px;
font-weight: 800;
color: var(--text-dark);
margin-bottom: 5px;
position: relative;
display: inline-block;
}
.author-name::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 60px;
height: 4px;
background: var(--primary-red);
border-radius: 2px;
}
.author-role {
font-size: 14px;
font-weight: 600;
color: var(--primary-red);
text-transform: uppercase;
letter-spacing: 0.5px;
margin: 15px 0 12px;
}
.author-bio {
font-size: 15px;
color: var(--text-gray);
line-height: 1.6;
margin-bottom: 15px;
max-width: 700px;
}
.author-social {
display: flex;
gap: 10px;
}
.author-social a {
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
background: var(--white);
border: 1px solid var(--border-color);
border-radius: 50%;
color: var(--text-gray);
font-size: 14px;
transition: all var(--transition);
}
.author-social a:hover {
background: var(--primary-red);
border-color: var(--primary-red);
color: var(--white);
transform: translateY(-2px);
} .author-layout {
padding-bottom: 40px;
}
.author-main {
width: 100%;
} .filter-bar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 0;
margin-bottom: 20px;
border-bottom: 1px solid var(--border-light);
}
.filter-info {
font-size: 14px;
color: var(--text-gray);
}
.filter-info strong {
color: var(--text-dark);
}
.filter-options {
display: flex;
align-items: center;
gap: 10px;
}
.filter-options label {
font-size: 13px;
color: var(--text-gray);
}
.filter-select {
padding: 8px 30px 8px 12px;
font-size: 13px;
color: var(--text-dark);
background: var(--white);
border: 1px solid var(--border-color);
border-radius: 4px;
cursor: pointer;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 10px center;
}
.filter-select:focus {
outline: none;
border-color: var(--primary-red);
} .articles-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
margin-bottom: 40px;
}
.article-card {
background: var(--white);
border-radius: 6px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0,0,0,0.06);
transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.article-card:hover {
box-shadow: 0 5px 20px rgba(0,0,0,0.1);
transform: translateY(-2px);
}
.article-card .card-image {
position: relative;
overflow: hidden;
}
.article-card .card-image img {
width: 100%;
height: 160px;
object-fit: cover;
transition: transform 0.3s ease;
}
.article-card:hover .card-image img {
transform: scale(1.05);
}
.article-card .card-content {
padding: 15px;
}
.article-card .card-title {
font-size: 15px;
font-weight: 600;
line-height: 1.4;
color: var(--text-dark);
margin-bottom: 8px;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.article-card .card-title a:hover {
color: var(--primary-red);
}
.article-card .card-excerpt {
font-size: 13px;
color: var(--text-gray);
line-height: 1.5;
margin-bottom: 10px;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.article-card .card-meta {
display: flex;
align-items: center;
gap: 6px;
font-size: 12px;
color: var(--text-light);
} .category-tag {
position: absolute;
top: 10px;
left: 10px;
display: inline-block;
padding: 4px 10px;
font-size: 10px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
background: var(--primary-red);
color: var(--white);
border-radius: 3px;
} .pagination {
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
padding: 20px 0;
}
.page-numbers {
display: flex;
align-items: center;
gap: 5px;
}
.page-link {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 40px;
height: 40px;
padding: 0 12px;
font-size: 14px;
font-weight: 500;
color: var(--text-gray);
background: var(--white);
border: 1px solid var(--border-color);
border-radius: 4px;
transition: all var(--transition);
}
.page-link:hover:not(.disabled) {
color: var(--primary-red);
border-color: var(--primary-red);
}
.page-link.active {
background: var(--primary-red);
color: var(--white);
border-color: var(--primary-red);
}
.page-link.disabled {
color: var(--text-light);
cursor: not-allowed;
opacity: 0.6;
}
.page-link.prev,
.page-link.next {
gap: 6px;
}
.page-dots {
padding: 0 8px;
color: var(--text-light);
} @media (max-width: 1200px) {
.articles-grid {
grid-template-columns: repeat(3, 1fr);
}
}
@media (max-width: 992px) {
.articles-grid {
grid-template-columns: repeat(2, 1fr);
}
.article-card .card-image img {
height: 150px;
}
}
@media (max-width: 768px) {
.author-header {
padding: 20px 0;
margin-bottom: 20px;
}
.author-profile {
flex-direction: column;
align-items: center;
text-align: center;
}
.author-avatar img {
width: 120px;
height: 120px;
}
.author-name {
font-size: 24px;
}
.author-name::after {
left: 50%;
transform: translateX(-50%);
}
.author-bio {
font-size: 14px;
}
.author-social {
justify-content: center;
}
.filter-bar {
flex-direction: column;
align-items: flex-start;
gap: 12px;
}
.articles-grid {
grid-template-columns: repeat(2, 1fr);
gap: 15px;
}
.article-card .card-image img {
height: 120px;
}
.article-card .card-content {
padding: 12px;
}
.article-card .card-title {
font-size: 14px;
}
.article-card .card-excerpt {
font-size: 12px;
-webkit-line-clamp: 2;
}
.pagination {
flex-wrap: wrap;
gap: 8px;
}
.page-link {
min-width: 36px;
height: 36px;
font-size: 13px;
padding: 0 10px;
}
}
@media (max-width: 576px) {
.author-container {
padding: 0 12px;
}
.author-avatar img {
width: 100px;
height: 100px;
}
.author-name {
font-size: 20px;
}
.author-name::after {
width: 40px;
height: 3px;
}
.author-role {
font-size: 12px;
}
.author-bio {
font-size: 13px;
}
.filter-bar {
padding: 12px 0;
margin-bottom: 15px;
}
.filter-info {
font-size: 13px;
}
.filter-select {
padding: 6px 25px 6px 10px;
font-size: 12px;
}
.articles-grid {
grid-template-columns: repeat(2, 1fr);
gap: 10px;
}
.article-card .card-content {
padding: 10px;
}
.article-card .card-title {
font-size: 13px;
margin-bottom: 6px;
}
.article-card .card-excerpt {
display: none;
}
.article-card .card-image img {
height: 100px;
}
.article-card .card-meta {
font-size: 10px;
}
.category-tag {
font-size: 8px;
padding: 3px 6px;
top: 6px;
left: 6px;
}
.page-numbers {
display: none;
}
.pagination {
justify-content: space-between;
}
.page-link.prev,
.page-link.next {
flex: 1;
justify-content: center;
}
}