
.lp-sidebar {
    position: sticky;
    top: var(--sh-total-height, 140px);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    align-self: start;
}
.lp-sidebar__title {
    margin: 0 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--fe-color-text-muted);
    text-transform: uppercase;
}

.lp-sidebar__section {
    min-width: 0;
}

/* Negatif margin, reklam ile altındaki trend kartı arasındaki akış boşluğunu bozup üst üste binmeye yol açıyordu. */
.lp-sidebar__section--ad {
    margin-top: 0.25rem;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    display: flow-root;
    min-width: 0;
}

.lp-sidebar__section--ad + .trend-carousel {
    margin-top: 1rem;
}
.lp-sidebar__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.lp-sidebar__section-title {
    flex: 0 0 auto;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0;
    color: var(--fe-color-text-muted);
    text-transform: uppercase;
}
.lp-sidebar__hr {
    flex: 1 1 auto;
    min-width: 0.5rem;
    height: 3px;
    margin: 0;
    border: none;
    background: linear-gradient(90deg, var(--fe-color-border) 0%, var(--fe-color-primary) 50%, var(--fe-color-border) 100%);
    border-radius: 2px;
}
.lp-sidebar__empty {
    margin: 0;
    font-size: 0.875rem;
    color: var(--fe-color-text-muted);
}

.trend-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--fe-radius-lg, 12px);
    background: var(--fe-color-surface, #fff);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid var(--fe-color-border, #e2e8f0);
}

[data-theme="dark"] .trend-carousel {
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.trend-carousel__track {
    position: relative;
    width: 100%;
}

.trend-carousel__slide {
    display: none;
    width: 100%;
    animation: trend-fadeIn 0.35s ease;
}

.trend-carousel__slide--active {
    display: block;
}

@keyframes trend-fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.trend-carousel__card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.trend-carousel__img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--fe-color-bg-alt, #f1f5f9);
}

.trend-carousel__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.trend-carousel__card:hover .trend-carousel__img img {
    transform: scale(1.05);
}

.trend-carousel__img--placeholder {
    background: linear-gradient(135deg, var(--fe-color-border) 0%, var(--fe-color-bg-alt) 100%);
}

[data-theme="dark"] .trend-carousel__img--placeholder {
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
}

.trend-carousel__body {
    padding: 0.875rem 1rem;
}

.trend-carousel__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--fe-color-text);
    transition: color 0.2s;
}

.trend-carousel__card:hover .trend-carousel__title {
    color: var(--fe-color-primary, #e21b33);
}

.trend-carousel__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 1rem 0.75rem;
}

.trend-carousel__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--fe-color-border, #e2e8f0);
    background: var(--fe-color-surface, #fff);
    color: var(--fe-color-text-muted, #64748b);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    padding: 0;
}

.trend-carousel__arrow:hover {
    border-color: var(--fe-color-primary, #e21b33);
    color: var(--fe-color-primary, #e21b33);
    background: color-mix(in srgb, var(--fe-color-primary, #e21b33) 6%, var(--fe-color-surface, #fff));
}

[data-theme="dark"] .trend-carousel__arrow {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .trend-carousel__arrow:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--fe-color-primary, #e21b33);
}

.trend-carousel__dots {
    display: flex;
    align-items: center;
    gap: 5px;
    max-width: 180px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.trend-carousel__dots::-webkit-scrollbar {
    display: none;
}

.trend-carousel__dot {
    width: 8px;
    height: 8px;
    padding: 6px;
    margin: 0;
    box-sizing: content-box;
    border-radius: 50%;
    border: none;
    background: var(--fe-color-border, #e2e8f0);
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.trend-carousel__dot--active {
    width: 8px;
    height: 8px;
    padding: 6px;
    border-radius: 50%;
    background: var(--fe-color-primary, #e21b33);
}

.trend-carousel__dot:hover:not(.trend-carousel__dot--active) {
    background: var(--fe-color-text-muted, #94a3b8);
}

[data-theme="dark"] .trend-carousel__dot {
    background: rgba(255,255,255,0.15);
}

[data-theme="dark"] .trend-carousel__dot--active {
    background: var(--fe-color-primary, #e21b33);
}

@media (max-width: 1200px) {
    .lp-sidebar { display: none; }
    .lp-body { grid-template-columns: 1fr; }
}
