.rcm-home-events,
.rcm-home-events * {
    box-sizing: border-box;
}

.rcm-home-events {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 55px max(24px, calc((100vw - 1440px) / 2));
    background: #fbf9f9;
    font-family: "Roboto", sans-serif;
}

.rcm-home-events__container {
    display: flex;
    gap: 58px;
    justify-content: center;
    align-items: center;
    max-width: 1363px;
    margin: 0 auto;
}

/* Weekend Roundup Feature Card */
.rcm-home-events__feature-col {
    flex: 1 1 559px;
    width: 100%;
    max-width: 559px;
    position: relative;
    border-radius: 20px;
}

.rcm-home-events__weekend-card {
    position: relative;
    width: 100%;
    min-height: 549.137px;
    background: #d8d0e9;
    border-radius: 35px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rcm-home-events__weekend-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background: #d7d7d7 center / cover no-repeat;
    transform: scale(1.015);
}

.rcm-home-events__weekend-content {
    position: relative;
    width: 100%;
    max-width: 434.586px;
    margin: 0 20px;
    min-height: 367.195px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 25.92px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 31px 24px 28px;
    z-index: 2;
    text-align: center;
}

.rcm-home-events__weekend-label {
    margin: 0;
    color: #7153b0;
    font-family: "Montserrat", sans-serif;
    font-size: 17.28px;
    font-weight: 400;
    line-height: 21.6px;
    text-transform: capitalize;
    max-width: 239.325px;
}

.rcm-home-events__weekend-label strong {
    font-weight: 600;
}

.rcm-home-events__weekend-title {
    margin: 0;
    color: #7153b0;
    font-family: "Roasted Bailey", "Mr De Haviland", "Brush Script MT", cursive;
    max-width: 387.066px;
    font-size: 110.633px;
    font-weight: 400;
    line-height: 87.263px;
    text-transform: capitalize;
}

.rcm-home-events__weekend-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48.383px;
    padding: 0 31px;
    border-radius: 11.232px;
    background: #7153b0;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: 17.28px;
    font-weight: 700;
    line-height: 12.096px;
    text-decoration: none;
    text-transform: uppercase;
    flex-shrink: 0;
}

.rcm-home-events .rcm-home-events__weekend-btn:hover {
    background: #7153b0;
    color: #fff;
    text-decoration: none;
    opacity: 1;
    filter: none;
    transform: none;
    box-shadow: none;
}

/* Today's Events List Column */
.rcm-home-events__list-col {
    flex: 1 1 482px;
    width: 100%;
    max-width: 482px;
}

.rcm-home-events__list-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .rcm-home-events__list-col {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        column-gap: 16px;
        row-gap: 26px;
    }

    .rcm-home-events__title {
        grid-column: 1;
        grid-row: 1;
    }

    .rcm-home-events__list-header {
        grid-column: 2;
        grid-row: 1;
    }

    .rcm-home-events__list {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .rcm-home-events__calendar-cta {
        grid-column: 1 / -1;
        grid-row: 3;
        justify-self: start;
    }
}

.rcm-home-events__title {
    margin: 0;
    color: #183354;
    font-family: "Roboto", sans-serif;
    font-size: 25px;
    font-style: normal;
    font-weight: 700;
    line-height: 33.6px;
    text-transform: capitalize;
}

.rcm-home-events__title-lead,
.rcm-home-events__title-tail {
    color: #183354;
    font-family: "Roboto", sans-serif;
    font-size: inherit;
    font-style: normal;
    font-weight: 700;
    line-height: inherit;
    text-transform: capitalize;
}

.rcm-home-events__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    flex-shrink: 0;
}

.rcm-home-events__nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    background: transparent;
    color: #7153b0;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s ease;
}

.rcm-home-events__nav-btn:hover:not(.is-disabled) {
    background: #fff;
}

.rcm-home-events__nav-btn.is-disabled,
.rcm-home-events__nav-btn[aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
}

.rcm-home-events.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.rcm-home-events__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.rcm-home-events__item {
    display: grid;
    grid-template-columns: 66px 1fr;
    gap: 14px;
    align-items: center;
    min-height: 66px;
    padding: 0;
    border-radius: 6px;
    background: #fff;
    color: #141827;
    text-decoration: none;
    transition: box-shadow 0.2s ease;
}

.rcm-home-events__item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.rcm-home-events__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 66px;
    height: 66px;
    border-radius: 6px;
    background: #7153b0;
    color: #fff;
    flex-shrink: 0;
    text-align: center;
}

.rcm-home-events__month {
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    font-family: "Roboto", sans-serif;
}

