/* Events List Shortcode Styles */

/* ========================================
   ACCESSIBILITY
   ======================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ========================================
   FILTER CONFIRMATION BANNER
   ======================================== */
.filters-applied {
    margin: 0 0 16px 0;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #BFE8D6;
    background: #E7F7EF;
    color: #195E46;
    font-family: "Nunito Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
}

.filters-applied[hidden] {
    display: none !important;
}

/* ========================================
   LOADING OVERLAY
   ======================================== */

.events-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.events-loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.events-loading-spinner {
    text-align: center;
    color: var(--CoCP-Green-Light, #195E46);
}

.events-loading-spinner .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--CoCP-Green-Light, #195E46);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

.events-loading-spinner p {
    margin: 0;
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

html,
body {
    margin: 0;
    padding: 0;
}

.far,
.fas {
    margin-top: 8px;
    fill: #3f3f3f;
    color: #3f3f3f;
}

.events-listings-inner-container {
    max-width: 1280px;
    margin: 0 auto;
}

section.events-listing {
    min-width: 100vw;
    max-width: 100vw;
}

section.events-listing section.events-list-head h1 {
    color: #042217;
    font-family: "Open Sans Condensed";
    font-size: 62px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-align: center;
    padding-top: 30px;
}

section.events-listing section.events-list-search {
    padding: 30px 0;
}

section.events-listing section.events-list-parameters {
    padding: 45px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

section.events-listing section.events-list-container {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 30px;
}

#events-list-left-panel h3 {
    display: none;
}

#events-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding-bottom: 100px;
}

#events-list.calendar {

    padding-bottom: 100px;
}

#events-list a.related-event-item {
    text-decoration: none;
    max-height: 520px;
    min-height: 520px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 50px 0 rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

#events-list a.related-event-item:hover {
    text-decoration: none;
    box-shadow: 0 5px 50px 0 rgba(0, 0, 0, 0.4);
    transform: translateY(-10px);
}



#events-list div.related-event-img {
    margin: 0;
    padding: 0;
    max-height: 180px;
    height: 180px;
    width: 100%;
    background-size: 100%;
    background-position: center center;
    border-radius: 10px 10px 0 0;
    transition: background-size 1s ease;

}

#events-list a.related-event-item:hover div.related-event-img {
    background-size: 120%;
}

#events-list h3 {
    margin: 0;
    padding: 0;
    color: #000;
    padding: 16px 29px 12px 19px;
    font-family: "Montserrat", Sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

#events-list p {
    padding: 0 29px 0 19px;
}

#events-list p.location {
    margin: 0;
    color: #3f3f3f;
    font-family: "Nunito Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

#events-list p.address {
    margin: 0;
    color: #3f3f3f;
    font-family: "Nunito Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    padding-bottom: 12px;
}

#events-list p.description {
    margin: 0;
    color: #3f3f3f;
    font-family: "Nunito Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-bottom: 24px;
}

#events-list p.time {
    margin: 0;
    color: #3f3f3f;
    font-family: "Nunito Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    padding-bottom: 20px;
}

#events-list div.date {
    margin: 0;
    padding: 0;
    min-width: 81px;
    min-height: 81px;
    max-width: 81px;
    max-height: 81px;
    overflow: hidden;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    border-radius: 10px 0 0 0;
    background: #3f3f3f;
}

#events-list p.month {
    margin: 11px 0 0 0;
    padding: 0;
    color: #fff;
    text-align: center;
    font-family: Montserrat;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

