.author-profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.author-header {
    display: flex;
    align-items: start;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background:  #499DDE;
    border-radius: 8px;
    margin-left: 50px;
}

.author-avatar img {
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.author-info {
    flex: 1;
    font-family: 'Poppins' !important;

}

.author-name {
    margin: 0 0 0.5rem;
    font-size: 2rem;
    color: black;
    font-family: 'Poppins' !important;

}

.author-position {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: black;
}

.author-social {
    margin-bottom: 1rem;
}

.social-link {
    display: inline-block;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: #0077b5;
    transition: color 0.3s;
}

.social-link:hover {
    color: #005582;
}

.author-bio {
    color: black;
    line-height: 1.6;
    font-family: 'Poppins' !important;
}
.author-bio p {
    color: black;
    line-height: 1.6;
    font-family: 'Poppins' !important;
}

.posts-heading {
    margin: 2rem 0;
    font-size: 1.75rem;
    color: #333;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns fixed */
    gap: 3rem;
    margin-bottom: 2rem;
    width: 100%; /* Adjusted to 100% */
}

.post-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 110%;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

.post-title {
    margin: 0 0 1rem;
    font-size: 15px !important;
    font-family: 'Poppins' !important;

}

.post-title a {
    color: #333;
    text-decoration: none;
    font-family: 'Poppins' !important;

}

.post-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    font-family: 'Poppins' !important;

}

.post-category {
    margin-left: 1rem;
    font-family: 'Poppins' !important;
    font-size: 12px;

}

.post-excerpt {
    color: #555;
    line-height: 1.6;
}

.pagination {
    margin-top: 2rem;
    text-align: center;
}

.no-posts {
    text-align: center;
    color: #666;
    font-style: italic;
}


.white-icon{
    color: white;
}
@media (max-width: 768px) {
    .author-header {
        flex-direction: column;
        text-align: center;
        margin-left: 0;
    }
    
    .author-avatar {
        margin: 0 auto;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
}


#load-more-author-page {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
   
}

.load-more-container{
    width: 20%;
    margin-left: 45%;
    margin-top: 2%;
}

#load-more-author-page:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}


@media (max-width: 768px) {
    .author-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-profile-container{
        margin-top: 50px !important;
    }

    .author-avatar {
        width: 80px;
        height: 80px;
    }

    .author-name {
        font-size: 18px;
    }

    .author-profile p {
        width: 80% !important;
        font-size: 14px !important;
    }
}

.author-profile img {
    width: 150px !important;  /* Adjust as needed */
    height: 150px !important; /* Adjust as needed */
}

@media screen and (max-width: 768px) {
    #load-more-author-page{
        font-size: 14px; 
        padding: 10px 20px; 
        margin-left: 15px
    }
    .load-more-container {
        width: 50%;
        margin-left: auto; 
        margin-right: auto;
        margin-top: 2%; 
    }
}


@media (max-width: 768px) {
    .author-name {
        font-size: 12px !important;
        font-family: 'Poppins' !important;
    }

    .author-position {
        font-size: 10px !important;
        
    }

    .author-bio p{
        font-size: 10px !important;
        font-weight: 600 !important;
        font-family: 'Poppins' !important;
    }

    .posts-heading{
        font-size: 15px !important;
    }
}


@media (max-width: 768px) {
    .post-thumbnail img {
        width: 100%;
        height: 140px;
        object-fit: cover;
    }

}


@media (min-width: 768px) and (max-width: 1024px) {

.post-thumbnail img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}
.author-bio p{
    font-size: 12px !important;
    font-family: 'Poppins' !important;
}
.author-name {
    font-size: 18px !important;
    font-family: 'Poppins' !important;
}
}

.site-content {
    padding: 40px !important;
}