/* ==========================================================
   EECC Meeting Listing
   ========================================================== */

.eecc-meetings,
.eecc-meetings *{
    box-sizing:border-box;
}

.eecc-meetings{
    width:100%;
    max-width:980px;
    margin:0;
    padding:0;
    font-family:inherit;
}

.eecc-meetings-heading{
    margin:24px 0 16px;
    padding-bottom:10px;
    border-bottom:2px solid #ececec;
    font-size:1.35rem;
    font-weight:700;
}

/* ==========================================================
   Featured Meeting
   ========================================================== */

.eecc-featured-meeting{
    display:flex;
    flex-direction:column;
    margin:0 0 24px;
    border:1px solid #d9d9d9;
    border-left:5px solid #2d8f47;
    border-radius:8px;
    background:#fff;
    max-width: 650px;
    overflow:hidden;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
}

.eecc-featured-header{
    background:#f7f7f7;
    padding:10px 18px;
    font-size:.85rem;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#555;
    border-bottom:1px solid #ececec;
}

.eecc-featured-body{
    display:grid;
    grid-template-columns:100px 1fr;
    gap:20px;
    padding:18px;
}

.eecc-featured-date{
    display:flex;
    flex-direction:column;
    border:1px solid #ddd;
    border-radius:8px;
    overflow:hidden;
    text-align:center;
    background:#fafafa;
}

.eecc-featured-day{
    padding:8px 0;
    background:#444;
    color:#fff;
    font-size:16px;
    font-weight:700;
    text-transform:uppercase;
}

.eecc-featured-number{
    padding:12px 0 2px;
    font-size:28px;
    line-height:1;
    font-weight:700;
}

.eecc-featured-month{
    padding:0 0 12px;
    font-size:16px;
    text-transform:uppercase;
    color:#666;
}

.eecc-featured-venue{
    margin-top:auto;
    padding:8px 4px;
    font-size:14px;
    font-weight:700;
    text-transform:uppercase;
    color:#fff;
}

.eecc-featured-title{
    font-size:26px;
    font-weight:700;
    margin:0 0 14px;
    line-height:1.25;
}

.eecc-featured-descr{
    font-size:18px;
    font-weight:400;
    margin:0 0 20px;
    line-height:0;
}

.eecc-featured-status{
    font-size:18px;
    font-weight:600;
    margin-bottom:16px;
}

.eecc-featured-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:18px;
}

/* ==========================================================
   Meeting List
   ========================================================== */

.eecc-meetings-list{
    display:flex;
    flex-direction:column;
    gap:16px;
    width:100%;
    margin:0 auto;
}

/* ==========================================================
   Compact Card
   ========================================================== */

.eecc-card{
    display:grid;
    grid-template-columns:92px 1fr;
    gap:16px;
    padding:12px;
    border:1px solid #ddd;
    border-radius:8px;
    background:#fff;
    max-width:600px;
    transition:.2s;
}

.eecc-card:hover{
    border-color:#bcbcbc;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
}

.eecc-card-date{
    display:flex;
    flex-direction:column;
    border:1px solid #ddd;
    border-radius:6px;
    overflow:hidden;
    background:#fafafa;
}

.eecc-card-day{
    padding:5px 0;
    background:#444;
    color:#fff;
    font-size:16px;
    font-weight:700;
    text-align:center;
    text-transform:uppercase;
}

.eecc-card-number{
    padding:8px 0 0;
    text-align:center;
    font-size:28px;
    line-height:1;
    font-weight:700;
}

.eecc-card-month{
    padding:2px 0 8px;
    text-align:center;
    color:#666;
    font-size:16px;
    text-transform:uppercase;
}

.eecc-card-venue{
    margin-top:auto;
    padding:6px;
    text-align:center;
    font-size:14px;
    font-weight:700;
    text-transform:uppercase;
    color:#fff;
}

.eecc-card-main{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-width:0;
}

.eecc-card-title{
    font-size:20px;
    font-weight:700;
    line-height:1.3;
    margin-bottom:10px;
}

.eecc-card-descr{
    font-size:18px;
    font-weight:400;
    margin:0 0 20px;
    line-height:0;
}

.eecc-card-status{
    font-weight:600;
    font-size:18px;
    margin-bottom:14px;
}

.eecc-card-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

/* ==========================================================
   Buttons
   ========================================================== */

.eecc-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 18px;
    border-radius:4px;
    text-decoration:none!important;
    font-size:.85rem;
    font-weight:600;
    transition:.2s;
}

.eecc-button-primary{
    background:#6cb33f;
    color:#fff!important;
}

.eecc-button-primary:hover{
    background:#5aa12d;
}

