/* Basic Absalon-like layout for Kulturkirche Greiz calendar */

.kkg-calendar-wrapper {
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    font-family: inherit;
}

.kkg-calendar-month-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.kkg-calendar-month-title {
    font-size: 2rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.kkg-calendar-nav-row {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.kkg-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.9rem;
    border: 2px solid #000;
    border-radius: 2px;
    font-size: 0.8rem;
    text-transform: uppercase;
    text-decoration: none;
    color: #000;
    background: #fff;
}

.kkg-nav-today {
    font-weight: 600;
}

.kkg-calendar-grid {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.kkg-calendar-grid td {
    border: 1px solid #999;
    vertical-align: top;
    padding: 0.15rem 0.35rem 0.35rem 0.35rem;
    height: 120px;
    background: #fff;
}

.kkg-calendar-day--outside {
    background: #f7f7f7;
}

.kkg-day-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.kkg-weekday-name {
    font-weight: 400;
}

.kkg-day-number {
    font-weight: 600;
}

.kkg-day-events {
    margin-top: 0.2rem;
}

.kkg-event-pill {
    background: #ff00cc;
    color: #000;
    padding: 0.1rem 0.2rem;
    margin-bottom: 0.15rem;
    font-size: 0.7rem;
    line-height: 1.2;
}

.kkg-event-time {
    font-weight: 400;
}

.kkg-event-title {
    font-weight: 700;
}

/* Small screens */
@media (max-width: 768px) {
    .kkg-calendar-grid td {
        height: auto;
    }
    .kkg-weekday-name {
        font-size: 0.7rem;
    }
    .kkg-day-number {
        font-size: 0.75rem;
    }
}
