.papyrus-authors-widget-wrapper {
    direction: rtl;
    width: 100%;
    margin-bottom: 30px;
    font-family: inherit;
}

/* Header Match */
.papyrus-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.papyrus-carousel-title {
    font-size: 22px;
    line-height: 32.1px;
    font-weight: 500;
    color: #252525;
    margin: 0;
}

.papyrus-carousel-action {
    color: #e08600;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
}

.papyrus-carousel-action:hover {
    color: #e08600;
}

/* Item Styling (Mimicking Screenshot) */
.papyrus-author-item-wrap {
    padding: 0 6px; /* Gap between slides */
}

.papyrus-author-item {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 0px;
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.papyrus-author-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.papyrus-author-img-link img {
    display: block;
    margin: 0 auto 15px;
    width: 179px;
    height: 179px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease; /* ایجاد حرکت نرم */
}

/* افکت زوم در زمان قرار گرفتن موس روی باکس */
.papyrus-author-item:hover .papyrus-author-img-link img {
    transform: scale(1.08); /* زوم ملایم ۸ درصدی */
}

.papyrus-author-name {
    font-size: 14px;
    margin: 0 0 10px;
    line-height: 1.4;
}

.papyrus-author-name a {
    color: #252525;
    text-decoration: none;
    transition: color 0.2s;
}

.papyrus-author-name a:hover {
    color: #e08600;
}

.papyrus-author-count {
    display: block;
    color: #e08600; /* Matched orange text from screen */
    font-size: 14px;
    font-weight: 500;
}

/* Slick Arrows mimicking the orange circles */
.papyrus-authors-carousel {
    position: relative;
}

.papyrus-authors-carousel .papyrus-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 45px;
    height: 45px;
    background-color: #e08600;
    border: none;
    border-radius: 50%;
    color: #252525;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.papyrus-authors-carousel .papyrus-arrow:hover {
    background-color: #81d742;
}

.papyrus-authors-carousel .papyrus-next {
    left: -22px; /* Adjust based on container */
}

.papyrus-authors-carousel .papyrus-prev {
    right: -20px; /* Adjust based on container */
}

@media (max-width: 767.98px) {
.papyrus-carousel-title {
    font-size: 18px;
    line-height: 30px
}
}