
@media (max-width: 1300px) {
    .calendar-section {
        display: flex;
        max-width: 90%;
    }

    .calendar-wrapper {
        border-radius: 12px;
        padding: 20px;
        width: 80%;
    }

    .weekdays {
        display: none;
    }

    .days-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 6px 4px;
    }

    .events-wrapper {
        width: 50%;
    }

    .events-list {
        list-style: none;
        max-height: 450px;
        overflow-y: auto;
        padding-right: 5px;
    }
}

@media (max-width: 728px) {
    .calendar-section {
        gap: 15px;
        margin: 15px auto;
        border-radius: 16px;
        padding: 10px;
        flex-direction: column;
    }

    .calendar-wrapper {
        border-radius: 12px;
        padding: 20px;
        width: 100%;
    }

    .days-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(65px, 1fr));
        gap: 6px 4px;
    }

    .calendar-day {
        aspect-ratio: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        padding: 5px;
        font-size: 0.85rem;
    }

    /* PARTE DA DIREITA */
    .events-wrapper {
        border-radius: 12px;
        padding: 10px;
        width: 100%;
    }
}
