@media (max-width: 1399px) {
            /* .container, .container-lg, .container-md, .container-sm, .container-xl {
                max-width: 1140px;
            } */
             .contact-info-area {
                justify-content: center;
            }
            
        }

        @media (max-width: 767px) {

            /* .container, .container-lg, .container-md, .container-sm, .container-xl {
                max-width: 1140px;
            } */
            .contact-info-area {
                justify-content: left;
            }

        }

        @media (min-width: 1366px) {
            /* .container, .container-lg, .container-md, .container-sm, .container-xl {
                max-width: 1140px;
            } */
             
             .under-hero {
                max-width: 100%;
             }
             
            .hero-section {
                margin-top: -5px;
            }

        }


/* News listing page */
.news-page-heading {
    padding: 70px 0 28px;
    text-align: center;
    background: #f7f7f8;
}

.news-page-heading h1 {
    margin: 0;
    color: #181645;
    font-size: clamp(32px, 3vw, 44px);
}

.news-page-section {
    padding-top: 28px;
    background: #f7f7f8;
}

.news-page-grid > [class*="col-"] {
    display: flex;
}

.news-card-items.news-page-card {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(24, 22, 69, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.news-card-items.news-page-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 24px rgba(24, 22, 69, .12);
}

.news-page-card .news-page-image {
    height: 190px;
    overflow: hidden;
    border-radius: 14px;
    background: #ececf1;
}

.news-page-card .news-page-image img {
    position: relative !important;
    inset: auto !important;
    z-index: auto !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    display: block !important;
    object-fit: cover;
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-filter: none !important;
    filter: none !important;
    transform: none !important;
    transition: transform .25s ease;
}

.news-page-card:hover .news-page-image img,
.news-card-items.news-page-card:hover .news-image img:first-child {
    opacity: 1 !important;
    -webkit-filter: none !important;
    filter: none !important;
    transform: scale(1.025) !important;
}

.news-page-image-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #181645;
    font-size: 34px;
}

