/* Główny kontener ukryty dla mniejszych ekranów (mobile) */
.gzm-recipe-sidebar {
    display: none;
    z-index: 99;
}

@media screen and (min-width: 1250px) {
    .gzm-recipe-sidebar {
        display: block;
        width: 260px;
        /* Dynamiczne wyśrodkowanie w pustym polu po prawej stronie */
        /* Wzór: środek prawej przestrzeni minus połowa szerokości panelu (130px) */
        left: calc(75vw + 200px - 130px);
    }
    
    .gzm-sidebar-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media screen and (min-width: 1400px) {
    .gzm-recipe-sidebar {
        width: 320px;
        /* Połowa 320 to 160 */
        left: calc(75vw + 200px - 160px);
    }

    .gzm-sidebar-link {
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px !important;
    }
}

.gzm-recipe-sidebar-inner {
    background: #fff;
    /* Duzo bardziej elegancki, delikatny i rozmyty cień pasujący do bloga */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03), 0 2px 10px rgba(0, 0, 0, 0.02); 
    border: 1px solid #fcfcfc;
    border-radius: 6px;
    padding: 30px; 
}

.gzm-sidebar-title {
    /* Ustawienie specjalnej czcionki dla nagłówka bocznego */
    font-family: "Playfair Display", serif; 
    font-size: 1.15rem;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500; /* w sam raz: półgruby */
    color: #222;
    text-align: center;
    border-bottom: 1px solid #f2f2f2;
    padding-bottom: 15px;
}

.gzm-sidebar-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.gzm-sidebar-item {
    margin-bottom: 25px;
}

.gzm-sidebar-item:last-child {
    margin-bottom: 0;
}

.gzm-sidebar-link {
    display: flex;
    text-decoration: none !important;
    color: #333 !important;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.gzm-sidebar-link:hover {
    opacity: 0.7;
    transform: translateX(4px); /* Płynne, delikatne przesunięcie w prawo przy najechaniu */
}

/* Duża miniatura wg wskazań */
.gzm-sidebar-thumb {
    width: 85px;
    height: 85px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    background-color: #f7f7f7;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* Lekki cień na samego obrazka */
}

.gzm-sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gzm-sidebar-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: #eaeaea;
}

.gzm-sidebar-info {
    flex-grow: 1;
}

.gzm-sidebar-post-title {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}

.gzm-recipe-sidebar {
    max-height: 85vh;
    overflow-y: auto;
}

.gzm-recipe-sidebar::-webkit-scrollbar {
    width: 5px;
}
.gzm-recipe-sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.gzm-recipe-sidebar::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 8px;
}