#events-list p.day {
    margin: 0;
    padding: 0;
    color: #fff;
    text-align: center;
    font-family: Montserrat;
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.visually-hidden {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.events-search {
    width: 50%;
    margin: 0 auto;
}

.events-search-input {
    position: relative;
    width: 100%;
}

.events-search-input input {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #999;
    background: var(--White, #fff);
    padding: 10px 40px 10px 13px;
    color: #333;
    font-family: "Nunito Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.events-search-input .events-search-submit {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
}

.events-search-input .events-search-submit svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: #0c5e41;
    stroke: #0c5e41;
    stroke-width: 1px;
    pointer-events: none;
}

.events-date-select {
    width: 305px;
    height: 44px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 0 36px 0 36px;
    font-family: "Nunito Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    position: relative;
    color: #3f3f3f;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='19' viewBox='0 0 16 19' fill='none'><path d='M5.203 10.375H3.797a.422.422 0 0 1-.422-.422V8.547c0-.211.211-.422.422-.422h1.406c.211 0 .422.211.422.422v1.406a.422.422 0 0 1-.422.422Zm3.375-.422a.422.422 0 0 1-.422.422H7.172a.422.422 0 0 1-.422-.422V8.547c0-.211.211-.422.422-.422h1.406c.211 0 .422.211.422.422v1.406Zm3.375 0a.422.422 0 0 1-.422.422h-1.406a.422.422 0 0 1-.422-.422V8.547c0-.211.211-.422.422-.422h1.406c.211 0 .422.211.422.422v1.406ZM9 13.328a.422.422 0 0 1-.422.422H7.172a.422.422 0 0 1-.422-.422v-1.406c0-.211.211-.422.422-.422h1.406c.211 0 .422.211.422.422v1.406Zm-3.375 0a.422.422 0 0 1-.422.422H3.797a.422.422 0 0 1-.422-.422v-1.406c0-.211.211-.422.422-.422h1.406c.211 0 .422.211.422.422v1.406Zm6.75 0a.422.422 0 0 1-.422.422h-1.406a.422.422 0 0 1-.422-.422v-1.406c0-.211.211-.422.422-.422h1.406c.211 0 .422.211.422.422v1.406ZM15.75 4.188V16.563c0 .949-.773 1.687-1.688 1.687H1.688C.738 18.25 0 17.512 0 16.563V4.188C0 3.273.738 2.5 1.688 2.5H3.375V.672c0-.211.211-.422.422-.422h1.406c.211 0 .422.211.422.422V2.5h4.5V.672c0-.211.211-.422.422-.422h1.406c.211 0 .422.211.422.422V2.5h1.688c.914 0 1.688.773 1.688 1.688ZM14.063 16.352V5.875H1.688v10.477c0 .141.07.211.211.211h11.953c.105 0 .211-.07.211-.211Z' fill='%233F3F3F'/></svg>") no-repeat 12px center,
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='6' viewBox='0 0 12 6' fill='none'><path d='M6 6 11.196 0H.804L6 6Z' fill='%23262626'/></svg>") no-repeat right 10px center;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* DateRangePicker input field */
.daterangepicker td.active,
.daterangepicker td.active:hover {
    background-color: var(--CoCP-Green-Light, #195E46) !important;
}

.daterangepicker td.in-range {
    background-color: #CDFFEE !important;
}

.daterangepicker .calendar-table th,
.daterangepicker .calendar-table td {
    color: #162E39 !important;
}

.daterangepicker td.off,
.daterangepicker td.off.in-range,
.daterangepicker td.off.start-date,
.daterangepicker td.off.end-date {
    color: #7A7A7A !important;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
    color: #fff !important;
    background-color: var(--CoCP-Green-Light, #195E46) !important;
}

.daterangepicker button.cancelBtn.btn.btn-sm.btn-default {
    background: #EAEAEA !important;
    border: 1px solid #DADADA !important;
    border-radius: 5px !important;
}

.daterangepicker button.applyBtn.btn.btn-sm.btn-primary {
    background: var(--CoCP-Green-Light, #195E46) !important;
    border: 1px solid #347961 !important;
    border-radius: 5px !important;
}

.daterangepicker .drp-selected {
    color: #162E39 !important;
}

.daterangepicker.ltr.show-calendar.opensright {
    margin-left: -40px;
}

.events-date-input-container {
    width: 320px;
    max-width: 320px;
    height: 44px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 0 12px;
    font-family: "Nunito Sans";
    font-size: 18px;
    font-weight: 600;
    color: #3f3f3f;
    display: flex;
    gap: 10px;
    align-items: center;
    cursor: pointer;
}

.events-date-input {
    border: none;
    margin: 0;
    padding: 0;
    flex: 1;
    background: transparent;
    outline: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.events-list-format .format-options {
    display: flex;
    gap: 0;
    align-items: center;
}

.format-option-grid,
.format-option-list,
.format-option-calendar {
    display: flex;
    width: 58px;
    height: 48px;
    padding: 0;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    background: #eee;
    border: 1px solid #ccc;
    box-shadow: none;
    cursor: pointer;
}

.format-option-grid {
    border-radius: 5px 0 0 5px;
}

.format-option-list {
    border-left: none;
    border-right: none;
    border-radius: 0;
}

.format-option-calendar {
    border-radius: 0 5px 5px 0;
}

.format-option-grid:hover,
.format-option-list:hover,
.format-option-calendar:hover,
.format-option-grid:active,
.format-option-list:active,
.format-option-calendar:active {
    background: #fff;
    box-shadow: none;
}

.format-option-grid:focus-visible,
.format-option-list:focus-visible,
.format-option-calendar:focus-visible {
    outline: 2px solid #0f6b4f;
    outline-offset: 2px;
}

.format-option-grid svg,
.format-option-list svg,
.format-option-calendar svg {
    display: block;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    fill: #000;
}

.format-option-grid svg {
    width: 32px;
    height: 20px;
    aspect-ratio: 8/5;
}

.format-option-list svg {
    width: 29px;
    height: 24px;
    aspect-ratio: 29/24;
}

.format-option-calendar svg {
    width: 22px;
    height: 24px;
    aspect-ratio: 11/12;
}

.event-type-list {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-bottom: 50px;
}

.event-type-list li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.event-type-list label {
    display: block;
    color: #3f3f3f;
    font-family: "Nunito Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    margin-bottom: 0;
}

.event-type-list input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    width: 20px;
    max-width: 20px;
    max-height: 20px;
    height: 20px;
    border-radius: 5px;
    border: 1.5px solid #3f3f3f;
    background: #fff;
}

.event-type-list input[type="checkbox"]:checked {
    background: #0f6b4f;
    border-color: #0f6b4f;
}

.event-type-list input[type="checkbox"]:checked::after {
    content: "";
    display: block;
    width: 6px;
    height: 10px;
    border: 2px solid #fff;
    border-top: 0;
    border-left: 0;
    transform: translate(6px, 2px) rotate(45deg);
}

/* Ensure legend matches previous h3 styling at all breakpoints */
.events-list-type legend {
    color: #3f3f3f;
    font-family: Montserrat;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding-bottom: 15px;
    margin: 0;
}

.events-list-cta {
    margin-top: 24px;
}

.signup-card {
    background: #e7e5e1;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
}

.signup-title {
    margin: 0 0 14px 0;
    color: #004d32;
    text-align: center;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.signup-btn {
    height: 44px;
    padding: 0 22px;
    border-radius: 10px;
    border: 1px solid #004d32;
    background: #fff;
    color: #195e46;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    cursor: pointer;
}

.signup-btn:hover {
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.15);
}

#events-list .time .far {
    margin-top: 0;
}

#events-list .time {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
}

/* Paid Event Indicator Styles */
.paid-event {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0 29px 12px 19px;
}

.paid-event i {
    color: var(--CoCP-Black, #3F3F3F);
    font-size: 16px;
    margin-top: 0;
}

.paid-event p {
    margin: 0;
    padding: 0;
    color: var(--CoCP-Black, #3F3F3F);
    font-family: "Nunito Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

/* Format Options Styles */
.format-options {
    display: flex;
    gap: 10px;
    align-items: center;
}

.format-option-grid,
.format-option-list,
.format-option-calendar {
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.format-option-grid {
    border-radius: 5px 0 0 5px;
}

.format-option-list {}

.format-option-calendar {
    border-radius: 0 5px 5px 0;
}

.format-option-grid:hover,
.format-option-list:hover,
.format-option-calendar:hover,
.format-option-grid.active,
.format-option-list.active,
.format-option-calendar.active {
    opacity: 1;
    background-color: #ffffff;
}

.format-option-grid svg,
.format-option-list svg,
.format-option-calendar svg {
    display: block;
}

/* ========================================
   VIEW MODE STYLES
   ======================================== */

/* Base view container - all views hidden by default */
.events-view {
    display: none;
}

/*

#event-grid.events-view.active {
    display: grid !important;
}


#event-list.events-view.active {
    display: grid !important;
}


#event-calendar.events-view.active {
    display: block !important;
}
    */

/* ========================================
   GRID VIEW STYLES
   ======================================== */

#event-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding-bottom: 100px;
}


#event-grid a.related-event-item {
    text-decoration: none;
    max-height: 520px;
    min-height: 520px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 50px 0 rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

#event-grid div.related-event-img {
    margin: 0;
    padding: 0;
    max-height: 180px;
    height: 180px;
    width: 100%;
    background-position: center center;
    border-radius: 10px 10px 0 0;
    transition: background-size 1s ease;
}

#event-grid h3 {
    margin: 0;
    padding: 0;
    color: #000;
    padding: 16px 29px 12px 19px;
    font-family: "Montserrat", Sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

#event-grid p.location {
    margin: 0;
    color: #3f3f3f;
    font-family: "Nunito Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

#event-grid p.address {
    margin: 0;
    color: #3f3f3f;
    font-family: "Nunito Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    padding-bottom: 12px;
}

#event-grid p.description {
    margin: 0;
    color: #3f3f3f;
    font-family: "Nunito Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-bottom: 24px;
}

#event-grid p.time {
    margin: 0;
    color: #3f3f3f;
    font-family: "Nunito Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    padding-bottom: 20px;
}

#event-grid .time {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
}

#event-grid .paid-event {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0 29px 12px 19px;
}

