/* =========================================================================
 * CSS ΟΛΟΚΛΗΡΩΜΕΝΩΝ ΕΚΔΗΛΩΣΕΩΝ (ΚΑΘΑΡΟ ΧΩΡΙΣ !IMPORTANT)
 * ========================================================================= */
.pk-past-wrap { 
    width: 100%; 
    box-sizing: border-box; 
    margin: 20px 0; 
    min-height: 600px; 
    font-family: var(--pk-font-family);
}
.pk-past-custom-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 25px; 
    width: 100%; 
    box-sizing: border-box; 
    align-items: stretch; 
    animation: pkPastFade 0.2s ease-in-out; 
}

@keyframes pkPastFade { from { opacity: 0.3; } to { opacity: 1; } }

@media (max-width: 992px) { 
    .pk-past-custom-grid { grid-template-columns: repeat(2, 1fr); } 
}
@media (max-width: 768px) { 
    .pk-past-custom-grid { grid-template-columns: 1fr; } 
}

/* -------------------- ΚΑΡΤΑ -------------------- */
.pk-past-card { 
    background: #fff; 
    border-radius: 10px; 
    overflow: hidden; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); 
    border: 1px solid #d1d1d1; 
    display: flex; 
    flex-direction: column; 
    font-family: var(--pk-font-family);
    transition: transform 0.2s, box-shadow 0.2s; 
    height: 100%; 
    position: relative; 
}
.pk-past-card:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.15); 
}
.pk-past-card-top { 
    padding: 12px 15px; 
    text-align: center; 
    height: 98px; 
    flex-shrink: 0; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}
.pk-past-card-cats { 
    display: flex; 
    justify-content: center; 
    gap: 5px; 
    margin-bottom: 8px; 
    flex-wrap: nowrap; 
    overflow: hidden; 
    height: 22px; 
}
.pk-past-card-cat-badge { 
    background: #f0f0f0; 
    color: #555; 
    padding: 3px 8px; 
    border-radius: 12px; 
    font-size: 11px; 
    font-weight: bold; 
    text-transform: uppercase; 
    white-space: nowrap; 
}
.pk-past-card-title { 
    font-size: 15px; 
    font-weight: 900; 
    color: #222; 
    line-height: 1.4; 
    margin: 0; 
    height: 42px; 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
}

.pk-past-card-media { 
    position: relative; 
    width: 100%; 
    height: 460px; 
    background: #f8f9fa; 
    border-top: 1px solid #f0f0f0; 
    border-bottom: 1px solid #f0f0f0; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
}
.pk-past-card-media img { 
    position: relative; 
    max-width: 92%; 
    max-height: 92%; 
    width: auto; 
    height: auto; 
    object-fit: contain; 
    border-radius: 12px; 
    box-shadow: 0 8px 25px rgba(0,0,0,0.25); 
    filter: grayscale(80%); 
    z-index: 1; 
    transition: transform 0.4s; 
}
.pk-past-card:hover .pk-past-card-media img { transform: scale(1.03); }

.pk-past-card-media:has(img) .pk-past-no-img { display: none; }

.pk-past-card-bottom { 
    padding: 10px 15px; 
    background: #fafafa; 
    flex-shrink: 0; 
    height: 75px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    gap: 4px; 
    box-sizing: border-box; 
}
.pk-past-card-row { 
    display: flex; 
    align-items: flex-start; 
    gap: 6px; 
    font-size: 12px; 
    color: #444; 
}
.pk-past-card-link { 
    color: #333; 
    font-weight: 600; 
    text-decoration: none; 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
}
.pk-past-card-link:hover { color: #0055cc; }
.pk-past-no-img { 
    position: absolute; 
    width: 100%; 
    height: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #999; 
    font-size: 14px; 
    background: #f0f0f0; 
    font-weight: bold; 
    z-index: 0; 
}