	
/* ниже стили для всплывающего банера по мероприятиям  */

  .banner-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.7);
        z-index: 9998;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .banner-card {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: white;
        border-radius: 12px;
        width: 420px;
        max-width: 90%;
        z-index: 9999;
        overflow: hidden;
        box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
        animation: slideIn 0.3s ease-out;
    }
    
    .banner-header {
        background: #cd0000;
        padding: 20px;
        text-align: center;
    }
    
    .banner-greeting {
        color: rgba(255,255,255,0.9);
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .banner-city-name {
        color: white;
        font-size: 24px;
        font-weight: 600;
        margin: 0;
    }
    
    .banner-body {
        padding: 25px;
    }
    
    .event-item {
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
    }
    
    .event-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .event-title {
        font-size: 16px;
        font-weight: 600;
        color: #333;
        margin-bottom: 8px;
    }
    
    .event-title:before {
        content: "🔹 ";
        color: #cd0000;
    }
    
    .event-desc {
        font-size: 14px;
        color: #666;
        line-height: 1.4;
        margin-left: 20px;
    }
    
    .banner-btn {
        display: block;
        width: 100%;
        background: #cd0000;
        color: white;
        text-align: center;
        padding: 14px;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        text-decoration: none;
        margin-top: 20px;
        transition: background 0.2s;
        box-sizing: border-box;
    }
    
    .banner-btn:hover {
        background: #a80000;
    }
    
    .close-banner {
        position: absolute;
        top: 12px;
        right: 16px;
        font-size: 24px;
        cursor: pointer;
        color: rgba(255,255,255,0.7);
        transition: color 0.2s;
        z-index: 10000;
        background: none;
        border: none;
        font-weight: bold;
    }
    
    .close-banner:hover {
        color: white;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translate(-50%, -60%);
        }
        to {
            opacity: 1;
            transform: translate(-50%, -50%);
        }
    }
    
    @keyframes fadeOut {
        from {
            opacity: 1;
            transform: translate(-50%, -50%);
        }
        to {
            opacity: 0;
            transform: translate(-50%, -40%);
            visibility: hidden;
        }
    }
    
    @keyframes fadeOutOverlay {
        from { opacity: 1; }
        to { opacity: 0; visibility: hidden; }
    }
    
    .banner-fade-out {
        animation: fadeOut 0.3s ease-out forwards;
    }
    
    .banner-fade-out-overlay {
        animation: fadeOutOverlay 0.3s ease-out forwards;
    }
    
    .banner-overlay {
        animation: fadeIn 0.2s ease-out;
    }
    