#event-grid .paid-event i {
    color: var(--CoCP-Black, #3F3F3F);
    font-size: 16px;
    margin-top: 0;
}

#event-grid .paid-event p {
    margin: 0;
    padding: 0;
    color: var(--CoCP-Black, #3F3F3F);
    font-family: "Nunito Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

#event-grid p {
    padding: 0 29px 0 19px;
}

#event-grid .time .far {
    margin-top: 0;
}

#event-grid a.related-event-item:hover {
    text-decoration: none;
    box-shadow: 0 5px 50px 0 rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}

#event-grid div.date {
    margin: 0;
    padding: 0;
    min-width: 81px;
    min-height: 81px;
    max-width: 81px;
    max-height: 81px;
    overflow: hidden;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    border-radius: 10px 0 0 0;
    background: #3f3f3f;
}

#event-grid p.month {
    margin: 11px 0 0 0;
    padding: 0;
    color: #fff;
    text-align: center;
    font-family: Montserrat;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

#event-grid p.day {
    margin: 0;
    padding: 0;
    color: #fff;
    text-align: center;
    font-family: Montserrat;
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

/* ========================================
   LIST VIEW STYLES
   ======================================== */

#event-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 100px;
}

#event-list .related-event-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 26px 0 31px 0;
}

#event-list a.related-event-item {
    display: grid;
    grid-template-columns: 315px 1fr;
    gap: 5px;
    text-decoration: none;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 50px 0 rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    min-height: 180px;
}

