/* Author Profile Page Styling */
.author-header {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 0 0 30px 30px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.author-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(228, 114, 0, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.author-profile-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.author-large-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.author-large-img:hover {
    transform: scale(1.05);
}

.author-default-icon {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #e47200;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 60px;
    color: white;
    border: 5px solid rgba(255, 255, 255, 0.2);
}

.author-name-title {
    font-family: 'Khand', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.author-meta {
    font-size: 1.1rem;
    color: #cbd5e0;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.author-meta span i {
    margin-right: 8px;
    color: #e47200;
}

.author-social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.social-icon-btn:hover {
    background: #e47200;
    transform: translateY(-3px);
    color: white;
}

/* News Grid Styling */
.author-news-section {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.section-title {
    font-family: 'Khand', sans-serif;
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid #e47200;
    display: inline-block;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-img-wrapper {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.card-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-family: 'Anek Devanagari', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #2d3748;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    padding-top: 15px;
    margin-top: auto;
    border-top: 1px solid #edf2f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #718096;
}

.card-date i {
    margin-right: 5px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    padding: 10px 18px;
    border-radius: 8px;
    background: white;
    color: #2d3748;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-btn:hover,
.page-btn.active {
    background: #e47200;
    color: white;
    border-color: #e47200;
}

/* Responsive */
@media (max-width: 768px) {
    .author-name-title {
        font-size: 2.2rem;
    }

    .author-meta {
        flex-direction: column;
        gap: 10px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}