.author-profile-page {
    padding-top: 40px;
    padding-bottom: 60px;
    background-color: #fff;
    color: #1a1a1a;
}

.author-image-wrapper {
    position: relative;
    display: inline-block;
}

.author-profile-img {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 15px 15px 0px 0px rgba(50, 77, 62, 0.1);
}

.author-main-info h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #0b132a;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: #fcfcfc;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: #eaf0ed;
    color: #324D3E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.info-content .label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8c96ab;
    margin-bottom: 4px;
    font-weight: 600;
}

.info-content .value {
    display: block;
    font-size: 15px;
    color: #0b132a;
    font-weight: 600;
    line-height: 1.4;
}

.writer-categories-section {
    margin-bottom: 40px;
}

.writer-categories-section .section-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8c96ab;
    margin-bottom: 15px;
    font-weight: 600;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-tag {
    padding: 6px 16px;
    background: #eaf0ed;
    color: #324D3E;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.about-author-section {
    border-top: 1px solid #f0f0f0;
    padding-top: 50px;
}

.about-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #0b132a;
}

.about-title i {
    color: #324D3E;
}

.about-content {
    font-size: 17px;
    line-height: 1.8;
    color: #4a5568;
}

.author-articles-section {
    margin-top: 30px;
    background-color: #F0F5F0;
}

.recent-articles-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #0b132a;
}

.article-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
/* margin-bottom: 30px; */
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.article-image-link {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.article-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #324D3E;
    color: #fff;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-content {
    padding: 24px;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #8c96ab;
    margin-bottom: 12px;
}

.article-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #0b132a;
}

.article-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.article-title a:hover {
    color: #324D3E;
}

.article-excerpt {
    font-size: 14px;
    color: #5e6d8a;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #324D3E;
    text-decoration: none;
    transition: gap 0.2s;
}

.read-more-link:hover {
    gap: 12px;
    text-decoration: underline;
}

@media (max-width: 991px) {
    .author-main-info h1 {
        font-size: 36px;
    }
    .author-profile-img {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}
