/* ========================================
   CALENDAR DATE BADGE - Event Cards
   ======================================== */

.calendar-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    min-width: 60px;
    overflow: hidden;
    z-index: 3;
    transition: all 0.3s ease;
}

.calendar-date-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.calendar-month {
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 8px;
}

.calendar-day {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--dark-color);
    line-height: 1;
    padding: 8px;
    background: white;
}

.calendar-weekday {
    font-size: 0.7rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 8px 8px;
    border-top: 1px solid #eee;
    background: white;
}

/* Event Card Image Container - Ensure proper stacking */
.event-card-image {
    position: relative;
}

/* Adjust status badge position to not overlap with date */
.event-card-image .status-badge {
    top: 15px;
    left: 15px;
    right: auto;
}

/* ===============================================
   RESPONSIVE - Calendar Badge
   =============================================== */

@media (max-width: 768px) {
    .calendar-date-badge {
        min-width: 50px;
        top: 12px;
        right: 12px;
    }

    .calendar-month {
        font-size: 0.65rem;
        padding: 4px 6px;
    }

    .calendar-day {
        font-size: 1.5rem;
        padding: 6px;
    }

    .calendar-weekday {
        font-size: 0.6rem;
        padding: 3px 6px 6px;
    }
}

@media (max-width: 480px) {
    .calendar-date-badge {
        min-width: 45px;
    }

    .calendar-day {
        font-size: 1.3rem;
    }
}