body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f8f9fa;
    color: #333;
}

h1 {
    text-align: center;
    color: #444;
}

h2 {
    margin-top: 20px;
    color: #007bff;
}

/* Keresőmező */
#searchInput {
    display: block;
    margin: 15px auto;
    padding: 10px;
    width: 100%;
    max-width: 400px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Esemény kártya */
.event-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin: 25px auto;
    max-width: 800px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.event-img-small {
    max-width: 250px;
    height: auto;
    border-radius: 5px;
    display: block;
    margin: 10px auto;
    object-fit: cover;
}

/* Archívum alapból rejtve */
#archiv {
    display: none;
    margin-top: 40px;
    background: #f1f3f5;
    padding: 15px;
    border-radius: 10px;
}

#archiv h2 {
    background-color: #007bff;
    color: white;
    padding: 10px;
    border-radius: 5px;
}

/* Archívum gomb */
#toggle-archiv {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#toggle-archiv:hover {
    background: #0056b3;
}

/* Admin ikon */
.admin-icon {
    font-size: 24px;
    text-align: center;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.lightbox img {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Reszponzivitás */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    .event-card {
        padding: 15px;
    }
    #searchInput {
        max-width: 100%;
    }
}
.more-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 5px;
    cursor: pointer;
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 14px;
    transition: background 0.2s ease;
}

.more-btn:hover {
    background: #0056b3;
}

/* A kártya pozicionálásának beállítása a gombhoz */
.event-card {
    position: relative;
    padding-bottom: 50px; /* hely a gombnak */
}
.more-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 8px;
    font-size: 14px;
    transition: background 0.2s ease;
}

.more-btn:hover {
    background: #0056b3;
}

