.lightning-story-pager {
    clear: both;
    padding: 12px 0;
    border-top: 1px solid #ccc;
}

.lightning-story-directions {
    display: flex;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    border: 1px solid #055175;
    background: white;
}

.lightning-story-pager .lightning-story-directions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    box-sizing: border-box;
    padding: 5px clamp(8px, 1.1vw, 18px);
    color: #055175;
    background: white;
    font: bold 14px/1.25 Arial, sans-serif;
    text-align: center;
    text-decoration: none;
}

.lightning-story-directions a + a {
    border-left: 1px solid #055175;
}

.lightning-story-pager .lightning-story-directions a:hover,
.lightning-story-pager .lightning-story-directions a:focus-visible {
    background: #e9f2f6;
    text-decoration: underline;
}

.lightning-story-pager .lightning-story-directions a:focus-visible {
    position: relative;
    z-index: 1;
    outline: 3px solid #1057a2;
    outline-offset: 2px;
}
