:root {
    --express-purple: #9b5de5;
    --express-purple-dark: #42207a;
    --express-blue-card: #BDECF9;
    --express-text-blue: #3A87AD;
    --express-text-deep-purple: #660099;
    --express-radius-lg: 30px;
    --wp--style--global--content-size: 1000px;
    --wp--style--global--wide-size: 1900px;
}


.page {
    background: #fbead2;
}

#page-express {
    background: var(--express-purple);
}

/* .express-modal {
    display: none;
} */
.express-sections {
    padding: 60px 20px;
    min-height: 80vh;
    font-family: 'Formular', sans-serif;
    color: #fff;
    max-width: var(--wp--style--global--content-size);
    margin-left: auto !important;
    margin-right: auto !important;
}

.express-sections {
    background: var(--express-purple);
}

.express-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.express-button a {
    display: block;
    padding: 18px 35px;
    background: #733fb8;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 400;
    font-size: 20px;
    transition: all 0.3s ease;
}

#open_express_locations_map_modal {
    border: 1px solid #422369 !important;
    background: none !important;
}

.express-button a.active {
    background: var(--express-purple-dark);
    color: #fff;
}

/* Filters Container (Grey Bar) */
.express-filters {
    background: var(--express-text-deep-purple);
    border-radius: 20px;
    padding: 10px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.express-search__container {
    background: #fff;
    border: 2px solid #000;
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 12px 25px;
    margin-bottom: 15px;
}

.express-search__container input {
    border: none;
    width: 100%;
    font-size: 18px;
    outline: none;
}

.express-filters__options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0px 10px;
    align-items: center;
}

.express-filter__toggle {
    background: none;
    border: none;
    color: #fff;
    font-weight: 400;
    font-size: 12px;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
}

.express_filter_clear {
    background: none;
    border: none;
    border-radius: 20px;
    padding: 4px 10px;
    color: #fff;
    border: 1px solid #fff;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 12px;
    margin-top: 4px;
}

/* Filters Dropdown */
.express-filter {
    position: relative;
}

.express-filter__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 2px solid #000;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 220px;
    padding: 10px 0;
    margin-top: 10px;
    max-height: 400px;
    overflow-y: auto;
}

.express_filter_button {
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    transition: all 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.express_filter_button:last-child {
    border-bottom: none;
}

.express_filter_button:hover {
    background: #f8f8f8;
    color: var(--express-purple);
}

.express_filter_button.select {
    background: var(--express-blue-card);
    color: var(--express-text-blue);
    font-weight: 700;
    position: relative;
    padding-left: 35px;
}

.express_filter_button.select:before {
    content: '✓';
    position: absolute;
    left: 15px;
    font-weight: 900;
}

.express-filter__toggle.active {
    color: var(--express-purple);
    font-weight: 900;
}


/* List Grid */
.express-sections_list {
    display: block;
}

/* Express Item Card (Program Style) */
.express-item {
    background: var(--express-blue-card);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: var(--express-text-blue);
    margin-bottom: 10px;
}

.express-item:hover {
    transform: translateY(-5px);
}

.express-item__location,
.express-item__link {
    color: var(--express-text-deep-purple) !important;
}

.express-item__link {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 30px 40px;
}

.express-item__label {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: var(--express-text-blue);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.express-item__date-info {
    display: flex;
    align-items: baseline;
    gap: 15px;
    color: var(--express-text-blue);
    margin-bottom: 15px;
}

.express-item__weekday {
    font-size: 26px;
    font-weight: 950;
    line-height: 1;
}

.express-item__time {
    font-size: 22px;
    font-weight: 400;
    font-style: italic;
    opacity: 0.8;
}

.express-item__location {
    font-size: 18px;
    font-weight: 600;
    color: var(--express-text-blue);
    margin-bottom: 15px;
}

.express-item__company {
    font-size: 18px;
    color: var(--express-text-blue);
}

.express-item__company span {
    font-weight: 800;
}

/* Modal Stylization */
.express-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
}

.express-modal.popup-active {
    display: block;
}

body.popup-active {
    overflow: hidden;
}

.express-modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    padding: 40px 0;
}

.express-modal__dialog {
    background: #fff;
    width: 90%;
    max-width: 800px;
    border-radius: 20px;
    position: relative;
    z-index: 10;
    margin: auto;
    animation: modalScaleUp 0.3s ease-out;
}

@keyframes modalScaleUp {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.express-modal__header-bar {
    position: sticky;
    top: 20px;
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
    height: 0;
    pointer-events: none;
}

.express-modal__close-btn {
    pointer-events: auto;
    margin-right: -20px;
    background: #000;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.express-modal__info-header {
    background: var(--express-blue-card);
    padding: 20px 30px;
    color: var(--express-text-deep-purple);
}

.express-modal__label {
    font-weight: 800;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.express-modal__date-block {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 15px;
}

.express-modal__weekday {
    font-size: 48px;
    line-height: 48px;
    font-weight: 950;
    margin: 0;
}

.express-modal__time {
    padding: 5px 0;
    font-size: 36px;
    line-height: 36px;
    font-style: italic;
}

.express-modal__body {
    border-radius: 0 0 15px 15px;
}

.express-modal__row {
    margin: 5px;
    border-radius: 15px;
    overflow: hidden;
    background-color: #f3f3f3;
    padding: 20px;
}

.express-modal__row--flex {
    display: flex;
    gap: 10px;
    background: transparent;
    padding: 0;
}

.express-modal__row--flex .express-modal__box--half {
    flex: 1;
    background-color: #f3f3f3;
    padding: 20px;
    border-radius: 15px;
}

.express-modal__row h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 5px;
}

.express-modal__row h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
}

.express-modal__row .vacancy-category {
    padding-left: 10px;
}

.express-modal__row p,
.express-modal__row a {
    font-size: 14px;
    font-weight: 400;
    color: #656565;
}

.express-modal__row h3 {
    color: #747474;
}

#modal_express_register {
    width: 100%;
    text-align: center;
}

#modal_express_register a {
    display: inline-block;
    font-size: 18px;
    font-weight: 800;
}

.express-modal__details-content {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 15px;
    color: #333;
    line-height: 1.6;
}

.express-modal__details-content h3 {
    font-weight: 800;
    margin-top: 25px;
}

.express-modal__details-content h3:first-child {
    margin-top: 0;
}

.express-modal__actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.express-modal__action-item a {
    display: block;
    background: #000;
    color: #fff;
    padding: 15px 25px;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 800px) {
    .express-sections__list {
        grid-template-columns: 1fr;
    }

    .express-modal__info-header {
        padding: 30px;
    }

    .express-modal__weekday {
        font-size: 32px;
    }

    .express-modal__row--flex {
        flex-direction: column;
    }

    .express-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }

    .express-filters__options {
        justify-content: center;
    }
}

#modal_express_details {
    padding-left: 25px;
}

#modal_express_details h3 {
    margin-top: 10px;
}

/* Standalone Page Styling */
.express_item_page.standalone-page {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    color: var(--express-text-deep-purple);
}

.express_item_page.standalone-page .express-modal__info-header {
    border-radius: 15px 15px 0 0;
}

.express_item_page.standalone-page .express-modal__body {
    padding: 10px;
}

@media (max-width: 950px) {
    .express_item_page.standalone-page {
        margin: 20px 15px;
        width: auto;
    }
}

.express_item_page .express-modal__info-header {
    background: #ffffcc !important;
}

#modal_express_website {
    text-align: center;
    margin-top: 0px;
}

#modal_express_website a {
    display: inline-block;
    font-size: 16px;
    font-weight: 800;
}