/* Styles and inline SVGs retain RRSSB attribution: share-buttons.LICENSE.txt. */
.rrssb-buttons {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.rrssb-buttons li {
    box-sizing: border-box;
    flex: 1 1 0;
    min-width: 0;
    padding: 0 2px;
    container-type: inline-size;
    container-name: share-button;
}

.rrssb-buttons .rrssb-email { --share-color: #0a88ff; --share-hover: #006ed6; }
.rrssb-buttons .rrssb-facebook { --share-color: #306199; --share-hover: #244872; }
.rrssb-buttons .rrssb-twitter { --share-color: #26c4f1; --share-hover: #0eaad6; }

.rrssb-buttons li a {
    box-sizing: border-box;
    display: block;
    position: relative;
    height: 36px;
    padding: 11px 7px 12px 27px;
    overflow: hidden;
    border-radius: 2px;
    background: var(--share-color, #ccc);
    color: #fff;
    font-weight: bold;
    line-height: 13px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.rrssb-buttons li a:hover { background: var(--share-hover, #aaa); }
.rrssb-buttons li a:active { box-shadow: inset 1px 3px 15px rgb(22 0 0 / 25%); }
.rrssb-buttons li a:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }
.rrssb-buttons .rrssb-icon { position: absolute; left: 10px; top: 0; padding-top: 9px; width: 10%; }
.rrssb-buttons .rrssb-icon svg { width: 17px; height: 17px; }
.rrssb-buttons .rrssb-icon svg :is(path, circle) { fill: #fff; }

@container share-button (width > 170px) {
    .rrssb-buttons li a {
        height: auto;
        padding: 8.5% 0 8.5% 12%;
        border-radius: .2em;
        font-size: calc(100cqi / 12);
    }
    .rrssb-buttons .rrssb-icon { left: 7%; width: 12%; height: 100%; padding-top: 0; }
    .rrssb-buttons .rrssb-icon svg { position: absolute; top: 0; width: 100%; height: 100%; }
}

@container share-button (width < 120px) {
    .rrssb-buttons li a { padding: 0; }
    .rrssb-buttons .rrssb-icon { left: 0; width: 100%; }
    .rrssb-buttons .rrssb-text {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}
