/**
 * Eho - RokSprocket Complete Integration
 * Compiled from demo-styles.less
 */

/* RokSprocket Showcase/Slideshow */
.fp-roksprocket-slideshow,
.sprocket-features.layout-slideshow {
    margin: 15px 0;
    position: relative;
}

.layout-slideshow .sprocket-features-pagination {
    top: 15px;
    right: 20px;
    left: inherit;
    position: absolute;
    z-index: 100;
}

.layout-slideshow .sprocket-features-pagination span {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.layout-slideshow .sprocket-features-pagination span:hover,
.layout-slideshow .sprocket-features-pagination span.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.layout-slideshow .sprocket-features-content {
    bottom: 15px;
    left: 15px;
    position: absolute;
    z-index: 50;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px 25px;
    border-radius: 8px;
    max-width: 50%;
}

.layout-slideshow .sprocket-features-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.layout-slideshow .sprocket-features-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.sprocket-features-img-container img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* RokSprocket Lists */
.fp-roksprocket-lists-1,
.fp-roksprocket-lists-2,
.sprocket-lists {
    .sprocket-lists-container {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .sprocket-lists-container li {
        padding: 15px;
        margin-bottom: 10px;
        border-radius: 6px;
        transition: all 0.3s;
        cursor: pointer;
    }
    
    .sprocket-lists-container li:hover {
        background: linear-gradient(to right,
            transparent,
            color-mix(in srgb, var(--main-accent, #E37C00) 20%, transparent) 30%,
            color-mix(in srgb, var(--main-accent, #E37C00) 70%, transparent));
    }
    
    .sprocket-lists-title {
        font-family: 'Montserrat', sans-serif;
        font-size: 18px;
        font-weight: 600;
        margin: 0 0 8px 0;
    }
    
    .sprocket-lists-title a {
        color: var(--main-accent, #E37C00);
        text-decoration: none;
        transition: color 0.3s;
    }
    
    .sprocket-lists-title a:hover {
        color: var(--body-title, #fff);
    }
    
    .sprocket-lists-desc {
        font-size: 13px;
        line-height: 1.6;
        color: var(--body-text, #777);
    }
    
    .sprocket-lists-image {
        border-radius: 5px;
        padding: 4px;
        background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.5),
            rgba(255, 255, 255, 0.1) 100%,
            rgba(255, 255, 255, 0.2));
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    }
    
    .sprocket-lists-image img {
        display: block;
        max-width: 100%;
        border-radius: 3px;
    }
}

.fp-roksprocket-lists-1 {
    margin: 30px 0 20px 0 !important;
    
    .sprocket-lists-title {
        cursor: text;
    }
}

.fp-roksprocket-lists-2 {
    .sprocket-lists-title a {
        color: var(--body-text, #777);
    }
    
    .sprocket-lists-item .readon-wrapper {
        margin-left: 87px;
    }
    
    .readon-wrapper .readon {
        color: var(--main-accent, #E37C00) !important;
        background: none;
        border: 0 none;
        box-shadow: none;
        font-size: 105%;
        font-weight: bold;
        padding: 0;
        margin: 10px 0 0 0;
    }
    
    .readon-wrapper .readon:hover {
        color: var(--body-text, #777) !important;
    }
}

/* RokSprocket Tabs */
.fp-roksprocket-tabs,
.sprocket-tabs {
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0.3),
        transparent 30%,
        transparent);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 8px;
}

.sprocket-tabs .sprocket-tabs-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.sprocket-tabs .sprocket-tabs-nav li {
    margin-right: 5px;
}

.sprocket-tabs .sprocket-tabs-nav li a {
    display: block;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 8px 8px 0 0;
    text-decoration: none;
    color: var(--body-text, #777);
    font-weight: 600;
    transition: all 0.3s;
}

.sprocket-tabs .sprocket-tabs-nav li.active a,
.sprocket-tabs .sprocket-tabs-nav li a:hover {
    background: var(--main-accent, #E37C00);
    color: #fff;
}

.sprocket-tabs .sprocket-tabs-container {
    padding: 20px 0;
}

.sprocket-tabs .img {
    margin: 0 0 15px 0;
    overflow: hidden;
    border-radius: 8px;
}

.sprocket-tabs .img img {
    position: relative;
    max-width: 100%;
    transition: transform 0.3s;
}

.sprocket-tabs .img:hover img {
    transform: scale(1.05);
}

/* RokSprocket Mosaic */
.sprocket-mosaic {
    .sprocket-mosaic-item {
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        margin-bottom: 20px;
    }
    
    .sprocket-mosaic-item img {
        width: 100%;
        transition: transform 0.3s;
    }
    
    .sprocket-mosaic-item:hover img {
        transform: scale(1.1);
    }
    
    .sprocket-mosaic-item .sprocket-mosaic-text {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.8);
        padding: 20px;
        transform: translateY(100%);
        transition: transform 0.3s;
    }
    
    .sprocket-mosaic-item:hover .sprocket-mosaic-text {
        transform: translateY(0);
    }
    
    .sprocket-mosaic-title {
        font-family: 'Montserrat', sans-serif;
        font-size: 18px;
        font-weight: 600;
        color: #fff;
        margin: 0 0 10px 0;
    }
}

/* RokSprocket Headlines */
.sprocket-headlines {
    .sprocket-headlines-container {
        background: rgba(0, 0, 0, 0.05);
        padding: 15px;
        border-radius: 8px;
        border-left: 4px solid var(--main-accent, #E37C00);
    }
    
    .sprocket-headlines-title {
        font-family: 'Montserrat', sans-serif;
        font-size: 20px;
        font-weight: 600;
        margin: 0 0 10px 0;
    }
    
    .sprocket-headlines-title a {
        color: var(--body-title, #fff);
        text-decoration: none;
    }
    
    .sprocket-headlines-desc {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .layout-slideshow .sprocket-features-content {
        max-width: 90%;
        left: 5%;
        right: 5%;
        bottom: 10px;
        padding: 15px;
    }
    
    .layout-slideshow .sprocket-features-title {
        font-size: 18px;
    }
    
    .sprocket-tabs .sprocket-tabs-nav {
        flex-direction: column;
    }
    
    .sprocket-tabs .sprocket-tabs-nav li {
        margin-right: 0;
        margin-bottom: 5px;
    }
}

/* Light Theme Adjustments */
.main-body-style-light .sprocket-lists-container li:hover {
    background: linear-gradient(to right,
        transparent,
        color-mix(in srgb, var(--main-accent, #395CC2) 15%, transparent) 30%,
        color-mix(in srgb, var(--main-accent, #395CC2) 60%, transparent));
}

.main-body-style-light .sprocket-tabs-nav li a {
    background: rgba(255, 255, 255, 0.5);
    color: var(--body-text, #585858);
}