#event-list div.related-event-img {
    margin: 0;
    padding: 0;
    width: 100%;
    background-size: 150%;
    background-position: center center;
    border-radius: 10px 0 0 10px;
    transition: background-size 1s ease;
}

/* Keep image scale consistent on hover */
#event-grid a.related-event-item div.related-event-img {
    background-size: 100%;
    transition: background-size 0.5s ease-in-out;
}

#event-grid a.related-event-item:hover div.related-event-img {
    background-size: 120%;
}

#event-list a.related-event-item div.related-event-img {
    background-size: 100%;
    transition: background-size 0.5s ease-in-out;
}

#event-list a.related-event-item:hover div.related-event-img {
    background-size: 120%;
}

#event-list h3 {
    margin: 0;
    padding: 0;
    color: #000;
    padding: 0px 29px 12px 19px;
    font-family: "Montserrat", Sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

#event-list p.location {
    margin: 0;
    color: #3f3f3f;
    font-family: "Nunito Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

#event-list p.address {
    margin: 0;
    color: #3f3f3f;
    font-family: "Nunito Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

#event-list p.description {
    margin: 0;
    color: #3f3f3f;
    font-family: "Nunito Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-bottom: 24px;

}

#event-list p.time {
    margin: 0;
    color: #3f3f3f;
    font-family: "Nunito Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

