/*
 * OWS Dashboard 3.10.485.0
 * Homepage right-sidebar "Indexing and Abstracting" reference design.
 *
 * Scope is intentionally limited to .indexing and .ows_indexing_*.
 * The managed entries, links and uploaded logos remain fully dynamic.
 */

html body .page_index_journal .indexing,
html body.ows_homepage_three_column_mounted .indexing {
    position: relative !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 18px 0 10px !important;
    padding: 2px 0 2px 13px !important;
    border: 0 !important;
    border-bottom: 0 !important;
    background: transparent !important;
    color: #17345f !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

html body .page_index_journal .indexing::before,
html body.ows_homepage_three_column_mounted .indexing::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 1px !important;
    bottom: 1px !important;
    width: 3px !important;
    height: auto !important;
    border: 0 !important;
    border-radius: 1px !important;
    background: #4d7cff !important;
}

html body .page_index_journal .indexing::after,
html body.ows_homepage_three_column_mounted .indexing::after {
    content: none !important;
    display: none !important;
}

/* Each indexing service is one clean centered logo card. */
html body .page_index_journal .ows_indexing_link,
html body.ows_homepage_three_column_mounted .ows_indexing_link {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 66px !important;
    margin: 7px 0 0 !important;
    padding: 9px 16px !important;
    gap: 0 !important;
    border: 1px solid #edf0f3 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    box-shadow:
        0 1px 3px rgba(15, 35, 55, 0.05),
        0 3px 10px rgba(15, 35, 55, 0.045) !important;
    color: #334155 !important;
    text-decoration: none !important;
    overflow: hidden !important;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

html body .page_index_journal .ows_indexing_link:hover,
html body .page_index_journal .ows_indexing_link:focus-visible,
html body.ows_homepage_three_column_mounted .ows_indexing_link:hover,
html body.ows_homepage_three_column_mounted .ows_indexing_link:focus-visible {
    border-color: #dce3e9 !important;
    background: #ffffff !important;
    box-shadow:
        0 2px 5px rgba(15, 35, 55, 0.06),
        0 5px 14px rgba(15, 35, 55, 0.065) !important;
    color: #334155 !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
    outline: none !important;
}

/* Uploaded logos are shown large and untouched, with no nested mini-card. */
html body .page_index_journal .ows_indexing_link img,
html body.ows_homepage_three_column_mounted .ows_indexing_link img {
    display: block !important;
    width: auto !important;
    max-width: min(176px, 90%) !important;
    height: auto !important;
    max-height: 46px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    object-fit: contain !important;
    flex: 0 1 auto !important;
}

/* The logo already carries the service name. Hide the duplicate text label. */
html body .page_index_journal .ows_indexing_link--hasLogo .ows_indexing_label,
html body.ows_homepage_three_column_mounted .ows_indexing_link--hasLogo .ows_indexing_label {
    display: none !important;
}

/* Entries without a logo still remain usable and visually consistent. */
html body .page_index_journal .ows_indexing_link:not(.ows_indexing_link--hasLogo) .ows_indexing_label,
html body.ows_homepage_three_column_mounted .ows_indexing_link:not(.ows_indexing_link--hasLogo) .ows_indexing_label {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #344054 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* Keep the stack compact when several services are configured. */
html body .page_index_journal .ows_indexing_link + .ows_indexing_link,
html body.ows_homepage_three_column_mounted .ows_indexing_link + .ows_indexing_link {
    margin-top: 6px !important;
}

@media (max-width: 1100px) {
    html body .page_index_journal .ows_indexing_link,
    html body.ows_homepage_three_column_mounted .ows_indexing_link {
        min-height: 62px !important;
        padding: 8px 12px !important;
    }

    html body .page_index_journal .ows_indexing_link img,
    html body.ows_homepage_three_column_mounted .ows_indexing_link img {
        max-width: min(164px, 90%) !important;
        max-height: 43px !important;
    }
}


/* 3.10.489.0 final geometry lock */
html body.ows_homepage_three_column_mounted .indexing,
html body .page_index_journal .indexing {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    margin: 18px 0 12px !important;
    padding: 0 !important;
    text-align: left !important;
    text-indent: 0 !important;
}

html body.ows_homepage_three_column_mounted .indexing::before,
html body .page_index_journal .indexing::before,
html body.ows_homepage_three_column_mounted .indexing::after,
html body .page_index_journal .indexing::after {
    content: none !important;
    display: none !important;
}

html body .indexing .ows_indexing_heading_bar {
    display: block !important;
    flex: 0 0 3px !important;
    width: 3px !important;
    height: 46px !important;
    background: var(--ows-primary, #0d918f) !important;
}

html body .indexing .ows_indexing_heading_text {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #17345f !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

html body.ows_homepage_three_column_mounted .ows_indexing_link img,
html body .page_index_journal .ows_indexing_link img {
    width: 155px !important;
    max-width: 155px !important;
    height: 58px !important;
    max-height: 58px !important;
    min-width: 155px !important;
    min-height: 58px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    object-fit: contain !important;
}


/* 3.10.501.0 — Indexing and Abstracting heading text to black */
html body .indexing .ows_indexing_heading_text,
html body .page_index_journal .indexing .ows_indexing_heading_text,
html body.ows_homepage_three_column_mounted .indexing .ows_indexing_heading_text,
html body .indexing {
    color: #000000 !important;
}
