/* PB Post Share - simple share bar on blog posts. Loaded by mu-plugins/pb-post-share.php. */
.pb-ps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 40px 0 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.pb-ps__label {
    font-weight: 600;
    color: #444;
}

.pb-ps__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pb-ps__list li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pb-ps__list li::before {
    display: none;
}

.pb-ps__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f2f2f2;
    color: #444;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.pb-ps__btn:hover,
.pb-ps__btn:focus-visible {
    background: #1ea69a;
    color: #fff;
    text-decoration: none;
}

.pb-ps__btn.is-copied::after {
    content: "Copied";
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 8px;
    border-radius: 3px;
    background: #333;
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
}

.pb-ps-full {
    margin-top: 40px;
}

/* "Go to Top" under the bar or the full box; also the gap above the footer. */
.pb-ps-top {
    margin: 0 0 60px;
    text-align: center;
}

@media print {
    .pb-ps,
    .pb-ps-full,
    .pb-ps-top {
        display: none !important;
    }
}

/* Go to Top: bigger click area, chevron above, soft hover. */
.pb-ps-top .pb-inf-top {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: 6px;
    color: #444;
    font-size: 14px;
    letter-spacing: .03em;
    text-decoration: none;
    transition: background .15s, color .15s;
}

.pb-ps-top .pb-inf-top::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-top: 5px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: rotate(45deg);
}

.pb-ps-top .pb-inf-top:hover,
.pb-ps-top .pb-inf-top:focus-visible {
    background: #f2f2f2;
    color: #1ea69a;
    text-decoration: none;
}

/* Sidebar layout: the theme styles lists inside post content (margin and
   padding on ul/li), which pushed the icons up and away from "Share". */
.pb-ps .pb-ps__list,
.pb-ps .pb-ps__list li,
.pb-ps .pb-ps__label {
    margin: 0 !important;
    padding: 0 !important;
}

.pb-ps .pb-ps__label {
    line-height: 38px;
}

/* Footer row (replaces ERE's share): Copied tooltip on the copy link. */
.pb-ps-row__btn--copy {
    position: relative;
}

.pb-ps-row__btn.is-copied::after {
    content: "Copied";
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 8px;
    border-radius: 3px;
    background: #333;
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
}

.pb-ps-row .pb-x-icon {
    vertical-align: -0.125em;
}

@media print {
    .pb-ps-row {
        display: none !important;
    }
}