.news-page-card .news-page-content {
    padding: 22px 0 2px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.news-page-card .news-page-meta {
    width: 100%;
    margin: 0 0 18px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #4d5069;
    font-size: 14px;
}

.news-page-card .news-page-meta li {
    margin: 0;
    white-space: nowrap;
}

.news-page-card .news-page-meta i {
    margin-right: 6px;
    color: #181645;
}

.news-page-card .news-page-title {
    margin: 0 0 20px;
    flex: 1;
    font-size: 19px;
    line-height: 1.38;
    font-weight: 700;
}

.news-page-card .news-page-title a {
    color: #181645;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.news-page-button {
    width: fit-content;
    min-height: 42px;
    padding: 10px 17px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    background: #181645;
    color: #fff !important;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(24, 22, 69, .18);
}

.news-page-modal {
    max-width: min(900px, calc(100% - 24px));
    margin-left: auto;
    margin-right: auto;
}

.news-page-modal .modal-body {
    padding: 25px !important;
}

@media (min-width: 1200px) {
    .news-page-section .container {
        max-width: 1320px;
    }
}

@media (max-width: 1199px) {
    .news-page-card .news-page-image {
        height: 210px;
    }
}

@media (max-width: 767px) {
    .news-page-heading {
        padding: 45px 0 18px;
    }

    .news-page-section {
        padding-top: 18px;
    }

    .news-card-items.news-page-card {
        padding: 14px;
    }

    .news-page-card .news-page-image {
        height: 230px;
    }
}

@media (max-width: 480px) {
    .news-page-card .news-page-image {
        height: 200px;
    }

    .news-page-card .news-page-meta {
        gap: 8px;
        font-size: 13px;
    }

    .news-page-card .news-page-title {
        font-size: 18px;
    }
}


/* Match the public landing header sizing on /news. */
.headerlogo-neuro {
    max-width: 150px;
}

@media (max-width: 436px) {
    .headerlogo-neuro {
        max-width: 110px !important;
        margin-top: 10px !important;
        top: 10px !important;
    }
}


/* Search, filters and pagination for the public news listing. */
.news-page-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 14px;
    padding: 20px;
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid #e5e6ed;
    border-radius: 16px;
}
.news-page-filter-field { display: flex; flex: 1 1 160px; flex-direction: column; gap: 7px; min-width: 0; }
.news-page-search { flex: 2 1 290px; }
.news-page-filter-field label { color: #181645; font-weight: 700; font-size: 13px; }
.news-page-filter-field input,
.news-page-filter-field select {
    width: 100%;
    min-width: 0;
    min-height: 43px;
    padding: 9px 12px;
    color: #181645;
    border: 1px solid #d6d8e3;
    border-radius: 9px;
    background: #fff;
    font-size: 14px;
}
.news-page-filter-field input:focus,
.news-page-filter-field select:focus { outline: 2px solid #b9b5ec; outline-offset: 1px; }

/* Bookle automatically calls niceSelect() on all selects. Normalize its generated
   control here instead of changing dropdowns elsewhere in the website. */
.news-page-filters .news-page-filter-field > .nice-select {
    float: none;
    display: block;
    width: 100% !important;
    min-width: 0;
    height: 43px;
    min-height: 43px;
    margin: 0;
    padding: 0 38px 0 12px;
    border: 1px solid #d6d8e3 !important;
    border-radius: 9px;
    background: #fff;
    color: #181645;
    font-size: 14px;
    font-weight: 400;
    line-height: 41px;
    box-shadow: none;
}
.news-page-filters .news-page-filter-field > .nice-select .current {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #181645;
}
.news-page-filters .news-page-filter-field > .nice-select::after {
    position: absolute;
    top: 50%;
    right: 16px;
    left: auto;
    width: 8px;
    height: 8px;
    margin-top: -5px;
    border-color: #181645;
}
.news-page-filters .news-page-filter-field > .nice-select.open,
.news-page-filters .news-page-filter-field > .nice-select:focus {
    border-color: #d6d8e3 !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(24, 22, 69, .10);
}
.news-page-filters .news-page-filter-field > .nice-select .list {
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    margin-top: 5px;
    padding: 4px;
    border: 1px solid #e5e6ed;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(24, 22, 69, .12);
}
.news-page-filters .nice-select .option {
    min-height: 37px;
    padding: 8px 10px;
    line-height: 21px;
    color: #181645;
    font-size: 14px;
    background: #fff;
}
.news-page-filters .nice-select .option:hover,
.news-page-filters .nice-select .option.focus,
.news-page-filters .nice-select .option.selected.focus {
    background: #f0effa;
    color: #181645;
}
.news-page-filters .news-page-filter-field { position: relative; }
.news-page-filters .news-page-filter-actions { min-height: 43px; }
.news-page-filters .news-page-filter-reset { display: inline-flex; align-items: center; min-height: 43px; padding: 0 4px; }
.news-page-filter-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.news-page-filter-submit { min-height: 43px; padding: 10px 17px; border: 0; border-radius: 9px; background: #181645; color: #fff; font-size: 14px; font-weight: 700; }
.news-page-filter-submit:hover { background: #302b77; color: #fff; }
.news-page-filter-reset { color: #181645; font-size: 14px; text-decoration: underline; }
.news-page-result-count { color: #555a70; margin: 0 0 18px; font-size: 14px; }
.news-page-empty { width: 100%; text-align: center; padding: 60px 20px; border-radius: 14px; background: #fff; color: #444967; }
.news-page-empty i { display: block; font-size: 30px; margin-bottom: 14px; }
.news-page-empty p { margin-bottom: 12px; }
.news-page-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 36px; }
.news-page-pagination a,
.news-page-pagination span { display: inline-flex; justify-content: center; align-items: center; min-width: 40px; min-height: 40px; padding: 8px 13px; border-radius: 9px; background: #fff; border: 1px solid #dadbe5; color: #181645; font-size: 14px; font-weight: 700; }
.news-page-pagination a:hover,
.news-page-pagination .is-current { background: #181645; border-color: #181645; color: #fff; }
/* Dropdown menu must remain within its field, including narrow layouts. */
.news-page-filters .news-page-filter-field > .nice-select,
.news-page-filters .news-page-filter-field > .nice-select .list {
    box-sizing: border-box;
    max-width: 100%;
}
.news-page-filters .news-page-filter-field > .nice-select .list {
    left: 0;
    right: auto;
}

@media (max-width: 575px) {
    .news-page-filters {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 14px;
    }
    .news-page-filters .news-page-filter-field,
    .news-page-filters .news-page-search {
        flex: 0 0 auto;
        width: 100%;
        min-width: 0;
    }
    .news-page-filters .news-page-filter-field input,
    .news-page-filters .news-page-filter-field select,
    .news-page-filters .news-page-filter-field > .nice-select {
        width: 100% !important;
    }
    .news-page-filters .news-page-filter-actions {
        width: 100%;
        display: flex;
        gap: 12px;
    }
    .news-page-filters .news-page-filter-submit { flex: 1 1 auto; }
    .news-page-filters .news-page-filter-reset { flex: 0 0 auto; }
}

/* Neutralize Nice Select's theme-specific outlines/dividers within the news toolbar. */
.news-page-filters .nice-select .list,
.news-page-filters .nice-select .option,
.news-page-filters .nice-select .option.selected,
.news-page-filters .nice-select .option.focus {
    border-color: #e5e6ed !important;
    outline: none !important;
}
.news-page-filters .nice-select .option {
    border: 0 !important;
    box-shadow: none !important;
}
.news-page-filters .news-page-filter-field > .nice-select:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(24, 22, 69, .15);
}
