/* LinkedIn Posts Slider - slider.css */

.lps-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 32px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    user-select: none;
}

/* Track */
.lps-slider-track-container {
    overflow: hidden;
    border-radius: 12px;
}

.lps-slider-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Slide */
.lps-slide {
    flex: 0 0 auto;
    padding: 0 8px;
    box-sizing: border-box;
}

/* Card */
.lps-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 220px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.lps-card:hover {
    box-shadow: 0 6px 28px rgba(10,102,194,0.14);
    transform: translateY(-2px);
}

/* Media */
.lps-card-media {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #f3f4f6;
}

.lps-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Body */
.lps-card-body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lps-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.lps-linkedin-icon {
    flex-shrink: 0;
}

.lps-date {
    font-size: 12px;
    color: #6b7280;
    letter-spacing: 0.02em;
}

.lps-text {
    font-size: 14px;
    line-height: 1.65;
    color: #374151;
    flex: 1;
    margin: 0 0 14px;
    word-break: break-word;
}

.lps-read-more {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #0a66c2;
    text-decoration: none;
    margin-top: auto;
    transition: color 0.2s;
}

.lps-read-more:hover {
    color: #004182;
    text-decoration: underline;
}

/* Nav buttons */
.lps-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    padding: 0;
}

.lps-btn:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: #fff;
}

.lps-btn-prev { left: -20px; }
.lps-btn-next { right: -20px; }

/* Dots */
.lps-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
}

.lps-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    border: none;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.lps-dot.active {
    background: #0a66c2;
    transform: scale(1.3);
}

/* Error */
.lps-error {
    border: 1px solid #fca5a5;
    background: #fef2f2;
    border-radius: 8px;
    padding: 16px 20px;
    color: #b91c1c;
    font-size: 14px;
    margin: 16px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .lps-btn-prev { left: -10px; }
    .lps-btn-next { right: -10px; }
    .lps-btn { width: 34px; height: 34px; font-size: 18px; }
}
