body.single-post.aa-social-share-active .aa-share-bar,
body.single-post.aa-social-share-active .aa-share-bar * {
    box-sizing: border-box;
}

body.single-post.aa-social-share-active .aa-share-bar {
    width: 100%;
    max-width: none;
    margin: 0 0 30px;
    padding: 12px 0 16px;
    border-bottom: 1px solid #e7e7e9;
    font-family: Arial, Helvetica, sans-serif;
}

body.single-post.aa-social-share-active .aa-share-buttons {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

body.single-post.aa-social-share-active .aa-share-button {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    color: #111 !important;
    font: inherit;
    text-align: left;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .16s ease;
}

body.single-post.aa-social-share-active .aa-share-button:hover,
body.single-post.aa-social-share-active .aa-share-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .11);
}

body.single-post.aa-social-share-active .aa-share-button:focus-visible {
    outline: 3px solid rgba(237, 28, 36, .22);
    outline-offset: 2px;
}

body.single-post.aa-social-share-active .aa-share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
}

body.single-post.aa-social-share-active .aa-share-icon svg {
    display: block;
    width: 22px;
    height: 22px;
}

body.single-post.aa-social-share-active .aa-share-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1;
}

body.single-post.aa-social-share-active .aa-share-name {
    overflow: hidden;
    color: inherit;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: -.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.single-post.aa-social-share-active .aa-share-action {
    margin-top: 4px;
    color: inherit;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .11em;
    opacity: .68;
    text-transform: uppercase;
}

body.single-post.aa-social-share-active .aa-share-facebook {
    background: #1877f2;
    color: #fff !important;
}

body.single-post.aa-social-share-active .aa-share-x {
    background: #080808;
    color: #fff !important;
}

body.single-post.aa-social-share-active .aa-share-email,
body.single-post.aa-social-share-active .aa-share-copy {
    border-color: #d9dadd;
    background: #fff;
    color: #171719 !important;
}

body.single-post.aa-social-share-active .aa-share-email:hover,
body.single-post.aa-social-share-active .aa-share-copy:hover {
    border-color: #aeb0b5;
    background: #f8f8f9;
}

body.single-post.aa-social-share-active .aa-share-comment {
    border-color: #ed1c24;
    background: #ed1c24;
    color: #fff !important;
}

body.single-post.aa-social-share-active .aa-share-comment:hover,
body.single-post.aa-social-share-active .aa-share-comment:focus-visible {
    background: #cf141b;
    border-color: #cf141b;
}

body.single-post.aa-social-share-active .aa-share-copy.is-copied {
    border-color: #1f8b4c;
    background: #f1fbf5;
    color: #176d3b !important;
}

/* Keep the bar flush to the article/featured-image column in the Editorial Article Engine. */
body.single-post.aaee-active-100 .aaee-article-copy-100 > .aa-share-bar:first-child {
    margin-top: 0;
}

@media (max-width: 900px) {
    body.single-post.aa-social-share-active .aa-share-buttons {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.single-post.aa-social-share-active .aa-share-comment {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    body.single-post.aa-social-share-active .aa-share-bar {
        margin-bottom: 24px;
        padding: 10px 0 14px;
    }

    body.single-post.aa-social-share-active .aa-share-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    body.single-post.aa-social-share-active .aa-share-button {
        min-height: 48px;
        padding: 8px 10px;
    }

    body.single-post.aa-social-share-active .aa-share-comment {
        grid-column: 1 / -1;
    }
}

@media (max-width: 380px) {
    body.single-post.aa-social-share-active .aa-share-name {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.single-post.aa-social-share-active .aa-share-button {
        transition: none;
    }
}
