/* Event Popup Overlay */
.ly_hero {
    position: relative;
    overflow: visible;
}

.event-popup {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
    animation: slideInDown 0.6s ease-out;
}

.event-popup-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    width: 280px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    text-align: left;
}

.event-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.event-popup-close:hover {
    color: #333;
}

.event-popup-badge {
    display: inline-block;
    background: #72a03b;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 8px;
}

.event-popup-header {
    margin-bottom: 8px;
}

.event-popup-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.event-popup-description {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.event-popup-link {
    display: inline-block;
    color: #72a03b;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.event-popup-link:hover {
    color: #72a03b;
}

/* Animation */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .event-popup {
        top: 20px;
        right: 20px;
        width: auto;
        max-width: calc(100% - 40px);
    }
}

@media (max-width: 480px) {
    .event-popup {
        top: 15px;
        right: 15px;
        left: auto;
        width: auto;
        max-width: calc(100% - 30px);
    }

    .event-popup-content {
        width: 260px;
        padding: 16px;
    }
}