:where(.tpp-home-events-widget) {
    background-image: linear-gradient(to right, #d4e98c, #6baa1f);
    padding-inline: 40px;
    /*padding-top: 40px;*/
    display: flex;
    justify-content: center;
    .widget-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        width: 1140px;
    }
    .events-column {
        width: 100%;
        padding-top: 40px;
    }
    .events-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }
    .events-header h3 {
        font-family: 'Playfair Display', serif;
        font-size: 28px;
        margin: 0;
        color: #3D3D3D;
    }
    .btn-full-calendar {
        background: #9854B5;
        color: white;
        padding: 8px 16px;
        text-decoration: none;
        font-size: 12px;
        text-transform: uppercase;
        font-weight: 600;
        display: inline-block;
        position: relative;
        z-index: 1;
    }
    .btn-full-calendar:before {
        content: "";
        position: absolute;
        display: block;
        width: 100%;
        height: 100%;
        top: 0;
        left: 1px;
        background: #9854B5;
        transform-origin: bottom left;
        transform: skew(-12deg, 0deg);
        z-index: -1;
    }
    .btn-full-calendar:hover {
        color: white;
        text-decoration: none;
    }

    .event-item {
        color: white;
        margin-bottom: 8px;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 8px;
        text-decoration: none;
    }
    .event-item:hover {
        color: white;
        text-decoration: none;
    }
    .event-divider {
        width: 100%;
        height: 1px;
        background: #D2EAA3;
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .event-date {
        max-height: 34px;
        background: #424242;
        padding: .2rem;
        font-weight: 600;
        font-size: 14px;
        margin-right: 15px;
        position: relative;
        z-index: 1;
        grid-column: 1;
        grid-row: 2;
        color: white;
    }

    .event-date:before {
        content: "";
        position: absolute;
        display: block;
        width: 100%;
        height: 100%;
        top: 0;
        left: 1px;
        background: #424242;
        transform-origin: bottom left;
        transform: skew(-12deg, 0deg);
        z-index: -1;
    }

    .event-item .event-details {
        font-size: 13px;
        grid-column: 2;
        grid-row: 2;
        display: flex;
        align-items: center;
        line-height: 1.6;
        color: #3D3D3D;
    }
    .no-events {
        background: #5c4b8f;
        color: white;
        padding: 20px;
        text-align: center;
    }
    .calendar-header {
        text-align: center;
        margin-top: auto;
        padding: 10px;
    }
    .calendar-header-title {
        font-family: 'Playfair Display', serif;
        font-size: 32px;
        color: #3D3D3D;
        margin: 0;
    }
    .calendar-icon {
        width: 40px;
        height: 40px;
        display: block;
        margin: 0 auto 0 auto;
    }
    .calendar-column {
        display: flex;
        flex-direction: column;
        height: 100%;
        /*padding-top: 50px;*/
    }
    .calendar-box {
        position: relative;
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }
    .calendar-bg {
        width: 100%;
        height: auto;
        display: block;
    }
    .calendar-month {
        font-family: 'Playfair Display', serif;
        font-size: 70px;
        color: white;
        font-weight: 800;
        line-height: 1;
        position: absolute;
        top: 70px;
        left: 60px;
    }
    .calendar-year {
        font-family: 'Playfair Display', serif;
        font-size: 32px;
        color: white;
        font-weight: 700;
        position: absolute;
        top: 55px;
        right: 90px;
    }
}

/* Responsive adjustments */
@media (max-width: 1280px) {
    .tpp-home-events-widget {
        padding-top: 20px;
        padding-inline: 20px;
    }

    .tpp-home-events-widget .widget-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tpp-home-events-widget .calendar-box {
        margin: auto;
        width: 400px;
    }

    .tpp-home-events-widget .calendar-month {
        font-size: 56px;
        top: 55px;
        left: 55px;
    }
    .tpp-home-events-widget .calendar-year {
        font-size: 36px;
        top: 45px;
        right: 75px;
    }

    .tpp-home-events-widget .events-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .tpp-home-events-widget .event-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .tpp-home-events-widget .calendar-header-title {
        font-size: 24px;
    }
}