.rcm-home-events__day {
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
    font-family: "Roboto", sans-serif;
}

.rcm-home-events__meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    padding: 0 14px 0 0;
}

.rcm-home-events__time {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    color: #141827;
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    white-space: nowrap;
}

.rcm-home-events__item-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    color: #141827;
    font-family: "Roboto", sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rcm-home-events__empty {
    padding: 18px 14px;
    border-radius: 6px;
    background: #fff;
    color: #6d757f;
    text-align: center;
}

.rcm-home-events__empty p {
    margin: 0;
}

.rcm-home-events__calendar-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    min-height: 44px;
    padding: 0 24px;
    border-radius: 8px;
    background: #7153b0;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.rcm-home-events__calendar-cta:hover {
    color: #fff;
    text-decoration: none;
    opacity: 0.92;
    box-shadow: 0 2px 10px rgba(113, 83, 176, 0.35);
}

/* Legacy featured event styles (kept for compatibility) */
.rcm-home-events__feature-image {
    position: relative;
    height: 436px;
    overflow: hidden;
    border-radius: 6px;
    background: #d7d7d7 center / cover no-repeat;
}

.rcm-home-events__feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(62, 40, 109, 0) 0%, rgba(62, 40, 109, 0.92) 100%);
}

.rcm-home-events__feature-content {
    position: absolute;
    left: 49px;
    right: 32px;
    bottom: 37px;
    z-index: 1;
}

.rcm-home-events__badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin-bottom: 13px;
    padding: 4px 12px;
    border-radius: 3px;
    background: #7153b0;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.052em;
    text-transform: uppercase;
}

.rcm-home-events__feature-title {
    margin: 0;
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.28;
}

@media (max-width: 1024px) {
    .rcm-home-events__container {
        flex-direction: column;
        align-items: center;
    }

    .rcm-home-events__feature-col,
    .rcm-home-events__list-col {
        flex: 0 0 auto;
        width: 100%;
        max-width: 824px;
    }
}

@media (max-width: 767px) {
    .rcm-home-events {
        width: 100%;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .rcm-home-events__container {
        gap: 32px;
    }

    .rcm-home-events__container > .rcm-home-events__feature-col,
    .rcm-home-events__container > .rcm-home-events__list-col {
        display: contents;
    }

    .rcm-home-events__title {
        order: 1;
        width: 100%;
        max-width: 824px;
    }

    .rcm-home-events__weekend-card {
        order: 2;
        width: 100%;
    }

    .rcm-home-events__list-header {
        order: 3;
        width: 100%;
        max-width: 824px;
    }

    .rcm-home-events__list {
        order: 4;
        width: 100%;
        max-width: 824px;
    }

    .rcm-home-events__calendar-cta {
        order: 5;
        width: 100%;
        max-width: 824px;
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .rcm-home-events {
        padding: 40px 20px;
    }

    .rcm-home-events__weekend-card {
        height: auto;
        min-height: 420px;
    }

    .rcm-home-events__weekend-content {
        position: relative;
        left: auto;
        top: auto;
        width: calc(100% - 60px);
        min-height: 0;
        margin: 30px;
        padding: 28px 20px 24px;
        gap: 22px;
    }

    .rcm-home-events__weekend-title {
        font-size: 64px;
        line-height: 0.9;
    }

    .rcm-home-events__list-col {
        row-gap: 22px;
    }

    .rcm-home-events__title {
        font-size: 22px;
        line-height: 29.568px;
    }

    .rcm-home-events__item {
        gap: 12px;
    }

    .rcm-home-events__time,
    .rcm-home-events__item-title {
        line-height: 1.35;
    }
}

@media (max-width: 600px) {
    .rcm-home-events__weekend-card {
        min-height: 340px;
    }

    .rcm-home-events__weekend-content {
        width: calc(100% - 40px);
        margin: 20px;
        padding: 24px 16px 20px;
        gap: 18px;
    }

    .rcm-home-events__weekend-title {
        font-size: 48px;
        line-height: 0.92;
    }

    .rcm-home-events__weekend-label {
        font-size: 14px;
        line-height: 1.4;
    }

    .rcm-home-events__weekend-btn {
        height: 42px;
        padding: 0 24px;
        font-size: 14px;
        line-height: 1;
    }

    .rcm-home-events__list-header {
        align-items: center;
    }

    .rcm-home-events__title {
        font-size: 20px;
        line-height: 26.88px;
    }

    .rcm-home-events__time,
    .rcm-home-events__item-title {
        line-height: 1.3;
    }
}
