.event-calendars {
    display: grid;
    gap: 28px;
    margin: 0 0 34px;
}

.event-calendar {
    overflow: hidden;
    border: 1px solid #ded8c9;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(28, 25, 17, .07);
}

.event-calendar h3 {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0;
    padding: 17px 20px;
    background: #191919;
    color: #fff;
    font-size: 1.45rem;
}

.event-calendar h3 span {
    color: #f8b803;
    font-size: .78rem;
    letter-spacing: .08em;
}

.event-calendar-scroll {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-gutter: stable;
}

.event-calendar-scroll:focus-visible {
    outline: 3px solid #f8b803;
    outline-offset: -3px;
}

.event-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(102px, 1fr));
    min-width: 714px;
}

.event-calendar-weekday {
    padding: 9px 6px;
    border-bottom: 1px solid #ded8c9;
    background: #f6f2e9;
    color: #4c483f;
    font-size: .78rem;
    font-weight: 800;
    text-align: center;
}

.event-calendar-weekday.sunday,
.event-calendar-day.sunday > time {
    color: #b92f2f;
}

.event-calendar-weekday.saturday,
.event-calendar-day.saturday > time {
    color: #245e9f;
}

.event-calendar-day {
    min-height: 132px;
    padding: 9px;
    border-right: 1px solid #e8e2d6;
    border-bottom: 1px solid #e8e2d6;
    background: #fff;
}

.event-calendar-day:nth-child(7n) {
    border-right: 0;
}

.event-calendar-day.is-blank {
    background: #faf8f3;
}

.event-calendar-day.has-events {
    background: #fffdf5;
}

.event-calendar-day.is-today {
    box-shadow: inset 0 0 0 3px #f8b803;
}

.event-calendar-day > time {
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    color: #39362f;
    font-size: .84rem;
    font-weight: 900;
}

.event-calendar-day.is-today > time {
    background: #f8b803;
    color: #191919;
}

.event-calendar-items {
    display: grid;
    gap: 6px;
    margin-top: 5px;
}

.event-calendar-items a {
    display: grid;
    gap: 2px;
    min-height: 44px;
    padding: 7px 8px;
    border-radius: 8px;
    background: #f8b803;
    color: #191919;
    line-height: 1.35;
    text-decoration: none;
}

.event-calendar-items a:hover {
    background: #191919;
    color: #fff;
}

.event-calendar-items a:focus-visible {
    outline: 3px solid #191919;
    outline-offset: 2px;
}

.event-calendar-items span {
    font-size: .65rem;
    font-weight: 800;
}

.event-calendar-items strong {
    overflow-wrap: anywhere;
    font-size: .75rem;
}

.calendar-empty {
    border: 1px dashed #cfc7b6;
    border-radius: 12px;
    padding: 24px;
    background: #fff;
    text-align: center;
}

@media (max-width: 767px) {
    .event-calendars {
        gap: 20px;
        margin-bottom: 26px;
    }

    .event-calendar h3 {
        padding: 14px 16px;
        font-size: 1.25rem;
    }

    .event-calendar-day {
        min-height: 118px;
    }
}