#event-list .time {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
}

#event-list .paid-event {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0 29px 12px 19px;
}

#event-list .paid-event i {
    color: var(--CoCP-Black, #3F3F3F);
    font-size: 16px;
    margin-top: 0;
}

#event-list .paid-event p {
    margin: 0;
    padding: 0;
    color: var(--CoCP-Black, #3F3F3F);
    font-family: "Nunito Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}

#event-list p {
    padding: 0 29px 0 19px;
}

#event-list .time .far {
    margin-top: 0;
}

#event-list a.related-event-item:hover {
    text-decoration: none;
    box-shadow: 0 5px 50px 0 rgba(0, 0, 0, 0.4);
    transform: translateX(5px);
}

#event-list div.date {
    margin: 0;
    padding: 0;
    min-width: 81px;
    min-height: 81px;
    max-width: 81px;
    max-height: 81px;
    overflow: hidden;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    border-radius: 10px 0 0 0;
    background: #3f3f3f;
}

#event-list p.month {
    margin: 11px 0 0 0;
    padding: 0;
    color: #fff;
    text-align: center;
    font-family: Montserrat;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

#event-list p.day {
    margin: 0;
    padding: 0;
    color: #fff;
    text-align: center;
    font-family: Montserrat;
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

/* ========================================
   MINI MONTH CALENDAR STYLES
   ======================================== */

#mini-month-calendar {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 305px;
}

.mm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-top: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.mm-header svg {
    cursor: pointer;
    transition: opacity 0.2s ease;
    margin: 0 16px;
}

.mm-header svg:hover {
    opacity: 0.7;
}

.mm-year {
    color: var(--CoCP-Green-Light, #195E46);
    text-align: center;
    font-family: "Nunito Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
}

.mm-months {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0 16px;
    padding-bottom: 16px;
}

.mm-month {
    color: var(--CoCP-Black, #3F3F3F);
    text-align: center;
    font-family: "Nunito Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    margin: 0;
}

.mm-month:hover {
    background-color: #f5f5f5;
}

.mm-month.active {
    border-radius: 4px;
    background: var(--CoCP-Green-Light, #195E46);
    color: white;
}

/* ========================================
   CALENDAR VIEW STYLES
   ======================================== */

#event-calendar {
    display: block;
    padding-bottom: 100px;
}


/* Load More Events Button Styles */
section.events-load-more {
    padding: 0 0 100px 0;
}

.events-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0px;
    gap: 20px;
    text-decoration: none;
}


.cocp-white-alt {
    border-radius: 5px;
    border: 1px solid #ccc;
    background: var(--White, #fff);
    color: var(--CoCP-Green, #004d32);
    font-family: "Nunito Sans";
    font-size: 16px;
}

.events-button {
    max-width: 240px;
    min-width: 240px;
    max-height: 52px;
    padding: 16px 35px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.events-button:hover,
.events-button:hover a,
.events-button:hover i {
    background: #000 !important;
    color: var(--White, #fff) !important;
    text-decoration: none !important;
    fill: #fff !important;
}

.fa-calendar-alt:before {
    content: "\f073";
}



.events-button .far,
.events-button .fas {
    margin-top: 0px;
}

.far {
    font-weight: 400;
}

.fal,
.far {
    font-family: "Font Awesome 5 Pro";
}

.fa,
.fab,
.fad,
.fal,
.far,
.fas {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.far,
.fas {
    margin-top: 8px;
    fill: #3F3F3F;
    color: #3F3F3F;
}

.fa-calendar-alt:before {
    content: "\f073";
}

/* Calendar View Styles */
#event-calendar .calendar {
    display: grid;
    gap: 1px;
    border-radius: 6px;
    overflow: hidden;

    color: #3F3F3F;

    border-radius: 10px;
    background: #FFF;
    box-shadow: 0 4px 84px 0 rgba(0, 0, 0, 0.16);
}

#event-calendar .calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #ffffff;
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.48px;
    text-transform: uppercase;

}

#event-calendar .calendar-header>div {
    padding-left: 9px;
    padding-right: 0px;
    padding-bottom: 12px;
    padding-top: 12px;
    border-right: 1px solid rgba(204, 204, 204, 0.80);
}

#event-calendar .calendar-header>div:last-child {
    border-right: none;
}

#event-calendar .calendar-body {
    display: grid;
    /*grid-template-rows: 1fr;*/
}

#event-calendar .week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

#event-calendar .day {
    background: #fff;
    min-height: 100px;
    padding: 6px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid #eee;
}

