/* Slider Template */
.tmnl-slider-wrap {
    position: relative;
    overflow: hidden;
    margin: 24px 0;
}
.tmnl-slider-track {
    display: flex;
    transition: transform 0.4s ease;
}
.tmnl-slide {
    flex: 0 0 100%;
    padding: 0 8px;
    box-sizing: border-box;
}
.tmnl-slide-inner {
    background: var(--tmnl-bg, #fff);
    color: var(--tmnl-text, #334155);
    border: 1px solid var(--tmnl-border, #e2e8f0);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
}
.tmnl-slide-inner .tmnl-stars {
    color: #f5a623;
    font-size: 20px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 16px;
}
.tmnl-slide-inner .tmnl-text {
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 16px;
    color: var(--tmnl-text, #334155);
}
.tmnl-slide-inner .tmnl-author-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.tmnl-slide-inner .tmnl-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.tmnl-slide-inner .tmnl-author {
    font-weight: 600;
    font-size: 14px;
    color: var(--tmnl-author, #1e293b);
}
.tmnl-slide-inner .tmnl-source {
    font-size: 11px;
    background: var(--tmnl-badge-bg, #f1f5f9);
    color: var(--tmnl-badge-text, #64748b);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
}
.tmnl-slide-inner .tmnl-date {
    font-size: 12px;
    color: var(--tmnl-muted, #94a3b8);
    margin-top: 8px;
}

/* Navigation arrows */
.tmnl-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 36px;
    text-align: center;
    z-index: 2;
    transition: background 0.2s;
}
.tmnl-slider-nav:hover {
    background: rgba(0,0,0,0.6);
}
.tmnl-slider-prev { left: 8px; }
.tmnl-slider-next { right: 8px; }

/* Dots */
.tmnl-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
.tmnl-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--tmnl-border, #ccc);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}
.tmnl-slider-dot.active {
    background: #f5a623;
}

/* X Embed in slider */
.tmnl-slide-inner .tmnl-embed-wrap blockquote {
    margin: 0 0 16px;
}

/* Color schemes */
.tmnl-color-light .tmnl-slide-inner {
    --tmnl-bg: #fff;
    --tmnl-text: #334155;
    --tmnl-border: #e2e8f0;
    --tmnl-author: #1e293b;
    --tmnl-muted: #94a3b8;
}
.tmnl-color-dark .tmnl-slide-inner {
    --tmnl-bg: #1e293b;
    --tmnl-text: #e2e8f0;
    --tmnl-border: #334155;
    --tmnl-author: #f1f5f9;
    --tmnl-muted: #64748b;
}
