
/* Author Kit Archive Template Scoped CSS */
#author-kit-archive-template {
    all: initial; /* Reset everything inside */
    box-sizing: border-box;
    font-family: inherit;

  }


  
#author-kit-archive-template  p ,h1, h2,span ,div ,h4 ,a ,h3  {
   box-sizing: border-box;
}

#author-kit-archive-template {
width: 100%;
height: auto;
margin: 0;

}

.author-kit-bio-container {
    display: flex;
    flex-direction: row;
    gap: 15px;
    padding: 80px 120px;

}
.author-kit-avatar-wrapper {
   width: auto;
    height: auto;
    min-width: fit-content;
    display: flex;
    justify-content: center;
}
.author-kit-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}
.author-kit-bio-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    font-family: inherit;
    gap: 5px;
 
   
   
}
.author-kit-name {
    font-size: 24px;
    font-weight: bold;
    margin-top: 0px;
        margin-bottom: 0px

}
.author-kit-job-title{

    font-size: 16px;
    text-align: left;

}
.author-kit-name > span > i{
    font-size: 17px;
}
.author-kit-description {
    color: #5a5a5a;
    font-size: 16px;
    display: block;
    max-width: 80%; 
    margin: 0px;

    margin-top: 8px;
    line-height: 1.5;
}



.author-kit-posts-title {
    font-size: 16px;
    color: #333;
    padding: 12px 0px;
    font-family: inherit;
    display: flex;
    align-items: center;  /* Vertically center items */
    justify-content: left;  /* Aligns items to the center horizontally */
    gap: 5px;
}

.author-kit-posts-title  #post-title {
    font-size: inherit !important;
    margin: 0;
}

.author-kit-posts-title #author-name {
    font-size: inherit !important;
    margin: 0;
}


.author-kit-posts-grid {

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    box-sizing: border-box;
    margin-top: 10px;
}

.author-kit-post-item {
    background: #ffffff;
    box-sizing: border-box;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    display: flex;
    flex-direction: column;

    overflow: hidden;
}

.author-kit-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
#author-kit-archive-template .author-kit-posts-title{
    margin-bottom: 20px;
}

.author-kit-post-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: grayscale(1);
   
 
}

h4.author-kit-post-title ,#author-kit-archive-template h4{
    font-weight: 700;
    margin: 8px 0px;
    line-height: 1.4;
}

h4.author-kit-post-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease-in-out;
}


.author-kit-post-excerpt > p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 6px 0px;
}

.author-kit-post-meta {
    font-size: 12px;
    color: #888;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

/* Styling for Author and Date */
.author-kit-post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.author-kit-post-meta .author-name {
    font-weight: 600;
}


/* ✅ Pagination Container */
.author-kit-pagination-container {

    display: flex;
    justify-content: center;
    gap: 10px;
    padding-top: 40px;
    padding-bottom: 60px;
    padding-left: 120px ;
    padding-right: 120px;
}

/* ✅ Links (Remove Underline) */
.author-kit-pagination-container a {
    text-decoration: none;
}

/* ✅ Previous & Next Buttons */
.author-kit-pagination-prev, 
.author-kit-pagination-next {
    padding: 8px 14px;
    background: #0073e6;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.author-kit-pagination-prev:hover, 
.author-kit-pagination-next:hover {
    background: #005bb5;
}

/* ✅ Pagination Numbers */
.author-kit-pagination-page {
    padding: 6px 12px;
    color: #333;
    background-color: ghostwhite;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

/* ✅ Hover Effect for Numbers */
.author-kit-pagination-container a:hover .author-kit-pagination-page {
    background: #0073e6;
    color: white;
}

/* ✅ Active Page State */
.author-kit-pagination-container .current .author-kit-pagination-page {
    background: #0073e6;
    color: white;
    font-weight: bold;
    pointer-events: none;
}
.author-kit-social-links{
    margin-top: 8px;
    
}
.author-kit-social-icons-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px; /* Increased gap for better spacing between icons */
    justify-content: flex-start; /* Align left by default, can be changed if needed */
}

a.author-kit-social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    text-decoration: none !important;
}

a#author-kit-circle{
    border-radius: 50% !important;

}
a#author-kit-square{
    border-radius: 5px !important;
}
.author-kit-social-icon i {
    line-height: 1;
    color: white ;
}

.author-kit-social-icon:hover {
    transform: scale(1.2);
    opacity: 0.85;
}
/* Mobile adjustments (below 768px) */
@media (max-width: 767px) {
    .author-kit-social-icons-list {
        gap: 10px; /* Smaller gap between icons */
        justify-content: flex-start;
        padding: 6px 0;
    }

    a.author-kit-social-icon {
        width: 33px;
        height: 33px;
    }
    #author-kit-archive-template .author-kit-posts {
        padding: 20px 0px;
    }

    
}
/* ✅ Mobile-Friendly Adjustments */
@media (max-width: 768px) {
    .author-kit-pagination-container {
        gap: 6px;
        margin: 0px;
    }

    .author-kit-pagination-prev,
    .author-kit-pagination-next,
    .author-kit-pagination-page {
        padding: 6px 12px;
        font-size: 14px;
        border-radius: 8px;
    }
}

@media screen and (max-width: 768px) {

    /* ✅ Remove outer padding for a full-width experience */
    #author-kit-archive-template {
        padding: 0;
    }

    /* ✅ Bio section becomes a vertical stack */
    .author-kit-bio-container {
        flex-direction: column;
        align-items: left;
        text-align: left;
        padding: 30px 20px;
        gap: 10px;
        border-radius: 0px;
    }

    /* ✅ Avatar section centered with reduced size */
    .author-kit-avatar-wrapper {
        max-width: 100%;
        min-width: unset;
        margin: 0;
        justify-content: left;
    }

    .author-kit-avatar {
        width: 100px;
        height: 100px;
    }

    /* ✅ Adjust text sizes for better readability */
    .author-kit-name {
        font-size: 16px;
        margin-top: 6px;
    }

    .author-kit-description {
        font-size: 13px;
        max-width: 100%;
        
    }

    .author-kit-social-label {
        font-size: 12px;
        margin-top: 8px;
    }
   
    
    .author-kit-social-links > a:focus, 
    .author-kit-social-links > a:active, 
    .author-kit-social-links > a:hover, 
    .author-kit-social-links > a:visited, 
    .author-kit-social-links > a:focus-visible {
        outline: none;
        border: none;
    }
    


    /* ✅ Posts section adjustments */
    .author-kit-posts{
        padding: inherit;
        box-sizing: border-box;
      
    }
    .author-kit-posts-title {
        padding-left: 10px ;
        padding-right: 10px;
        font-size: 14px;

    }

    .author-kit-posts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 5px;
    }

    .author-kit-post-item {
        padding: 15px;
        border-radius: 6px;
    }

    .author-kit-post-thumbnail {
        height: 160px;
        border-radius: 6px;
    }

    .author-kit-post-title {
        font-size: 16px;
    }

    .author-kit-post-excerpt {
        font-size: 13px;
    }

    .author-kit-post-meta {
        font-size: 11px;
        flex-direction: row;
        align-items: flex-start;
    }

    /* ✅ Pagination adjustments */
  
  

    .author-kit-pagination-container {
        padding-top: 25px;
           padding-bottom: 50px;
    }



    .author-kit-pagination-prev, .author-kit-pagination-next {
        padding: 6px 12px;
        font-size: 14px;
    }
}
