/*
 * Links
 *
 * One link style everywhere (docs/ui-design-consistency-plan.md, 3.2), defined
 * on `a` in foundation/base.css: Jena blue, underlined; hover and keyboard focus
 * make the underline thicker (BITV 9.1.4.1: not color alone). Links in running
 * text, the scope hint, content pages and the footer all look the same.
 *
 * This file only adds layout for links that stand on their own.
 */

/*
 * Standalone link (footer list): a 24px+ target (WCAG 2.5.8) and room for
 * the focus ring between neighbours.
 */
.jena-link {
    display: inline-flex;
    align-items: center;
    min-height: var(--jena-space-lg);
    padding: var(--jena-space-xs);
    margin-inline: var(--jena-space-xs);
}

/* External link icon (the visually hidden text says "opens in a new tab") */
.jena-external-icon {
    position: relative;
    top: -1px;
    display: inline-block;
    margin-inline-start: var(--jena-space-xs);
    font-size: var(--jena-font-size-sm);
}

@media (width < 768px) {
    .jena-link {
        margin-inline: 0;
    }
}