.eecc-button-secondary{
    background:#efefef;
    color:#333!important;
}

.eecc-button-secondary:hover{
    background:#dddddd;
}

/* ==========================================================
   Status Colours
   ========================================================== */

.eecc-status-open{
    color:#2d8f47;
}

.eecc-status-closed{
    color:#c62828;
}

/* ==========================================================
   Mobile
   ========================================================== */

@media (max-width:768px){

    .eecc-featured-body{
        grid-template-columns:1fr;
    }

    .eecc-featured-date{
        max-width:100px;
    }

    .eecc-card{
        grid-template-columns:78px 1fr;
        gap:12px;
    }

    .eecc-card-title{
        font-size:1rem;
    }

    .eecc-card-buttons{
        flex-direction:column;
    }

    .eecc-button{
        width:100%;
    }
}

/* ==========================================================
   Meetings Toolbar
   ========================================================== */

.eecc-meetings-toolbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    margin:24px 0 18px;
    max-width:600px;
}

.eecc-meeting-heading{
    margin:0;
    padding:0;
    border:0;
    font-size:1.4rem;
    font-weight:700;
}

.eecc-filter-toggle{
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 16px;
    background:#fff;
    border:1px solid #ddd;
    border-radius:6px;
    cursor:pointer;
    font-size:.9rem;
    font-weight:500;
    transition:.2s;
    box-shadow:0 1px 3px rgba(0,0,0,.04);
}

.eecc-filter-toggle:hover{
    border-color:#6cb33f;
    box-shadow:0 3px 8px rgba(0,0,0,.08);
}

.eecc-filter-chevron{
    width:9px;
    height:9px;
    border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;
    transform:rotate(45deg);
    transition:.2s;
}

.eecc-filter-panel.open .eecc-filter-chevron{
    transform:rotate(225deg);
}

.eecc-filter-panel{
    max-width:600px;
    margin-bottom:24px;
}

.eecc-filter-panel .eecc-filters{
    display:none;
}

.eecc-filter-panel.open .eecc-filters{
    display:flex;
}

/* ==========================================================
   Filters
   ========================================================== */

.eecc-filters{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    margin:0 0 22px;
    padding:16px 18px;
    background:#fafafa;
    border:1px solid #e5e5e5;
    border-radius:8px;
}

.eecc-filter-group{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px;
    width:100%;
}

.eecc-filter-label{
    min-width:70px;
    font-size:.9rem;
    font-weight:700;
    color:#444;
    text-transform:uppercase;
    letter-spacing:.05em;
}

.eecc-filter{
    appearance:none;
    border:1px solid #d6d6d6;
    background:#fff;
    color:#555;
    border-radius:20px;
    padding:7px 16px;
    font-size:.9rem;
    font-weight:600;
    line-height:1.2;
    cursor:pointer;
    transition:all .18s ease;
}

.eecc-filter:hover{
    border-color:#6cb33f;
    color:#6cb33f;
}

.eecc-filter.active{
    background:#6cb33f;
    border-color:#6cb33f;
    color:#fff;
}

.eecc-filter.active:hover{
    color:#fff;
}

/* ==========================================================
   Collapsible Filter Panel
   ========================================================== */

.eecc-filter-panel{
    margin-bottom:24px;
}

.eecc-filter-toggle{
    display:flex;
    align-items:center;
    justify-content:space-between;
/*    width:100%; */
    max-width:200px; 
    padding:12px 18px;
    border:1px solid #dcdcdc;
    border-radius:8px;
    background:#fff;
    cursor:pointer;
    font-size:1rem;
    font-weight:400;
    transition:.2s;
    box-shadow:0 1px 3px rgba(0,0,0,.04);
}

.eecc-filter-toggle:hover{
    border-color:#6cb33f;
    box-shadow:0 3px 8px rgba(0,0,0,.08);
}

.eecc-filter-toggle-text{
    flex:1;
    text-align:left;
}

.eecc-filter-chevron{
    width:10px;
    height:10px;
    margin-left:12px;
    border-right:2px solid currentColor;
    border-bottom:2px solid currentColor;
    transform:rotate(45deg);
    transition:transform .2s ease;
    flex-shrink:0;
}

.eecc-filter-panel.open .eecc-filter-chevron{
    transform:rotate(225deg);
}

.eecc-filter-panel .eecc-filters{
    display:none;
    margin-top:12px;
}

.eecc-filter-panel.open .eecc-filters{
    display:flex;
}

@media (max-width:768px){

    .eecc-filters{
        padding:14px;
        gap:14px;
    }

    .eecc-filter-group{
        gap:6px;
    }

    .eecc-filter-label{
        width:100%;
        margin-bottom:4px;
    }

}