#event-calendar .day.is-outside {
    background: #f8f8f8;
    color: #aaa;
}


.day.is-today {
    background: #e8f4f8;
    border: 2px solid #004d32;
}

#event-calendar .day .date {
    margin-bottom: 4px;
    color: var(--Black, #000);
    font-family: Montserrat;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    padding-left: 5px;
    padding-bottom: 5px;
}

#event-calendar .day ul.events {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 4px;
    font-size: 12px;
    line-height: 1.3;
}

#event-calendar div.day.is-outside span.date {
    color: var(--Gray, #757575) !important;
}

#event-calendar .day ul.events li {
    background: transparent;
    color: var(--CoCP-Black, #3F3F3F);
    font-family: "Nunito Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: -0.14px;
    padding-left: 5px;
}

#event-calendar .day ul.events li a {
    background: transparent;
    color: var(--CoCP-Black, #3F3F3F);
    font-family: "Nunito Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: -0.14px;
    text-decoration: none;
}

#event-calendar .day ul.events li a:hover {
    color: #0c5e41;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ========================================
   FONT AWESOME ICONS
   ======================================== */

.fa-clock:before {
    content: "\f017";
}

/* ========================================
   DATE RANGE PICKER STYLES
   ======================================== */

#date-range-picker-calendar {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 20px;
    display: none;
    width: 600px;
    font-family: "Nunito Sans", sans-serif;
}

.date-range-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.date-range-picker-nav {
    display: flex;
    align-items: center;
}

.date-range-picker-nav svg {
    cursor: pointer;
    width: 11px;
    height: 18px;
    fill: #3F3F3F;
    transition: fill 0.2s ease;
}

.date-range-picker-nav svg:hover {
    fill: #195E46;
}

.date-range-picker-month-year {
    font-size: 18px;
    font-weight: 600;
    color: #3F3F3F;
    text-align: center;
    flex: 1;
}

.date-range-picker-calendars {
    display: flex;
    gap: 20px;
}

.date-range-picker-calendar {
    flex: 1;
}

.date-range-picker-calendar-header {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #3F3F3F;
    margin-bottom: 10px;
}

.date-range-picker-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 8px;
}

.date-range-picker-day-header {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    padding: 8px 4px;
}

.date-range-picker-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.date-range-picker-day {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    position: relative;
}

.date-range-picker-day:hover {
    background-color: #f0f0f0;
}

.date-range-picker-day.other-month {
    color: #ccc;
}

.date-range-picker-day.selected-start {
    background-color: #195E46;
    color: white;
    font-weight: 600;
}

.date-range-picker-day.selected-end {
    background-color: #195E46;
    color: white;
    font-weight: 600;
}

.date-range-picker-day.in-range {
    background-color: #e8f5e8;
    color: #195E46;
}

.date-range-picker-day.today {
    font-weight: 600;
    color: #195E46;
}

.date-range-picker-day.today:not(.selected-start):not(.selected-end):not(.in-range) {
    background-color: #f8f8f8;
    border: 1px solid #195E46;
}

#events-filter {
    display: none !important;
}

.date-range-picker-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.date-range-picker-selected {
    font-size: 14px;
    color: #3F3F3F;
    font-weight: 500;
}

.date-range-picker-buttons {
    display: flex;
    gap: 10px;
}

.date-range-picker-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.date-range-picker-btn-cancel {
    background-color: #f5f5f5;
    color: #666;
}

.date-range-picker-btn-cancel:hover {
    background-color: #e0e0e0;
}

.date-range-picker-btn-apply {
    background-color: #195E46;
    color: white;
}

.date-range-picker-btn-apply:hover {
    background-color: #0d3d2a;
}

.date-range-picker-btn-apply:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

