/* =====================================================
   TOTAL PREFLIGHT ARTICLES WIDGET
===================================================== */
.preflight-total-widget {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 340px;
    margin: 0 0 22px;
    padding: 16px 18px;
    background: #ffffff;
    border: 1px solid #d9e1e8;
    border-top: 4px solid #f78118;
    box-shadow: 0 2px 8px rgba(31, 63, 95, 0.10);
}

.preflight-total-widget__icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2b5b8a;
    color: #ffffff;
    font-size: 20px;
}

.preflight-total-widget__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.preflight-total-widget__label {
    color: #647586;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.preflight-total-widget__count {
    margin-top: 2px;
    color: #1f3f5f;
    font-size: 29px;
    line-height: 1;
    font-weight: 700;
}

/* =====================================================
   SEARCH RESULTS
===================================================== */
.preflight-articles-container {
    max-width: 956px;
}

.preflight-articles-table {
    width: 100%;
}

.preflight-articles-table thead {
    display: none;
}

.preflight-search-summary {
    margin: 30px 0 18px;
    border-bottom: 1px solid #c9d1d8;
}

.preflight-search-summary__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
}

.preflight-search-summary__title {
    margin: 0 0 8px;
    color: #111111;
    font-size: 25px;
    line-height: 1.25;
    font-weight: 700;
}

.preflight-search-summary__accent {
    color: #f78118;
}

.preflight-search-summary__criteria {
    color: #4f5963;
    font-size: 13px;
    line-height: 1.6;
}

.preflight-search-summary__separator {
    margin: 0 7px;
    color: #9aa3ab;
}

.preflight-modify-search-btn {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 2px;
    background: #2b5b8a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.preflight-modify-search-btn:hover,
.preflight-modify-search-btn:focus {
    background: #1f4368;
    color: #ffffff;
}

.preflight-modify-search-panel {
    margin: 0 0 18px;
    padding: 16px;
    border: 1px solid #c9d1d8;
    background: #ffffff;
}

.preflight-modify-search-grid {
    display: grid;
    gap: 14px;
}

.preflight-modify-search-grid--main {
    grid-template-columns: 1.1fr 1.2fr 1fr;
    margin-bottom: 14px;
}

.preflight-modify-search-grid--filters {
    grid-template-columns: 2fr 1fr auto;
    align-items: end;
}

.preflight-modify-field label {
    display: block;
    margin-bottom: 7px;
    color: #1f3f5f;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
}

.preflight-modify-field input,
.preflight-modify-field select {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #c9d1d8;
    border-radius: 0;
    outline: none;
    background: #ffffff;
    color: #172d41;
    font-size: 12px;
    box-sizing: border-box;
}

.preflight-modify-field input:focus,
.preflight-modify-field select:focus {
    border-color: #2b5b8a;
}

.preflight-modify-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.preflight-clear-search-btn,
.preflight-search-submit-btn {
    min-width: 86px;
    height: 40px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
}

.preflight-clear-search-btn {
    border: 1px solid #2b5b8a;
    background: #2b5b8a;
    color: #ffffff;
}

.preflight-clear-search-btn:hover,
.preflight-clear-search-btn:focus {
    border-color: #1f4368;
    background: #1f4368;
    color: #ffffff;
    text-decoration: none;
}

.preflight-search-submit-btn {
    border: 1px solid #2b5b8a;
    background: #2b5b8a;
    color: #ffffff;
    cursor: pointer;
}

.preflight-search-submit-btn:hover,
.preflight-search-submit-btn:focus {
    background: #1f4368;
    border-color: #1f4368;
}

.preflight-result-item {
    padding: 18px 0 20px;
    border-bottom: 1px solid #cfd5da;
}

.preflight-result-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.preflight-result-type {
    display: inline-block;
    padding: 4px 8px;
    background: #24425f;
    color: #ffffff;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
}

.preflight-result-doi {
    color: #6b737a;
    font-size: 11px;
}

.preflight-result-doi a {
    color: #6b737a;
    text-decoration: none;
}

.preflight-result-doi a:hover {
    color: #f78118;
}

.preflight-result-title {
    margin: 0 0 7px;
    font-size: 19px;
    line-height: 1.28;
    font-weight: 700;
}

.preflight-result-title a {
    color: #111111;
    text-decoration: none;
}

.preflight-result-title a:hover {
    color: #2b5b8a;
}

.preflight-result-publication {
    margin-bottom: 7px;
    color: #4f5963;
    font-size: 12px;
    line-height: 1.5;
    font-style: italic;
}

.preflight-result-dot {
    padding: 0 6px;
    color: #8e979f;
}

.preflight-result-authors {
    margin-bottom: 5px;
    color: #1f3f5f;
    font-size: 12px;
    line-height: 1.55;
}

.preflight-result-journal {
    margin-bottom: 10px;
    font-size: 12px;
}

.preflight-result-journal a {
    color: #1f3f5f;
    font-weight: 600;
    text-decoration: none;
}

.preflight-result-journal a:hover {
    color: #f78118;
}

.preflight-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}


