.featured-authors {
    margin: 40px 0 0 0;
    /* background-color: #34495e; */
    background: linear-gradient(135deg, #0d2f47, #2980b9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 40px 0;
    position: relative;
    width: 100%;
}

.featured-authors-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}


.title-decoration .line {
    background-color: rgba(255, 255, 255, 0.6);
}
.title-decoration h2 {
    color: #fff;
    font-size: 24px;
    margin: 0;
    font-weight: 600;
    letter-spacing: 2px;
}

.line {
    height: 2px;
    width: 80px;
    background-color: rgba(255, 255, 255, 0.5);
    position: relative;
}

.line::before,
.line::after {
    content: '◆';
    position: absolute;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.line::before {
    left: -6px;
}

.line::after {
    right: -6px;
}

.authors-slider {
    position: relative;
    overflow: hidden;
}

.authors-container {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    padding: 20px 0;
}

.author-card {
    flex: 0 0 160px;
    text-align: center;
}

.author-image {
    width: 140px;
    height: 140px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.author-image:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.9);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-card h3 {
    color: #fff;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
    border: none;
    color: white;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 20px;
    z-index: 2;
    transition: background-color 0.3s ease;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.prev-btn {
    left: -12px;
}

.next-btn {
    right: -12px;
}

/* Hide Featured Authors section on mobile */
@media (max-width: 768px) {
    .featured-authors {
        display: none;
    }
}

.author-card a{
    text-decoration: none;
}