/* Custom styling for trending stories/authors carousel to match the reference design */

.back-trending-stories {
    background: #ffffff !important; /* White background as in the image */
    padding: 70px 0 75px;
}

/* Hide navigation arrows, use only the top bar dots */
.back-trending-stories .owl-nav {
    display: none !important;
}

/* Owl dots top bar styling */
.back-trending-stories .owl-carousel {
    display: flex;
    flex-direction: column;
}

.back-trending-stories .owl-carousel .owl-stage-outer {
    order: 2; /* Carousel stage at the bottom */
}

.back-trending-stories .owl-carousel .owl-dots {
    order: 1; /* dots at the top */
    display: flex;
    justify-content: center;
    align-items: center;
    background: none !important; /* Remove background bar */
    padding: 10px 0;
    margin-bottom: 30px;
    width: 100%;
}

.back-trending-stories .owl-carousel .owl-dots .owl-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1 !important; /* Light gray/blue dots */
    margin: 0 5px;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

.back-trending-stories .owl-carousel .owl-dots .owl-dot.active {
    background: #1a365d !important; /* Active dot is dark blue */
    transform: scale(1.25);
}

/* Carousel list items styling */
.back-trending-stories ul.back-trending-slider li {
    background: none !important; /* Remove card background */
    box-shadow: none !important;
    text-align: center !important;
    margin: 0 15px;
}

/* Oval/circular portrait image */
.back-trending-stories ul.back-trending-slider li .image-areas {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.back-trending-stories ul.back-trending-slider li .image-areas a img.author-portrait {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Perfect circle / oval shape */
    object-fit: cover;
    filter: grayscale(100%); /* Grayscale portrait */
    transition: filter 0.4s ease, transform 0.4s ease;
    margin: 0 auto;
    display: block;
}

.back-trending-stories ul.back-trending-slider li:hover .image-areas a img.author-portrait {
    filter: grayscale(0%); /* Premium hover effect */
    transform: scale(1.03);
}

/* Remove job badge from image areas since it's not in the design */
.back-trending-stories ul.back-trending-slider li .image-areas .back-cate {
    display: none !important;
}

/* Author info container */
.back-trending-stories ul.back-trending-slider li .back-btm-content {
    padding: 0 !important;
    text-align: center !important;
}

/* Author Name style */
.back-trending-stories ul.back-trending-slider li .back-btm-content h3.author-name {
    font-family: 'SpartanBold', sans-serif;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px 0 !important;
    line-height: 1.4;
    text-align: center !important;
}

.back-trending-stories ul.back-trending-slider li .back-btm-content h3.author-name a {
    color: #1a365d !important; /* Theme dark blue color */
    background-image: none !important; /* Remove underline gradient */
    text-decoration: none !important;
}

.back-trending-stories ul.back-trending-slider li .back-btm-content h3.author-name a:hover {
    color: #2b6cb0 !important;
}

/* Colored horizontal divider line */
.back-trending-stories ul.back-trending-slider li .back-btm-content .author-divider {
    width: 25px;
    height: 2px;
    background-color: #3b82f6; /* Blue divider line */
    margin: 8px auto !important;
    display: block;
}

/* Article/Column post title style */
.back-trending-stories ul.back-trending-slider li .back-btm-content p.post-title {
    font-family: 'SpartanMedium', sans-serif;
    font-size: 13px;
    color: #2d3748 !important;
    line-height: 1.6;
    margin: 0 !important;
    text-align: center !important;
    padding: 0 10px;
    font-weight: 500;
}

.back-trending-stories ul.back-trending-slider li .back-btm-content p.post-title a {
    color: #2d3748 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-trending-stories ul.back-trending-slider li .back-btm-content p.post-title a:hover {
    color: #3b82f6 !important;
}
