/* Sister links — sibling pages of the current page (views/jg/partials/sister_links.blade.php) */

.jg-sister-links {
    margin: 24px 0 8px;
}

.jg-sister-links .jg-sister-bottom-text {
    margin-bottom: 14px;
}

.jg-sister-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jg-sister-links li {
    margin: 0;
}

.jg-sister-links li a {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid #e3ecf3;
    border-radius: 8px;
    color: #04212F;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
}

.jg-sister-links li a:hover {
    background: #1e83b4;
    border-color: #1e83b4;
    color: #fff;
}

/* Items past maxVisible stay hidden until expanded */
.jg-sister-links li.jg-sister-overflow {
    display: none;
}

.jg-sister-links.is-expanded li.jg-sister-overflow {
    display: block;
}

/* More/less toggles swap with the expanded state */
.jg-sister-links li.jg-sister-less {
    display: none;
}

.jg-sister-links.is-expanded li.jg-sister-more {
    display: none;
}

.jg-sister-links.is-expanded li.jg-sister-less {
    display: block;
}

.jg-sister-links li.jg-sister-more a,
.jg-sister-links li.jg-sister-less a {
    background: #fff;
    border-width: 0;
    color: #04212F;
    font-weight: 700;
    margin: 0;
    text-decoration: underline;
    text-underline-offset: 0.25em;
    text-decoration-thickness: 1px;
}

.jg-sister-links li.jg-sister-more a:hover,
.jg-sister-links li.jg-sister-less a:hover {
    background: #2a9fd6;
    color: #fff;
    border-color: #2a9fd6;
    border-width: 1px;
}
