.calendar-page {
    max-width: 72rem;
    margin: 0 auto;
    padding: 2.5rem 2rem 4rem;
}

.calendar-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.calendar-title h1 {
    margin: 0;
    font-size: 2rem;
    letter-spacing: -0.01em;
}

.calendar-lede {
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 1rem 0 0;
}

.calendar-outro {
    margin-top: 3rem;
    text-align: center;
}

.year {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 2.5rem 2rem;
    align-items: start;
}

table.month {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

table.month th.month {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: left;
    padding: 0 0 0.4rem;
    border-bottom: 1px solid #eee;
}

table.month th {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #888;
    padding: 0.5rem 0;
    text-align: center;
}

table.month td {
    text-align: center;
    padding: 0.15rem 0;
    font-size: 0.95rem;
}

table.month td a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    line-height: 1.75rem;
    color: #333;
    text-decoration: none;
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
}

table.month td a:hover {
    background: #111;
    color: #fff;
}

table.month td.noday {
    color: transparent;
}

@media (max-width: 640px) {
    .calendar-page {
        padding: 1.5rem 1.25rem 3rem;
    }

    .calendar-title h1 {
        font-size: 1.5rem;
    }

    .year {
        gap: 2rem 1.5rem;
    }
}
