/* Sidebar List style — narrow vertical list with circular thumb */

.lpc-style-sidebar {
    --lpc-thumb-size: 72px;
    max-width: 100%;
    padding: 20px 16px;
    margin: 20px auto;
}

/* Header */
.lpc-style-sidebar .lpc-header {
    margin-bottom: 8px;
    padding-bottom: 6px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
}
.lpc-style-sidebar .lpc-header-text { min-width: 0; }
.lpc-style-sidebar h2.lpc-title {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 6px 0;
    letter-spacing: -0.3px;
}

/* Accent underline under header (small orange bar) */
.lpc-style-sidebar.lpc-has-accent h2.lpc-title {
    position: relative;
    padding-bottom: 10px;
}
.lpc-style-sidebar.lpc-has-accent h2.lpc-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--lpc-highlight);
    border-radius: 2px;
}

.lpc-style-sidebar .lpc-subtitle {
    font-size: 13px;
    margin: 0;
}

/* "View All" — compact text link in sidebar */
.lpc-style-sidebar .lpc-view-all {
    align-self: flex-start;
    margin-top: 6px;
    padding: 5px 0;
    border: none;
    background: transparent;
    color: var(--lpc-highlight);
    font-size: 13px;
    font-weight: 600;
}
.lpc-style-sidebar .lpc-view-all:hover {
    background: transparent;
    color: var(--lpc-highlight);
    box-shadow: none;
    text-decoration: underline;
    transform: none;
}

/* The list */
.lpc-sidebar-list {
    display: flex;
    flex-direction: column;
}

/* Each item */
.lpc-sb-item {
    padding: 18px 0;
}
.lpc-style-sidebar.lpc-has-divider .lpc-sb-item + .lpc-sb-item {
    border-top: 1px solid #e2e8f0;
}

.lpc-sb-link {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
}

/* Image position: left (default if 'left'), right (default), none */
.lpc-style-sidebar.lpc-img-left  .lpc-sb-link { flex-direction: row; }
.lpc-style-sidebar.lpc-img-right .lpc-sb-link { flex-direction: row-reverse; }

/* Thumbnail */
.lpc-sb-thumb {
    width: var(--lpc-thumb-size);
    height: var(--lpc-thumb-size);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}
.lpc-style-sidebar.lpc-shape-circle .lpc-sb-thumb { border-radius: 50%; }
.lpc-style-sidebar.lpc-shape-square .lpc-sb-thumb { border-radius: 10px; }

.lpc-sb-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.lpc-sb-item:hover .lpc-sb-thumb img { transform: scale(1.06); }

/* Content */
.lpc-sb-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lpc-sb-cat {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--lpc-highlight);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.lpc-style-sidebar h3.lpc-sb-title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
    color: var(--lpc-title);
    transition: color 0.2s ease;
    border: none;
    padding: 0;
    text-transform: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lpc-sb-item:hover h3.lpc-sb-title { color: var(--lpc-highlight); }

/* Hide image area when no image mode */
.lpc-style-sidebar.lpc-img-none .lpc-sb-link { gap: 0; }

/* Responsive — stays compact on mobile */
@media (max-width: 600px) {
    .lpc-style-sidebar {
        padding: 16px 12px;
    }
    .lpc-style-sidebar h3.lpc-sb-title {
        font-size: 15.5px;
    }
    .lpc-style-sidebar { --lpc-thumb-size: 64px; }
}