.preflight-result-actions .btn {
    border-color: #2b5b8a !important;
    background: #2b5b8a !important;
    color: #ffffff !important;
}

.preflight-result-actions .btn:hover,
.preflight-result-actions .btn:focus {
    border-color: #1f4368 !important;
    background: #1f4368 !important;
    color: #ffffff !important;
}

.preflight-search-highlight {
    padding: 0 1px;
    background: #ffe9a8;
    color: inherit;
}

.preflight-no-results {
    padding: 30px 0;
    color: #4f5963;
    font-size: 14px;
}


/* =====================================================
   SEARCH VOLUME SIDEBAR
===================================================== */
.preflight-default-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 28px;
    align-items: start;
}

.preflight-default-main {
    order: 1;
}

.preflight-volume-sidebar {
    order: 2;
}

.preflight-volume-sidebar,
.preflight-default-main {
    min-width: 0;
}

.preflight-page-size-control {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -2px 0 16px;
    color: #647586;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .45px;
}

.preflight-page-size-control label,
.preflight-page-size-control span {
    margin: 0;
}

.preflight-page-size-control select {
    width: 70px;
    height: 32px;
    padding: 0 26px 0 10px;
    border: 1px solid #c9d1d8;
    border-radius: 0;
    outline: none;
    background: #ffffff;
    color: #172d41;
    font-size: 11px;
    font-weight: 700;
}

.preflight-page-size-control select:focus {
    border-color: #2b5b8a;
}

.preflight-volume-widget {
    padding: 18px 16px;
    border: 1px solid #d9e1e8;
    border-top: 3px solid #f78118;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(31, 63, 95, 0.08);
}

.preflight-volume-widget--results {
    margin-bottom: 22px;
}

