.prx-cal {
    width: 100%;
    max-width: 1100px;
    
}

.prx-cal.is-loading {
    opacity: .55;
    pointer-events: none;
    filter: grayscale(.1);
}

.prx-cal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.prx-cal__title {
    font-weight: 700;
    font-size: clamp(16px, 2vw, 22px);
    text-align: center;
    flex: 1;
}

.prx-cal__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, .12);
    user-select: none;
}

.prx-cal__weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    opacity: .8;
    font-size: 13px;
}

.prx-cal__weekdays>div {
    padding: 6px 8px;
    font-family: var(--typography-p-font-family);
    letter-spacing: var(--typography-p-letter-spacing);
    line-height: var(--typography-p-line-height);
    font-size: var(--typography-p-font-size);
}

.prx-cal__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.prx-cal__cell {
    min-height: 110px;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 12px;
    padding: 8px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, .6);
}

.prx-cal__cell--empty {
    border: 0;
    background: transparent;
}

.prx-cal__daynum {
    font-family: var(--typography-p-font-family);
    letter-spacing: var(--typography-p-letter-spacing);
    line-height: var(--typography-p-line-height);
    font-size: var(--typography-p-font-size);
    opacity: .85;
}

.prx-cal__cell.is-today {
    outline: 2px solid rgb(51, 102, 204);
    background-color: rgba(51, 102, 204, 0.2);
}

.prx-cal__events {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.prx-cal__event {
    border-radius: 10px;
    padding: 6px 8px;
    border: 1px solid rgba(0, 0, 0, .10);
    color: #fff;
    background: rgba(0, 0, 0, .03);
    border-color: rgb(51, 102, 204);
    background-color: rgb(51, 102, 204);
    fill: rgb(255, 255, 255);
}

.prx-cal__eventline {
    font-family: var(--typography-p-font-family);
    letter-spacing: var(--typography-p-letter-spacing);
    line-height: var(--typography-p-line-height);
    font-size: 0.8em;
    
}

.prx-cal__eventtime {
    font-weight: 700;
}

.prx-cal__eventtitle {
    font-weight: 400;
}

.prx-cal__eventdesc {
    margin-top: 4px;
    font-size: 12px;
    opacity: .85;
    line-height: 1.25;
    white-space: normal;
}

/* Mobile: show fewer columns feel by stacking weekday row and tighter cells */
@media (max-width: 720px) {
    .prx-cal__grid {
        gap: 6px;
    }

    .prx-cal__cell {
        min-height: 86px;
        padding: 6px;
        border-radius: 10px;
    }

    .prx-cal__weekdays {
        gap: 6px;
        font-size: 12px;
    }

    .prx-cal__nav {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }
}


.prx-cal-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 720px;
    font-family: var(--typography-p-font-family);
}

.prx-cal-list__item {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 14px;
    align-items: start;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .10)
}

.prx-cal-list__date {
    width: 62px;
    border-radius: 4px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 0 2px rgba(52, 58, 67, .1), 0 2px 5px rgba(52, 58, 67, .08), 0 5px 15px rgba(52, 58, 67, .08);
}

.prx-cal-list__mon {
    background: rgba(0, 0, 0, .08);
    text-align: center;
    font-weight: 700;
    padding: 6px 0;
    text-transform: lowercase;
    background-color: #3366cc;
        box-shadow: 0 2px 0 #3366cc;
        color: #ffffff;
}

.prx-cal-list__body {
    font-family: var(--typography-p-font-family);
    letter-spacing: var(--typography-p-letter-spacing);
    line-height: var(--typography-p-line-height);   
    font-size: var(--typography-p-font-size);
}

.prx-cal-list__day {
    background: rgba(0, 0, 0, .02);
    text-align: center;
    font-weight: 800;
    font-size: 22px;
    padding: 10px 0
}

.prx-cal-list__title {
    font-weight: 800;
    margin-top: 5px;
    margin-bottom: 10px
}

.prx-cal-list__meta {
    opacity: .8;
    font-size: 13px
}

.prx-cal-list__desc {
    margin-top: 6px;
    opacity: .9;
    font-size: 13px;
    line-height: 1.35
}

@media (max-width:520px) {
    .prx-cal-list__item {
        grid-template-columns: 54px 1fr
    }

    .prx-cal-list__day {
        font-size: 20px
    }
}








.prx-cal__title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: inherit;
    line-height: 1.2;
}

.prx-cal__header {
    align-items: center;
}