/*
 * 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;
}

/*
 * 3.10.1094.0 — Indexing & Abstracting reference card
 * ----------------------------------------------------
 * Visual-only rebuild based on the supplied reference. The real dashboard-
 * managed links, URLs, labels and uploaded logos remain unchanged. The JS
 * only groups those existing nodes so CSS can render a stable two-card grid.
 */
html body.ows_homepage_three_column_mounted .ows_indexing_reference,
html body .page_index_journal .ows_indexing_reference {
    --ows-index-accent: var(--ows-primary, #7b168f);
    position: relative !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 16px 0 0 !important;
    padding: 0 !important;
    border: 1px solid #ece5f2 !important;
    border-color: color-mix(in srgb, var(--ows-index-accent) 18%, #e7e8ee) !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    overflow: hidden !important;
    isolation: isolate !important;
}

html body.ows_homepage_three_column_mounted .ows_indexing_reference .indexing,
html body .page_index_journal .ows_indexing_reference .indexing {
    position: relative !important;
    z-index: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 11px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 78px !important;
    margin: 0 !important;
    padding: 16px 17px 16px 23px !important;
    border: 0 !important;
    border-bottom: 1px solid #f0ebf4 !important;
    border-radius: 0 !important;
    background: #f8f5fb !important;
    background:
        radial-gradient(125% 145% at 103% -12%, color-mix(in srgb, var(--ows-index-accent) 13%, transparent) 0 49%, transparent 50%),
        radial-gradient(115% 125% at 105% 8%, color-mix(in srgb, var(--ows-index-accent) 7%, transparent) 0 47%, transparent 48%),
        linear-gradient(135deg, color-mix(in srgb, var(--ows-index-accent) 3%, #ffffff), color-mix(in srgb, var(--ows-index-accent) 8%, #ffffff)) !important;
    box-shadow: none !important;
    color: #121b34 !important;
    overflow: hidden !important;
    text-align: left !important;
}

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

html body.ows_homepage_three_column_mounted .ows_indexing_reference .ows_indexing_heading_bar,
html body .page_index_journal .ows_indexing_reference .ows_indexing_heading_bar {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    flex: 0 0 4px !important;
    width: 4px !important;
    height: 38px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: var(--ows-index-accent) !important;
    box-shadow: none !important;
}

html body.ows_homepage_three_column_mounted .ows_indexing_reference .ows_indexing_heading_text,
html body .page_index_journal .ows_indexing_reference .ows_indexing_heading_text {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #121b34 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.24 !important;
    letter-spacing: -0.01em !important;
    text-align: left !important;
    text-transform: none !important;
}

html body.ows_homepage_three_column_mounted .ows_indexing_reference .ows_indexing_cards,
html body .page_index_journal .ows_indexing_reference .ows_indexing_cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
}

html body.ows_homepage_three_column_mounted .ows_indexing_reference .ows_indexing_link,
html body .page_index_journal .ows_indexing_reference .ows_indexing_link {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 134px !important;
    margin: 0 !important;
    padding: 15px 10px 45px !important;
    gap: 0 !important;
    border: 1px solid #ebe5ef !important;
    border-color: color-mix(in srgb, var(--ows-index-accent) 17%, #e7e8ec) !important;
    border-radius: 4px !important;
    background:
        radial-gradient(120% 42% at 24% 108%, color-mix(in srgb, var(--ows-index-accent) 6%, transparent) 0 55%, transparent 56%),
        linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--ows-index-accent) 2%, #ffffff) 100%) !important;
    box-shadow: 0 2px 8px rgba(26, 18, 39, 0.045) !important;
    color: #26334a !important;
    text-decoration: none !important;
    overflow: hidden !important;
    transform: none !important;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease !important;
}

html body.ows_homepage_three_column_mounted .ows_indexing_reference .ows_indexing_link:hover,
html body.ows_homepage_three_column_mounted .ows_indexing_reference .ows_indexing_link:focus-visible,
html body .page_index_journal .ows_indexing_reference .ows_indexing_link:hover,
html body .page_index_journal .ows_indexing_reference .ows_indexing_link:focus-visible {
    border-color: color-mix(in srgb, var(--ows-index-accent) 34%, #d9dde5) !important;
    background:
        radial-gradient(120% 42% at 24% 108%, color-mix(in srgb, var(--ows-index-accent) 8%, transparent) 0 55%, transparent 56%),
        linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--ows-index-accent) 3%, #ffffff) 100%) !important;
    box-shadow: 0 4px 12px rgba(26, 18, 39, 0.07) !important;
    color: #26334a !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
    outline: none !important;
}

html body.ows_homepage_three_column_mounted .ows_indexing_reference .ows_indexing_link img,
html body .page_index_journal .ows_indexing_reference .ows_indexing_link img {
    display: block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 102px !important;
    min-width: 0 !important;
    height: 54px !important;
    max-height: 54px !important;
    min-height: 0 !important;
    margin: 0 auto 8px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    object-fit: contain !important;
}

/* In the approved reference the service name remains visible below the logo. */
html body.ows_homepage_three_column_mounted .ows_indexing_reference .ows_indexing_link--hasLogo .ows_indexing_label,
html body .page_index_journal .ows_indexing_reference .ows_indexing_link--hasLogo .ows_indexing_label,
html body.ows_homepage_three_column_mounted .ows_indexing_reference .ows_indexing_link:not(.ows_indexing_link--hasLogo) .ows_indexing_label,
html body .page_index_journal .ows_indexing_reference .ows_indexing_link:not(.ows_indexing_link--hasLogo) .ows_indexing_label {
    position: absolute !important;
    left: 10px !important;
    right: 40px !important;
    bottom: 14px !important;
    display: block !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #334155 !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-transform: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

html body.ows_homepage_three_column_mounted .ows_indexing_reference .ows_indexing_link::after,
html body .page_index_journal .ows_indexing_reference .ows_indexing_link::after {
    content: "→" !important;
    position: absolute !important;
    right: 10px !important;
    bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid color-mix(in srgb, var(--ows-index-accent) 12%, #ececf0) !important;
    border-radius: 4px !important;
    background: color-mix(in srgb, var(--ows-index-accent) 8%, #ffffff) !important;
    color: var(--ows-index-accent) !important;
    font-family: Arial, sans-serif !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-align: center !important;
}

@media (max-width: 360px) {
    html body.ows_homepage_three_column_mounted .ows_indexing_reference .ows_indexing_cards,
    html body .page_index_journal .ows_indexing_reference .ows_indexing_cards {
        grid-template-columns: 1fr !important;
    }

    html body.ows_homepage_three_column_mounted .ows_indexing_reference .ows_indexing_link,
    html body .page_index_journal .ows_indexing_reference .ows_indexing_link {
        min-height: 122px !important;
    }
}

/*
 * 3.10.1095.0 — reliable final layer for the supplied Indexing reference
 * -----------------------------------------------------------------------
 * The previous 1094 selectors depended on a homepage body class that is not
 * present on standard /index.php/<journal> OJS URLs.  These final selectors
 * are intentionally scoped to the generated .ows_indexing_reference shell
 * itself, so the same visual design applies regardless of OJS URL mode.
 * No link, URL, logo source, form, modal or backend behaviour is changed.
 */
html body .ows_indexing_reference {
    --ows-index-accent: var(--ows-primary, #7b168f);
    position: relative !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 16px 0 0 !important;
    padding: 0 !important;
    border: 1px solid color-mix(in srgb, var(--ows-index-accent) 18%, #e7e8ee) !important;
    border-radius: 4px !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow: hidden !important;
    isolation: isolate !important;
}

html body .ows_indexing_reference > .indexing {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 76px !important;
    margin: 0 !important;
    padding: 16px 18px 16px 22px !important;
    border: 0 !important;
    border-bottom: 1px solid color-mix(in srgb, var(--ows-index-accent) 9%, #efeff3) !important;
    border-radius: 0 !important;
    background:
        radial-gradient(105% 145% at 100% -12%, color-mix(in srgb, var(--ows-index-accent) 13%, transparent) 0 48%, transparent 49%),
        radial-gradient(105% 115% at 105% 8%, color-mix(in srgb, var(--ows-index-accent) 7%, transparent) 0 46%, transparent 47%),
        linear-gradient(135deg, color-mix(in srgb, var(--ows-index-accent) 2%, #fff), color-mix(in srgb, var(--ows-index-accent) 8%, #fff)) !important;
    color: #111a32 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    text-align: left !important;
}

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

html body .ows_indexing_reference .ows_indexing_heading_bar {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    flex: 0 0 4px !important;
    width: 4px !important;
    height: 38px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: var(--ows-index-accent) !important;
    box-shadow: none !important;
}

html body .ows_indexing_reference .ows_indexing_heading_text {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #111a32 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
    text-align: left !important;
    text-transform: none !important;
}

html body .ows_indexing_reference > .ows_indexing_cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 14px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
}

html body .ows_indexing_reference .ows_indexing_link {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 146px !important;
    margin: 0 !important;
    padding: 16px 12px 48px !important;
    gap: 0 !important;
    border: 1px solid color-mix(in srgb, var(--ows-index-accent) 17%, #e7e8ec) !important;
    border-radius: 4px !important;
    background:
        radial-gradient(125% 42% at 20% 109%, color-mix(in srgb, var(--ows-index-accent) 7%, transparent) 0 53%, transparent 54%),
        linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--ows-index-accent) 2%, #fff) 100%) !important;
    box-shadow: 0 2px 8px rgba(26,18,39,.045) !important;
    color: #26334a !important;
    text-decoration: none !important;
    overflow: hidden !important;
    transform: none !important;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease !important;
}

html body .ows_indexing_reference .ows_indexing_link:hover,
html body .ows_indexing_reference .ows_indexing_link:focus-visible {
    border-color: color-mix(in srgb, var(--ows-index-accent) 34%, #d9dde5) !important;
    background:
        radial-gradient(125% 42% at 20% 109%, color-mix(in srgb, var(--ows-index-accent) 9%, transparent) 0 53%, transparent 54%),
        linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--ows-index-accent) 3%, #fff) 100%) !important;
    box-shadow: 0 4px 12px rgba(26,18,39,.07) !important;
    color: #26334a !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
    outline: none !important;
}

html body .ows_indexing_reference .ows_indexing_link img {
    display: block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 118px !important;
    min-width: 0 !important;
    height: 62px !important;
    max-height: 62px !important;
    min-height: 0 !important;
    margin: 0 auto 9px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    object-fit: contain !important;
}

html body .ows_indexing_reference .ows_indexing_link .ows_indexing_label {
    position: absolute !important;
    left: 12px !important;
    right: 43px !important;
    bottom: 15px !important;
    display: block !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #344054 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-transform: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

html body .ows_indexing_reference .ows_indexing_link::after {
    content: "→" !important;
    position: absolute !important;
    right: 11px !important;
    bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 29px !important;
    height: 29px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid color-mix(in srgb, var(--ows-index-accent) 13%, #ececf0) !important;
    border-radius: 4px !important;
    background: color-mix(in srgb, var(--ows-index-accent) 8%, #fff) !important;
    color: var(--ows-index-accent) !important;
    font-family: Arial, sans-serif !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-align: center !important;
}

@media (max-width: 720px) {
    html body .ows_indexing_reference > .ows_indexing_cards {
        grid-template-columns: 1fr !important;
    }
}

/*
 * 3.10.1096.0 — Indexing section separated from Journal Information
 * ------------------------------------------------------------------
 * Visual-only refinement requested for the homepage right sidebar:
 * - keep Indexing & Abstracting as its own distinct section with clear space
 *   above it, independent from the Journal Information card;
 * - stack all indexing services vertically (one service per row/card), so
 *   Google Scholar, ISC and any future managed entries appear under each
 *   other instead of side-by-side;
 * - preserve existing URLs, uploaded logos, labels and click behavior.
 */
html body .ows_indexing_reference {
    clear: both !important;
    width: 100% !important;
    margin: 26px 0 0 !important;
    padding: 0 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
}

html body .ows_journal_card + .ows_indexing_reference,
html body .ows_journal_card ~ .ows_indexing_reference {
    margin-top: 26px !important;
}

html body .ows_indexing_reference > .ows_indexing_cards {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 12px !important;
}

html body .ows_indexing_reference .ows_indexing_link {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 118px !important;
    margin: 0 !important;
    padding: 14px 12px 42px !important;
    border-radius: 4px !important;
}

html body .ows_indexing_reference .ows_indexing_link img {
    width: auto !important;
    max-width: min(170px, 88%) !important;
    height: 58px !important;
    max-height: 58px !important;
    margin: 0 auto 8px !important;
    object-fit: contain !important;
}

html body .ows_indexing_reference .ows_indexing_label {
    left: 12px !important;
    right: 46px !important;
    bottom: 13px !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
}

html body .ows_indexing_reference .ows_indexing_link::after {
    right: 10px !important;
    bottom: 9px !important;
}

/*
 * 3.10.1097.0 — hard separation from Journal Information
 * -------------------------------------------------------
 * The two components are siblings now (JS mount order fix). Keep a visible
 * gap between them so neither section's border can read as one continuous box.
 */
html body .ows_journal_card + .ows_indexing_reference {
    margin-top: 24px !important;
}

/*
 * 3.10.1098.0 — clean indexing cards
 * -----------------------------------
 * Requested visual-only cleanup:
 * - remove the decorative wave/ribbon from the bottom of each service card;
 * - remove the arrow button at the lower-right;
 * - keep the service text label (Google/ISC/etc.) visible;
 * - preserve the existing link target, uploaded logo and click behaviour.
 */
html body .ows_indexing_reference .ows_indexing_link,
html body .ows_indexing_reference .ows_indexing_link:hover,
html body .ows_indexing_reference .ows_indexing_link:focus-visible {
    background: #ffffff !important;
}

html body .ows_indexing_reference .ows_indexing_link::after {
    content: none !important;
    display: none !important;
}

html body .ows_indexing_reference .ows_indexing_label {
    left: 12px !important;
    right: 12px !important;
    bottom: 13px !important;
}


/*
 * 3.10.1099.0 — hide duplicate indexing text labels
 * --------------------------------------------------
 * Requested visual-only refinement:
 * - remove the visible service text labels (e.g. google / ISC) from the
 *   stacked Indexing cards;
 * - keep only the uploaded logo in each card;
 * - preserve the link target and overall card behaviour.
 */
html body .ows_indexing_reference .ows_indexing_label {
    display: none !important;
}

html body .ows_indexing_reference .ows_indexing_link {
    min-height: 104px !important;
    padding: 14px 12px !important;
    align-items: center !important;
    justify-content: center !important;
}

html body .ows_indexing_reference .ows_indexing_link img {
    margin: 0 auto !important;
}


/*
 * 3.10.1100.0 — definitive duplicate-label removal for logo cards
 * ----------------------------------------------------------------
 * Some legacy custom-block links contain a raw text node (not a span), so
 * hiding .ows_indexing_label alone is insufficient. Zero the anchor's text
 * size only when a logo exists; the image keeps its normal dimensions and
 * the accessible name remains on aria-label / img alt.
 */
html body .ows_indexing_reference .ows_indexing_link--hasLogo {
    font-size: 0 !important;
    line-height: 0 !important;
}

html body .ows_indexing_reference .ows_indexing_link--hasLogo .ows_indexing_label {
    display: none !important;
}

html body .ows_indexing_reference .ows_indexing_link--hasLogo img {
    font-size: initial !important;
    line-height: normal !important;
}

/*
 * 3.10.1101.0 — larger indexing logos
 * -------------------------------------
 * Visual-only refinement: enlarge uploaded indexing logos so they use the
 * available card area more effectively while preserving their aspect ratio.
 */
html body .ows_indexing_reference .ows_indexing_link--hasLogo {
    min-height: 116px !important;
    padding: 10px 12px !important;
}

html body .ows_indexing_reference .ows_indexing_link--hasLogo img {
    display: block !important;
    width: 82% !important;
    max-width: 220px !important;
    height: auto !important;
    max-height: 90px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}


/*
 * 3.10.1102.0 — extra-large indexing logos
 * -----------------------------------------
 * Make the uploaded indexing logos occupy more of each card's white area
 * while preserving aspect ratio and keeping behaviour unchanged.
 */
html body .ows_indexing_reference .ows_indexing_link--hasLogo {
    min-height: 124px !important;
    padding: 8px 10px !important;
}

html body .ows_indexing_reference .ows_indexing_link--hasLogo img {
    width: 92% !important;
    max-width: 280px !important;
    height: auto !important;
    max-height: 108px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}


/*
 * 3.10.1103.0 — borderless oversized indexing logos
 * --------------------------------------------------
 * Final visual refinement for the stacked Indexing cards:
 * - remove the visible card frame/border around each logo item;
 * - enlarge the logos further so they fill more of the available area;
 * - keep click behaviour, URLs, and accessibility intact.
 */
html body .ows_indexing_reference .ows_indexing_link,
html body .ows_indexing_reference .ows_indexing_link:hover,
html body .ows_indexing_reference .ows_indexing_link:focus-visible {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    transform: none !important;
}

html body .ows_indexing_reference .ows_indexing_link--hasLogo {
    min-height: 128px !important;
    padding: 4px 4px !important;
}

html body .ows_indexing_reference .ows_indexing_link--hasLogo img {
    width: 98% !important;
    max-width: 320px !important;
    height: auto !important;
    max-height: 122px !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}
