/* Blue intro box at the top of the index pages (References, Resources, All Sources), 2026-11-27.
   One shared style so the three boxes match: rounded corners, room around the text, centred,
   and a readable line length. (Was an inline style on each page; References and Resources had square
   corners and no side padding.) */
.ix-intro {
    max-width: 880px;
    margin: 14px auto 22px;
    padding: 14px 28px;
    border-radius: 10px;
    background: #009EE3;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
    text-wrap: balance;
}
@media (max-width: 600px) {
    .ix-intro { padding: 12px 16px; font-size: 14px; }
}

/* A link beside the search box, e.g. "Citation Wiki" on All Sources (2026-11-27).
   The search box stays centred and the same width as on the other index pages; the link sits just to its right.
   On narrower screens, where there's no room beside it, the link moves under the box, right-aligned. */
.ix-search .ix-side-link {
    position: absolute; left: calc(100% + 16px); top: 50%; transform: translateY(-50%);
    white-space: nowrap; font-size: 15px; font-weight: 600; color: #009EE3; text-decoration: none;
}
.ix-search .ix-side-link:hover, .ix-search .ix-side-link:focus-visible { color: #006FA6; text-decoration: underline; }
@media (max-width: 1000px) {
    /* kept out of the box's own height, so the search icon and clear button stay centred in the box */
    .ix-search .ix-side-link { left: auto; right: 0; top: calc(100% + 6px); transform: none; }
    .ix-search:has(.ix-side-link) { margin-bottom: 30px; }
}
