/*css*/

.container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1140px !important;
}
/* Add to your CSS */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

.viewspaper-header {
    margin: 50px 0;
}

.viewspaper-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    letter-spacing: 8px;
    font-weight: 700;
}



.viewspaper-nav {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
}

.viewspaper-nav a {
    color: #000;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.viewspaper-nav a:hover {
    opacity: 0.7;
}

/* SAFE PATCH: separators μόνο μεταξύ των li */
.viewspaper-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.viewspaper-nav ul > li + li::before {
    content: "|";
    display: inline-block;
    margin: 0 1rem;
    color: #000;
    font-weight: normal;
}

/* Αν έχουν μείνει παλιοί separators από walker/span, κρύψ' τους */
.viewspaper-nav .menu-separator { 
    display: none !important; 
}


/* Make all images black and white */
.card img {
    filter: grayscale(100%);
}


/* Add to your CSS */
.card {
    overflow: hidden;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    opacity: 0;
}

.card:hover .card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.card-text {
    color: white;
}

/* For mobile devices */
@media (hover: none) {
    .card-overlay {
        transform: translateY(0);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .card:active .card-overlay {
        opacity: 1;
    }
}


.close-button {
    position: absolute;
    top: -1rem;
    right: 0rem;
    font-size: 1.5rem;
    color: white;
   
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 10;
    transition: background 0.3s ease;
}

.close-button:hover {
    background: rgba(0,0,0,0.8);
}

/* Μόνο για κινητές */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
}
