.calendar-container {
    max-width: 1200px;
    margin: 50px auto;
}

.calendar-year {
    width: 100%;
    margin: 0 auto;
}
.calendar-row-3 {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    justify-content: center;
}
.calendar-month {
    background: #f3f6fa;
    border-radius: 4px;
    min-width: 220px;
    max-width: 240px;
    flex: 1 1 0;
    box-shadow: 0 1px 2px #0001;
    margin: 0 4px;
}
.calendar-header {
    background: #b8c6d3;
    color: #222;
    font-weight: bold;
    text-align: center;
    padding: 8px 0 6px 0;
    border-radius: 4px 4px 0 0;
    font-size: 1.2em;
    letter-spacing: 1px;
}
.calendar-table {
    padding: 0 0 8px 0;
}
.calendar-row {
    display: flex;
}
.calendar-weekdays {
    background: #e6ecf2;
    color: #a0a9b5;
    font-weight: normal;
    font-size: 0.95em;
}
.calendar-cell {
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 32px;
    margin: 0;
    font-size: 1em;
    color: #222;
}

.calendar-cell.empty {
    background: none;
    border: none;
}

.calendar-nav {
    text-align: center;
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
}
.calendar-nav-link {
    display: block;
    text-decoration: none;
    color: #0088cc;
}

.calendar-nav-link:hover {
    text-decoration: underline;
    color: #005580;
}

@media (max-width: 900px) {
    .calendar-row-3 {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 0;
    }
    .calendar-month {
        max-width: 100%;
        min-width: 0;
        margin: 0 auto 16px auto;
    }
}
@media (max-width: 600px) {
    .calendar-container {
        max-width: none;
        width: calc(100vw - 40px);
        margin: 0 20px;
        padding: 0;
    }
    .calendar-row-3 {
        flex-direction: column;
        gap: 12px;
    }
    .calendar-month {
        max-width: 100%;
        min-width: 0;
        margin: 0 auto 12px auto;
    }
    .calendar-header {
        font-size: 1.25em;
        padding: 10px 0 8px 0;
    }
    .calendar-cell {
        width: 36px;
        height: 36px;
        font-size: 1.15em;
        line-height: 36px;
    }
} 