/* Sidebar Styles - Globális stílusok minden sidebar-hoz */

/* Post Sidebar (alapértelmezett) */
.post-sidebar {
    position: static;
}

.post-sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.post-sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #212529;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.post-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.post-sidebar-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.post-sidebar-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.post-sidebar-number {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.post-sidebar-image {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    display: block;
}

.post-sidebar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-sidebar-image:hover img {
    transform: scale(1.1);
}

.post-sidebar-content {
    flex: 1;
    min-width: 0;
}

.post-sidebar-title-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: #212529;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    transition: color 0.2s;
}

.post-sidebar-title-link:hover {
    color: #28a745;
}

.post-sidebar-meta {
    font-size: 0.8rem;
    color: #868e96;
}

/* Magazine Sidebar - kompatibilitás (ugyanazok az osztályok, csak más névvel) */
.magazine-sidebar {
    position: static;
}

.magazine-sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.magazine-sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #212529;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.magazine-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.magazine-sidebar-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.magazine-sidebar-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.magazine-sidebar-number {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.magazine-sidebar-image {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    display: block;
}

.magazine-sidebar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.magazine-sidebar-image:hover img {
    transform: scale(1.1);
}

.magazine-sidebar-content {
    flex: 1;
    min-width: 0;
}

.magazine-sidebar-title-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: #212529;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    transition: color 0.2s;
}

.magazine-sidebar-title-link:hover {
    color: #28a745;
}

.magazine-sidebar-meta {
    font-size: 0.8rem;
    color: #868e96;
}

@media (max-width: 768px) {
    .post-sidebar,
    .magazine-sidebar {
        position: static;
    }
}