.preflight-volume-widget__title {
    margin: 0 0 16px;
    color: #1f3f5f;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

.preflight-volume-form {
    margin: 0;
}

.preflight-volume-field {
    margin-bottom: 13px;
}

.preflight-volume-field label {
    display: block;
    margin: 0 0 7px;
    color: #647586;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .5px;
}

.preflight-volume-field select {
    width: 100%;
    height: 38px;
    padding: 0 28px 0 10px;
    border: 1px solid #c9d1d8;
    border-radius: 0;
    outline: none;
    background: #ffffff;
    color: #172d41;
    font-size: 11px;
    font-weight: 600;
    box-sizing: border-box;
}

.preflight-volume-field select:focus {
    border-color: #2b5b8a;
}

.preflight-volume-search-btn,
.preflight-volume-clear-btn {
    width: 100%;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.preflight-volume-search-btn {
    border: 1px solid #2b5b8a;
    background: #2b5b8a;
    color: #ffffff;
    cursor: pointer;
}

.preflight-volume-search-btn:hover,
.preflight-volume-search-btn:focus {
    border-color: #1f4368;
    background: #1f4368;
    color: #ffffff;
}

.preflight-volume-clear-btn {
    margin-top: 8px;
    border: 1px solid #c9d1d8;
    background: #ffffff;
    color: #2b5b8a;
}

.preflight-volume-clear-btn:hover,
.preflight-volume-clear-btn:focus {
    border-color: #2b5b8a;
    color: #1f4368;
    text-decoration: none;
}

/* Search result sidebar + sorting */
.preflight-results-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.preflight-results-sidebar {
    min-width: 0;
}

.preflight-facet {
    padding: 0 0 20px;
    margin: 0 0 20px;
    border-bottom: 1px solid #cfd5da;
}

.preflight-facet__title {
    margin: 0 0 12px;
    color: #1f3f5f;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
}

.preflight-facet__options {
    display: grid;
    gap: 7px;
}

.preflight-facet__option {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    color: #172d41;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}

.preflight-facet__option[hidden] {
    display: none !important;
}

.preflight-facet__label {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

.preflight-facet__label input {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
    margin: 1px 0 0;
    accent-color: #2b5b8a;
}

.preflight-facet__label span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.preflight-facet__count {
    flex: 0 0 auto;
    color: #1f3f5f;
    font-weight: 700;
}

.preflight-facet__more {
    margin: 10px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2b5b8a;
    font-size: 11px;
    line-height: 1.3;
    cursor: pointer;
}

.preflight-facet__more:hover,
.preflight-facet__more:focus {
    color: #f78118;
}

.preflight-sidebar-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
    margin-top: 4px;
}

.preflight-sidebar-apply,
.preflight-sidebar-clear {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
}

.preflight-sidebar-apply {
    border: 1px solid #2b5b8a;
    background: #2b5b8a;
    color: #ffffff;
    cursor: pointer;
}

.preflight-sidebar-apply:hover,
.preflight-sidebar-apply:focus {
    border-color: #1f4368;
    background: #1f4368;
    color: #ffffff;
}

.preflight-sidebar-clear {
    border: 1px solid #2b5b8a;
    background: #2b5b8a;
    color: #ffffff;
}

.preflight-sidebar-clear:hover,
.preflight-sidebar-clear:focus {
    border-color: #1f4368;
    background: #1f4368;
    color: #ffffff;
    text-decoration: none;
}

.preflight-results-main {
    min-width: 0;
}

.preflight-results-toolbar {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 0 10px;
    border-bottom: 1px solid #cfd5da;
}

.preflight-results-count {
    color: #4f5963;
    font-size: 12px;
    line-height: 1.4;
}

.preflight-sort-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.preflight-sort-form label {
    margin: 0;
    color: #1f3f5f;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}

.preflight-sort-form select {
    width: 135px;
    height: 34px;
    padding: 0 28px 0 10px;
    border: 1px solid #c9d1d8;
    border-radius: 0;
    background: #ffffff;
    color: #172d41;
    font-size: 11px;
    font-weight: 600;
    outline: none;
}

.preflight-sort-form select:focus {
    border-color: #2b5b8a;
}

.preflight-results-main .preflight-articles-table {
    margin-top: 0;
}

.preflight-results-main .dataTables_wrapper {
    width: 100%;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 768px) {

    .preflight-search-summary__top {
        display: block;
    }

    .preflight-modify-search-btn {
        margin-top: 14px;
    }

    .preflight-modify-search-grid--main,
    .preflight-modify-search-grid--filters {
        grid-template-columns: 1fr;
    }

    .preflight-modify-actions {
        justify-content: flex-start;
    }

    .preflight-default-layout,
    .preflight-results-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .preflight-volume-sidebar {
        order: 1;
    }

    .preflight-default-main {
        order: 2;
    }

    .preflight-results-sidebar {
        order: 1;
    }

    .preflight-results-main {
        order: 2;
    }

    .preflight-results-toolbar {
        align-items: flex-start;
    }
}


@media (max-width: 480px) {

    .preflight-search-summary__title {
        font-size: 21px;
    }

    .preflight-modify-search-btn,
    .preflight-clear-search-btn,
    .preflight-search-submit-btn {
        width: 100%;
    }

    .preflight-modify-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .preflight-result-title {
        font-size: 17px;
    }
}


/* =====================================================
   PREFLIGHT VISUAL REFINEMENTS
===================================================== */
.preflight-articles-container {
    max-width: 1200px;
}

.preflight-overview-strip {
    margin: 8px 0 8px;
}

.preflight-overview-strip__inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.preflight-overview-card {
    position: relative;
    padding: 18px 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.98) 100%);
    border: 1px solid #d8e3ec;
    border-top: 3px solid #f78118;
    box-shadow: 0 10px 24px rgba(31, 63, 95, 0.08);
}

.preflight-overview-card__value {
    display: block;
    margin-bottom: 4px;
    color: #123f6d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
}

.preflight-overview-card__label {
    display: block;
    margin-bottom: 5px;
    color: #1f3f5f;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.preflight-overview-card__description {
    margin: 0;
    color: #617486;
    font-size: 13px;
    line-height: 1.6;
}

.preflight-default-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 30px;
}

.preflight-volume-sidebar {
    position: sticky;
    top: 24px;
}

.preflight-section-heading {
    margin-bottom: 10px;
}

.preflight-section-heading__description {
    max-width: 680px;
    color: #66798a;
    font-size: 14px;
    line-height: 1.65;
}

.preflight-page-size-control {
    margin: 4px 0 18px;
}

.preflight-page-size-control select,
.preflight-volume-field select,
.preflight-modify-field input,
.preflight-modify-field select,
.ready-form-group select,
.ready-search-wrapper .ready-search-criteria,
.ready-search-wrapper input {
    border-radius: 6px;
}

.preflight-volume-widget,
.preflight-total-widget,
.preflight-modify-search-panel {
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(31, 63, 95, 0.08);
}

.preflight-total-widget__svg {
    width: 22px;
    height: 22px;
}

.preflight-result-item,
.preflight-article-card {
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8ef !important;
    box-shadow: 0 12px 26px rgba(31, 63, 95, 0.08) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.preflight-result-item:hover,
.preflight-article-card:hover {
    transform: translateY(-2px);
    border-color: #d0dce8 !important;
    box-shadow: 0 16px 32px rgba(31, 63, 95, 0.12) !important;
}

.preflight-result-item {
    padding: 22px 24px 22px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e2e8ef;
}

.preflight-article-card {
    padding: 24px !important;
    margin-bottom: 18px !important;
}

.preflight-article-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.preflight-article-card__type {
    margin: 0 !important;
    padding: 3px 9px !important;
    min-height: 0 !important;
    height: auto !important;
    line-height: 1.2 !important;
    border-radius: 6px !important;
    background: #2b5b8a !important;
    border-color: #2b5b8a !important;
    color: #ffffff !important;
    letter-spacing: .4px;
}

.preflight-article-card__doi,
.preflight-article-card__doi a {
    color: #607385 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    letter-spacing: 0 !important;
}

.preflight-article-card__title,
.preflight-result-title {
    margin: 0;
    /*color: #173d65;*/
}

.preflight-article-card__title a,
.preflight-result-title a {
    color: #173d65;
}

.preflight-article-card__title a:hover,
.preflight-result-title a:hover {
    color: #204e7d;
}

.preflight-article-card__body {
    padding: 0 !important;
    color: #53677b;
}

.preflight-article-card__publication,
.preflight-result-publication {
    /*color: #526679;*/
    font-size: 13px;
    line-height: 1.65;
    font-style: normal;
}

.preflight-article-card__journal,
.preflight-result-publication__journal {
    /*color: #1f3f5f;*/
    font-weight: 700;
    font-style: italic;
}

.preflight-article-card__authors,
.preflight-result-authors {
    color: #5e6f7f;
    font-size: 13px;
    line-height: 1.7;
    font-style: italic;
}

.preflight-article-card__actions,
.preflight-result-actions {
    margin-top: 14px;
}

.preflight-article-card__actions .btn,
.preflight-result-actions .btn,
.preflight-volume-search-btn,
.preflight-volume-clear-btn,
.preflight-search-submit-btn,
.preflight-clear-search-btn,
.preflight-modify-search-btn {
    border-radius: 999px;
    min-height: 40px;
    padding-left: 18px;
    padding-right: 18px;
}

.preflight-article-card__actions .btn,
.preflight-result-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #2b5b8a !important;
    background: #ffffff !important;
    color: #2b5b8a !important;
    font-weight: 700;
}

.preflight-article-card__actions .btn:hover,
.preflight-result-actions .btn:hover,
.preflight-article-card__actions .btn:focus,
.preflight-result-actions .btn:focus {
    background: #2b5b8a !important;
    color: #ffffff !important;
}

.preflight-volume-widget__title,
.preflight-total-widget__count,
.preflight-search-summary__title,
.preflight-result-title,
.preflight-section-heading h2 {
    font-family: Georgia, "Times New Roman", serif;
}

.preflight-section-heading h2 span {
    letter-spacing: .4px;
}

/* Header + navigation cleanup */
.main-header__secondary .nav-link,
.main-header__secondary .dropdown-item,
.preflight-page-size-control,
.preflight-page-size-control select,
.ready-form-group label,
.ready-form-group select,
.ready-search-wrapper .ready-search-criteria,
.ready-search-wrapper input,
.preflight-volume-field label,
.preflight-volume-field select,
.footer,
.footer a,
button,
input,
select {
    font-family: Arial, Helvetica, sans-serif;
}

.main-header__secondary .nav-link {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.preflight-header-search-toggle {
    min-width: 72px;
    min-height: 34px;
    padding: 0 12px !important;
    border: 1px solid #d6e1ea;
    border-radius: 999px;
    background: #ffffff;
    color: #123f6d;
}

.preflight-header-search-toggle:hover,
.preflight-header-search-toggle:focus {
    background: #123f6d;
    color: #ffffff;
}

.preflight-header-search-toggle__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

/* Footer refinements */
.footer__top {
    margin-top: 32px;
}

.footer__sitemap__nav {
    gap: 30px;
}

.footer .footer-heading {
    letter-spacing: .7px;
}

.footer__sitemap__list-item a {
    display: inline-block;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
}

.footer__sitemap__list-item a:hover {
    color: #f9c27c;
    text-decoration: underline;
}

.footer__bottom .row {
    padding-top: 12px;
    padding-bottom: 12px;
}

.footer__copyright__links,
.footer__social-media ul {
    margin-bottom: 0;
}

.footer__social-media li {
    padding-top: 0 !important;
}

@media (max-width: 991px) {
    .preflight-default-layout,
    .preflight-results-layout,
    .preflight-overview-strip__inner {
        grid-template-columns: 1fr;
    }

    .preflight-volume-sidebar {
        position: static;
        top: auto;
    }
}


/* =====================================================
   HEADER SEARCH VISIBILITY + ABSTRACT SIDEBAR
===================================================== */
.preflight-header-search-toggle {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0 !important;
    border: 1px solid #d6e1ea;
    border-radius: 50%;
    background: #ffffff;
    color: #123f6d;
}

.preflight-header-search-toggle__icon {
    width: 19px;
    height: 19px;
    display: block;
}

.preflight-header-search-toggle:hover,
.preflight-header-search-toggle:focus {
    border-color: #123f6d;
    background: #123f6d;
    color: #ffffff;
}

.preflight-abstract-sidebar .preflight-volume-widget,
.preflight-abstract-sidebar .preflight-total-widget {
    width: 100%;
    max-width: none;
}

.preflight-abstract-sidebar__spacer {
    height: 20px;
}

.preflight-volume-widget--abstract {
    margin-bottom: 0;
}

/* Compact Abstract button - matched to the supplied reference. */
.preflight-article-card__actions .preflight-abstract-button,
.preflight-result-actions .preflight-abstract-button {
    min-height: 24px !important;
    height: 24px !important;
    padding: 0 9px !important;
    border: 1px solid #244f78 !important;
    border-radius: 6px !important;
    /*background: #a9bfd3 !important;*/
    color: #244f78 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 22px !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    text-transform: none !important;
    gap: 3px;
}

.preflight-article-card__actions .preflight-abstract-button::before,
.preflight-result-actions .preflight-abstract-button::before {
    content: "≡";
    display: inline-block;
    font-size: 11px;
    line-height: 1;
    font-weight: 400;
    transform: translateY(-1px);
}

.preflight-article-card__actions .preflight-abstract-button:hover,
.preflight-result-actions .preflight-abstract-button:hover,
.preflight-article-card__actions .preflight-abstract-button:focus,
.preflight-result-actions .preflight-abstract-button:focus {
    border-color: #2b5b8a !important;
    background: #2b5b8a !important;
    color: white !important;
}



/* Compact article action buttons: Abstract / Fulltext / PDF. */
.preflight-article-card__actions,
.preflight-result-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.preflight-article-card__actions .preflight-fulltext-button,
.preflight-result-actions .preflight-fulltext-button,
.preflight-article-card__actions .preflight-pdf-button,
.preflight-result-actions .preflight-pdf-button {
    min-height: 24px !important;
    height: 24px !important;
    padding: 0 9px !important;
    border: 1px solid #244f78 !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #244f78 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 22px !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    text-transform: none !important;
}

.preflight-article-card__actions .preflight-fulltext-button::before,
.preflight-result-actions .preflight-fulltext-button::before {
    content: "▤";
    display: inline-block;
    margin-right: 4px;
    font-size: 10px;
    line-height: 1;
}

.preflight-article-card__actions .preflight-pdf-button,
.preflight-result-actions .preflight-pdf-button {
    border-color: #f78118 !important;
    color: #d96d0f !important;
}

.preflight-article-card__actions .preflight-pdf-button::before,
.preflight-result-actions .preflight-pdf-button::before {
    content: "PDF";
    display: inline-block;
    margin-right: 4px;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
}

.preflight-article-card__actions .preflight-fulltext-button:hover,
.preflight-result-actions .preflight-fulltext-button:hover,
.preflight-article-card__actions .preflight-fulltext-button:focus,
.preflight-result-actions .preflight-fulltext-button:focus {
    border-color: #2b5b8a !important;
    background: #2b5b8a !important;
    color: #ffffff !important;
}

.preflight-article-card__actions .preflight-pdf-button:hover,
.preflight-result-actions .preflight-pdf-button:hover,
.preflight-article-card__actions .preflight-pdf-button:focus,
.preflight-result-actions .preflight-pdf-button:focus {
    border-color: #f78118 !important;
    background: #f78118 !important;
    color: #ffffff !important;
}


/* Unified compact article action buttons: Abstract / Fulltext / PDF. */
.preflight-article-card__actions .preflight-abstract-button,
.preflight-result-actions .preflight-abstract-button,
.preflight-article-card__actions .preflight-fulltext-button,
.preflight-result-actions .preflight-fulltext-button,
.preflight-article-card__actions .preflight-pdf-button,
.preflight-result-actions .preflight-pdf-button {
    width: 74px !important;
    min-width: 74px !important;
    min-height: 24px !important;
    height: 24px !important;
    padding: 0 7px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #244f78 !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #244f78 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 22px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow: none !important;
    white-space: nowrap !important;
}

.preflight-article-card__actions .preflight-fulltext-button::before,
.preflight-result-actions .preflight-fulltext-button::before,
.preflight-article-card__actions .preflight-pdf-button::before,
.preflight-result-actions .preflight-pdf-button::before {
    content: none !important;
}

.preflight-article-card__actions .preflight-pdf-button,
.preflight-result-actions .preflight-pdf-button {
    border-color: #244f78 !important;
    color: #244f78 !important;
}

.preflight-article-card__actions .preflight-abstract-button:hover,
.preflight-result-actions .preflight-abstract-button:hover,
.preflight-article-card__actions .preflight-fulltext-button:hover,
.preflight-result-actions .preflight-fulltext-button:hover,
.preflight-article-card__actions .preflight-pdf-button:hover,
.preflight-result-actions .preflight-pdf-button:hover,
.preflight-article-card__actions .preflight-abstract-button:focus,
.preflight-result-actions .preflight-abstract-button:focus,
.preflight-article-card__actions .preflight-fulltext-button:focus,
.preflight-result-actions .preflight-fulltext-button:focus,
.preflight-article-card__actions .preflight-pdf-button:focus,
.preflight-result-actions .preflight-pdf-button:focus {
    border-color: #2b5b8a !important;
    background: #2b5b8a !important;
    color: #ffffff !important;
}


/* =====================================================
   FINAL RESPONSIVE: PREFLIGHT ARTICLES
   Main article list comes first on mobile, search-volume
   widget moves below it, and all article metadata wraps.
===================================================== */
@media (max-width: 991.98px) {
    .preflight-default-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 22px !important;
    }

    .preflight-default-main {
        order: 1 !important;
        min-width: 0;
    }

    .preflight-volume-sidebar {
        order: 2 !important;
        position: static !important;
        width: 100%;
        max-width: 100%;
    }

    .preflight-volume-widget {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .preflight-articles-container {
        width: calc(100% - 20px) !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .preflight-overview-strip__inner {
        gap: 10px;
    }

    .preflight-overview-card {
        padding: 14px 15px;
    }

    .preflight-overview-card__value {
        font-size: 24px;
    }

    .preflight-section-heading h2 {
        font-size: 22px !important;
        line-height: 1.2;
    }

    .preflight-section-heading__description {
        font-size: 12.5px;
        line-height: 1.55;
    }

    .preflight-page-size-control {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 14px;
    }

    .preflight-page-size-control select {
        width: 74px;
        min-width: 74px;
        height: 36px;
    }

    .preflight-article-card,
    .preflight-result-item {
        padding: 16px !important;
        margin-bottom: 12px !important;
        border-radius: 9px !important;
    }

    .preflight-article-card__meta,
    .preflight-result-meta {
        align-items: flex-start;
        gap: 7px !important;
    }

    .preflight-article-card__doi,
    .preflight-article-card__doi a,
    .preflight-result-doi,
    .preflight-result-doi a {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
        font-size: 10.5px !important;
        line-height: 1.45;
    }

    .preflight-article-card__title,
    .preflight-result-title {
        margin-top: 2px;
        font-size: 17px !important;
        line-height: 1.3 !important;
    }

    .preflight-article-card__publication,
    .preflight-result-publication,
    .preflight-article-card__authors,
    .preflight-result-authors {
        font-size: 11.5px !important;
        line-height: 1.55 !important;
        overflow-wrap: anywhere;
    }

    .preflight-article-card__actions,
    .preflight-result-actions {
        gap: 6px !important;
        margin-top: 11px !important;
    }

    .preflight-article-card__actions .preflight-abstract-button,
    .preflight-result-actions .preflight-abstract-button,
    .preflight-article-card__actions .preflight-fulltext-button,
    .preflight-result-actions .preflight-fulltext-button,
    .preflight-article-card__actions .preflight-pdf-button,
    .preflight-result-actions .preflight-pdf-button {
        width: 74px !important;
        min-width: 74px !important;
        height: 28px !important;
        min-height: 28px !important;
        padding: 0 6px !important;
        font-size: 11px !important;
        line-height: 26px !important;
    }

    .preflight-volume-widget {
        padding: 15px !important;
        border-radius: 9px;
    }

    .preflight-volume-field select,
    .preflight-volume-search-btn,
    .preflight-volume-clear-btn {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 640px) {
    .preflight-overview-strip__inner {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 430px) {
    .preflight-articles-container {
        width: calc(100% - 16px) !important;
    }

    .preflight-article-card,
    .preflight-result-item {
        padding: 13px !important;
    }

    .preflight-article-card__title,
    .preflight-result-title {
        font-size: 15.5px !important;
    }

    .preflight-article-card__meta,
    .preflight-result-meta {
        display: grid !important;
        justify-items: start;
    }

    .preflight-article-card__actions,
    .preflight-result-actions {
        width: 100%;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .preflight-article-card__actions .preflight-abstract-button,
    .preflight-result-actions .preflight-abstract-button,
    .preflight-article-card__actions .preflight-fulltext-button,
    .preflight-result-actions .preflight-fulltext-button,
    .preflight-article-card__actions .preflight-pdf-button,
    .preflight-result-actions .preflight-pdf-button {
        width: 100% !important;
        min-width: 0 !important;
    }
}