@media (max-width: 1290px) {
    section.events-listing {
        padding-left: 10px;
        padding-right: 10px;
    }

    section.events-listing section.events-list-parameters {
        justify-content: flex-start;
    }

    .signup-card {
        background: #e7e5e1;
        border-radius: 12px;
        padding: 18px;
        text-align: center;
        display: flex;
        justify-content: flex-start;
        gap: 16px;
    }

    .signup-title {
        margin: 0 0 14px 0;
        color: #004d32;
        text-align: left;
        font-family: Montserrat;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        min-width: 70%;
    }

    .event-type-list {
        list-style: none;
        margin: 0;
        padding: 0;
        padding-bottom: 0px;
        display: flex;
        justify-content: flex-start;
        gap: 16px;
    }

    section.events-listing section.events-list-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    #event-list .related-event-copy {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .format-options {
        display: none !important;
    }

    #event-list {
        display: none !important;
    }

    #event-calendar {
        display: none !important;
    }

    #event-grid {
        display: grid !important;
    }

    .event-type-list {
        flex-direction: column;
        gap: 0;
    }

    .events-list-cta {
        display: none;
    }

    #events-filter {
        display: flex !important;
    }

    section.events-listing section.events-list-search {
        padding: 0;
        padding-top: 30px;
    }

    section.events-listing section.events-list-parameters {
        padding: 20px 0;
        justify-content: center;
        gap: 0;
    }

    .events-search {
        width: 320px;
    }

    .events-list-right-panel {
        padding-top: 40px;
    }

    #events-list-left-panel h3 {
        display: none;
    }

    .events-list-type {
        display: none;
        border: none;
        margin: 0;
        padding: 0;
    }

    .events-list-type legend {
        color: #3f3f3f;
        font-family: Montserrat;
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        padding-bottom: 15px;
        margin: 0;
        padding-top: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .mobile-filter-button {
        display: flex !important;
        width: 320px;
        margin: 0 auto 20px auto;
    }

    .mobile-filter-button p {
        margin: 0;
        padding: 0;
    }

    /* Mobile filter dropdown styles - applied via JavaScript */
    .mobile-filters-open #events-filter {
        margin: 0 auto 0 auto;
        border-bottom: none;
        border-radius: 5px 5px 0px 0px;
    }


    .mobile-filters-open .events-list-type {
        display: block;
        margin: 0 auto;
        max-width: 320px;
        border: 1px solid #ccc;
        border-radius: 5px;
        padding: 0 12px;
        margin: -2px auto 0px auto;
        border-top: none;
        padding: 10px 12px;
        border-radius: 0px 0px 5px 5px;
    }

    .mobile-filters-open .events-list-type legend {
        font-size: 16px;
        margin-bottom: 10px;
    }
}

@media (max-width: 900px) {
    #event-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    #event-grid {
        grid-template-columns: 1fr;
        max-width: 341px;
        justify-content: center;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {}

@media (max-width: 768px) {}

/* Clear All Filter Link Styles */
.clear-all-filter {
    margin-top: 10px;
    padding-top: 15px;
    border-top: none;
    color: #3f3f3f;
    font-family: "Nunito Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    color: #004d32;
}

/* Prevent grid layout from forcing the Clear All link to wrap */
.event-type-list li.clear-all-filter {
    display: block;
    grid-template-columns: none;
    gap: 0;
}

.clear-all-link {
    color: #3f3f3f;
    font-family: "Nunito Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    color: #004d32;
    text-decoration: none;
    transition: color 0.2s ease;
}

.clear-all-link {
    white-space: nowrap;
    display: inline-block;
}

/* No-events message spacing */
.no-events-found h2,
.no-events-found p {
    margin: 0;
    padding: 0;
}

@media (max-width: 1290px) {


    .clear-all-filter {
        margin: 0 !important;
        padding: 0 !important;
        margin-top: 2px !important;

    }
}

#event-grid .no-events-found * {
    padding: 0;
}

#event-list .no-events-found * {
    padding: 0;
}

#event-calendar .no-events-found * {
    padding: 0;
}

.clear-all-link:hover {
    color: #333;
    text-decoration: underline;
}