.elementor-37025 .elementor-element.elementor-element-6a8bea4{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-37025 .elementor-element.elementor-element-ac515ae{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-37025 .elementor-element.elementor-element-899fe11{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}@media(min-width:768px){.elementor-37025 .elementor-element.elementor-element-ac515ae{--width:50%;}.elementor-37025 .elementor-element.elementor-element-899fe11{--width:50%;}}/* Start custom CSS *//* ================================
   MCE Programme Search – Forced UI
   ================================ */

.mce-filter-box {
    max-width: 760px;
    background: #f6f3ed;
    padding: 18px;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

/* Reset any theme interference */
.mce-filter-box *,
.mce-filter-box *::before,
.mce-filter-box *::after {
    box-sizing: border-box;
}

/* Field wrapper */
.mce-filter-box .mce-field-group {
    margin-bottom: 14px;
}

/* Labels (gold, uppercase) */
.mce-filter-box .mce-field-group label {
    display: block !important;
    margin-bottom: 6px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #c39b2f !important;
    letter-spacing: 0.5px;
}

/* Inputs & selects – HARD OVERRIDE */
.mce-filter-box select,
.mce-filter-box input[type="date"] {
    display: block !important;
    width: 100% !important;
    height: 44px !important;
    padding: 8px 10px !important;
    font-size: 14px !important;
    border: 1px solid #8c856b !important;
    background-color: #f9f7f2 !important;
    color: #333 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

/* Dropdown arrow fix (optional but closer to Formidable) */
.mce-filter-box select {
    background-image:
        linear-gradient(45deg, transparent 50%, #333 50%),
        linear-gradient(135deg, #333 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 3px),
        calc(100% - 13px) calc(50% - 3px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

/* Date row */
.mce-filter-box .mce-date-row {
    display: flex;
    gap: 14px;
}

.mce-filter-box .mce-date-row .mce-field-group {
    flex: 1;
}

/* Search button – FULL WIDTH GOLD */
.mce-filter-box .mce-search-btn {
    display: block !important;
    width: 100% !important;
    height: 44px !important;
    background: #c39b2f !important;
    color: #fff !important;
    border: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    letter-spacing: 0.5px;
    padding: 0 !important;
}

.mce-filter-box .mce-search-btn:hover {
    background: #b18a28 !important;
}

.mce-filter-box select[multiple] {
    height: auto !important;
    min-height: 120px;
    padding: 6px 10px !important;
}

/* ================================
   Available Months – styled grid
   ================================ */

.mce-months {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px 14px;
    padding: 14px;
    background: #f9f7f2;
    border: 1px solid #8c856b;
}

/* Each month = clickable card */
.mce-months label {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #d6d0bd;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    transition: all 0.15s ease;
    text-transform: none !important;
    letter-spacing: normal;    
}

/* Hover state */
.mce-months label:hover {
    border-color: #c39b2f;
    background: #fdfbf6;
}

/* Checkbox */
.mce-months input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #c39b2f;
    flex-shrink: 0;
    margin-right: 14px;
}

/* Checked state = gold highlight */
.mce-months label:has(input[type="checkbox"]:checked) {
    border-color: #c39b2f;
    background: #fff8e3;
    font-weight: 600;
}

/* ================================
   Months accordion
   ================================ */

.mce-months-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding-bottom: 6px;
}

.mce-months-toggle label {
    margin: 0;
}

.mce-months-summary {
    font-size: 12px;
    color: #8c856b;
}

/* Collapsed state */
.mce-months.mce-collapsed {
    display: none;
}

/* Smooth expand (optional) */
.mce-months {
    transition: max-height 0.2s ease;
}


/* ================================
   Mobile tweaks (<= 768px)
   ================================ */

@media (max-width: 768px) {

    .mce-filter-box {
        padding: 14px;
    }

    /* Stack date fields */
    .mce-filter-box .mce-date-row {
        flex-direction: column;
        gap: 12px;
    }

    /* Slightly taller fields for touch */
    .mce-filter-box select,
    .mce-filter-box input[type="date"] {
        height: 48px !important;
        font-size: 15px !important;
    }

    /* Labels slightly larger */
    .mce-filter-box .mce-field-group label {
        font-size: 13px !important;
    }

    /* Button larger & clearer */
    .mce-filter-box .mce-search-btn {
        height: 48px !important;
        font-size: 15px !important;
    }
}

@media (max-width: 600px) {

    .mce-months {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px;
    }

    .mce-months label {
        padding: 12px;
        font-size: 14px;
    }
}/* End custom CSS */