
  .fixed-col-author {
    position: relative; /* Default for mobile */
    width: 100%; /* Full width on mobile */
    height: auto; /* Adjust height automatically */
    overflow-y: visible;
}

@media (min-width: 768px) {
    .fixed-col-author {
        position: fixed;
        width: 24%;
        height: 100vh;
        overflow-y: auto;
    }
  
}
@media (max-width: 991px) { /* For tablets and smaller screens */
    .scrollable-col-author {
        margin: 0 !important; /* Ensure margin is fully removed */
        width: 100% !important; /* Ensure full width */
    }
  
}

.scrollable-col-author {
    margin-right: 27%; /* Adjust based on the width of the fixed column */
   
    width: 70%; /* Adjust based on your layout */
    overflow-y: auto; /* Scrollable content */
}
.container
{
    color: #251909 !important; /* Highlighted color */
}

.under-stars{
    color: #000;
text-align: center;
/*font-family: "DIN Next LT Arabic";*/
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: 120%; /* 16.8px */
}
/*****************************************************************************************************/
.title-book{
    color: #000;
    text-align: right;
    /*font-family: "DIN Next LT Arabic";*/
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;


}

.stars-count{
    display: flex;

flex-direction: column;
justify-content: center;

    color: #000;
text-align: justify;
/*font-family: "DIN Next LT Arabic";*/
font-size: 24px;
font-style: normal;
font-weight: 500;
line-height: normal;
}
.views-count{
    color: var(--Success-500, #00866B);
text-align: right;
/*font-family: "DIN Next LT Arabic";*/
font-size: 14px;
font-style: normal;
font-weight: 300;
line-height: normal;
}




.scroll-container-author {
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    scroll-behavior: smooth;
}
.overflow-hidden {
    width: 100%;
}
#prevBtn, #nextBtn {
    z-index: 10; /* Ensures buttons appear above books */
}
.costum-title-author{
    color: #000;
text-align: right;
/*font-family: "DIN Next LT Arabic";*/
font-size: 14px;
font-style: normal;
font-weight: 500;
line-height: normal;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%; /* Ensure it doesn't overflow */
display: block;
}
.costum-author{
    color: var(--Gray-800, #2B323B);
text-align: right;
/*font-family: "DIN Next LT Arabic";*/
font-size: 14px;
font-style: normal;
font-weight: 300;
line-height: normal;

}


.stars-count {
margin-left: 8px; /* adjust as needed */
vertical-align: middle;
display: inline-block;
margin-top: 4px;
}

img {
vertical-align: middle;
display: inline-block;

}
.books_count{
    color: var(--Success-500, #00866B);
    text-align: center;
    
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.author_info{
    color: var(--Success-500, #00866B);
text-align: justify;

font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: normal;
}


.scroll-container-author {
    display: flex;
    gap: 15px;
    padding: 10px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.scroll-container-author .card {
    flex: 0 0 auto;
    width: 180px; /* Fixed width for each book */
    transition: transform 0.2s;
}

.scroll-container-author .card:hover {
    transform: scale(1.03);
}

.card-img-top2 {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}