.pressbox-share-bar {
    position: relative;
    width: min(100% - 32px, 1180px);
    margin: 42px auto 0;
    padding: 24px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border: 1px solid #d7e0e8;
    border-radius: 16px;
    background: #f7fafc;
    box-sizing: border-box;
}

.pressbox-share-bar__heading span {
    display: block;
    margin-bottom: 5px;
    color: #1769b0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pressbox-share-bar__heading h2 {
    margin: 0;
    color: #0b1d2d;
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.15;
}

.pressbox-share-bar__actions,
.pressbox-share-menu__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.pressbox-share-button {
    min-height: 40px;
    padding: 9px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #bdcbd8;
    border-radius: 999px;
    background: #fff;
    color: #0b1d2d;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.pressbox-share-button:hover,
.pressbox-share-button:focus-visible {
    border-color: #1769b0;
    background: #eaf4ff;
    color: #0f5b9e;
}

.pressbox-share-button--native {
    border-color: #1769b0;
    background: #1769b0;
    color: #fff;
}

.pressbox-share-button--native:hover,
.pressbox-share-button--native:focus-visible {
    background: #0f5b9e;
    color: #fff;
}

.pressbox-share-control {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.pressbox-share-control button {
    cursor: pointer;
    font-family: inherit;
}

.pressbox-home-share-button {
    min-height: 36px;
    padding: 7px 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.36);
    border-radius: 999px;
    background: rgba(7,18,37,.45);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    backdrop-filter: blur(8px);
}

.pressbox-home-share-button:hover,
.pressbox-home-share-button:focus-visible {
    border-color: #fff;
    background: #fff;
    color: #0b1d2d;
}

.pressbox-event-share-button,
.pressbox-schedule-share-button {
    appearance: none;
}

.pressbox-event-hero__actions .pressbox-event-share-button {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.36);
    color: #fff;
}

.pressbox-event-hero__actions .pressbox-event-share-button:hover,
.pressbox-event-hero__actions .pressbox-event-share-button:focus-visible {
    background: #fff;
    color: #111827;
}

.pressbox-schedule-share-button {
    margin: 0;
    background: transparent;
    color: inherit;
    font-size: .88rem;
    font-weight: 650;
    line-height: inherit;
}

.pressbox-share-menu {
    width: min(92vw, 520px);
    max-width: 520px;
    margin: auto;
    padding: 22px;
    border: 1px solid #cbd8e4;
    border-radius: 18px;
    background: #fff;
    color: #0b1d2d;
    box-shadow: 0 24px 70px rgba(5, 23, 39, .28);
    box-sizing: border-box;
}

.pressbox-share-menu::backdrop {
    background: rgba(3, 18, 31, .52);
    backdrop-filter: blur(3px);
}

.pressbox-share-menu__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #eef4f8;
    color: #0b1d2d;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.pressbox-share-menu__close:hover,
.pressbox-share-menu__close:focus-visible {
    background: #dceaf5;
}

.pressbox-share-menu__title {
    display: block;
    margin-bottom: 16px;
    font-size: 20px;
    line-height: 1.2;
}

.pressbox-share-menu__actions {
    justify-content: flex-start;
}

.pressbox-share-bar__status,
.pressbox-share-menu__status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.pressbox-share-button[aria-busy="true"] {
    opacity: .65;
    cursor: wait;
}

@media (max-width: 760px) {
    .pressbox-share-bar {
        margin-top: 30px;
        padding: 21px;
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .pressbox-share-bar__actions {
        width: 100%;
        justify-content: flex-start;
    }

    .pressbox-share-menu {
        width: min(94vw, 460px);
        padding: 20px;
    }
}

@media (max-width: 460px) {
    .pressbox-share-bar__actions,
    .pressbox-share-menu__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pressbox-share-button {
        width: 100%;
    }
}

.pressbox-share-bar--contextual {
    margin-top: 24px;
}

.pressbox-share-menu[data-pressbox-share-open="true"] {
    position: fixed;
    inset: 50% auto auto 50%;
    z-index: 100000;
    display: block;
    transform: translate(-50%, -50%);
}

@media (max-width: 760px) {
    .pressbox-share-bar--contextual {
        margin-top: 20px;
    }
}

/* Native sharing must not appear when the browser does not support it. */
.pressbox-share-button[hidden],
.pressbox-share-button[aria-hidden="true"] {
    display: none !important;
}

/* Event-level sharing inside Photos, Videos, and Archive cards. */
.pressbox-collection-share-control {
    display: inline-flex;
    align-items: center;
}

.pressbox-collection-share-button {
    appearance: none;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #cbd8e4;
    border-radius: 999px;
    background: #fff;
    color: #0b1d2d;
    font: inherit;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
}

.pressbox-collection-share-button:hover,
.pressbox-collection-share-button:focus-visible {
    border-color: #1f73c9;
    background: #1f73c9;
    color: #fff;
}

.pressbox-archive-card__links .pressbox-collection-share-button {
    padding: 7px 11px;
    border-color: var(--pb-archive-line, #cbd8e4);
    font-size: 13px;
    font-weight: 700;
}

/* v0.20.1: collection Share buttons match adjacent card actions exactly. */
.pressbox-photo-card__actions .pressbox-collection-share-button,
.pressbox-video-card__actions .pressbox-collection-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 33px;
    padding: 8px 12px;
    border-color: var(--pb-line, #cbd8e4);
    border-radius: 999px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}
